.container {
	margin-right: auto;
	margin-left: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@media (min-width: 768px) {
  .container {
    width: 758px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 982px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1180px;
  }
}

.container-row { }

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1
,.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2
, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3
, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4
, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5
, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6
, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7
, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8
, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9
, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10
, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11
, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12
,.responsiveGadget
{
	min-height: 1px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{
	float: left;
}
.col-xs-12 { width: 100%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-9 { width: 75%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-6 { width: 50%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-3 { width: 25%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-1 { width: 8.33333333%; }

@media (min-width: 768px) {
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{
		float: left;
	}
	.col-sm-12 { width: 100%; }
	.col-sm-11 { width: 91.66666667%; }
	.col-sm-10 { width: 83.33333333%; }
	.col-sm-9 { width: 75%; }
	.col-sm-8 { width: 66.66666667%; }
	.col-sm-7 { width: 58.33333333%; }
	.col-sm-6 { width: 50%; }
	.col-sm-5 { width: 41.66666667%; }
	.col-sm-4 { width: 33.33333333%; }
	.col-sm-3 { width: 25%; }
	.col-sm-2 { width: 16.66666667%; }
	.col-sm-1 { width: 8.33333333%; }
}
@media (min-width: 992px) {
	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{
		float: left;
	}
	.col-md-12 { width: 100%; }
	.col-md-11 { width: 91.66666667%; }
	.col-md-10 { width: 83.33333333%; }
	.col-md-9 { width: 75%; }
	.col-md-8 { width: 66.66666667%; }
	.col-md-7 { width: 58.33333333%; }
	.col-md-6 { width: 50%; }
	.col-md-5 { width: 41.66666667%; }
	.col-md-4 { width: 33.33333333%; }
	.col-md-3 { width: 25%; }
	.col-md-2 { width: 16.66666667%; }
	.col-md-1 { width: 8.33333333%; }
}
@media (min-width: 1200px) {
	.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{
		float: left;
	}
	.col-lg-12 { width: 100%; }
	.col-lg-11 { width: 91.66666667%; }
	.col-lg-10 { width: 83.33333333%; }
	.col-lg-9 { width: 75%; }
	.col-lg-8 { width: 66.66666667%; }
	.col-lg-7 { width: 58.33333333%; }
	.col-lg-6 { width: 50%; }
	.col-lg-5 { width: 41.66666667%; }
	.col-lg-4 { width: 33.33333333%; }
	.col-lg-3 { width: 25%; }
	.col-lg-2 { width: 16.66666667%; }
	.col-lg-1 { width: 8.33333333%; }
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
.responsive-img{ width: 100%; }
.responsive-table{ width: 100%; overflow: auto; box-sizing: border-box; border: 1px solid #999; }

section:before,
section:after,
.form-group:before,
.form-group:after,
.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.container-row:before,
.container-row:after{
  content: " ";
  display: table;
}
section:after,
.form-group:after,
.clearfix:after,
.container:after,
.container-row:after{
  clear: both;
}

/******************GLOBAL OVERRIDES ******************************/
.searchResultsTileHolder{ width: 25%; }
.searchResultsTile{ width: auto; }
.featuredGalleryBlock,.searchResultsGallery{ float: none; width: auto; }
.featuredCarousel .featuredGalleryBlock{ width: 305px; float: left; }

.mapWrapper #GmapHolder{ height: 300px; width: 100%; }
.mapWrapper #MapResults{ display: none; }
/****************GOING UP**************************************/
@media (min-width: 480px) {
}
@media (min-width: 768px) {
	.featuredGalleryBlockWrapper,.searchResultsGalleryWrapper{ margin-left: -1.5%; margin-right: -1.5%; }
	.featuredGalleryBlock,.searchResultsGallery{
		float: left;
		width: 47%;
		margin-left: 1.5%; 
		margin-right: 1.5%;
	}
	.featuredCarousel .featuredGalleryBlockWrapper{ margin: -10px; }
	.featuredCarousel .featuredGalleryBlock{ width: 330px; margin: 10px; }
		
	.mapWrapper #GmapHolder{ height: 450px; width: 60%; }
	.mapWrapper #MapResults{ height: 450px; width: 40%; display: block; }
}
@media (min-width: 992px) {
	.featuredGalleryBlockWrapper,.searchResultsGalleryWrapper{ margin-left: -1.5%; margin-right: -1.5%; }
	.featuredGalleryBlock,.searchResultsGallery{
		width: 30.333333333332%;
		margin-left: 1.5%; 
		margin-right: 1.5%;
	}
	.featuredCarousel .featuredGalleryBlockWrapper{ margin: -10px; }
	.featuredCarousel .featuredGalleryBlock{ width: 290px; margin: 10px; }
	
	.listingDetailPhotoSlider .shortDetail{ float: none; width: auto; }
    .listingDetailPhotoSlider .shortDetail .infoRow{ display: block; float: left; box-sizing: border-box; width: 50%; margin: 0px; background: #fff!important; }
    .listingDetailPhotoSlider .shortDetail .listPrice{ width: auto; margin-right: 30px; }
    .listingDetailPhotoSlider .shortDetail .listPrice .price{ font-size: 200%; font-weight: 300; }
    .listingDetailPhotoSlider .shortDetail .listPrice .data{ padding-left: 0px; }
    .listingDetailPhotoSlider .shortDetail .listPrice .label{ display: none; margin-left: 0px; }
    .listingDetailPhotoSlider .shortDetail .mlsId,
    .listingDetailPhotoSlider .shortDetail .officeNum,
    .listingDetailPhotoSlider .shortDetail .bedrooms,
    .listingDetailPhotoSlider .shortDetail .bathrooms,
    .listingDetailPhotoSlider .shortDetail .sqft,
    .listingDetailPhotoSlider .shortDetail .lotSize{  padding: 0px; padding-left: 5px;  margin: 14px 0px 14px 5px; width: auto; border-left: 1px solid #ddd; }
    .listingDetailPhotoSlider .shortDetail .mlsId{ border: 0px; }
    .listingDetailPhotoSlider .shortDetail .mlsId .label,
    .listingDetailPhotoSlider .shortDetail .officeNum.label,
    .listingDetailPhotoSlider .shortDetail .bedrooms .label,
    .listingDetailPhotoSlider .shortDetail .bathrooms .label,
    .listingDetailPhotoSlider .shortDetail .sqft .label,
    .listingDetailPhotoSlider .shortDetail .lotSize .label{ width: auto; }
    .listingDetailPhotoSlider .longDetail .infoRow .data{ margin-left: 0px; }
	
	.mapWrapper #GmapHolder{ height: 480px; width: 70%; }
	.mapWrapper #MapResults{ height: 480px; width: 30%; }
}
@media (min-width: 1200px) {
	.featuredCarousel .featuredGalleryBlockWrapper{ margin: -10px; }
	.featuredCarousel .featuredGalleryBlock{ width: 352px; margin: 10px; }
		
	.mapWrapper #GmapHolder{ height: 600px; width: 75%; }
	.mapWrapper #MapResults{ height: 600px; width: 25%; }
}

/****************GOING DOWN**************************************/
@media (max-width: 1179px){
	/******search results***********/
	.searchResultsWrapperWithSideBar .searchResults{ width: 79%; }
	.sideSearch{ width: 21%; }
	
	.searchResultsTileHolder{ width: 33.33333333333336%; }
	.searchResultsTile{ height: 375px; }

	/******listing detail***********/
	.listingDetailWithSide{ width: 79%; }
	.listingDetailPhotoSlider{ width: auto; }
	.listingDetailPhotoSlider .bodyDetail{ width: 79%; }
	.detailRight{ width: 21%; }
}
@media (max-width: 991px) {
	/******search results***********/
	.searchResultsWrapperWithSideBar .searchResults{ width: 73%; }
	.sideSearch{ width: 27%; }
	.searchNavTop .searchNav{ float: none; margin-top: 6px; }
	.searchNavTop .searchOpts{ float: none; }

	.searchResultsTileHolder{ width: 50%; }
	.searchResultsTile{ height: 375px; }

	/******listing detail***********/
	.listingDetailWithSide{ width: 73%; }
	.listingDetailPhotoSlider{ width: auto; }
	.listingDetailPhotoSlider .bodyDetail{ width: 73%; }
	.detailRight{ width: 27%; }
}
@media (max-width: 767px) {
	/******search results***********/
	.searchResultsWrapperWithSideBar .searchResults{ float: none; width: auto; }
	.sideSearch{ float: none; width: auto; padding: 0px; }
	
	.searchNavTop .searchNav{ float: none; text-align: center; }
	.searchNavTop .searchNav span{ white-space: nowrap; }
	.searchNavTop .searchOpts{ float: none; text-align: center; }
	.sideSearch .buttonBar .close{ display: initial; }

	#sectionRefine{ display: none; position: fixed; top: 0px; left: 0px; bottom: 0px; right: 0px; background: rgba(0,0,0,0.5); z-index:10000; }
	.mobileRefine #sectionRefine{ display: block !important; }
	.mobileRefine #sectionRefine .head{ position: absolute; top: 20px; left: 20px; right: 20px; bottom: 50px; } 
	.mobileRefine #sectionRefine .body{ position: absolute; top: 50px; left: 20px; right: 20px; bottom: 95px; overflow: auto; } 
	.mobileRefine #sectionRefine .buttonBar{ position: fixed; bottom: 20px; left: 20px; right: 20px; background: #fff; height: 85px; box-sizing: border-box; } 
	
	/******listing detail***********/
	.listingDetailWithSide{ float: none; width: auto; border-right: 0px; padding: 0px; }
	.detailRight{ float: none; width: auto; padding: 0px; margin-top: 20px; }
	.listingDetailPhotoSlider .bodyDetail{ width: auto; float: none; padding: 0px; border: 0px; }

	/********AGNET PROFILES*****************/
	.AgentProfileFull .info{ width: auto; float: none; }
	.AgentProfileFull .photo{ height: auto; margin-bottom: 5px; }
	.AgentProfileFull .photo img{ display: block; margin: auto; width: 100%; max-width: 250px; }
	.AgentProfileFull .message{ margin-left: 0px; }	
}
@media (max-width: 479px) {
	/*****listing detail*******/
	.listingDetail .photoWrapper{ width: auto; float: none; }
	.listingDetail .shortDetail{ width: auto; float: none; }
	.listingDetailNav .listingNav{ float: none;  text-align: center; }
	.listingDetailNav .listingLinks{ float: none; text-align: center;}

	/******search results***********/
	.searchResultsThumb .photo
	,.featuredWideList .photo{
		float: none;
		height: auto;
		width: auto;
	}
	.searchResultsThumb .photo img
	,.featuredWideList .photo img{
		width: 100%;
		height: auto;
	}
	.searchResultsThumb .detail, .featuredWideList .detail{ margin: 3px 0px 0px 0px }
	.searchResultsThumb .resultLinks{ text-align: center; }
	
	.searchResultsTileHolder{ width: 100%; }
	.searchResultsTile{ height: auto; }
	
	/********Places Map*****************/
	.placesMapLeftRight .placeMap{ width: auto; float: none;  }
	.placesMapLeftRight .placeList{ width: auto; float: none; padding-left: 0px; }
}
