html{height: 100%;margin: 0px;}
body {height: 100%;margin: 0px;background:#fff;}
.message{padding:30px 180px 60px 180px;}
.header.agent-page-menu {display:none;}
.new-home-2017 {position:relative; background: url(../../Content/images/newUI-2017/AdobeStock_73254771_2000X978_72dpi.jpg) no-repeat;
                width: 100%; height:calc(100% - 40px); background-size:100% 100%; display: inline-block;}
/*.new-home-2017 img.supprotForDivHeight {vertical-align: top; height:90%; width: 100%;opacity: 0; margin-top:-140px;}
.new-home-2017.agentoffice-home img.supprotForDivHeight {margin-top:-166px;}
.new-home-2017 img.supprotForDivHeight-mb {vertical-align: top;width: 100%;opacity: 0; margin-top:-100px; display:none}*/
.new-home-2017.agentoffice-home {height:calc(100% - 70px);}
.mobile-view-only.search-homes {display:none !important;}
.scroll-arrow {font-size: inherit;}

/*start new home page UI*/
.new-ui2017 #homepage_search {position:absolute;top: 0;bottom: 0;left:0;right:0;margin:auto;width:50%;height: 105px;}
.new-ui2017 #homepage_search .property-search-outerdiv{display: table;width: 100%;}
.new-ui2017 #homepage_search .property-search-outerdiv .property-search-innerdiv1{display: table-cell;width:90%;padding-right:20px;}
.new-ui2017 #homepage_search .property-search-outerdiv .property-search-innerdiv2{display: table-cell;width:10%;}
.new-ui2017 #homepage_search input[type=text]{float:left;width: 100%;padding: 10px;font-size: 18px;border: solid 1px #002c59 !important;border-right: none !important;height: 38px;}
.new-ui2017 #homepage_search input[type=submit] {float: left;width: 60px;height: 60px;background: #b70e2b url(../../Content/images/newUI-2017/search-icon_50X50.png) no-repeat 15px 15px;
        background-size:30px 30px;border: solid 1px #002c59 !important;cursor: pointer;border-left: none !important; padding: 0px !important;}
.new-ui2017 #homepage_search ul.list-inline.tab{display: inline; width:100%;}
.new-ui2017 #homepage_search ul.list-inline>li{display: inline-block; position:relative; margin-bottom:10px; padding:5px 0px; background-color: #b70e2b;text-align: center;border: none !important;width:28%; margin-right:1%;}
/*.new-ui2017 #homepage_search ul.list-inline >li.devider {width:10px;display: table-cell; padding:0px; background:none;}*/
.new-ui2017 #homepage_search .tab li a {font-weight: bolder;color: #fff;text-decoration: none;font-size:20px;}
.new-ui2017 #homepage_search .tab li.active, .tab li:hover {background: #002c59;}
.new-ui2017 #homepage_search .tab li.active:after {content: '';display: block;position: absolute;margin-left: 50%; top: 98%; left:-10px; width: 0;height: 0;
                                                   border-top: 10px solid #002c59;border-right: 8px solid transparent;border-bottom: 0 solid transparent;border-left: 8px solid transparent;}
/*end new home page UI*/

/*For Prperty Search bar (PropertySearchPage)*/
.new-ui2017.subnav-no-mobile {background-color:transparent; padding:100px 0px 0px 0px; width:100%;}
.new-ui2017.subnav-no-mobile .search-bar-bottom.property-search-bar-row1{width:100%; background:#fff; padding:5px 0px 5px 0px;display:none; }
.new-ui2017.subnav-no-mobile .search-bar-bottom.property-search-bar-row2{width:100%; background:#F2F2F2; padding:15px 0px; height:30px;}
    div.center {margin:0 auto; display:table;}

.new-ui2017 .custom-dd {padding:0 !important; margin-right:10px; width:auto !important;}
.new-ui2017.subnav-no-mobile label.property-search-bar-labels{color:#919191 !important;float: left !important;display: inline-block !important;font-size: 14px !important; margin-right: 10px !important;padding: 5px 0px !important;} 
.new-ui2017.subnav-no-mobile input {padding: 10px; border: solid 1px #ddd; font-size: 14px; color: #4d3f3f !important; background-color: #fff; width: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;height:40px}
/*#property-search-wrapper-div .search_container {margin-top:63px;}*/
 
/*.new-ui2017 .custom-dropdown_select2 {border: 0; background-color: #fff; color: #919191; padding: 0px 30px 0px 10px; margin: 0; width: 100%;-webkit-appearance: none;-ms-border-radius:0 !important;-webkit-border-radius: 0;border-radius: 0 !important; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;height:30px;}*/
/*.new-ui2017 div.custom-dropdown_select2 {border: 0; background-color: #F2F2F2; color: #919191; padding: 4px 25px 0px 0px; margin: 0; width: 100%;-webkit-appearance: none;-ms-border-radius:0 !important;-webkit-border-radius: 0;border-radius: 0 !important; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;height:30px;}*/
.new-ui2017 .custom-dropdown_select2,.new-ui2017 div.custom-dropdown_select2 {z-index:5; color: #919191; width:100%; min-width:80px; border:none; padding:0px 0px 0px 5px !important; height: 30px !important; background-color:#fff;}
.new-ui2017 div.custom-dropdown_select2 {background-color: #F2F2F2; padding: 4px 25px 0px 0px !important; margin: 0; min-width:110px}
/*.new-ui2017.custom-dropdown2 {background:#fff; height:30px; float:left; width:auto;}
.new-ui2017.custom-dropdown2::before {top: .5em; bottom: .5em; background-color: #fff; border-left: none; width: 0em; right: 0; top: 0; bottom: 0; content: ""; position: absolute; pointer-events: none;}
.new-ui2017.custom-dropdown2::after {color: #919191; content: "\25BC"; height: 1em; font-size: .825em; line-height: 1; right: .5em; top: 50%; margin-top: -.5em; position: absolute; pointer-events: none;}
.new-ui2017.custom-dropdown2:hover {cursor:pointer;}*/
.new-ui2017.custom-dropdown2 {height: 30px !important;position:relative; display:inline-block;  z-index:0; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;width:auto;}
    .new-ui2017.custom-dropdown2::before {
        display:block; 
        position:absolute;
        content:'';
        z-index:1;
        background-color:#fff !important;
        color: #919191;
        content: "\25BC";
        font-size: 1em;
        position: absolute;
        pointer-events: none;
        width:1.6em;
        text-align:center;
        border-left: none;
        padding-top:0.350em;
    }
    #moreBtn.new-ui2017.custom-dropdown2::before {background-color:#F2F2F2 !important;}
 select::-ms-expand{display:none;}



.new-ui2017 .viewopt-and-searchresult-section {display:none; width:100%;}
.new-ui2017 .viewopt-and-searchresult-section > * {display:table-cell;}
.new-ui2017 .viewopt-and-searchresult-section #btnMapOrListViewOption {color:#0c68f2; background-repeat: no-repeat; font-size:14px; }
.new-ui2017 .viewopt-and-searchresult-section #btnMapOrListViewOption.mb.map_view {background-size:24px 30px; background-image: url(../images/map_view.jpg); padding:7px 5px 5px 17px !important; background-position:-7px 7px;}
.new-ui2017 .viewopt-and-searchresult-section #btnMapOrListViewOption.mb.list_view {background-size:26px 21px;background-image: url(../images/list_view.jpg); padding:4px 5px 5px 26px !important; background-position:-3px 4px;}
/*.new-ui2017 .viewopt-and-searchresult-section #btnMapOrListViewOption.mb.backtoresult_view {background-image: url(../../Content/images/newUI-2017/BACK_ARROW_RED.png); padding:6px 5px 0px 40px!important; background-position:-8px 0px;}*/
.new-ui2017 .viewopt-and-searchresult-section #btnMapOrListViewOption.mb.backtoresult_view {background-image: url(../../Content/images/newUI-2017/BACK_ARROW_RED.png); padding:5px 5px 0px 25px !important; background-position:0px 3px; background-size:24px 24px;}

/*Advance search textbox for PropertySearch pg and Other pg*/
.new-ui2017.property-search {display:table-cell; width:100%;}
.new-ui2017 .advance-property-search-outerdiv {display:table;width:100%; }
.new-ui2017 .advance-property-search-outerdiv .advance-property-search-innerdiv1 {display: table-cell;width: 90%;}
.new-ui2017 .advance-property-search-outerdiv .advance-property-search-innerdiv2 {display: table-cell;width: 10%;}
.new-ui2017 .advance-property-search-outerdiv .advance-property-search-innerdiv1 input[type=text] {float: left;width: 100%;padding: 10px;font-size: 14px;border: solid 1px #ddd !important;border-right: none !important;height: 24px;}
.new-ui2017 .advance-property-search-outerdiv .advance-property-search-innerdiv2 input[type=submit] {float: left;width: 46px;height: 46px;background: #b70e2b url(../../Content/images/newUI-2017/search-icon_50X50.png) no-repeat 15px 15px;background-size: 16px 16px;border: solid 1px #ddd !important;cursor: pointer;border-left: none !important;}

.new-ui2017 .advance-property-search-outerdiv-mb {display:none;width:100%; margin-bottom:5px;}
.new-ui2017 .advance-property-search-outerdiv-mb .advance-property-search-innerdiv1-mb {display: table-cell;width: 95%;}
.new-ui2017 .advance-property-search-outerdiv-mb .advance-property-search-innerdiv2-mb {display: table-cell;width: 10%;}
.new-ui2017 .advance-property-search-outerdiv-mb .advance-property-search-innerdiv1-mb input[type=text] {float: left;width: 100%;padding: 10px;font-size: 12px;border: solid 1px #ddd !important;border-right: none !important;height: 38px;}
.new-ui2017 .advance-property-search-outerdiv-mb .advance-property-search-innerdiv2-mb input[type=submit] {float: left;width: 38px;height: 38px;background: #b70e2b url(../../Content/images/newUI-2017/search-icon_50X50.png) no-repeat 11px 11px;background-size: 16px 16px;border: solid 1px #ddd !important;cursor: pointer;border-left: none !important;}

/*property-search advance option list (More Options)*/
/*.property-search-more-options {top: 50%;margin-top: -215px;}*/
#propAdvSrch .property-search-legend {
    margin-top:15px;
    position: fixed;
    bottom: 0;
    background: rgb(0,0,0);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 0;
    width: 400px;
    display: none;
    min-height: 175px;
    -moz-min-width: 225px;
    -ms-min-width: 225px;
    -o-min-width: 225px;
    -webkit-min-width: 225px;
    min-width: 225px;
}
div.more-opt-field-col-6 {
    float:left;
    display:inline-block;
    width:48%;
    margin-right:.5%;
}

div.more-opt-field-col-12 {
    float:left;
    display:inline-block;
    width:100%;
}
#propAdvSrch .advSrchMore .price-filter-option.more-opt-field-col-6 {display:none;}
#propAdvSrch .contact-form input {
    padding: 3%;
    border: 1px solid #e2e2e2;
    background: #fff;
    width: 100%;
    margin: 3px 0;
    height:auto;
}
#propAdvSrch .contact-form label {
    margin: 0 0;
    font-weight: normal;
}
#propAdvSrch .contact-form select {
    padding: 3%;
    margin: 3px 0 3px 0;
    border: 1px solid #e2e2e2;
    width: 100%;
}
/*end property-search advance option list*/

/*property search More option list (Mobile View)*/
.property-search-more-options .property-search-legend-6 {margin:0px 0px 5px 5px !important;font-size:9px !important; float:left !important; width:48.3% !important; display:inline-block !important;}
.property-search-more-options .property-search-legend-1{padding:5px !important;}
.property-search-more-options .contact-form { background-color: #f8f8f8; border: 1px solid #e2e2e2; padding: 5px 5px !important;font-size: 14px; }
.property-search-more-options .contact-form textarea { width: 98%;height: 60px; margin: 3px 0 0 0 !important;border: 1px solid #e2e2e2; max-width: 98%;}

#property-search-check-box-bottom {margin:0px 5px !important;}
#property-search-check-box-bottom .property-search-check-box3 {float: left;padding:0px !important;display: inline-table;}
#property-search-check-box-bottom .property-search-check-box1 {float: left;padding:5px 0px 0px 0px !important; display: inline-table;color: #fff;}
#property-search-check-box-bottom .property-search-check-box4 {float:left !important; padding-top:4px !important;}
/*end property search More option list (Mobile View)*/

/*sitemap*/
.sitemap h2 {margin:0px; color:white !important;}
.sitemap .panel-heading {background-color:#4878a8 !important; border-color:#4878a8 !important;}
.sitemap-set,.sitemap-section {display:table;width:100%;}
.sitemap-set > a:hover,.sitemap-set > a:focus {text-decoration:none !important;}
.sitemap-key:not(.city-key) {font-size:larger;padding-left:15px}
.set-container {overflow-x:hidden;}

/*------end Header Property Search bar---------*/
#sign-in-section {float:right;display:table; width:auto; padding:35px 15px 0px 0px;}
.other-page #sign-in-section {float:right;display:table; width:40%; padding-top:25px;}
.new-ui2017.consumer-links {display:table-cell;vertical-align:middle; text-align:center; min-width:90px;}
.new-ui2017.consumer-links #consumerLoginLink,.new-ui2017.consumer-links #consumerMyAccountBtn,.new-ui2017.consumer-links #agentBrokerListingLink {padding:7px;border:solid 1px #fff;color:#fff;text-decoration:none;border-radius:6px;}
.new-ui2017.consumer-links #consumerLoginLink:hover, .new-ui2017.consumer-links #consumerMyAccountBtn:hover,.new-ui2017.consumer-links #agentBrokerListingLink:hover {background:#fff;color:blue;}
.new-ui2017.consumer-links.other-page #consumerLoginLink,.new-ui2017.consumer-links.other-page #consumerMyAccountBtn,.new-ui2017.consumer-links.other-page #agentBrokerListingLink{padding:8px;border:solid 1px #4d3f3f;color:#4d3f3f;font-size:14px;text-decoration:none;border-radius:6px;}
.new-ui2017.consumer-links.other-page #consumerLoginLink:hover, .new-ui2017.consumer-links.other-page #consumerMyAccountBtn:hover, .new-ui2017.consumer-links.other-page #agentBrokerListingLink:hover {background:#002c59;color:#fff;}

.consumer-edit {display:flex; position:relative;}
.consumer-edit > input:hover,#consumerEditName:hover {cursor:pointer;}
.consumer-edit .consumer-edit-btn {
    pointer-events:none;
    background: #e6e6e6 url(/Content/css/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
    border: 1px solid #d3d3d3;
    font-weight:bolder;
    color:#555555;
    text-align:center;
    border-radius:0.3em;
    padding:1% 1.5%;
    align-self:center;
    position:absolute;
    right:2%;
}
.consumer-edit.add-consumer-info .consumer-edit-btn {
    left: 2%;
    right: auto;
}
.consumer-edit:hover .consumer-edit-btn {background:#999999 url(/Content/css/themes/base/images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; border: 1px solid #999999; color:#212121;}
.consumer-edit:active .consumer-edit-btn {background:#42576e; color:#fff;}



/********************* Universal - Header, Body, Footer ************************/
.header-new.other-page {max-width:2000px; display:table-cell; background:#fff; z-index:100 !important; position:fixed !important; height:auto;}
.header-new.other-page.propertysearch {max-width:2000px; padding-top:0px !important;}
.header-new {background:none;
             position: relative;
             width:100%; margin:0 auto;
             box-shadow:none !important;
             left: 0;right: 0;
             top:0;
             z-index:100;
} /*max-width: 2000px; min-width: 768px;*/
.header-new a.logo {float:left;width: 150px;padding: 10px 10px 0px 10px;}
.header-new a.logo img {display:block}
.header-new ul.topnav {float:right;}
.header-new ul.topnav li {float:left;}
.header-new ul.topnav li a {font: 400 16px/16px "Open Sans", sans-serif; color: #000; padding: 42px 25px; border-right: 1px solid #dcdedf; float:left}
.header-new ul.topnav li a.on, .header ul.topnav li a.on:hover {background: #eef0f1; color: #000; }
.header-new ul.topnav li a:hover {background: #2a5b8b; color: #fff;}

.bodycontent {width:100%; height:100%; margin:0 auto; background:#fff; padding-top: 0px !important; } /*max-width: 2000px; min-width: 768px;*/
    .bodycontent.other-page {padding-top: 100px !important; height:auto;}
    .bodycontent.other-page.propertysearch {padding-top: 0px !important; height:auto;}

.header-new .mobile {display:none}
.subnav li.mobile, .header-new div.mobile { background-repeat:no-repeat}
.subnav li.mobile.other-page, .header-new div.mobile.other-page {color:#4d3f3f;}
.header-new div.mobile {min-width:50px;background-image: url(../images/newUI-2017/MENU-icon_50X50.png); background-position:-5px 0px; cursor:pointer }
.header-new.other-page div.mobile {background-image: url(../images/newUI-2017/MENU-icon_50X50-GREY.png); } 

.subnav li {background-position:15px 12px; cursor:pointer}
.subnav li.map_view {background-image: url(../images/map_view.jpg)}
.subnav li.list_view {background-image: url(../images/list_view.jpg)}
.subnav li.search_again {float:right; width: 34px; height: 34px; background: #002c59 url(../images/search_sm.jpg) no-repeat 0 0 ; border: none; cursor: pointer; margin: 7px 5px; padding:0}

.subnav-no-mobile {background: #172639; overflow:hidden}   /* Miki's new 10-13-14'*/


/* ----------------------------------- Agent Header Classes Begins -----------------------------------------------*/

#agent-header {float: left;}
#agent-header { display: block; }
#agent-header-mobile { display: none; }
.header-new .agent-header-mobile { display: none; }
.header-new .agent_site1 { height: 100px; cursor: pointer; }
.header-new .agent_site2 {float: left; line-height: 1; padding: 2px 15px; border-left: 1px solid #ccccd0; height: 96px; min-width: 200px; }
.header-new .agent_site3 { font-size: 20px;text-align: center;border-bottom: 1px solid #ccccd0;padding:4px 0 }
.header-new .agent_site4 { font-size: 12px; color: black; padding: 3px 0 3px 10px; line-height: 1.2 }
.header-new .agent_site5 { float: left; }
.header-new .agent_site6 {font-size: 12px;color: black;}
.header-new .agent_site7 { height: 200px;}
.header-new .agent_site8 { background-color: transparent;}
.header-new .agent_site9 { padding-top: 200px}
.header-new .agent_site9 div#pgcontent h2 { color: #4d3f3f; }
.header-new .agent_site10 {height: 100px;overflow: hidden;
               background-color: #e5e5e5; /* Old browsers */
               background: -moz-linear-gradient(top,  #e5e5e5 0%, #f1f1f1 50%, #f1f1f1 51%, #e5e5e5 100%); /* FF3.6+ */
               background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(50%,#f1f1f1), color-stop(51%,#f1f1f1), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
               background: -webkit-linear-gradient(top,  #e5e5e5 0%,#f1f1f1 50%,#f1f1f1 51%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
               background: -o-linear-gradient(top,  #e5e5e5 0%,#f1f1f1 50%,#f1f1f1 51%,#e5e5e5 100%); /* Opera 11.10+ */
               background: -ms-linear-gradient(top,  #e5e5e5 0%,#f1f1f1 50%,#f1f1f1 51%,#e5e5e5 100%); /* IE10+ */
               background: linear-gradient(to bottom,  #e5e5e5 0%,#f1f1f1 50%,#f1f1f1 51%,#e5e5e5 100%); /* W3C */
               filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */}
.header-new .agent_site11 { float: left;padding:14px 30px}
.header-new .agent_site12 { float: right;text-align: right;font-size: 12px;line-height: 1.4;padding: 5px 10px; color: #777a7c;height:100px;display: inherit;width: auto;}
.header-new .agent_site12 img { height:20px !important;width:20px !important}
.header-new .agent_site12 p { padding-top:4px}
.header-new .agent_site12 a { color: #777a7c;}
.header-new .agent_site13 { color: #777a7c;font-size:30px}
.header-new .agent_site14 { color: #777a7c;font-size:20px}
.header-new .agent_site15 { float:right}
.header-new .agent_site15 img {height:100px;vertical-align: middle;width:auto}
.header-new .agent_site15 a { cursor: pointer; }
.header-new .agent_site16 { color: #777a7c;margin-left: 15px;font-size:14px;display:inline-block}
.header-new .agent_site17 { text-align: left}
.header-new .agent_site-name-sm {display:block}



/* ----------------------------------- Agent Header Classes Ends -----------------------------------------------*/

/* ----------------------------------- Top Menu For Agents Classes Begins -----------------------------------------------*/

.header-new.agent-page-menu ul {float: left;display: inline;margin: 0;list-style: none;}
.header-new.agent-page-menu ul li {font: bold 12px/18px sans-serif;display: inline-block;position: relative;cursor: pointer;
                        -webkit-transition: all 0.2s;-moz-transition: all 0.2s;-ms-transition: all 0.2s;-o-transition: all 0.2s;transition: all 0.2s;}
.header-new.agent-page-menu ul li {font: 400 16px/16px "Open Sans", sans-serif; color: #000; float:left}
.header-new.agent-page-menu ul li > a {color: #fff; padding: 42px 15px;display: inline-block; }
.header-new.agent-page-menu ul li > a:hover { font-weight: bold; text-decoration: none; }
.header-new.agent-page-menu ul li > a.on, .agent-page-menu ul li > a.on:hover { font-weight: bold;}
.header-new.agent-page-menu.other-page ul li > a {color:#002c59; display: inline-block; /*width: 100%;*/}
.header-new.agent-page-menu ul li#more-menu > a {background: url(../../Content/images/newUI-2017/MORE-DOWN_ARROW_WHITE.png) no-repeat;background-size: 20%; background-position: 75% 50%;padding-right: 50px;}
.header-new.agent-page-menu.other-page ul li#more-menu > a {background: url(../../Content/images/newUI-2017/MORE-DOWN_ARROW_GREY.png) no-repeat;background-size: 20%; background-position: 75% 50%;padding-right: 50px;}
.header-new.agent-page-menu ul li ul {position: absolute;top: 70px; left:10px;right: -1px;width: 150px;-webkit-box-shadow: none;-moz-box-shadow: none;display: none;-ms-opacity: 0;opacity: 0;
                           visibility: hidden;-webkit-transiton: opacity 0.2s;-moz-transition: opacity 0.2s;-ms-transition: opacity 0.2s;-o-transition: opacity 0.2s;-transition: opacity 0.2s;
                           background: white;padding: 0;max-width: 200px;height: auto;border: 1px solid #dcdedf;}
.header-new.agent-page-menu ul li ul li {background: #fff;display: block;font: 400 16px/16px "Open Sans", sans-serif; z-index:99; width: 100%;}
.header-new.agent-page-menu ul li ul li a {color: #000;padding:15px 10px;width:130px;display: block;}
.header-new.agent-page-menu ul li ul li a:hover { color:#fff; font-weight:bold;}
.header-new.agent-page-menu ul li:hover ul {display: block;-ms-opacity: 1;opacity: 1;visibility: visible;}
.header-new.agent-page-menu .agent-mobile-list { display: none;}
.header-new.agent-page-menu .arrow-down {width: 0;height: 0; border-left: 5px solid transparent;border-right: 5px solid transparent;border-top: 5px solid #dcdedf;float: right;margin-top: 7px;margin-left: 5px;display:block}

/* ----------------------------------- Top Menu For Agents Classes Ends ------------------------------------------------*/
/*-----*/
.blog_summary .cell a, .blog_summary .cell p {background: #002c59;}

 /* these media queries should always be at the bottom of the style sheet *Miki */
    @media only screen and (max-width:2560px) and (min-height:1920px) {
        /*.new-home-2017 {margin-top:-15px;}*/
        /*.new-home-2017.agentoffice-home {height:96%;}*/
    }
    @media only screen and (max-width: 1366px) and (max-height:768px) {
        .message{padding:60px 60px;}
    }
    @media only screen and (max-width: 1364px) {
        /*.new-home-2017 {height:94%;}*/
        /*.new-home-2017.agentoffice-home {height:90%;}*/
	}
    @media only screen and (max-width: 1360px) {
        /*.new-home-2017 {height:68%;}*/
        /*.new-home-2017.agentoffice-home {height:auto;}*/
    }
    @media only screen and (max-width: 1200px)  {
       /* place overwrite styles here for tablets */
        /*.header-new div.mobile {background-position:-5px 0px;background-size: initial;}*/
         #sign-in-section {padding:30px 15px 0px 0px; width:auto !important;}
        .other-page #sign-in-section {padding:30px 15px 0px 0px; width:65% !important;}
         .header-new div.mobile {background-position: 0px -4px;background-size: initial; height:42px; width:50px;}
        /*.header-new div.mobile {display: table-cell;}*/
        .header-new .mobile, .header-new .subnav li.mobile,.header-new .subnav-no-mobile div.mobile {display: block;}
        .header-new .mobile { display:inline-block; }
        .header-new .subnav {height: 43px}
        
        .header-new .menu {float:left !important; display:table-cell !important; clear:unset !important;}
        .header-new ul.topnav {display:none}
        .header-new ul.topnav, .header-new ul.topnav li {float:none; overflow:hidden; clear:both}
        .header-new ul.topnav li a {border-right: none; border-bottom: 1px solid #dcdedf; border-top: 1px solid #eee; width:100%; padding-left: 30px; font-size: 20px}
        .mobile-view-only.search-homes {display: inline-block !important;}
        .header-new .agent-header-mobile { display: block; }

        /*for agent top menu*/
        .header-new.agent-page-menu ul {display:none}
        .header-new.agent-page-menu ul, .header-new.agent-page-menu ul li {float:none; clear:both; z-index:99;}
        .header-new.agent-page-menu ul li {border-right: none;border-top: 1px solid #eee; width:100%; padding: 0; background:#fff;} 
        .header-new.agent-page-menu ul li a { padding-left: 30px;font-size: 20px;padding: 24px 5px 24px 20px;display:block; color:#000;} 
        .header-new.agent-page-menu ul li:hover ul {display: none;-ms-opacity: 0;opacity: 0;visibility: hidden;}
        .header-new.agent-page-menu .agent-mobile-list { display: block;}
        .header-new.agent-page-menu .arrow-down {display:none}
        .header-new.other-page {box-shadow:none !important;}   
        .new-ui2017 #propAdvSrch.search-more-opt{display:block !important;}
        #property-search-bar-wrapper.new-ui2017 .custom-dd.search_price {display:none !important;}
        #propAdvSrch .advSrchMore .price-filter-option.more-opt-field-col-6 {display:inline-block;}

         /*#sign-in-section {width:auto; padding:0px;}*/
        /*.other-page #sign-in-section {width:62%;}*/
        /*.other-page .new-ui2017.property-search {width:78%;}*/
	}

    @media only screen and (max-width: 1100px) and (max-height:1366px) {
        .scroll-arrow-container {display:none;}
    }
    @media only screen and (max-width: 1100px) and (max-height:768px) {
         /*home page bg and search UI*/
        .scroll-arrow-container {display:none;}
        .new-ui2017 #homepage_search {width:60%;}
        /*end home page bg and search UI*/

        .header-new ul.topnav li a {font-size: 14px; padding: 30px 10px}
        .header-new .agent_site1 { height: 78px; cursor: pointer; }
        .header-new .agent_site3 { font-size: 18px;text-align: center;border-bottom: 1px solid #ccccd0;padding:3px 0 }
        .header-new .agent_site2 { line-height: 0.9; padding: 2px 0px; border-left: 1px solid #ccccd0; height: 74px; }
        .header-new .agent_site4 { font-size: 10px; color: black; padding: 2px 0 2px 8px; line-height: 1.3 }
        .header-new .agent_site7 { height: 178px;}
        .header-new .agent_site9 { padding-top: 178px}

        /*for agent top menu*/
        .header-new .agent-page-menu ul li > a {padding: 31px 10px;}
        .header-new .agent-page-menu ul li ul li a {padding:12px 8px;}
        .header-new .agent-page-menu ul li ul {top:78px;width: 146px;}

        /*.new-ui2017.subnav-no-mobile .search-bar-bottom {width:92%;}*/
        
        #property-search-wrapper-div .property-detail .property-info {padding: 0px 0px 23px 0px;margin-top: 16px;}
        #property-search-wrapper-div {padding-bottom:0px !important;}
        #sellingHomeTextContainer {padding-top:10px;}
    }
    @media only screen and (max-width: 1100px) {
        .header-new.agent-page-menu ul {position:relative !important; top:100%; width:100%;}
       /*.other-page #sign-in-section {width:70%;}*/
       /*.new-ui2017.property-search {width:78%;}*/
    }
	@media only screen and (max-width: 1000px)  {
       /* place overwrite styles here for tablets */

        /*.header-new div.mobile {padding: 65px 50px 10px 0px;background-position: 0px 25px;background-size: initial;}*/
        .header-new .mobile, .header-new .subnav li.mobile,.header-new .subnav-no-mobile div.mobile {display: block;}
        .header-new .mobile { display:inline-block; }
        .header-new .subnav {height: 43px}
        
        .header-new ul.topnav {display:none}
        .header-new ul.topnav, .header-new ul.topnav li {float:none; overflow:hidden; clear:both}
        .header-new ul.topnav li a {border-right: none; border-bottom: 1px solid #dcdedf; border-top: 1px solid #eee; width:100%; padding-left: 30px; font-size: 20px}
        .header-new .agent-header-mobile { display: block; }

        /*for agent top menu*/
        .header-new.agent-page-menu ul {display:none}
        .header-new.agent-page-menu ul, .header-new.agent-page-menu ul li {float:none; clear:both; z-index:99;}
        .header-new.agent-page-menu ul li {border-right: none;border-top: 1px solid #eee; width:100%; padding: 0; background:#fff;} 
        .header-new.agent-page-menu ul li a { padding-left: 30px;font-size: 20px;padding: 24px 5px 24px 20px;display:block; color:#000;} 
        .header-new.agent-page-menu ul li:hover ul {display: none;-ms-opacity: 0;opacity: 0;visibility: hidden;}
        .header-new.agent-page-menu .agent-mobile-list { display: block;}
        .header-new.agent-page-menu .arrow-down {display:none}

           .header-new.other-page {box-shadow:none !important;}   
        /*.new-ui2017.advanced-search-box {width:51%;}*/
        /*.new-ui2017.advanced-search-box input[type=text] {width:83%;}*/
        
        .new-ui2017 #propAdvSrch.search-more-opt{display:block !important;}
        .new-ui2017.subnav-no-mobile .search-bar-bottom {display: block !important;}
        #property-search-bar-wrapper.new-ui2017 .custom-dd.search-area { display:none !important;}
        #property-search-bar-wrapper.new-ui2017 .custom-dd.search_prop_type{ display:none !important;}
        #property-search-wrapper-div .property-search-page-wrapper {display:none !important;}
        /*#property-search-wrapper-div .search_container {margin-top:97px;}*/

        .new-ui2017 .viewopt-and-searchresult-section {display:table;}

        .consumer-edit .consumer-edit-btn { padding:0% 2%; font-size:smaller;}


    @media only screen and (max-width: 900px) {
        .header-new .agent_site5 { display: none;}
        #office-header { display: none; }
        #agentsite-social { display: none; }

        /* ----------------------------------- Agent/Office/Regional Site's blog search Classes Begins -----------------------------------------------*/
        #blogPageContent .blog_search input[type="text"] {width:100%;}
        #blogPageContent .blog_search input[type="submit"] {width:49.5%;}
        /* ----------------------------------- Agent/Office/Regional Site's blog search Classes End -----------------------------------------------*/
    }

@media only screen and (max-width:800px) {
      #sign-in-section {width:auto !important;}
     .new-ui2017.property-search {width:0%;}
     .new-ui2017 .advance-property-search-outerdiv {display:none;}
     .new-ui2017 .advance-property-search-outerdiv-mb {display:table;}
}
@media only screen and (max-width: 768px) {
    /*home page bg and search UI*/
    .new-ui2017 #homepage_search ul.list-inline > li {width:30%;}
    .new-home-2017,.new-home-2017.agentoffice-home {position:relative; background: url(../../Content/images/newUI-2017/AdobeStock_73254771_450X750_mobile.jpg) no-repeat;
            width: 100% !important;height:100% !important; background-size:100% 100% !important; display: inline-block;}
    /*end home page bg and search UI*/
     
    .mobile-view-only.search-homes {display:inline-block !important;}
    .new-ui2017 #homepage_search {width:70%; }
    .header-new.agent-page-menu ul {position:relative !important; top:100%; width:100%;}

     /*property serach page*/
     .new-ui2017.subnav-no-mobile {padding:90px 0px 0px 0px;}
     .message, .quote {padding: 45px;}
     .bodycontent.other-page {padding-top: 50px !important;}
     
     .other-page #sign-in-section {width:auto !important;}

    .sitemap.inner_header_bar {margin-top:30px;}
}
@media only screen and (max-width: 767px) {
    .new-home-2017,.new-home-2017.agentoffice-home {background: url(../../Content/images/newUI-2017/AdobeStock_73254771_2000X978_72dpi.jpg) no-repeat;}
}
@media only screen and (max-width: 667px) {
    .header-new a.logo {width:120px;}
    .new-ui2017.subnav-no-mobile {padding:75px 0px 0px 0px;}
    #sign-in-section,.other-page #sign-in-section {padding: 15px 5px 0px 0px;width: auto !important;}
}
@media only screen and (max-width: 640px) {
    .new-ui2017 #homepage_search .tab li a {font-size:14px;}
}

@media only screen and (max-width: 479px)  {
        .header-new a.logo {width:120px; padding:5px 5px 5px 5px;}
        .new-home-2017,.new-home-2017.agentoffice-home {background: url(../../Content/images/newUI-2017/AdobeStock_73254771_450X750_mobile.jpg) no-repeat;}
        .new-ui2017 #homepage_search {width:95%;}
        .new-ui2017 #homepage_search .tab li a {font-size:14px; font-weight:bold;}
        .new-ui2017.subnav-no-mobile .search-bar-bottom.property-search-bar-row2{height:auto;}
    
        .new-ui2017 .custom-dd {margin-right:8px;}
        .new-ui2017.subnav-no-mobile label.property-search-bar-labels {font-size:14px !important; margin-right:8px;}
        .new-ui2017 .custom-dropdown_select2 {font-size:14px !important; padding:0px 25px 0px 5px !important; min-width:60px; }
        .ui-autocomplet li.ui-menu-item {font-size:12px !important;}
 }
/*iPhone 5*/
@media only screen and (max-width: 375px) {
    .new-ui2017 #homepage_search .tab li a {font-size:13px;}
    .new-ui2017.subnav-no-mobile .search-bar-bottom.property-search-bar-row2{padding:10px 0px;height:auto;}
    .new-ui2017 .custom-dd {margin-right:6px;}
    .new-ui2017.subnav-no-mobile label.property-search-bar-labels {font-size:12px !important; margin-right:8px;}
    .new-ui2017 .custom-dropdown_select2 {font-size:14px !important; padding-right:21px !important; min-width:50px; }
    .custom-dropdown2:first-child {margin-right:0px;}
}
