/* CSS for serving the retina image to devices with a high "device-pixel-ratio" */
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
}

@media only screen and (max-width: 1650px) {
    #mainNav li a {
        padding: 19px 9px;
    }
}

@media only screen and (max-width: 1560px) {
    #header .pushButton span {
        font-size: 11px;
    }
    #header .header_phone_number {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1200px) {
    #homeBanner,
    .banner_text_container {
        height: 536px;
    }

    .findProperty h2 {
         margin-right: 178px;
    }
}
/*  EXTRA-LARGE (XL) Grid: 1200px+
    ---------------- */
@media only screen and (max-width: 1200px) {
    .sideImages.inner_l {
        padding-left: 0px;
    }
    .mainImage.inner_r {
        padding-right: 0px;
    }
    .album_thumb {
        padding-right: 10px;
    }
    .album_thumb {
        padding-right: 10px;
    }
    .sideImages {
        margin-top: 10px;
    }
   /* .sideImages img,
    .sideImages iframe {
        height: 170px;
    }*/
    .sideImages .album_thumb + .album_thumb + .album_thumb {
    padding-right: 0px;
    }
    .imageVerification a {
        display: none;
    }
    .downloadsSection .pushButton:first-child {
        margin-left: 0px !important;
        margin-right: 15px;
    }
    .downloadsSection .pushButton:last-child {
        float: left;
        margin-bottom: 10px;
    }
    input.button.downloadMarkButton {
        margin-bottom: 20px;
    }



}

@media only screen and (max-width: 1120px) {
    .find_property {
        display: none;
    }
}

/*  LARGE (L) Grid: 1024px - 1199px
    ---------------- */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    #homeBanner,
    .banner_text_container {
        height: 450px;
    }
}

@media only screen and (max-width: 1024px) {
    .imgHolder {
        display: none;
    }
    #homePage .productsListWrapper {
        margin-top: 0px;
    }
    .findProperty h2 {
      text-align: left;
    }
    .findProperty .prefix_4 {
        margin-left: 0px;
    }
    .footerSectionText {
        padding-left: 0px;
    }
    .productsPage .prodInfo {
        height: auto !important;
    }
    .productsPage .basicInfo {
        position: relative;
    }
    .downloadsSection .pushButton {
        margin-left: 0px !important;
        margin-top: 0px;
        margin-bottom: 20px;

    }
    .findProperty h2 {
        margin-right: 0px;
    }
    .duel_column {
        display: none;
    }
    .imageVerification img {
        width: 68px;
    }
    .productThumbPhoto {
        -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 0px;
    }
    /*.sideImages img,
    .sideImages iframe {
        height: 133px;
    }*/
}

/*  MEDIUM (M) Grid: 768px - 1023px
    ---------------- */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Widgets */
    .widget_form_row label {
        width: 100%;
        display: block;
    }

    .widget_form_input {
        width: 100%;
    }

    /* Flex Slider*/


    #homeBanner,
    .banner_text_container {
        height: 376px;
    }

    /* Gallery */
    /* Categories */
    #content .gallery_cat_list li {
        margin-bottom: 10px;
    }

    #content .gallery_cat_list li a {
        width: 100%;
    }

    #content .gallery_cat_list li a:hover {
        width: 100%;
        margin: 0;
    }

    .gallery_cat_list li a:hover .gallery_title_label {
        font-size: 14px;
        line-height: 17px;
        font-weight: bold;
        height: 135px; /* Change the height to the height of the image */
    }

    /* Thumbs */
    #content .gallery_thumbs li,#content .gallery_thumbs li.gallery_last {
        width: 32.6%;
        margin-right: 1%;
    }

    #content .gallery_thumbs li.gallery_tab_last {
        margin-right: 0;
    }
    .letUsFindIt .prefix_4 {
        margin-left: 0px;
    }
    .flexArrow {
        right: -69px !important;
    }

    .signup_box.grid_12 {
        margin-left: 0;
    }
}

@media only screen and (min-width: 768px) {
    .widget_content {
        display: block !important;
    }
}

/*  Phone - all mobile sizes < 767px
    ---------------- */
@media only screen and (max-width: 767px) {
    html, body {
        font-size: 14px;
        line-height: 20px;
    }

    .thePage {
        margin-top: 20px;
    }

    #content {
        margin-bottom: 20px;
    }

    #copy.inner.has_sidebar {
        padding-left: 10px;
        padding-right: 10px;
    }

    #sidebar {
        margin-top: 20px;
    }

    #homePage #menu_mobile {
        display : none;
    }

    .eqh_wrap {
        flex-wrap: wrap;
    }

    .form_label {
        width   : auto;
        padding : 0;
    }

    .form_required {
        width   : 5%;
        padding : 5px 0 0 10px;
    }

    .form_field {
        width      : 100%;
        float      : none;
        margin-top : 0;
    }
    .propType {
        width: 100%;
    }
    .grecaptcha-badge {
        display: none;
    }

    /* Flex Slider */
    .banner_text_container {
        height: 340px;
    }

    /* Gallery */
    #content .gallery_cat_list li {
        margin-bottom: 15px;
        width: 48%;
    }

    #content .gallery_cat_list li.gallery_middle {
        margin-right: 0;
        margin-left: 0;
    }

    #content .gallery_cat_list li.gallery_mob_last {
        margin-left: 4%;
    }

    .gallery_cat_list li a {
        background: none;
    }

    .gallery_cat_list li a:hover .gallery_title_overlay_container,.gallery_cat_list li .gallery_title_overlay_container {
        position: relative;
        display: block;
        text-align: left;
    }

    .gallery_cat_list li .gallery_title_overlay {
        display: block;
        text-align: left;
        padding: 0px;
    }

    .gallery_cat_list li a:hover .gallery_title_overlay {
        padding: 0px;
    }

    .gallery_cat_list li a:hover .gallery_title_label, .gallery_cat_list li .gallery_title_label {
        font-size: 14px;
        display: block;
        padding: 10px 0 2px 0;
        line-height: 17px;
        font-weight: bold;
        color: #000;
        text-align: left;
        height: auto; /* Change the height to the height of the image */
    }

    /* Thumbs */
    #content .gallery_thumbs li, #content .gallery_thumbs li.gallery_last, #content .gallery_thumbs li.gallery_tab_last {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 18px;
    }

    #content .gallery_thumbs li.gallery_mob_last {
        margin-right: 0;
    }
    .gallery_thumbs .gallery_caption {
        padding: 18px 0 0px;
    }
    .gallery_thumbs .gallery_caption h2 {
        margin-bottom: 10px;
    }
    #homePage .productsListWrapper {
        position: relative;
    }
    .prodInfo {
        height: auto !important;
    }
    .productsPage .prodInfo {
        margin-bottom: 0px;
    }
    .findProperty div {
        text-align: left !important;
    }
    .basicInfo {
        position: relative;
    }
    .copyrightArea div {
        text-align: left;
    }
    #overviewContent .houseDetails div {
        text-align: left;
    }
    .mainImage.inner_r {
        padding-right: 0px;
    }
    .sideImages.inner_l {
        padding-left: 0px;
    }
    .sideImages {
        margin-top: 20px;
        display: none;
    }
    .album_thumb {
        float: left;
        padding-left: 10px;
        box-sizing: border-box;
    }
    .album_thumb:first-child {
        padding-left: 0px;
    }
    .sitemapArea ul {
        margin-bottom: 20px;
    }
    .sitemapArea ul.contact_details {
        margin-bottom: 0;
    }
    .sitemapArea ul li {
        margin-bottom: 5px;
    }
    .sitemapArea ul li,
    .sitemapArea ul li a {
        line-height: 1.4 !important;
    }
    .topDetails h1 {
        margin-bottom: 10px;
    }
    .topDetails h3 {
        margin-bottom: -5px;
    }
    .houseDetails div {
    }
    .productThumbPhoto {
        -webkit-border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-topright: 4px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }
    .flexArrow {
        display: none !important;
    }

    .signup_box.grid_12 {
        margin-left: 0;
    }


    #top_menu_ul {
        float: left;
    }

    .top_header li {
      display: inline-block;
      margin-left: 0px;
      margin-right: 15px;
    }

    .featuredTestimonials {
        margin-top: 40px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .featured_testimonials .testimonial_content {
        font-size: 18px;
    }
    .featured_testimonials .testimonial_content::before {
        margin-right: 0.1em;
    }

    /* ================================= */
/* Accordion */
/* ================================= */
    .collapse_header {
        cursor: pointer;
    }
    .collapse_header:after {
        display:            inline-block;
        font-family:        "FontAwesome";
        font-weight:        normal;
        content:            "\f0d8";
        margin-left:        5px;
        float: right;

        -webkit-transform:  rotate(0deg);
        -moz-transform:     rotate(0deg);
        -ms-transform:      rotate(0deg);
        -o-transform:       rotate(0deg);
        transform:          rotate(0deg);

        -webkit-transition: -webkit-transform ease 0.2s;
        -moz-transition:    -moz-transform ease 0.2s;
        -ms-transition:     -ms-transform ease 0.2s;
        -o-transition:      -o-transform ease 0.2s;
        transition:         transform ease 0.2s;
    }

    .collapse_header.closed:after {
        -webkit-transform: rotate(180deg);
        -moz-transform:    rotate(180deg);
        -ms-transform:     rotate(180deg);
        -o-transform:      rotate(180deg);
        transform:         rotate(180deg);
    }

    .no-csstransforms .collapse_header.closed:after {
        content: "\f0d7";
    }
    .thefiltersThing {
        margin-bottom: 30px;
    }
    .thefiltersThing .widget_content {
        padding-top: 20px;
        background-color: #fafbfc;
    }
}

/*  SMALL (S) Grid: 480px - 767px
    ---------------- */
@media only screen and (min-width: 480px) and (max-width: 767px) {

    .readMore {
        text-align: left !important;
    }

    .sitemapArea .footer_left ul:not(.contact_details) {
        columns: 2;
        column-gap: 20px;
        column-width: 200px;
    }

    .sitemapArea .footer_left ul li {
        display: inline-block;
        width: 100%;
    }

    .sitemapArea .footer_right {
        margin-top: 10px;
    }
}

/*  EXTRA-SMALL (XS) Grid: < 479px
    ---------------- */
@media only screen and (max-width: 479px) {

    /* Gallery */
    /* Thumbs */
    #content .gallery_thumbs li, #content .gallery_thumbs li.gallery_last, #content .gallery_thumbs li.gallery_tab_last {
        margin-bottom: 10px;
    }
    .gallery_thumbs .gallery_caption {
        padding: 10px 0 0px;
    }
    .gallery_thumbs .gallery_caption h2 {
        margin-bottom: 5px;
    }
    .productsPage .basicInfo div {
        text-align: left;
    }
    .productsPage .houseDetails {
        padding-left: 25px;
    }
    .basicInfo {
        padding-bottom: 15px;
    }
    #our-homes-viewPage .pageImg {
        display: none;
    }
    #our-homes-viewPage .addthis_toolbox {
        display: none;
    }
    #our-homes-viewPage .downloadsSection .pushButton a {
        padding-top: 12px !important;
        padding-bottom: 7px !important;
    }
    /* Footer */
    .sitemapArea ul:not(.contact_details) {
        column-gap: 20px;
        column-count: 2;
        column-width: 100px;
    }
    .sitemapArea ul.contact_details {
        margin-left: -10px;
        margin-right: -10px;
    }
    .sitemapArea ul.contact_details li {
        float: left;
        clear: none;
        width: 50%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    .sitemapArea ul.contact_details li.address {
        width: 100%;
    }
    .sitemapArea .footer_right {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }
    .sitemapArea .footer_logo {
        width: 80px;
    }
    .sitemapArea .footer_logo.reiq {
        width: 120px;
    }
}
@media only screen and (max-width: 340px) {
    .thefiltersThing .widget_title h2 {
        font-size: 20px;
    }
    .pushButton img {
        padding-right: 7px;
    }
}

/*
    Responsive Tables
*/
@media
only screen and (max-width: 915px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table.resp_table, thead, tbody, th, td, tr {
        display: block;
    }

    table.spaced_table,
    table.spaced_table td {
        width: 100% !important;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table.resp_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.resp_table tr { border: 1px solid #ccc; }

    table.resp_table tr td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        width: calc(55% - 30px) !important;
        text-align: left !important;
    }

    table.nice_table tr td:first-child,
    table.nice_table tr td:last-child {
        border: 0;
    }

    table.resp_table tr td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 12px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left !important;
        font-weight: bold;

        content: attr(data-th) ": ";
    }
}