/* HTML5 Basic Reset
   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, em, img, ins, kbd, q, s, samp,
small, strike, strong, 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 define visible focus styles! 
:focus {
	outline: ?????;
} */

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

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

* {
    /* JCD
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
 */
box-sizing: border-box;
}



/* ----------    Global Styles    ----------- */
 
html, body {
	height: 100%;
}

body {
	background: white;
	color: #2D2D2D;
	font-family: helvetica, sans-serif;
	font-size: 0.9em; /* JCD  was 0.8 */
}

/* Typography */

h2 {
	color: #0B614B;
	font-size: 2.0em;
	font-family: "Times New Roman", Times, georgia, serif;
	font-weight: 400;
	letter-spacing: 0.05em;
}

h3 {
	color: #2D2D2D;
	font-size: 1.5em;
	line-height: 30px;
	font-family: "Times New Roman", Times, georgia, serif;
	font-weight: 400;
	letter-spacing: 0.05em;
}

h4 {
	color: #0B614B;
	font-size: 22px;
	font-family: "Times New Roman", Times, georgia, serif;
}

h5 {
	font-size: 14px;
	font-family: "Times New Roman", Times, georgia, serif;
	font-weight: 400;
}

h6 {
	color: #9D9D9D;
	font-size: 12px;
	line-height: 20px;
}

p {
	color: #9E9E9E;
	font-size: 1.0em;
	line-height: 2em;
	padding-bottom: 20px;
}

li {
	font-size: 0.9em;
}

/* Link Styles */

a {
	color: #0B614B;
	text-decoration: none;
}

a:active,
a:hover {
    color: #0B614B;
    text-decoration: none;
}

#main-nav {
    	
    	margin-right: 10px;
    	
    }

#main-nav li a {
	color: #9E9E9E;
	font-size: 1.0em;
	text-transform: uppercase;
	-webkit-transition: border-bottom, color 200ms ease;
	-moz-transition: border-bottom, color 200ms ease;
	-o-transition: border-bottom, color 200ms ease;
	transition: border-bottom, color 200ms ease;
}

#main-nav li a:hover {
	color: #2D2D2D;
	border-bottom: 1px solid #D9D9D9;
}

h3 > a {
	color: #9E9E9E;
}

h3 > a:hover {
	color: #9E9E9E;
	border-bottom: 1px solid #D9D9D9;
}

/* Forms */

input[type=submit] {
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
}

#contact-form p {
	padding-bottom: 10px;
}

#contact input, #contact textarea {
	display: block;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 30px;
	padding: 10px;
	color: #9E9E9E;
	border: 1px solid #D9D9D9;
}

input:value {
	color: #D9D9D9;
}

#contact input:focus,
#contact textarea:focus {
    color: #0B614B;
}

#contact .form-submit {
	color: #2D2D2D;
	font-family: "Times New Roman", Times, georgia, serif;
	font-weight: 700;
	font-size: 1.2em;
	letter-spacing: 0.1em;
	display: inline-block;
	border: none;
	background: none;
	margin-top: 0px;
	margin-bottom: 40px;
	padding: 0;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	width: auto;
	float: left;
}

#contact .form-submit:hover {
	color: #0B614B;
}


/* Layout */

.float-right {
	float: right;
}

.float-left  {
	float: left;
}

.col {/* for .col div layout on index.html */
	/* width: 320px; JCD */
	width: 33%;
	min-height: 100%;
	height: auto !important;
	padding-bottom: 10px;
}

.col-wrap {
	margin-bottom: 10px;
}

.narrow-col {
/* 	width: 240px; JCD */
	width: 25%;
	margin-bottom: 10px;
}

.med-col {
/*	width: 550px; JCD */
	width: 70%;
	margin-bottom: 10px;
}

.wide-col {
	/* width: 700px; JCD */
	width: 90%;
	margin-bottom: 10px;
}

.border {
	padding: 10px 0;
	width:inherit;
	border-top: 1px solid #D9D9D9;
	border-bottom: 1px solid #D9D9D9;
}

.border-top {
	padding: 20px 0;
	border-top: 1px solid #D9D9D9;
}

.border-bottom {
	padding: 20px 0;
	border-bottom: 1px solid #D9D9D9;	
}

.padding-top{
	padding-top: 40px;
}

.clear-fix {
	clear: both;
}

.break {
	/* width: 960px; JCD */
	width: 90%;
	max-width: 960px;
	height: 1px;
	background: #D9D9D9;
}

.margin-top {
	margin-top: 40px;
}

.margin-right {
	margin-right: 80px;
}

.no-margin {
	margin: 0;
}

.no-padding {
	padding: 0;
}

/* Header */

#header-push {/* pushes header down so that we can see the 1px border, breaking the menu and logo from the featured content */
	height: 100px;
}

#header-wrapper {
	position: fixed;
	width: 100%;
	height: 100px; /* Was 90px */
	
	top: 0;
	background: #fff;
	z-index: 10;
	padding-bottom: 10px;
}

#header {
	/* width: 960px; JCD */
	width: 90%;
	max-width:960px;
	margin: 0 auto;
	padding-top: 33px;
	
}

#header h1, #header h2 {/* set to display:none, html headers just for web bots */
	display: none;
}

#header img {
	float: left;
}

#main-nav {
	float: right;
	margin-right: 20px;
}

#main-nav li {
	height: 40px;
	margin: 0 20px;
	line-height: 40px;
	float: left;	
}

#main-nav li:last-child {
	margin-right: 10px;
}

/* Footer */

#footer {
	position: relative;
	width: 100%;
	height: 194px;
	margin-top: -194px;
   /*  background: #D9D9D9; */
	
	clear: both;
}

#footer-wrap {
	position: relative; 
	/* width: 960px; */
	width: 90%;
	max-width:960px;
	height: 130px;
	margin: 0 auto;
	padding-top: 10px;
	background: #D9D9D9;
}

#contact-info {
	float: left;
	margin-left: 20px;
}

#contact-info p {
	color: #FFFFFF;
	padding-bottom: 0;
}

#contact-info a {
	color: #FFFFFF;
}

#contact-info a:hover {
	color: #9E9E9E;
}

#copyright {
	float: right;
	margin-right: 20px;
	margin-top: 20px;	
}

#copyright p {
	color: #FFFFFF;
	padding-bottom: 0;
}

/*Sticky Footer Opera Fix*/

body:before {/* thanks to Maleika (Kohoutec)*/
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}

/* Main */

#wrapper {
	min-height: 100%;
}

#main-wrapper {
/*	width: 960px; JCD */
	width: 80%;
	max-width:960px;
	margin: 0 auto;
	margin-left: auto; /* JCD */
	margin-right: auto; /* JCD */
	padding: 40px 0 194px 0;
	border-top: 1px solid #D9D9D9;
	overflow: auto;
	clear: both;
}

.page-title {
	/* width: 280px; JCD */
	width: 10%;
	float: left;
}

.page-title h2 {
	padding-bottom: 20px;
}

.page-title h5 {
	margin-bottom: 20px;
}

.page-description {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #D9D9D9;
	float: right;
}

.post {
	border-top: 1px solid #D9D9D9;
	padding-top: 20px;
	margin-bottom: 20px;
}

.post-title {
	/* width: 550px; JCD */
	width: 55%;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #D9D9D9;
}

#posts > .post:first-child {
	border-top: 0px;
	padding-top: 0px
}

.page-header h3 {
	color: #0B614B;
	padding-bottom: 10px;
}

/* Index */

#featured {
	/* height: 450px; JCD */
	margin-bottom: 30px;
}

#featured h4 {
	display: none;
}

#featured img {
	display: block;
	margin-left: auto;
    margin-right: auto;
/*	float: left; */
	/* width: 960px; JCD */ 
	width: 90%;
	
	max-width: 960px;
	/* height: 450px; JCD */
	
	-webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

#about-us {
/* 	height: 100px; JCD */
	margin: 0 auto;
	bottom: 30px;
	
	width:70%;
	/* width: 960px; */
	/* padding-left: 180px; JCD */
}

#about-us h3 {
	text-align: left; /* was right; JCD */
}

#col-3 {
	margin-right: 0;
}

.col-content {
	padding: 0 40px 0 0;
	margin-top: 20px;
}

.last {
	padding-right: 0px;
}

#col-1 .col-content {
	border-left: 0;
}

.col-title h4 {
	line-height: 2em;
}

.col-title h6 {
	text-transform: uppercase;
	margin-bottom: 30px;
}

.col-title {
	border-bottom: 1px solid #D9D9D9;
	margin-bottom: 20px;
}

#the-title h3 {/* This styles the Article Title that would be dynamically loaded from insight.html if uncommented */
	font-family: "Times New Roman", Times, georgia, serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.05em;
}

/* About */

#about div:last-child {
	margin-bottom: 30px;
}

/* Contact */

#email {
	color: #9E9E9E;
}

#email:hover {
	color: #0B614B;
}

/* Insight */

#insight div:last-child {
	margin-bottom: 30px;
}

#insight li {
	margin-left: 20px;
	padding: 10px 10px;
	line-height: 1.5em;
	list-style: disc;
	color: #9E9E9E;
}

#insight img {
	padding-bottom: 20px;
}

#the-title h3 {
	padding: 0;
}

/* Services */

#services .page-title h6 {
	color: #2D2D2D;
}

#services .col-wrap ul li {
	padding: 10px 0;
	font-size: 0.9em;
	color: #9e9e9e;
}

#services .clear-fix + .content {
	margin-top: -62px;
}

#services .col-wrap > .float-right {
	padding: 60px 10px 0 10px;
	border-top: 1px solid #E9E9E9;
	text-align: center;
}

/* Staff */

#CV a {
	color: #9E9E9E;
	font-size: 14px;
}

#CV a:hover {
	color: #2D2D2D;
	border-bottom: 1px solid #D9D9D9;
}

#profile-pic {
	margin:  0 40px 40px 0;
	height: 200px;
	width: 200px;
	background: #EEE;
}


/* ----------------  Media Queries  ---------------- */
 
/* iPad landscape */
 
@media only screen and (max-width: 1024px) and (orientation: landscape) {/* JCD */
    #main-wrapper,
    #header,
    #featured img,
    #about-us,
    #footer-wrap,
    .break {
        /* width: 900px; JCD */
        width: 90%;
        margin-left: auto; /* JCD */
	    margin-right: auto; /* JCD */
        max-width: none;
    }
    
    h2 {
    	font-size: 33px;
    	letter-spacing: auto;
    }
    
    h3 {
    
    	font-size: 1.5em;
    	line-height: 28px;
    	
    } 
    
    h6 {
    	font-size: 10px;
    } 
        
    .col {
    	/* width: 300px; JCD */
    	width: 30%;
    	padding-left:20px;
    }
    
    #main-wrapper {
    	padding: 30px 0 144px 0;
    }
    
    #featured {
    	margin-bottom: 20px;
    }
    
    #about-us {
    	/* height: 80px; JCD */
    }
    
    /* Footer */
    
    #footer {
    	height: 144px;
    	margin-top: -144px;
    }
    
    #footer-wrap {
    	height: 114px;
    	padding-top: 20px;
    }
    
}

/*  Portrait iPad */

@media only screen and (max-width: 768px) and (orientation : portrait) { 
    #main-wrapper,
    #header,
    #featured img,
    #about-us,
    #footer-wrap,
    #footer,
    .break {
        /* width: 708px; JCD */
        width: 90%;
        margin-left: auto; /* JCD */
	    margin-right: auto; /* JCD */
    }
    
    .page-title {
    	/* width: 60px; JCD */
    	width: 10%;
    	
    }
    
    h3 {
    	
    	font-size: 1.3em;
    	
    }
    
    #header img {
    /* 	height: 30px; JCD */
    }
    
    #main-nav li {
    	/* height: 30px; JCD */
    	margin: 0 10px;
    	line-height: 30px;	
    }
    
    #main-nav li:last-child {
    	margin-right: 0px;
    }
    
    #featured {
    	/* height: 331px; */
    }
    
    #featured img {
    	/* height: 331px; JCD */
    }
            
    .col {
    	/* width: 236px; JCD */
    	width: 30%;
    	padding-left:20px;
    }
    
    #about-us {
    /*	height: 110px; JCD */
    }
    
}

/* iPhone landscape mode  - was (max-width: 480px) */
@media only screen and (max-width: 812px) and (orientation: landscape) {
    

	#main-wrapper,
	#featured img,
	#about-us,
	#footer-wrap {
	    /* width: 460px; JCD */
	    width: 90%;
	    margin-left: auto; /* JCD */
	    margin-right: auto; /* JCD */
	    max-width: none;
	}
    
    #header-push, .break {
    	display: none;
    }
    
    /* Layout */
    
    .float-right,.float-left {
    	float: none;
    }
    
    .col, .narrow-col, .med-col, .wide-col, #posts, .post, .post-title {
    	
    	/* width: 460px; JCD */
	    width: 90%;
    }
    
    .col {
    	padding-bottom: 40px;
    }
    
    .border-top {
    	padding-top: 20px;
    }
    
    img {
    	
    	/* max-width: 460px; JCD */
	    max-width: 95%;
    }
    
    /* Typography */
    
    p {
    	font-size: 0.8em;
    }
    
    h2 {
    	font-size: 28px;
    }
    
    h3 {
    
    	font-size: 1.3em;
    	line-height: 24px;
    
    }
    
    li {
    	font-size: 0.8em;
    }
    
    /* Header */
    
    #header-wrapper {
        /*
    	height: 133px;
    	JCD */
    }
    
    #header {
    	/* width: 330px; JCD */
    	width: 90%;
    	padding-top: 15px;
    }
    
    #header-wrapper {
        position: relative; /* Stops header from being fixed & taking up screen real estate */
        height: 105px;
    }
    
    #header img {
    	float: none;
    	padding-left: 15px;
    }
    
    #main-nav {
    	clear: both;
    	float: none;
    	margin-top: 5px;
    	margin-right: 10px;
    	
    }
    
    #main-nav li {
    	height: 30px;
    	margin: 0 11px;
    	line-height: 30px;
    }
    
    #main-nav li:first-child {
    	margin-left: 0px;
    }
    
    /* Footer */
    
    #footer-wrap {
    	position: relative;
    	/* width: 200px; JCD */
    	width: 40%;
    	margin: 0 auto;
    	padding-top: 10px;
    }
    
    #contact-info {
    	float: none;
    	text-align: center;
    }	
    
    #copyright {
    	float: none;
    	text-align: center;	
    	margin-top: 0px;
    }
    
    /* Main */
    
    .page-title, .page-description {
    	/* width: 460px; JCD */
    	width: 90%;
    	float: none;
    }
    
    .page-description {
    	padding-bottom: 20px;
    	float: none;
    }
    
    #main-wrapper {
    	padding-top: 20px;
    }
    
    
    /* Index */
    
    #featured {
    	/* height: 215px; JCD */
    }
    
    #featured img {
       /* 	height: 215px; JCD */
    }
    
    #about-us {
    	height: 90px;
    	padding: 0;
    }
    
    #about-us h3 {
    	text-align: left;
    	
    }
    
    .col-title {
    	border-top: 1px solid #D9D9D9;
    	padding-top: 20px;
    }
    
    .col-content {
    	padding: 0;
    }
    
    /* Services */
    
    #services .col-wrap ul li {
    	font-size: 0.8em;
    	padding: 6px 0;
    }    
    
    /* Staff */
    
    #CV {
    	padding: 20px 0 40px 0;
    	margin-bottom: 40px;
    }

}
/* = iPhone portrait mode  */ /* Was max-width 320 JCD */
@media only screen and (max-width: 600px) and  (orientation : portrait) { 

	#main-wrapper,
	#featured img,
	#about-us,
	#footer-wrap {
	    /* width: 300px; JCD */
	    width: 90%;
	}
    
    .col, .narrow-col, .med-col, .wide-col, #posts, .post, .post-title {
    	 /* width: 300px; JCD */
	    width: 90%;
    	
    }
    
    img {
    	
    	 /* max-width: 300px; JCD */
	    max-width: 90%;
    }
    
    /* Typography */
    
    h2 {
    	font-size: 22px;
    	font-size: 12; /* JCD */
    }
    
    h3 {

    	font-size: 1.3em;
    	line-height: 20px;
    	
    }
    
    /* Header */
    
    #header-wrapper {
    	height: 85px;
    }
    
    #header {
    	/* width: 300px; JCD */
    	width: 90%;
    }
    
    #header img {
    	height: 37px; /* was 27 JCD */
    }
    
    
    #main-nav {
    	
    	margin-right: 10px;
    	
    }
    
    #main-nav li {
    	height: 20px;
    	margin: 0 16px 0 0;
    	line-height: 20px;
    }
    
    #main-nav li:first-child {
    	padding-left: 18px;
    }
    
    #main-nav li a {
    	font-size: 10px;
    }
    
     #contact-info {
    	float: none;
    	text-align: center;
    	margin-top: 0px;
    }	
    
    #copyright {
    	float: none;
    	text-align: center;	
    	margin-top: 0px;
    	margin-bottom: 10px;
    }
    
    /* Main */
    
    .page-title, .page-description {
    	/* width: 300px; JCD */
    	width: 90%;
    }
	
    /* Index */
    
    #featured {
    	/* height: 140px; JCD */
    	margin-bottom: 20px;
    }
    
    #featured img {
    	/* height: 140px; JCD */
    }
    
    #about-us {
    	/* height: 80px; JCD */
    }
    
    .col-title {
    	padding: 10px 0;
    }
    
    .col-title h6 {
    	margin-bottom: 10px;
    }   
    
    /* Staff */
    
    #CV {
    	padding: 10px 0 20px 0;
    	margin-bottom: 0;
    }
    
    #profile-pic {
    	margin:  25px 20px 20px 0;
    }

}



/* End Media Queries */

