/* < sm */
@media (max-width: 576px) {
    #agent{
        background: none !important;
        padding-top:0 !important;
    }
    #address h5{
        font-size: 1.2rem;
    }

    .filter .form-control{
        font-size: 1rem;
    }
}

/*> sm*/
@media (min-width: 576px) {

    #skills_2 .presentation h4{
        font-size: 1.1rem ;
    }
}

/* < md */
@media (max-width: 767px) {
    .carousel-item .btn-lg{
        font-size:0.9rem !important;
        padding: .375rem .75rem;
    }
    #home_intro h1 {
        font-size: 1.7rem !important;
    }
    .title-daniel{
        font-size: 26px;
    }
    .bloc_txt_image .content h2 {
        font-size: 1.6rem;
    }
    #os_kpis img{
        max-width: 60px;
    }
    #os_kpis .number{
        font-size: 20px;
    }
    #os_kpis p {
        font-size: 12px;
    }
    #estates .map_full {
        position: relative;
        width: 100%;
        height: 300px;
        top: 0;
    }
    #agents .map_full {
        position: relative;
        width: 100%;
        height: 500px;
        top: 0;
    }
    #agents .map_full .map_container {
        height: calc(100% - 110px);
    }
    .infobox{
        width: 280px;
    }
    #plateform img{
        width: 80%;
    }
    #plateform .star-rating.big{
        font-size: 18px;
    }
    #plateform .btn-xs{
        font-size: 0.6rem;
    }
    .modal-dialog .form-check-inline{
        display: block;
    }
    .modal_property_title{
        font-size: 20px;
    }
    #agent_wrapper .agent_details h3{
        font-size: 16px;
    }
    #agent_wrapper .agent_mobile_class a{
        font-size: 14px;
    }
}

/* > md */
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 630px;
        margin: 1.75rem auto;
    }

    .col-sm-5ths {
        width: 20%;
        margin-bottom: 0;
    }

    #skills_2 .presentation h4{
        font-size: 1.2rem ;
    }
}

/* < lg */
@media (max-width: 991px) {
    #header .navbar-brand img {
      max-width: 150px;
    }
    .fixed-top{
        position: relative;
    }
    .navbar-brand{
        width: calc(100% - 7em);
        margin-left: -15px;
    }
    #estimation .carousel-item .carousel_content {
        min-height: 630px;
    }
    .map_full {
        top: 111px;
    }
    .navbar-dark .navbar-nav .nav-link,  .navbar-dark .navbar-nav .btn-horn{
        padding: 0.25rem 0;
    }
    .fancybox-slide--html .fancybox-close-small {
        color: #0084bc;
        padding: 0;
    }
    .fancybox-slide--html .fancybox-close-small svg {
      position: absolute;
      height: 50%;
      width: 50%;
      right: 0px;
      top: 0px;
      z-index: 1;
    }
    .fancybox-slide--html .fancybox-close-small svg path {
      fill: none;              /* on désactive le remplissage */
      stroke: #0084bc;           /* couleur de la croix */
      stroke-width: 2;         /* épaisseur */
      stroke-linecap: round;   /* bouts arrondis */
      stroke-linejoin: round;  /* angles arrondis */
    }
    .fancybox-slide--html .fancybox-close-small:after {
      content: "";
      width: 0;
      height: 0;
      border-top: 40px solid #fff;           /* couleur du triangle */
      border-left: 40px solid transparent;  /* forme */
      position: absolute;
      top: 0;
      right: 0;
    }    

    .bloc_txt_image p{
        font-size: 0.9rem;
    }
    #contact_modal .close{
        color: #fff;
    }


}

/*>= lg */
@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 800px;
    }
    #content{
        padding-top: 111px;
    }
    .navbar {
        min-height: 90px;
    }    
    .navbar-dark .navbar-nav .nav-link{
        font-size: 13px;
        border-bottom: 3px solid transparent;
        padding: 0;
    }
    .navbar-dark .navbar-nav .btn{
        font-size: 13px;
    }
    .navbar-expand-lg .navbar-nav .nav-item .dropdown-menu{
        top: inherit;
    }
    .navbar-expand-lg .navbar-nav .nav-item:hover .dropdown-menu{ display: block; }

    .navbar-dark .navbar-nav .nav-item {
       padding: 0.625rem;
    }   

    .navbar-expand-lg .navbar-nav  > li > a.nav-link{
        padding-bottom: 0.25rem;
    }
    .navbar-expand-lg .navbar-nav  > li:hover > a.nav-link ,
    .navbar-expand-lg .navbar-nav  > li > a.nav-link.active{
        display: block;
        border-bottom: 3px solid #ffffff;
    }

    .navbar-nav .btn-horn{
        background: url(../img/horn.png) no-repeat;
        display: inline-block;
        padding-left: 39px;
        height: 58px;
    }
    .navbar-nav .btn-horn span{
        display: inline-block;
        font-size: 1.125rem;
        font-weight: 900;
        padding: 8px 12px 8px 0;
        color:#fff;
        border-top: 2px solid rgba(255,255,255,1);
        border-right: 2px solid rgba(255,255,255,1);
        border-bottom: 2px solid rgba(255,255,255,1);
        font-size: 18px;
        font-weight: 900;
        border-radius: 0 16px 16px 0;
    }

    .navbar-nav .btn-horn span{
        font-size: 0.875rem;
        font-weight: 400;
        color: rgba(255,255,255,.75);
    }
    .navbar-nav .btn-horn:hover span, 
    .navbar-nav .btn-horn.active span{
        color: #ffff;
    }
    .s_menu::after
    {
      display: inline-block;
      margin-left: .255em;
      vertical-align: .255em;
      content: "";
      border-top: .3em solid;
      border-right: .3em solid transparent;
      border-bottom: 0;
      border-left: .3em solid transparent;
    }
    #user_nav [class^="icon-"]{
        font-size: 20px;
    }

    .map_full {
        top: 111px;
    }
    .col-md-5ths {
        width: 20%;
        margin-bottom: 0;
    }
    .carousel-item .carousel_content{
        aspect-ratio: 1920/860;
    }
	.overlay_video .carousel-item .carousel_content{
	    aspect-ratio: 1920/860;
	}

    /*iframe*/
    #estimation .carousel-item .carousel_content{
        min-height: 630px;
    }
    .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{
        width: calc(100% - 15px) !important;
    }
    
    #home_intro .btn {
        width: 150px;
    }

    #loader {
        top: 90px;
    }

    #estates{
        padding-top: 126px;
    }
    #estates .map_full{
        top:237px;
    }
    .property_listing .property_listing_bottom .property_location_image{
        font-size: 15px;
    }
    #property_modal_top_bar {
        padding-right: 35px;
    }

    #property_modal_images {
        width: 55%;
        overflow-y: scroll;
        height: calc(100vh - 12px);
        float: left;
    }
    #property_modal_header {
        width: 45%;
        float: left;
    }
    #property_modal_content {
        width: 45%;
        height: calc(100vh - 436px);
        overflow-y: scroll;
        overflow-x: hidden;
        float: left;
    }    
    #agent_estates_map{
        height: 500px;
    }
    .toast {
        max-width: 415px;
    }
    #skills_2 .presentation h4{
        font-size: 1.3rem ;
    }

}


/* < xl */
@media (max-width: 1199px) {
    #header .navbar-brand img {
      max-width: 150px;
    }

    #home_intro h1{
        font-size: 2.1rem;
    }
    #home_intro .lead{
        font-size: 1.05rem;
    }
    .estate_banner{
        min-height: 504px;
    }
}
/* >= xl */
@media (min-width: 1200px) { 
    .col-lg-5ths {
        width: 20%;
        margin-bottom: 0;
    }
    .modal-xl {
        max-width: 1000px;
    }
    .navbar-expand-lg .navbar-nav .nav-item {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    #home_intro h1{
        font-size: 2.1rem;
    }
    #home_intro .col-xl-5{
      -ms-flex: 0 0 45%;
      flex: 0 0 45%;
      max-width: 45%;
    }
    #home_intro .col-xl-7{
      -ms-flex: 0 0 55%;
      flex: 0 0 55%;
      max-width: 55%;
    }
    #estates{
        padding-top: 63px;
    }
    #estates .map_full{
        top:174px;
    }
    #agents .map_full {
        width: 58.333333%;
    }
    .btn-sm{
        font-size: .8rem;
    }

}

@media (min-width: 1250px) { 
    #user_nav [class^="icon-"]{
        font-size: 30px;
    }
    .navbar-dark .navbar-nav .nav-item {
       padding: 0.625rem 1rem;
    }   
    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.875rem;
    }
    #property_modal_images a{
            height: calc(208.833px - 2px);
    }

    #property_modal_images a:first-of-type{
            height: 418.933px;
    }
    .btn-sm{
        font-size: .875rem;
    }

}
/* >= xxl */
@media (min-width: 1400px) {
    #header .navbar{
        padding: 0rem 4rem;
    }

    .banner_container h4{
        font-size: 1.75rem;
    }
    .p-xxl-5{
        padding: 3rem !important;
    }
    .px-xxl-5{
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
    .pb-xxl-5{
        padding-bottom: 3rem !important;
    }

    .col-xxl-4{
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-xxl-8{
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    #agents .map_full {
        width: 66.666667%;
    }
}

@media (min-width: 1570px) {
    #home_intro .col-xl-5{
      -ms-flex: 0 0 41.666667%;
      flex: 0 0 41.666667%;
      max-width: 41.666667%;
    }
    #home_intro .col-xl-7{
      -ms-flex: 0 0 58.333333%;
      flex: 0 0 58.333333%;
      max-width: 58.333333%;
    }

  #home_intro h1{
    font-size: 2.5rem;
  }
  #home_intro .px-xl-4{
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}