/*
 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
*/


:root {
    --woocommerceNoticePrimaryColor: #1A2551;
    --woocommerceNoticeFontColor: #222222;
    --woocommerceNoticeBackgroundColor: #FFFFFF;
    --woocommerceNoticeBorderColor: rgba(26, 37, 81, 0.1);
}

/**************************
          MAIN
***************************/

body.home div.site main.site-main {
    padding-top: 0;
    overflow: hidden;
}

div.site main.site-main {
    min-height: 100vh;
    padding-top: 200px;
    padding-bottom: 100px;
}

div.site main.site-main .site-main-content,
div.site main.site-main .site-main-content .entry-content {
    width: 100%;
}

@media only screen and (max-width: 991px) {
    div.site main.site-main {
        padding-top: 130px;
    }
}


/**************************
     404 / CONTENT NONE
***************************/

.error-not-found h1,
.results-not-found h1 {
    color: #222222;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 42px;
    margin: 0 0 30px;
}

.error-not-found p,
.results-not-found p {
    color: #222222;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 28px;
    margin: 0 0 30px;
}

.error-not-found a,
.results-not-found a {
    width: auto;
    padding: 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: 5px;
    color: #FFFFFF !important;
    background: #1A2551;
    box-shadow: -2px 2px 11px 0 rgba(0, 0, 0, 0.21);
    border: 1px solid #1A2551;
    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;
}

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

    .error-not-found h1, .results-not-found h1 {
        font-size: 34px;
        line-height: 34px;
    }

    .error-not-found p, .results-not-found p {
        font-size: 15px;
    }
}

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

    .error-not-found h1, .results-not-found h1 {
        font-size: 24px;
        line-height: 24px;
        white-space: unset;
    }
}


/**************************
     NOTICES WRAPPER
***************************/

.notices-wrapper .notice-message, .notices-wrapper .notice-error, .notices-wrapper .notice-info {
    top: 150px;
    right: 0;
    font-size: 15px;
    background: var(--woocommerceNoticePrimaryColor);
    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: var(--woocommerceNoticeBackgroundColor);
    -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);
    box-shadow: 0 4px 18px var(--woocommerceNoticeBorderColor);
    padding: 20px 20px 20px 80px;
    min-height: 90px;
    animation: slide 5s;
}

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

.notices-wrapper .notice-message::before, .notices-wrapper .notice-error::before, .notices-wrapper .notice-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;
}

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

.notices-wrapper .notice-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) {

    .notices-wrapper .notice-message, .notices-wrapper .notice-error, .notices-wrapper .notice-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(-100%);
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        padding: 0 15px 0 60px;
        animation: mob-slide 6s ease-in-out;
    }

    .notices-wrapper .notice-message::before, .notices-wrapper .notice-error::before, .notices-wrapper .notice-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;
        }
    }
}


/**************************
          LEGAL
***************************/

div.site main.site-main.legal h1 {
    color: #222222;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 42px;
    margin: 0 0 80px;
    text-align: center;
}

div.site main.site-main.legal h3, div.site main.site-main.legal h2 {
    color: #3A6860;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
    margin: 40px 0 20px;
}

div.site main.site-main.legal h4,
div.site main.site-main.legal h5, div.site main.site-main.legal h6 {
    color: #222222;
    font-size: 17px;
    font-weight: 600;
    line-height: 26px;
    margin: 40px 0 20px;
}

div.site main.site-main.legal p, div.site main.site-main.legal ul,
div.site main.site-main.legal li {
    color: #222222;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 28px;
    margin: 0;
}

div.site main.site-main.legal a {
    color: #1A2551;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 28px;
    margin: 0;
}

div.site main.site-main.legal p + p {
    margin-top: 20px;
}


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

    div.site main.site-main.legal h1 {
        font-size: 34px;
        line-height: 34px;
    }

    div.site main.site-main.legal p {
        font-size: 15px;
    }

    div.site main.site-main.legal h4,
    div.site main.site-main.legal h5, div.site main.site-main.legal h6 {
        font-size: 15px;
    }
}

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

    div.site main.site-main.legal h1 {
        font-size: 24px;
        line-height: 24px;
    }
}


/**************************
       SINGLE BLOG
***************************/

.single div.site main.site-main {
    padding-top: 0;
    overflow: hidden;
}

.single-blog-banner {
    height: 450px;
    background-size: cover !important;
    background-position: center !important;
    background-image: linear-gradient(182deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.31) 98%);
}

.single-blog-title {
    padding-bottom: 50px;
}

.single-blog-title h1 {
    font-weight: 700;
    line-height: 1;
    font-size: 52px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.50);
}

.single-blog-title h4 {
    margin-bottom: 0px;
}

.single-author {
    padding-left: 30px;
}

.single-author::before {
    content: url(../../assets/img/svg/account_white.svg);
    display: block;
    position: absolute;
    left: 0;
}

.single-blog-title h4 a {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.50);
}

.single-main-content h2 {
    font-weight: 600;
    font-size: 36px;
    color: #222222;
    margin: 40px 0;
}

.single-main-content article {
    position: relative;
    padding-bottom: 50px;
    border-bottom: solid 1px rgba(26, 37, 81, 0.10);
}

.single-main-content article::after {
    content: '';
    display: block;
    position: absolute;
    background-color: rgba(26, 37, 81, 0.10);
    height: 100%;
    width: 1px;
    right: -17%;
    top: 0;
}

.single-main-content h3, .single-main-content h4 {
    font-weight: 600;
    font-size: 26px;
    color: #222222;
    margin: 40px 0;
}

.single-main-content p {
    font-size: 17px;
    color: #545454;
    line-height: 30px;
}

.back-to-archive {
    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 30px 10px 60px;
    border: none;
    position: absolute;
    right: 0;
    bottom: 20px;
}

.back-to-archive a::before {
    content: url(../../assets/img/svg/arrow-read-more.svg);
    display: block;
    position: absolute;
    top: 12px;
    transform: rotate(180deg);
    left: 25px;
}

.single-share-publish span {
    font-size: 16px;
    color: #979797;
}

.single-share-publish {
    padding: 10px 0;
}

.single-share-publish img {
    height: 20px;
    width: auto;
    margin-left: 20px;
}

.single-prev-post .nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.single-prev-post .nav-links a {
    font-size: 16px;
    color: #191919;
}

.single-prev-post .nav-previous, .single-prev-post .nav-next {
    position: relative;
}

.single-prev-post .nav-previous::before, .single-prev-post .nav-next::after {
    content: url(../../assets/img/svg/arrow-read-more.svg);
    display: block;
    position: absolute;
}

.single-prev-post .nav-previous::before {
    top: 2px;
    left: 0;
    transform: rotate(180deg);
}

.single-prev-post .nav-next::after {
    top: -2px;
    right: 0;
}

.single-prev-post .nav-next {
    padding-right: 30px;
}

.single-prev-post .nav-previous {
    padding-left: 30px;
}

/**************************
          BLOG
***************************/

.blog-row-title > div {
    padding: 20px 0;
    border-bottom: solid 1px rgba(26, 37, 81, 0.10);;
}

.blog-row-cat {
    padding: 20px 0 0px;
}

.blog-post-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    background-image: linear-gradient(179deg, rgba(0, 0, 0, 0.00) 56%, rgba(0, 0, 0, 0.50) 100%);
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.28);
}

.main-blog h1 span {
    font-size: 26px;
    color: #222222;
    font-weight: 400;
}

.main-blog h1 {
    font-size: 52px;
    color: #1A2551;
    line-height: 1;
}

.main-blog article {
    max-width: 280px;
    padding-bottom: 40px;
    border-bottom: solid 1px rgba(26, 37, 81, 0.10);
    margin-bottom: 40px;
}

.related-posts 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%;
}

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

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

span.blog-read-more::after {
    content: url(../../assets/img/svg/arrow-read-more.svg);
    display: block;
    position: absolute;
    right: -40px;
    top: -5px;
}


/**************************
          SINGLE
***************************/

.related-posts {
    max-width: 320px;
}

@media screen and (max-width: 992px) {
    .related-posts {
        max-width: 100%
    }

    .related-posts-content {
        display: flex;
    }

    .related-posts-content > div {
        padding: 0 7px;
        width: 33.3333%;
    }

    .single .blog-post-thumbnail {
        width: 100%;
        height: 100px;
    }

}

@media screen and (max-width: 768px) {
    /* ARCHIVE BLOG */
    .main-blog article {
        max-width: 340px;
    }

    .blog-post-thumbnail {
        width: calc(100% - 10px);
        height: 150px;
    }

    .blog-thumbnail-filter {
        width: calc(100% - 10px);
    }
}

@media screen and (max-width: 420px) {
    /* SINGLE BLOG */
    .single-share-publish {
        flex-direction: column;
    }

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

    .single-blog-title h1 {

        font-size: 42px;
    }

    .single-blog-title {
        padding-bottom: 80px;
    }

    .single-main-content article h2:first-of-type {
        margin-top: 0px;
    }

    .single-main-content h2 {
        font-size: 32px;
        line-height: 44px;
        margin: 20px 0px;
    }

    .single-main-content h3, .single-main-content h4 {
        font-size: 22px;
        margin: 20px 0;
    }

    .single-main-content .wp-block-image img {
        max-width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .related-posts-content {
        display: flex;
        flex-direction: column;
    }

    .related-posts-content > div {
        width: 100%;
    }

    /* ARCHIVE BLOG */
    .blog-row-cat div {
        flex-direction: column;
    }

    .blog-row-cat div a {
        margin-top: 10px;
        display: block;
    }

    .blog-content-excerpt {
        display: none;
    }

    .single .blog-post-thumbnail {
        height: 150px;
    }
}
