/* =====================
    MEDIA QUERY 
========================*/

@media(max-width:1245px) {
    header .navbar a {
        font-size: 14px;
        padding: 0.5rem 0.3rem;
    }
    section.small {
        padding: 2rem 8%;
    }
}

@media(max-width:1195px) {
    /* html {
        background-color: red;
    } */
    header .navbar a {
        font-size: 14px;
        padding: 0.5rem 0rem;
        margin: 0px 0.8rem;
    }
    header {
        padding: 1rem 2% 1.5rem 2%;
    }
    /* .btn-small {
        font-size: 12px;
        padding: 0.5em 1em;
    } */
    .wrapper {
        margin: 0px 0px;
    }
    .banner-wrapper .banner-title {
        font-size: 30px;
        max-width: 80%;
    }
}

@media(max-width:1031px) {
    /* html {
        background-color: green;
    } */
    header .navbar a {
        font-size: 14px;
        padding: 0.5rem 0rem;
        margin: 0px 0.4rem;
    }
    .btn-small {
        font-size: 12px;
        padding: 0.5em 1em;
    }
}

@media(max-width:991px) {
    html {
        /* font-size: 55%; */
    }
    header {
        padding: 1rem 1rem;
    }
    .wrapper {
        margin: 0 auto 40px auto !important;
    }
    section {
        padding: 1rem 4%;
    }
    footer {
        padding: 3rem 4%;
    }
    section.small {
        padding: 2rem 8%;
    }
    .btn-middle {
        font-size: 14px;
        padding: 0.5em 1em;
        margin-top: 0px !important;
    }
    .btn-big {
        font-size: 14px;
    }
    span.title {
        font-size: 19px;
    }
    p {
        font-size: 15px;
        line-height: 23px;
    }
    .p-block-15 {
        padding: 15px 15px;
    }
    /* navbar header */
    header .navbar a {
        font-size: 12px;
        margin: 0px 1rem;
    }
    header .logo img {
        max-height: 50px;
    }
    /* home slider  */
    .home-slider h1 {
        font-size: 48px;
    }
    .home-slider h2 {
        font-size: 18px;
        line-height: 24px;
        max-width: 75%;
    }
    /* search home */
    #search-home-form label {
        font-size: 13px;
    }
    input[type='text'],
    input[type='email'],
    select {
        font-size: 11px;
        width: 100%;
    }
    /* swiper slider */
    .swiper-slide {
        font-size: 14px;
    }
    /* testimonial */
    #testimonial-section .wrapper .bg-orange {
        padding-top: 40px;
    }
    #testimonial-section img.user {
        width: 60px;
    }
    #testimonial-section p.text-gray {
        padding: 40px 20px 70px 20px;
    }
    /* heading */
    .heading {
        font-size: 34px;
    }
    .heading:after {
        right: -51px;
    }
    /* ANNUAIRE */
    #annuaire-section .box {
        position: relative;
        width: 90%;
        margin: 0px auto 40px auto;
        border-radius: 25px;
        padding: 17px;
    }
    .btn-small {
        font-size: 12px;
        padding: 0.5em 1em;
    }
    #service-section span.title {
        font-size: 16px;
    }
    #service-section p {
        font-size: 15px;
    }
    #service-section .top-title {
        font-size: 16px;
        padding: 5px 15px;
    }
    footer .block ul li,
    footer .block .details {
        font-size: 15px;
    }
    .search-items .search-item .informations .detail {
        font-size: 15px;
    }
}

@media(max-width:936px) {
    header .navbar a {
        font-size: 13px;
        margin: 0px .6rem;
    }
    /* boost dropdown */
    .boost-dropdown {
        top: 30px;
        left: 8px;
        min-width: 218px;
    }
    .boost-dropdown ul a {
        font-size: 13px;
        padding: 0.1rem 0.5rem;
    }
    .dropdown-content {
        padding: 7px 9px;
    }
}

@media(max-width:983px) {
    html {
        font-size: 80%;
        /* background-color: pink; */
    }
    header .icons #menu-bars {
        display: inline-block;
    }
    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        border-top: 1px solid rgba(0, 0, 0, .2);
        padding: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        box-shadow: inset 0px 3px 16px rgb(0 0 0 / 28%);
    }
    header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    header .navbar a {
        display: block;
        padding: .7rem;
        margin: 1rem auto;
        font-size: 1.2rem;
        max-width: 60%;
        text-align: center;
        text-shadow: none;
        color: #848484;
        font-weight: 400;
        border-radius: 9px;
        box-shadow: 0px 3px 16px rgb(0 0 0 / 15%);
    }
    header .navbar a.active {
        border: none;
        border-bottom: 4px solid var(--orange);
        font-weight: 400;
    }
    .btn-small {
        font-size: 14px;
    }
    footer span.title {
        font-size: 23px;
    }
    .search-item-footer .btn-middle {
        margin: 10px auto;
    }
    .search-items .search-item .informations {
        display: block !important;
    }
    .dropdown {
        display: block;
        text-align: center;
        background: white;
        max-width: 60%;
        box-shadow: 0px 3px 16px rgb(0 0 0 / 15%);
        margin: 0 auto;
        border-radius: 5px;
    }
    .dropdown-content {
        min-width: auto !important;
        display: inline-block;
        opacity: 1;
        position: relative;
        top: 0px;
        width: 60%;
        left: 0px;
    }
    .boost-dropdown ul a {
        color: #848484;
        font-weight: 500;
        padding: 0.5rem 0.5rem;
        max-width: 100%;
        box-shadow: none;
        margin: 0px;
    }
    .boost-dropdown ul a {
        /* display: none; */
        list-style: disc;
        display: inline-block;
        color: #848484 !important;
    }
    .dropdown:hover .dropdown-content {
        display: inline-block;
        opacity: 1;
    }
    #service-dropdown .first, #service-dropdown .last {
        float: none !important;
    }
    #service-dropdown .last > ul{
        background: rgb(231 231 231 / 50%);
        border-radius: 3px;
    }
    .dropdown > a {
        background-color: #ec3a1b38;
        max-width: 100% !important;
        box-shadow: none !important;
        margin-bottom: 0px !important;
        color: #5a5a5a !important;
        border-bottom: 4px solid var(--orange);
        border-radius: 0px !important;
    }
    .dropdown-content{
        width: 100%;
    }
}

@media(max-width:768px) {
    /* html {
        background-color: cornflowerblue;
    } */
    footer {
        text-align: center;
    }
    footer .block {
        margin: 35px auto 0px auto;
    }
    footer span.title {
        font-size: 24px;
    }
    footer ul li a {
        font-size: 17px;
    }
    footer .block ul li,
    footer .block .details {
        font-size: 16px;
    }
    h2.search:after {
        content: none;
    }
    input[type='text'],
    input[type='email'],
    select {
        margin: 10px auto;
    }
    h2 {
        margin-top: 0px !important;
    }
    .banner-wrapper .banner-title {
        font-size: 30px;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    /* html {
        background-color: yellowgreen;
    } */
    #annuaireresa--section .img-contain-resa {
        max-width: 80%;
        margin: 15px auto;
        display: block;
    }
    #annuaireresa--section {
        text-align: center;
    }
    #annuaireresa--section .btn-middle{
        text-align: center;
    }
    .sub-heading {
        line-height: 25px;
    }
}
@media (max-width: 435px) {
    .btn-small {
        font-size: 11px;
        padding: 0.5em 0.5em;
    
    }
    .last{
        right:76% !important;
    }
    .mid{
		right:54% !important;
	}
    header .icons i {
        margin-left: .2rem;
        height: 2.5rem;
        line-height: 2.3rem;
        width: 2.5rem;
        font-size: 1.3rem;
    }
    header .icons a {
        margin-left: 0.2rem;
    }
    header .logo img {
        max-height: 37px;
        top: 3px;
    }
}