/* Reset ihf sizes */
#ihf-main-container .ihf-listing-information-alt {
	padding: 0;
}

#ihf-main-container,
.ihf-main-container {
	font-size: inherit;
}

#ihf-main-container .h5,
#ihf-main-container h5 {
	font-size: 24px;
}

.ihf-tab-pane {
	font-size: 0.8em;
	line-height: 1.75;
}

/* Disclaimers */
.ihf-page.ihf-search-type--eureka .ihf-board-disclaimers {
	padding: 0.5em;
}

.ihf-board-disclaimers p {
	font-size: 0.875em;
	line-height: 1.5;
}

.ihf-board-disclaimers img {
	float: left;
	padding-right: 0.75em;
	padding-bottom: 0.25em;
	max-width: 150px;
	max-height: 75px;
}

/* Quick search bar */
ihf-universal-quick-search.ihf-eureka .ihf-navbar {
	background: none !important;
	border: none !important;
	padding: 0 !important;
}

ihf-universal-quick-search.ihf-eureka .ihf-navbar .ihf-btn {
	border: none;
}

ihf-universal-quick-search.ihf-eureka .ihf-navbar .ihf-select-options {
	box-shadow: none;
	left: 0;
	width: calc(100% - 1px);
}

/* map search */
.ihf-page.ihf-search-type--eureka .ihf-powered-by {
	position: absolute;
	bottom: 0;
	padding: 0.5em;
}

.ihf-page.ihf-search-type--eureka .ihf-powered-by,
.ihf-page.ihf-search-type--eureka .ihf-powered-by * {
	text-align: left !important;
	font-size: 14px !important;
	line-height: 1;
	text-shadow: 1px 1px 0 white;
}

.ihf-page.ihf-search-type--eureka .ihf-sticky-height.ihf-container-xl .ihf-search,
.ihf-page.ihf-search-type--eureka .ihf-sticky-height.ihf-container-lg .ihf-search {
	transform: rotateX(0);
}

.ihf-page.ihf-search-type--eureka .ihf-sticky-height.ihf-container-lg .ihf-search .ihf-listings-container ihf-pagination,
.ihf-page.ihf-search-type--eureka .ihf-sticky-height.ihf-container-xl .ihf-search .ihf-listings-container ihf-pagination {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 500px;
	background-color: white;
	padding: 5px;
}

/* Listing Gallery/Tiles */
.ihf-gallery-slider-paging {
	position: relative;
	margin-bottom: 30px;
}

.ihf-gallery-slider-paging>a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/** Listing details */
#ihf-main-container .ihf-listing-detail .title-bar-1,
.ihf-main-container .ihf-listing-detail .title-bar-1 {
	background-color: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 1em -30px 0 15px;
	font-size: 1.25em;
	font-weight: bold;
	border-bottom: 2px solid;
	color: inherit;
	max-width: calc(100% - 30px) !important;
}
#ihf-main-container .fa:before {
	font-family: FontAwesome;
}

/* - #ihf-agent-sellers-rep is duplicated on broker displays; hide the outer one */
.ihf-display-type-broker .ihf-listing-detail .ihf-listing-information-alt>#ihf-agent-sellers-rep {
	display: none;
}

.ihf-listing-detail .ihf-listing-information-alt #ihf-agent-sellers-rep #ihf-agent-sellers-rep-own-listing {
	width: auto !important;
}

#ihf-agent-sellers-rep {
	font-size: .8em;
}

/* - Tabs */
#ihf-main-container .ihf-listing-detail .ihf-listing-information-alt #ihf-map-canvas {
	height: 600px !important;
	min-height: 75vh;
	max-height: calc(100vh - 60px);
}

.ihf-detail-tab-content+div,
.ihf-detail-tab-content+img+div,
#ihf-board-detail-disclaimer,
#ihf-agent-sellers-rep,
#ihf-agent-sellers-rep+div,
#ihf-board-detail-updatetext,
.ihf-powered-by {
	font-size: 12px !important;
	margin-top: 0 !important;
	margin-bottom: 0.5em !important;
}

.ihf-detail-tab-content+img,
#ihf-board-disclaimers>img {
	float: left;
	margin-right: 5px;
	max-height: 36px;
}

.ihf-detail-tab-content+img+div {
	padding-top: 5px;
}

/* - Photos */
#ihf-main-container .ihf-listing-detail .ihf-listing-number-alt {
	font-size: 0.75em;
	font-weight: 600;
	margin: 1.5em 0;
}

/* - Helps the two columns under the photos line up better */
.ihf-listing-information-alt>.row+.row>.col-md-6>.well {
	min-height: 100% !important;
}

.ihf-listing-information-alt>.row+.row>.col-md-6>.well .ihf-more-info-widget textarea[name=message] {
	height: 150px !important;
}

/* Featured listings ws template */
.ihf-grid-result-virtual-tour {
	text-align: right;
}
#ihf-main-container .ihf-grid-result-virtual-tour a {
	color: #999;
}

/* Market Reports */
.ihf-chart-container.col-xs-6:first-child:last-child {
	margin-left: 25%;
	margin-right: 25%;
}

/* Community Page Stuff */
ul.rep-ihf-communities-list {
	columns: 4;
	list-style: none;
	margin: 0;
	text-align: center;
}
@media (min-width: 768px) and (max-width: 1024px) {
	ul.rep-ihf-communities-list {
		columns: 3;
	}
}
@media (max-width: 768px) {
	ul.rep-ihf-communities-list {
		columns: 2;
	}
}
