/*
Theme Name:		Modules - BHCL
Author:			CMS Web Solutions
Author URI:		http://cmswebsolutions.com
*/

/* lato-regular - latin */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: local(''),
		url('fonts/lato-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/lato-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-italic - latin */
@font-face {
	font-family: 'Lato';
	font-style: italic;
	font-weight: 400;
	src: local(''),
		url('fonts/lato-v20-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/lato-v20-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	src: local(''),
		url('fonts/lato-v20-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/lato-v20-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700italic - latin */
@font-face {
	font-family: 'Lato';
	font-style: italic;
	font-weight: 700;
	src: local(''),
		url('fonts/lato-v20-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/lato-v20-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local(''),
		url('fonts/roboto-v29-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/roboto-v29-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	src: local(''),
		url('fonts/roboto-v29-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/roboto-v29-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500italic - latin */
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 500;
	src: local(''),
		url('fonts/roboto-v29-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/roboto-v29-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 110%;
}

body {
	margin: 0 auto;
	padding: 0 2rem;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	position: relative;
	color: #010101;
	background-color: #fffefe;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	* {
		-webkit-animation-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		-webkit-animation-iteration-count: 1 !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

header, nav, main, footer, iframe, embed {
	display: block;
	position: relative;
	margin: 0 auto;
}

figure {
	display: table;
}

figcaption {
	display: table-caption;
	caption-side: bottom;
}

.inner {
	display: block;
	margin: 0 auto;
	padding: 0;
	max-width: 70rem;
	position: relative;
}

h1 {
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	position: relative;
}

.home h1 {
	color: #666;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	position: relative;
	background: none;
}

.banner {
	margin: .5rem 0;
	padding: .5rem 2rem;
	background: #cb4604 url(img/h1_background.jpg) center center no-repeat;
	border-bottom: 1px solid #f26e37;
}

h2 {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	color: #d14905;
	margin: 1.5rem 0 .75rem;
}

h2 a {
	color: #d14905;
	-webkit-text-decoration-color: #aaa;
	text-decoration-color: #aaa;
}

h2 a:hover, h2 a:focus {
	color: #666;
	-webkit-text-decoration-color: #222;
	text-decoration-color: #222;
}

h3 {
	color: #000;
	font-weight: 500;
	margin: 1.5rem 0 .75rem;
}

h2 + h3 {
	margin: 0 0 .75rem;
}

h4 {
	color: #d14905;
	font-weight: 500;
	margin: 1.5rem 0 .75rem;
}

li, p+p, p * {
	margin-top: 0;
}

ul[class], ol[class] {
	padding: 0;
}

ul[class], ol[class] {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
}

a {
	color: #d14905;
	transition: color .1s;
}

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

a[href^="tel:"] {
	text-decoration: none;
}

a:hover, a:focus {
	color: #000;
}

a:active {
	transition: color 2s;
	color: blue;
}

a img {
	border: none;
	outline: none;
}

iframe, embed {
	max-width: 100%;
}

input, textarea, select {
	margin: 0;
	font: inherit;
}

button, input[type=submit], 
.button,
.wp-block-button__link {
	color: #fff;
	background-color: #d14905;
	border: 1px solid #d14905;
	border-radius: 4px;
	font-family: inherit;
	font-size: inherit;
	line-height: 1.5;
	padding: .25rem 1rem;
	text-align: center;
	text-decoration: none;
}

button:hover, button:focus, 
.button:hover, .button:focus,
.wp-block-button__link:hover, 
.wp-block-button__link:focus {
	color: #000;
	background-color: #fff;
}

.gfield_required {
	font-size: .8rem;
}

table {
	border-collapse: collapse;
	margin: 1rem auto 2rem;
	padding: 0;
	width: 100%;
	max-width: 100%;
	overflow-x: scroll;
}
table caption {
	font-weight: 600;
	text-align: left;
	font-size: 125%;
	padding-bottom: .25rem 0;
}
table thead, table tbody {
	max-width: 100%;
}
table thead {
	text-align: left;
}
table th {
	font-weight: 600;
	font-size: 1.05rem;
}
table tr {
	border-bottom: 1px solid #eae4de;
}
table tr td, table tr th {
	padding: .25rem;
	text-align: left;
}

.hidden {
	position: absolute;
	left: -1000rem;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: -1px;
	padding: 0;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.clearfix {
	overflow: hidden;
	content: "";
	visibility: hidden;
	display: block;
	height: 1px;
	width: 1px;
	clear: both;
}

a.skip {
	position: absolute;
	top: 0;
	left: -1000rem;
	background-color: #000;
	color: #fff;
	text-decoration: none;
	border-radius: 0 0 3px 3px;
	z-index: 10;
}

a.skip:focus, a.skip:hover {
	left: 1rem;
	top: 0;
	padding: .5rem 1rem;
}

.logo {
	width: 100%;
	max-width: 260px;
	height: auto;
	margin: 1rem auto;
	display: block;
	text-align: center;
	position: relative;
	z-index: 2;
}

.tag {
	color: #666;
	font-family: 'Roboto', sans-serif;
	font-size: 1.5rem;
	font-style: italic;
	font-weight: 500;
	text-align: center;
}

nav {
	color: #fff;
	background-color: #000;
}

nav .mobile {
	transition: none;
	cursor: pointer;
	text-transform: uppercase;
	display: block;
	width: 100%;
	color: #fff;
	background: #000;
	margin: 0 auto;
	padding: .25rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	border: none;
	border-radius: 0;
}

nav .mobile:hover, 
nav .mobile:focus {
	color: #000;
	background-color: #f26e37;
}

nav ul {
	width: 100%;
	margin: 0;
	padding-left: 0;
	display: none;
}

nav li {
	list-style: none;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: .5rem .25rem;
	border-bottom: 1px solid #a3a3a3;
}

nav a {
	display: block;
	padding: .25rem 0;
	color: #fff;
	border: 2px solid transparent;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.nav_trigger {
	display: block;
	margin: 0 auto;
	padding: 0;
	color: #fff;
	font-weight: 600;
	background-color: transparent;
	text-transform: uppercase;
	border: 2px solid transparent;
	border-radius: 0;
}

nav a:hover, 
nav a:focus, 
nav a:active, 
.nav_trigger:hover, 
.nav_trigger:focus, 
.nav_trigger:active {
	color: #fff;
	background-color: transparent;
	border: 2px solid #f26e37;
}

nav .open+ul {
	display: block;
}

nav .open+li {
	padding: .5rem;
	text-align: center;
}

nav .open+li:hover, 
nav .open+li:focus {
	background-color: #eee;
}

nav .sub-menu {
	min-width: 5rem;
	transition: all 0.5s ease;
	display: none;
}

nav .sub-menu a:hover, 
nav .sub-menu a:focus {
	color: #000;
	background-color: #f26e37;
}

nav .sub-menu.open {
	display: block;
	position: relative;
}

nav .sub-menu.open li {
	display: block;
	position: relative;
}

nav .sub-menu.open li:last-of-type {
	border-bottom: none;
}

.attachment-hero {
	display: block;
	width: 100%;
}

.hero {
	display: block;
	width: 100%;
	height: 3rem;
	background: url(img/home_bar.jpg) center center no-repeat;
}

.content {
	flex-basis: 100%;
}

/* Default gallery */

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.gallery-item {
	margin: 1rem;
}

@supports (display: grid) {
	.gallery {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: (minmax(260px, 1fr))[auto-fit];
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		grid-gap: 1rem;
	}
	.gallery-item {
		margin: 0;
	}
}

.gallery-caption {
	margin: 0;
	text-align: center;
}

.gallery br {
	display: none;
}

footer {
	margin-top: 3rem;
	color: #fff;
	background-color: #5b5a5a;
	line-height: 1.1;
	overflow: hidden;
}

footer .inner {
	padding: 1.5rem;
}

footer h3,
footer a {
	color: #fff;
}

footer a:hover,
footer a:focus {
	color: #000;
}

footer p {
	margin: .5rem 0;
}

@media screen and (min-width: 56.25em) {
	
	.tag {
		text-align: left;
	}

	nav .mobile {
		display: none;
	}
	
	nav {
		padding: .25rem 1rem;
		flex: 1;
	}
	
	nav ul {
		display: flex;
		align-items: center;
	}
	
	nav li {
		width: auto;
		border-bottom: none;
		padding: .25rem .75rem;
	}

	nav > li:first-of-type a {
		padding-left: 0;
	}
	
	nav > li:last-of-type a {
		padding-right: 0;
	}

	nav li li {
		padding: 0;
	}

	nav a {
		display: block;
		padding: .5rem;
	}

	nav li li a {
		border-bottom: 1px solid transparent;
	}

	.nav_trigger {
		padding: .5rem;
		width: 100%;
	}
	
	nav .sub-menu.open {
		position: absolute;
		z-index: 10;
		padding-top: 1rem;
		width: auto;
		min-width: 10rem;
		box-shadow: 0 0 10px #363636;
	}

	nav .sub-menu.open li li {
		border-bottom: 1px solid transparent;
	}
	
	nav .sub-menu.open a {
		text-align: left;
		color: #000;
		background-color: #fbede7;
	}

	:not(.home)>nav .sub-menu.open a {
		padding-left: 1rem;
		color: #000;
		text-transform: none;
	}
	
	:not(.home)>nav .sub-menu.open a:hover, 
	:not(.home)>nav .sub-menu.open a:focus {
		background-color: #f26e37;
	}

	:not(.home)>nav .current_page_item a, 
	:not(.home)>nav .current_page_ancestor button {
		background-color: transparent;
		border: 2px solid #f26e37;
	}

	:not(.home)>nav .sub-menu.open .current_page_item a {
		border-bottom: 1px solid transparent;
	}

	.sidebar {
		flex-basis: 30%;
		margin: 3.75rem 3rem 0 0;
	}
	
	.content {
		flex-basis: 100%;
	}

	.wp-block-columns {
		gap: 2rem;
	}

	footer .inner {
		display: inline-block;
		display: flex;
		justify-content: space-between;
	}
}

@media screen and (min-width: 71.25em) {

	header {
		padding: 1rem 0 0;
		background: #fff url(img/header_overlay.png) top right no-repeat;
		background-size: 50%;
	}

	header .inner {
		padding: 0;
		display: flex;
		justify-content: space-between;
	}

	.logo {
		margin: auto;
		max-width: 300px;
		text-align: left;
	}

	footer {
		background: #5b5a5a;
	}

}