/**
 * Broker Circle navbar + footer chrome.
 * Loaded only on BC views (see gore_is_broker_circle()).
 * Scope all rules under body.gore--broker-circle.
 */

/* ==================== */
/* CONTENT OFFSET       */
/* ==================== */

/* Fix for content hidden by navbar */
body.gore--broker-circle {
	margin-top: 100px !important;
}

/* ====== */
/* NAVBAR */
/* ====== */

body.gore--broker-circle header nav.navbar-default,
body.gore--broker-circle header nav.navbar.bootsnav,
body.gore--broker-circle header.sticky nav.navbar-default,
body.gore--broker-circle header.sticky nav.navbar.bootsnav {
	background-color: white !important;
}

body.gore--broker-circle header a.logo-light img,
body.gore--broker-circle header a.logo-dark img,
body.gore--broker-circle header.sticky a.logo-light img,
body.gore--broker-circle header.sticky a.logo-dark img {
	max-height: 70px !important;
	height: 70px;
	margin-top: 15px;
	margin-bottom: 15px;
}

@media only screen and (min-width: 992px) {
	body.gore--broker-circle nav.navbar.navbar-default ul.nav > li > a {
		padding: 0 !important;
		margin-top: 26px !important;
		margin-bottom: 26px !important;
	}
}

/* ====== */
/* SEARCH */
/* ====== */

body.gore--broker-circle .search-wrapper {
	background-color: white;
	width: 100vw !important;
	position: relative;
	text-align: center;
}

body.gore--broker-circle .horizontal-line {
	width: 1140px;
	height: 0.5px;
	background-color: #747474;
	margin: 0px auto;
	text-align: center;
	display: none;
}

body.gore--broker-circle .search-form-container {
	height: 0px !important;
	overflow: hidden !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	transition: height 0.5s ease-in-out 0.5s ease-in-out !important;
}

body.gore--broker-circle .search-form-container.active {
	height: 108px !important;
	transition: height 0.5s ease-in-out 0.5s ease-in-out !important;
}

body.gore--broker-circle .search-form {
	display: flex;
	justify-content: center;
	align-items: center;
}

body.gore--broker-circle .search-field {
	width: 450px;
	height: 48px;
	font-size: 17px;
	padding-left: 28px !important;
	padding-top: 13px !important;
	padding-bottom: 14px !important;
	margin-top: 30px;
	margin-bottom: 30px;
	background-color: #ECE9E9;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	line-height: 20.72px;
}

body.gore--broker-circle .search-field::placeholder {
	color: #818080;
	font-family: 'Montserrat', sans-serif !important;
}

body.gore--broker-circle .search-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 48px;
	padding: 0px !important;
	width: 48px;
	margin-left: 31px;
	border: 2px solid #a6192e !important;
	border-radius: 5px !important;
	cursor: pointer;
	margin-right: 15px;
}

body.gore--broker-circle .search-icon {
	display: block;
	width: 24px;
	height: 25px;
	background: url('/wp-content/themes/pofo-child/assets/images/search-icon.svg') no-repeat;
}

body.gore--broker-circle .search-btn:hover .search-icon,
body.gore--broker-circle .search-btn:focus .search-icon {
	background: url('/wp-content/themes/pofo-child/assets/images/search-icon-active.svg') no-repeat;
}

body.gore--broker-circle .search-submit {
	background: #BBB7B8;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	height: 48px;
	width: 48px;
	border: none;
}

body.gore--broker-circle .search-submit:hover,
body.gore--broker-circle .search-btn:focus {
	background: #999494;
}

body.gore--broker-circle .search-submit-icon {
	height: 21px;
	width: 22px;
}

body.gore--broker-circle .layout-btn {
	height: 48px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media only screen and (max-width: 1169px) {
	body.gore--broker-circle .horizontal-line {
		width: 100%;
	}
}

@media only screen and (max-width: 528px) {
	body.gore--broker-circle .search-form-container.active {
		height: 78px !important;
	}

	body.gore--broker-circle .search-field {
		width: calc(99% - 46px);
		padding-left: 24px !important;
		margin-top: 0px !important;
		margin-bottom: 0px !important;
	}
}

@media (max-width: 768px) {
	body.gore--broker-circle .search-btn {
		margin-right: 15px;
	}
}

body.gore--broker-circle .broker-circle-logo-link:focus {
	color: transparent !important;
}

/* ====== */
/* FOOTER */
/* ====== */

/* BC-only footer template classes */

body.gore--broker-circle .gore--footer-col {
	display: flex;
	justify-content: center;
	align-items: center;
}

body.gore--broker-circle .gore--footer-col:last-child {
	margin-top: 30px;
}

@media (min-width: 768px) {
	body.gore--broker-circle .gore--footer-col {
		justify-content: flex-start;
		align-items: flex-start;
	}
	body.gore--broker-circle .gore--footer-col:last-child {
		justify-content: flex-end;
		align-items: flex-end;
		margin-top: 0px;
	}
	/* Mirror logo left: 15px — inset CTA to match navbar right edge */
	body.gore--broker-circle footer .gore--footer-col:last-child .width-auto {
		position: relative;
		right: 15px;
	}
}

body.gore--broker-circle .gore--footer-logo {
	height: 70px;
	max-height: 104px;
}

@media (min-width: 768px) {
	/* Match maintenance footer logo inset; aligns with navbar logo left edge */
	body.gore--broker-circle .gore--footer-logo {
		position: relative;
		left: 15px;
	}
}

@media (max-width: 992px) {
	body.gore--broker-circle .gore--footer-logo {
		max-height: 123px;
	}
}

@media (max-width: 768px) {
	body.gore--broker-circle footer.brokercommunication-footer
		.pofo-footer-wrapper
		.footer-wrapper-text-align-col-two:last-child,
	body.gore--broker-circle footer.brokercommunication-footer .footer-widget-area {
		text-align: center;
	}
}

/* Shared G&S footer rules (copied + scoped; originals stay in gore-base-styles) */

body.gore--broker-circle footer .padding-five-tb {
	padding-top: 70px !important;
	padding-bottom: 50px!important;
}

@media (min-width: 992px) {
	body.gore--broker-circle footer .padding-five-tb {
		padding-top: 70px;
		padding-bottom: 50px;
	}
}

body.gore--broker-circle .footer-logo {
	margin-bottom: 25px;
	height: 70px;
}

@media (min-width: 768px) {
	body.gore--broker-circle .footer-logo {
		margin-bottom: 25px;
		height: 70px;
		position: relative;
		left: 15px;
	}
}

body.gore--broker-circle .icon-social-medium > a > i {
	font-size: 25px !important;
}

body.gore--broker-circle footer .margin-three-right {
	margin-right: 0 !important;
}

body.gore--broker-circle footer .icon-social-medium {
	padding-right: 0px !important;
}

@media (min-width: 992px) {
	body.gore--broker-circle footer .icon-social-medium {
		padding-right: 90px !important;
	}
}

@media (min-width: 1199px) {
	body.gore--broker-circle footer .icon-social-medium {
		padding-right: 155px !important;
	}
}

@media (min-width: 768px) {
	body.gore--broker-circle .footer-social-icon a:last-of-type i {
		margin-right: 0;
	}
}

@media (max-width: 767px) {
	body.gore--broker-circle .footer-widget-area > .container {
		max-width: 576px;
	}
}

body.gore--broker-circle .footer-widget-area.padding-65px-tb {
	padding-top: 25px;
}

@media (min-width: 768px) {
	body.gore--broker-circle .footer-widget-area.padding-65px-tb {
		padding-bottom: 15px;
	}
}

@media (min-width: 992px) {
	body.gore--broker-circle .footer-widget-area.padding-65px-tb {
		padding-bottom: 65px;
	}
}

body.gore--broker-circle footer .menu {
	margin: 0 !important;
}

body.gore--broker-circle .footer-bottom div {
	width: 100% !important;
	text-align: center !important;
	margin-left: auto;
	margin-right: auto;
}

body.gore--broker-circle .footer-bottom.padding-50px-tb {
	padding-top: 30px !important;
	padding-bottom: 25px !important;
}

@media (min-width: 768px) {
	body.gore--broker-circle .footer-bottom.padding-50px-tb {
		padding-top: 45px !important;
		padding-bottom: 25px !important;
	}
}

body.gore--broker-circle .footer-bottom div > div {
	padding-top: 20px;
}

body.gore--broker-circle .footer-bottom div > div:last-child {
	padding-top: 20px;
}

@media (min-width: 1199px) {
	body.gore--broker-circle .footer-bottom div > div:last-child {
		padding-top: 0;
	}
}

body.gore--broker-circle .white {
	background-color: white !important;
}

body.gore--broker-circle footer,
body.gore--broker-circle .footer-widget-area .widget,
body.gore--broker-circle footer .menu li a,
body.gore--broker-circle .footer-left-text,
body.gore--broker-circle footer .footer-widget-area .widget .widget-title {
	line-height: 1.5 !important;
	font-family: Montserrat;
	font-size: 17px;
}

body.gore--broker-circle footer .footer-widget-area .widget .widget-title {
	font-weight: 800;
}

body.gore--broker-circle footer a:hover,
body.gore--broker-circle footer a:focus {
	color: #a6192e !important;
}

/* Footer chrome moved from archive/single sheets.
 * Gray on BC archive (archive sheet only); white where single sheet used to win. */

body.gore--broker-circle.post-type-archive-brokercommunications footer,
body.gore--broker-circle.post-type-archive-brokercommunications footer div {
	background-color: #E4E4E4 !important;
}

body.gore--broker-circle.single-brokercommunications footer,
body.gore--broker-circle.single-brokercommunications footer div,
body.gore--broker-circle.tax-broker-communications-categories footer,
body.gore--broker-circle.tax-broker-communications-categories footer div,
body.gore--broker-circle.tax-broker-communications-tags footer,
body.gore--broker-circle.tax-broker-communications-tags footer div,
body.gore--broker-circle.search footer,
body.gore--broker-circle.search footer div,
body.gore--broker-circle.post-type-archive-system-status footer,
body.gore--broker-circle.post-type-archive-system-status footer div {
	background-color: white !important;
}

body.gore--broker-circle footer .logo-container {
	padding: 68px 0;
}

@media screen and (max-width: 768px) {
	body.gore--broker-circle footer .logo-container {
		padding: 34px 0 68px 0;
	}
}

body.gore--broker-circle footer .text-widget {
	line-height: normal;
}

body.gore--broker-circle footer .gore--footer--copyright-line,
body.gore--broker-circle footer .gore--footer--trademark-line {
	margin-top: 30px;
}

@media screen and (min-width: 992px) {
	body.gore--broker-circle footer .gore--footer--copyright-line,
	body.gore--broker-circle footer .gore--footer--trademark-line {
		margin-top: 0;
	}
	body.gore--broker-circle footer .gore--footer--copyright-line {
		margin-top: 23px;
	}
	body.gore--broker-circle footer .pofo-footer-bottom .footer-bottom-container {
		padding-top: 43px;
	}
}
