/*
Theme Name: Intermix Theme
Theme URI: https://routsis.gr
Author: Fotis Routsis
Author URI: https://routsis.gr
Description: Intermix Bootstrap 4.6 based theem.
Requires at least: 5.7
Requires PHP: 7.1
Version: 1.0.0
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@font-face {
    font-family: AktivGrotesk-Medium;
    src: url(fonts/AktivGroteskMd.woff);
}

@font-face {
    font-family: AktivGrotesk-Bold;
    src: url(fonts/AktivGrotesk_W_Bd.woff);
}

@font-face {
    font-family: AktivGrotesk;
    src: url(fonts/AktivGroteskLt.woff);
}

@font-face {
    font-family: AktivGrotesk-Italic;
    src: url(fonts/AktivGroteskLtIt.woff);
}

body {
    font-family: AktivGrotesk, sans-serif;
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6rem;
    font-weight: normal;
    color: #20286d;
}

.container {
    max-width: 1650px !important;
}

.container.full-width {
    max-width: unset !important;
}


a,
a:hover,
a:focus {
    color: #000;
}

a {
    color: #0073a3;
    transition: all .2s;
}

a.no-style {
    color: unset;
    text-decoration: none;
}

.layout-search a {
    color: #000;
}

.layout-search a:hover {
    color: #0073a3;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-family: 'AktivGrotesk-Medium', sans-serif;
}

h1,
.h1 {
    font-size: 36px;
}

h2,
.h2 {
    font-size: 24px;
}

h3,
.h3 {
    font-size: 20px;
}

h4,
.h4 {
    font-size: 18px;
}

.grotesk-bold,
strong {
    font-family: 'AktivGrotesk-Medium', sans-serif;
    font-weight: 700;
}

.pt-big {
    padding-top: 8rem !important;
}

.pb-big {
    padding-bottom: 8rem !important;
}

.mt-big {
    margin-top: 8rem !important;
}

.mb-big {
    margin-bottom: 8rem !important;
}

.pt-huge {
    padding-top: 35rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.img-responsive {
    max-width: 100%;
}

.gray-bg {
    background: #f2f2f2;
}

.section-margins {
    margin-top: 4rem;
    margin-bottom: 4rem;
    display: inline-block;
    width: 100%;
}

/* Header */
.top-spacer {
    display: none;
}

.top-spacer.space-top {
    display: block;
    width: 100%;
}

.nav-link {
    color: unset;
}

#top-header {
    background-color: #f2f2f2;
    font-size: 14px;
}

#top-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#top-header ul li {
    display: inline-block;
    margin: 0 0 0 20px;
}

#top-header .menu-top-menu-container>ul>li {
    position: relative;
}

#top-header .menu-top-menu-container ul.sub-menu {
    display: none;
    position: absolute;
    left: -10px;
    top: 100%;
    background: #f2f2f2;
    z-index: 999;
    right: -10px;
    width: 150px;
}

#top-header .menu-top-menu-container li:hover ul.sub-menu {
    display: block;
}

#top-header .menu-top-menu-container ul.sub-menu li {
    list-style: none;
    width: 100%;
    text-align: left;
    margin: 0 !important;
    padding: 0px 10px;
}

#main-header {
    border-bottom: 1px solid #b3b3b3;
    background: #fff;
}

nav.navbar {
    display: block;
}

.navbar-toggler {
    margin-top: 20px;
}

.navbar-toggler-icon {
    background-image: url(img/menu-icon.svg);
}

#bs-navbar-collapse {
    padding: 20px;
    width: 100%;
    border-top: 1px solid #000;
}

.main-menu>li {
    border-bottom: 8px solid #0073a3;
    margin-right: 5px;
    font-weight: bold;
    margin-bottom: -1px;
    padding: 40px 0px 0px 0px;
}

.main-menu>li>a {
    padding-left: 0 !important;
    padding-right: 1.4rem !important;
}

.main-menu>li.current-page-ancestor,
.main-menu>li.current-menu-item,
.main-menu>li.current-menu-parent {
    background: #0073a3;
    padding-left: 0.5rem;
}

.main-menu>li.current-page-ancestor>a,
.main-menu>li.current-menu-parent>a,
.main-menu>li.current-menu-item>a {
    color: #fff;
}

.dropdown-menu {
    border-radius: 0 !important;
    margin-top: 6px;
    left: 0;
}

@media screen and (min-width: 996px) {
    .carret.menu-arrow-mobile {
        display: none;
    }

    .carret {
        border-top: 0;
        border-right: .5em solid transparent;
        border-bottom: .5em solid;
        border-left: .5em solid transparent;
        transform: rotate(90deg);
    }

    .menu-arrow.carret {
        top: 10px;
    }

    .dropdown-menu {
        left: 120%;
        top: -45%;
        border-left: none;
        border-right: none;
    }

    .main-menu .dropdown-menu.show {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-menu>.dropdown>.dropdown-menu {
        top: 100%;
        right: 0;
        left: unset;
        width: 300px;
        border-left: 1px solid;
        border-right: 1px solid;
    }

    .main-menu>.dropdown>.dropdown-menu.show > li.dropdown {
        cursor: pointer;
    }

    .main-menu>.dropdown>.dropdown-menu .dropdown-menu {
        min-width: unset;
        border-left: 1px solid rgba(0, 0, 0, .15);
        border-right: 1px solid rgba(0, 0, 0, .15);
    }

    .menu-item {
        display: inline-block;
    }

    li.dropdown {
        display: inline-block;
        position: relative;
    }
}

@media screen and (max-width: 995px) {
    .dropdown-item {
        white-space: break-spaces;
    }

    .main-menu-mobile>.dropdown>.dropdown-menu {
        border: unset;
    }

    .main-menu-mobile>.dropdown>.dropdown-menu>.dropdown {
        max-width: calc(100% - 40px);
    }

    .main-menu-mobile>.dropdown>.dropdown-menu>.dropdown .dropdown-menu {
        padding-left: 25px;
        border: unset;
        border-bottom: 1px solid #e1e1e1;
        margin-bottom: 15px;
    }
}

.dropdown-toggle::after {
    display: none;
}

.main-menu-mobile .dropdown-toggle {
    position: relative;
    border-bottom: 1px solid #e1e1e1 !important;
}

.main-menu-mobile .dropdown-toggle.show {
    border-bottom: none !important;
}

.main-menu-mobile .menu-item .carret {
    display: block;
    position: absolute !important;
    top: 50%;
    right: 20px;
    margin-top: -.25rem !important;
    z-index: 9;
    padding: .45rem;
}

.menu-arrow {
    position: absolute;
    right: 0;
    top: 6px;
}

.main-menu-mobile .menu-item .carret span {
    border-top: .5em solid;
    border-right: .5em solid transparent;
    border-bottom: 0;
    border-left: .5em solid transparent;
}

.main-menu-mobile .menu-item .carret.opened {
    top: 0px;
}

.main-menu-mobile .menu-item .carret.opened span {
    border-top: 0;
    border-right: .5em solid transparent;
    border-bottom: .5em solid;
    border-left: .5em solid transparent;
}

.main-menu-mobile .dropdown-menu.show {
    display: block;
    position: relative !important;
    transform: translate3d(0px, 0px, 0px) !important;
}

.logo {
    max-width: 320px;
}

.no-border {
    border: none !important;
}

#search-icon {
    background-image: url('img/search.svg');
    width: 30px;
    height: 30px;
    text-decoration: none;
    background-repeat: no-repeat;
    background-size: cover;
}

#search-box-mobile.hidden,
#search-box.hidden {
    display: none !important;
}

#search-box-mobile,
#search-box {
    top: calc(1px + 100%);
    z-index: 99;
}

.navbar-toggler {
    padding: 0.25rem 0.025rem;
}

/* Special */

.with-full-bg {
    background-size: cover;
    background-position: center center;
}

.inner-grid-title {
    color: #fff;
    font-weight: bold;
}

.home-num {
    font-size: 20px;
}

.num-big {
    font-size: 50px;
    font-weight: bold;
}

.num-big span {
    font-size: 30px;
}

.border--dark {
    border-color: #333333 !important;
}

.rounded-4 {
    border-radius: .75em;
}

.full-width {
    width: 100%;
}

.btn.btn--primary {
    border: 1px solid #20286d;
    border-radius: 28px;
    color: #20286d;
    font-weight: 600;
    padding: 20px 30px;
}

.btn.btn--secondary {
    background-color: #0167b4;
    color: #FFFFFF;
    border-radius: 2em;
    font-weight: 600;
    padding: .8em 1.2em;
    display: block;
}

.text-start {
    text-align: left;
}

/* Home */
.home .split-small {
    margin-bottom: 0 !important;
}

/* Content  */

.split-image {
    position: relative;
    background: linear-gradient(180deg, rgba(233, 233, 233, 1) 0%, rgba(233, 233, 233, 1) 66%, rgba(164, 164, 164, 1) 100%);
}

.split-image-left,
.split-image-right {
    position: absolute;
    width: 50%;
    top: 0;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

body:not(.home) .split-image-left~div {
    aspect-ratio: 1 / 1;
}

.split-image-left~div {
    aspect-ratio: unset;
}

.split-image-left {
    background-size: contain;
    background-repeat: no-repeat;
}

.split-image-left,
.split-image-right {
    background-size: cover;
}

body:not(.home) .split-image-left {
    background-size: contain;
}

body:not(.home) .split-mobile-image-left {
    background-size: contain;
    background-repeat: no-repeat;
}

.page-id-188 .ratio4by3,
.page-id-206 .ratio4by3,
.page-id-220 .ratio4by3 {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

.page-id-118 .img-responsive {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.split-image .pre-footer-title {
    max-width: 60%;
    z-index: 100;
    position: relative;
}

.split-big.split-image .pre-footer-title {
    margin-top: 10rem;
}

.split-big.split-image .pre-footer-title span {
    font-size: 24px;
    display: block;
    margin-top: 15px;
}

.split-image-left {
    left: 0;
}

.split-image-right {
    left: 50%;
}

.split-mobile-image-left,
.split-mobile-image-right {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    right: 0;
}

.extra-information {
    display: block;
    border: 1px solid;
    padding: 25px;
    border-radius: 60px;
}

.section-margins.layout-1 {
    margin-top: 0;
}

.fullwidth-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.fullwidth-image>.container {
    position: relative;
}

.fullwidth-image .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);

}

.fullwidth-image.no-text {
    min-height: 700px;
}

.pre-titling {
    font-size: 25px;
    font-weight: bold;
    color: #20286d;
    display: inline-block;
    width: 100%;
}

.titling {
    font-weight: bold;
    display: inline-block;
    width: 100%;
}

.image-titling {
    font-weight: bold;
    color: #fff;
    font-size: 40px;
    line-height: 55px;
    min-height: 300px;
    display: inline-block;
    width: 100%;
}

.more-link {
    border-bottom: 1px solid #76b82b;
}

.more-link a {
    background: url(img/more.svg);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 40px;
    height: 35px;
    background-size: 30px;
    display: inline-block;
    line-height: 35px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    color: unset;
}

.more-link a:hover {
    padding-left: 5px;
    padding-right: 30px;
}

.content-body ul {
    list-style: none;
    padding: 0;
}

.content-body ul li {
    padding: 10px 0;
    border-bottom: 1px solid #76b82b;
}

.content-body ul.default-list-container {
    list-style-type: disc;
    padding-left: 40px;
}

.content-body ul.default-list-container li {
    border-bottom: unset;
}

.single-post .content-body ul {
    list-style-type: unset;
    padding-left: 1em;
}

.single-post .content-body ul li {
    border-bottom: unset;
}

.content-body img {
    max-width: 100%;
}

a.expander {
    height: 20px;
    width: 100%;
    display: inline-block;
    background-image: url(img/plus.svg);
    background-repeat: no-repeat;
    background-position: right;
    color: unset;
}

a.expander.opened {
    background-image: url('img/minus.svg');
}

.expand-partial {
    display: block;
}

.expand-hidden {
    display: none;
}

.expand-container {
    border-bottom: 1px solid #76b82b;
    padding: 0 0 20px 0;
}

/* Locations */
.location-point {
    background: #f2f2f2;
}

.location-box.hidden {
    display: none !important;
}

a.location-link {
    display: block;
}

a.location-link:hover {
    text-decoration: none;
}

a.location-link.selected .description {
    border-top: 3px solid #0073a3;
    padding-top: 10px;
}

a.scroll-location:hover {
    text-decoration: none;
}

select#area-filter {
    margin-right: 30px;
    height: auto;
    vertical-align: bottom;
    padding: 0 20px;
    border-radius: 0;
    font-size: 16px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid;
}

@media screen and (max-width: 767px) {
    .location-icon-container {
        width: 100%;
        margin-top: 5px;
    }

    .location-actions.col-2 {
        min-width: 105px;
    }

    .location-icon {
        display: block !important;
    }
}

/* Tabs */
.tabs-container .tab-title {
    font-weight: 600;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.tabs-container .tab {
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.tab-content {
    padding-bottom: 20px;
}

/* Contact */
.intermix-contact-form input,
.intermix-contact-form textarea,
.intermix-contact-form select {
    border-color: #333;
    border-radius: unset;
}

.intermix-contact-form .wpcf7-submit {
    background-color: #067594;
    border: unset;
    padding: 15px;
    line-height: 15px;
    font-size: 15px;
    display: inline-block;
    font-weight: bold;
    height: 40px;
}

/* Images */
.carousel-indicators {
    position: relative;
    margin: 10px 0 0 0;
    text-align: left;
    width: 100%;
    display: block;
}

.carousel-indicators button {
    background: #999999 !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    display: inline-block;
    margin: 0 3px 0 0 !important;
    vertical-align: top;
    border: none !important;
}

.carousel-indicators button.active {
    background: #333333 !important;
}

.lity-content {
    max-width: 80%;
    margin: 0 auto;
}

/* Custom HTML Content */
.in-numbers .num-big {
    display: inline-block;
    margin-bottom: 20px;
}

/* Pre Footer  */
.pre-footer,
#pre-footer {
    background-size: cover;
    background-position: center center;
    min-height: 470px;
    margin-top: 4rem;
    position: relative;
}

#pre-footer .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(0, 0, 0, .2) 47%, rgba(0, 0, 0, .3) 100%)
}


.pre-footer-title {
    font-weight: bold;
    color: #ffff;
}


.pre-footer-link a {
    font-size: 18px;
    font-weight: 500;
    background: url(img/white-more.svg);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 40px;
    height: 35px;
    background-size: 30px;
    display: inline-block;
    line-height: 35px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    color: #fff;
}

.pre-footer-link a:hover {
    padding-left: 5px;
    padding-right: 30px;
}

/* Footer */
#footer {
    background-color: #22286e;
    color: #808080;
}

#footer a {
    color: #808080;
}

#footer h4 {
    color: #fff;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-logo img {
    max-width: 300px;
}
.footer-menu .menu li {
    margin-right: 10px;
}

/* Locations */
.location-icon {
    width: 40px;
    display: inline-block;
    vertical-align: top;
}

.location-info {
    display: inline-block;
    padding-top: 10px;
}

.location-data ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.location-actions ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.location-actions ul li {
    margin-bottom: 20px;
    text-align: center;
}

.location-actions ul li a {
    width: 100%;
    text-align: center;
    border: 1px solid #000;
    display: block;
    height: 45px;
    line-height: 45px;
    font-weight: bold;
    background: #fff;
    max-width: 150px;
}

/* Product */

.page-template-product .section-margins {
    padding: 1rem !important;
    margin: 1rem !important;
}


a.product-file-link {
    background: #0073a3;
    color: #fff;
    font-size: 18px;
    padding: 20px;
    display: inline-block;
    border-radius: 30px;
    line-height: 20px;
    vertical-align: top;
    text-transform: uppercase;
}

.product-file-link strong {
    font-weight: 500;
}

/* News List */
.news-container a:hover {
    text-decoration: none;
}

.news-container .h3 {
    font-family: 'AktivGrotesk', sans-serif;
    font-size: 18px;
}

.news-container .h3 .date {
    font-size: 16px;
}

/*
.news-container > div {
  background-image: url( 'img/arrow.svg' );
  background-repeat: no-repeat;
  background-size: 45px;
  background-position: right;
  padding-right: 50px !important;
}
*/

.news-container>div a {
    background-image: url('img/arrow.svg');
    background-repeat: no-repeat;
    background-size: 45px;
    background-position: right;
    padding-right: 50px;
    display: block;
}

#year-filter {
    border-radius: 0;
    border-color: #000;
}

.news-container>div.hidden {
    display: none;
}

/* Media Gallery */
/*
.media-gallery .grid-image {
  border: 1px solid;
}
*/

.media-gallery h5 {
    font-size: 16px;
    color: #0073a3;
}

.page-template-media-layout .section-margins {
    margin-top: 0;
}

.page-template-media-layout .section-margins.layout-1 {
    padding-top: 4rem;
}

.page-template-media-layout .section-margins .container {
    border-top: 1px solid;
    padding-top: 4rem;
}

.page-template-media-layout .content-body a {
    color: #0073a3;
}

.page-template-media-layout .content-body ul li {
    border: none !important;
    padding: 5px 0;
}

/* GMaps */

.acf-map {
    width: 100%;
    height: 700px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
    max-width: inherit !important;
}

.location-data p {
    margin: 0;
}

.location-icon-container {
    display: inline-block;
    margin-right: 30px;
}

.location-icon-container .description {
    display: inline;
    vertical-align: bottom;
    font-size: 15px;
    font-weight: bold;
}

.location-details {
    border-color: #000 !important;
}

.location-details .expand-container {
    border: none !important;
    padding: 0 !important;
}

.location-details a.expander.opened span {
    visibility: hidden;
}

.location-related.w-100 {
    padding-left: 60px;
}

/* Overrides */

.column-content.layout-1,
.text-content.layout-1 {
    padding-top: 8rem !important;
}

.column-content .row {
    row-gap: 25px;
}

.column-content .content-body {
    margin-bottom: 15px;
}

.column-content .content-body p {
    margin-bottom: 0;
}

.ratio4by3 {
    width: 100%;
    padding-top: 75%;
    position: relative;
    background-size: cover;
    background-position: center center;
}

.page-template-media-layout table {
    width: 100%;
}

.page-template-media-layout td,
.page-template-media-layout th {
    border: 1px solid #000;
    padding: 8px 14px;
}

/* Custom table */
.custom-table {
    overflow: hidden;
    overflow-x: scroll;
    position: relative;
}

/* Specific page ids */
.page-id-59 .more-link {
    font-weight: 800;
}

.page-id-160 .more-link a {
    font-family: 'AktivGrotesk-Medium', sans-serif;
    font-size: 24px;
    font-weight: bold;
}

.page-id-42 .fullwidth-image {
    background-position: bottom center;
}

.page-id-246 .column-content .row .grid-item {
    background-color: #f2f2f2;
    padding: 40px 25px;
    border-right: 12px solid #FFF;
    border-left: 12px solid #FFFFFF;
}

/* Banners */
.banner-disclaimer {
    font-size: 14px;
    color: #FFFFFF;
    display: block;
    line-height: 18px;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
.come-in {
    transform: translateY(250px);
    animation: come-in 0.8s ease forwards;
}

.come-in:nth-child(odd) {
    animation-duration: 0.6s;
}

@keyframes come-in {
    to {
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# Responsiveness
--------------------------------------------------------------*/

.newsletter-banner img.show-mb {
    display: none;
}

@media screen and (max-width: 1200px) {
    header .logo {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 1060px) {
    header .navbar .menu-item span {
        font-size: 15px;
    }
}

@media (max-width: 995px) {
    .header .logo {
        max-width: 320px;
    }

    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    #bs-navbar-collapse-main {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }

    .navbar-nav>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-expand-md .navbar-toggler {
        display: inline-block;
    }
}

@media screen and (max-width: 990px) {
    .split-image .pre-footer-title {
        max-width: 80%;
        font-size: 34px;
        line-height: 40px;
    }
}

@media screen and (max-width: 768px) {

    .split-image-left,
    .split-image-right {
        display: none;
    }

    .split-mobile-image-left,
    .split-mobile-image-right {
        display: block;
    }

    .split-image .pre-footer-title {
        max-width: 90%;
        font-size: 28px;
    }

    .pre-footer-link {
        position: relative;
    }

    .home-num {
        width: 49%;
        display: inline-block;
        vertical-align: top;
        padding-left: 5px;
        padding-right: 5px;
    }

    .newsletter-banner {
        background-image: unset !important;
    }

    .newsletter-banner .newsletter-image-container {
        padding: 0 !important;
    }

    .newsletter-banner .newsletter-image-container img.show-mb {
        display: block;
        max-width: 100%;
    }
}

@media screen and (max-width: 550px) {
    .custom-table .titling {
        position: sticky;
        left: 0;
        top: 0;
    }

    .footer-logo img {
        max-width: 200px;
    }

    .page-id-188 .ratio4by3,
    .page-id-206 .ratio4by3,
    .page-id-220 .ratio4by3 {
        background-position: center;
    }

    .pre-footer-title.pt-big {
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 450px) {
    .header .logo {
        max-width: 100%;
    }

    .home-num {
        width: 100%;
    }

    #top-header ul li {
        margin-left: 5px;
    }
}

@media screen and (max-width: 400px) {
    #top-header ul li {
        font-size: 12px;
    }

    .navbar {
        flex-wrap: nowrap;
    }

    #main-header>.container>.row {
        align-items: center;
    }

    #main-header .navbar {
        padding-right: 0;
    }

    #main-header .navbar .navbar-toggler {
        margin-top: 0;
    }

    #main-header .navbar>.d-block {
        padding-top: 0 !important;
    }
}
