/*   
Theme Name: Genesis II
Description:  WordPress theme made custom for Genesis II
Author: Colin Thompson
Author URL: http://colinthompson.ca
Version: 1
*/

/* =========================================== LAYOUT ======================================== */

body {
	background-color: #F9F9F9;
	height: 100%;
	min-height: 480px;
	width: 100%;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #555;
}

body img {
	display: block;
}

.container {
	max-width: 980px;
	margin: 90px auto 0;
	overflow: hidden;
}
.container > div {
	position: relative;
	border: 10px solid #FFF;
	margin-bottom: 10px;
	background-color: #FFF;
	width: calc(100% - 20px);
	overflow: hidden;
}
.container div p {
	line-height: 1.4em;
}
.description {
	background-color: #00517C;
	min-height: 56px;
}
.description h6 {
	text-transform: none;
	padding: 35px 5px 5px 5px;
	color: #FFF;
}
.description a {
	color: #FFF;
}
.decription	h5, 
.description p {
	margin: 5px;
}
.one-col p {
	padding-bottom: 30px;
}
.container .two-col-con, .container > .three-col-con, .container > .social-banner {
	overflow: auto;
	border: none;
	margin: 0;
	background: none;
	width: 100%;
}
.container .two-col {
	width: calc(50% - 25px);
	float: left;
	overflow: hidden;
	margin-right: 10px;
	margin-top: 10px;
	background-color: #FFF;
}
.container .two-col > * {
	margin: 10px;
}
.container .two-col h2 {
	background-color: #00517C;
	padding: 10px;
}
.container .two-col h2 a {
	color: #FFF;
}
.container .three-col {
	width: calc((100% - 80px) / 3);
	max-height: 320px;
	float: left;
	overflow: hidden;
	margin-right: 10px;
}
.container .three-col h3 {
	left: 10px;
	bottom: 10px;
	font-size: 200%;
	color: #0091DD;
}
.container .four-col {
	width: calc((100% - 110px) / 4);
	float: left;
	margin-right: 10px;
}
.two-col:nth-child(odd) {
	clear: left;
}
.two-col:nth-child(even) {
	margin-right: 0;
}

@media screen and (max-width: 1000px) {
	.container {
		margin-left: 10px;
		margin-right: 10px;
	}
}
@media screen and (max-width: 660px) {
	.container .three-col {
		width: calc(50% - 30px);
	}
	.container .three-col.last {
		margin-right: 10px;
	}
}

@media screen and (max-width: 640px) {
	.container .one-col {
		overflow: hidden;
	}
	.container .one-col > img {
		height: 250px;
		width: auto;
	}
}

@media screen and (max-width: 700px) {
	.container {
		margin-top: 10px;
	}
	.container .two-col-con .two-col {
		width: calc(100% - 20px);
	}
}

@media screen and (max-width: 420px) {
	.container .three-col {
		width: calc(100% - 20px);
		float: none;
	}
}

/* =================================== FONTS ================================== */
h1,h2,h3,h4,h5,h6 {
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1em;
}

h1 {
	font-size: 500%;
	color: #0091DD;
}

h2 {
	font-size: 23px;
	line-height: 23px;
	color: #00517C;
	margin-bottom: 10px;
}

h3 {
	color: #00669D;
}

h4 {
	font-size: 150%;
}

h5 {
	font-size: 125%;
}

h6 {
	font-size: 100%;
}

a {
	text-decoration: none;
	color: #0091DD;
}

small {
	font-size: 12px;
}

@media screen and (max-width: 740px) {
	h3 {
		font-size: 200%;
	}
}

@media screen and (max-width: 360px) {
	h3 {
		font-size: 200%;
	}
}

/* =================================== HEADER ================================= */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: #FFF;
	z-index: 100;
}
header h1 {
	display: block;
	width: 260px;
	color: #00669D;
	margin: 0;
}
header h1 a {
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
}
header h1 a img {
	display: block;
	height: 38px;
	width: auto;
	margin: 15px;
}
header h1 a span {
	font-size: 10px;
	letter-spacing: 4px;
	position: absolute;
	bottom: 30px;
	left: 10px;
	width: 100%;
	height: 12px;
	text-align: center;
	color: #333;
}	
#hours {
	position: absolute;
	top: 15px;
	left: 280px;
}
#workwear {
	position: absolute;
	top: 0;
	right: 0;
	height: 40px;
	padding: 30px 10px;
	background-color: #F88700;
}
#workwear img {
	height: 40px;
}
.menu-button {
	display: none;
}
.menu-button div {
	position: absolute;
	top: 0;
	right: 160px;
	height: 56px;
	margin: 20px;
	padding: 0 20px;
	border: 2px solid #0091DD;
	border-radius: 5px;
	color: #0091DD;
	line-height: 56px;
	text-align: center;
}

@media screen and (max-width: 1020px) {
	header nav {
		display: none;
	}
	.menu-button {
		display: block;
	}
	.menu-button .hide-nav {
		display: none;
	}
}

@media screen and (max-width: 900px) {
	header #hours {
		display: none;
	}
}

@media screen and (max-width: 600px) {
	header {
		position: static;
		overflow: hidden;
	}
	header h1 {
		width: auto;
	}
	header h1 a img {
		height: 44px;
		width: auto;
		margin: 15px auto;
	}
	header h1 a span {
		font-size: 12px;
	}
	.menu-button {
		display: block;
	}
	.menu-button .show-nav {
		display: none !important;;
	}
	.menu-button .hide-nav {
		display: none !important;;
	}
	#workwear {
		display: none;
	}
}

@media screen and (max-width: 362px) {
	header h1 a img {
		width: 100%;
		height: auto;
	}
}

/* ======================================== NAV ====================================== */
nav {
	position: absolute;
	right: 180px;
	top: 0;
	list-style-type: none;
	height: 100%;
}
nav .menu-genesisii-container {
	height: 100%;
}
nav li {
	position: relative;
	display: block;
	float: left;
	padding: 0 20px;
	text-transform: capitalize;
	height: 100%;
}
nav li a {
	display: block;
	height: 100%;
}
nav ul {
	display: block;
	height: 100%;
	margin: 0;
	padding-left: 0;
}
nav > li,
nav ul#menu-genesisii > li {
	height: 96px;
}
nav ul#menu-genesisii > li > a {
	line-height: 100px;
}
nav ul#menu-genesisii > li > a:hover,
nav ul#menu-genesisii > li > a.active {
	border-bottom: 4px solid #0091DD;
}
li:hover > ul {
	height: auto;
}

nav li ul {
	position: absolute;
	left: 0;
	height: 0;
	padding-left: 20px;
	background-color: #FFF;
	overflow: hidden;	
}

nav li ul li {
	display: inline;
	width: 100%;
	height: auto;
	clear: both;
	padding: 10px 0;
}

@media screen and (max-width: 600px) {
	nav {
		display: none;
	}
}

/* ========================================== MOBILE NAV ============================================= */

#mobile-nav {
	display: none;
	position: fixed;
	top: 100%;
	text-transform: capitalize;
	width: 100%;
	height: 100%;
	height: calc(100% - 70px);
	background-color: #FFF;
}
#mobile-nav div:first-child {
	overflow: hidden;
	background: #0091DD;
}
#mobile-nav div:first-child a {
	width: 50%;
	height: 50px;
	float: left;
	line-height: 50px;
	text-align: center;
	color: #FFF;
}
#mobile-nav div:first-child a:first-child span {
	display: block;
	border-right: 1px solid #0080c4;
	height: 100%;
}
#mobile-nav div:first-child > ul {
	border: 1px solid #EEE;
	border-left: none;
	border-right: none;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f9f9f9+0,f2f2f2+100 */
	background: rgb(249,249,249); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(249,249,249,1) 0%, rgba(242,242,242,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(242,242,242,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(249,249,249,1) 0%,rgba(242,242,242,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
}
#mobile-nav div:first-child > ul li {
	border: 1px solid #EEE;
	border-left: none;
	border-right: none;
}
#mobile-nav div:first-child > ul li a {
	display: block;
	padding: 20px;
	color: #999;
}
#mobile-nav div:first-child + div a {
	width: 33.3%;
	height: 80px;
	float: left;
}
#mobile-nav div:first-child + div a img {
	width: 40px;
	height: auto;
	margin: 20px auto;
}
#mobile-nav-button {
	display: none;
	border-radius: 50%;
	background-color: #0091DD;
	width: 50px;
	height: 50px;
	position: absolute;
	top: -60px;
	left: 45%;
	left: calc(50% - 25px);
	padding: 0;
	overflow: hidden;
}
#mobile-nav-button .show-nav div {
	display: block;
	width: 70%;
	height: 3px;
	margin: 5px auto;
	background-color: #FFF;
}
#mobile-nav-button .show-nav div:first-child {
	margin-top: 15px;
}
#mobile-nav-button .hide-nav {
	display: none;
	font-size: 24px;
	line-height: 50px;
	text-align: center;
	color: #FFF;
}


@media screen and (max-width: 920px) {
	#mobile-nav {
		display: block;
	}
}
@media screen and (max-width: 600px) {
	#mobile-nav #mobile-nav-button {
		display: block;
	}
}

/* ======================================= FOOTER ======================================== */
footer {
	margin-top: 100px;
	overflow: auto;
	background-color: #FFF;
}
footer ul {
	margin: 20px 50px;
	float: left;
	list-style-type: none;
	padding-left: 0;
}
footer ul li {
	text-transform: capitalize;
	padding: 5px 20px;
}
footer img {
	height: 150px;
	width: auto;
	margin: 10px 0;
}
footer img:hover {
	border: 1px solid #0091DD;
}
footer div {
	clear: both;
	padding: 10px 20px;
}
footer div small {
	margin-right: 50px;
}

@media screen and (max-width: 600px) {
	footer ul {
		margin: 20px;
	}
	footer div small {
		display: block;
		margin-right: 0;
		margin: 5px 20px;
		clear: left;
	}
}