.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; }
	
	.simpleSearchWrapper .advancedFields .fields .field { flex-direction: row; }
	.simpleSearchWrapper .advancedFields .fields .field > div { margin-left: 0px; }
	.simpleSearchWrapper .advancedFields .fields .field > div.title { flex-basis: 150px; flex-grow: 0; flex-shrink: 0; line-height: 30px; }
}
@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; }
	
	.mapWrapper #GmapHolder{ height: 480px; width: 70%; }
	.mapWrapper #MapResults{ height: 480px; width: 30%; }
	
	.listingDetailWrapper.listingDetailModern .photos-container.photos-container-full .thumbnails-container .thumbnails .thumbnail{ flex-basis: 8%; height: 80px; }
}
@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%; }
	
	.searchResultsTileHolder{ width: 33.33333333333336%; }
	.searchResultsTile{ height: 375px; }

	/******listing detail***********/
}
@media (max-width: 991px) {
	/******search results***********/
	.searchResultsWrapperWithSideBar .searchResults{ width: 73%; }
	.searchNavTop .searchNav{ float: none; margin-top: 6px; }
	.searchNavTop .searchOpts{ float: none; }

	.searchResultsTileHolder{ width: 50%; }
	.searchResultsTile{ height: 375px; }
	
	.mapNewWrapper .mapNewElements .results{ width: 300px; }
	.mapNewWrapper .mapNewElements .results .mapNewResults .listings .listing { width: calc(100% - 5px); }
	
	/******listing detail***********/
	.listingDetailWrapper.listingDetailModern .bodyDetail { flex-direction: column; }
	.listingDetailWrapper.listingDetailModern .listingSpecs { flex-wrap: wrap; }
	.listingDetailWrapper.listingDetailModern .listingSpecs .other{ flex-wrap: wrap; flex-grow: 1; }
	.listingDetailWrapper.listingDetailModern .listingSpecs .other .specs { flex-grow: 1; }
	.listingDetailWrapper.listingDetailModern .listingSpecs .other .specs .spec{ flex-grow: 1; white-space: nowrap; }
	.listingDetailWrapper.listingDetailModern .listingSpecs .other .specs .spec.price{ font-size: 18px; }
	.listingDetailWrapper.listingDetailModern .listingSpecs .other .options { display: flex; flex-grow: 1; }
	.listingDetailWrapper.listingDetailModern .listingSpecs .other .options a{ display: flex; align-items: center; justify-content: center; flex-grow: 1; }
	.listingDetailWrapper.listingDetailModern .photos-container .thumbnails-container .thumbnails .thumbnail{ height: 50px; }
	
	.listingDetailModern .photos-container.photos-container-full { position: fixed; z-index: 10000; top: 0px; left: 0px; right: 0px; bottom: 0px; margin: 0px; background: rgba(0,0,0,0.95); overflow: auto; }
	.listingDetailModern .photos-container.photos-container-full .photos{ position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; height: auto; width: auto; min-height: 0px; max-height: none; box-sizing: border-box; z-index: 1; padding: 0px!important; overflow: auto; }
	.listingDetailModern .photos-container.photos-container-full .photos .photo { position: relative!important; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block!important; }
	.listingDetailModern .photos-container.photos-container-full .photos .photo img.slider-image{ position: relative!important; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block!important; transform: none; margin: auto; margin-bottom: 10px!important; width: 95%; max-width: 800px; height: auto; max-height: 100%; object-fit: contain; }
	.listingDetailModern .photos-container.photos-container-full .photo-count{ display: none; }
	.listingDetailModern .photos-container.photos-container-full .photoNaviBttns{ display: none; }
	.listingDetailModern .photos-container.photos-container-full .thumbnails-container{ display: none; }
	.listingDetailModern .photos-container.photos-container-full .statusBanner{ display: none; }
	.listingDetailModern .photos-container.photos-container-full #openFullScreen{ display: none; }
	.listingDetailModern .photos-container.photos-container-full #closeFullScreen{ display: block; }

	
	.listingDetailWrapper.listingDetailClassic { flex-direction: column; }
	
	.listingDetailWrapper.listingDetailPhotoSlider .bodyDetail { flex-direction: column; }

}
@media (max-width: 767px) {
	/******search results***********/
	.searchResultsWrapperWithSideBar .searchResults{ float: none; width: auto; }
	
	.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; }
	
	.mapNewWrapper .mapNewMobileInterface { display: flex; gap: 10px; border: 1px solid #ccc; padding: 10px; }
	.mapNewWrapper .mapNewMobileInterface > div { flex-grow: 1; flex-shrink: 1; flex-basis: 50%; }
	.mapNewWrapper .mapNewMobileInterface .toggle{ 
		display: none; 
		cursor: pointer;
		margin: auto; 
		background: #ececec;
		border: 1px solid #999; 
		padding: 5px 12px; 
		color: #555; 
		text-align: center; 
		border-radius: 3px; 
		box-shadow: 0px 0px 5px rgba(0,0,0,0.25); 
	}
	.mapNewWrapper .mapNewMobileInterface .toggle[active]{ display: block; }

	.mapNewWrapper .mapNewFilters{ overflow: auto; display: none; margin-bottom: 10px; border-top: 0px; border-bottom: 0px; margin: 0px; padding-bottom: 0px; }
	.mapNewWrapper .mapNewFilters[active]{ display: block; }
	.mapNewWrapper .mapNewFilters .primary{ display: flex; flex-wrap: wrap; }
	.mapNewWrapper .mapNewFilters .primary .Smart_Field{ min-width: 250px; }
	.mapNewWrapper .mapNewFilters .button.trigger{ display: none; }
	.mapNewWrapper .mapNewFilters .advanced { margin-top: 10px; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown { display: block; position: relative; top: 0px; left: 0px; right: 0px; bottom: 0px; width: auto; height: auto; border: 0px; background: transparent; box-shadow: none; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown .clearSearch{ display: none; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown .fields{ max-height: none; min-height: 0px; overflow: visible; border: 0px; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown .fields .field{ display: flex; flex-direction: row; gap: 10px; padding: 0px; align-items: center; margin-bottom: 5px; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown .fields .field .input{ margin: 0px; padding: 0px; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown .fields .field label{ margin: 0px; flex-basis: 90px; }
	.mapNewWrapper .mapNewFilters .advanced .dropDown .buttonBar{ background: transparent; padding: 0px; margin: 0px; }
	.mapNewWrapper .mapNewFilters .button{ white-space: nowrap; }
	.mapNewWrapper .mapNewFilters .fieldInput.Smart_Field{ width: 100px; }
	
	.mapNewWrapper .mapNewElements .map { display: none; height: auto; flex-shrink: 0; position: relative; z-index: 1; }
	.mapNewWrapper .mapNewElements .map[active]{ display: block; }
	.mapNewWrapper .mapNewElements .results{ display: none; width: auto; height: auto; overflow: auto; position: relative; z-index: 1; }
	.mapNewWrapper .mapNewElements .results[active]{ display: block; }
	.mapNewWrapper .mapNewElements .results .mapNewResults .listings .listing { width: calc(50% - 5px); }
	
	/******listing detail***********/
	.listingDetailWrapper.listingDetailModern .shortDetail .featured .infoRow{ flex-basis: 50%; }
	
	.listingDetailWrapper.listingDetailClassic .listingDetailNav{ display: block; }
	.listingDetailWrapper.listingDetailClassic .listingDetailNav .listingLinks{ text-align: center; margin: 10px 5px; }
	.listingDetailWrapper.listingDetailClassic .section-1{ display: block; }

	.listingDetailWrapper.listingDetailPhotoSlider .listingDetailNav{ display: block; }
	.listingDetailWrapper.listingDetailPhotoSlider .listingDetailNav .listingLinks{ text-align: center; margin: 10px 5px; }
	.listingDetailWrapper.listingDetailPhotoSlider .details .shortDetail .info{ display: block; }

	/********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*******/
	.listingDetailWrapper .listingDetailNav .listingNav{ justify-content: center; }
	.listingDetailWrapper .listingDetailNav .listingNav .button { width: auto!important; }
	.listingDetailWrapper .listingDetailNav .listingNav .listings .extra{ display: none; }
	.listingDetailWrapper.listingDetailModern .photos-container .thumbnails-container .thumbnails .thumbnail{ flex-basis: 15%; height: 35px; }
	

	/******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; }
	
	.mapNewWrapper .mapNewElements .results .mapNewResults .listings .listing { width: calc(100% - 5px); }
	
	/********Places Map*****************/
	.placesMapLeftRight .placeMap{ width: auto; float: none;  }
	.placesMapLeftRight .placeList{ width: auto; float: none; padding-left: 0px; }
}
