/*
Theme Name: William Pitt 2015
Theme URI: http://underscores.me/
Author: Neutrino, Inc
Author URI: http://neutrinoinc.com
Description: A custom theme for William Pitt Real Estate
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpsir
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

William Pitt 2015 is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Foundation & Fonts

In Foundation

5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
13.0 app.css (Custom)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Foundation & Fonts
--------------------------------------------------------------*/
/** Fix for fonts too bold on Mac **/
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 340px; /* mobile sizing issues */
}
.contain-to-grid .top-bar {
    min-width: 340px; /* mobile sizing issues */
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
.header-logo-image-non-h1 {
    line-height: 5.5625rem;
    font-size: 1.0625rem;
    margin: 0;
    font-family: "News Gothic MT W01",Arial,Helvetica,sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #222;
    text-rendering: optimizeLegibility;
    padding: 0;
    max-height: 100000px;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    /*display: block;*/
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    text-align: -webkit-match-parent;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    cursor: auto;
    box-sizing: border-box;
    box-sizing: border-box;

    box-sizing: border-box;
    color: rgb(34, 34, 34);
    cursor: auto;
    display: block;
    font-family:"News Gothic MT W01", Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: normal;
    height: 104px;
    line-height: 89px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type:none;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    max-height: 100000px;
    padding-bottom: 0px;
    padding-left:  0px;
    padding-right: 0px;
    padding-top: 0px;
    text-align: left;
    text-rendering: optimizeLegibility;
    text-size-adjust: 100%;
    width: 298px;
    -webkit-font-smoothing: antialiased;
    -webkit-margin-after: 0px;
    -webkit-margin-before: 0px;
    -webkit-margin-end: 0px;
    -webkit-margin-start: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

#market-stats span.value.diff, #market-stats div.price-box.units-sold {
  display:none;
}

#market-stats span.value.diff.show, #market-stats span.value.diff:first-child {
  display:inline;
}

#market-stats div.price-box.units-sold.show {
  display:block;
}

#market-stats .chart-holder {
  position:relative;
  height:240px;
}

#market-stats .chart-holder p {
  margin:0px;
  padding:15px 0px 0px 0px;
  position: absolute;
  top:47px;
  left:45px;
  /*line-height: 143px !important;*/
  text-align:center;
  width: 145px;
  height: 145px;
  font: 58px/1 "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
  color: #182b49;
  z-index: 1 !important;
}

#market-stats .chart-holder p.small {
  top:58px !important;
  font-size: 45px !important;
}

#market-stats .chart-holder p em {
  display:block;
  color:#333333;
  font:13px/17px "News Gothic MT W01", Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin:5px 25px 0px 25px;
  padding-bottom:10px;
  border-bottom:5px solid #1b2e4c;
}

canvas.chartjs {
  z-index: 9999 !important;
  position: absolute;
  top: 0px;
  left: 0px;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* Tweaks by Aris */
.title-area span.site-title{
	display: none;
}


.user-box .map-holder {
    height: 300px;
}
.user-box .map-holder img {
    width: auto;
}

.map-holder {
    height: 300px;
}
.map-holder img {
    max-width: none;
}

.map-holder img {
    width: 100%;
    max-width: none;
}

/* Dev map */
.development-landing .map-holder .popup .title {
    font: 17px/20px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
}
.development-landing .map-holder .popup .frame {
    margin-top: 8px;
}
.development-landing .map-holder .infoBox img, .map-section .slide img {
    top: 8px;
}
.single-mrt_development .article .accordion .content .list {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}
.single-mrt_development .article .accordion .content .list li {
    width: 49%;
    padding: 0 0 0 20px;
    position: relative;
    font-size: 16px;
    line-height: 25px;
    text-transform: none;
    margin: 5px 0 0;
}
.single-mrt_development .article .accordion .content .list li:first-child {
    margin-top: 0;
}
@media only screen and (max-width: 768px) {
    .single-mrt_development .article .accordion .content .list li {
        width: 100%;
    }
}
.single-mrt_development .infoBox {
    margin-top: -35px;
}

.additional-footer-links .legal_links li span {
    padding: 0;
    color: inherit;
}
.additional-footer-links .legal_links li a:after {
    padding-left: .5em;
    color: #dadada;
    content: "|";
}
.additional-footer-links .legal_links li:last-child a:after {
    padding-left: 0;
    content: "";
}
.info-list .review {
    margin-top: 0;
}

/**blog front page**/
ul .history-posts li {
    margin-bottom: 47px;
}

/**Post Nav**/
.title-next{
    clear:right;
}
.title-prev{
    clear: left;
}

/** COMMENTS **/
.comment-box blockquote q p{
    color: #333;
    font: 300 14px/26px "News Gothic MT W01",Arial,Helvetica,sans-serif;
}

.form-submit{
    text-align: center;
}
.comment-form .form-submit input[type="submit"]{
    border-color: #007095;
    border-radius: 0;
    border-style: solid;
    border-width: 0;
    color: #fff;
    font-size: 17px;
    height: 46px;
    padding: 12px 10px;
    line-height: 18px;
    min-width: 272px;
    width: auto;
    background: none repeat scroll 0 0 #001e45;
    font-weight: bold;
    text-transform: uppercase;
}
.comment-form .form-submit input[type="submit"]:hover{
    background: none repeat scroll 0 0 #243764;
    color: #fff;
}

/* Tweaks by Mike */
body {
    background: #EEECE7 top center no-repeat;
    background-size: auto 517px;
}
#footer {
    background: #102238;
}
.footer-comm-list h4 {
    font-family: "Sabon MT W01 Semibold", 'Times New Roman', Times, serif;
    color: #f3f3f3;
    margin: -4px 0 6px 0;
    font-size: 1.3rem;
}
#footer ul.footer-communities.commlinkz {
    margin-bottom: 5px
}
.animation-gallery .slideset video,
.bg-gallery.image-top-section video {
    height: 600px;
}
@media only screen and (min-width: 1440px) {
    .animation-gallery .slideset video,
    .bg-gallery.image-top-section video {
        width: 100%;
        height: auto;
    }
}
/*
@media only screen and (max-width: 767px) {
    .animation-gallery .slideset video,
    .bg-gallery.image-top-section video {
        display: none;
    }
}
*/
.structure-section .structure-gallery .post-box .img-box img {
    background: url('https://agents.williampitt.com/images/default/prop_home.jpg') center center no-repeat;
    background-size: cover;
}

.user-box .jcf-scrollable ul.lang-list {
    overflow-y: scroll;
    max-height: 125px;
}
.image-top-section img {
    width: 100%;
}
.info-date-bar .date-holder {
    min-height: 94px;
}
.subnav-bar.sticky-box.fixed-position {
    border-top: 1px solid #f6f6f6;
}
.jcf-list ul li {
	background: #fff;
}
.personal-information.style02 .text-holder {
    width: auto;
}
@media (min-width: 768px) {
    .personal-information.style02 .text-holder {
    width: auto;
        max-width: 50%;
    }
}
.add-headline.no-languages:after {
    background: transparent;
    height: 0;
}
.page-template-agent-landing .start-section-holder.alt {
    padding-top: 0;
}
.blockquote-container .author em,
.blockquote-section > .slide .author em {
    font-style: normal;
    color: #d3c54f;
}
.properties-list .add-info-block .frame .add-list .info {
    text-transform: uppercase;
}
.manager-info-section .phone-list a,
.contact-box .phone-link {
    font-weight: normal;
}
.office-page.staff-all-page .breadcrumbs-holder {
    background: transparent;
    border-bottom: none;
}
.office-page .map {
    height: 240px;
}
.page-template-page-contact .infoBox {
    margin-top: -80px;
    margin-left: -11px;
}

@media only screen and (min-width: 961px) {
    .staff-all-page .video-news-section > .frame.justone {
        max-width: 582px;
    }
}
.jcf-select-chosen-select {
    display: none;
}
.chosen-container {
    max-width: 100%;
}
.manager-info-section h3 a {
    color: #11305a;
}

/* Gravity Forms Rewrites */
.wpsir-bottom-form .gform_wrapper.two-column_wrapper ul.gform_fields {
    display: none;
}
.wpsir-bottom-form .gform_wrapper.two-column_wrapper ul.gform_fields.gform_column {
    display: block;
    float: left;
    width: 50%;
}
.wpsir-bottom-form .gform_wrapper.two-column_wrapper ul.gform_column li.gsection:first-child {
    display: none;
}
.wpsir-bottom-form .gform_wrapper {
    clear: left;
    margin-bottom: 0;
}
.wpsir-bottom-form .gform_wrapper .gsection {
    display: none;
}
.wpsir-bottom-form .gform_wrapper .gform_footer {
    text-align: center;
    padding-bottom: 0;
}
.wpsir-bottom-form .gform_wrapper .gform_footer input {
    margin-bottom: 0;
}
.wpsir-bottom-form .gform_wrapper ul.gfield_checkbox li {
    float: left;
    width: 45%;
}
.wpsir-bottom-form .gform_wrapper ul.gfield_checkbox label {
    display: inline;
}

/* Aris Gravity Form Rewrites */
.wpsir-bottom-form .gfield_checkbox .jcf-checkbox{
}
.wpsir-bottom-form .gfield_checkbox .label-holder{
    width: 50%;
}
.wpsir-bottom-form .gfield_checkbox .label-holder label{
    margin: 0;
}

.wpsir-bottom-form .textarea-holder .textarea{
    height: 15em;
}

.email-form {
    padding: 14px 10px 42px;
}
.email-form.style02 .gform_heading{
    text-align: center;
}
.email-form.style02 .gform_title{
    margin: 0 0 15px;
    color: #122a4b;
    font: 38px/42px "Sabon MT W01 Semibold","Times New Roman",Times,serif;
    letter-spacing: 0.5px;
}
.email-form.style02 .gform_description{
    font-size: 16px;
    line-height: 27px;
    margin: 0;
}
.email-form.style02 .gfield .cell{
    width: 100%;
}
.email-form.style02 .gform_wrapper ul li.gfield.gfield_html img{
    max-width: 100% !important;
}
.email-form.style02 .gform_wrapper .gform_footer {
    text-align: center;
    padding-bottom: 0;
}
.email-form.style02 .gforms_confirmation_message_1{
    text-align: center;
    font: 38px/42px "Sabon MT W01 Semibold","Times New Roman",Times,serif;
    margin: 0 0 15px;
    padding: 14px 10px 42px;
    color: #122a4b;
}

/* End Gravity Forms Rewrites */

/* Map tweaks */
.map-canvas img,
.map-section .slide img {
    max-width: none;
}
.map-holder .infoBox img,
.map-section .slide img {
    width: auto;
    height: auto;
}
.map-holder .map .popup {
    top: 0;
    left: 0;
}
.office-page .map-holder {
    height: 240px;
}
.page-template-page-contact .map-holder {
    height: auto;
}
.page-template-page-contact .map-holder .slide .map {
    height: 600px;
}
.infoBox img {
    z-index: 99;
}
.map-holder .popup a.notblue {
    font-weight: normal;
    color: #333;
}
.map-holder .popup a.notblue:hover {
    text-decoration: underline;
}
.map-holder .loadMap {
    padding: 20px;
    font-style: italic;
}
@media only screen and (min-width: 1140px) {
    .single-mrt_lifestyle .map-holder .infoBox,
    .single-mrt_community .map-holder .infoBox {
        margin-top: -27px;
        margin-left: -13px;
    }
    .single-mrt_lifestyle .map-holder .infoBox .popup,
    .single-mrt_community .map-holder .infoBox .popup {
        position: static;
    }
}
@media only screen and (max-width: 1140px) and (min-width: 961px) {
    .map-holder .popup .frame {
        padding: 16px;
    }
}
@media only screen and (max-width: 1140px) {
    .single-mrt_lifestyle .map-holder .infoBox,
    .single-mrt_community .map-holder .infoBox {
        margin-top: -53px;
        margin-left: -15px;
    }
    .map-holder .infoBox img {
        margin-right: -158px !important;
        margin-top: 27px !important;
    }
}
@media (min-width: 768px) {
    .single-mrt_community .section-map {
        margin-top: 0;
    }
}

/* TypeAhead autosuggest - see https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#look-and-feel */
.tt-input,
.tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 0 0 8px 8px;
    outline: none;
}

.tt-input {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-dropdown-menu {
    width: 100%;
    margin-top: 12px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    text-align: left !important;
    max-height: 300px;
    overflow-y: auto;
}

.tt-suggestions {
    text-align: left !important;
    margin: 0;
}
.tt-suggestion {
    text-align: left !important;
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}
.tt-suggestion p {
    margin-bottom: 0;
    cursor: pointer;
    text-align: left;
}
.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #001E45;
}
.twitter-typeahead {
    width: 100%;
}
.adv-search .search-row, .leadership-options {
    overflow: visible;
}
.keyword-agents-row .tt-dropdown-menu,
.comm-search-container .tt-dropdown-menu {
    margin-top: -17px;
}
.keyword-agents-refine-row .tt-dropdown-menu,
.leadership-options .tt-dropdown-menu {
    margin-top: -1px;
}
.start-section-holder .page-heading .leadership-options p {
    text-transform: none;
    font: 16px/22px 'News Gothic MT W01', Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    font-weight: normal;
    margin: 0;
    color: #333;
}
.start-section-holder .page-heading .leadership-options .tt-cursor p {
    color: #fff;
}

.page-template-agent-search-results .select-holder select {
    width: 220px !important;
}
@media only screen and (max-width: 767px) {
    .page-template-agent-search-results .jcf-select.jcf-select-pagination-select .jcf-select-opener {
        display: none;
    }
    .property-detail-page.staff-all-page .section-overview .description-block.show-text {
        max-height: 2000px;
    }
}
.personal-information .phones-list li.officenum:after {
    content: "O";
}
.personal-information .phones-list li.mobilenum:after {
    content: "M";
}
@media only screen and (min-width: 960px) {
    .center-somehow-3 > li:first-child {
        margin-left: 12.5%;
    }
    .center-somehow-2 > li:first-child {
        margin-left: 25%;
    }
    .center-somehow-1 > li:first-child {
        margin-left: 37.5%;
    }
}
/** Agent sites **/
.subsite .video-news-section {
    background: transparent;
    padding: 0;
}
@media only screen and (max-width: 767px) {
    .subsite .video-news-section .description-block {
        height: auto;
    }
    .subsite .video-news-section .description-block .short-description {
        display: block !important;
    }
}
@media only screen and (min-width: 961px) {
    .subsite.nophoto #header .title-area, .subsite.nophoto #header .top-bar .name h1 a .mobile,
    .subsite.nophoto #header .title-area, .subsite.nophoto #header .top-bar .name div.header-logo-image-non-h1 a .mobile{
        height: 41px;
    }
}
@media only screen and (max-width: 960px) and (min-width: 768px) {
    .subsite.nophoto #header .top-bar .name h1 a .mobile,
    .subsite.nophoto #header .top-bar .name div.header-logo-image-non-h1 a .mobile{
        width: 205px;
    }
}
.subsite-home-page .listings-section .posts .post.sold {
    cursor: default;
}
.personal-information .photo-box {
    max-width: 390px;
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .personal-information .photo-box {
        max-width: 240px;
    }

}
#footer .description-block p a {
    color: #99ACC5;
}
#footer .copy a {
    color: #ccc;
}
#footer .description-block p a:hover,
#footer .copy a:hover {
    color: #eee;
}
.subsite .search-page-containner {
    margin-top: 0;
}

/* Top nav adjustments */
.left-off-canvas-toggle {
    z-index: 1000000;
}
.left-off-canvas-menu ul.off-canvas-list li.back a {
    padding-top: 16px;
    padding-bottom: 15px;
}
.search-box .not-open-close {
    display: block;
    position: relative;
    line-height: 18px;
}
.search-box .not-open-close .add-holder {
    text-align: center;
    font-size: 11px;
    line-height: 14px;
    padding: 0 5px 10px;
    margin-top: -10px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.search-box .not-open-close .opener {
    display: block;
    font-size: 11px;
    line-height: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: none;
    color: #0f284d;
}
@media only screen and (min-width: 768px) {
    .search-box .not-open-close .opener {
        font-size: 13px;
        line-height: 16px;
        display: inline-block;
        vertical-align: top;
    }
}
@media only screen and (max-width: 767px) {
    .search-box .not-open-close .opener {
        display: block;
        position: relative;
    }
}
.top-bar-section .dropdown li + li + li + li + li {
    display: inline-block;
}
.top-bar-section .single-nav .dropdown li + li + li a {
    font-family: 'News Gothic MT W01', Arial, Helvetica, sans-serif !important;
    color: #CECECE !important;
}
.top-bar-section .single-nav .dropdown li + li + li a:hover {
    color: #fff !important;
}
.top-bar-section .single-nav .dropdown li + li + li + li {
    padding-left: 0 !important;
}
.top-bar-section .single-nav .dropdown li + li + li {
    width: 100% !important;
}
.top-bar-section .single-nav .dropdown:before {
    background: none;
}
@media only screen and (min-width: 961px) {
    .top-bar-section .single-nav .dropdown {
        padding-right: 0 !important;
        padding-bottom: 5px !important;
        width: 247px !important;
        margin-left: -116px !important;
    }
}

/* Tweaks by Aris */
/* Top nav adjustments */
.top-bar-section .triple-nav .dropdown li + li + li {
    width: 33%;
    position: relative;
}

.top-bar-section .triple-nav .dropdown li + li + li ul li{
    width: 100%;
}

.top-bar-section .dropdown li ul{
    width: 100%;
}

.top-bar-section .triple-nav .dropdown:before {
    background: none;
}

.top-bar-section .triple-nav li.has-dropdown:after {
    content: "";
    position: absolute;
    left: 90%;
    top: 0px;
    bottom: 0px;
    width: 1px;
    background: url(images/divider-base-drop.png) repeat-y;
}

.top-bar-section .triple-nav li.has-dropdown:last-child:after {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    background: none;
}

.lifestyle-page .row .start-section-holder .alt2{
    padding-top: 155px;
    padding-bottom: 160px;
}

/* Galleria */
.galleria-container{
    width: 100% !important;
}

/* Contact Page Tweaks */
#office-grid .large-block-grid-4 > li:nth-of-type(4n+1){
    clear: none;
}
#office-grid .medium-block-grid-3 > li:nth-of-type(3n+1){
    clear: none;
}

@media only screen and (min-width: 961px) {
    .top-bar-section .triple-nav .dropdown {
        padding-right: 0 !important;
        width: 880px !important;
        left: -250px !important;
    }
}

@media only screen and (max-width: 40em) {
    /* Contact Page Tweaks */
    #office-grid [class*="block-grid-"] > li{
        float: none;
    }

}
/** Search page **/
.calendar-filter-box input,
.calendar-filter-box input:input-placeholder {
    color: #333;
    opacity: 1;
}
.calendar-filter-box input:-webkit-input-placeholder {
    color: #333;
    opacity: 1;
}
.calendar-filter-box input::-webkit-input-placeholder {
    color: #333;
    opacity: 1;
}
.calendar-filter-box input:-moz-placeholder {
    color: #333;
    opacity: 1;
}
.calendar-filter-box input::-moz-placeholder {
    color: #333;
    opacity: 1;
}
.calendar-filter-box input:-ms-input-placeholder {
    color: #333;
    opacity: 1;
}
.search-option-section .popular-search-box .arch .chosen-container-multi .chosen-choices li.search-field input[type="text"],
.allow-overflow .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    width: 100% !important;
}
@media only screen and (min-width: 768px) {
    .crazy-mike {
        width: 48%;
        position: relative;
        top: -50px;
    }
}
@media only screen and (max-width: 768px) {
    .calendar-filter-box input {
        margin-bottom: 5px;
    }
}
.jcf-select.jcf-select-filter-search {
    width: 99%;
    margin-left: 1%;
}
.bottom-fields {
    overflow: hidden;
}
.keyword-search-box {
    overflow: visible;
    height: 150px;
}
.keyword-search-box .search-container {
    overflow: visible;
    width: 64%;
}
@media only screen and (max-width: 1000px) {
    .keyword-search-box .search-container {
        width: 50%
    }
}
@media only screen and (min-width: 768px) and (max-width: 840px) {
    .keyword-search-box .search-container {
        width: 40%
    }
}
@media only screen and (max-width: 767px) {
    .keyword-search-box .search-container {
        width: 100%
    }
    .keyword-search-box {
        height: auto;
    }
}
.keyword-search-box .search-container .input-holder {
    overflow: visible;
}
.result-count .singular {
    display: none;
}
.page-template-page-prop-search .tt-dropdown-menu {
    margin-top: 0;
}
.share-box{
    width: 30%;
    margin: 0 auto;
    text-align: center
}
.share-box #twitter-root{
    float: left;
}
.share{
    width: 100%;
}
.share #twitter-root{
    float: left;
    width: 25%;
}

/* Development Landing */

.section-developments .sub-headline {
    padding: 28px 0 12px;
    text-align: center;
}

.section-developments .sub-headline h2 {
    color: #313e5d;
    font: 40px/50px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    letter-spacing: 1px;
    margin: 0;
}

.development-wrap {
    position: relative;
}

.development-wrap .development {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.development-wrap .bg-stretch {
    position: relative;
    width: 100%;
    height: 100%;
}

.development-wrap .bg-stretch img {
    max-width: none;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.development-wrap .bg-stretch:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, .59);
}

.development-wrap .box {
    float: left;
    width: 60%;
    overflow: hidden;
    position: relative;
}

.development-wrap .box.style02 {
    width: 50%;
}

.development-wrap .box.style02:first-child {
    width: 50%;
}

.development-wrap .box:first-child {
    width: 40%;
    border-right: 2px solid #fff;
}

.development-wrap .box.overlay-none:after {
    display: none;
}


.development-wrap .description {
    color: #fff;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 4em;
    width: 100%;
    text-align: center;
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
}

.development-wrap .description,
.development-wrap .description p {
    line-height: 24px;
}

.development-wrap .description .title {
    padding: 38px 0 14px;
}

.development-wrap .description .title,
.development-wrap .description .title p {
    font: italic 28px/34px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    letter-spacing: 2px;
    word-spacing: -2px;
    min-height: 34px;
}

.development-wrap .description .title p {
    margin-bottom: 13px;
}

.development-wrap .description .title p:last-child {
    margin-bottom: 0 !important;
}

.development-wrap .description .title h3,
.development-wrap .description .title h3 a {
    color: #fff;
    font: 44px/1 "News Gothic MT W01", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    margin: 0;
}

.development-wrap .description .title h3 strong {
    font-weight: bold;
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
}

.development-wrap .description .text-alignleft {
    text-align: left;
}

.development-wrap .description .button {
    height: 57px;
    background: none;
    border: 1px solid #b9b9b9;
}

.development-wrap .description .button:hover {
    background: rgba(0, 0, 0, .1);
}

.development-wrap .add-padding-box {
    padding-left: 30px;
}

.page-template-page-developments .section-developments {
    margin-bottom: 3px;
}

.page-template-page-developments .development-wrap .development {
    height: 558px;
}

.page-template-page-developments .development-wrap .description .title {
    padding-top: 72px;
}

@media only screen and (min-width:768px) and (max-width:960px) {
    .page-template-page-developments .development-wrap .description .title {
        padding-top: 33px;
        padding-bottom: 48px;
    }

    .page-template-page-developments .development-wrap .description .title h3 {
        font-size: 38px;
    }

    .page-template-page-developments .development-wrap .description .logo-gallery {
        margin-bottom: 47px;
    }

    .page-template-page-developments .development-wrap .description p {
        display: none;
    }

    .page-template-page-developments .development-wrap .development {
        height: 421px;
    }
}

/* Single Development */
.single-mrt_development #floorplans a strong {
    color: #333;
}
.single-mrt_development .about-area-section .content-block .image-block img{
    height: auto;
}
.single-mrt_development .about-area-section .video{
    display:none;
}

/** Homepage/Header **/
/*
.page-template-page-homepage .animation-gallery .image-box img {
    height: 100%;
    width: auto;
}
*/
#site-navigation .top-bar-section .triple-nav .dropdown li.menu-item-has-children {
    padding: 0 15px 0 10px !important;
}

.structure-section .structure-gallery .post-box .img-box img {
    min-height: 225px;
}

/** Start search icon up top **/
#header .bar .btn-search {
    background: url(images/search-icon01.svg?r=2) no-repeat #F6F4EF;
    background-size: 48px;
}
#header .bar .btn-search:hover {
    opacity: 1;
    background: url(images/search-icon01-hover.svg?r=2) no-repeat #F6F4EF;
    background-size: 48px;
    background-position: 0 0;
}
#header.fixed-position .bar .btn-search, #header.white .bar .btn-search, .nophoto #header .bar .btn-search {
    background: url(images/search-icon02.svg?r=2) no-repeat #002B5C;
    background-size: 48px;
}
#header.fixed-position .bar .btn-search:hover, #header.white .bar .btn-search:hover, .nophoto #header .bar .btn-search:hover {
    background: url(images/search-icon02-hover.svg?r=2) no-repeat #002B5C;
    background-size: 48px;
    opacity: 1;
}
@media only screen and (max-width: 1140px) {
    #header .bar .btn-search,
    #header .bar .btn-search:hover,
    #header.fixed-position .bar .btn-search, #header.white .bar .btn-search, .nophoto #header .bar .btn-search,
    #header.fixed-position .bar .btn-search:hover, #header.white .bar .btn-search:hover, .nophoto #header .bar .btn-search:hover {
        background-size: 41px;
        background-position: -3px -1px;
    }
}
@media only screen and (max-width: 960px) {
    #header .bar .btn-search {
        background: url(images/search-icon02.svg?r=2) no-repeat #002B5C;
        background-size: 41px;
        background-position: -3px -1px;
    }
    #header .bar .btn-search:hover {
        background: url(images/search-icon02-hover.svg) no-repeat #002B5C;
        background-size: 41px;
        background-position: -3px -1px;
    }
}
@media only screen and (max-width: 767px) {
    #header .bar .btn-search:after {
        width: 0;
    }
}
/** End search icon **/

.top-bar-section .dropdown li.map-search-link,
.left-off-canvas-menu ul.off-canvas-list li.map-search-link { /* Temporary */
    display: none !important;
}
@media only screen and (max-width: 767px) {
    .story-section .story-box {
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 767px) {
    .explore-section .news-box-next {
        display: block;
        width: 100% !important;
        padding: 0 0 4px;
    }
    .explore-section .news-box-next .caption .holder .frame {
        max-width: 336px;
        width: 100%;
        margin: 25% auto 0;
        display: block;
    }
}
/*
#header .top-bar-section .has-dropdown > a {
    height: 58px;
}
#header .top-bar-section .has-dropdown li a {
    height: auto !important;
}
#site-navigation .top-bar-section .dropdown {
    padding-top: 32px;
}
*/

.animation-gallery .slideset {
    height: 400px;
    /*background: url(images/fancybox/fancybox_loading.gif) center center no-repeat;*/
}
.animation-gallery .slideset .slide {
    background: grey;
    opacity: 0;
}
.animation-gallery .slideset .slide:first-child,
.animation-gallery .slideset .slide.active {
    opacity: 1;
}
@media only screen and (min-width: 961px) {
    .animation-gallery .slideset {
        height: 600px;
    }
}
@media only screen and (max-width:960px) {
    .animation-gallery {
        margin: 0 !important;
    }
}
@media only screen and (max-width:768px) {
    .animation-gallery .slideset {
        height: 322px;
    }
}

.animation-gallery .image-box img {
    width: 100%;
}
.fixed-position .top-bar .title-area {
    margin-right: 53px;
}
#header.fixed-position .top-bar-section a {
    padding: 14px !important;
}
/* fix menu breaking */
@media only screen and (min-width: 960px) and (max-width: 1139px) {
	#header.fixed-position .top-bar-section a {
		padding:0 7px !important;
	}
	#header.fixed-position .top-bar-section .has-dropdown > a,
	#header.fixed-position .top-bar-section a {
		padding-right: 7px !important;
		padding-left: 7px !important;
	}
	.fixed-position .top-bar .title-area {
		margin-right: 10px !important;
	}
	.subsite .fixed-position .top-bar .title-area {
		margin-right: 20px !important;
	}
}
.user-box .text-holder .map {
    width: auto;
    height: auto;
}
#header_search_form .block {
    height: 51px;
}
#header_search_form .twitter-typeahead {
    top: -19px;
}
#header_search_form .tt-dropdown-menu {
    margin-top: -6px;
}

.gps {
    background-color: #182b49;
}
.gps .button {
    margin: 10px 2.5%;
    height: 55px;
    background: none;
    border: 1px solid #726c70;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #e9e7e3;
    padding: 19px 10px 18px;
    letter-spacing: .5px;
    width: 95%;
}
.gps .button img {
    margin: -4px 5px 0px 5px;
}

.gallery-filter-bar .select-menu.international .opener-menu:after {
    background: none;
}
.homepage-props .structure-gallery-holder {
    display: none;
}
.homepage-props .structure-gallery-holder.active {
    display: block;
}
@media only screen and (min-width: 961px) {
    .post-grid li.first_of_three {
        margin-left: 12.5%;
    }
    .post-grid li.first_of_two {
        margin-left: 25%;
    }
    .post-grid li.first_of_one {
        margin-left: 37.5%;
    }
}

/* International */
.global-search .add-block-search-form .search-form fieldset {
    z-index: 100;
}
.custom-search-box,
.custom-search-box > .holder {
    overflow: visible;
}
.global-search .tt-dropdown-menu {
    margin-top: 0
}

/* Lifestyles */
.page-template-page-lifestyle-landing .start-section-holder.alt2{
    padding: 0;
    height: 500px;
    z-index: -99;
}

.page-template-page-lifestyle-landing .bg-gallery{
    z-index: 0;
}

.page-template-page-lifestyle-landing .slide .page-heading{
    background: transparent;
    padding-top: 0;
    position: absolute;
    top: 360px;
    left: 0;
    width: 100%;
}
.page-template-page-lifestyle-landing .slide .button.btn-white {
    background: rgba(0, 0, 0, .05);
    border: 1px solid #d9d9d9;
    padding: 14px 10px;
    height: 49px;
    width: 304px;
}

.page-template-page-lifestyle-landing .slide h1 {
    font-size: 61px;
    line-height: 74px;
    letter-spacing: 2px;
    word-spacing: 3px;
}

.page-template-page-lifestyle-landing .slide p {
    text-transform: uppercase;
    font: bold 20px/24px "News Gothic MT W01", Arial, Helvetica, sans-serif;
    letter-spacing: 3px;
    margin: 5px 0 0;
}

.page-template-page-lifestyle-landing .bg-gallery .pagination{
    display:none;
}

@media only screen and (max-width:768px) {
    .page-template-page-lifestyle-landing .start-section-holder.alt2{
        padding: 0;
        height: auto;
    }
}

/* Prop Results and prop popup */
.map-filter-form .your-search-filter {
    height: 45px;
}
.jcf-select.jcf-select-pagination-select .jcf-select-text {
    width: 75%;
}

.search-content-result .text-holder h3 a {
    color: #0F284D;
}
.search-content-result .text-holder h3 a:hover {
    text-decoration: underline;
}
img.mls-logo {
    max-height: 24px;
}
.mls-disclaimer {
    padding: 15px 30px;
    background: #F6F5F2;
}
.property-detail-page .personal-info-box h2 {
    max-height: 26px;
    overflow: hidden;
}
.property-detail-page .mls-disclaimer {
    background: #EBEAE5;
}
.mls-disclaimer img.mls-logo {
    display: inline !important;
    margin-right: 10px;
    max-height: none;
    position: relative;
    top: -2px;
}
.mls-disclaimer p {
    font-size: 0.75em;
}
.detail-disclaimer {
    font-size: 60%;
    line-height: 1.6;
    margin-bottom: 0;
    padding: 0 15px;
}
.detail-disclaimer img {
    float: left;
    margin: 2px 10px 15px;
}
.search-popup-custom .chosen-container {
    width: 100% !important;
}
.communities-in-box .input-holder {
    overflow: visible;
}
.results-content-holder-view02 h3 {
    max-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.house-results-search .message-open-house.new-to-market {
    background: #2d4d91;
}

.communities-in-box .communities-add-nav li {
    width: 24.5%;
}
@media only screen and (max-width: 1140px) and (min-width: 961px) {
    .communities-in-box .communities-add-nav ul li {
        width: 24%;
    }
}
.row-filter .column-filter .column-add {
    margin-top: 15px;
}
.row-filter.add-divider:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 19px;
    width: 5.2%;
    height: 1px;
    background: #aaa9a7;
    margin: 0 0 0 -2.6%;
}

.row-filter.allow-overflow,
.row-filter.allow-overflow .select-filter,
.row-filter.allow-overflow .column-filter,
.row-filter.allow-overflow .column-filter .select-filter,
.communities-in-box.allow-overflow .input-holder,
.input-holder.allow-overflow,
.calendar-filter-box.allow-overflow,
.your-search-results {
    overflow: visible;
}
.allow-overflow .chosen-container {
    display: inline-block;
    vertical-align: top;
    position: relative;
    border: 1px solid #d5d5d5;
    margin: 0;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #eaeae9));
    background: -webkit-linear-gradient(top, #fff 0%, #eaeae9 100%);
    background: linear-gradient(to bottom, #fff 0%, #eaeae9 100%);
    box-shadow: none;
    min-height: 44px;
    line-height: 45px;
    width: 100% !important;
}
.allow-overflow .chosen-container-multi .chosen-choices {
    background: transparent;
}
.allow-overflow  .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
    color: #333;
    font-size: 16px;
}
.your-search-results .tt-dropdown-menu {
    margin-top: -5px;
}
.house-results-search .info-container {
    min-height: 225px;
}
.gallery-result-house-map .text-holder .info .number,
.house-results-search .add-info-block .frame .add-list .number {
    text-overflow: ellipsis;
    overflow: hidden;
}
.gallery-map-section .map-box {
    height: 850px;
}
.gallery-map-section .map-canvas {
    width:340px;
    height: 830px;
    background: #F0EDE5;
}

.popup-block {
    display: block;
    position: absolute;
    bottom: 52.5%;
    right: 17.4%;
    width: 273px;
    border: 1px solid #ccc;
    background: #fff;
}

.popup-block > .frame {
    background: #fff;
    position: relative;
    z-index: 5;
}

.popup-block:before,
.popup-block:after {
    content: "";
    position: absolute;
    left: -1px;
    bottom: -20px;
    border: solid;
    border-width: 20px;
    border-color: transparent transparent transparent #ccc;
    z-index: 3;
}

.popup-block:after {
    bottom: -18px;
    left: 0;
    border-width: 19px;
    border-color: transparent transparent transparent #fff;
}

.popup-block .holder {
    padding: 11px 11px 17px;
    overflow: hidden;
}

.popup-block .holder .img-box {
    float: left;
    height: auto;
    margin: -2px 10px 0 0;
}

.popup-block .holder .text-holder {
    overflow: hidden;
}

.popup-block .holder p {
    margin: 0;
    font-size: 10px;
    line-height: 13px;
    color: #70798a;
    margin: 0;
    letter-spacing: .2px;
}

.popup-block .heading {
    background: #eef0ee;
    padding: 10px 12px 9px;
}

.popup-block .heading h4 {
    font-size: 12px;
    line-height: 14px;
    color: #0f284d;
    margin: 0 0 2px;
}

.popup-block .heading h5 {
    font-size: 10px;
    line-height: 13px;
    margin: 0;
    color: #697283;
}

.popup-block .close {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 1px solid #ccc;
    background: #fff;
    text-align: center;
    top: -15px;
    right: -15px;
    font-size: 16px;
    line-height: 16px;
    padding: 5px 2px 1px;
    color: #0f284d;
}

.popup-block .close:hover {
    color: #243764;
}
.page.page-template-page-prop-search-results a.btn-top {
    bottom: 60px !important;
}
#ui-datepicker-div {
    z-index: 99999 !important;
}

/** Prop Details **/
.property-detail-page .article .accordion .content .list {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    webkit-column-count: 2;
}
.property-detail-page .article .accordion .content .list li {
    width: 100%;
}

.rsSlideCount {
    background: rgba(0, 0, 0, .6);
    color: #eee;
    position: relative;
    top: -66px;
    left: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: .75em;
}
.rsFullscreen .rsSlideCount {
    top: -74px;
}
@media only screen and (max-width: 768px) {
    .rsSlideCount {
        top: -30px;
    }
}
#vtours li a {
    background: transparent;
}
.slw-button .button {
    padding-left: 1rem;
    text-align: left;
}
@media only screen and (min-width: 767px) {
    .slw-button .button {
        padding-left: 1.5rem;
    }
}
@media only screen and (max-width: 767px) {
    .section-lifestyles .slideshow .description {
        margin-top: 20%;
    }
    body .js-mobile-description.show-text .full-description.no-mobile-dude {
        display: none !important;
    }
}
#full-screen-floater {
    text-transform: uppercase;
    position: absolute;
    font-size: 11px;
    color: #030F1F;
    width: 200px;
    margin: 23px 0px 0px -100px;
    box-shadow: rgba(0, 0, 0, 0.247059) 0px 0px 2px 2px;
    display: none;
    text-align: center;
    padding: 10px 0;
    background: #F6F5F1;
    z-index: 500;
}
.grab-cursor, .grabbing-cursor {
    cursor: pointer !important;
}
.rsFullscreen .grab-cursor {
    cursor: url(royalslider/grab.png) 8 8, move !important;
}
.rsFullscreen .grabbing-cursor {
    cursor: url(royalslider/grabbing.png) 8 8, move !important;
}
.rsFullscreen.rsDefault .rsThumb {
    width: 60px;
    height: 45px;
}
.rsFullscreen.rsDefault .rsThumbsHor {
    height: 45px;
}
.rsFullscreen.rsDefault.rsVideoPlaying .rsThumbsHor {
    height: 0;
}
@media only screen and (min-width: 1141px) {
    .bar-listing-tools .button-holder .button {
        padding: 12px 30px;
    }
}
.mfp-bg {
    z-index: 99999;
}
.mfp-wrap {
    z-index: 100000;
}
@media only screen and (min-width:768px) {
    .nyc_driving_box.no-train {
        margin-left: 25%;
        margin-right: 25%;
    }
}
.getting-city-section .city-time-box .button.red-style {
    height: auto;
}
.content .halflist {
    width: 45%;
    margin-right: 5%;
    float: left;
    margin-bottom: 20px;
}
.property-detail-page .article .accordion .content .halflist .list li:first-child,
.property-detail-page .article .accordion .content .halflist .list li {
    margin-top: 5px !important;
}
.tab-content-info .schools-tab,
.tab-content-info .schools-tab-listings {
    display: block;
    max-height: 450px;
    overflow-y: auto;
}
.tab-content-info .schools-tab-listings-desktop tr{
    padding-right: 40px !important;
    padding-left: 40px !important;
}
.tab-content-info .schools-tab-listings {
    display: block;
    max-height: 450px;
    overflow-y: auto;
}

.mls-attribution {
    text-align: center;
}

.schools-tab-listings-top td {
    padding-right: 0px !important;
    padding-right: 100px !important;
}

.schools-tab-listings-top td:first-child {
    font-weight: normal !important;
    font-size: 13px !important;
}

.schools-tab-listings tbody {
    border-top: hidden !important;
    max-height: auto !important;
}

.schools-tab-listings th  {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.schools-tab-listings td  {
    padding-right: 10px !important;
    padding-left: 10px !important;
}



.property-detail-page .schools-tab-listings{
overflow:hidden;
}

.detail-disclaimer-mobile {
    font-size: 10px !important;

}

.detail-disclaimer-mobile a {
    font-size: 10px !important;

} 

.property-detail-page .text-block {
    font-size: 11px;
}




.property-detail-page .personal-info-box.office-box .phones-list li:after {
    content: "O";
}
.property-detail-page .personal-info-box h2 a {
    color: #0f284d;
}
@media only screen and (max-width: 400px) {
    .property-detail-page a.btn-top {
        bottom: 60px !important;
    }
}
@media only screen and (max-width: 767px) {
    .property-detail-page.nophoto .custom-gallery {
        height: 135px;
    }
    .rsDefault .rsThumbsHor {
        display: none;
        height: 0 !important;
    }
}

#mrt-gallery.rsDefault .rsFullscreenIcn {
    margin: 0;
    width: 64px;
    height: 64px;
    background: url('images/rs_full.png') 0 0;
    background-color: transparent;
    position: relative;
    right: 27px;
    bottom: 28px;
}
#mrt-gallery.rsDefault.rsFullscreen .rsFullscreenIcn {
    background: url('images/rs_full_close.png') 0 0;
    background-position: 0 0;
}

.rsVideoContainer {
    position: absolute !important;
}

/*
.rsVideoPlaying .rsVideoContainer {
    margin-top: 90px !important;
    max-height: 500px !important;
}
*/

.rsFullscreen.rsVideoPlaying .rsVideoContainer {
    margin-top: 0 !important;
    max-height: 100% !important;
}
.rsDefault .rsVideoFrameHolder {
    background: #000;
}
/*
.wellcomemat-support .rsVideoContainer iframe {
    height: 100% !important;
    max-width: 890px !important;
    margin: 0 0 0 25%;
}
*/
#mrt-gallery.video-gallery .rsContainer .rsContent {
    background: #000;
}
.wmplayer-ipad iframe {
    display: block;
    margin: 0 auto;
}
@media only screen and (min-width: 1024px) {
    .wmplayer-ipad iframe {
        margin: 92px auto 0;
    }
}

body .rsDefault .rsBtnCenterer {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
body .rsDefault .rsPlayBtn {
    width: 100%;
    height: 100%;
    margin-left: 0;
    margin-top: 0;
}
body .rsDefault .rsPlayBtnIcon {
    background: url('images/playbtn.png') center center no-repeat transparent;
    width: 100%;
    height: 100%;
    border-radius: 0;
    cursor: pointer;
}
body .rsDefault .rsPlayBtn:hover .rsPlayBtnIcon {
    background-color: transparent;
}
body .rsDefault.tour360 .rsPlayBtnIcon,
body .rsDefault .rsPlayBtnIcon.rsTourBtnIcon {
    background: url(images/360_btn.svg) center center no-repeat transparent;
    background-size: 118px 118px;
}

.rsVideoContainer.rsIOSVideo iframe,
.rsVideoContainer.rsIOSVideo video,
.rsVideoContainer.rsIOSVideo embed {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 44px;
}
body .rsDefault .rsVideoFrameHolder {
    background: #000 !important;
}
#wmplayer {
    margin: 0 auto;
}
/*
@media only screen and (min-width: 481px) {
    .rsVideoContainer .rsBtnCenterer {
        opacity: 0;
        -webkit-transition:opacity 200ms ease;
        -moz-transition:opacity 200ms ease;
        -ms-transition:opacity 200ms ease;
        -o-transition:opacity 200ms ease;
        transition:opacity 200ms ease;
    }
    .rsVideoContainer:hover .rsBtnCenterer {
        opacity: 1;
    }
}
*/

.royalSlider a {
    visibility: hidden;
}
.open-house-section .open-house-box .opener.noplus:before,
.open-house-section .open-house-box .opener.noplus:after {
    display: none;
}
#social-networks .button {
    background: transparent;
}
.property-detail-page .section-map .map-holder:before, .property-detail-page .section-map .map-holder:after {
    z-index: 999;
}
.about-area-section .content-block .image-block {
    height: 360px;
}
.about-area-section .content-block .text-holder {
    padding-top: 49px;
}
.about-area-section .content-block .image-block img {
    background-size: cover;
    background-position: center center;
    height: 360px !important;
}
@media only screen and (min-width: 768px) {
    .about-area-section .content-block .button-holder {
        width: 130%;
    }
    .property-detail-page .section-map .popup-block .holder .img-box {
        width: auto;
    }
}
.property-detail-page #inquire {
    position: relative;
    top: -100px;
}
#mrt-gallery {
    width: 100%;
    height: 100%;
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    background-size: cover;
    opacity: 0.5;
}
#mrt-gallery.rsHor {
    opacity: 1.0;
}
#mrt-gallery.Custom {
	max-width: none;
}
#mrt-gallery.go640 {
    max-width: 800px;
}
#mrt-gallery.rsFullscreen,
#mrt-gallery.rsFullscreen .rsOverflow {
    width: 100%;
    max-width: 100%;
}

/** Communities and Lifestyles **/
.community-redesign .tt-dropdown-menu {
    margin-top: 0;
}
.community-redesign .map-holder .popup {
    width: 270px;
}

li.area.hideme {
    display: block;
}
@media only screen and (min-width: 768px) {
    .page-heading .button-holder .jcf-select {
        background: rgba(0, 30, 69, .55);
    }
    li.area.hideme {
        display: none;
    }
}
.single-mrt_community .properties-list .post,
.single-mrt_lifestyle .properties-list .post {
    width: 270px;
}
.properties-list .add-info-block .frame .add-list .number {
    text-overflow: ellipsis;
    overflow: hidden;
}
.development-landing .sub-menu {
    padding-left: 0;
}

/* Video Page */

@media only screen and (min-width: 961px) {
    .add-menu > ul > li > a {
        width: auto;
        font-size: 0.85em;
    }
}
.video-posts .video-holder {
    cursor: pointer;
}
.video-posts h2 {
    max-height: 98px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#video-filters{
    margin: 0;
    padding: 0;
    list-style: none;
}

#video-posts footer span.playlist {
    color: #5991e3;
}

#video-posts .large-block-grid-4 > li:nth-of-type(4n+1){
    clear: none;
}

#video-posts .medium-block-grid-3 > li:nth-of-type(3n+1) {
    clear: none;
}

.page-template-page-video nav.add-menu:before{
    left: 0px;
}

.page-template-page-video nav.add-menu:after{
    right: 0px;
}

.page-template-page-video .video-posts > li {
    min-height: 330px;
}

@media only screen and (min-width: 961px) {
    #video-posts .large-block-grid-4 > li:nth-of-type(4n+1){
        clear: none
    }

    #video-posts .medium-block-grid-3 > li:nth-of-type(3n+1) {
        clear: none;
    }
}

@media only screen and (max-width: 40em) {
    .video-posts [class*="block-grid-"] > li{
        float: none;
    }

    .page-template-page-video .video-posts > li {
        min-height: 0;
    }

}

/* Communities Landing Page */
#comm-map {
    height: 538px;
}
.community-redesign i.fa-search {
    margin-right: 10px;
}
@media only screen and (max-width: 40em) {
    .community-redesign i.fa-search {
        margin-top: -2px;
        margin-right: 0px;
    }
}
.heading--h2--light {
    color: white;
    font: 32px/36px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    text-align: center;
    text-transform: uppercase;
}
.heading--h3--light {
    color: white;
    font: 24px/28px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
}
.divider--light {
    border: solid #bebebe;
    border-width: 1px 0 0;
}
.divider--blue {
    border: solid #425979;
    border-width: 1px 0 0;
}
.link--community {
    margin-bottom: 6px;
    text-align: center;
}
.link--community a {
    color: white;
    font-size: 18px;
    font-weight: bold;
}
.row--margin-bottom--med {
    margin-bottom: 60px;
}
.row--margin-bottom--large {
    margin-bottom: 120px;
}
.news-item__date {
    background: #001734;
    float: left;
    padding: 6px 0;
    position: relative;
    width: 75px;
}
.news-item__date:before {
    background: url('../wpsir/images/bg-news-date.png') no-repeat left bottom;
    content: "";
    display: block;
    position: absolute;
    left: -11px;
    bottom: -21px;
    width: 81px;
    height: 39px;
    z-index: -1;
}
.news-item__date .month {
    color: #425979;
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}
.news-item__date .date {
    color: #6290d0;
    display: block;
    font: 41px/28px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    margin-bottom: 6px;
    text-align: center;
}
.news-item__headline {
    margin-left: 95px;
}
.news-item__headline .news-item__summary {
    margin-top: 3px;
}
.news-item__title {
    color: #ccc;
    font: 18px/25px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
}
.news-item__byline {
    color: #808080;
    font-size: 14px;
    margin-bottom: 0;
}
.news-item__byline a {
    color: #5991e3;
}
.news-item__summary {
    margin-top: 14px;
}
.news-item__summary p {
    color: #ccc;
    font-size: 16px;
    line-height: 25px;
}
.button--outline-white {
    border: 1px solid #7e7e7e;
    color: white;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 16px 24px;
    text-transform: uppercase;
}
.button--outline-white:hover {
    border: 1px solid white;
    color: white;
}
.view-more {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

@media only screen and (max-width: 961px) {
    .post-type-archive-mrt_community .columns {
        margin-bottom: 24px;
    }
    .post-type-archive-mrt_community .page-heading-box h1 {
        color: white;
    }
    .visual-block {
        display: none !important;
    }
}

/** Lifestyles **/
.page-template-page-lifestyle-landing .img-list .caption .holder .frame h3 a,
.page-template-page-lifestyle-landing .img-list .caption .holder .frame span a {
    color: #fff;
}
@media only screen and (min-width: 768px) {
    .img-list .slideset > li:hover .caption {
        border-width: 1px;
    }
}

/* Market Watch page */
.tabset-search.inline {
    display: inline-block;
}
.page-curl {
    background: #f6f5f2;
    padding: 70px 0;
    position: relative;
}
.page-curl:before {
    background: url('../wpsir/images/bg-page-curl-before.png') no-repeat 0 0;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -64px;
    width: 552px;
    height: 64px;
}
.page-curl:after {
    background: url('../wpsir/images/bg-page-curl-after.png') no-repeat 0 0;
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -70px;
    width: 542px;
    height: 70px;
}

.page-curl h3 {
    color: #333;
    font: 24px/28px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    margin-bottom: 28px;
    text-align: center;
}
.page-curl p {
    color: #333;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 28px;
    text-align: center;
}
.page-curl a {
    color: #122a4b;
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
}
.page-curl a i {
    color: #a7a486;
}
.market-reports {
    position: relative;
}
.market-reports h3 {
    color: #333;
    font: 29px/34px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    margin-bottom: 28px;
}
.market-reports h4 {
    color: #333;
    font: 24px/28px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    margin: 28px 0 18px;
}
.well--beige {
    background: #eeece7;
    padding: 36px 0;
}
.well--beige h2 {
    color: #122a4b;
    font: 40px/46px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
}
.well--beige label {
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}
.well--beige .jcf-select, .well--beige .select-text {
    height: 40px;
}
label.diminutive {
    font-size: 12px;
}
.form .fieldgroup .field {
    float: left;
    margin-right: 8%;
    width: 46%;
}
.form .fieldgroup .field:last-child {
    margin-right: 0;
}
.field--checkbox {
    margin-top: 20px;
}
.field--checkbox .jcf-checkbox {
    width: 18px;
    height: 18px;
}
.field--checkbox label {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
}
.button.subscribe {
    background: #122a4b;
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-top: 20px;
    text-transform: uppercase;
    width: 320px;
}
.slick-next, .slick-prev {
    background: #f2f2f2;
    width:73px;
    height: 81px;
    position: absolute;
    top: 50%;
}
.slick-next:hover, .slick-prev:hover {
    background: #ddd;
}
.slick-next:focus, .slick-prev:focus {
    background: #f2f2f2;
    outline: none;
}
.slick-next i, .slick-prev i {
    color: #979797;
    font-size: 37px;
}
.slick-next {
    right: 0;
}
.slick-prev {
    left: 0;
}

@media only screen and (max-width: 767px) {
    .tabset-search.inline {
        display: block;
    }
    .page-curl {
        padding:18px;
        text-align: center;
    }
    .slick-item {
        text-align: center;
    }
    .slick-item img {
        display: block;
        margin: 0 auto;
    }
    .slick-next {
        right: -10px;
        top: 60%;
        padding: 0;
        width: 48px;
        height: 58px;
    }
    .slick-prev {
        left: -10px;
        top: 60%;
        padding: 0;
        width: 48px;
        height: 58px;
    }
}
@media only screen and (max-width: 480px) {
    .slick-item img {
        max-width: 280px;
    }
    .slick-next, .slick-prev {
        top: 65%;
    }
}

.listings-items.centered {
    display: inline-block;
    min-width: 270px;
}

.listings-items.twins li {
    float: left;
    margin: 0 30px;
    padding-top: 0;
    width: auto;
}
.slideshow .description .box-padding {
    padding: 0 20px;
}

/* Property Inquiry Form */
.email-form .centring-wrapper, .email-form .cell {
  overflow: visible !important;
}

.email-form .select-holder select {
  width:100% !important;
}

.message {
  background: #f4f4f4;
  border-left: 10px solid #019B30;
  padding:10px 15px;
  font-size:.75rem;
  margin-bottom:15px;
}

.message.error {
  border-color: #A10000;  
}

.page-not-found #header.site-header {
    background: #fff;
    height: 70px;
    width: 100%;
    box-shadow: none;
}
.page-header.beige {
    background: #f6f5f2;
    padding: 47px 0;
}
.page-header.beige h5 {
    color: #a7a397;
    font-size: 19px;
    font-weight: 700;
}
.page-header.beige h1 {
    color: #1a376d;
    font: 46px/46px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
}
.apologies {
    color: #333333;
    font: 29px/44px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    margin-bottom: 0;
}
.not-found .divider {
    background: #bababa;
    border: 0;
    margin: 30px auto 40px;
    height:2px;
    width: 50%;
}
.not-found p {
    margin-bottom: 5px;
}
.suggested-link {
    color: #122a4b;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.suggested-link i {
    color: #a7a486;
}
.sitemap h2 {
    color: #333333;
    font: 26px/32px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    margin: 20px 0 0;
}
.sitemap .divider {
    background: #c6c6c6;
    border: 0;
    height:1px;
    margin: 18px 0 8px;
    width: 100%;
}
.sitemap h3 {
    margin-top: 20px;
}
.sitemap h3 a {
    color: #122a4b;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.sitemap h3 a i {
    color: #a7a486;
}
.sitemap p {
    margin-bottom: 0 !important;
}
.sitemap p a {
    color: #1b62cb;
    font-size: 14px;
    line-height: 25px;
}


body.market-report .section-market .snapshot-box .num, body.market-report .section-market .snapshot-box p.note {
  text-align: center !important;
}

body.market-report .section-market .snapshot-box .price-box .num {
  font-size:100px !important;
}

body.market-report .section-market .snapshot-box {
  height:370px;
  background: #ffffff !important;
  padding:15px 0px 0px 0px;
  margin-bottom:25px !important;
  z-index: auto !important;
}

body.market-report .section-market {
  padding-top:25px !important;
}

body.market-report .snapshot-box:before, body.market-report .snapshot-box:after {
  bottom:9px !important;
  /*
  box-shadow: none !important;
  transform: none !important;
  */
}

.chart-holder {
  position: relative !important;
}

.chart-holder.inventory-monthly-chart, .chart-holder.units-sold-price-range-chart, .chart-holder.new-listings-price-range-chart {
  max-width: 720px;
  margin: 0 0 0 10px;
  padding-top: 3px;
}

.chart-holder ul.legend {
  list-style-type: none;
  margin:0px;
  padding:0px;
  font-size:12px;
  position: absolute;
  left: 33%;
  top:-5px;
}

.chart-holder ul.legend li {
  float:left;
  margin-right:25px;
  display: block;
  height: 15px;
  line-height: 17px;
}

.chart-holder ul.legend li span {
  display: block;
  float:left;
  width:20px;
  height:15px;
  margin:0px 5px 0px 0px;
}

body.market-report [class*="column"] + [class*="column"]:last-child {
  float: left !important;
}

#header.sticky-box.fixed-position {
  z-index: 999999 !important;
}

/** Fancy dropdowns for top nav **/
/** Travelers beware **/
.top-bar-section .hover > ul.dropdown,
.top-bar-section .not-click:hover > ul.dropdown,
.top-bar-section .hover > ul.dropdown li,
.top-bar-section .not-click:hover > ul.dropdown li {
    opacity: 1;
    /*
    -webkit-transition-delay:100ms;
    -moz-transition-delay:100ms;
    -ms-transition-delay:100ms;
    -o-transition-delay:100ms;
    transition-delay:100ms;
    */
    height: auto !important;
    -webkit-animation-name: menumask;
    -moz-animation-name: menumask;
    animation-name: menumask;
    -webkit-animation-duration: 200ms;
    -moz-animation-duration: 200ms;
    animation-duration: 200ms;
}

.top-bar-section ul.dropdown {
    opacity: 0;
    height: 0 !important;
    -webkit-transition:opacity 500ms ease,height 500ms ease;
    -moz-transition:opacity 500ms ease,height 500ms ease;
    -ms-transition:opacity 500ms ease,height 500ms ease;
    -o-transition:opacity 500ms ease,height 500ms ease;
    transition:opacity 500ms ease,height 500ms ease;
    overflow: hidden;
}
@-webkit-keyframes menumask {
    /*
    from {
        padding: 0;
        overflow: hidden;
        height: 0 !important;
    }
    99% {
        padding: 0;
        overflow: hidden;
        height: 0 !important;
    }
    to {
        padding: 30px 0 30px 30px !important;
        overflow: visible;
        height: auto !important;
    }
    */
}

.no-js .top-bar-section .has-dropdown:hover > .dropdown {
    opacity: 1;
}
#header .bar .login {
    transition: background-color 0.25s ease;
}

@media only screen and (min-width: 960px) {
    #market-stats .onlyshowing2 {
        margin-left: 15%;
    }
}
.keyword-search-box.international-tab .search-container .input-holder {
    overflow: visible !important;
}
.usabilla_live_button_container {
    top: 75% !important;
}
@media only screen and (max-width: 480px) {
    .usabilla_live_button_container {
        display: none;
    }
}

/** Printable **/
@media print {
    .noprint, .noprint *,
    .snapshot-box:after, .snapshot-box:before {
        display: none !important;
    }
}

/** Mobile fixes **/
@media only screen and (min-width: 768px) {
    .royalSlider.rsDefault.smallerGallery {
        width: 710px !important;
        height: 507px !important;
    }
    .royalSlider.rsDefault.smallerGallery.rsFullscreen {
        width: auto !important;
        height: auto !important;
    }
}
@media only screen and (max-width: 768px) {
    .royalSlider.rsDefault.smallerGallery {
        max-width: 360px !important;
    }
    .royalSlider.rsDefault.smallerGallery.rsFullscreen {
        width: auto !important;
        max-width: 100% !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 960px) {
    .custom-gallery {
        overflow: visible;
    }
}

/** New mobile homepage **/
@media only screen and (max-width: 768px) {
    .btn-top {
        /* fades in w/ js */
        display: none;
    }
}

@media only screen and (min-width: 961px) {
    body.property-detail-page .agents-container.style02 .personal-info-box {
        padding-top: 15px;
    }
}

/* Agent double offices */
.agent-double-office {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
}
.agent-double-office .first-office {
    padding-right: 5%;
}
@media only screen and (max-width: 768px) {
    .agent-double-office {
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px;
    }
    .agent-double-office .first-office {
        padding: 3px 0 15px 0;
    }
}

/** Remove when launching new homepage - Mike **/
@media only screen and (max-width: 768px) {
    #header.fixed-position .top-bar .name h1 a .mobile,
    #header.fixed-position .top-bar .name div.header-logo-image-non-h1 a .mobile,
    #header.white .top-bar .name h1 a .mobile,
    #header.white .top-bar .name div.header-logo-image-non-h1 a .mobile,
    .nophoto #header .top-bar .name h1 a .mobile,
    .nophoto #header .top-bar .name div.header-logo-image-non-h1 a .mobile{
        margin-left: -8px;
    }
}

.allow-overflow .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
min-width: 222px;
}

/* Hide prop photo fullscreen btn on mobile */
@media only screen and (max-width: 768px) {
    .rsDefault .rsFullscreenBtn {
        display: none !important;
    }
}

.search-content-result .slide.open-house .important-note,
.results-content-holder-view02 .slide.open-house .important-note,
.properties-list .post .note {
    background: #14346D;
}

@media only screen and (min-width: 768px) {
    .subsite .personal-information .photo-box.address2 img {
        margin-bottom: 1.2em;
    }
}
.subsite-home-page .agent-double-office {
    justify-content: flex-start;
}

/* Community page */
.overlay-play-btn {
    position: absolute; left: 50%; margin-left: -67px; top: 210px;
}
.reveal-modal {
    background: #000;
}
@media only screen and (max-width: 767px) {
    .overlay-play-btn {
        top: 72px;
    }
}
@media only screen and (max-width: 540px) {
    .overlay-play-btn {
        top: 32px;
    }
}

.search-content-result .image-box img {
    background-size: 100%;
}
@media only screen and (max-width: 960px) {
    .search-content-result .image-box img {
        max-height: 322px;
    }
}
@media only screen and (max-width: 767px) {
    .search-content-result .image-box img {
        max-height: 262px;
    }
}


body .gps .button.hover {
    color: #0f284d !important;
    background-color: #fff !important;
}

/** New Mobile Nav **/
.left-off-canvas-menu ul.off-canvas-list li .sign-box{
    background-color: #f8f8f8;
    padding: 10px 0;
}

.left-off-canvas-menu ul.off-canvas-list li .sign-box a{
    width: 93px;
    height: 39px;
    background-color: #132246;
    color:#fff;
    padding: 12px 15px;
    margin-left:5px;
    clear:both;
    float: left;
    text-align: left;
}

.left-off-canvas-menu ul.off-canvas-list li .sign-box p{
    font-size: 12px;
    color:#403e3e;
    text-transform: none;
    margin-bottom: 0;
    margin-left: 120px;
}

#mobile-nav #menu-item-lang, #mobile-nav #menu-item-pref{
    background: #efedec;
}

#mobile-nav #menu-item-lang a span, #mobile-nav #menu-item-pref a span{
    color:#515151;
    font-weight: 200!important;
    font: 14px/21px "News Gothic MT W01", Arial, Helvetica, sans-serif !important;
    text-transform: uppercase;
}

#mobile-nav.left-off-canvas-menu ul.off-canvas-list #menu-item-lang.has-submenu>a:after,  #mobile-nav.left-off-canvas-menu ul.off-canvas-list #menu-item-pref.has-submenu>a:after{
    display:none;
}

#mobile-nav ul.left-off-canvas-menu  li#menu-item-lang a span strong{
    font: bold 14px/18px "News Gothic MT W01", Arial, Helvetica, sans-serif;
}

#mobile-nav #menu-item-lang a:hover span, #mobile-nav #menu-item-pref a:hover span{
    color:#fff;
}

.area-prefs-mobile input {
    display: none;
}

@media only screen and (max-width: 960px) {
    #site-navigation.top-bar .name h1 a .mobile,
    #site-navigation.top-bar .name div.header-logo-image-non-h1 a .mobile{
        width: 220px;
        margin: -10px;
        height: 62px;
    }
    .top-bar .title-area {
        margin: 0;
    }
    #header .bar .user-holder {
        display: none;
    }
    .top-bar .name h1,
    .top-bar .name div.header-logo-image-non-h1,
    .top-bar .name span {
        text-align: center;
        margin: auto;
    }
    .top-bar .title-area {
        float: none;
    }

    #header .bar {
        padding: 0;
        height: 0;
    }

    .search-box .not-open-close .opener {
        margin-top: 4px;
        display: block;
        position: relative;
    }

    #header .bar .opener-holder,
    #header .bar .search-holder.active .opener-holder{
        position: absolute;
        border: 1px solid #ccc;
        margin: 0;
        float: left;
        top: 10px;
        right: 10px;
        height: auto;
    }
    #header .bar .btn-search {
        width: 45px !important;
        height: 45px !important;
        background: url(images/search-icon03.svg) no-repeat #fff !important;
        background-size: 45px !important;
        background-position: 0 -3px !important;
    }
    #header .bar .btn-search:hover {
        width: 45px !important;
        height: 45px !important;
        background: url(images/search-icon03-hover.svg) no-repeat #002B5C !important;
        background-size: 45px !important;
        background-position: 0 -3px !important;
    }
}

@media only screen and (max-width: 767px) {
    #header .bar .opener-holder,
    #header .bar .search-holder.active .opener-holder{
        position: absolute;
        top: 7px;
        right: 5px;
    }
    .top-bar .title-area {
        margin: 0;
    }
    #header .bar .btn-search,
    #header .bar .btn-search:hover {
        width: 36px !important;
        height: 36px !important;
        background-size: 36px !important;
        background-position: 0 -3px !important;
    }
}

/** New top search bar **/
.top-bar-section ul {
    z-index: 99999999;
}
.search-box .select2-container .select2-selection li.select2-search {
    width: auto;
}
.search-box .twitter-typeahead {
    width: 100%;
    top: auto !important;
    vertical-align: top;
}
.search-box .select2-container {
    background: #fff;
    border: 1px solid #a09d9a;
    width: 100%;
    vertical-align: top;
    position: relative;
    z-index: 9;
}
.page-template-page-prop-search-results .search-box .select2-container {

}
.search-box fieldset .block select {
    top: auto;
    width: 100%;
    color: #333;
    font: italic 16px/20px "News Gothic MT W01", Arial, Helvetica, sans-serif;
    height: 33px;
}
.search-box .select2-container .select2-selection li.select2-search input[type=search] {
    border: 0;
    padding: 0;
    /* width: auto !important; */
    color: #333;
    font: italic 16px/20px "News Gothic MT W01", Arial, Helvetica, sans-serif;
    height: 33px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
.search-box .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    top: auto;
    padding: 8px 20px;
    width: 100%;
    min-height: 49px;
}
.search-box .select2-container .select2-selection li.select2-search {
    float: none;
    width: 100%;
}
.search-box .select2-container--default .select2-selection--multiple {
    line-height: 1;
    background: #fff;
    border: 0 !important;
}

.search-box .tt-dropdown-menu {
    margin-top: -6px;
    width: 100%;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    text-align: left !important;
    max-height: 300px;
    overflow-y: auto;
}
#select2-header-keyword-props-2016-results .select2-container--default .select2-results > .select2-results__options {
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}
.home .select2-dropdown {
    border-bottom: none;
}
#select2-header-keyword-props-2016-results .select2-results__option.select2-results__option--highlighted,
#select2-header-keyword-props-2016-results .select2-results__option.select2-results__option--highlighted .keyword-result .keyword-result-head {
    background-color: #fff !important;
}
#select2-header-keyword-props-2016-results .select2-dropdown.select2-dropdown--below {
    margin-top: -1px;
}
#select2-header-keyword-props-2016-results .select2-results__option {
    padding: 0 !important;
}
#select2-header-keyword-props-2016-results .select2-results__option .loading-results {
    padding: 5px !important;
}
#select2-header-keyword-props-2016-results .select2-results__option.select2-results__option--highlighted .keyword-result-result {
    background: #f5f5f5;
}
#select2-header-keyword-props-2016-results .select2-container--default .select2-selection--multiple .select2-selection__clear {
    display: none;
}
#select2-header-keyword-props-2016-results .keyword-result-head {
    text-transform: uppercase;
    color: #9b9b9b;
    background-color: #fff;
    padding: 5px 5px;
    font-weight: bold;
    font-size: 14px;
}
#select2-header-keyword-props-2016-results .keyword-result .keyword-result-result {
    padding: 3px 6px 2px 15px;
    color: #222;
}
.search-box li.tag-selected:first-child {
    padding-left: 5px;
}
#select2-header-keyword-props-2016-results .select2-container--default .select2-selection--multiple .select2-selection__choice,
#header_search_form .select2-container--default .select2-selection--multiple .select2-selection__choice {
    top: 0;
    position: relative;
    margin-left: 0;
}

@media only screen and (max-width: 960px) {
    .search-box .select2-container .select2-selection li.select2-search input[type=search] {
        height: 24px;
        font-size: 14px;
    }
    .search-box .select2-container--default .select2-selection--multiple .select2-selection__choice {
        font-size: 13px;
        margin-top: 2px;
    }
    .search-box .select2-container--default .select2-selection--multiple .select2-selection__rendered {
        min-height: 32px;
    }
    .subsite.nophoto #header .title-area {
        margin: 17px 76px 0 0;
    }
}
@media only screen and (max-width: 767px) {
    .search-box .select2-container .select2-selection li.select2-search input[type=search] {
        height: 20px;
        font-size: 13px;
    }
    .search-box .select2-container--default .select2-selection--multiple .select2-selection__choice {
        font-size: 13px;
        margin-top: 0;
    }
    .search-box .select2-container--default .select2-selection--multiple .select2-selection__rendered {
        padding: 6px 20px;
        min-height: 34px;
    }
    .search-box fieldset .block select {
        height: 36px;
        font-size: 12px;
        line-height: 15px;
        padding: 10px 6px;
    }
}
/** Top nav fixins **/
#header .top-bar-section ul li > a {
    max-height: 55px;
}
#header .top-bar-section ul li ul li > a:hover {
    color: #fff !important;
}
#header .top-bar-section .dropdown {
    background: transparent !important;
    padding: 34px 0 0 !important;
}
#header .top-bar-section .dropdown .dropdown-wrap {
    background: #102238;
    padding: 30px 0 25px 30px !important;
    border-top: 1px solid #a5978e;
}
#header .top-bar-section ul.dropdown {
    border-top: none;
}
.top-bar-section .double-nav .dropdown .dropdown-wrap ul li a,
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li a {
    font: 14px/18px "News Gothic MT W01 Bold", Arial, Helvetica, sans-serif !important;
    color: #fff !important;
    position: relative;
    padding: 0 30px 0 0 !important;
    margin: 0 0 20px;
    white-space: normal;
    text-transform: uppercase;
    letter-spacing: .2px;
}
.top-bar-section .double-nav .dropdown .dropdown-wrap ul li ul li a,
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li ul li a {
    font: 14px/18px "News Gothic MT W01", Arial, Helvetica, sans-serif !important;
    color: #cecece !important;
    padding: 0 30px 0 0 !important;
}
#header .top-bar-section .double-nav .dropdown .dropdown-wrap,
#header .top-bar-section .triple-nav .dropdown .dropdown-wrap {
    padding-bottom: 10px !important;
}
@media only screen and (min-width: 961px) {
    .top-bar-section .double-nav .dropdown .dropdown-wrap {
        width: 553px !important;
    }
    .top-bar-section .triple-nav .dropdown .dropdown-wrap {
        padding-right: 0 !important;
        width: 880px !important;
    }
}
.top-bar-section .double-nav .dropdown .dropdown-wrap ul li,
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding: 0 15px 0 0 !important;
}
.top-bar-section .double-nav .dropdown .dropdown-wrap ul li + li,
.top-bar-section .tiple-nav .dropdown .dropdown-wrap ul li + li {
    padding-left: 21px !important;
}
.top-bar-section .double-nav .dropdown .dropdown-wrap ul li ul li,
.top-bar-section .double-nav .dropdown .dropdown-wrap ul li + li ul li,
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li ul li,
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li + li ul li {
    padding-left: 0 !important;
}

.top-bar-section .double-nav .dropdown .dropdown-wrap ul li li,
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li li {
    width: 100%;
}
.top-bar-section .double-nav .dropdown:before,
.top-bar-section .triple-nav .dropdown:before {
    top: 70px;
}
#site-navigation .top-bar-section .triple-nav .dropdown li.menu-item-has-children {
    padding: 0 15px 0 10px !important;
}
.top-bar-section .triple-nav .dropdown .dropdown-wrap ul li {
    width: 33%;
    position: relative;
}
.property-detail-page .article .accordion .content.smaller-text p,
.property-detail-page .article .accordion .content.smaller-text a,
.property-detail-page .article .accordion .content.smaller-text li {
    font:13px/22px "News Gothic MT W01", Arial, Helvetica, sans-serif !important;
}

#mobile_prop_gallery {
    width: 100%;
    height: 320px;
}
#mobile_prop_gallery .swiper-slide {
    background: url(images/preload_photo.gif) center center no-repeat transparent;
}
#mobile_prop_gallery .swiper-slide img {
    width: 100%;
    height: 320px;
    background: center center no-repeat transparent;
    background-size: cover;
}
#mobile_prop_gallery.Custom .swiper-slide img {
    height: 100%;
}
#mobile_prop_gallery.mobile-gallery-fullscreen {
    width: 100% !important;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    background: #eeece7;
    z-index: 99999;
}
#mobile_prop_gallery.mobile-gallery-fullscreen .swiper-slide img {
    height: 100% !important;
    background-size: contain;
}
@media only screen and (min-width: 768px) {
    #mobile_prop_gallery {
        width: 710px;
        height: 470px;
    }
    #mobile_prop_gallery.Custom {
        width: 100%;
    }
    #mobile_prop_gallery .swiper-slide img {
        height: 470px;
    }
    #mobile_prop_gallery.mobile-gallery-fullscreen {
        height: 100% !important;
    }
}
.swiper-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    z-index: 999999;
    cursor: pointer;
    display: none;
    color: #000;
    text-shadow: -1px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px 1px 0 #fff,
            1px 1px 0 #fff;
}

#mobile_prop_gallery .swiper-button-next,
#mobile_prop_gallery .swiper-button-prev {
    width: 32px;
    height: 32px;
    right: 10px;
    left: auto;
    cursor: pointer;
    background: url('royalslider/skins/default/rs-default.png');
    background-color: #000;
    background-color: rgba(0,0,0,0.25);
    border-radius: 2px;
}

#mobile_prop_gallery .swiper-button-prev {
    background-position: -64px -32px;
    left: 10px;
    right: auto;
}
#mobile_prop_gallery .swiper-button-next {
    background-position: -64px -64px;
}
#mobile_prop_gallery .swiper-button-next:hover,
#mobile_prop_gallery .swiper-button-prev:hover {
    background-color: rgba(0,0,0,0.5);
}
#mobile_prop_gallery.mobile-gallery-fullscreen .swiper-button-next,
#mobile_prop_gallery.mobile-gallery-fullscreen .swiper-button-prev {
    z-index: 99998;
}
#mobile_prop_gallery .swiper-pagination {
    background: rgba(0, 0, 0, .6);
    color: #eee;
    position: absolute;
    left: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: .75em;
    width: 60px;
    opacity: 0.0;
}
.mobile-full-suggestion {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 1.3em;
    text-shadow: rgba(0,0,0,.75) 2px 2px 10px;
    z-index: 99;
}
.mobile-full-suggestion a {
    color: #fff;
}
@media (max-width: 768px) {
    .custom-gallery {
        height: 320px;
    }
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) { /* iPad Portrait */
    #mobile_prop_gallery {
        height: 640px;
    }
    #mobile_prop_gallery .swiper-slide img {
        height: 640px;
    }
}
@media only screen and (min-width:961px) {
    .bar-listing-tools .tools-list li {
        margin: 0;
    }
}

.bar-listing-tools .button-holder .button.propinquire.alt,
.mobile-add-bar .button-holder .button.alt {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffeed3+3,f5da8b+4,efcc4a+100 */
    background: #ffeed3; /* Old browsers */
    background: -moz-linear-gradient(top, #ffeed3 3%, #f5da8b 4%, #efcc4a 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffeed3 3%,#f5da8b 4%,#efcc4a 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffeed3 3%,#f5da8b 4%,#efcc4a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffeed3', endColorstr='#efcc4a',GradientType=0 ); /* IE6-9 */
    color: #001413;
    line-height: 14px;
}
.bar-listing-tools .button-holder .button.propinquire.alt:hover,
.mobile-add-bar .button-holder .button.alt:hover {
    color: #001413;
}

/** Mobile prop page **/
@media only screen and (max-width: 768px) {
    .property-detail-page .blockquote-holder {
        margin-bottom: 0;
    }
}
#mobile_prop_details {
    padding-top: 10px;
    background: #FBFBF9;
}
#mobile_prop_details > h5 {
    color: #122a4b;
    font: 18px/24px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    text-align: center;
    font-weight: normal;
    margin: 3px 10px 12px
}
#mobile_prop_details .accordion-wrap {
    padding-bottom: 13px;
    line-height: 1.5;
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
    word-spacing: 2px;
}
#mobile_prop_details .accordion > li {
    margin: 11px 0 0;
    line-height: 24px;
    font-size: 20px;
}
#main #mobile_prop_details .accordion > li > a:after {
    content: "";
    position: absolute;
    right: 18px;
    top: 24px;
    width: 13px;
    height: 8px;
    overflow: hidden;
    margin-top: -1px;
    background: url(images/sprite.png) no-repeat -187px -66px;
}
.property-detail-page > section {
    padding-bottom: 13px;
}
.property-detail-page #main #mobile_prop_details li.accordion-navigation > a {
    background: transparent;
    font: normal 20px/22px "Sabon MT W01 Semibold","Times New Roman",Times,serif;
    border: none;
    border-top: 1px solid #ADADAB;
    color: #001e45;
    text-transform: none;
    margin: 0 10px;
    padding: 15px 10px 0;
    height: 42px;
    letter-spacing: 0.5px;
    position: relative;
}
.property-detail-page #mobile_prop_details .accordion > li > a::after {
    top: 24px;
}
.property-detail-page #mobile_prop_details .accordion .content,
#mobile_prop_details .accordion .accordion-navigation > .content.active {
    padding: 15px 0;
    background: transparent;
}
#mobile_prop_details .about-area-section .content-block .image-block h3 {
    text-transform: none;
}
.property-detail-page  #main #mobile_prop_details li.accordion-navigation.active div .about-area-section a {
    border: 1px solid #adadad;
}
#mobile_prop_details .about-area-section .content-block .text-holder h4 {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: .2px;
    margin: 0 0 10px;
    text-transform: none;
    text-align: left;
}
.property-detail-page #mobile_prop_details .accordion .content .about-area-section p {
    line-height: 24px;
    margin: 0 0 19px;
    text-align: left;
    font-size: 14px;
}
#mobile_prop_details .about-area-section .content-block .text-holder .button {
    display: block;
    font-size: 14px;
    min-width: 234px;
    margin: 0 0 10px 0;
    font-family: "News Gothic MT W01",Arial,Helvetica,sans-serif;
    font-weight: 600;
}
.property-detail-page  #main #mobile_prop_details li.accordion-navigation.active .about-area-section div a.button.base-style {
    background: #243764;
    color: #fff;
}
#mobile_prop_details .button.base-white-style:hover, .button.base-white-style:active {
    background: #f6f5f2;
    border: 1px solid #9e9e9d;
    color: #122a4b;
}
.responsive-page #mobile_prop_details .about-area-section {
    border-bottom: 0;
}
.responsive-page #mobile_prop_details .about-area-section:after {
    border: 0;
}

#mobile_prop_details #market-stats {
    border-top: 4px solid #0f284d;
}
#mobile_prop_details .action .button.btn-report {
    min-width: 288px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    background: #1b2e4c !important;
    color: #e3e1db;
    font: bold 16px/20px "News Gothic MT W01", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}
.property-detail-page #main #mobile_prop_details li.accordion-navigation.active #lifestyles div a.link {
    color: #758eb0;
    margin: 9px 0 0;
    display: inline-block;
    vertical-align: top;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
    font: bold 16px/20px "News Gothic MT W01", Arial, Helvetica, sans-serif;
    word-spacing: 2px;
    text-transform: uppercase;
}

.property-detail-page #main #mobile_prop_details li.accordion-navigation.active .map-holder a {
    margin: 0;
    font-size: 10px;
    line-height: 13px;
    color: #70798a;
    letter-spacing: .2px;
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
    font-weight: normal;
}
.property-detail-page #main #mobile_prop_details li.accordion-navigation.active .map-holder a.close {
    margin: 12px 9px 0 0;
}
.property-detail-page #main #mobile_prop_details .location-link {
    font: bold 16px/20px "News Gothic MT W01", Arial, Helvetica, sans-serif;
    margin: 20px 0 -6px 18px;
    display: block;
}
.property-detail-page #main #mobile_prop_details li.accordion-navigation.active .map-holder .infoBox img {
    margin: 2px 0 !important;
}

.property-detail-page #mobile_prop_details .brokerage-listing-section .post-box .base-text-box .button {
    display: block;
    width: 100%;
    margin: 0;
    height: 44px;
    font: 22px/28px "Sabon MT W01 Semibold", "Times New Roman", Times, serif;
    background-color: rgba(0, 0, 0, .26);
    border: solid 1px rgba(255, 255, 255, .5);
    color: #fff;
    min-width: 100px;
    padding: 6px 10px;
    letter-spacing: 1px;
}

#mobile_prop_details #mobi_commute .calculate-form .input-holder {
    margin: 0 10px 19px;
}
#mobile_prop_details #mobi_commute .text-block {
    margin: 0 15px 24px;
}
#mobile_prop_details #mobi_commute a.button {
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #fff;
    font-size: 13px;
}
#mobile_prop_details #mobi_commute .nyc_driving_box .button {
    padding: 11px 10px;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background: #001e45;
    height: 40px;
}
.property-detail-page #main li.accordion-navigation.active div p.detail-disclaimer a {
    font-size: inherit;
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
}

#mobile_prop_details #mobi_local #localinfo {
    padding: 0;
}
#mobile_prop_details #mobi_local #localinfo .accordion > li.accordion-navigation > a {
    display: none;
}
#mobile_prop_details #mobi_local #localinfo .accordion > li.accordion-navigation .content {
    padding: 0 20px;
}
.mobile-local-mojo, .events-section h3 {
    text-align: center;
}
.mobile-local-mojo a:first-child:before {
    content: "";
    padding: 0;
}
.mobile-local-mojo a:before {
    content: "|";
    padding: 0 20px 0 10px;
}
#mobile_prop_details #localinfo-goes-here .scroll-box {
    background: #fff;
}
#mobile_prop_details #localinfo-goes-here .tab-content-info .decsription-table h3 {
    text-align: center;
}
#mobile_prop_details #localinfo-goes-here .tab-content-info .decsription-table table {
    padding: 15px 0;
}
#mobile_prop_details #localinfo-goes-here .tab-content-info .decsription-table table td:last-child {
    width: auto;
}
.property-detail-page #main #mobile_prop_details li.accordion-navigation.active div .detail-disclaimer-mobile a {
    font-size: 10px !important;
    font-family: "News Gothic MT W01", Arial, Helvetica, sans-serif;
    line-height: 1;
}
#mobile_prop_details .local-news-summary,
#mobile_prop_details .event-item a.button,
.mobile-local-mojo a.btnCommunity,
.mobile-local-mojo a.btnSchools,
.mobile-local-mojo a.btnYelp {
    display: none;
}
