/* RETINA */
@media screen and (min-width: 1440px) {
}

@media screen and (max-width: 1600px){
    #top-menu li {
        padding-right: 30px;
    }
}

@media screen and (max-width: 1520px){
    #top-menu li {
        padding-right: 20px;
    }
}

@media screen and (max-width: 1454px){
    #top-menu li a {
        font-size: 12px !important;
    }
}

/* MAC BOOK */
@media screen and (max-width: 1440px) {
    #top-menu li {
        padding-right: 30px;
    }
}

/* DESKTOP 0 */
@media screen and (min-width: 1367px) {
    .prop-list-2-cols .lazy-holder {
        height: 230px;
    }
    .prop-list-2-cols #liste_property .fiche_property_wrap, .prop-list-2-cols #liste_property .fiche_property_wrap_pf {
        min-height: 360px;
    }
}

/* DESKTOP 1 */
@media screen and (max-width: 1366px) {
    #top-menu li {
        padding-right: 20px;
    }
}

/* DESKTOP 2 */
@media screen and (max-width: 1295px) {
    #logo, .page-template-template-courtiers #logo, .single-edit-courtier #logo {
        max-height: 40% !important;
    }
    #top-menu li {
        padding-right: 15px;
    }
    #top-menu li a {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 1180px) {
#logo, .page-template-template-courtiers #logo, .single-edit-courtier #logo {
        max-height: 30% !important;
}
#top-menu li {
  padding-right: 8px;
}
#top-menu li a {
  font-size: 12px !important;
}
}

/* IPAD LANDSCAPE */
@media screen and (max-width: 1080px) and (min-width: 981px) {
    #liste_property .fiche_property_wrap:nth-child(2n) {
        margin-right: 0;
    }
    .fiche_courtier_wrap:nth-child(4n) {
        margin-right: 0;
    }
    /*#liste_property .fiche_property_wrap:nth-child(3) {
        display: none;
    }*/
}
@media screen and (max-width: 1080px) {
    /* General */
    h1, h1.et_pb_contact_main_title, .et_pb_title_container h1 {
        font-size: 32px !important;
    }
    body .et_pb_button {
        font-size: 16px !important;
    }
    /* Header */
    #top-menu li a {
        font-size: 12px !important;
    }
    /* Home banner */
    #pf-home-page-header.et_pb_fullscreen .et_pb_fullwidth_header_container {
        width: 90%;
    }
    #pf-info-hp-prop {
        left: 0;
    }
    /* Quick Search */
    #seach_field, #hp-adv-search-link {
        max-width: 524px;
    }
    #seach_field input[type="text"] {
        width: 460px;
        height: 50px;
        font-size: 16px;
    }
    #seach_field input[type="button"] {
        height: 50px;
        background-position: -154px 12px;
        background-size: 400%;
    }
    /* Properties */
    .page-template-template-property-single .et_pb_row_rapport_immobilier {
        width: 90%;
    }
    #liste_property .fiche_property_wrap {
        min-height: 280px;
        width: 49%;
        margin-right: 2%;
    }
    .lazy-holder {
        height: 26.2vw;
    }
    .infopropriete {
        width: 68%;
    }
    .columnCourtier {
        width: 27%;
    }
    .info-prop-left {
        font-size: 20px;
    }
    .info-prop-right {
        font-size: 14px;
    }
    .info-prop-left .wrap-icon {
        margin-bottom: 6px !important;
    }
    .page-template-template-property-single .et_pb_module.et_pb_fullwidth_header.et_pb_fullwidth_header_0.pf-page-header {
        height: 248px;
    }
    .slick-dots {
        display: none !important;
    }
    /* Courtiers */
    #filtres-classes {
        display: none;
    }
    #filtres-classes a {
        font-size: 14px;
    }
    /* Pages */
    .et_pb_module.et_pb_fullwidth_header.et_pb_fullwidth_header_0.pf-page-header {
        height: 348px !important;
    }
    .et_pb_fullwidth_header_subhead {
        font-size: 20px !important;
    }
    #multiple-page-menu {
        font-size: 14px;
    }
    .et_pb_row_visite_libre {
        font-size: 14px;
        line-height: 1.5;
    }
    .et_pb_fullwidth_header .et_pb_fullwidth_header_scroll:not(.home .et_pb_fullwidth_header .et_pb_fullwidth_header_scroll) {
        display: none;
    }
    /* Footer */
    .et_pb_row.et_pb_row_1_tb_footer.et_pb_row--with-menu {
        width: 90%;
    }
    #pf-footer-menu ul li {
        padding: 0 20px;
    }
    }


/* DIVI BreakPoint */
@media screen and (min-width: 981px) {
    .et_fullwidth_nav #main-header .container {
        padding-right: 5%;
        padding-left: 5%;
    }
    .home .et-fixed-header#main-header,
    .page .et-fixed-header#main-header,
    .archive .et-fixed-header#main-header,
    .single .et-fixed-header#main-header,
    .search .et-fixed-header#main-header,
    .error404 .et-fixed-header#main-header {
        -webkit-box-shadow: 0px 5px 15px -5px rgba(0,0,0,0.5) !important;
        box-shadow: 0px 5px 15px -5px rgba(0,0,0,0.5) !important;
    }
}
@media screen and (max-width: 980px) {
    /* General */
    .container {
        width: 90%;
    }
    .et_pb_section{
        padding: 0 !important;
    }
    /* Header */
    #logo, .page-template-template-courtiers #logo, .single-edit-courtier #logo {
        max-height: 70% !important;
    }
    .mobile_menu_bar::before {
        color: #fff !important;
    }
    .page-template-template-courtiers .mobile_menu_bar::before, .single-edit-courtier .mobile_menu_bar::before {
        color: #000 !important;
    }
    .page-template-template-property-single .mobile_menu_bar::before {
        color: #000 !important;
    }
    #main-header .et_mobile_menu {
        background-color: rgba(255,255,255,1) !important;
    }
    .et_mobile_menu li a {
        color: #000 !important;
    }
    /* Home */
    #pf-lifestyle-row-2 {
        min-height: 0;
    }
    /* Properties */
    .page-template-template-property-single .et_pb_module.et_pb_fullwidth_header.et_pb_fullwidth_header_0.pf-page-header {
        height: 258px !important;
    }
    .search-form {
        width: 80%;
    }
    #liste_property .fiche_property_wrap, #liste_property .fiche_property_wrap_pf {
        min-height: 0;
        width: 100%;
        margin-right: 0;
    }
    .prop-list-2-cols #liste_property .fiche_property_wrap, .prop-list-2-cols #liste_property .fiche_property_wrap_pf {
        margin-right: 2%;
    }
    .prop-list-2-cols #liste_property .fiche_property_wrap:nth-child(3n), .prop-list-2-cols #liste_property .fiche_property_wrap_pf:nth-child(3n) {
        margin-right: 2%;
    }
    .prop-list-2-cols #liste_property .fiche_property_wrap:nth-child(2n), .prop-list-2-cols #liste_property .fiche_property_wrap_pf:nth-child(2n) {
        margin-right: 0;
    }
    .lazy-holder {
        height: 53.8vw;
    }
    .prop-list-2-cols .lazy-holder {
        height: 25.8vw;
    }
    .slick-next {
        right: 36px !important;
    }
    .slick-prev {
        left: -5px !important;
    }
	#video_button {
	    position: relative !important;
	    margin: 10px 0 20px !important;
	    display: inline-block;
	}
    /* Courtiers */
    .single-edit-courtier .lazy-holder {
        height: 17.2vw;
    }
    .single-edit-courtier #liste_property .fiche_property_wrap {
        margin-right: 2%;
    }
    .single-edit-courtier #liste_property .fiche_property_wrap:nth-child(3n) {
        margin-right: 0;
    }
    .single-edit-courtier .post-inner-content {
        flex-direction: column;
    }
    .single-edit-courtier .content-summary {
        width: 100%;
        margin-right: 0;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
    }
    .image-container {
        flex: 1 0 50%;
        text-align: left;
    }
    .courtier-coord {
        flex: 1 0 50%;
        text-align: left;
    }
    .courtier-langues {
        padding: 0 0 40px 45px !important;
    }
    .new-style-btn.mb90 {
        margin-bottom: 30px;
    }
    .single-edit-courtier h1, .single-edit-courtier h1.et_pb_contact_main_title, .single-edit-courtier .et_pb_title_container h1 {
        font-size: 54px !important;
    }
    .single-edit-courtier h1 {
        margin-top: 60px;
    }
    .single-edit-courtier .content-details {
        width: 100%;
    }
    .single-edit-courtier .title {
        margin-bottom: 0;
    }
    .single-edit-courtier h5.designation {
        font-size: 15px;
    }
    #courtier-single-page #liste_property {
        flex-direction: column;
    }
    .single-edit-courtier .lazy-holder {
        height: 54vw;
    }
    .submitBotton.et_pb_button {
        max-width: 100%;
        white-space: unset;
    }
    .fiche_courtier_wrap {
        margin-left: calc(50% - 245px);
        margin-right: 0;
    }
    .single-edit-courtier .et_pb_divider::before {
        content: none;
    }
    .single-edit-courtier  h1, .single-edit-courtier  h1.et_pb_contact_main_title, .single-edit-courtier  .et_pb_title_container h1 {
        font-size: 44px !important;
    }
    /* Footer */
    .et_pb_row.et_pb_row_1_tb_footer.et_pb_row--with-menu {
        padding: 6px 0;
    }
    #pf-footer-menu {
        display: none;
    }
	#wqc-certification {
		position: relative;
		margin-left: auto;
		margin-top: 0;
	}
	#wqc-logo-fr, #wqc-logo-en {
		text-align: center;
	}
    #wqc-logo-fr img, #wqc-logo-en img {
        max-width: 75%;
    }
    /* Pages */
    h1, h1.et_pb_contact_main_title, .et_pb_title_container h1 {
        font-size: 28px !important;
    }
    .page-template-template-courtiers h1, .page-template-template-courtiers h1.et_pb_contact_main_title, .page-template-template-courtiers .et_pb_title_container h1 {
        font-size: 36px !important;
    }
    .et_pb_fullwidth_header_subhead {
        font-size: 18px !important;
    }
    .et_pb_row_visite_libre .et_pb_column.et_pb_column_1_3 {
        width: 49%;
        margin-right: 2%;
    }
    .et_pb_row_visite_libre .et_pb_column.et_pb_column_1_3:nth-child(2n) {
        margin-right: 0;
    }
    .et_pb_row_visite_libre .et_pb_column.et_pb_column_1_3:nth-child(3n) {
        margin-right: 2%;
    }
    .visite_libre_item {
        min-height: 380px;
    }
    .et_header_style_left .et-search-form{
        width: 100% !important;
    }
    .et_header_style_left .et-search-form{
        max-width: 100% !important;
    }
    .et-search-form input{
        width: 100% !important;
    }
}


/* Generic Tablets */
@media only screen and (max-width: 767px){
    .et_header_style_left .et-search-form{
        width: 90% !important;
        max-width: 90% !important;
    }
}
@media only screen and (max-width: 700px){
}

/* IPHONE 6+ LANDSCAPE */
@media only screen and (max-width: 736px){
}

/* IPHONE 6 LANDSCAPE */
@media only screen and (max-width: 667px){
    .prop-list-2-cols #liste_property .fiche_property_wrap, .prop-list-2-cols #liste_property .fiche_property_wrap_pf {
        width: 100%;
        min-height: 75vw;
        margin: 0 !important;
    }
    .prop-list-2-cols .lazy-holder {
        height: 54vw;
    }
}

/* HTC, GALAXY LANDSCAPE */
@media only screen and (max-width: 640px) {
}

/*IPHONE 5 LANDSCAPE */
@media only screen and (max-width: 568px) {
}
@media only screen and (max-width: 520px) {
}

/* IPHONE 4 LANDSCAPE */
@media only screen and (max-width: 480px) {
    /* Header */
    .et_header_style_left #logo {
        max-width: 75%;
    }
    /* Home */
    #seach_field input[type="text"] {
        width: 252px;
    }
    .et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
        display: none;
    }
    /* Footer */
    .fwidget {
        text-align: center;
    }
    /* Properties */
    .search-form .row {
        margin-bottom: 0;
    }
    .search-form .third_columns {
        width: 100%;
        margin-bottom: 15px;
    }
    .slick-prev, .slick-next {
        top: 35%;
    }
    .infopropriete {
        width: 100%;
        margin-right: 0;
    }
    .columnCourtier {
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }
    .desc-col-50 {
        width: 100%;
        margin-right: 0;
    }
    .page-template-template-property-single .et_pb_row_rapport_immobilier {
        width: 80%;
    }
    .prop-list-2-cols #liste_property .fiche_property_wrap, .prop-list-2-cols #liste_property .fiche_property_wrap_pf {
        min-height: 82vw;
    }
    /* Courtiers */
    .page-template-template-courtiers #seach_field input[type="text"] {
        width: 236px;
    }
    #filtres-classes {
        max-width: 90%;
        text-align: center;
    }
    #filtres-classes a {
        font-size: 12px;
        line-height: 1.5;
    }
    #filtres-courtiers {
        max-width: 90%;
        font-size: 12px;
    }
    .fiche_courtier_wrap {
        margin-left: -12.5%;
        margin-right: auto;
        transform: scale(0.75);
}
    .page-template-template-courtiers #seach_field input[type="text"] {
        width: 100%;
        font-size: 14px;
        margin-left: 0;
    }
    .page-template-template-courtiers #seach_field::before {
        content: none;
    }
    /* Pages */
    h1, h1.et_pb_contact_main_title, .et_pb_title_container h1 {
        font-size: 24px !important;
    }
    .et_pb_fullwidth_header_subhead {
        font-size: 16px !important;
    }
    .et_pb_row_visite_libre .et_pb_column.et_pb_column_1_3 {
        text-align: center;
    }
    .marche_cle_item {
        margin: 0 1.333% 20px 0;
        width: 100%;
        height: 81.4vw;
    }
    #pf-valeurs .et_pb_text_inner {
        flex-direction: column;
    }
    .search-form .third_columns.rent_or_sale {
        text-align: left;
    }
    #seach_field, #hp-adv-search-link {
        max-width: 316px;
    }
}

/* IPHONE 6+ PORTRAIT */
@media only screen and (max-width: 414px) {
}

/* IPHONE 6 PORTRAIT */
@media only screen and (max-width: 375px) {
	#popmake-24893 .check_availability {
		width: 100%;
	}
	/* ---------------------------------------- */
	/* Sidebar - cart*/
    .prop-list-2-cols #liste_property .fiche_property_wrap, .prop-list-2-cols #liste_property .fiche_property_wrap_pf {
        min-height: 100vw;
    }
}

/* HTC, GALAXY PORTRAIT */
@media only screen and (max-width: 360px) {
}

/* IPHONE 4, IPHONE 5 PORTRAIT */
@media only screen and (max-width: 320px) {
}

/*--------------------------------- TARGET ONLY SPECIFIC DEVICES ------------------------------------------*/
/* TARGET IPAD */
@media only screen and (max-width: 768px) and (min-width: 767px) {
}
@media only screen and (max-width: 1024px) and (min-width: 1023px) {
}

/* TARGET iPHONE 5S */
@media only screen and (device-width: 640px) and (device-height: 1136px) and (orientation: portrait) {
}
@media screen and (max-device-width: 1136px) and (orientation: landscape) and (device-aspect-ratio: 40/71) {
}

/* TARGET IPHONE 5 */
@media only screen and (device-width: 568px) and (orientation: landscape) {
}
@media only screen and (device-width: 320px) and (orientation: portrait) {
}

/* TARGET IPHONE 4 */
@media only screen and (device-width: 320px) and (orientation: portrait) {
}
@media only screen and (device-width: 480px) and (orientation: landscape) {
}

/* TARGET HTC ONE AND GALAXY S5 */
@media only screen and (device-width: 360px) and (orientation: portrait) {
}
@media only screen and (device-width: 640px) and (orientation: landscape) {
}

/* TARGET IPHONE 6 */
@media only screen and (device-width: 375px) and (orientation: portrait) {
}
@media only screen and (device-width: 667px) and (orientation: landscape) {
}

/* TARGET IPHONE 6+ */
@media only screen and ( device-width: 414px ) and ( orientation: portrait ) {
}
@media only screen and ( device-width: 736px ) and ( orientation: landscape ) {
}