/* ============================================================= */
/* General data
/* ============================================================= */

#general-data h1{
    margin-bottom: 0;
}

#general-data h4 {
    margin-top: 0;
}


/* ============================================================= */
/* Furnishing
/* ============================================================= */

#furnishing-wrapper {
    margin-top: clamp(20px, 80px, 120px);
    margin-bottom: clamp(40px, 120px, 120px);
}

#furnishing {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

#furnishing .item {
    flex: 0 1 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 20px;
}

#furnishing .item .icon svg {
    height: 3em;
    width: auto;
    fill: var(--wp--preset--color--primary, #004E9E);
}

#furnishing .item p {
    text-align: center;
    font-size: 1.1em;
}

.furnishing-text {
    text-align: center;
}


/* ============================================================= */
/* Furnishing Extra
/* ============================================================= */

#furnishing-extra-wrapper {
    background-color: rgba(0, 78, 158, 0.1);
	padding-left: 15px;
	padding-right: 15px;
    padding-top: clamp(20px, 40px, 80px);
    padding-bottom: clamp(20px, 40px, 80px);
    margin-top: clamp(40px, 120px, 120px);
    margin-bottom: clamp(40px, 120px, 120px);
}

#furnishing-extra {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    margin-top: clamp(40px, 60px, 80px);
    margin-bottom: clamp(20px, 40px, 60px);
}

#furnishing-extra .item {
    flex: 0 1 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 20px;
}

#furnishing-extra .item .icon svg {
    height: 3em;
    width: auto;
    fill: var(--wp--preset--color--primary, #004E9E);
}

#furnishing-extra .item p {
    text-align: center;
    font-size: 1.1em;
}


/* ============================================================= */
/* Appartement-Slider & Equipment
/* ============================================================= */

#equipment-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: clamp(40px, 120px, 120px);
    margin-bottom: clamp(40px, 120px, 120px);
}


/* Equipment
/* ------------------------------------------------------------- */

#equipment-wrapper {
    flex: 0 1 100%;
    max-width: 100%;
    padding: 0;
}

#equipment-wrapper h3 {
    font-size: clamp(1.2em, 1.4em, 1.6em);
}

#equipment-wrapper .heading {
    font-size: clamp(1em, 1.2em, 1.4em);
}

#equipment .accordion {
    background-color: rgba(0, 78, 158, 0.1);
    color: var(--wp--preset--color--primary, #004E9E);
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

#equipment .accordion.active, .accordion:hover {
    background-color: rgba(0, 78, 158, 0.2);
}

#equipment .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}



/* Appartement-Slider
/* ------------------------------------------------------------- */

#appartement-slider-wrapper {
    flex: 0 1 100%;
    max-width: 100%;
    padding: 0;
}

.slider.slick-slider {
    cursor: pointer;
}

.slider .slick-list {
	z-index: 0;
    position: relative;
}

.appartement-slider-nav-arrow.arrow-prev,
.appartement-slider-nav-arrow.arrow-next {
    position: absolute;
    width: 32px;
    cursor: pointer;
    z-index: 1;
}

.appartement-slider-nav-arrow.arrow-prev {
    left: 0;
    top: calc(50% - 24px);
}

.appartement-slider-nav-arrow.arrow-next {
    right: 0;
    top: calc(50% - 24px);
}

ul.slick-dots {
    position: absolute;
    bottom: 25px;
    left: 45px;
    display: flex;
    width: calc(100% - 90px);
    padding: 0;
    margin: 0;
}

ul.slick-dots li {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg,#ffffff 0,#ffffff 50%,rgba(255,255,255,0.4) 50%,rgba(255,255,255,0.4) 100%);
    background-size: 200%;
    background-position: left center;
    font-size: 0;
    transition: all 0.15s;
    min-width: 20px;
    display: block;
    flex: auto;
}

ul.slick-dots .slick-active ~ li {
    background-position: right center;
}

ul.slick-dots li button {
    width: 100%;
    font-size: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}


/* ============================================================= */
/* Prices
/* ============================================================= */

#prices-wrapper {
    position: relative;
    background-color: rgba(0, 78, 158, 0.1);
    padding-top: clamp(20px, 40px, 80px);
    padding-bottom: clamp(20px, 40px, 80px);
    margin-top: clamp(40px, 120px, 120px);
    /*margin-bottom: clamp(40px, 120px, 120px);*/
}

#prices-wrapper-inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#prices-summer-wrapper,
#prices-winter-wrapper {
    flex: 0 1 100%;
}

#dp-prices-summer-table,
#dp-prices-winter-table {
    width: 100%;
    margin: 0;
}

#dp-prices-summer-table tbody,
#dp-prices-winter-table tbody {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

#dp-prices-summer-table tr[class^="row-"],
#dp-prices-winter-table tr[class^="row-"] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    flex: 0 1 100%;
}

#dp-prices-summer-table tr[class^="row-"]:nth-of-type(2n+1),
#dp-prices-winter-table tr[class^="row-"]:nth-of-type(2n+1) {
    background-color: rgba(0, 78, 158, 0.1);
}

#dp-prices-summer-table td[class^="column-"],
#dp-prices-winter-table td[class^="column-"] {
    flex: 0 1 50%;
}

#dp-prices-summer-table .column-1,
#dp-prices-winter-table .column-1 {
    padding: 10px 0 10px 10px;
}

#dp-prices-summer-table .column-2,
#dp-prices-winter-table .column-2 {
    text-align: right;
    padding: 10px 10px 10px 0;
}

#dp-prices-summer-table .column-1 .season-name,
#dp-prices-winter-table .column-1 .season-name,
#dp-prices-summer-table .season-price,
#dp-prices-winter-table .season-price {
    font-weight: bold;
}

/* Additional price information
/* ------------------------------------------------------------- */

#additional-price-information {
    margin: 20px 0 0;
}

#additional-price-information p {
    text-align: center;
    font-size: 0.85em;
}

/* Availability Shortcode
/* ------------------------------------------------------------- */

#availability-shortcode .vbrdetboxtop,
#availability-shortcode .vbo-availcalendars-cont h4,
#availability-shortcode #vbo-bookingpart-form,
#availability-shortcode .vbo-seldates-cont {
    display: none
}

#availability-shortcode {
    margin-top: 80px;
}

#availability-shortcode .vbselectm,
#availability-shortcode .vbselectm:focus-visible {
    background-color: transparent;
    color: var(--wp--preset--color--primary);
    border: 1px solid var(--wp--preset--color--primary);
}

#availability-shortcode .vbcalsblock .vbcalnumdays {
    pointer-events: none;
}

#availability-shortcode .vbcalsblock {
    border: none;
    box-shadow: none;
}

#availability-shortcode .vblegenda .vblegenda-status.vblegfree {
    background-color: green;
}

#availability-shortcode .vblegenda .vblegenda-status.vblegbusycheckin,
#availability-shortcode .vblegenda .vblegenda-status.vblegbusycheckout {
    background-color: transparent;
}

#availability-shortcode .vblegenda-lbl {
    color: var(--wp--preset--color--primary);
    font-size: 0.9em;
    font-weight: 400;
}

#availability-shortcode .vbo-rdet-avcal-nav {
    background-color: var(--wp--preset--color--primary);
}

#availability-shortcode .vbo-pref-bordercolor {
    color: var(--wp--preset--color--primary);
    border-bottom: 1px solid var(--wp--preset--color--primary);
    font-size: 0.9em;
}

#availability-shortcode .vbcalsblock .vbcaldivcont table {
    width: 100% !important;
}

#availability-shortcode .vbcaldays td {
    color: var(--wp--preset--color--primary);
}

#availability-shortcode .vbcalnumdays .vbtdfree,
#availability-shortcode .vbtdbusy.vbtdbusyforcheckin,
#availability-shortcode .vbtdbusy.vbtdbusyforcheckout {
    background-color: green;
    color: #ffffff;
}



/* Prices Button
/* ------------------------------------------------------------- */

#prices-button-wrapper {
    margin-top: clamp(20px, 20px, 20px);
}

#prices-button-wrapper .wp-block-button {
    text-align: center;
}


/* ============================================================= */
/* Gallery Grid
/* ============================================================= */

.gallery-grid-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.gallery-grid {
    margin-top: 5px;
    margin-bottom: 5px;
}

.gallery-grid-inner,
.gallery-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.gallery-grid-inner .box,
.gallery-grid-inner .hover-box {
    display: block;
    position: relative;
    flex: 0 1 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
}

.gallery-grid-inner .hover-box .hover-overlay {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 78, 158, 0.4);
}

.gallery-grid-inner .hover-box .content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    border: solid 2px transparent;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.gallery-grid-inner .hover-box .content img {
    cursor: pointer;
}

.gallery-grid-inner .hover-box:hover {
    transform: scale(1.05);
    overflow: hidden;
    transition: all 0.5s ease-in-out 0.15s;
}

/* Markup for further lines of the gallery grid
/* ------------------------------------------------------------- */

.gallery-row:nth-of-type(3n+1) .box:nth-of-type(1),
.gallery-row:nth-of-type(3n+1) .box:nth-of-type(2),
.gallery-row:nth-of-type(3n+1) .box:nth-of-type(3),
.gallery-row:nth-of-type(3n+2) .box:nth-of-type(1),
.gallery-row:nth-of-type(3n+2) .box:nth-of-type(2),
.gallery-row:nth-of-type(3n+2) .box:nth-of-type(3),
.gallery-row:nth-of-type(3n+3) .box:nth-of-type(1),
.gallery-row:nth-of-type(3n+3) .box:nth-of-type(2),
.gallery-row:nth-of-type(3n+3) .box:nth-of-type(3) {
    -webkit-box-flex: 1;
    margin: 5px;
    height: 175px;
    width: 100%;
    background-position: 50% 50%;
}

.gallery-row:nth-of-type(2n+1) .box:nth-of-type(1) {
    -ms-flex: 0 1 calc(40% - 10px);
    flex: 0 1 calc(40% - 10px);
}

.gallery-row:nth-of-type(2n+1) .box:nth-of-type(2) {
    -ms-flex: 0 1 calc(60% - 10px);
    flex: 0 1 calc(60% - 10px);
}

.gallery-row:nth-of-type(2n+1) .box:nth-of-type(3) {
    -ms-flex: 0 1 calc(100% - 10px);
    flex: 0 1 calc(100% - 10px);
}

.gallery-row:nth-of-type(2n+2) .box:nth-of-type(1) {
    -ms-flex: 0 1 calc(60% - 10px);
    flex: 0 1 calc(60% - 10px);
}

.gallery-row:nth-of-type(2n+2) .box:nth-of-type(2) {
    -ms-flex: 0 1 calc(40% - 10px);
    flex: 0 1 calc(40% - 10px);
}

.gallery-row:nth-of-type(2n+2) .box:nth-of-type(3) {
    -ms-flex: 1 1 calc(100% - 10px);
    flex: 1 1 calc(100% - 10px);
}

/* ============================================================= */
/* Others
/* ============================================================= */

.navigation.post-navigation {
    display: none;
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {


    /* ============================================================= */
    /* Gallery Grid
    /* ============================================================= */

    .gallery-row:nth-of-type(3n+1) .box:nth-of-type(1),
    .gallery-row:nth-of-type(3n+2) .box:nth-of-type(2),
    .gallery-row:nth-of-type(3n+3) .box:nth-of-type(3) {
        -webkit-box-flex: 0;
        -ms-flex: 1 1 calc(50% - 10px);
        flex: 1 1 calc(50% - 10px);
        margin: 5px;
        height: 250px;
    }

    .gallery-row:nth-of-type(3n+1) .box:nth-of-type(2),
    .gallery-row:nth-of-type(3n+1) .box:nth-of-type(3),
    .gallery-row:nth-of-type(3n+2) .box:nth-of-type(1),
    .gallery-row:nth-of-type(3n+2) .box:nth-of-type(3),
    .gallery-row:nth-of-type(3n+3) .box:nth-of-type(1),
    .gallery-row:nth-of-type(3n+3) .box:nth-of-type(2) {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(25% - 10px);
        flex: 0 1 calc(25% - 10px);
        margin: 5px;
        height: 250px;
    }

}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* ============================================================= */
    /* Furnishing
    /* ============================================================= */

    #furnishing {
        flex-wrap: nowrap;
    }


    /* ============================================================= */
    /* Furnishing Extra
    /* ============================================================= */

    #furnishing-extra {
        flex-wrap: nowrap;
    }

    /* ============================================================= */
    /* Appartement-Slider & Equipment
    /* ============================================================= */

    #equipment-slider-wrapper {
        flex-direction: row;
    }

    /* Equipment
    /* ------------------------------------------------------------- */

    #equipment-wrapper {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 0;
    }

    #equipment-wrapper h3 {
        margin-top: 0;
    }

    /* Appartement-Slider
    /* ------------------------------------------------------------- */

    #appartement-slider-wrapper {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
        padding-left: 0;
    }

    .appartement-slider-nav-arrow.arrow-prev,
    .appartement-slider-nav-arrow.arrow-next {
        width: 48px;
    }


    /* ============================================================= */
    /* Prices
    /* ============================================================= */

    #prices-wrapper {
        padding: 80px 0 120px 0;
    }

    #prices-wrapper-inner {
        flex-direction: row;
        gap: 40px;
    }

    #dp-prices-summer-table .column-1,
    #dp-prices-winter-table .column-1 {
        padding: 15px 0 15px 30px;
    }

    #dp-prices-summer-table .column-2,
    #dp-prices-winter-table .column-2 {
        padding: 15px 30px 15px 0;
    }

    /* ============================================================= */
    /* Gallery Grid
    /* ============================================================= */

    .gallery-row:nth-of-type(3n+1) .box:nth-of-type(1),
    .gallery-row:nth-of-type(3n+1) .box:nth-of-type(3) {
        -webkit-box-flex: 0;
        -ms-flex: 0 2 calc(35% - 10px);
        flex: 0 2 calc(35% - 10px);
        margin: 5px;
        height: 400px;
    }

    .gallery-row:nth-of-type(3n+2) .box:nth-of-type(3),
    .gallery-row:nth-of-type(3n+3) .box:nth-of-type(1) {
        -webkit-box-flex: 0;
        -ms-flex: 0 2 calc(40% - 10px);
        flex: 0 2 calc(40% - 10px);
        margin: 5px;
        height: 400px;
    }

    .gallery-row:nth-of-type(3n+1) .box:nth-of-type(2){
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(30% - 10px);
        flex: 1 1 calc(30% - 10px);
        margin: 5px;
        height: 400px;
    }

    .gallery-row:nth-of-type(3n+3) .box:nth-of-type(2),
    .gallery-row:nth-of-type(3n+3) .box:nth-of-type(3),
    .gallery-row:nth-of-type(3n+2) .box:nth-of-type(1),
    .gallery-row:nth-of-type(3n+2) .box:nth-of-type(2) {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(20% - 10px);
        flex: 1 1 calc(20% - 10px);
        margin: 5px;
        height: 400px;
    }

}