/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0b1 | 201101 
   NOTE: WORK IN PROGRESS
   USE WITH CAUTION AND TEST WITH ABANDON */

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, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*begin our styles*/

body {
	font: 16px/1.4em 'Lato', sans-serif;;
	color: #1c1c1c;
}

p,
ul {
	margin: 0 0 1.5em;
}

ul {
	list-style: disc;
	padding: 0 0 0 20px;
}

a {
	color: #424345;
}

h1 {

}

h2 {
	font-family: 'Lato', san-serif;
	font-size: 24px;
	line-height: 1.4em;
	margin: 0 0 .7em;
	font-weight: 400;
}

/*layout*/

.wrapper {
	width: 90%;
	margin: 0 auto;
}

article {
	padding: 10px 20px 0 20px;
	margin: 10px 0;
}
article#insideArticle {
	padding: 20px 0px;
}
/*#insideImage {
	margin-bottom: 30px;
}*/
nav#primary_nav {
	clear: both;
}
#insideNav {
	display: none;
}
/*header*/

header {
	background: #fff;
	padding: 15px 0;
	height: 68px;
}
		header:before,
		header:after {
		    content:"";
		    display:table;
		}
		
		header:after {
		    clear:both;
		}
		
		/* For IE 6/7 (trigger hasLayout) */
		header {
		    zoom:1;
		}

h1.logo a {
	color: #d8d8d8;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 22px;
	float: left;
	letter-spacing: 0.2em;
	width: 45%;
	max-width:180px;
	height: auto;
}
img {
	width: 100%;
	max-width: 100%;
	height: auto;
	padding-bottom: 20px;
}
a.to_nav {
	float: right;
	color: #424345;
	background: #ffffff;
	text-decoration: none;
	padding: 0 0 0 10px;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	height: 22px;
	letter-spacing: 0.1em;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

a.to_nav:hover,
a.to_nav:focus {
	color: #424345;
	background: #fff;
}
	
/*navigation*/	

#primary_nav ul {
	list-style: none;
	background: #FFFFFF;
	padding: 5px 0;
	margin-right: -10px;
}

#primary_nav li a {
	display: block;
	padding: 0 20px;
	color: #424345;
	text-decoration: none;
	font-weight: 400;
	letter-spacing: 0.1em;
	letter-spacing: 0.1em;
	line-height: 2em;
	height: 2em;
	border-bottom: 1px solid #383838;
}

#primary_nav li:last-child a {
	border-bottom: none;
}

#primary_nav li a:hover,
#primary_nav li a:focus {
	color: #FD7E1D;
	background: #FFFFFF;
}

/*footer*/

footer {
	font-family: 'Lato', serif;
	text-align: center;
	font-size: 14px;
	clear: both;
}
p.intro {
    font-size: 16px;
    height: auto;
    line-height: 1.875em;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 100%;
}
.introHead {
	font-weight: 600;
}
p.footerLeft a, p.footerRight a{
	text-decoration:none;
	color: #424345;
}
#insideNav {
	float: left;
	width: 225px;
	text-align: right;
	padding-right: 10px;
	border-right: 1px solid #CCCCCC;
	margin: 50px 40px 0 0;
	font-weight: 300;
}
footer#insideFooter {
    border-top: none;
    clear: both;
    font-family: "Lato",serif;
    font-size: 14px;
    padding-top: 20px;
    text-align: center;
}
footer#insideFooter a:hover, footer a:hover {
	color: #FD7E1D;
}
.device a {
	padding-right: 10px;
	line-height: 2em;
	display: block;
}
/********************************************************************media queries**********************************************************************************************/
		
		@media only screen and (min-width: 1024px) {
		
			a.to_nav {
				display: none;
			}
			.device {
				display: none;
			}
			.wrapper {
				position: relative;
				margin: auto;
			}
			
			#primary_nav {
				position: absolute;
				top: 22px;
				right: 0px;
				background: none;
			}
			
			#primary_nav li {
				display: inline;
			}
			
			#primary_nav li a {
				float: left;
				border: none;
				padding: 0 10px;
				-webkit-border-radius: 2px;
				-moz-border-radius: 2px;
				border-radius: 2px;
			}
			
			#primary_nav li.top {
				display: none;
			}
			#articleWrapper {
				float: left;
				width: 70%;
			}
			.threeCol {
				color: #FFFFFF;
				background-color: #424345;
				width: 31%;
				margin-bottom: 15px;
			}
			.threeCol a {
				color: #FFFFFF;
				text-decoration: none;
			}
			.threeCol a:hover {
				color: #424345;
			}
			#leftCol {
				float: left;
			}
			#rightCol {
				float: left;
			}
			#middleCol {
				float: left;
				margin-left: 3.5%;
				margin-right: 3.5%;
			}
			.threeCol p, .threeCol h2 {
				padding-left: 30px;
				padding-right: 30px;
			}
			.threeCol p {
				font-size: 1.2em;
				font-weight: 300;
				line-height: 1.5em;
				margin-top: 30px;
				height: 140px;
			}
			p.footerLeft, p.footerRight {
				width: 48%;
			}
			p.footerLeft {
				float: left;
				text-align: left;
			}
			p.footerRight {
				float: right;
				text-align: right;
			}
			p.footerLeft a, p.footerRight a{
				padding-left: 10px;
			}
			#insideNav {
				display: block;
			}
			footer#insideFooter {
				border-top: 1px solid #424345;
			}
			/*#articleWrapper p {
				width: 40%;
			}*/
			#insideImage {
			float: none;
    		width: 60%;
			}
	}	
@media screen and (min-width: 1024px) {
		.wrapper {
			position: relative;
			width: 960px;
			margin: auto;
		}
		#articleWrapper {
			width: 70%;
			min-height: 678px;
		}
		/*#articleWrapper p {
    		width: 40%;
		}*/
		#insideImage {
			float: right;
    		width: 50%;
			margin-left: 40px;
		}
}
@media only screen and (min-width: 1320px) {
	.wrapper {
		width: 90%;
		max-width: 1400px;
	}
	#articleWrapper {
		float: right;
		width: 76.785714%; /* 1075px / 1400px */
		height: auto;
		min-height: 830px;
	}
	#articleWrapper p {
		width: 41.86%; 
	}
}
/**********************************************************/
.pageHeader {
	height: 30px;
	color: #FFFFFF;
	margin: 0;
}
.pageHeader h2 {
    font-size: 18px;
    padding-left: 8px;
	padding-top: 5px;
    color: #FFFFFF;
	line-height: 1em;
	font-weight: 400;
}
.services {
	background-color: #424345;
}
#insideNav a {
    color: #424345;
    display: block;
    line-height: 1.6em;
    text-decoration: none;
    width: 100%;
}
#insideNav a:hover {
	color: #FD7E1D;
}
#insideNav a:active {
	color: #FD7E1D;
}
/********************************************* PHILOSOPHY PAGE STYLES  **************************************/

#contentWrapper p {
	width: 540px;
	float: left;
}
#rightContentWrapper {
	clear: both;
}
#imageWrapper {
	width: 350px;
	float: right;
}
#leftImageWrapper {
	float: left;
	width: 362px;
}
#rightContentWrapper p {
	width: 528px;
	float:right;
}
#articleWrapper p {
	line-height: 1.6em;
}
#articleWrapper ul {
	width: 38%;
}
