/*
Theme Name: Oak Child
description: Client Theme - Oak
Template: oak-parent
Version: 1.0.0
Text Domain: oak-child
Author: BCW
*/
/* ==========================================================================
   Oregon Neurosurgery
   ========================================================================== */

/* Map iframe border is hard-coded navy in base.css (never var-ified) */
.googlemap-container embed,
.googlemap-container iframe,
.googlemap-container object {
	border-color: var(--color-1);
}

/* Footer band without a form: heading only, so tighten it up */
#bottom-feature.no-form {
	padding: 90px 0;
}
#bottom-feature.no-form h2 {
	margin: 0;
	opacity: .9;
}
#bottom-feature h2 a {
	color: #fff;
}

/* Buttons */
.btn {
	color: #fff;
	font-weight: bold;
	padding: 10px 24px;
	margin: 10px 0 20px;
}
.btn:hover,
.btn:focus {
	color: #fff;
}

/* --- Team Page (transplanted from Harmony page-team.php) --- */
#team-section {
	background: #f7f7f7;
	padding: 15px 0 30px;
}
.team {
	display: block;
	padding: 30px 0;
	clear: both;
	border-top: 1px solid #ececec;
}
.team-blocks .team:first-of-type {
	border-top: none;
}
.team img {
	border: 5px solid var(--color-2);
	margin-bottom: 15px;
}
.team-blocks .name {
	margin-top: 0;
	padding-bottom: 8px;
}

/* --- Testimonials Page (transplanted from Coral Reef page-testimonials.php) --- */
.vertical-slider {
	overflow: hidden;
	display: flex;
}
.vertical-slider .items {
	flex: 1 1 auto;
	transition: transform ease .3s;
}
.vertical-slider .item {
	padding: 20px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.vertical-slider .arrows {
	flex: 0 0 auto;
	margin-left: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	font-size: 30px;
	padding: 20px 0;
}
.vertical-slider .arrow {
	cursor: pointer;
}
.vertical-slider .arrow span {
	color: #fff;
}
.vertical-slider.first.last .arrows {
	display: none;
}
.vertical-slider.first .prev,
.vertical-slider.last .next {
	opacity: .3;
	cursor: default;
}
.testimonial-section {
	margin: 0 0 40px;
}
.testimonial-section .testimonials {
	background-color: var(--color-1);
	color: #fff;
	padding: 25px 50px;
	font-size: 17px;
	line-height: 1.6;
}
.testimonial-section .testimonial .author {
	text-align: center;
	font-weight: 700;
	color: var(--color-2);
	font-size: 19px;
}

@media screen and (max-width: 767px) {
	.testimonial-section .testimonials {
		padding: 15px 20px;
	}
	.team img {
		margin: 0 auto 15px;
	}
}

/* --color-4 is black per the brief; keep the bands it drives readable */
.review-section {
	background-color: var(--color-1);
	color: #fff;
}
.review-section h2,
.review-section .owl-carousel .owl-nav {
	color: #fff;
}
.review-section h2 {
	border-color: var(--color-2);
}
.review-section .reviews .content {
	font-size: 20px;
	line-height: 1.5;
}
.review-section .reviews .heading {
	color: var(--color-2);
	font-weight: bold;
	font-size: 18px;
}
.review-section .owl-carousel .owl-nav button span {
	color: #fff;
}
.review-section .owl-carousel .owl-dots .owl-dot {
	border-color: #fff;
}
.review-section .owl-carousel .owl-dots .owl-dot.active {
	background-color: var(--color-2);
	border-color: var(--color-2);
}
.toggle-item .toggle-heading {
	background-color: var(--color-1);
}
.toggle-item .toggle-heading h3,
.toggle-item .toggle-heading .icon span {
	color: #fff;
	margin: 0;
}
.faq-section .content h2 {
	color: #fff;
	border-color: #fff;
}
footer a:hover,
footer a:focus,
#contact-info a:hover,
#contact-info a:focus {
	color: var(--color-3);
	text-decoration: underline;
}
.social i {
	color: #fff;
}
/* No email address: drop the empty email slot (and its separator) from the footer bar */
#contact-info .social-icons > .link:has(> span:empty) {
	display: none;
}

/* Variable-height vertical slider (see assets/js/scripts.js) */
.vertical-slider {
	transition: height ease .3s;
	align-items: flex-start;
}
.vertical-slider .items {
	display: flex;
	flex-direction: column;
}
.vertical-slider .item {
	padding: 25px 0;
}
.vertical-slider .arrows {
	align-self: stretch;
}
/* Content spacing for lists/sub-headings inside page copy */
main h3 {
	margin-top: 25px;
}
main ul,
main ol {
	margin-bottom: 15px;
}
main ol.references {
	font-size: 14px;
}

/* --- Services dropdown (desktop). Oak ships it transparent, so the links sat on the banner photo --- */
@media screen and (min-width: 992px) {
	.navbar-nav > li.dropdown {
		position: relative;
	}
	.navbar-nav > li.dropdown > .dropdown-menu {
		left: 0;
		top: 100%;
		margin-top: 0;
		min-width: 580px;
		padding: 12px 0;
		background: #fff;
		border-top: 4px solid var(--color-2);
		border-radius: 0 0 4px 4px;
		box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
		column-count: 2;
		column-gap: 0;
		column-rule: 1px solid #e6ebf0;
		text-align: left;
		z-index: 1000;
	}
	.navbar-nav > li.dropdown > .dropdown-menu > li {
		break-inside: avoid;
	}
	.navbar-default .navbar-nav > li.dropdown > .dropdown-menu > li > a {
		display: block;
		padding: 10px 22px 10px 19px;
		border-left: 3px solid transparent;
		color: var(--color-1);
		font-size: 15px;
		font-weight: 600;
		line-height: 1.35;
		white-space: normal;
		background: transparent;
		transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	}
	.navbar-default .navbar-nav > li.dropdown > .dropdown-menu > li > a:hover,
	.navbar-default .navbar-nav > li.dropdown > .dropdown-menu > li > a:focus {
		background: #eef7f2;
		border-left-color: var(--color-2);
		color: var(--color-1);
	}
	/* current page */
	.navbar-default .navbar-nav > li.dropdown > .dropdown-menu > li.active > a,
	.navbar-default .navbar-nav > li.dropdown > .dropdown-menu > li.current-menu-item > a {
		background: var(--color-1);
		border-left-color: var(--color-2);
		color: #fff;
	}
	/* keep "Services" highlighted while its menu is open */
	.navbar-default .navbar-nav > li.dropdown:hover > a,
	.navbar-default .navbar-nav > li.dropdown:focus-within > a {
		background-color: var(--color-1);
		color: var(--color-3);
	}
	/* keyboard users: open on focus too */
	.navbar-nav > li.dropdown:focus-within > .dropdown-menu {
		display: block;
	}
}

/* Mobile nav: tighter links */
@media screen and (max-width: 991px) {
	.navbar-default .navbar-nav>li>a {
		padding: 6px;
		font-size: 15px;
	}
}
