/*CSS FOR REDESIGN*/

.homefinder-preview-v2 .preview-container .slick-slide { margin: 0.5rem; }
.homesearch-preview .slick-list {
    padding: 0 !important;
}
.homefinder-preview-v2 h2,
.homefinder-preview-v2 h3 { text-align: center; }
.homefinder-preview-v2 h3 { margin-bottom: 2rem; }
.homefinder-preview-v2 .button-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 2rem;
}
.homefinder-preview-v2 .preview-container .next { right: -3px;  z-index: 1; }
.homefinder-preview-v2 .preview-container .prev { left: 1px; z-index: 1; }
.homefinder-preview-v2 .preview-container i.slick-arrow:before { padding-bottom: 4px; }
.homefinder-preview-v2 .preview-container .slick-arrow {
	color: #000;
	font-size: 50px;
	font-weight: 900;
	position: absolute;
	top: 45%;
	margin-top: -40px;
	background-color: rgba(255,255,255,0.5);
}
.homefinder-preview-v2 div[data-dropshadow="True"] .home-preview {
	margin: .8rem;
	box-shadow: -1px 1px 5px 2px #989898;
	padding-bottom: 30px;
}
.homefinder-preview-v2 div[data-dropshadow="True"] .home-preview a div:nth-child(n+2) { padding: 0px 10px; }


/* MAIN HOMEFINDER NAV --------------
---------------------------------- */
.PIN_1511276931593_embed_grid, span[data-pin-log="button_pinit_floating"] {
    display: none!important;
}
.homefinder-options { float: left; }
.homefinder-filter-header  {
    padding: 15px 0px;
    width: 100%;
}
#clearFilters {
    float: right;
    font-size: 12px;
    line-height: 18px;
    position: relative;
    font-weight: 600;
}
.viewToggleIcons {
    float: right;
    cursor: pointer;
    font-size: 18px;
}
.viewToggle {
    margin-left: 20px;
}
/* CHECKBOXES -----------------------
---------------------------------- */
.homefinder-options input[type="checkbox"] + label {
    font-weight: 600;
    margin-bottom: 0;
}
.homefinder-options .checkbox-filters input[type="checkbox"] + label:before {
    margin-right: 24px;
    border: none;
}
/*checkbox margins*/
.homefinderOption {margin-bottom: 20px;}
#selectDiv-builders .homefinderOption {margin-bottom: 10px;}
/* DROPDOWN FILTERS -----------------
---------------------------------- */
/*Most of the filter styles are defined in gridstyles.css (the ones here are similar to the events filters dropdowns) gridstyles.css is shared between pages, but this stylesheet is specific to the homefinder*/
.homefinder-filter-row .innerContent i {
    font-size: 16px;
    vertical-align: middle;
    width: 15px;
    text-align: center;
}
.homefinder-filter-row .innerContent p {line-height: 1;}
.homefinder-filter-row .active .innerContent .icon-ion-ios-arrow-down:before {content: "\f3d8";}
.homefinder-filter-row .innerContent p, .homefinder-filter-row .innerContent i { display: inline-block; }
.clear-filters-button, .select-all-button, .clear-price-filters-button, .sort-direction-button {font-weight: 600;}
.sort-direction-button {display:inline-block;width:49%;text-align:center;}
.option-buttons {margin-top: 22px;}
.innerContentOptions .price-filter,.innerContentOptions .select-wrapper {
    width: 48.5%;
    margin-bottom: 30px;
}
.innerContentOptions .price-filter,.innerContentOptions select {
    border-radius: 8px;
    height: 50px;
    padding: 17px 19px;
}
.innerContentOptions .price-filter {
    border: 1px solid #5e5a54;
}
.innerContentOptions .price-filter, .innerContentOptions .separator, .innerContentOptions .select-wrapper { float: left; }
.innerContentOptions select {
    color: #fff;
    border: none;
    background-color: #9e9898;
    width: 100%;
}
.homefinder-filter-row .option-count.show-count { vertical-align: top}
/*select wrappers*/
.innerContentOptions .select-wrapper i {
    color: #fff;
}
.select-wrapper {
    position: relative;
}
.select-wrapper i {
    position: absolute;
    font-size: 16px;
    top: 50%;
    margin-top: -8px;
    right: 20px;
    pointer-events: none;
}
@media (min-width: 768px) {
    #showModels, #showFeatured {
        padding-left: 6%;
    }
    /* DROPDOWN FILTERS -----------------
    ---------------------------------- */
    .homefinder-filter-row .innerContent p {
        letter-spacing: 0;
    }
    .homefinder-filter-row {
        border-bottom: 1px solid #d7d7d7;
        background: #fff;
    }
    .homefinder-filter-row .innerContent {
        padding: 15px 19px;
        border-right: 1px solid #d7d7d7;
        height: 45px;
        cursor: pointer;
    }
    .innerContentOptions {
        width: 375px;
        top: 60px;
    }
    .homefinder-options {
        position: relative;
    }
    /*dropdown active overlay*/
    .homefinder-homes-container.overlay:after {
        position: absolute;
        background: rgba(0,0,0,.6);
        top: 96px;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 1;
        content: '';
    }
}
/* FIXES FOR DROPDOWNS THAT GO OFFSCREEN
------------------------------------- */
@media (min-width: 880px) and (max-width: 1309px) {
        .homefinder-filter-row .homefinder-options:nth-child(6) ~ .homefinder-options .innerContentOptions {
        right: 0;
    }
}
@media (min-width: 768px) and (max-width: 879px) {
        .homefinder-filter-row .homefinder-options:nth-child(4) ~ .homefinder-options .innerContentOptions {
        right: 0;
    }
}
@media (min-width: 992px) and (max-width: 1059px) {
    .homefinder-filter-row .innerContent {
        padding: 15px 12px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #showModels, #showFeatured {
        padding-left: 3%;
    }
    .homefinder-filter-row .innerContent {
        padding: 15px 8px;
        font-size: 13px;
    }
    .homefinder-filter-row .innerContent i {
        font-size: 11px;
    }
}
@media (max-width: 767px) {
    .mobile-filter-menu .menu-item {
        float: left;
        width: 50%;
    }
    .mobile-filter-menu .menu-item:last-of-type {
        border-left: 1px solid #d7d7d7;
    }
    /* OPENED MENU */
    .homefinder-options-wrap {
        display: none;
        overflow: scroll;
        width: 100%; height: 100%;
        padding-bottom: 500px;
        position: fixed;
        background: #fff;
        z-index: 998;
    }
    .homefinder-options-wrap, .homefinder-homes-map {
        top: 114px;
    }
    .homefinder-filter-header {
        padding: 20px 0 30px;
    }
    #showInventory label, #showModels label, #showFeatured label {
        display: block;
        border-radius: 8px;
        padding: 16px 16px 16px 44px;
        margin-top: 20px;
    }
    #showInventory label:before, #showModels label:before, #showFeatured label:before {
        top: 16px; left: 16px;
    }
    .homefinder-filter-row {
        margin: 0 15px;
    }
    .homefinder-filter-row .homefinder-options {
        display: block;
        width: 100%;
    }
    .checkbox-filters {
        padding-top: 20px;
    }
    /* DROPDOWN FILTERS -----------------
    ---------------------------------- */
    .homefinder-options.open-xs {
        border-top: 1px solid #d7d7d7; border-bottom: 1px solid #d7d7d7;
        margin: 10px 0 40px 0;
        padding: 30px 0 10px 0;
    }
    .homefinder-options.open-xs .innerContent {
        text-align: center;
        pointer-events: none;
        line-height: 20px;
        font-size: 16px;
    }
    .homefinder-options.open-xs .innerContent i, .homefinder-options.open-xs .clear-links, .homefinder-options.open-xs .option-buttons, .homefinder-options.open-xs .option-count, .homefinder-options.closed-xs .apply-button {
        display: none;
    }
    .homefinder-options.open-xs .innerContentOptions {
        display: block;
        position: relative;
        box-shadow: none;
        z-index: 0;
        padding: 20px 0;
    }
    .homefinder-options.closed-xs { position: relative; }
    .homefinder-options.closed-xs .innerContentOptions {
        top: 60px;
    }
    .homefinder-options.closed-xs .innerContent {
        border: 1px solid #5e5a54;
        border-radius: 8px;
        height: 50px;
        padding: 17px 19px;
        margin-bottom: 30px;
        position: relative;
    }
    .homefinder-options.closed-xs .innerContent i, .option-count.show-count {
        float: right;
    }
}
/* HOMEFINDER PAGE SCROLL & LAYOUT --
---------------------------------- */
@media (min-width: 768px) {
    .homefinder {overflow: hidden;}
    .homefinder footer:not(.homefinder-footer) {display: none;}
    .homefinder-homes-results { display: inline-block; width: 66.666%; float: left; height: 100%; }
    .homefinder-homes-list.full {width:100%;}
    .homefinder-homes-list {
        overflow-y: scroll;
        max-width: 100%;
        position: relative;
    }
    .homefinder-homes-container {
        height: 100vh;
        margin-top: -238px;
        padding-top: 238px;
    }
    .homefinder-homes-list {
        height: 100%;
    }
    .homefinder-homes-map {
        height: 107.4%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .homefinder-homes-container {
        margin-top: -218px;
        padding-top: 218px;
    }
    .homefinder-homes-results { width: 50%; }
    #homeResults .result {width: 100%;}
    .homefinder-homes-map {
        display:inline-block;
        width:50%;
        float: left;
    }
}
@media (max-width: 767px) {
    /*spacing for fixed filter menu*/
    .homefinder-homes-container {margin-top: 58px;}
}
/* MAP ------------------------------
---------------------------------- */
.homefinder-homes-map #map{
    width: 100%;
    height: 100%;
}
@media (min-width: 992px) {
    .homefinder-homes-map {
        display:inline-block;
        width:33.333%;
        float: left;
    }
}
@media(max-width: 767px) {
    .homefinder-homes-map {
        /*visibility:hidden;*/
		display: none;
        position: fixed;
        /*z-index: 99;*/
        height: 100%;
        width: 100%;
    }
}

.innervirtualtours {
    min-height: 550px;
    width: 100%;
}

.innervirtualtours iframe {
    margin-top: 25px;
    width: 100%;
}

.innervideotours .videotour-iframe {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.innervideotours .videotour-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* RESULT MODULES -------------------
---------------------------------- */
.homefinder-homes { width: 100%; position: relative; min-height: 150px; float: left;} /* copied from .homefinderHomes */
.mainItem2 { margin-right: 2px; line-height: 18px; } /* copied from .mainItem2 - unchanged class name */
.pad-top-10 { margin-top:10px!important; }
/* new css --------------------------
---------------------------------- */
#homeResults {
    display: flex;
    flex-wrap: wrap;
}
#homeResults .result {
    margin-bottom: 40px;
    cursor: pointer;
}
.nameDirect:after {
    content: ", ";
}
.nameDirect:only-child:after {
    content: " ";
}
.nameDirect:last-child:after {
    content: " ";
}
.printButton {
    cursor: pointer;
    float: right;
    margin: 15px 15px 10px 15px;
} /* copied from .printButton - unchanged class name */
.printButton i {margin-left: 8px;}
.printButton p {font-size: 12px;}
.sortBy {
    cursor: pointer;
    float: left;
    margin: 15px 15px 10px 15px;
}
.sortBy p {display:inline-block;}
.sort-direction i.active {color:#219f53;}
.home-link .modelsqFt, .home-link .num-info {font-size: 14px;}
@media (max-width: 767px) {
    #homeResults .result {width: 100%;}
}
@media (min-width: 992px) {
    .floats .builderInfo{float: left;}
    .floats .modelItem{float: right;}
}
/* MAPS POPUPS ----------------------
---------------------------------- */
.map-popup img {
    max-width: 100% !important;
    margin: 0 !important;
}
/* PAGINATION -----------------------
---------------------------------- */
@media (max-width: 767px) {
    .homefinder-container .page_navigation {padding: 0 15px;}
}
/* FOOTER ---------------------------
---------------------------------- */
.homefinder-footer {
    margin-bottom: 30px; width: 100%; float: right; /* copied from .homefinderFooter */
    border-top: 1px solid #d7d7d7;
    margin-bottom: 0;
}
.homefinder-footer .inner {
    border-top: none !important;
    padding: 0 !important;
}
.homefinder-footer .foot-main .foot-col {
    border: none !important;
   -webkit-box-pack: start;
    -ms-flex-pack: start;
        justify-content: flex-start;
    padding: 20px 2%;
}
.homefinder-footer .foot-main .legal {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 380px;
    flex: 1 1 380px;
    line-height: 16px;
    font-size: 10px;
}
.homefinder-footer .foot-main .info {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 265px;
    flex: 1 1 265px;
}
.homefinder-footer .foot-main .menu {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 170px;
    flex: 1 1 170px;
}
.homefinder-footer .menu li:first-of-type a {margin-top: 0;}
.homefinder-footer .images {margin-top: 5px;}
.homefinder-footer img {vertical-align: middle;}
.homefinder-footer img:first-of-type {
    margin-right: 25px;
}
@media (max-width: 767px) {
    .homefinder-footer {display: none;}

}
.print-break {
    display: none;
}
/* PRINT CSS ------------------------
---------------------------------- */
@media print {
    .homefinder-header { display: none; } /* copied from .homefinderSearchList */
    .homefinder-homes-container { width: 100%!important; height: auto!important; display: block!important; margin: 0; padding: 0; } /* copied from .homefinderHomesList */
    .homefinder-homes-results{ width: 90%; }
    .homefinder-homes { width: 100%!important; display: block!important; } /* copied from .homefinderHomes */
    .homefinder-homes-map, .homefinder-page-list .printButton {
        display: none!important;
        float: none;
        width: 0;
        height: 0;
    }
    .printButton { display: none; } /* copied from .printButton - unchanged class name */
    #homeResults .result {display: block !important;}
    .homeImage div:after {padding: 0!important;}
    #homeResults .result {
        page-break-before:avoid;
		page-break-inside:avoid;
    }

    #homeResults .result img {display: block !important; opacity: 1;}
    .result { width: 45%!important; height: 100%!important; float: left!important; display: block!important; margin-bottom: 20px;} /* copied from .result - unchanged class name */
    .result:nth-child(odd) {margin-right: 10%;}
    .homeImage img { display: block!important; width: 150px; height: auto; } /* copied from .homeImage - unchanged class name */
    .pageCount { display: none; } /* copied from .pageCount - unchanged class name */
    .page_navigation { display: none; } /* copied from .page_navigation - unchanged class name */

    nav, iframe, header, footer,.affix,.affix-top,.anchortop.column,.top-search,.top-nav,#topBarBanner,.buttonBar,.modelButtons,.carouselPage,.softSignupBase,.soft-signup-bar,.dropdown-menu,.backToResults, #selectDiv-sortby { display: none !important;}

    .homefinder * {overflow: visible !important;}
    .homefinder * {overflow: visible;}
    .homeImage div:after {padding-bottom: 0 !important;}
    .modelPrice, .homeName {float: none;}
    .modelPrice {margin: 0;}
    .PhotosFloorplans .virtualtourtab, .PhotosFloorplans .videotourtab, .PhotosFloorplans .ui-tabs-panel .innervirtualtours {
        display: none !important;
    }
}

/* new home search module */
.homesearch-preview .homeName {
	width: 60%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.homesearch-preview .num-info .valueItem2 {
	padding-right: 10px;
}
.homesearch-preview .home-details {
	float: none;
	width: 100%;
}
.homesearch-preview .homedetails {
	line-height: 20px;
}
.homesearch-preview .homeAddress {
	color: #869099;
}
