/*   
Theme Name: Groen Centraal - Thema
Theme URI: http://groencentraal.nl/
Description: Theme for Groen Centraal website -- WordPress 6.8
Author: Niels Lust - Go2People Websites
Author URI: http://go2people.nl/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Go2People, Groen Centraal, Bootstrap, Responsive, Mobile
Version: 2.0
Text Domain: groen-centraal-thema
*/

:root {
    --primary: #79C33E;
    --grey: #9CA0A3;
    --grey-green: #E7E9DE;
    --light-grey: #F4F4F5;
    --white: #FFFFFF;
    --radius: 48px;
    --radius-sm: 24px;
}


@font-face {
    font-family: 'Dax Pro';
    src: url('fonts/daxoffcpro-webfont.eot');
    src: url('fonts/daxoffcpro-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/daxoffcpro-webfont.woff') format('woff'),
         url('fonts/daxoffcpro-webfont.ttf') format('truetype'),
         url('fonts/daxoffcpro-webfont.svg#dax_offc_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Dax Pro';
    src: url('fonts/daxoffcpro-bold-webfont.eot');
    src: url('fonts/daxoffcpro-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/daxoffcpro-bold-webfont.woff') format('woff'),
    url('fonts/daxoffcpro-bold-webfont.ttf') format('truetype'),
    url('fonts/daxoffcpro-bold-webfont.svg#dax_offc_probold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Dax Pro';
    src: url('fonts/daxoffcpro-ita-webfont.eot');
    src: url('fonts/daxoffcpro-ita-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/daxoffcpro-ita-webfont.woff') format('woff'),
    url('fonts/daxoffcpro-ita-webfont.ttf') format('truetype'),
    url('fonts/daxoffcpro-ita-webfont.svg#dax_offc_proitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Dax Pro';
    src: url('fonts/daxoffcpro-boldita-webfont.eot');
    src: url('fonts/daxoffcpro-boldita-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/daxoffcpro-boldita-webfont.woff') format('woff'),
    url('fonts/daxoffcpro-boldita-webfont.ttf') format('truetype'),
    url('fonts/daxoffcpro-boldita-webfont.svg#dax_offc_probold_italic') format('svg');
    font-weight: 700;
    font-style: italic;
}

/* BEGIN OF WP RESET */

body, html {
    background: var(--light-grey);
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'Dax Pro', sans-serif;
	font-size: 16px;
	overflow-y:visible;
}

html.off-canvas {
    overflow-y: hidden;

    header {
        top: 0;
        padding: 20px 0;
    }
}

.clear {
    clear: both;
}

table th {
    text-align: left;
}

.wp-block-table {
    table td {
        padding: 12px !important;
    }

    &.is-style-stripes {
        border-bottom: none;
        
        table td {
            background-color: rgba(0, 0, 0, 0);
        }
    }
}

.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

    .location-point .alignleft {
        margin-right: 15px;
        margin-bottom: 0;
    }

.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

.nivo-lightbox-theme-default .nivo-lightbox-close {
    height: 20px !important;
    width: 20px !important;
}

/* END OF WP RESET */


/* BEGIN OF TEXT */

.font-arial {
	font-family: Arial, Helvetica, sans-serif;
}

strong {
    font-family: 'Dax Pro', sans-serif;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin-bottom: 12px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Dax Pro', sans-serif;
    margin-bottom: 24px;

    &:first-child {
        margin-top: 0;
        margin-bottom: 32px;
    }

    @media screen and (min-width: 768px) {
        font-size: 48px;
        line-height: 1.25;
    }
}

h2 {
    font-size: 28px;
    font-family: 'Dax Pro', sans-serif;
    font-weight: 700;

    @media screen and (min-width: 768px) {
        font-size: 42px;
    }
}

h3 {
    font-size: 24px;
    font-weight: 700;

    @media screen and (min-width: 768px) {
        font-size: 32px;
    }
}

h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;

    @media screen and (min-width: 768px) {
        font-size: 24px;
        line-height: 32px;
    }
}

h5 {
    font-size: 18px;
    color: #A1A1A1;
    text-transform: uppercase;

    @media screen and (min-width: 768px) {
        font-size: 20px;
    }
}

h6 {
    color: #A1A1A1;
    font-size: 14px;
    text-transform: uppercase;
}

#carousel-location .slide-info h2,
#headerimage .slogan h2 {
    margin-top: 24px;
    font-size: 40px;
    line-height: 46px;
}

#locations .location h2 {
    font-size: 22px;
    text-decoration: none;
    padding: 0 10px;
    white-space: nowrap;
}

.contactright h2:first-child {
    margin-top: 0;
}

.news-item h2 {
    font-size: 20px;
}

.location-zoom-box h3 {
    font-size: 16px;
    margin: 0;
    margin-bottom: 5px;
}


a {
    color: #333;
}

p,
ul,
ol,
table {
    font-size: 18px;

    &:has(+ h1, + h2, + h3, + h4, + h5, + h6) {
        margin-bottom: 24px;
    }
}

.category {
    color: #000;
    border: 1px solid #000;
    border-radius: var(--radius);
    font-size: 18px;
    line-height: 24px;
    padding: 8px 16px;
}

#content-container p a {
    color: #79c33e;
}

#content-container .location-contact a {
    color: #333;
}

#content-container .location-contact a:hover {
    color: #79c33e;
}
    
a:hover, #content-container p a:hover {
    color: #79c33e;
}


a.button,
.wp-block-button a.wp-element-button {
    background-color: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    padding: 16px 22px;
    text-decoration: none;
    transition: all .3s ease-in-out;
    width: fit-content;

    &:hover,
    &:focus{
        background-color: var(--white);
        color: var(--primary);
        text-decoration: none;
    }

    &.white {
        background: var(--white);
        color: #000;
        display: flex;
        align-items: center;

        span,
        svg {
            margin-left: auto;
        }

        svg path {
            transition: all .3s ease-in-out;
        }


        &:hover,
        &:focus {
            color: var(--primary);

            svg path {
                fill: var(--primary);
            }
        }

    }
}

.offerte-cta-container {
    background: var(--primary);
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    padding: 28px;

    @media screen and (min-width: 768px) {
        padding: 32px;
    }

    p {
        color: var(--white);
    }

    .button {
        width: 100%;
    }
}

.social a {
    color: #0a383d;
    margin: 0 2px;
}

.social a:hover {
    color: #79c33e;
}

#content-container .social {
    padding-top: 20px;
}

a.backto {
    position: absolute;
    top: 0;
    right: 0;
}

span {

}

a {
    color: var(--primary);
    transition: color .3s ease-in-out;

    &:hover,
    &:focus {
        text-decoration: none;
    }
}

ul.checklist {
    margin: 0;
    padding: 0;
}

    ul.checklist li {
        background-image: url(images/checklist.png);
        background-position: left center;
        background-repeat: no-repeat;
        color: #0a383d;
        display: inline-block;
        font-size: 20px;
        list-style-type: none;
        min-height: 18px;
        padding: 0 10px 0 30px;
        width: 45%;
    }
    
    ul.checklist.full li {
        width: 100%;
    }

/* END OF TEXT */


/* STRUCTURE */
header {
    position: fixed;
    left: 50%;
    top: 50px;
    transition: .3s all ease-in-out;
    transform: translateX(-50%);
    z-index: 999;
    
    @media screen and (min-width: 992px) {
        top: initial;
    }

    > div.container div.row {
        background-color: var(--white);
        border-radius: 60px;
        padding: 10px 20px;

        @media screen and (min-width: 992px) {
            padding: 10px 0 10px 20px;
        }

        a.logo {
            width: fit-content;
            z-index: 1000;

            svg {
                width: 140px;

                @media screen and (min-width: 1200px) {
                    width: 180px;
                }
            }
        }
    }

    .header-cta-button {
        background: #79C33E;
        border: 0;
        border-radius: 32px;
        cursor: pointer;
        color: var(--white);
        display: inline-flex;
        align-items: center;
        font-size: 18px;
        text-decoration: none;
        padding: 8px 20px 8px 30px;
        position: relative;
        overflow: hidden;
        transition: background .3s ease-in-out;
        height: 60px;
        width: fit-content;

        &::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(225deg, #B5E832 0%, #7FB952 100%);
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            pointer-events: none;
        }

        &:hover,
        &:focus {
            &::before {
                opacity: 1;
            }
        }

        span {
            margin-right: 36px;
        }

        svg,
        span {
            z-index: 2;
        }

        &::after {
            content: '';
            background: linear-gradient(225deg, #B5E832 0%, #7FB952 100%);
            border-radius: var(--radius);
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 60px;
        }
    }
}

section.hero {
    padding: 24px 0 40px 0;
    position: relative;

    @media screen and (min-width: 768px) {
        padding: 24px 0 80px 0;
    }

    &::before {
        content: "";
        background: linear-gradient(252.44deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        display: block;
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
}

.hero-container {
    padding-top: 52px; /* same height as header */
    position: relative;
    z-index: 5;

    @media screen and (min-width: 992px) {
        padding-top: 80px; /* same height as header */
    }

    > .container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 40px;
        height: 100%;


        @media screen and (min-width: 768px) {
            margin-top: 60px;
        }

        @media screen and (min-width: 1200px) {
            margin-top: 80px;
        }
    }

    h1 {
        color: var(--white);
        margin-bottom: 0;
        font-family: 'Dax Pro', sans-serif;
        font-size: 42px;
        font-weight: 700;
        line-height: 50px;

        @media screen and (min-width: 768px) {
            font-size: 50px;
            line-height: 60px;
        }

        @media screen and (min-width: 1200px) {
            font-size: 64px;
            line-height: 82px;
        }
    }

    h2, h3, h4, h5, h6 {
        &:not(.form-title) {
            color: var(--white);
        }
    }

    span {
        color: #79C33E;
    }

    .hero-form-container {
        max-width: initial;

        @media screen and (min-width: 768px) {
            max-width: 50%;
        }

        @media screen and (min-width: 992px) {
            max-width: 355px;
            margin-left: auto;
        }
    }

    .hero-intro {
        align-items: flex-end;
        margin-top: auto;

        p {
            font-size: 20px;
            color: white;

            @media screen and (min-width: 768px) {
                font-size: 24px;
            }
        }

        .category {
            color: var(--white);
            border: 1px solid var(--white);
        }
    }
}

section.homepage-intro#content-container {

    @media screen and (min-width: 1440px) {
        h2 {
            width: 75%;
            font-size: 42px;
        }
    }
    h4 {
        font-weight: 400;
    }

    a.button {
        width: fit-content;

        @media screen and (min-width: 992px) {
            margin-top: 24px;
        }
    }
}

section.location-intro {
    margin-top: 75px;

    @media screen and (min-width:992px) {
        margin-top: 180px;
    }
}

.location-intro {

    .location-image-container {
        position: relative;

        .tags {
            display: flex;
            gap: 8px;
            flex-direction: row;
            flex-wrap: wrap;
            padding: 12px;
            position: absolute;
            top: 0;
            left: 0;

            @media screen and (min-width: 992px) {
                padding: 32px;
            }

            span {
                background: var(--white);
                border-radius: var(--radius);
                display: flex;
                align-items: center;
                flex-direction: row;
                flex-wrap: nowrap;
                gap: 8px;
                padding: 4px 8px;

                @media screen and (min-width: 992px) {
                    padding: 8px 16px;
                }

                &::before {
                    content: "";
                    background: url('images/svg/check-icon.svg') no-repeat center;
                    background-size: contain;
                    display: block;
                    height: 17px;
                    width: 17px;
                }
            }
        }
    }

    .location-image {
        border-radius: var(--radius-sm);
        object-fit: cover;
        height: 250px;
        width: 100%;

        @media screen and (min-width: 992px) {
            height: 500px;
        }
    }

    .location-meta {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 24px;
        margin-bottom: 24px;
        height: 100%;

        @media screen and (min-width: 992px) {
            margin-bottom: 0;
        }

        > div {
            background: var(--white);
            border-radius: var(--radius-sm);
            padding: 27px;
            flex: 1;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            flex-basis: calc(100% / 3);

            @media screen and (min-width: 1200px) {
                flex-basis: auto;
            }

            svg {
                margin-top: auto;
            }


            span {
                font-size: 18px;
                font-weight: 700;
                margin-top: 10px;
                margin-bottom: auto;

                &:has(+.small-info) {
                    margin-bottom: 0;
                }

                &.small-info {
                    color: var(--grey);
                    font-size: 14px;
                    font-weight: 500;
                    margin-top: 0;
                }
            }
        }
    }
}

.location-nav {
    margin-top: 24px;

    nav {
        background-color: var(--white);
        border-radius: var(--radius-sm);
        padding: 28px;

        @media screen and (min-width: 768px) {
            border-radius: var(--radius);
            padding: 28px 48px;
        }

        ul {
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;

            @media screen and (min-width: 768px) {
                flex-direction: row;
            }

            li.current_page_item {
                font-weight: 700;
            }

            @media screen and (max-width: 768px) {
                li {
                    padding: 0;
                }
            }
        }

    }
}


#headerimage {
    position: relative;
    margin-top: 80px;

    @media screen and (min-width: 992px) {
       margin-top: 130px;
    }

    img {
        height: 400px;
        width: 100%;
        object-fit: cover;
        border-radius: var(--radius-sm);

        @media screen and (min-width: 992px) {
            border-radius: var(--radius);
        }
    }

    + #content-container {
        background: #E7E9DE;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 80px;

        @media screen and (min-width: 992px) {
            padding-top: 80px;
            padding-bottom: 80px;
        }
    }
}

body:not(:has(#headerimage)) section#content-container .container {
    padding-bottom: 20px;

    @media screen and (min-width: 992px) {
        padding-bottom: 80px;
    }
}

#content-container {
    margin-top: 70px;

    @media screen and (min-width: 992px) {
        margin-top: 180px;
    }

    h2 {
        font-size: 24px;
    }
}

.home #content-container {
    margin-top: 50px;
    margin-bottom: 36px;
    padding-top: 0;

    @media screen and (min-width: 992px) {
        margin-top: 100px;
    }
}

.swiper {
    padding: 40px 0;
    width: 100%;

    @media screen and (min-width: 768px) {
        padding: 80px 0;
    }

    .swiper-slide {
        @media screen and (min-width: 768px) {
            &.is-even a {
                transform: translateY(40px);
            }
            &.is-odd a {
                transform: translateY(-40px);
            }
        }

    }

}

.swiper .swiper-slide a,
a.location {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3 / 4;

    @media screen and (min-width: 575px) {
        max-height: 520px;
    }

    &::after {
        content: '';
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
        border-radius: var(--radius);
        display: block;
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        z-index: 2;
        opacity: 1;
        transition: opacity .3s ease-in-out;
    }

    button {
        background: linear-gradient(225deg, #B5E832 0%, #7FB952 100%);
        border: none;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 24px;
        right: 24px;
        opacity: 0;
        height: 60px;
        width: 60px;
        transition: all .3s ease-in-out;
        pointer-events: none;
    }

    img {
        border-radius: var(--radius);
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: all .3s ease-in-out;
    }

    &:hover,
    &:focus {
        &::after {
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
            opacity: .5;
        }
        button {
            opacity: 1;
        }
        img {
            transform: scale(1.1);
        }
    }
}

a.location {
    aspect-ratio: initial;
    height: 480px;
}

/* WYSIWYG gallery styling overwrite */
#gallery-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;

    @media screen and (min-width: 768px) {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        float: none !important;
        width: auto !important;

        a {
            display: block;

            img {
                border-radius: var(--radius-sm);
                height: auto;
                width: 100%;
            }
        }
    }

    br {
        display: none;
    }
}

section.location-content-section {
    margin-top: 48px;

    h2 {
        font-size: 24px;
    }

    *:last-child {
        margin-bottom: 0;
    }

    .row [class*="col"] {
        margin-top: 40px;
    }

    .video-embed-container {
        position: relative;
        overflow: hidden;
        max-width: 100%;
        height: auto;

        iframe,
        object,
        embed {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }

    .video-embed-container:has(> iframe) {
        padding-bottom: 56.25%;
    }
}

section.about-us-section,
section.location-content-section {
    background: var(--grey-green);
    padding: 40px 0;

    @media screen and (min-width: 992px) {
        padding: 80px 0;
    }

    &:not(#gallery-1) .gallery,
    &:not(#gallery-1) .gallery-2 {
        display: grid;
        grid-column-gap: 15px;
        grid-row-gap: 15px;

        @media screen and (min-width: 768px) {
            grid-column-gap: 25px;
            grid-row-gap: 25px;
            max-height: 740px;
        }

        img {
            border-radius: var(--radius-sm);
            object-fit: cover;
            height: 100%;
            width: 100%;
        }
    }

    &:not(#gallery-1) .gallery {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(9, 1fr);

        img:nth-child(1) {
            grid-area: 1 / 1 / 4 / 3;

            @media screen and (min-width: 768px) {
                grid-area: 1 / 1 / 3 / 3;
            }
        }
        img:nth-child(2) {
            grid-area: 1 / 3 / 4 / 5;

            @media screen and (min-width: 768px) {
                grid-area: 1 / 3 / 5 / 5;
            }
        }
        img:nth-child(3) {
            grid-area: 1 / 5 / 4 / 7;

            @media screen and (min-width: 768px) {
                grid-area: 1 / 5 / 4 / 7;
            }
        }
        img:nth-child(4) {
            grid-area: 4 / 1 / 7 / 3;

            @media screen and (min-width: 768px) {
                grid-area: 3 / 1 / 6 / 3;
            }
        }

        img:nth-child(5) {
            grid-area: 4 / 3 / 7 / 5;

            @media screen and (min-width: 768px) {
                grid-area: 5 / 3 / 8 / 5;
            }
        }
        img:nth-child(6) {
            grid-area: 4 / 5 / 7 / 7;

            @media screen and (min-width: 768px) {
                grid-area: 4 / 5 / 7 / 7;
            }
        }

        img:nth-child(7) {
            grid-area: 7 / 1 / 10 / 3;

            @media screen and (min-width: 768px) {
                grid-area: 6 / 1 / 10 / 3;;
            }
        }

        img:nth-child(8) {
            grid-area: 7 / 3 / 10 / 5;

            @media screen and (min-width: 768px) {
                grid-area: 8 / 3 / 10 / 5;
            }
        }

        img:nth-child(9) {
            grid-area: 7 / 5 / 10 / 7;

            @media screen and (min-width: 768px) {
                grid-area: 7 / 5 / 10 / 7;
            }
        }
    }

    .gallery-2 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);

        @media screen and (min-width: 768px) {
            grid-template-columns: repeat(6, 1fr);
            grid-template-rows: repeat(6, 1fr);
        }

        *:nth-child(1) {
            grid-area: 1 / 1 / 3 / 3;
        }
        *:nth-child(2) {
            grid-area: 1 / 3 / 3 / 5;

            @media screen and (min-width: 768px) {
                grid-area: 1 / 5 / 4 / 7;
            }
        }
        *:nth-child(3) {
            grid-area: 3 / 1 / 5 / 3;

            @media screen and (min-width: 768px) {
                grid-area: 3 / 1 / 7 / 3;
            }
        }
        *:nth-child(4) {
            grid-area: 3 / 3 / 5 / 5;

            @media screen and (min-width: 768px) {
                grid-area: 1 / 3 / 5 / 5;
            }
        }

        *:nth-child(5) {
            grid-area: 5 / 1 / 7 / 3;

            @media screen and (min-width: 768px) {
                grid-area: 5 / 3 / 7 / 5;
            }
        }
        *:nth-child(6) {
            grid-area: 5 / 3 / 7 / 5;

            @media screen and (min-width: 768px) {
                grid-area: 4 / 5 / 7 / 7;
            }
        }

        a:not([data-lightbox-gallery="gallery"]) {
            pointer-events: none;
        }
    }
}

@media screen and (min-width: 992px) {
    #locations {
        article:nth-of-type(3n + 2) {
            transform: translateY(-80px);
        }
    }
}

.locations-carousel,
#locations {
    margin-top: 80px;

    @media screen and (min-width: 992px) {
        margin-top: 160px;
    }

    @media screen and (max-width: 575px) {
        padding: 0 20px;
    }

    .swiper-slide a,
    a.location {
        position: relative;
    }

    .location-info {
        content: '';
        color: var(--white);
        position: absolute;
        bottom: 0;
        padding: 24px;
        z-index: 3;

        h3 {
            font-size: 24px;
            font-family: 'Dax Pro', sans-serif;
            font-weight: 700;
        }

        p {
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 24px;
            font-size: 16px;

            @media screen and (min-width: 768px) {
                font-size: 18px;
            }
        }

        .tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;

            span {
                display: inline-block;
                padding: 8px 12px;
                border-radius: 24px;
                background: #9CB19838;
                backdrop-filter: blur(15px);
                font-size: 14px;
                text-transform: uppercase;
            }
        }
    }
}

/* LOCATION DETAIL */
    
    .logo {
        object-fit: contain;
        max-height: 120px;
        width: 100%;
    }

    .news-item {
        border-bottom: 1px solid #68787f;        
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    
    .location-contact {
        background: var(--white);
        border-top-right-radius: var(--radius-sm);
        border-top-left-radius: var(--radius-sm);
        display: flex;
        flex-direction: column;
        padding: 32px;

        .location-contact-logo {
            display: flex;
            justify-content: center;
            margin-bottom: 32px;
        }

        .location-contact-info {
            overflow-x: hidden;

            table {
                tr {
                    border-style: hidden;

                    td {
                        padding: 5px;
                    }
                }
            }

            span {
                color: #A1A1A1;
                font-size: 14px;
                line-height: 18px;
                text-transform: uppercase;
            }

            a {
                text-decoration: none;
            }
        }

        .socials {
            display: flex;
            flex-direction: row;
            gap: 16px;

            a {
                color: var(--grey);
            }
        }
    }
    
    ul.location-info {
        margin: 0;
        padding: 0;
    }
    
        ul.location-info li {
            background-position: left top;
            background-repeat: no-repeat;
            display: inline-block;
            font-size: 18px;
            list-style-type: none;
            padding: 5px 0px 3px 40px;
            text-decoration: none;
            width: 100%;
        }
        
/* LOCATION DETAIL END  */

/* LIGGING */

.location-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;

    @media screen and (min-width: 768px) {
        grid-template-columns: repeat(5, 1fr);
    }

    img {
        width: 100%;
    }
}

.ligging-image-container {
    img {
        max-width: 100%;
        height: 500px;
    }
}

.ligging {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 16px;
}

.ligging #map_canvas {
    border: 1px solid var(--grey);
    height: 500px;
    width: 100%;

    div:first-child {
        width: inherit !important;
    }
}

.ligging #map_canvas img {
    max-width: none;
}



.gallery-caption {
    padding-top: 5px;
}

.pageimages {
    display: block;
    margin-bottom: 15px;
}

#ui-datepicker-div {
    z-index: 300 !important;
}

.date-container {
    h3 {
        display: none;
    }
}

footer {
    background: var(--white);

    article.footer-cta-container {
        display: flex;
        align-items: center;
        padding: 60px 0;
        position: relative;

        &::before {
            content: "";
            background: linear-gradient(252.44deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
            display: block;
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
        }

        > .container {
            z-index: 5;
        }

        .footer-form-container {
            max-width: 450px;

            p:empty {
                display: none;
            }
        }

        form.frm_pro_form .frm_fields_container .date-container {
            display: flex;
            gap: 5px;
        }

        .quote-container {
            backdrop-filter: blur(15px);
            border-radius: var(--radius);
            display: flex;
            flex-direction: column;
            flex: 1;
            padding: 32px;
            color: var(--white);
            height: 100%;

            @media screen and (min-width: 1200px) {
                padding: 48px 32px 32px;
            }

            p {
                font-size: 16px;

                @media screen and (min-width: 1200px) {
                    font-size: 18px;
                }
            }

            strong {
                margin-top: auto;
            }
        }
    }
    article.upper-footer {
        padding-top: 80px;

        svg:first-child {
            margin-bottom: 25px;
            max-width: 180px;
            width: 100%;
        }

        a {
            color: #333;
            display: block;
            text-decoration: none;
            font-size: 18px;
            line-height: 30px;

            &:hover,
            &:focus {
                color: var(--primary);
            }
        }

        h3 {
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 24px;
        }

        h5, h6 {
            margin-top: 50px;
        }

        .footer-cta {
            background-color: var(--primary);
            border-radius: var(--radius-sm);
            color: var(--white);
            padding: 32px;

            h2 {
                font-size: 32px;
                font-weight: 700;
            }

            p {
                font-size: 18px;
            }

            a.button {
                margin-top: 70px;
                width: 100%;
            }
        }
    }

    article.lower-footer {
        border: 1px solid var(--light-grey);
        padding: 10px 0;

        a {
            color: var(--grey);
            text-decoration: none;

            &:hover {
                color: var(--primary);
                text-decoration: underline;
            }
        }

        p {
            color: var(--grey);
            margin: 0;
            font-size: 14px;
        }
    }
}

.upper-footer .location-logo {
    display: inline-block;
    vertical-align: middle;
    width: 120px;
}

.upper-footer .location-logo a {
    display: block;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.upper-footer .location-logo img {
    object-fit: contain;
    display: block;
    max-height: 90px;
    width: 100%;
}

/* END OF STRUCTURE */


/* BEGIN OF BOOTSTRAP OVERWRITE */


.container {
    padding-right: 25px;
    padding-left: 25px;
    max-width: 100%;

    @media (min-width: 768px) {
        max-width: 1100px;
    }

    @media (min-width: 1200px) {
        max-width: 1500px;
        padding-right: 50px;
        padding-left: 50px;
    }
}



.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    /* only to change padding */
}

/* END OF BOOTSTRAP OVERWRITE */

/* Skeleton loaders */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-slide,
.skeleton-location {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius);
    aspect-ratio: 3 / 4;
}

.skeleton-slide {
    flex-shrink: 0;
}

.skeleton-location {
    max-height: 520px;
}

/* Hide real content until loaded */
.locations-carousel .swiper-wrapper .swiper-slide,
#locations article {
    display: none;
}

.locations-carousel.is-loaded .swiper-wrapper .swiper-slide,
#locations.is-loaded article {
    display: block;
}

.locations-carousel.is-loaded .skeleton-slide,
#locations.is-loaded .skeleton-location-wrap {
    display: none;
}

