
/* Bootstrap Overrides */
@media (min-width: 992px){
	.container {
	width: 80%;
	}
	.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img {
		width: 100%;
	}
}


/*	Medium - Large 	*/
@media only screen
and (min-width :992px)
{

	.navbar-default .navbar-nav > .open > a {
		background: none;
		color: #ffffff;
	}

	.nav li {
		width: auto;
	}

	.nav > li:hover > a {
		background: none;
	}

	.quoteContainer  {
		right: 40px;
	}

	.intro strong {
		font-size: 18px;
	}

	.sideBar.noMenu {
		margin-top: 66px;
	}


	/* listings grid layout change to make it fit inline with image */
	.listingDescription
	{
		height: 90px;
		max-height: 90px;
	}
	.listingsGrid .bedroomsCount img, .listingsGrid .bathroomsCount img, .listingsGrid .carspacesCount img
	{
		width: 35%;
	}

	/* Agent profile on listings page */
	.profile
	{
		margin-bottom: 10px;
	}
}

/*	 Large+ 	*/
@media only screen
and (min-width : 1199px)
{
	.nav > li:hover > a {
		background: none;
	}
	.intro strong {
		font-size: 18px;
	}

	.quoteContainer  {
		right: 58px;
	}
}

/*	Small - Medium	*/
@media only screen
and (max-width : 991px)
and (min-width :768px)
{
	.navigation, .footer-holder {
		width: 95%;
	}
	.nav
	{
		margin-top: 0;
	}

	.nav li {
		width: 91px;
	}

	.quote1 {
		display: inline-block;
	}

	.intro strong {
		font-size: 18px;
	}

	.teamDetails .detailsWrapper a {
		font-size: 8pt;
	}

	.teamLinks {
		display: block;
		vertical-align: top;
		width: 100%;
		margin-top: 15px;
		position: static;
		float: none;
	}

	.profileLink
	{
		display: inline-block;
	}
	.vcardLink
	{
		display: inline-block;
		float: left;
		margin-left: -3px;
	}

	.teamProfile img
	{
		width: 100%;
	}

	/* Allows hoverstate for dropdown main menu */
	.nav > li:hover > ul {
	    display: block;
	}

	.nav > li:hover > a {
	    background: #e11f32;
	}

	/* listings grid layout change to make it fit inline with image */
	.listingGridDetails h3 {
		text-align: left !important;
	}

	.listingSummary p {
		height: 55px;
	}

	.listingsGrid .bedroomsCount img, .listingsGrid .bathroomsCount img, .listingsGrid .carspacesCount img
	{
		padding-top: 8px;
	}

	.listingsGrid .bedroomsCount, .listingsGrid .bathroomsCount, .listingsGrid .carspacesCount
	{
		display: inline-block;
		width: 38px;
		text-align: center;
	}

	.listingsGrid .bedroomsCount span, .listingsGrid .bathroomsCount span, .listingsGrid .carspacesCount span {
		text-align: center;
		padding-left: 6px;
		font-weight: bold;
		padding-right: 0;
	}

	/* Agent profile on listings page */
	.profile
	{
		margin-bottom: 10px;
	}

	/* Listing Alert */
	.listingAlerts img {
	width: 11%;
	vertical-align: top;
	margin-top: -15px;
	}

	.listingAlertListings p {
		font-size: 11px;
	}

	.moveButtons
	{
		width: 44%;
	}

}

/* XS - Small - iPhone landscape orientation */
@media only screen
and (max-width : 670px) and (min-width: 500px) {
	.bannerHolder .col-xs-7 {
		width: 77.333333%;
	}
}

/*	XS - Small	*/
@media only screen
and (max-width : 767px)
{

	.desktop-only {
		display: none;
	}
	.mobile-only {
		display: block;
	}

	.navigation, .footer-holder {
		width: 100%;

	}
	.navbar-toggle {
		display: block;
		border: none;
	}
	.navbar-toggle {
		margin-top: 0px;
	}
	.nav-icon-text {
		color: #ddd;
		font-size: 13px;
	}
	.navbar-toggle .icon-bar {
		width: 37px;
	}


	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
		background: none;
	}
	.navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar {
		background: #e11f32;
	}

	.navbar-default .navbar-nav > .open > a {
		background: rgba(255,31,50,0.6) !important;
	}

	.dropdown-submenu li {
		width: 100% !important;
	}

	.bannerHolder {
		position: relative;
	}

	.banner {
		height: 85px;
		border-bottom: 0;
	}

	.scrollDown {
		background: #000 url('/images/scrollDown.png') 50% no-repeat;
		width: 100%;
		height:70px;
		top: 100px;
	}

	body.mobile .mainContent{
		padding-top: 5px;
	}
	body.mobile .bodyImageWrapper {
		margin-top: -30px;
	}
/*	body.mobile .sideBarMove{
		display: none;
	}*/
	body.mobile #listingMapContainer {
		width: 250px;
	}
	body.mobile .listingSpecs {
		margin-bottom: 10px;
		text-align: center;
	}
	.listingPrice {
		text-align: center !important;
	}

	.logo
	{
		display: none;
	}

	.navbar-brand-holder {
		height: 57px;
		width: 70%;
		margin: 0 0 0 5px;
	}
	.navbar-brand
	{
		display: inline-block;
		height: 45px;
		padding: 0px;
		position: relative;
	}
	.navbar-brand img
	{
		height: 100%;
	}
	.navigation .noPaddingLeft
	{
		padding-left: 15px;
	}

	.navbar-collapse.in {
		overflow-y: visible;
		height: 100%;
	}

	.navbar-nav {
		margin: 0;
	}

	.nav
	{
		padding-right: 0px;
	}

	.dropdown-menu li {
		background: rgba(0,0,0,0.6);
	}

	.navbar-nav .open .dropdown-menu > li > a {
		line-height: 26px;
	}

	.navbar-collapse{
		padding: 0;
	}

	.navbar-toggle
	{
		margin-bottom: 5px;
	}

	.header {
		background: rgba(0,0,0,0.7);
		height: 67px;
		padding: 10px 0 15px 0;
	}

	.navbar-collapse {
		max-height: 100%;
	}

	.navbar-collapse .nav
	{
		width: 100%;
		background: rgba(0,0,0,0.7);
	}

	.navbar-default .navbar-collapse, .navbar-default
	{
		border:0;
	}
	.nav > li:hover > ul {
	display: inline-grid;
	}

	.dropdown-submenu {
		position: static;
	}
	.dropdown-submenu li {
		padding-left: 30px;
	}

	.footerSpacer {
		height: 92px;
	}

	.footer {
		height: 92px;
		text-align: center;
	}

	.footerLogo {
		margin: 15px 0 0;
	}

	.footerNav
	{
		font-size: 12px;
		text-align: center;
	}

	.footerNav .nav li {
		width: auto;
	}

	.footerNav .nav > li > a {
		padding: 10px 5px;
	}

	.footerNav .nav > li > a:hover
	{
		background: #e11f32;
	}

	.textpageWrapper p {
		text-align: justify;
	}

	.breadcrumb {
		font-size: 90%;
		padding-left: 10px;
	}
	.noResults {
		padding: 0 10px;
	}

	/* Homepage */

	.listingAlertContainer {
		width: 100%;
		right: 0px !important;
	}
	.listingAlertsHomepage {
		width: 100%;
		max-width: 100%;
	}

	.listingAlertsHomepage h3 {
		right: 62px;
	}
	.listingAlertsHomepage h2 {
		right: 23px;
	}
	.quoteContainer {
		max-width: 100%;
		padding: 10px;
		left: 0 !important;
		width: 100%;
	}
	.quote h3{
		text-align: center;
		line-height: normal;
		margin-top: 20px;
	}
	.quoteCol {
		float: right;
	}
	.quoteWrapper {
		width: 640px;
	}
	.movemagText h3, .movemagText p {
		display: block;
	}
	.quote h3 .redHeading {
		display: block;
		margin-top: 5px;
	}
	.quote1 {
		top: 5px !important;
	}
	.intro {
		font-size: 90%;
		padding: 20px 10px 20px;
	}

	.intro strong {
		font-size: 14px;
	}

	/* Page Specific */

	.teamLinks {
		display: block;
		vertical-align: top;
		width: 100%;
		margin-top: 15px;
		position: static;
		float: none;
	}

	.profileLink
	{
		display: inline-block;
	}

	.teamProfile img
	{
		width: 100%;
	}

	.teamAgentProfile img {
		width: auto;
		margin: 0 auto;
		display: block;
	}

	.teamAgentProfile h2 {
		margin-top: 20px;
	}

	.textpage
	{
		margin-bottom: 0;
		margin-right: 0;
	}

	.subNodesContainer {
		margin-top: 20px;
	}

	/*Listings page */
	.noResults p {
		padding: 20px;
		text-align: center;
	}
	.listingAlertListings p {
		margin: 0;
	}
	.listingItem .noPaddingRight
	{
		padding-right: 15px;
	}

	.listingsGrid .listingSpecs
	{
		margin-left: 0px;
	}

	.listingsGrid .bedroomsCount, .listingsGrid .bathroomsCount, .listingsGrid .carspacesCount
	{
		display: inline-block;
		width: auto;
		text-align: center;
	}

	.listingGridDetails
	{
		display: block;
		margin:20px 15px 0;
		padding-right: 0;
	}

	.listingGridDetails h3 {
		text-align: left !important;
	}

	.listingGridHolder {
		display: block;
		margin: 0 0 20px;
	}

	.listingDescription {
		height: 90px;
		max-height: 90px;
	}

	.listingAlertListings h3 {
		height: auto;
		padding-bottom: 12px;
	}

	/* individual Listings page*/

	.listingGallery {
		margin-bottom: 0;
	}


	.listingDetailsContainer .listingSaleDetails {
		padding-left: 0px;
		width: 100%;
	}
	.listingSpecs .listingCounts {
		display: block;
		margin: 0 auto;
		width: 100%;
		text-align: center;
	}

	.listingSpecs .listingAddress {
		text-align: center;
	}

	.listingTitles
	{
		margin-top: 20px;
	}

	.listingTitles h1 {
		width: 100%;
	}

	.listingPrice {
		text-align: center;
	}
	.actions {
		display: none;
	}

	.galleria-thumbnails .galleria-image {
		height: 60px;
	}


	.listingTextarea
	{
		margin-top: 10px;
	}

	.listingDescriptionIndividual {
		padding: 10px;
		margin-right: 0;
	}

	.listingDescriptionIndividual h3 {
		text-align: left;
		font-size: 18px;
	}
	.listingDescriptionIndividual p {
		text-align: left;
	}

	.agentProfilePicture {
		margin: 0 auto;
	}

	.agentProfilePicture img {
		margin: 0 auto;
	}

	.agentProfile {
		text-align: center;
	}
	.agentDisplayName {
		margin: 30px 0 0 0;
	}

	/* Listing Alert */
	.listingAlerts {
	margin-bottom: 20px;
	}

	.listingAlerts img {
	width: 4%;
	}


	/* PRESS */
	.pdfTitle {
		margin-bottom: 20px;
	}
	.contourField  {
		width: 100% !important;
		margin: 0 !important;
	}
	.contourField select, .contourField input, .contourField textarea{
		width: 100% !important;
		margin: 0 !important;
	}
	.contourField.checkbox {
		padding-left: 0;
	}
	.contourField.iwishtoreceiveweeklyupdatesofgeneralmarketactivity label {
		width: 100% !important;
	}
	.contour .checkbox label {
		text-align: center;
	}
	.contour .checkbox input {
		text-align: center;
		width: 100% !important;
	}

}


/* XS */
@media only screen
and (max-width : 320px)
{
	.navbar-brand img
	{
		width: 80%;
		display: inline-block;
	}
	.listingGalleryPopup {
		display: block;
		width: 100%;
		background: #000;
		color: #fff;
		text-align: center;
		padding: 10px 0;
		margin: 10px 0 0px;
	}

	.listingAlertsBanner {
		margin-top: 10px;
	}

	.textpage p:first-child {
		text-align: left;
	}

	.dropdown-menu li {
		background: #222 !important;
	}

	.listingTitles, .listingTitles h1 {
		margin-top: 0px !important;
	}
	.dropdown-submenu {
		position: static;
	}
	.dropdown-submenu li {
		padding-left: 30px;
	}
	.banner {
		height: 90px;
		/*border-bottom: 40px solid #000;*/
	}
}



/* PRINT CSS */

@media print and (orientation: portrait){

	p{
		font-size: 13px;
	}
	 .logo img
	{
		width: 200px;
	}
	.logo .mainLogo{
		display: none;
	}
	.logo .printLogo {
		display: block;
	}
	.bodyImageWrapper
	{
		max-height: 600px;
	}

	#supersized
	{
		max-height: 500px;
	}

	#supersized img
	{
		max-height: 500px;
	}

	.listingImage
	{
		width: 250px;
	}

	.container {
		width: 100%;
	}

	.listingTitles
	{
		margin-top: 0;
		padding: 20px 0 0 0;
	}

	.backToListing, .listingTextarea
	{
		margin-top: 1px;
	}

	.listingTitles
	{
		margin-top: 0;
		padding: 20px 0 0 0;
	}

	.backToListing, .listingTextarea
	{
		margin-top: 1px;
	}

	.agentProfile, .propertyDetails
	{
		padding: 0;
		text-align: left;
	}

	.agentProfilePicture img
	{
		margin-left:1px;
		width: 130px;
	}

	.agentDisplayName hr
	{
		display: none;
	}

	.profile
	{
		padding-left: 0;
	}

	.sideBarMove, .nav
	{
		display: none;
	}

	.sideArea
	{
		width: 190px !important;
	}
	.subNodesContainer, .galleria-thumbnails-container, .agentEmailAddress, .backToListing, #enlargeMapView, .viewProfile {
		display: none;
	}

	.agentDisplayName {
		margin-top: 20px;
	}

	#listingSideBar {
		width: 100% !important;
	}

	.col-lg-3
	{
		width: 190px;
	}

	.col-lg-9
	{
		width: 480px;
	}

	.listingSpecs
	{
		padding: 0;
	}

	.subNodesContainer
	{
		margin: 0;
	}
	.logo a:after { content: "  " }
}

@media print and (orientation: landscape){

	.logo a:after { content: "  " }

	p{
		font-size: 13px;
	}

	.listingGridDetails, .listingSpecs, #viewDetails
	{
		padding-top: 0;
	}

	.listingDescription
	{
		font-size: 12px !important;
	}

	.listingGridDetails
	{
		width: 200px;
	}

	.listingSaleDetails
	{
		margin-top: 20px;
	}

	.container {
	width: 100%;
	}


	.listingTitles
	{
		margin-top: 0;
		padding: 20px 0 0 0;
	}

	.backToListing, .listingTextarea
	{
		margin-top: 1px;
	}

	.agentProfile, .propertyDetails
	{
		padding: 0;
		text-align: left;
	}

	.agentProfilePicture img
	{
		margin-left:1px;
		width: 130px;
	}
	.agentDisplayName hr
	{
		display: none;
	}

	.profile
	{
		padding-left: 0;
	}

	.sideBarMove, .nav
	{
		display: none;
	}

	.sideArea
	{
		width: 250px !important;
	}

	.col-lg-3
	{
		width: 250px;
	}

	.col-lg-9
	{
		width: 725px;
	}

}

@media (min-width: 992px)
{
	img.img-responsive.mainLogo {
	    width: 90%;
	}
}

@media (min-width: 992px) and (max-width: 1024px)
{
	img.img-responsive.mainLogo {
	    padding-top: 15px;
	}
}

@media only screen and (max-width: 767px)
{
	.navbar-brand img {
	    height: auto;
	    width: 100%;
	    padding-top: 10px;
	}
}

@media only screen and (max-width: 780px)
{
	img.img-responsive.mainLogo {
	    min-width: auto;
	    padding-top: 19px;
	}
}

