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

* {
	box-sizing: border-box;
}

body {
	margin: 0 auto;
	font-family: 'PT Sans', sans-serif;
	font-weight: 400;
	position: relative;
	color: #1e1e1e;
	background: #fff;
}

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

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

h1 {
	margin: 1em 0 .25em;
	color: #0949AA;
}

h2,h3,h4 {
	margin: 1.75em 0 .5em;
	color: #1e1e1e;
}

h1 { font-size: 2.5em; }
h2 { font-size: 1.66em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1em; }

p, li, dt, dd {
	line-height: 1.5;
}

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

p * {
	margin-top: 0;
}

ul,ol {
	padding-left: 1.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: #000;
	transition: color .1s;
}

a:hover,
a:focus {
	color: #0949AA;
}

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

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

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

button,
input[type=submit] {
	outline: 0;
	border: 1px solid #666;
	border-radius: 4px;
	box-shadow: 2px 2px 4px rgba(25,25,25,.2);
	padding: .25em .5em;
	margin: .25em;
}

button {
	color: #212121;
	background-color: #fff;
}

.gform_wrapper .gform_footer input[type="submit"] {
	color: #fff;
	background-color: #0949AA;
	font-size: 1.25em !important;
}

button:hover,
button:focus {
	color: #fff;
	background-color: #0949AA;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer input[type="submit"]:focus {
	color: #212121;
	background-color: #fff;
}

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: 1.25em;
	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 #f0f8ff;
}

table tr:hover,table tr:focus {
	background: rgba(9,73,170,.2);
}

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

.inner {
	display: block;
	position: relative;
	margin: 0 auto;
	padding: 0 1em;
	max-width: 1140px;
}

.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;
	#fff-space: nowrap;
}

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

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;
}

header {
	width: 100%;
	color: #fff;
	background-color: #0949AA;
}

header .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header img {
	margin: 1em 2em;
}

.logo {
	width: 100%;
	height: auto;
	max-width: 216px;
}

nav {
	background: #f3f3f3;
	width: 100%;
	z-index: 10;
}

nav button {
	display: none;
}

nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
}

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

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

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

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

nav ul a:hover,
nav ul a:focus,
nav ul .current-menu-item a,
nav ul .current-page-ancestor a {
	color: #0949AA;
	background: #fff;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] {
	margin-top: 0;
	display: block;
	position: absolute;
	top: 2.25em;
	min-width: 10em;
	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 {
	padding: .5em;
	text-align: left;
	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 {

}

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

.notice {
	margin-bottom: .1em;
	padding: .25em .5em .5em;
	width: 100%;
	color: #000;
	background-color: #ffd700;
	font-size: 1.25em;
	text-align: center;
}

.notice h2,
.notice h3,
.notice h4 {
	margin: auto;
}

.notice a {
	color: #000;
}

.notice a:hover,
.notice a:focus {
	color: #ffd700;
	background-color: #000;
}

.hero {
	text-align: center;
	display: block;
	position: relative;
	margin: 0 auto;
	background-size: cover;
	height: 320px;
}

.home .hero:after {
	content: '';
	background: linear-gradient(to bottom, rgba(0,0,0,.8) 0%,rgba(0,0,0,0) 40%);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.hero_multi img {
	width: 33.333333333%;
	height: auto;
	max-height: 100%;
}

.hero_text {
	position: absolute;
	margin: 0 auto;
	padding: 0 2em;
	font-size: 2em;
	text-align: center;
	top: 1em;
	z-index: 1;
}

.hero_text p {
	font-size: 1em;
	font-weight: 700;
	color: #fff;
	/*text-shadow: 16px 16px 16px #000;*/
	text-transform: uppercase;
	line-height: 1.25;
}

.feature {
	margin: 0 auto;
	padding: 1em 2em;
	font-size: 2em;
	text-align: center;
	color: #fff;
	background: #212121;
}

.main_wrapper,
main {
	display: block;
	position: relative;
	margin: 0 auto;
	width: 100%;
	padding-bottom: 3em;
}

.main_wrapper .inner,
main .inner {
	display: flex;
}

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

.content {
	flex-basis: 80%;
}

.content.wide {
	flex-basis: 100%;
}

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

.home .content {
	width: 100%;
}

.logos {
    margin: 1em 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
}

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

div.hours {
	flex-basis: 50%;
}

.hours tr {
	border-bottom: none;
}

.logos li {
	list-style: none;
    flex-basis: 30%;
    transform: scale(0);
    transition: all 350ms ease;
}

.logos img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

.logos li.scale-anm {
  transform: scale(1);
}

.sidebar {
	flex-basis: 20%;
	margin: 3em 2em 0 0;
}

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

.subnav h2 a {
	margin: 0;
	padding: .25em 1em;
	font-size: .9em;
	color: #fff;
	background-color: #0949AA;
	text-transform: uppercase;
	text-decoration: none;
	text-align: left;
	width: 100%;
}

.subnav button {
	display: none;
}

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

.subnav li {
	list-style: none;
	margin: 0;
	font-size: 1.25em;
}

.subnav a {
	color: #000;
	background-color: #F3F3F3;
	text-decoration: none;
	margin: .5em 0;
	padding: .25em 1em;
	display: block;
	text-align: left;
}

.subnav a:hover,
.subnav a:focus {
	color: #F3F3F3;
	background-color: #000;
}

.subnav .current_page_item a {
	color: #F3F3F3;
	background-color: #114CA7;
}

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

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

.gallery-item {
	margin: 0 0 1em;
	flex: 0 1 auto;
}

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

.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;
	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;
	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;
	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: 1em;
	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: #fff;
	background: #0949AA;
	text-align: center;
}

.facebook {
	color: #fff;
	background-color: #013889;
	display: inline-block;
	text-decoration: none;
	text-align: center;
	margin: 1em auto;
	padding: .5em 1em;
}

.facebook img {
	vertical-align: middle;
}

.facebook:hover,.facebook:focus {
	color: #fff;
	transform: scale(1.1);
}

footer nav {
	background-color: #0949AA;
}

footer nav a {
	color: #fff;
}

.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: 34em) {

	.home .hero {
		background-size: cover;
		height: 500px;
	}
}

@media screen and (min-width: 48em) {
	.hero {
		background-size: cover;
		height: 460px;
	}

	.home .hero {
		background-size: cover;
		height: 1000px;
	}

	.hero_text {
		position: relative;
		font-size: 2.75em;
	}
}

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

	.home .hero {
		background-size: cover;
		height: 100vh;
	}
}


@media screen and (max-width: 48em) {

	.logo {
		margin: 1em auto;
		display: block;
	}
	
	nav .inner {
		padding: 0;
	}

	nav button {
		transition: none;
		cursor: pointer;
		text-transform: uppercase;
		display: block;
		color: #000;
		background: transparent;
		margin: 0 auto;
		padding: .25em 0;
		font-size: 1.25em;
		text-align: center;
		border: none;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		border-radius: 0;
		box-shadow: none;
		width: 100%;
	}

	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 {
		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 #fff;
	}
	
	.main_wrapper .inner,
	main .inner {
		display: block;
	}

	.sidebar {
		margin-top: .5em;
		width: 100%;
		flex: 0;
	}	
	
	.subnav {
		padding: 0;
	}
	
	.subnav.open {
		color: #000;
	}
	
	.subnav button {
		width: 100%;
		display: block;
		text-align: center;
	}

	.subnav button:hover,
	.subnav button:focus {
		background: #212121;
	}

	.subnav h2 a {
		display: none;
	}

	.subnav a {
		text-align: center;
	}
	
	.content {
		width: 100%;
	}
	
	.feature {
		padding: 1em;
		font-size: 1.25em;
	}

	table th {
		font-size: 1em;
		font-weight: 600;
	}
	
	table td {
		font-size: .95em;
	}

	.gallery .gallery-item {
		max-width: 44%;
	}	
	
	footer .inner {
		display: block;
	}
	
	#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;
	}

	.hero_text {
		font-size: 1.5em;
	}

	.columns {
		display: block;
	}

	#lightbox {
		font-size: 3.5vw;
	}

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