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


/*************************************
      BLOCK IMAGE WITH TEXT
**************************************/

.image-with-text {
    background: #F5F5F5;
    padding: 12vh 0;
}

.image-with-text .offset-lg-2 {
    position: unset;
}

.image-with-text h3 {
    color: #3A6860;
    font-size: 15px;
    letter-spacing: 4px;
    line-height: 18px;
    margin: 0 0 20px;
    text-transform: uppercase;
    font-weight: normal;
}

.image-with-text h2 {
    color: #222222;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 42px;
    margin: 0 0 45px;
    white-space: nowrap;
}

.image-with-text ul li,
.image-with-text p {
    color: #222222;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 28px;
    margin: 0;
}

.image-with-text ul {
    list-style: circle;
    margin: 0;
    padding: 0 0 0 30px;
}

.image-with-text ul + p,
.image-with-text p + p {
    margin-top: 20px;
}

.image-with-text img {
    top: 0;
    left: initial;
    height: 470px;
    object-position: center;
    width: 100vw;
    position: relative;
    margin-right: -50vw;
    object-fit: cover;
}


@media only screen and (max-width: 991px) {
    .image-with-text h2 {
        white-space: normal;
    }
}

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

    .image-with-text {
        padding-bottom: 0;
    }

    .image-with-text h2 {
        font-size: 34px;
        line-height: 34px;
        white-space: unset;
    }

    .image-with-text .col-lg-4 {
        margin-bottom: 60px;
    }

    .image-with-text img {
        width: 100%;
        height: 360px;
        left: 0;
        margin: 0 0 0 0;
    }

    .image-with-text p {
        font-size: 15px;
    }
}

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

    .image-with-text h2 {
        font-size: 24px;
        line-height: 24px;
        white-space: unset;
    }
}
