/*
Theme Name: Upper Pine Fire Protection District
description: Client Theme - Oak
Template: oak-parent
Version: 1.0.0
Text Domain: oak
Author: BCW
*/

header {
	z-index: 3;
}
.navbar .navbar-collapse {
	margin-top: 0;
}
.navbar-default .navbar-nav>li>a {
	display: block;
	padding: 15px 12px;
	font-size: 16px;
}
.dropdown-menu {
	background: none;
	float: none;
	left: 0;
	right: 0;
}
.dropdown-menu:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--color-1);
	opacity: .7;
	z-index: -1;
}
.dropdown-menu>li>a {
	white-space: normal;
	color: #fff;
	padding: 6px 10px;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
}
.navbar .navbar-nav {
	margin-bottom: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
	background-color: var(--color-2);
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
	background-color: var(--color-2);
}
.announcement {
	width: 95%;
	margin: 20px 0;
	border: 3px solid #107bc8;
	padding: 10px;
	overflow-wrap: break-word;
}
.brands-section {
	margin: 50px 0;
}
.brands-section h2 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
}
.owl-carousel .owl-item img {
	width: auto;
	margin: 0 auto;
}
.owl-carousel .owl-stage {
	display: flex;
	align-items: center;
}
.section {
	margin: 50px 0;
}
.section .section-row {
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
	row-gap: 30px;
}
.section .image-col {
	flex: 1 1 400px;
	margin-top: 20px;
}
.section .content-col {
	flex: 1 1 calc(100% - 430px);
}
.section:nth-child(even) .section-row {
	flex-direction: row-reverse;
}
#services-section {
	padding-bottom: 30px;
}
.services-main-section {
	padding-bottom: 10px;
}
.service h2 {
	font-size: 30px;
	margin: 0 0 20px 0;
	color: #fff;
	padding: 10px 10px 10px 20px;
	background: #b90c09;
}
.nav-tabs {
	list-style: none;
	padding: 0;
	background: #fff !important;
	border-bottom: 1px solid transparent !important;
}
.tab-content p {
	margin: 20px;
}
.tab-content h3 {
	margin: 20px;
	border-bottom: 5px double #d75056;
}
.tabs-left>li.active>a, .tabs-left>li.active>a:focus, .tabs-left>li.active>a:hover {}
.tabs-left>li {
	float: none;
	margin-bottom: -1px;
	margin-right: -1px;
	margin-left: -1px;
	margin-top: -1px;
}
.tabs-left>li>a {
	text-transform: uppercase;
	color: #000;
	font-size: 16px;
}
.tabs-left>li a:hover {
	background: #b90c09;
	color: #fff;
	border-bottom-color: transparent;
	border-right-color: transparent;
	border-top-color: transparent;
	border-left-color: transparent;
}
.tabs-left>li.active>a, .tabs-left>li.active>a:focus, .tabs-left>li.active>a:hover {
	border-radius: 0;
	background: #b90c09;
	border: 2px solid #b90c09;
	color: #fff;
}
.tabs-left>li>a {
	padding: 10px;
	border-radius: 0 0 0 0;
	margin-right: 0;
	display: block;
	border: 2px solid;
}

.page-id-583 .section .col {
	flex: 1 1 calc(50% - 15px);
}
.section iframe[data-src*="google.com/maps/"] {
	width: 100%;
	height: 100%;
}
.page-id-583 .content-col p {
	height: calc(100% - 40px);
}
.team-section {
	padding: 50px 0;
	text-align: center;
	background-color: #f1f1f1;
}
.team-section h2 {
	margin-bottom: 30px;
}
.team-section .members {
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 30px;
	row-gap: 30px;
}
.team-section .member {
	min-width: 270px;
	flex: 0 1 calc(33.33% - 20px);
	box-shadow: 0 0 10px 0 #000;
	padding: 30px;
	background: #ffffff;
  border: 1px solid var(--color-1);
}
.team-section .member .heading {
	font-weight: 700;
}
.contacts-section {
	margin: 50px 0;
}
.contacts-section .fas {
	margin-right: .5em;
}
.contacts-section h2 {
	text-align: center;
	margin-bottom: 20px;
}
.contacts-section .contacts {
	display: table;
	border: 1px solid var(--color-2);
	margin: 0 auto;
}
.contacts-section .contact {
	display: table-row;
	background: #f1f1f1;
}
.contacts-section .contact:nth-child(even) {
	background: #fff;
}
.contacts-section .contact:not(:last-child) .col {
	border-bottom: 1px solid var(--color-2);
}
.contacts-section .contact .col {
	display: table-cell;
	padding: 6px 15px;
}
.contacts-section .contact .col:not(:nth-child(3n)) {
	border-right: 1px solid var(--color-2);
}
.contacts-section .contact .heading {
	font-weight: 700;
}
.contacts-section .contact a {
	font-weight: 400;
}
.contacts-section .contact .mobile {
	display: none;
}

.stations-section {
	text-align: center;
}
.stations-section h2 {
	margin-bottom: 20px;
}
.stations-section .stations {
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 30px;
	row-gap: 30px;
}
.stations-section .station {
	flex: 0 1 calc(33.33% - 20px);
	background-color: var(--color-1);
	color: #fff;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: min(270px, 100%);
}
.stations-section .station .inner {
	display: flex;
	flex-direction: column;
}
.stations-section .station a {
	color: #fff;
	font-weight: 400;
	text-decoration: none;
}
.stations-section .station a:hover,
.stations-section .station a:focus {
	color: var(--color-4);
}
.stations-section .station .heading {
	font-weight: 700;
	font-size: 22px;
	margin-bottom: 6px;
}
.stations-section .station .content {
	max-width: 230px;
	margin: 0 auto;
}
.stations-section .station .fas {
	margin-right: .5em;
}
.stations-section .station .inner > * {
	margin-bottom: 6px;
}

.page-id-711 .content-col ul{
	column-count: 3;
	margin-top: 15px;
}

.page-id-735 legend{
	color: #000;
	font-size: 20px;
	text-align:left;
}
.content-sections .images {
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 50px;
	row-gap: 50px;
}
.content-sections .images .col {
	flex: 1 1 calc(50% - 25px);
	min-width: min(100%, 350px);
}
#events iframe {
	height: 600px;
}
.page-id-757 .service img.pull-left {
	float: right !important;
	margin: 20px 0 20px 20px;
}
.service ul {
	display: block;
}

.btns {list-style-type: none;padding:0; text-align: center !important;}
.btns li {margin-bottom: 5px;}
.btns .btn {background:#000 !important; color:#fff !important;}
.btns .btn:hover {background:#b90c09 !important; color:#fff !important;}

.service img.pull-right {margin: 0 0 20px 20px;}

body.page-id-771 #main img{
	border:none;
}
@media screen and (max-width: 991px) {
	.navbar .navbar-nav{
		display:block;
	}
	.mobile-dropdown{
		overflow-y:scroll;
		height:300px;
	}
    .fb-feed {
    margin: 0 auto;
    max-width: 340px;
}
}

@media screen and (max-width: 767px) {
	.contacts-section .contact .desktop {
		display: none;
	}
	.contacts-section .contact .mobile {
		display: inline-block;
	}
	.contacts-section .contacts {
		display: block;
	}
	.contacts-section .contact {
		display: flex;
	}
	.contacts-section .contact .col {
		flex: 1 2 95px;
		display: flex;
		align-items: center;
		padding: 6px 0px;
	}
	.contacts-section .contact .col.heading {
		flex: 2 1 95px;
		padding: 6px;
	}
	.contacts-section .contact .col:not(.heading) {
		justify-content: center;
	}
}


.bric-section{
	text-align: center;
	font-size: 18px;
}

.bric-section h2 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
}

.header-link p{
	margin: 10px 0 0 0;
	font-size: 22px;
}
.brands{
	display: flex;
	align-items: center;
  margin: 0 auto;
	justify-content: space-between;
}

.announcements-section h2 {
    text-align: center;
    margin-bottom: 20px
}
.announcements-heading{
	margin-top: 50px;
}
