/*! normalize.css v2.0.1 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/*
 * Corrects `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

/*
 * Corrects `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/*
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/*
 * Addresses styling for `hidden` attribute not present in IE 8/9.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/*
 * 1. Sets default font family to sans-serif.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/*
 * Removes default margin.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/*
 * Addresses `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/*
 * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
 * Safari 5, and Chrome.
 */

h1 {
    font-size: 2em;
}

/*
 * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/*
 * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/*
 * Addresses styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/*
 * Addresses styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}


/*
 * Corrects font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*
 * Sets consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/*
 * Addresses inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/*
 * Prevents `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/*
 * Removes border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
}

/*
 * Corrects overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/*
 * Addresses margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   End normalize
   ========================================================================== */

html {font-size: 62.5%;}

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

body {
    color: #fef2e6;
    font-family: 'Englebert', tahoma, sans-serif;
    background-color: #392817;
    line-height: 1.5em;
    font-size: 14px;
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
}

#all {
	background-image: url(images/burlap.gif);
	margin: 0;
    padding: 0;
}

a:link {text-decoration: underline; color: #ffff66;}
a:visited {text-decoration: underline; color: #ffff66;}
a:active {text-decoration: underline; color: #ffff66;}
a:hover {text-decoration: underline; color: #febb01;}

h1 {
    font-size: 37px;
    font-size: 3.7rem;
    font-weight: bold;
}

h2 {
    font-size: 23px;
    font-size: 2.3rem;
    font-weight: bold;
}

h3 {
	font-size: 18px;
    font-size: 1.8rem;
}

h1, h2, h3 {
	margin-bottom: 0;
}

h4.status {
	font-weight: normal;
	font-style: italic;
	font-size: 14px;
	font-size: 1.4rem;
	margin: 0;
}


.r {
	float: right;
}

.l {
	float: left;
}

.c, section.content img.c {
	margin-left: auto;
	margin-right: auto;
}

.center {
	text-align: center;
}

/* gallagher micro clearfix */
.group:before, .group:after {
    content: " ";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1;
}

body>div#all>img:first-of-type {
	display: block;
	margin: 3% auto;
	max-width: 276px; /*modernizr to fix in <=ie6? max-width doesn't exist and image will scale up infinitely in these browsers... better to just set it at a static 276px for that env only with modernizr?*/
}


/* patchwork-esque styling */
header, #main-nav, section.content {
	border: dashed 1px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin: 5% 2.5%;
}


header {
	margin-top: -2.5%;
}

header, section.content {
	padding: 0 5%;
	background-color: #26a103;
	border-color: #78f953;
	color: #eeffc9;
}

#main-nav {
	background-color: #f35201;
	border-color: #ffff66;
}

#main-nav ul a:link {
	text-decoration: none;
}

#main-nav ul,section.subnav ul {
	list-style-type: none;
	list-style-position: outside;
	margin: 0;
	padding: 0;
}

#main-nav ul li {
	margin: 0;
	padding: 0;
}
	
#main-nav>ul {
	font-size: 23px;
	font-size: 2.3rem;
	padding: 3% 0;
}

#main-nav>ul>li {
	margin: 0;
	padding: 3% 0;
	width: 100%;
	text-align: center;
}

#main-nav>ul>li>ul {
	font-size: 18px;
	font-size: 1.8rem;
}

section.subnav {
	margin-bottom: 2.5%;
	font-size: 14px;
	font-size: 1.4rem;
}

section.subnav ul {
	text-align: center;
}

section.subnav li {
	display: inline;
}

section.subnav li:not(:last-of-type):after {
	content: ' | ';
}

section.content div[class*="img"] {
	margin: 2.5%;
	padding: 0;
	border: 1px solid #eeffc9;
	max-width: %100; /*modernizr to fix in ie6? this just keeps huge images(& their containing parent div) from exceeding the enclosing container's width.... a class can be used to size each image with a specific width % to avoid this problem alltogether, although smaller images will still be scaled up and distorted if they get too big if you do this-see unstoppablerobotninja.com. workaround with another complementary modernizr class for each image selector? make images huge???*/
}

section.content div.img35p {
	width: 35%;
}

section.content img[src$="hensnchixcases.jpg"] {
	margin-left: 0;
}

section.content>article {
	border: 1px dashed #1a6505;
	background-color: #b0f09e;
	color: #1a6505;
	padding: 0 2.5%;
	font-family: arial, helvetica, serif;
}

figure {
	margin: 2.5%;
}

figcaption {
	font-size: 12px;
	font-size: 1.2rem;
	text-align: center;
}

iframe#gmap {
	margin: 0 0 2.5% 0;
	border: 0;
	padding: 0;
	width: 100%;
	height: 300px;
}

div.thumbblock {
	margin: 5% 0 5% 2.5%;
}

div.thumbblock figcaption {
	font-size: 23px;
	font-size: 2.3rem;
}

form {
	text-align: right;
	margin: 0 auto;
}

form input, form textarea {
	width: 60%;
}

footer {
	text-align: center;
	font-size: 11px;
	font-size: 1.1rem;
	margin: 3% 0 0 0;
	padding: 1%;
	background-color: #392817;
	background: -moz-linear-gradient(top,  rgba(57,40,23,0) 0%, rgba(57,40,23,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(57,40,23,0)), color-stop(100%,rgba(57,40,23,1)));
	background: -webkit-linear-gradient(top,  rgba(57,40,23,0) 0%,rgba(57,40,23,1) 100%);
	background: -o-linear-gradient(top,  rgba(57,40,23,0) 0%,rgba(57,40,23,1) 100%);
	background: -ms-linear-gradient(top,  rgba(57,40,23,0) 0%,rgba(57,40,23,1) 100%);
	background: linear-gradient(to bottom,  rgba(57,40,23,0) 0%,rgba(57,40,23,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00392817', endColorstr='#392817',GradientType=0 );
	clear: both;
}

footer>address {
	font-style: normal;
}




@media all and (min-width: 33.6em) {
	
	header, section.content {
		width: 65%;
		margin: 0 2.5% 2.5% 2.5%;
		float: right;
	}
	
	nav#main-nav {
		float: left;
		width: 27.5%;
		margin: 0 0 2.5% 2.5%;
	}
	
	header, section.content {
		padding: 0 2.5%;
	}
	
	#main-nav>ul {
		padding: 5% 2% 1% 2%;
		font-size: 20px;
		font-size: 2.0rem;
	}
	
	#main-nav>ul>li {
		margin: 0;
		padding: 2.5% 0;
	}
		
}
	
@media all and (min-width: 43em) {
	
	body {
		font-size: 16px;
		font-size: 1.6rem;
	}
	
	#all {
		max-width: 1024px;
		margin: 0 auto;
	}
	
	body>div#all>img:first-of-type {
		margin: 3% 0 3% 2.5%;
	}
	
	h2 {
		font-size: 26px;
		font-size: 2.6rem;
	}
	
	header, section.content {
		width: 65%;
		margin: 0 2.5% 2.5% 2.5%;
		float: right;
	}
	
	nav#main-nav {
		float: left;
		width: 27.5%;
		margin: 0 0 2.5% 2.5%;
	}		
	
}