@import url('header-navigation.css');

/* Custom page templates provide their own headings; hide the parent theme title bar globally. */
body .main-title-section-wrapper,
body .main-title-section-wrapper .breadcrumb {
    display: none !important;
}

/* Submenu / Dropdown Pure White Background & Neutral Border */
#main-menu ul li.menu-item-simple-parent ul,
.megamenu-child-container,
#main-menu ul li ul,
#main-menu ul li ul li,
#main-menu ul li ul li a,
.sub-menu,
ul.sub-menu,
ul.sub-menu li,
ul.sub-menu li a,
.is-sticky #header,
.is-sticky .main-menu-wrapper,
.page-with-slider .main-menu-wrapper {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-top: 1px solid #eeeeee !important;
    border-top-color: #eeeeee !important;
    border-color: #eeeeee !important;
}

/* Disable yellow header overlay */
#header::before,
#header:before,
.is-sticky #header::before,
.is-sticky #header:before,
header#header.header1::before,
header#header.header1:before {
    background-color: #ffffff !important;
    background: #ffffff !important;
    display: none !important;
}

/* Footer off-white background & logo badge */
#footer,
#footer .footer-widgets-wrapper {
    background-color: #F6F6F6 !important;
    background: #F6F6F6 !important;
}

#footer .copyright {
    background-color: var(--forum-primary) !important;
    background: var(--forum-primary) !important;
    color: #ffffff !important;
    border-top: none !important;
}

#footer .copyright .copyright-info,
#footer .copyright .copyright-info a,
#footer .footer-links a {
    color: #ffffff !important;
}

#footer ul.social-icons li a {
    color: #ffffff !important;
}

.footer-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    position: absolute !important;
    top: -60px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    z-index: 10 !important;
    transform: none !important;
}

.footer-logo img.retina_logo {
    display: none !important;
}

.footer-logo img.normal_logo,
.footer-logo img {
    position: static !important;
    max-width: 90px !important;
    max-height: 55px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

#footer .dt-sc-contact-info span,
#footer .dt-sc-contact-info .fa,
#footer .widget.widget_text .textwidget .dt-sc-contact-info p,
#footer .widget.widget_text .textwidget .dt-sc-contact-info p a {
    color: var(--forum-primary) !important;
}

#footer .footer-widgets-wrapper {
    padding-top: 55px !important;
    padding-bottom: 35px !important;
}

#footer .footer-widgets-wrapper h3.widgettitle {
    color: var(--forum-primary) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#footer .footer-widgets-wrapper .dt-sc-contact-info p {
    display: block !important;
    clear: both !important;
    float: none !important;
    color: var(--forum-text) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
}

#footer .footer-widgets-wrapper .dt-sc-contact-info p i.fa {
    color: var(--forum-primary) !important;
    margin-right: 8px !important;
    width: 16px !important;
    text-align: center !important;
    display: inline-block !important;
}

#footer .footer-widgets-wrapper .dt-sc-contact-info p a {
    color: var(--forum-primary) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline !important;
}

#footer .footer-widgets-wrapper .dt-sc-contact-info p a:hover {
    color: var(--forum-primary) !important;
    text-decoration: underline !important;
}

#footer .footer-widgets-wrapper .container {
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

#footer .footer-widgets-wrapper .column.dt-sc-one-fourth {
    float: none !important;
    width: 21% !important;
    margin-right: 0 !important;
}

#footer .footer-widgets-wrapper .column.dt-sc-one-fourth:nth-child(1) {
    margin-right: 2% !important;
}

#footer .footer-widgets-wrapper .column.dt-sc-one-fourth:nth-child(2) {
    margin-right: 12% !important;
}

#footer .footer-widgets-wrapper .column.dt-sc-one-fourth:nth-child(3) {
    margin-right: 2% !important;
}

#footer .footer-widgets-wrapper .column.dt-sc-one-fourth:nth-child(4) {
    margin-right: 0 !important;
}

/* Global footer layout shared by the homepage and inner pages. */
.forum-site-footer {
	background: var(--forum-primary-dark, #173B2D);
	color: #fff;
	margin-top: 0;
	max-width: none;
	position: static;
	width: 100%;
}

.forum-site-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 42px;
	margin: 0 auto;
	max-width: 1200px;
	padding: 58px 24px 48px;
}

.forum-site-footer h2,
.forum-site-footer p,
.forum-site-footer a {
	color: #fff !important;
}

.forum-site-footer h2 {
	font-size: 1.1rem;
	margin: 0 0 14px;
}

.forum-site-footer p {
	line-height: 1.6;
	margin: 0 0 8px;
}

body .forum-site-footer__logo img {
	height: auto !important;
	max-height: none !important;
	max-width: 100% !important;
	width: 150px !important;
}

.forum-site-footer__logo-link {
	display: inline-flex;
	align-items: center;
}

.forum-site-footer__logo-link img {
	display: block;
	height: auto;
	max-height: none;
	max-width: 240px;
	width: 150px;
}

.forum-site-footer__wordmark {
	color: #fff;
	display: inline-block;
	font-family: Georgia, serif;
	font-size: 2.25rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
}

.forum-site-footer__since {
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 20px !important;
}

.forum-site-footer__company {
	max-width: 280px;
}

.forum-site-footer__account {
	font-weight: 700;
	letter-spacing: .04em;
}

.forum-site-footer__bottom {
	background: #173B2D;
}

.forum-site-footer__bottom-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
	padding: 18px 24px;
}

.forum-site-footer__bottom-inner p {
	margin: 0;
}

.forum-site-footer__social {
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.forum-site-footer__social a {
	align-items: center;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.forum-site-footer__social svg {
	display: block;
	height: 20px;
	width: 20px;
}

@media (max-width: 900px) {
	.forum-site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.forum-site-footer__inner {
		grid-template-columns: 1fr;
	}

	.forum-site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
}

/* Footer bottom strip: dark green background with white content. */
body .forum-site-footer__bottom,
body #footer .copyright {
  background: #173B2D !important;
  background-color: #173B2D !important;
  color: #FFFFFF !important;
}

body .forum-site-footer__bottom p,
body .forum-site-footer__bottom a,
body .forum-site-footer__bottom-inner,
body .forum-site-footer__bottom-inner p,
body .forum-site-footer__social a,
body #footer .copyright,
body #footer .copyright p,
body #footer .copyright a,
body #footer .copyright .copyright-info {
  color: #FFFFFF !important;
}
