/* 38123 */
/*Advantage Plus custom styles*/

/*Desktop*/

/**Layout**/

body.t547 .articleTeaser .floatLeft.fourCol {
	clear: left;
    width: 160px;
}

/*.articleTeaser .clearAll {
	display:none;
}*/

body.t547 .articleTeaserText {
    height: 17em;
    overflow: hidden;
    position: relative;
}
body.t547 .articleTeaser p:first-child {
	padding: 0
}

body.t547 .teaserItem {
	float:left;
}

body.t547 p:empty {
	display:none
}

body.t547 .teaserPhotoContainer {
	 width: 160px;
	 height:160px;
	 overflow:hidden;
}

body.t547 .articleTeaser .articleTeaserText .teaserLink {
	bottom: 0;
    display: block;
    position: absolute;
    right: 0;
}

/**Appearance**/

body.t547 {    
    background-color: #999999;
    background-image: url("/templates/common/images/patterns/noise.png"), url("/templates/common/images/patterns/linedPat.png"); 
    background-image: url("/templates/common/images/patterns/noise.png"), url("/templates/common/images/patterns/linedPat.png"), -moz-linear-gradient(center top , #999999, #EEEEEE);
    background-image: url("/templates/common/images/patterns/noise.png"), url("/templates/common/images/patterns/linedPat.png"), -webkit-linear-gradient(top , #999999, #EEEEEE);
    background-image: url("/templates/common/images/patterns/noise.png"), url("/templates/common/images/patterns/linedPat.png"), linear-gradient(180deg , #999999, #EEEEEE);
    background-repeat: repeat, repeat, no-repeat;
}

body.t547 #container {
    background-color: transparent;
}

body.t547 header {
	padding-top:24px;
}

body.t547 nav {
    margin: 24px 0 12px;
}

body.t547 nav, body.t547 nav li.noLink:hover {
	background-color: #C22E2D;
    background-image: -moz-linear-gradient(top , #A82727, #C22E2D 50%);
    background-image: -webkit-linear-gradient(top , #A82727, #C22E2D 50%);
    background-image: linear-gradient(180deg , #A82727, #C22E2D 50%);
}

body.t547 nav.footerNavLink, body.t547 nav.footerNavLink li.noLink:hover {
	background-color: #ffffff;
    background-image: none;
}

body.t547 nav ul {
	padding: 0 0 0 1em;
}

body.t547 nav li ul{
    font-size: 1.2em;
    margin: 7px 0 0 -1.3em;
}

body.t547 nav li ul a:link, body.t547 nav li ul a:visited, body.t547 nav li ul a:hover, body.t547 nav li ul a:active {
	padding:0.5em 0.5em 0.5em 1em;
}

body.t547 .tabTriangle {
	border-right: 20px solid #111;
	border-right: 20px solid rgba(50, 50, 50, 0.5) !important;
}

body.t547 .tabTriangleRight {
	border-left: 20px solid rgba(50, 50, 50, 0.5) !important;
}

body.t547 .tabRectangle {
    background-color: #c22e2d;
}

body.t547 section.mapSearchControls {
    padding-top: 2.5em;
    padding-bottom: 1em;
}

body.t547 section#advSearch section.mapSearchControls {
    padding-top: 0;
}

body.t547 aside textarea.formElement, body.t547 aside input.formElement, body.t547 form textarea, body.t547 form input, body.t547 article input.formElement, body.t547 article textarea.formElement, body.t547 .formElement, body.t547 aside select.formElement  {
	border-color:#666;
	box-shadow: 0 0 2px #bbb;
	background-image:-moz-linear-gradient(top , #efefef, #ffffff);
	background-image:-webkit-linear-gradient(top , #efefef, #ffffff);
	background-image:linear-gradient(180deg , #efefef, #ffffff);
	font-family: "Open Sans",Arial,sans-serif;
	font-size: 12px;	
}

body.t547 aside select.formElement {
	width:146px;
}

body.t547 aside .mapSearchControls select.formElement {
    font-size: 13px;
    width: 75%;
}

body.t547 aside div.smallFormElement {
	width:50%;
	float:left;
}

body.t547 aside .mapSearchControls select.formElement.smallFormElement {
    margin-right: 40px;
    width: 25%;
}

body.t547 .mapSearchControls .mapsearch_forsale_forlease, body.t547 .mapSearchControls #features {
    margin: 0 5px 0 80px;
}


body.t547 .mapSearchControls .secondaryButton {
    float: left;
    margin-top: 24px;
    padding: 7px 5px;
}

body.t547 .articleTeaser .teaserLink a, body.t547 .testimonialWidget .teaserLink {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #c22e2d;
    background-image: -moz-linear-gradient(top , #a82727, #c22e2d 50%) !important;
    background-image: -webkit-linear-gradient(top , #a82727, #c22e2d 50%) !important;
    background-image: linear-gradient(180deg , #a82727, #c22e2d 50%) !important;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    border-style: solid;
    border-radius: 3px 3px 3px 3px;
    border-color: #a82727 #c22e2d #c22e2d #c22e2d;
    color: #EBEBEB !important;
    display: block;
    float: right;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1;
    margin: 24px 0;
    padding: 6px 12px;
    text-transform: uppercase;
    width: auto;
    box-shadow: 0 0 2px #BBBBBB;
    
}

body.t547 .testimonialWidget .testimonialBody {
	font-size:1em;
	line-height:1.5;
	font-style:italic;
}

body.t547 .testimonialWidget .teaserLink {
	margin:0;
}


body.t547 .testimonialWidget > .teaserLink:after {
	font-size: 1.2em;
	line-height: 0.75;
}	

body.t547 .submitButton, body.t547 .submitButton:visited, body.t547 .submitButton:active, body.t547 .linkButton, body.t547 .linkButton:visited, body.t547 .linkButton:active, body.t547 .listingButton, body.t547#listingDetailPopUp a.listingButton:link, body.t547#listingDetailPopUp a.listingButton:visited, body.t547#listingDetailPopUp a.listingButton:active  {
	background-color: #C22E2D;
    background-image: -moz-linear-gradient(top , #A82727, #C22E2D 50%) !important;
    background-image: -webkit-linear-gradient(top , #A82727, #C22E2D 50%) !important;
    background-image: linear-gradient(180deg , #A82727, #C22E2D 50%) !important;
    border-color: #A82727 #C22E2D #C22E2D #C22E2D;
}

body.t547 .submitButton:hover, body.t547 .linkButton:hover, body.t547#listingDetailPopUp a.listingButton:hover {
	background-color: #A82727;
    background-image: -moz-linear-gradient(top , #C22E2D, #A82727 50%) !important;
    background-image: -webkit-linear-gradient(top , #C22E2D, #A82727 50%) !important;
    background-image: linear-gradient(180deg , #C22E2D, #A82727 50%) !important;
    border-color: #C22E2D #A82727 #A82727 #A82727;
    text-shadow:none;
}


body.t547 #legalWrapper, body.t547 #legal, body.t547 #footerSearchLinkWrapper, body.t547 #footerSearchLink {
    background-color: #111111;
}


/**Typography**/

@font-face {
    font-family: 'Volkhov';
    src: local('VolkhovBold'), local('Volkhov Bold'), local('Volkhov-Bold');
    src: url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Bold-OTF-webfont.eot');
    src: url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Bold-OTF-webfont.eot?#iefix') format('embedded-opentype'),
         url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Bold-OTF-webfont.woff') format('woff'),
         url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Bold-OTF-webfont.ttf') format('truetype'),
         url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Bold-OTF-webfont.svg#VolkhovBold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Volkhov';
    src: local('Volkhov');
    src: url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Regular-OTF-webfont.eot');
    src: url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Regular-OTF-webfont.eot?#iefix') format('embedded-opentype'),
         url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Regular-OTF-webfont.woff') format('woff'),
         url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Regular-OTF-webfont.ttf') format('truetype'),
         url('/templates/common/webfonts/volkhov-fontfacekit/Volkhov-Regular-OTF-webfont.svg#VolkhovRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: local('OpenSansRegular'), local('Open Sans Regular'), local('Open Sans-Regular'), local('Open Sans'), local('OpenSans');
    src: url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Regular-webfont.woff') format('woff'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: 400;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: local('OpenSansItalic'), local('Open Sans Italic'), local('OpenSans-Italic');
    src: url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Italic-webfont.woff') format('woff'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Italic-webfont.svg#OpenSansItalic') format('svg');
    font-weight: 400;
    font-style: italic;

}


@font-face {
    font-family: 'Open Sans';
    src: local('OpenSansBold'), local('Open Sans Bold'), local('OpenSans-Bold');
    src: url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Bold-webfont.woff') format('woff'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: 700;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: local('OpenSansBoldItalic'), local('Open Sans Bold Italic'), local('OpenSans-BoldItalic');
    src: url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-BoldItalic-webfont.woff') format('woff'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
         url('/templates/common/webfonts/open-sans-fontfacekit/OpenSans-BoldItalic-webfont.svg#OpenSansBoldItalic') format('svg');
    font-weight: 700;
    font-style: italic;

}

body.t547, body.t547 form {
	font-family: 'Open Sans', Arial, sans-serif;
}

body.t547 header, body.t547 h1, body.t547 h2, body.t547 h3 {
	font-family: 'Volkhov', Times, serif;
	
}

body.t547 article h2 {
	color:#111;
	margin-bottom: 8px;
}

body.t547 section.listingMapSearch h2 {
    color: #111111;
    font-family: "Open Sans",Arial,sans-serif;
}

body.t547 article h3, body.t547 .openHouse .listingPrice {
    color: #111111;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 1.33em;
}

body.t547 .openHouse .listingPrice {
	margin-top: 12px;
	font-weight: bold;
}

body.t547 article h4 {
	color:#666;
	padding-bottom:0.5em;
}

body.t547 article h4.indent {
    color: #666666;
    padding: 0 0 0 36px;
}

body.t547 nav a:link, body.t547 nav a:visited, body.t547 .listingsListNav a:link, body.t547 .listingsListNav a:visited, body.t547 .listingsListNav li.active .current {
    padding: 7px;
    font-size:12.5px;
}

body.t547 .ie7 nav a:link, body.t547 .ie7 nav a:visited, body.t547 .ie7 .listingsListNav a:link, body.t547 .ie7 .listingsListNav a:visited, body.t547 .ie7 .listingsListNav li.active .current,
body.t547 .ie8 nav a:link, body.t547 .ie8 nav a:visited, body.t547 .ie8 .listingsListNav a:link, body.t547 .ie8 .listingsListNav a:visited, body.t547 .ie8 .listingsListNav li.active .current {
    padding: 3px;
    font-size:12px;
}

body.t547 .ie7 .brokerFeaturedListing .secondaryButton, body.t547 .ie8 .brokerFeaturedListing .secondaryButton {
	letter-spacing:-0.25px
	} 

body.t547 nav.footerNavLink {
    font-size: 0.80em;
    width: 100%;	
}

body.t547 .articleTeaser .teaserLink a {
	padding: 6px 12px 4px;
}

body.t547 .teaserLink a:after {
    font-size: 1.2em;
} 

body.t547 aside, body.t547 aside form, body.t547 aside .submitButton {
	font-family:'Open Sans', sans-serif;
}

body.t547 aside article h3, body.t547 aside section h3 {
    font-size: 1em;
}


body.t547 aside section.mapSearchControls h3  {
    font-size: 1.25em;
}

body.t547 .rates-small h3  {
    font-size: 1.25em;
}

body.t547 .submitButton, body.t547 aside .secondaryButton {
	font-size:14px;
	box-shadow: 0 0 2px #BBBBBB;
}

body.t547 aside h3 {
    color: #666666;
    font-family:'Open Sans', sans-serif;
}

body.t547 .submitButton, body.t547 .linkButton, body.t547 .secondaryButton, body.t547 .mapSearchControls {
    font-family:'Open Sans', sans-serif;
}

body.t547 .ui-widget {
    font-family:'Open Sans', sans-serif !important;
}

body.t547 article .neighbourhoods h4 a, body.t547 article .neighbourhoods h4 a:link, body.t547 article .neighbourhoods h4 a:visited, body.t547 article .neighbourhoods h4 a:hover, body.t547 article .neighbourhoods h4 a:active {
	color: #666666 !important;	
}

body.t547 .searchResultsMapSearch .pagination .selectedPage a{background-color:#C22E2D;}
body.t547 .searchResultsMapSearch .pagination a:hover{color:#fff;background-color:#C22E2D;}

body.t547 .rosterAlphaList {
	display: none;	
}

body.t547 .listingBubbleSummary .price, body.t547 .listingBubbleText .mls {
    color: #C22E2D;
}

body.t547 article .bodyPhotoImageOnly {
    text-align: inherit;
}

body.t547 .neighbourhoods.dataList dl{float:left; width:528px; font-size: 0.9em;}
body.t547 .neighbourhoods.dataList dt{float:left; width:100px; margin-bottom: 10px !important;}
body.t547 .neighbourhoods.dataList dd{float:left; clear:right; width:388px; margin-bottom: 10px !important; margin-left: 40px !important;}
body.t547 .neighbourhoods.dataList dt a, body.t547 .neighbourhoods.dataList dt a:link, body.t547 .neighbourhoods.dataList dt a:visited, body.t547 .neighbourhoods.dataList dt a:hover, body.t547 .neighbourhoods.dataList dt a:active {font-weight: bold !important; text-decoration: none;}

body.t547#listingDetailPopUp footer hr, body.t547#listingDetailPopUp hr.headerRule {
    border-color: #C22E2D;
}

body.t547 footer .brokerageContactInfo {
	float: right;
	width: 55%;		
}

body.t547#listingDetailPopUp footer .brokerageLogoWrapper {
  text-align: right;
}

body.t547 footer .brokerageLogoWrapper {
    background-image: url("advantageplus_logo.jpg");
    background-repeat: no-repeat;    
    height: 121px;
    width: 40%;
}

body.t547 footer .brokerageWebLogo, body footer .brokerageBrandLogo {
    display: none;
}
/* to be put in colours LESS files - BEGINS */
/* to be put in colours LESS files - ENDS */