/*
 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 HEADER WITH IMAGE
**************************************/

.header-with-image {
    height: 100vh;
    width: 100vw;
    display: flex;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    -webkit-transition: all 300ms ease-out !important;
    -moz-transition: all 300ms ease-out !important;
    -ms-transition: all 300ms ease-out !important;
    -o-transition: all 300ms ease-out !important;
    transition: all 300ms ease-out !important;
}

.header-with-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.header-with-image .header-with-img-filter {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: antiquewhite;
}

.header-with-image .header-with-image-shadow {
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
}

.header-with-image .header-with-image-content {
    z-index: 10;
    position: absolute;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-with-image .header-with-image-content h1 {
    margin: 0 0 30px;
    color: #FFFFFF;
    font-size: 52px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 61px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.header-with-image .header-with-image-content h2 {
    color: #FFFFFF;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 30px;
    margin: 0 0 50px;
    font-weight: normal;
}

.header-with-image .header-with-image-content span {
    color: #FFFFFF;
    font-size: 13px;
    letter-spacing: 0.09px;
    line-height: 15px;
    text-align: center;
    margin: 0 0 10px;
    display: flex;
}

.header-with-image .header-with-image-content .header-with-image-search input {
    background-color: #ffffff;
    height: 50px;
    outline: 0;
    overflow: hidden;
    padding: 10px 30px;
    width: 35%;
    text-align: left;
    cursor: pointer;
    color: #222222;
    font-size: 13px;
    letter-spacing: 0.09px;
    line-height: 15px;
    border: 1px solid white;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.16);
    -webkit-appearance: none;
    border-radius: 0px;
}

.header-with-image .header-with-image-content .header-with-image-search input + input {
    border-left: 1px solid rgba(151, 151, 151, 0.23);
}

div#ui-datepicker-div {
    border: none;
    max-width: 430px;
    border-radius: 0;
    display: none;
    padding-bottom: 10px;
    background-color: #f4f4f4;
}

.ui-datepicker-title {
    text-align: center;
}

.ui-datepicker table {
    background-color: #f4f4f4;
}

.ui-datepicker thead {
    border-bottom: 1px solid #e6e6e6;;
}

.ui-datepicker .ui-datepicker-header {
    padding: 17px 0;
    border-radius: 0;
    border: none;
    background: #1A2551;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    background: none;
    background-color: #F2F2F2 !important;
    color: #48485A !important;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    border: none;
    line-height: 2;
}

.ui-datepicker thead th {
    color: #bbb !important;
    padding-top: 10px;
    padding-bottom: 8px;
    margin-bottom: 5px;
    text-align: center;
}

.ui-datepicker td {
    padding: 0px;
    width: 40px;
    text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 0px 5px;
    padding: 5px;
    border: none;
    background: #2c3764;
    border-radius: 3px;
    font-size: 15px;
    color: #FFFFFF;
    outline: 0;
    width: 40%;
    -webkit-appearance: none;
}
.header-with-image .header-with-image-content .header-with-image-search button {
    width: 170px;
    padding: 0 30px;
    height: 50px;
    font-size: 15px;
    letter-spacing: 0.02px;
    line-height: 23px;
    position: relative;
    display: flex;
    align-items: center;
    outline: 0;
    text-align: center;
    font-weight: normal;
    overflow: hidden;
    color: white;
    border: 1px solid #1A2551;
    background-color: #1A2551;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.16);
    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;
}

.header-with-image .header-with-image-content .header-with-image-search button::after {
    content: url(../../../assets/img/svg/arrow-read-more-white.svg);
    display: block;
    position: relative;
    margin-left: 10px;
    top: -2px;
}

.header-with-image .header-with-image-extra {
    position: absolute;
    right: 120px;
    bottom: 20px;
    color: white;
    z-index: 10;
}

.header-with-image .header-with-image-extra p {
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 16px;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.50);
    margin: 0;
}

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

    .header-with-image .header-with-image-content h2 {
        max-width: unset;
    }

    .header-with-image .header-with-image-extra {
        right: initial;
        left: 50%;
        width: auto;
        transform: translateX(-50%);
        min-width: 80%;
    }

    .header-with-image .header-with-image-extra p {
        text-align: center;
        width: 100%;
    }
}

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

    .header-with-image .header-with-image-content .header-with-image-search {
        flex-wrap: wrap;
    }

    .header-with-image .header-with-image-content .header-with-image-search input {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .header-with-image .header-with-image-content .header-with-image-search button {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
}


@media only screen and (max-width: 575px) {
    .header-with-image{
        background-position: center!important;
    }
    .header-with-image .header-with-image-content h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .header-with-image .header-with-image-content h2 {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .header-with-image .header-with-image-extra p {
        font-size: 12px;
    }

    .ui-datepicker td {
        padding: 0px;
        width: 38px;
    }
}

@media only screen and (max-width: 420px) {
    .header-with-image .header-with-image-content h1 {
        font-size: 36px;
    }

    .header-with-image .header-with-image-content h2 {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 24px;
    }
}
