/*
 Theme Name:   Vakantiecheck
 Theme URI:    https://wpx.nl
 Description:  GeneratePress child theme
 Author:       Frank Schrijvers
 Author URI:   https://wpx.nl
 Template:     generatepress
 Version:      0.9.18
/* Structure */
body {
    overflow-x: hidden;
}

.site-content {
    background: #f5f7fa;
    display: block !important;
    padding: 40px !important;
    padding-top: 140px !important;
}

.modules {
    display: flex;
    flex-direction: column;
}

.module {
    background: #fff;
    clear: both;
    display: block;
    max-width: 1140px;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 40px;
}

.gb-container h1 {
    text-transform: uppercase;
    letter-spacing: -2px;
}

.gb-container h1 span {
    fill: none;
    stroke: black;
    stroke-width: 0.5px;
    stroke-linejoin: round;
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: transparent;
}

.inside-header {
    background-color: rgba(255, 255, 255, .2);
    padding: 20px 40px 40px 40px;
    position: relative;
}

.inside-header:after {
    background: rgba(255, 255, 255, .2);
    content: "";
    display: block;
    height: 2px;
    width: calc(100% - 80px);
    position: absolute;
    bottom: 20px;
}

@supports ((-webkit-backdrop-filter: blur(2em)) or (backdrop-filter: blur(2em))) {
    .inside-header {
        background-color: rgba(255, 255, 255, .1);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

/** Mega menu **/
#mega-menu-wrap-primary {
    background: none;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    background: none !important;
}

.single-post .site-content .content-area,
.single-post_sights .site-content .content-area,
.single-post_activities .site-content .content-area {
    width: 70%;
    margin: 0 auto;
}

/** Global styling **/
.wpx-title {
    font-weight: 700;
}

.page-template-modules-php .site-content {
    padding-top: 0 !important;
}

.page-template-modules-php .container,
.page-template-modules-php .site-content {
    background: transparent !important;
}

.site-content .wpx-wrapper:first-of-type {
    margin-top: 0;
}

.wpx-wrapper {
    margin: 60px 0;
}

.wpx-modules h2 {
    font-weight: 600;
    font-size: 28px;
}

.wpx-modules h3 {
    font-weight: 600;
    font-size: 22px;
}

.wpx-hide {
    display: none;
}

/** WPX Booking wrapper **/
.wpx-booking-wrapper {
    margin-top: -120px;
    min-height: 144px;
    z-index: 5;
    position: relative;
    padding: 0 40px;
}

.wpx-booking-wrapper .tab {
    background-color: #ebebeb;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    width: fit-content;
}

.wpx-booking-wrapper .tab button {
    background-color: #ebebeb;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: #173052;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 24px;
    transition: 0.1s;
}

.wpx-booking-wrapper .tab button.active {
    background-color: #fff;
}

.wpx-booking-wrapper .tabcontent {
    background: #fff;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 2px 12px 0 rgb(54 54 54 / 12%);
    color: #173052;
    display: none;
    padding: 40px 20px 20px 20px;
}

.wpx-booking-wrapper .tabcontent h4 {
    text-align: center;
    font-weight: 500;
    font-size: 22px;
}

.wpx-booking-wrapper .tab button {
    color: #183153;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    font-weight: 700;
}

.wpx-booking-wrapper .tab button .icon {
    display: flex;
    margin-right: 10px;
    width: 20px;
}

.wpx-booking-wrapper .tab button .icon img {
    max-height: 18px;
}

/** Slider **/
.populair-sights .slick-loading .slick-list {
    background: #fff url('./ajax-loader.gif') center center no-repeat;
}

.populair-sights .slick-track {
    display: flex !important;
    margin-left: 0;
    padding: 10px 0;
}

.populair-sights .slick-slide {
    height: inherit !important;
    border-radius: 5px;
    box-shadow: 0 2px 12px 0 rgb(54 54 54 / 12%);
    margin: 0 10px;
    overflow: hidden;
    width: 25%;
    transition: all 0.5s ease;
    cursor: pointer;
}

.populair-sighs .slick-slide:hover {
    box-shadow: 0 2px 14px 0 rgb(54 54 54 / 20%);
}

.populair-sights .slide {
    height: 100%;
}

/* Arrows */
.populair-sights .slick-prev,
.populair-sights .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: calc(50% - 20px);
    display: block;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    background: #00d084;
    z-index: 1;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transform: none;
    -webkit-transform: none;
}

.populair-sights .slick-prev:hover,
.populair-sights .slick-prev:focus,
.populair-sights .slick-next:hover,
.populair-sights .slick-next:focus {
    background: #00d084;
    outline: none;
}

.populair-sights .slick-prev {
    left: -10px;
}

.populair-sights .slick-next {
    right: -10px;
}

.populair-sights .slick-prev:before,
.populair-sights .slick-next:before {
    display: block;
    content: url('/wp-content/themes/vakantiecheck/assets/images/arrow.svg');
    margin: 0 auto;
    width: 18px;
}

.populair-sights .slick-next:before {
    transform: rotate(180deg);
}

.populair-sights .slick-slide img {
    width: 100%;
}

/** WPX Slider Module **/
.wpx-slider-wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wpx-slider-wrapper .button {
    margin: 20px auto;
    display: table;
}

.wpx-slider-intro {
    margin-bottom: 40px;
    padding: 0 10px;
}

#wpx-slider.populair-sights {
    display: flex;
}

.populair-sight .cat {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    opacity: .6;
    text-transform: uppercase;
}

.populair-sight .info-sight a {
    color: #222222;
    display: block;
}

.populair-sight h3 {
    font-weight: 500;
    font-size: 18px;
}

.populair-sight p {
    font-weight: normal;
    font-size: 14px;
    opacity: .8;
    margin: 0;
}

.populair-sight .info-sight {
    padding: 20px;
}

.populair-sights.category {
    display: flex;
    flex-wrap: wrap;
}

.category .populair-sight {
    display: inline-block;
    flex-grow: 1;
    cursor: pointer;
    cursor: pointer;
    max-width: calc(25% - 40px);
    margin: 0 20px;
}

.category .populair-sight .image-sight img {
    border-radius: 10px;
    margin-bottom: 10px;
}

.category .populair-sight .info-sight {
    padding: 0;
}

.category .populair-sight .info-sight h3 {
    font-weight: 400;
    font-size: 18px;
    color: #183153;
}

.category .populair-sight .info-sight a {
    background-color: transparent !important;
    color: #00d084;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 0;
}

a.wpx-button {
    background-color: transparent !important;
    border: 2px solid;
    border-color: #00d084;
    border-radius: 50px;
    color: #00d084 !important;
}

/** WPX Column Module **/
.wpx-column-wrapper {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.wpx-column-wrapper .column {
    width: 50%;
}

/** WPX Content with bg image **/
.wpx-content-wrapper {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.wpx-content-wrapper:after {
    content: '';
    filter: url(#blur);
    position: absolute;
    left: -10px;
    top: -10px;
    bottom: -10px;
    right: -10px;
    background: inherit;
    z-index: 0;
}

.wpx-content-wrapper .wrap {
    color: #fff;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 120px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/** WPX Shortcode Module **/
.wpx-shortcode-wrapper .column:first-child {
    width: 66.666666%;
}

.wpx-shortcode-wrapper .column:nth-child(2) {
    column-count: 2;
}

/** WPX Content IMG Module **/
.wpx-content-img-wrapper {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    width: 100vw;
    overflow: hidden;
}

.wpx-content-img-wrapper.left .wrap {
    flex-direction: row-reverse;
}

.wpx-content-img-wrapper.left .wrap h2 {
    text-align: right;
}

.wpx-content-img-wrapper .wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 60px;
    padding: 0 40px;
    position: relative;
}

.wpx-content-img-wrapper .column {
    width: 50%;
}

.wpx-content-img-wrapper.left .column img {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin: 60px 60px 0 0;
    margin-left: calc(-50vw + 100% + 240px);
}

.wpx-content-img-wrapper .column img {
    margin: 60px 0 0 60px;
    max-width: 50vw;
    position: relative;
    width: 50vw;
    margin-right: calc(-50vw / 2 + 50% / 2);
    border-top-left-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

/** WPX Related posts **/
.wpx-posts {
    margin: 40px 0;
}

.wpx-posts .wpx-button {
    margin: 20px auto;
    display: table;
}

.wpx-post-loop {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.wpx-post-loop .wpx-post {
    cursor: pointer;
    max-width: calc(25% - 40px);
    margin: 0 20px;
}

.wpx-post-loop .wpx-post img {
    border-radius: 10px;
    margin-bottom: 10px;
}

.wpx-post-loop .wpx-post h1 {
    font-weight: 500;
    font-size: 18px;
}

.wpx-post-loop .wpx-post .entry-content {
    font-size: 14px;
    opacity: .8;
}

.wpx-post-loop .wpx-post a.button {
    background-color: transparent !important;
    color: #00d084;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 0;
}

.wpx-post-loop .wpx-post a.button:hover {
    text-decoration: underline;
}

/** Breadcrumbs **/
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

.breadcrumbs ul li {
    padding: 0;
}

.breadcrumbs ul li a {
    text-transform: capitalize;
}

.breadcrumbs ul li:after {
    content: '»';
    margin: 0 2px;
}

.breadcrumbs ul li:last-of-type:after {
    display: none;
}

/** Media queries **/
@media screen and (max-width: 960px) {
    .wpx-column-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .wpx-column-wrapper .column {
        width: 100%;
    }

    .wpx-content-wrapper .wrap {
        padding: 80px 40px;
    }

    .wpx-content-img-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .wpx-content-img-wrapper .wrap,
    .wpx-content-img-wrapper.left .wrap {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .wpx-content-img-wrapper .column img,
    .wpx-content-img-wrapper.left .column img {
        margin: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }

    .wpx-content-img-wrapper .column,
    .wpx-shortcode-wrapper .column:first-child,
    .wpx-booking-wrapper .tab button,
    .wpx-booking-wrapper .tab {
        width: 100%;
    }

    .wpx-booking-wrapper .tabcontent {
        border-top-right-radius: 0;
    }

    .wpx-booking-wrapper .tab button {
        border-radius: 0;
    }

    .wpx-post-loop .wpx-post,
    .category .populair-sight {
        max-width: calc(50% - 40px);
    }

    .wpx-booking-wrapper {
        padding: 0;
    }

    .single-post .site-content .content-area,
    .single-post_sights .site-content .content-area {
        width: 100%;
        margin: 0 auto;
    }
}