/*
 Theme Name:   location-jonzac
 Theme URI:    https://residenceczarny.fr
 Description:  location-jonzac theme
 Author:       Nicolas Métivier & Thomas Bleneau
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light
 Text Domain:  location-jonzac
*/


/******************************
      WOOCOMMERCE SINGLE
*******************************/
.single-product .archive-residence {
    position: relative;
    height: auto !important;
    padding-bottom: 0px !important;
}

.single-product .archive-residence aside {
    display: none !important;
}

.single-product .archive-residence .site-main-content {
    padding-top: 0px !important;
    padding-right: 0px !important;
    max-width: 100% !important;
    overflow: visible;
}

.single-residence-banner {
    height: 480px;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.single-carrousel img {
    height: 480px;
    width: 100%;
    object-fit: cover;
}

.single-product-banner-content {
    position: absolute;
    bottom: 0;
    height: auto;
    left: 0;
    width: 100%;
}

.related-posts-content article {
    padding-bottom: 40px;
    /* border-bottom: solid 1px rgba(26, 37, 81, 0.10); */
    margin-bottom: 40px;
}

.blog-thumbnail-filter {
    background-image: linear-gradient(179deg, rgba(0, 0, 0, 0.00) 56%, rgba(0, 0, 0, 0.50) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 5px;
    height: 100%;
    width: 100%;
}

.related-posts-content article h3 {
    font-weight: 400;
    font-size: 18px;
    color: #222222;
    margin-top: 20px;
}

span.blog-read-more {
    position: relative;
}

button.more-photos {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    font-size: 15px;
    color: #222222;
    letter-spacing: 0;
    padding: 10px 40px 10px 40px;
    border: none;
    position: absolute;
    right: 0;
    bottom: 20px;
}

.single-product .single-blog-title h4 {
    align-self: baseline;
    font-size: 28px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.50);
}

.single-product-content h2 {
    font-weight: 600;
    font-size: 36px;
    color: #222222;
    margin-bottom: 30px;
    line-height: 1.4;
}

.single-product-content h3 {
    font-weight: 400;
    font-size: 26px;
    color: #222222;
}

.find-on-map:focus {
    outline: none;
}

.find-on-map {
    width: auto;
    padding: 13px 80px 13px 40px;
    height: 50px;
    font-size: 15px;
    letter-spacing: 0.02px;
    line-height: 23px;
    position: relative;
    display: inline-block;
    outline: 0;
    text-align: center;
    font-weight: normal;
    overflow: hidden;
    border-radius: var(--woocommerceButtonBorderRadius);
    color: var(--woocommerceButtonFontColor) !important;
    background: var(--woocommerceButtonBackgroundColor);
    box-shadow: var(--woocommerceButtonShadow);
    border: 1px solid var(--woocommerceButtonBorderColor);
    transition: all .5s, color .5s;
    -webkit-transition: all .5s, color .5s;
    -moz-transition: all .5s, color .5s;
    -ms-transition: all .5s, color .5s;
    -o-transition: all .5s, color .5s;
}

.find-on-map a::after {
    content: url(../../img/svg/find-map.svg);
    display: block;
    position: absolute;
    top: 10px;
    right: 40px;
}

#nous-trouver .find-on-map {
    position: absolute;
    top: -25px;
    z-index: 99;
}

#show-product-description:focus {
    outline: none;
}

#show-product-description {
    width: auto;
    padding: 13px 80px 13px 40px;
    height: 50px;
    font-size: 15px;
    letter-spacing: 0.02px;
    line-height: 23px;
    position: relative;
    display: inline-block;
    outline: 0;
    text-align: center;
    font-weight: normal;
    overflow: hidden;
    border-radius: var(--woocommerceButtonBorderRadius);
    color: var(--woocommerceButtonFontColor) !important;
    background: var(--woocommerceButtonBackgroundColor);
    box-shadow: var(--woocommerceButtonShadow);
    border: 1px solid var(--woocommerceButtonBorderColor);
    transition: all .5s, color .5s;
    -webkit-transition: all .5s, color .5s;
    -moz-transition: all .5s, color .5s;
    -ms-transition: all .5s, color .5s;
    -o-transition: all .5s, color .5s;
    font-weight: 600;
}

#show-product-description::after {
    content: url(../../img/svg/arrow-show-description-white.svg);
    display: block;
    position: absolute;
    right: 50px;
    top: 12px;
}

#show-product-description.after-rotate-180::after {
    content: url(../../img/svg/arrow-show-description-white.svg);
    display: block;
    position: absolute;
    right: 50px;
    top: 12px;
    transform: rotate(180deg);
}

.product-short-description {
    column-count: 2;
    overflow: hidden;
    max-height: 0;
}

.product-short-description {
    font-size: 17px;
    line-height: 24px;
}

.product-short-description ul {
    margin-top: 15px;
}

.product-short-description ul li {
    margin-top: 10px;
}

.product-short-description.expand-description {
    max-height: 100%;
    height: 100%;
}

.single-product #nous-trouver #map {
    width: 100%;
    height: 480px;
}

.single-product-content .single-product-content-child p, .single-product-content .single-product-content-child li,
.single-product-content .single-product-content-child div {
    font-size: 17px;
    color: #545454;
    line-height: 30px;
}

.single-product-content a {
    color: #1A2551;
    font-weight: 500;
}

.single-product .product_title {
    display: none !important;
}

.single-calendar p.price, .single-calendar p.form-field.form-field-wide.wc_bookings_field_duration {
    display: none !important;
}

.single-calendar .product_meta {
    display: none;
}

.single-calendar-info p {
    color: #545454;
    font-size: 17px;
    margin: 0;
}

.single-calendar, .single-product-content-child, .single-row-cancel {
    padding-bottom: 60px;
    border-bottom: solid 1px rgba(26, 37, 81, 0.10);
}

.single-equipements img {
    width: 38px;
    height: auto;
}

.single-equipements h4 {
    font-size: 18px;
    color: #222222;
    font-weight: 400;
    max-width: 110px;
    line-height: 1.3;
}

.single-infos li {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 17px;
    color: #48485A;
    list-style-type: none;
    position: relative;
}

li.nb-personne::after {
    content: url(../../img/svg/bed.svg);
    position: absolute;
    display: block;
    top: 0;
    left: -40px;
}

li.h-arrivee::after {
    content: url(../../img/svg/watch-earlier.svg);
    position: absolute;
    display: block;
    top: 0;
    left: -40px;
}

li.h-depart::after {
    content: url(../../img/svg/watch-later.svg);
    position: absolute;
    display: block;
    top: 0;
    left: -40px;
}

.single-product .related-posts-content img {
    height: 180px !important;
}

.single-product .related-posts-content article {
    max-width: 280px !important;
}

.woocommerce div.product form.cart .variations-wrapper {
    box-shadow: 0px -1px 11px 0 rgba(0, 0, 0, 0.11);
    border-radius: 5px;
    overflow: hidden;
    background: white;
    margin-bottom: 15px;
}

.woocommerce div.product form.cart .variations-wrapper div.variations-month-year {
    padding: 15px;
    background: #1A2551;
}

.woocommerce div.product form.cart .variations-wrapper div.variations-month-year select {
    background: #2c3764;
    height: 40px;
    border-radius: 3px;
    border: none;
    padding: 0 15px;
    font-size: 20px;
    margin-right: 10px;
    color: #FFFFFF;
    outline: 0;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

.woocommerce div.product form.cart .variations-wrapper div.variations-month-year select + select {
    margin-right: 0;
    margin-left: 10px;
}

.woocommerce div.product form.cart .variations-wrapper div.variations-month-year .variations-prev {
    background-size: 24px 24px;
    background: url(../../../assets/img/svg/chevron_left_white.svg) no-repeat center;
    width: 40px;
    height: 40px;
    display: flex;
    position: relative;
    padding: 10px;
    cursor: pointer;
}

.woocommerce div.product form.cart .variations-wrapper div.variations-month-year .variations-next {
    background-size: 24px 24px;
    background: url(../../../assets/img/svg/chevron_right_white.svg) no-repeat center;
    width: 40px;
    height: 40px;
    display: flex;
    position: relative;
    padding: 10px;
    cursor: pointer;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

p.variations-not-found {
    line-height: 1.4;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-title {
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    margin-bottom: 40px;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p {
    color: #222222;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.variations-table-content {
    margin-bottom: 40px;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p span {
    color: #1A2551;
    font-weight: 700;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p + p {
    margin-top: 10px;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p:first-child::before {
    content: url(../../img/svg/watch-earlier.svg);
    position: relative;
    display: flex;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p:last-child::before {
    content: url(../../img/svg/watch-later.svg);
    position: relative;
    display: flex;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* .woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content {
    padding: 20px 40px;
} */

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations {
    margin: 0;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations select#pa_reservation {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px;
    background: transparent;
    border-radius: 5px;
    border: 1px solid #1A2551;
    font-size: 17px;
    color: #222222;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label.variation-radios-label-checked,
.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label:hover {
    color: #FFFFFF;
    background: #1A2551;
    border: 1px solid #1A2551;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label + label {
    margin-top: 20px;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label::before {
    content: "";
    background: url(../../../assets/img/svg/date_blue.svg) no-repeat center;
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    position: relative;
    display: flex;
    margin-right: 25px;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label.variation-radios-label-checked::before,
.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label:hover::before {
    background: url(../../../assets/img/svg/date_white.svg) no-repeat center;
    background-size: 20px 20px;
}

.woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-content table.variations label input {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.woocommerce div.product form.cart .button {
    width: 100%;
    float: none;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.woocommerce div.product .variations-extra {
    color: #222222;
    font-size: 13px;
    letter-spacing: 0;
    text-align: center;
    margin: 10px 0 0;
}


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

    .single-infos {
        margin-top: 60px;
    }

    .single-product .related-posts-content img {
        height: 140px !important;
    }

    .product-short-description {
        column-count: 1;
    }

    .single-product-content-child {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

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

    .single-product .related-posts-content article {
        max-width: 100% !important;
    }

    .single-product .related-posts-content img {
        height: 180px !important;
    }

    .single-product .single-blog-title h1 {
        font-size: 42px;
        margin-bottom: 50px;
    }

}

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

    .archive-residence .site-main-content {
        padding-top: 180px !important;
        max-width: 520px !important;
    }

    .residence-content-product {
        padding-left: 30px !important;
    }
}

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

    .single-product-content h2 {
        font-size: 28px;
    }

    .single-product-content h3 {
        font-weight: 400;
        font-size: 22px;
    }

    .single-equipements h4 {
        font-size: 15px;
        max-width: 90px;
    }
    .single-equipements img {
        width: 32px;
        height: auto;
    }

    .single-product .single-blog-title h1 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .single-product-content {
        margin-top: -30px;
    }

    .single-product .single-blog-title {
        padding-left: 30px !important;
    }

    .single-residence-banner {
        height: 380px;
    }

    button.more-photos {
        right: 20px;
    }

    .single-product .single-blog-title h1 {
        font-size: 42px;
        margin-bottom: 19px;
    }

    .single-product .single-carrousel img {
        height: 380px;
    }
}

@media screen and (max-width: 420px) {
    #show-product-description {
        width: auto;
        padding: 13px 55px 13px 25px;
    }

    #show-product-description::after {
        position: absolute;
        right: 25px;
        top: 12px;
    }

    #show-product-description.after-rotate-180::after {
        display: block;
        position: absolute;
        right: 25px;
    }

    #nous-trouver .find-on-map {
        padding: 13px 20px;
    }

    #nous-trouver .find-on-map a::after {
        display: none;
    }

    .woocommerce div.product form.cart .variations-wrapper .variations-table {
        padding: 40px 15px;
    }

    .woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p:first-child::before, .woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p:last-child::before {
        display: none;
    }

    .woocommerce div.product form.cart .variations-wrapper .variations-table .variations-table-attr p {
        display: inline-block;
    }

    .single-product .single-blog-title h1 {
        font-size: 36px;
    }

    .single-product .single-blog-title h4 {
        font-size: 22px;
    }

    .single-product-content-child, .single-calendar {
        padding-bottom: 20px;
    }

    .single-calendar, .wc-bookings-booking-form {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .single-infos ul {
        margin-top: 20px !important;
    }

    .single-cancel {
        margin-top: -30px;
        padding-bottom: 30px;
    }

    .single-product-content p, .single-product-content li {
        font-size: 16px !important;
        color: #545454 !important;
        line-height: 26px !important;
    }
}

@media screen and (max-width: 370px) {
    #show-product-description::after {
        display: none;
    }

    #show-product-description {
        width: auto;
        padding: 13px 10px 13px 10px;
    }

    .find-on-map {
        width: auto;
        padding: 13px 50px 13px 20px;
    }

    .find-on-map a::after {
        right: 20px;
    }

    body.home div.site.fixed-header header .site-header-navigation .site-header-navigation-right a, div.site header .site-header-navigation .site-header-navigation-right a {
        color: #222222;
        font-size: 10px;
    }

    body.home .fixed-header .site-header-navigation-right a, .site-header-navigation-right a {
        border: solid 1px #222222;
        padding: 10px 15px;
    }
}

/******************************************
      WOOCOMMERCE SINGLE NOTIFICATION
******************************************/

.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-info {
    background: #1A2551;
}

.single-product .woocommerce-notices-wrapper .woocommerce-error {
    background: #aa0000;
}

.single-product .woocommerce-notices-wrapper .woocommerce-error,
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-info {
    top: 150px;
    right: 0;
    font-size: 15px;
    border: none;
    position: fixed;
    max-width: calc(100% - 30px);
    width: 400px;
    display: flex;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    transform: translateX(150%);
    -webkit-transform: translateX(150%);
    -moz-transform: translateX(150%);
    -ms-transform: translateX(150%);
    -o-transform: translateX(150%);
    font-weight: 400;
    color: #ffffff;
    -o-box-shadow: 0 4px 18px var(--woocommerceNoticeBorderColor);
    -ms--box-shadow: 0 4px 18px var(--woocommerceNoticeBorderColor);
    -moz-box-shadow: 0 4px 18px var(--woocommerceNoticeBorderColor);
    -webkit-box-shadow: 0 4px 18px var(--woocommerceNoticeBorderColor);
    padding: 20px 20px 20px 80px;
    min-height: 90px;
    animation: slide 5s;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message a, .single-product .woocommerce-notices-wrapper .woocommerce-error a,
.single-product .woocommerce-notices-wrapper .woocommerce-info a {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message::before,
.single-product .woocommerce-notices-wrapper .woocommerce-error::before,
.single-product .woocommerce-notices-wrapper .woocommerce-info::before {
    content: "\e028";
    font-family: WooCommerce, sans-serif;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    color: var(--woocommerceNoticeBackgroundColor);
    width: 45px;
    height: 45px;
    font-size: 22px;
    padding: 5px 10px;
    left: 20px;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
    content: "\e015";
    font-family: WooCommerce, sans-serif;
}

.single-product .woocommerce-notices-wrapper .woocommerce-error::before {
    content: "\e016";
    font-family: WooCommerce, sans-serif;
}

@-webkit-keyframes slide {
    0% {
        transform: translateX(150%);
        display: none;

    }
    20% {
        transform: translateX(0%);
        display: block;
    }
    80% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(150%);
        display: none !important;
    }
}


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

    .single-product .woocommerce-notices-wrapper .woocommerce-message,
    .single-product .woocommerce-notices-wrapper .woocommerce-error,
    .single-product .woocommerce-notices-wrapper .woocommerce-info {
        top: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        max-height: 72px;
        min-height: 72px;
        width: 100%;
        margin: 0;
        z-index: 99;
        transform: translateY(0%);
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        animation: mob-slide 6s ease-in-out;
        padding: 0 15px 0 60px;
    }

    .single-product .woocommerce-notices-wrapper .woocommerce-message::before,
    .single-product .woocommerce-notices-wrapper .woocommerce-error::before,
    .single-product .woocommerce-notices-wrapper .woocommerce-info::before {
        left: 10px;
    }

    @-webkit-keyframes mob-slide {
        0% {
            transform: translateY(-100%);
            display: none;

        }
        20% {
            transform: translateY(100%);
            display: block;
        }
        80% {
            transform: translateY(100%);
        }
        100% {
            transform: translateY(-100%);
            display: none !important;
        }
    }

}


.single-product .wcpa_form_outer {
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
    background: white;
    margin: 0 0 30px;
    box-shadow: 0px -1px 11px 0 rgba(0, 0, 0, 0.11);
    border-radius: 5px;
}

.single-product .wcpa_form_outer .wcpa_row,
.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item {
    margin: 0;
    padding: 0;
}

.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item > label:first-child,
.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item .wcpa_priceouter {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item label {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    vertical-align: middle;
    line-height: initial;
}

.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item input[type="checkbox"] {
    height: 18px;
    width: 18px;
}

.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item .wcpa_check {
    height: 18px;
    width: 18px;
    margin: 0 10px 0 0;
    border: 2px solid #2c3764;
    vertical-align: middle;
}

.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item input[type=checkbox]:checked + label .wcpa_check {
    border: 2px solid #2c3764;
    background: #2c3764;
}

.single-product .wcpa_form_outer .wcpa_row .wcpa_form_item input[type=checkbox]:checked + label .wcpa_check::before {
    left: 5px;
    top: 2px;
    width: 5px;
}

.single-product .woocommerce-variation-price {
    box-shadow: 0px -1px 11px 0 rgba(0, 0, 0, 0.11);
    border-radius: 5px;
    overflow: hidden;
    background: white;
    margin-bottom: 15px;
    padding: 20px 50px;
    text-align: center;
    font-size: 15px;
    color: #222222;
}

.single-product .woocommerce-variation-price span.price {
    font-size: 15px !important;
    color: #222222 !important;
    font-weight: 500;
}

.single-product .woocommerce-variation-price .price-suffix {
    margin-right: 5px;
}

.wcpa_option_price{
    padding-left: 5px;
}