/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/
@import url('https://fonts.googleapis.com/css?family=Assistant:400,700|Old+Standard+TT:400i');

:root {
	--theme-color1: #432C1B;
	--theme-color2: #b10707;
	--theme-color3: #181818;
}

body {
	font-family: 'Assistant', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #8F8F8F;
}

#topbar .site_contact { margin-right: 20px; }

#topbar .site_contact_block { display: inline; }

/* not supported by Firefox as of 6/23 */
#topbar .site_hours .site_contact_content br { content: ''; }

/* not supported by Firefox as of 6/23 */
#topbar .site_address_line2::before,
#topbar .site_hours .site_contact_content br::after { content: ', '; }

.site_contact a { text-decoration: none; }

a:hover { text-decoration: none; }

a:hover, a.current, header .mdi-magnify:hover { color: var(--theme-color2); }

blockquote {
	background-color: #f9f9f9;
	border: thin solid #ececec;
	padding: 20px;
	font-family: 'Old Standard TT', serif;
	font-style: italic;
	color: var(--theme-color3);
	font-size: 22px;
}

blockquote p:first-of-type::before {
	content: url(quote.png);
	display: inline-block;
	position: relative;
	bottom: -5px;
	margin-top: -5px;
}

#topbar {
	color: white;
	padding: 9px 0;
	font-size: 12px;
}

#topbar, footer {
	background-image: url(abstract-attractive-backdrop-988872.jpg);
	background-size: cover;
	position: relative;
}

#topbar::before, footer::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: var(--theme-color1);
	opacity: 0.75;
}

.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 0 15px;
}

.has-sidebar .copy-container { display: flex; }

#header-wrapper {
	position: sticky;
	top: 0;
	transition: all;
	transition-duration: 0.4s;
	z-index: 5;
}

header {
	background-color: white;
	color: var(--theme-color3);
	box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
	padding: 26px 0;
	top: 0;
	transition: all;
	transition-duration: .3s;
}

header a { color: var(--theme-color3); }

.collapse header { padding: 10px 0; }

#title img { max-height: 75px; }

#logo img {
	max-height: 80px;
    max-width: 80px;
}

#logo, #title, #logo img, #title img, .slogan {
	transition: all;
	transition-duration: .3s;
}

.collapse #logo img,
.collapse #title img { max-height: 43px; }

.collapse #logo,
.collapse #title { font-size: 1.3em; }

.collapse .slogan { font-size: 0.8em; }

#slideshow + .wrapper, #PhotoBox + .wrapper { margin-top: clamp(-100px, calc(35px - 6vw), 15px); }

#slideshow + .wrapper .copy-container, #PhotoBox + .wrapper .copy-container {
	background-color: white;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
}

.marquee {
	padding: 20px;
	background-color: #eee;
	font-size: 18px;
	color: #181818;
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	vertical-align: middle;
}

.is_frontpage .marquee {
	padding: 68px 20px;
	border-radius: 6px;
}

.marquee::before {
	display: inline-block;
	content: '\F00E6'; /* bullhorn */
	font: normal normal normal 24px/1 "Material Design Icons";
	padding: 5px;
	background-color: var(--theme-color2);
	color: white;
	font-size: 20px;
	vertical-align: middle;
	margin-right: 5px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.is_frontpage .marquee::before {
	padding: 20px;
	font-size: 60px;
}

#searchbar_container {
	background-color: var(--theme-color2);
	position: absolute;
	width: 100%;
}

#searchbar {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
	text-align: right;
	padding: 15px;
}

#searchbar button {
	border: none;
	border-radius: 0;
	height: 40px;
	margin: 0;
	margin-left: -3px;
	box-shadow: none;
}

#searchbar input {
	border: none;
	border-radius: 0;
	height: 40px;
	margin: 0;
	position: relative;
	top: -1px;
	padding-left: 20px;
	min-width: 300px;
}

#title {
	display: flex;
	font-size: 35px;
	font-weight: bold;
	text-decoration: none;
	color: var(--theme-color2);
}

#all_socialmedia, #account_menu { float: right; }

#account_menu {
	padding-top: 3px;
	margin-right: 15px;
}

#all_socialmedia { margin-bottom: 3px; }

#account_menu ul { line-height: 15px; }

.select_bar .current, .ui-tabs-active a {
	padding: 3px;
	background-color: rgba(33,33,33,.33);
}

header .wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-right: 0;
}

nav ul {
	display: inline;
	list-style: none;
}

nav > ul > li {
	display: inline-block;
	position: relative;
}

nav > ul > li > a, .mobile-button, header .mdi-magnify {
	display: block;
	margin-left: 8px;
	padding: 15px 20px;
	text-decoration: none;
	font-weight: bold;
	transition: all;
	transition-duration: .3s;
}

.mobile-button {
	font-size: 1.3em;
	display: none;
	cursor: pointer;
}

nav ul ul {
	display: none;
	position: absolute;
	z-index: 1;
	background-color: var(--theme-color1);
	top: 35px;
	left: 8px;
	color: white;
}

nav ul ul ul {
	top: 0;
	left: 180px;
}

nav ul ul li:hover > a { background-color: rgba(0,0,0,0.1); }

nav a {
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
}

nav ul ul a {
	min-width: 180px;
	display: block;
	padding: 10px 20px;
	color: white;
	text-decoration: none;
}

nav ul li:hover > ul { display: block; }

nav > ul > li:hover > ul {
	margin-left: 20px;
	margin-top: 12px;
	animation: submenu .4s;
}

@keyframes submenu {
	from { margin-top: 0px; }
	to { margin-top: 12px; }
}

nav ul ul li {
	display: block;
	position: relative;
}

header .mdi-magnify {
	margin-left: 8px;
	padding: 15px 0;
	cursor: pointer;
	padding-left: 20px;
	display: inline-block;
}

header .mdi-magnify::before { font-weight: bold; }

#slideshow .nivoSlider::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 6; /* necessary to clear the slices created during transitions */
}

#slideshow .nivo-caption, #photocaption {
	bottom: auto;
	top: 0;
	font-size: 55px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.18;
	background-color: transparent;
	opacity: 1;
	height: calc(100% - 100px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 0 0 7px black;
}

.sidebar {
	order: 1;
	width: 275px;
	margin-left: 20px;
	padding: 30px 15px 0;
}

.sidebar .copy { padding: 10px 0; }

.sidebar li {
	list-style: none none outside;
	padding: 5px 0;
	border-bottom: thin dotted #E5E5E5;
}

.sidebar li:last-child { border: none; }

.page h1, .sidebar h1 {
	font-weight: 700;
	color: #181818;
	text-transform: uppercase;
}

.page h2 { margin: 15px 0 5px; }

.page h2, .sidebar h1 {
	line-height: 38px;
	font-size: 24px;
}

.page h3 {
	font-size: 16px;
	color: var(--theme-color2);
}

.page { padding: 40px; }

.has-sidebar .sidebar-container { padding-top: 20px; }

.has-sidebar .page {
	order: 2;
	flex: 1;
}

.sidebar blockquote { font-size: 20px; }

footer {
	clear: both;
	text-align: center;
	font-size: 14px;
}

footer .wrapper:first-of-type {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px 10px;
	padding-top: 60px;
	padding-bottom: 60px;
}

footer .wrapper:last-of-type {
	border-top: thin solid #a5a5a5;
	color: #a5a5a5;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: left;
}

.cols-3 {
	flex: 1 1 auto;
	width: calc((100% - 20px)/3);
	text-align: left;
	color: white;
}

footer .cols-3 > h1 { display: none; }

footer .cols-3 > span, footer .cols-3:first-of-type > a { display: block; }

footer nav ul {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1em;
	word-break: keep-all;
}

footer nav ul ul { display: none !important; }

footer nav ul a, footer nav ul li {
	display: inline-block;
	font-size: 14px;
	min-width: 150px;
}

footer .site_contact i { color: var(--theme-color2); }

footer nav > ul > li > a {
	padding: 10px 0;
	margin-left: 0;
	font-weight: normal;
	text-transform: none;
}

footer nav li a::before {
	content: '\F013E'; /* chevron-double-right */
	color: var(--theme-color2);
	font-family: 'Material Design Icons';
	margin-right: 5px;
	display: inline;
}

.cms-button, .custom_button {
	--btn-bg: var(--theme-color2);
	font-size: 16px;
	font-weight: 700;
	border-radius: 3px;
	padding: 10px 25px;
	border: none !important;
}

.slogan { width: 100%; }

.material-design thead {
	transition: top;
	transition-duration: .1s;
}

@media screen and (max-width: 1023px) {
	#slideshow .nivo-caption, #photocaption { height: calc(100% - 50px); }

	nav > ul > li:hover > ul {
		animation: none;
		margin-top: 0;
		margin-left: 0;
		padding-left: 0;
	}

	nav > ul > li { display: block; }

	nav ul ul ul { padding-left: 0 !important; }

	.mobile-button { display: block; }

	.mobile-menu {
		opacity: 0;
		visibility: hidden;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(255,255,255,0.97);
		transition: all;
		transition-duration: .5s;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	header nav {
		padding: 30px;
		margin-left: 0;
		width: 100%;
		max-height: 100%;
		overflow: auto;
		text-align: center;
	}

	header.active .mobile-menu {
		opacity: 1;
		visibility: visible;
	}

	header.active .mdi-magnify { display: none; }

	nav li:hover > ul { animation: none; }

	header.active .mobile-menu .mobile-button {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 1;
	}

	header.active .wrapper { position: static; }

	nav ul a { margin-left: 0 !important; }

	nav li:hover > ul { margin: 0; }

	header nav > ul > li > a { font-size: 20px; }

	header nav ul ul {
		position: static !important;
		display: block !important;
		background-color: transparent;
	}

	header nav ul ul a { color: black; }

	header nav ul ul ul { padding-left: 20px; }

	#footer2 { text-align: center;	}

	#all_socialmedia { float: none; }
}

@media screen and (max-width: 767px) {

	#site-identity {
		margin: auto;
		padding-left: 32px;
	}

	footer .cols-3 { width: calc((100% - 10px)/2); }

	#slideshow .nivo-caption, #photocaption { font-size: 5vw; }

	.marquee {
		margin-top: 0;
		padding: 5px;
	}

	.marquee::before {
		padding: 0;
		font-size: 30px;
	}

	#slideshow { margin-top: 0; }

	#slideshow .nivo-caption, #photocaption { height: 100%; }

	.copy-container { display: block !important; }

	.sidebar {
		margin-top: 20px;
		margin-left: 0;
		width: 100%;
		min-width: 100%;
		clear: both;
	}

	.marquee, #searchbar { float: none; }

	.greenbar { text-align: center; }
}

@media screen and (max-width: 500px) {
	#account_menu { float: none; }

	#topbar { text-align: center; }

	#topbar .site_contact { display: block; }

	#topbar .site_contact_cell { display: inline; }

	#topbar .wrapper > div { float: none; }

	.page {
		padding-left: 0;
		padding-right: 0;
	}

	footer .cols-3 {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
}
