/*
Theme Name: Dean 01
Theme URI: https://vultaggio.co.uk
Author: Dean Vultaggio
Author URI: https://vultaggio.co.uk
Description: N/A
Version: 1.0
License: No re-use
License URI: n/a
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: dean01

*/



/**
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

body {
	background: white;
	font-family: 'Roboto',Helvetica,Tahoma,Verdana,sans;
	font-weight: 300;
}

ul {
	list-style-type: none;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

header {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: #F3F4F6;
	text-align: center;
}

#nav-main-toggle {
	display: none;
}

#nav-main {
	display: block;
	position: relative;
	z-index: 2;
	background: #3D396A;	
	padding: 0;
	text-align: center;
}

#nav-main.scrolled {
	position: fixed;
	top: 0;
	z-index: 60;
	left: 0;
	right: 0;
}

#nav-main ul {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	width: auto !important;
	display: block;
	float: none;
	padding: 0 20px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	transition: 0.5s all ease-in-out;
}

#nav-main.scrolled ul {
	padding: 0 0 0 320px;
	poaition: relative;
}


#nav-main li {
	display: inline-block;
}

#nav-main li a {
	display: block;
	font-size: 20px;
	line-height: 40px;
	color: white;
	padding: 0 16px 4px 16px;
	text-decoration: none;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	border-top: 4px solid transparent;
	border-bottom: 0px solid transparent;
}

#nav-main li a:hover {
	/*text-decoration: underline;*/
	line-height: 40px;
	padding-bottom: 0;
	border-bottom: 4px solid white;
}



#scrollingheader {
	display: block;
	font-size: 28px;
	line-height: 48px;
	width: 280px;
	text-align: center;
	color: white;
	float: none;
	left: -360px;
	position: absolute;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	transition: 0.33s all ease-in-out;
}


#scrollingheader.scrolled {
	display: block;
	left: 60px;
	background: #514E8B;
}


#deanpic {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
  height: 31.25vw; /* height:width ratio = 9/16 = .5625  */
	max-height: 50vw;
	left: 0;
	background: #F3F4F6 no-repeat center bottom;
	background-size: contain;
	transition: 0.33s all ease-in-out;
	border-bottom: 0;
	padding: 0;
}



#siteheader {
	position: relative;
	background: #514E8B;
	padding: 0 30px 0 30px;
	font-size: 60px;
	text-align: center;
	padding: 1vh 0 .6vh 0;
	text-transform: uppercase;
	font-weight: 400;
	color: white;	
	z-index: 5;
}

#siteheader.scrolled {
	margin-bottom: 40px;
}

/*
#siteheader.scrolled {
	top: 0;
	line-height: 46px;
	font-size: 26px;
	z-index: 55;
	padding-right: 80px;
}
*/


article {
	position: relative;
	margin: 7vh 15vw 28px 15vw;
	height: auto;
}

article > h1 {
	text-align: center;
	color: #444;
	font-size: 30px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.content {
	position: relative;	
	height: auto;
	background: white;
	border: 1px solid #999;	
	margin-bottom: 26px;
	padding: 12px 0 6px 0;
}

.content h1,p {
	margin-left: 26px;
	margin-right: 26px;
}

.content h1 {
	font-weight: 300;
	font-size: 32px;
	margin-bottom: 12px;
}

.content p {
	font-size: 18px;
	font-weight: 300;
	line-height: 150%;
	text-align: justify;
	margin-bottom: 12px;
}


section {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	position: relative;
}

section > div {
	position: relative;
	margin: 0 auto;
	max-width: 960px;
	padding: 0 30px 40px 30px;
}

section h1 {
	position: relative;
	z-index: 10;
	font-size: 60px;
	font-weight: 100;
	line-height: 1em;
	color: #555555;
	text-align: center;
	padding: 60px 0 40px 0;
}

section p {
	font-weight: 300;
	margin-bottom: 1em;
	color: #111;
}

section a {
	color: navy;
	text-decoration: none;
}

section a:hover {
	text-decoration: underline;
}


#weedean {
	position: absolute;
	left: -10%;
	bottom: 0;
	top: 0;
	width: 50%;
	background: transparent no-repeat center bottom;
	background-size: 100%;
	border-bottom: 0;
	padding: 0;
	z-index: 0;
}



.contentright {
	position: relative;
	z-index: 5;
	float: right;
	width: 60%;
	margin-left: 4%;
	font-size: 22px;
	line-height: 150%;	
}


#bigdean {
	position: absolute;
	left: -6%;
	bottom: 0;
	top: 0;
	width: 50%;
	background: transparent no-repeat center bottom;
	background-size: 100%;
	border-bottom: 0;
	padding: 0;
	z-index: 0;
}

.contentleft {
	position: relative;
	z-index: 5;
	float: left;
	width: 60%;
	margin-right: 4%;
	font-size: 22px;
	line-height: 150%;	
}


#bizdean {
	position: absolute;
	right: -2%;
	bottom: 0;
	top: 0;
	width: 50%;
	background: transparent no-repeat center bottom;
	background-size: 100%;
	border-bottom: 0;
	padding: 0;
	z-index: 0;
}


#cowdean {
	position: absolute;
	right: -2%;
	bottom: 0;
	top: 0;
	width: 45%;
	background: transparent no-repeat center bottom;
	background-size: 100%;
	border-bottom: 0;
	padding: 0;
	z-index: 0;
}


#contact i {
	width: 40px;
}


#footer {
	margin-bottom: 0;
	background: #555555;
}

#footer p {
	float: none;
	color: white;
	padding: 30px 0 48px 0;
	text-align: center;
}



@media only screen and (min-width: 600px) {
	#deanpic {
		background-image: url(images/deans2.jpg);
	}
	
	#weedean {
		background-image: url(images/weedean.jpg);		
	}
	
	#bigdean {
		background-image: url(images/dean8.jpg);
	}

	#bizdean {
		background-image: url(images/deanbiz1.jpg);
	}
	
	#cowdean {
		background-image: url(images/deancow1.jpg);
	}
	
	/*
	#deanpic:hover {
		background-image: url(images/deancountry1.jpg);
	}
	*/
}

@media only screen and (max-width: 600px) {
	#deanpic {
		background-image: url(images/deans2m.jpg);
	}
	
	#weedean {
		background-image: url(images/weedeanm.jpg);
		
	}
}



/*
@media only screen and (max-width: 550px) {
	
	body {
		background-color: #F3F4F6;
	}
	
	#nav-main-toggle {
		display: block;
		float: right;
		color: white;
	}
	
	#nav-main {
		display: none;
		padding: 0;
	}
	
	#nav-main li {
		float: none;
		clear: both;
	}
	
	#nav-main li a {
		font-size: 16px;
		line-height: 46px;
		color: white;
		padding: 0 0 0 18px;
		text-decoration: none;
		border-top: 0px solid transparent;
		border-bottom: 0px solid transparent;
		transition: 0.4s all ease-in-out;
	}
	
	#nav-main li a:hover {
		border-bottom: 0;
		padding-bottom: 0;
		padding-left: 24px;
		line-height: 46px;
		font-weight: 400;
	}
	
	
	#siteheader {
		position: relative;
		right: 0;
		top: 0;
		background: #514E8B;
		padding: 0 24px 0 24px;
		line-height: 2.2em;
		font-size: 24px;	
		z-index: 58;
	}
	
	
	#deanpic {
		opacity: 1;
		position: fixed;
		background-position: 0 bottom;
	}
	
	article {
		margin: 70px 0 18px 0;
	}
	
	article > h1 {
		font-size: 28px;
		margin: 0;
		padding: 14px 0;
		color: #444;
		background: rgba(255,255,255, 0.9);
	}
	
	.content {
		margin-bottom: 22px;
		padding: 10px 0 5px 0;
		background: rgba(255,255,255, 0.95);
		color: #666;
	}
	
	.content h1,p {
		margin-left: 22px;
		margin-right: 22px;
	}
	
	.content h1 {
		font-size: 28px;
		margin-bottom: 10px;
	}
	
	.content p {
		font-size: 16px;
		line-height: 144%;
		margin-bottom: 10px;
	}
	
}

*/