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

* {
	box-sizing: border-box;
}

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

h1,h2,h3,h4 {
	line-height: 1.25;
	color: #333;
	font-weight: 400;
}

h1 {
	padding: 1.5em 0 0;
	margin: 0 0 1em;
	line-height: 1;
}

h2,h3,h4 {
	margin: 1.75em 0 .5em;
	line-height: 1.25;
	color: #333;
	font-weight: 400;
}

p,ul,ol {
	margin: 1em 0;
}

ul,ol {
	padding-left: 1.5em;
}

ul li,ol li {
	margin-bottom: .5em;
}

blockquote {
    background: #eee;
    border-left: 10px solid #ddd;
    margin: 0 0 1.5em;
    padding: 1em;
}

cite {
	display: block;
}

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

a {
	color: #333;
	-webkit-transition: color .1s;
	transition: color .1s;
}

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

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

article, aside, details, embed, figcaption, figure, footer, header, iframe, main, menu, nav, section, summary, .hero, .inner {
	display: block;
	position: relative;
	margin: 0 auto;
}

.inner {
	max-width: 1140px;
}

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

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

table {
	border-collapse: collapse;
	margin: 1em auto 2em;
	padding: 0;
	width: 100%;
	max-width: 100%;
	overflow-x: scroll;
}

table caption {
	font-weight: 600;
	text-align: left;
	font-size: 125%;
	padding-bottom: .25em 0;
}

table thead,table tbody {
	max-width: 100%;
}

table thead {
	text-align: left;
}

table th {
	font-weight: 700;
	font-size: 1.05em;
}

table tr {
	border-bottom: 1px solid #eae4de;
}

table tr:hover,table tr:focus {
	background: #eae4de;
}

table tr td,table tr th {
	padding: .25em;
	text-align: left;
}

body {
	margin: 0 auto;
	font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
	font-weight: 400;
	position: relative;
	color: #010101;
	background: #fff;
}

.hidden {
	position: absolute;
	left: -1000em;
	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;
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

header {
	width: 100%;
	border-top: 1em solid #666;
}

a.skip {
	position: absolute;
	top: 0;
	left: -1000em;
	background: #354c65;
	color: #fff;
	text-decoration: none;
	border-radius: 0 0 3px 3px;
}

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

.logo {
	width: 100%;
	height: auto;
	max-width: 380px;
	margin: 1em 0 0;
	display: inline-block;
}

.vcard {
	display: inline-block;
	position: absolute;
	top: 1em;
	right: 1em;
	font-size: 150%;
	text-align: right;
}

.vcard p {
	margin: .25em 0;
}

.tel {
	font-size: 110%;
	font-weight: bold;
}

.open_closed {
	display: inline-block;
	vertical-align: top;
	position: absolute;
	bottom: 3em;
	right: 1em;
}

h3.hours {
	margin: 0;
	padding: 0;
	background: transparent;
	color: black;
	position: relative;
	vertical-align: top;
	font-weight: 700;
}

table.hours {
	margin: 0;
	padding: 0;
	display: block;
	border-radius: 6px;
	position: absolute;
	top: 2em;
	z-index: 12;
	background: white;
	border: 1px solid #ccc;
	overflow-x: auto;
	text-align: left;
}

button.hours {
	margin-top: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: black;
	position: relative;
	top: .5em;
	vertical-align: top;
	font-size: 100%;
}
	
button.hours:after {
	content: '\25BC';
	padding-left: .25em;
	font-size: 80%;
}
	
button.hours:hover, 
button.hours:focus {
	color: navy;
}

table.hours.hide {
	display: none;
}
	
table.hours.hide tr {
	border:  none;
}

table.hours tr {
  border: none;
}

table.hours tr td {
  padding: 0.1em;
}

table.hours tr.current td {
  font-weight: 700;
}

nav {
	background: #333;
	border-bottom: 1px solid white;
	width: 100%;
	box-shadow: 0 10px 10px 0 rgba(8,8,9,.4);
	z-index: 10;
	margin-top: 1em;
}

nav button {
	display: none;
}

nav ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
}

.ie9 nav ul {
	display: inline-block;
}

nav ul.sub-menu {
	display: none;
}

nav ul li {
	list-style: none;
	margin: 0 .5em;
	position: relative;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.ie9 nav ul li {
	display: inline-block;
}

nav ul a {
	display: block;
	text-decoration: none;
	text-align: center;
	color: white;
	padding: .5em 0;
}

nav ul a:hover,
nav ul a:focus,
nav ul a:active {
	color: #333;
	background: white;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] {
	margin-top: 0;
	display: block;
	position: absolute;
	top: 2.25em;
	min-width: 10em;
	background: #333;
	z-index: 10;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] li {
	margin: 0;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] a {
	color: #010101;
	padding: .5em;
	text-align: left;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] a:hover, 
nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] a:focus {
	color: white;
	background: #333;
}

nav ul [aria-haspopup="true"] + ul li {
	display: block;
	position: relative;
}

.hero {
	background: rgba(0,0,0,.5) url(img/banner.jpg) center top no-repeat;
	background-size: cover;
	height: 320px;
}
	
.hero_text {
	position: absolute;
	padding: 2em;
	width: 100%;
	text-align: center;
	bottom: 0;
	font-size: 100%;
	color: white;
	background: black; 
}

.feature {
	margin: 0 auto;
	padding: 2em;
	font-size: 200%;
	text-align: center;
	background: #d3d3d3;
}

#main {
	width: 100%;
	opacity: 0;
	-webkit-animation: fadeIn ease-in 1;
	animation: fadeIn ease-in 1;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: .4s;
	animation-duration: .4s;
	-webkit-animation-delay: .1s;
	animation-delay: .1s;
	top: -1em;
}

.ie9 #main {
	opacity: 1;
}

#main .inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.home #main .inner {
	display: block;
	padding: 2em;
}

.content {
	-webkit-box-flex: 3;
	-ms-flex: 3 3 auto;
	flex: 3 3 auto;
}

.ie9 .content {
	display: inline-block;
	vertical-align: top;
}

.home .content {
	width: 100%;
	border-bottom: 1px solid #ccc;
}

.callouts ul {
	max-width: 1140px;
	position: relative;
	margin: 2em auto 0;
	padding: 0;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	text-align: left;
}

.ie9 .callouts ul {
	display: inline-block;
}

.callouts li {
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
	width: 23%;
}

.ie9 .callouts li {
	float: left;
	margin-right: .5em;
}

.callouts h2 {
	color: black;
	padding: .5em 0;
	text-transform: uppercase;
	font-size: 120%;
	font-weight: 600;
}

.callouts li a {
	text-decoration: none;
}

.callouts li a:hover,.callouts li a:focus {

}

.callouts_basic {
	width: 100%;
	padding: 2em;
	background: #c3c3c3;
} 

.callouts_basic h2 {
	margin-top: 0;
	font-size: 180%;
}

.callouts_basic .intro {
	font-size: 120%;
	color: #222;
	text-align: center;
}

.callouts_basic ul {
	max-width: 1140px;
	position: relative;
	margin: 2em auto 0;
	padding: 0;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	text-align: left;
}

.ie9 .callouts_basic ul {
	display: inline-block;
}

.callouts_basic li {
	margin: 0;
	padding: 1em;
	list-style: none;
	width: 23%;
}

.ie9 .callouts_basic li {
	float: left;
	margin-right: .5em;
}

.callouts_basic h3 {
	margin: .25em 0;
}

.callouts_basic h3 a {
	padding: .5em;
	font-size: 115%;
	border: 1px solid #e3e3e3;
	text-align: center;
	text-decoration: none;
	display: block;
}

.callouts_basic li a:hover,
.callouts_basic li a:focus {
	color: black;
	background: rgba(227,227,227,.5);
}

.testimonial {
	background: #eee;
}

.testimonial blockquote {
	background: none;
	border-left: none;
	margin: 0;
	padding: 2em;
}

.logos {
	border-top: 1px solid #ccc;
	text-align: center;
	padding: 2em 0;
}

.logos img {
	margin: 0 1em;
}

.row img {
	max-width: 30%;
	display: inline-block;
	margin: 1em 2em 2em 0;
	vertical-align: top;
}

.row .details {
	display: inline-block;
	max-width: 60%;
}

.sidebar {
	min-width: 25%;
	margin: 2.75em 2em 0 0;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.ie9 .sidebar {
	display: inline-block;
	vertical-align: top;
}

.subnav {
	padding: .5em 0;
	color: #fff;
	background: #333;
	box-shadow: inset 2px 2px 16px 0 rgba(8,8,9,0.3);
}

.subnav ul {
	margin: 0;
	padding: 0;
}

.subnav ul .sub-menu:first-of-type {
	border-top: 1px solid #fff;
}

.subnav ul ul .sub-menu {
	color: #010101;
	background: #eae4de;
}

.subnav ul ul .sub-menu:first-of-type {
	border-top: none;
}

.subnav li {
	list-style: none;
	margin: 0;
	text-transform: uppercase;
	font-size: 120%;
}

.subnav ul li.current-menu-item ul,.subnav ul li.current-menu-ancestor ul,.subnav ul li.current_page_parent ul {
	display: block;
}

.subnav ul li ul {
	display: none;
}

.subnav li li {
	border-bottom: none;
	text-transform: none;
	font-size: 90%;
}

.subnav .menu-item-has-children ul.children {
	display: none;
}

.subnav .menu-item-has-children ul.children a {
	font-size: 90%;
}

.subnav li li li {
	margin-left: 1em;
	font-size: 90%;
}

.subnav ul li a {
	color: #fff;
	text-decoration: none;
	margin: .5em 0;
	padding: .5em 1em;
	display: block;
	text-align: left;
}

.subnav ul li a:hover,.subnav ul li a:focus {
	color: #eae4de;
}

.subnav li li a {
	margin: .25em .5em;
	padding: .5em;
	border: 1px solid #333;
}

.subnav li li a:hover,.subnav li li a:focus {
	color: #fff;
	background: #736250;
	border: 1px solid #998c7f;
	box-shadow: inset 2px 2px 2px 0 rgba(245,246,247.7);
}

.subnav li li li a {
	color: #010101;
	margin: .25em .5em;
	padding: .25em;
	border: none;
	border-bottom: 1px solid #eae4de;
}

.subnav li li li a:hover,.subnav li li li a:focus {
	color: #000 !important;
	background: none;
	border: none;
	border-bottom: 1px solid #333;
}

.subnav ul ul ul.sub-menu {
	display: none;
}

.subnav a.more::after {
	content: '\00a0\25be';
}

.subnav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] {
	padding: 0;
	background: #eae4de;
	border-top: 3px solid #736250;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	display: block;
}

.subnav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] a {
	padding: .25rem .5rem;
	color: #010101;
	-webkit-transition: background .2s;
	transition: background .2s;
	text-align: left;
}

.subnav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] a:hover,nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] a:focus {
	color: #fff;
}

.subnav ul li [aria-haspopup="true"] + ul li {
	display: block;
	position: relative;
	border-bottom: 1px solid #eae4de;
}

/* Default gallery */
.gallery {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-line-pack: start;
	align-content: flex-start;
}

.ie9 .gallery {
	display: inline-block;
}

.gallery-item {
	margin-right: .5em;
}

.gallery br {
	display: none;
}

#lightbox {
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	overflow: hidden;
	background: #000;
	background: rgba(0,0,0,0.85);
	z-index: 10;
}

#lightbox .loading {
	position: fixed;
	top: 40%;
	left: 0;
	color: #fff;
	z-index: 3;
	font-size: 2.5em;
	padding: .5em;
	width: 100%;
	opacity: 0;
	-webkit-transition: opacity .1s;
	transition: opacity .1s;
	pointer-events: none;
}

#lightbox.changing #img-box,#lightbox.changing #prev,#lightbox.changing #next {
	opacity: 0 !important;
}

#lightbox.changing .loading {
	opacity: 1;
}

#lightbox button {
	pointer-events: none;
}

#lightbox.active {
	height: 100%;
	opacity: 1;
	pointer-events: auto;
}

#lightbox.active button {
	pointer-events: auto;
}

#lightbox .image {
	text-align: center;
	height: 100%;
}

#lightbox .image #img-box {
	display: inline-block;
	max-width: 98%;
	max-height: 80%;
	width: auto;
	height: auto;
	vertical-align: middle;
	position: relative;
	opacity: 1;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
}

#lightbox .image #img-box #photo {
	display: block;
	height: auto;
	max-height: 100%;
	width: auto;
	box-shadow: 0 0 1em rgba(0,0,0,0.8);
	pointer-events: none;
	margin: 0 auto;
	text-align: center;
}

#lightbox .image #img-box .caption {
	text-align: left;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: .5em;
	background: #000;
	background: rgba(0,0,0,0.8);
	color: #fff;
}

#lightbox .image #next,#lightbox .image #prev {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 50%;
	background: none;
	text-align: left;
	border: none;
	outline: none;
	opacity: 0;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
	cursor: pointer;
}

#lightbox .image #next:hover,#lightbox .image #prev:hover,#lightbox .image #next:focus,#lightbox .image #prev:focus {
	opacity: 1;
}

#lightbox .image #next img,#lightbox .image #prev img {
	width: 5em;
	height: auto;
}

#lightbox .image #next {
	left: 50%;
	text-align: right;
}

#lightbox .image #close {
	padding: .25em 1em;
	font-size: 100%;
	position: absolute;
	top: 1.5em;
	right: 1em;
	background: #000;
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 2px;
	cursor: pointer;
}

#lightbox .image #close:hover,#lightbox .image #close:focus {
	background: #fff;
	color: #000;
}

#lightbox .image .height {
	vertical-align: middle;
	display: inline-block;
	height: 100%;
	width: .001%;
}

.post-list article {
	border-bottom: 1px solid #CCC;
	margin-bottom: 1.5em;
}

.post-list article h2 a {
	text-decoration: none;
	text-transform: none;
}

.post-list article:last-child {
	border: none;
}

.post-list article a.read-more {
	display: block;
}

.alignleft,img.alignleft {
	display: inline;
	float: left;
	margin: 1.5em 1.5em 1.5em 0;
}

.alignright,img.alignright {
	display: inline;
	float: right;
	margin: 1.5em 0 1.5em 1.5em;
}

.aligncenter,img.aligncenter {
	display: block;
	clear: both;
	margin: 1.5em auto;
}

.wp-caption {
	max-width: 100%;
	position: relative;
	display: block;
}

.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wp-caption p.wp-caption-text {
	display: block;
	position: absolute;
	width: 100%;
	margin: 0;
	padding: .5em;
	left: 0;
	bottom: 0;
	color: #fff;
	background: rgba(0,0,0,0.7);
}

ul.navigation {
	margin: 0;
	padding: 0 !important;
	list-style-type: none;
}

ul.navigation li {
	float: right;
}

ul.navigation li.newer {
	float: left;
}

footer {
	position: relative;
	bottom: 0;
	width: 100%;
	padding: 2em;
	color: white;
	background: #222;
}

footer h3 {
	color: white;
}

footer .inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: auto;
}

.ie9 footer .inner {
	display: inline-block;
}

.social {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.social {
	margin: 1em 0 0;
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.ie9 .social {
	display: inline-block;
}

.social li {
	list-style: none;
	margin-right: .5em;
}

.ie9 .social li {
	float: left;
}

.social li a {
	display: block;
}

.social li a:hover,.social li a:focus {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

footer .cols {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	padding: 2em;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.ie9 footer .cols {
	display: inline-block;
}

footer .col p {
	line-height: 140%;
}

.ie9 footer .col {
	display: inline;
	max-width: 30%;
}

.ios #lightbox .image #close {
	top: .5rem;
	right: .5rem;
}

.ios #lightbox .image #next,
.ios #lightbox .image #prev {
	opacity: 1;
}

.ios #lightbox .image #next img,
.ios #lightbox .image #prev img {
	display: none;
}

.ios #lightbox .image #next span.hidden,
.ios #lightbox .image #prev span.hidden {
	position: static;
	left: 0;
	width: auto;
	height: auto;
	overflow: auto;
	margin: 0;
	padding: 0;
	clip: none;
	border: 0;
}

@media screen and (min-width: 48em) {
	.hero {
		background: rgba(0,0,0,.5) url(img/banner.jpg) center top no-repeat;
		background-size: cover;
		height: 500px;
		top: -1em;
	}
	
	.hero_text {
		position: relative;
		top: 10em;
		color: white;
		font-size: 150%;
		background: rgba(0,0,0,.5); 
	}
}


@media screen and (max-width: 48em) {
	.logo {
		margin: 1em auto;
		display: block;
	}
	
	nav button {
		-webkit-transition: none;
		transition: none;
		cursor: pointer;
		text-transform: uppercase;
		display: block;
		background: transparent;
		color: white;
		padding: .25em 0;
		font-size: 1.25em;
		font-weight: 700;
		text-align: center;
		margin: 0 auto;
		border: none;
	}

	nav ul {
		width: 100%;
		margin: 0;
		display: block;
	}
	
	nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] {
		display: block;
		position: static;
		top: auto;
	}

	nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] li {
		-webkit-box-flex: unset;
		    -ms-flex: unset;
		        flex: unset;
        display: block;
        width: 100%;
	}
	
	nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] a {
        text-align: center;
	}

	.mainnav ul,
	.subnav ul {
		height: 0;
		overflow: hidden;
	}

	nav ul li {
		display: block;
		width: 100%;
		max-width: none;
		margin: 0;
		border-bottom: 1px solid white;
	}
	
	#main .inner {
		display: block;
	}

	.callouts li,
	.callouts_basic li {
		margin: 0 0 1em;
		width: 48%;
	}	

	.sidebar {
		margin-top: .5em;
		width: 100%;
		-webkit-box-flex: 0;
		-ms-flex: 0;
		flex: 0;
	}	
	
	.subnav {
		padding: 0;
	}
	
	.subnav.open {
		padding: .5em 0;
		color: #fff;
		background: #333;
		box-shadow: inset 2px 2px 16px 0 rgba(8,8,9,0.3);
	}
	
	.subnav button {
		width: 100%;
		display: block;
		padding: .5em 0;
		color: #fff;
		background: #333;
		box-shadow: inset 2px 2px 16px 0 rgba(8,8,9,0.3);
		box-shadow: 0 10px 10px 0 rgba(8,8,9,.4);
	}

	.subnav button:hover,
	.subnav button:focus {
		background: #356c4c;
	}
	
	.subnav.open button {
		box-shadow: none;
		background: transparent;
	}
	
	.subnav ul li a {
		text-align: center;
	}
	
	.content {
		width: 100%;
	}
	
	table th {
		font-size: 1em;
		font-weight: 600;
	}
	
	table td {
		font-size: .95em;
	}

	.gallery .gallery-item {
		max-width: 44%;
	}	
	
	footer .inner {
		display: block;
	}

	.social {
		width: 100%;
		text-align: center;
		margin: 0 auto;
		-webkit-box-flex: unset;
		    -ms-flex: unset;
		        flex: unset;
	}
	
	.social ul {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}
	
	footer .cols {
		display: block;
	}
	
	footer .col:nth-child(0n+1) {
		display: none;
	}
	
	footer .col:nth-child(0n+2),
	footer .col:nth-child(0n+3) {
		width: 100%;
		text-align: center;
	}
	
	#lightbox {
		font-size: 2vw;
	}

	#lightbox .image #close {
		top: .5em;
		right: .5em;
	}

	#lightbox .image #next,#lightbox .image #prev {
		opacity: .8;
	}

	#lightbox .image #next img,#lightbox .image #prev img {
		width: 3em;
	}
}

@media screen and (max-width: 34em) {
	.logo {
		margin: .5em auto;
		display: block;
	}
	
	.tag {
		font-size: 110%;
	}
	
	.callouts li {
		width: 100%;
	}
	
	#lightbox {
		font-size: 3.5vw;
	}

	#lightbox .image #img-box .caption {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		font-size: 150%;
	}
}