/*! STYLES FOR EPC WEB SITE */

/* GLOBAL CLASSES */

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body,html	{margin: 0; padding: 0;}	/* keep Opera happy */

body	{
	background-color: #fffff9;
	background-color: hsl(60, 60%, 95%);
	font-family: 'Roboto Slab', verdana, arial, helvetica, sans-serif;
	/* font-family: verdana, arial, helvetica, sans-serif; */
	font-size: 16px;
	/* font-size: 14px; */
	line-height: 1.4;
	/* line-height: 1.5; */
}

#skipnav {display: none}

img {
	max-width: 100%;
	height: auto;
}

/* IE8 needs an extra declaration */
.ie.lt-ie9 img {
	width: auto;
}

/* FONT-SIZE DECLARATIONS */
#nav, #footer p,
#main .small, #main ul.small li, .x-small, .smaller, ul.smaller li, .xx-small, .smallest, ul.smallest li,
.small sup, .smaller sup, .smallest sup, .small sub, .smaller sub, .smallest sub
{
	font-family: verdana, arial, helvetica, sans-serif;
}

#footer p	{
	font-size: 12px;
	line-height: 1.3;
}

#main h1, #main .h1, #h1	{margin-top: 2px; margin-bottom: 6px; font-size: 24px; font-weight: bold;}
h2, .h2							{font-size: 18px; font-weight: bold;}
#main h2, #main .h2			{/* margin-top: 0; */}
h3, .h3	{font-size: 16px; font-weight: normal}
h4, .h4	{font-size: 15px; font-weight: normal}
h5, .h5	{font-size: 13px; font-weight: normal; letter-spacing: 1px; color: #360}
h6, .h6	{font-size: 12px; font-weight: normal; letter-spacing: 1px;}

#main .small, #main ul.small li				{font-size: 13px; line-height: 1.4}
.x-small, .smaller, ul.smaller li			{font-size: 12px; line-height: 1.4}
.xx-small, .smallest, ul.smallest li		{font-size: 12px; line-height: 1.4}
.large												{font-size: 16px; line-height: 1.1}
.x-large, .larger									{font-size: 18px; line-height: 1.1}
.xx-large, .largest								{font-size: 20px; line-height: 1.1}

.small sup, .smaller sup, .smallest sup 	{font-size: 11px; vertical-align: super}
.small sub, .smaller sub, .smallest sub 	{font-size: 11px; vertical-align: sub}

#nav li a	{
	font-weight: bold;
	font-size: 12px;
	line-height: 1;
}

form ol.inline li label, form li.inline label {
	font-size: 11px;
}

#main form label span.title, #main form label span.note, #main form span.error {
	font-size: 13px; font-weight: normal;
	white-space: normal;
}

#main form label span.title {
	font-weight: bold;
	font-size: 14px;
}

#main ul.small li, #main form li div.note, #main form li ul.note, #main form li ol.note,
#main form li ul.note li, #main form li ol.note li, #main div.errorsummary *
{
	font-size: 13px;
}

#main div.errorsummary * {
	font-weight: bold; line-height: 1.2;
}

#main form span.error, #main form li.error div {
	font-size: 12px;
}

#main form li.error div {
	line-height: 1.2;
}

.deck {
	font-size: 18px;
	line-height: 1.4;
}

input.button, button.button {
	font-weight: bold;
	font-size: 15px;
}

th					{font-size: 14px}

div.imgright h4, div.imgleft h4, div.calloutright h4, div.calloutleft h4, #supportbox h4	{
	font-size: 15px;
	font-weight: bold;
}

div.imgright .copy, div.imgleft .copy, div.calloutright .copy, div.calloutleft .copy, div.calloutright p, div.calloutleft p	{
	font-size: 13px; line-height: 1.2;
}

.mmenu-control-button {
	font-size: 13px;
	font-weight: bold;
}

/* break at iPhone landscape width */
@media screen and (min-width: 480px) {

	#nav li a	{
		font-size: 11px;
	}

}

/* MASTHEAD CONTAINING MAIN PAGE HEADING */

#masthead, #bodywrap {
	background-color: #fffff9;
}

#masthead {
	/* margin-bottom: 20px; */
}

#masthead h1, #masthead .h1 {
	margin: 0;
	padding: 0 0 1px 0;
}

#masthead h1 a, #masthead .h1 a	{
	display: inline-block;
	padding: 5px 25px 15px 5px;
}

#masthead h1 a:hover, #masthead .h1 a:hover,
#masthead h1 a:active, #masthead .h1 a:active,
#masthead h1 a:focus, #masthead .h1 a:focus
	{
	background-color: #fff;
	color: #f9fafa !important;						/* hsl(198, 10%, 98%) */
	outline: 1px solid #f9fafa !important;		/* hsl(198, 10%, 98%) */
}

#masthead h1 a.thispage {
	outline-width: 0 !important;
	background-color: inherit;
}

#tagline {
	display: block;
	margin-top: 4px;
}

/* BODY WRAP */
/* Encloses nav, body, and sidebar divs (but not footer) */
#bodywrap {
	overflow: hidden;
	/* max-width: 927px; */
}

/* MAIN NAVIGATION BLOCK */

#nav, #nav ul {
	color: #fff;
	background-color: #0093D0;		/* mid blue */
	/* background-color: #038; */			/* dark blue */
}

#nav	{
	/* margin-top: 10px; */
	/* height: 24px; */
}

/* IE6 and earlier will *not* read this style */
html>body div.test { height: auto; }

#nav ul	{
	list-style: none;
	margin: 0px;
	padding: 0;
	overflow: hidden;
}

#nav li	{
	margin: 0;
	padding: 3px 0;
}

#nav li a	{
	display: block;
	padding: 6px 12px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

#nav li a:visited	{
	/* color: #e1e1e5; */ /* pale bluish gray */
	/* color: #f5f5f9; */ /* v. pale bluish gray */
}

#nav a:hover, #nav a:active						{background-color: #007db3; /* hsl(198, 100%, 35%) */}
#nav li.thispage a, #nav li.thishome a			{background-color: #006b99; /* hsl(198, 100%, 30%); */}
#nav li.thispage a:hover							{text-decoration: none;}

/* RESPONSIVE NAV STYLES */
.mmenu-control-wrapper {
	overflow: hidden;
	padding: 2px;
}

.mmenu-control-button {
	float: right;
	color: inherit;
	background-color: #006b99; /* hsl(198, 100%, 30%); */
	/* background-color: inherit; */
	border-radius: 6px;
	border-width: 0;
	/* border-width: 2px; */
	border-style: solid;
	border-color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 3px 14px;
}

.mmenu-control-button:hover,.mmenu-control-button:active {
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.3);
}

.mmenu-control-button:after {
	content: '\2630';
	/* font-size: 95%; */
}

/* SIDEBAR */
/* Left hand sidebar: for SEO, etc., is *after* #main in HTML */
#sidebar {
	padding: 0 15px 15px 15px;
	color: #221;
	text-align: right;
}

#sidebar p, #sidebar div.img {
	/* margin: 0 0 24px 0; */
}

#sidebar p.caption, #sidebar div.img p {
	float: left;
}

/* MAIN BODY DIV */
/* js ensures that this fills container vertically */
#main	{
	padding: 12px 12px 12px 12px;
	color: #221;
	background-color: #fffffa;
}

.portfolio #main {
	float: none;
	width: 870px;
	margin-left: 15px;
}

.portfolio #sidebar {
	display: none;
}

/* FOOTER */

#footer {
	margin: 10px 0 0 0;
	padding-bottom: 15px;
}

#footer p	{
	margin: 0;
	padding: 2px 0 0 12px;
	color: #3d3d34;
}

#footer #footer-license {
	padding-top: 12px;
}

#footer #footer-copy {
	padding-bottom: 6px;
}

#footer-credits, #footer-credits a {
	color: #a3a38b;
	/* background-color: #f7f7eb; */
}

/* GLOBAL LINK STYLES */
/* Correct order: link, visited, hover, active */
/* typical defaults: link="#00F" vlink="#639/909" (hover: n/a) alink="#F00" */

#main a:link		{color: #552}
#main a:visited	{color: #886}
#footer a:link 	{color: #554}
#footer a:visited	{color: #886}
#main a:hover, #footer a:hover		{text-decoration: none}
#main a:active, #footer a:active		{text-decoration: none}

#main a.inactive,
#main a.inactive:visited	/* links that need to be grayed out */	{
	color: #ccc; text-decoration: underline;
}

/* HEADINGS */

/* h1, h2, h3, h4, h5, h6	{font-family: helvetica, geneva, arial, sans-serif; line-height: 105%} */
h1, h2, h3, h4, h5, h6	{
	/* font-family: "Trebuchet MS", Trebuchet, helvetica, geneva, arial, sans-serif; */
	font-weight: normal;
	line-height: 105%;
	color: #442;
	margin-bottom: 2px;
}

/* GLOBAL MODIFIERS */
/* all standard font sizes specified last */
/* standard elements */

/* set default face, size and line-height for all standard elements */
#main p, #main td, #main #main ul, #main ol, #main li, #main form li, #main dl, #main dt, #main dd 	{
	/* font: 12px/1.8 verdana, arial, helvetica, sans-serif; */
	margin: 0 0 6px 0;
}

/* Target Opera */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
	head~body #main li {
		/* margin-top: 12px; margin-bottom: 0px; */
		min-height: 16px;
		height: auto !important;
		height: 16px;
		/* border: 1px dotted red; */
	}
}

#main dt {
	margin: 6px 0 0 0;
}

#main dd, #main li {
	margin: 0;
}

img			{display: block; border: 0}				/* fix whitespace problem with imgs in table cells */
.inline 		{display: inline}								/* selectively override previous rule */
td				{vertical-align: top}

/* standard formatting classes - use with all elements to adjust size, white space, etc. */

.indent		{margin-top: 0px; text-indent: 16px;}	/* first line indented by a small amount */
.inset, dd	{margin-left: 16px;}							/* entire block inset by a small amount */
.insetmore	{margin-left: 28px;}
.insetless	{margin-left: 10px;}
.center		{text-align: center;}

#main .thick		{margin-bottom: 18px;}

sup, sub		{vertical-align: text-top;}
sub			{vertical-align: text-bottom;}

.bold			{font-weight: bold}		/* make it bold */
.italic		{font-style: italic}		/* make it italic */
.normal		{font-weight: normal}	/* make it normal e.g. within Hn tags */

.serif		{font-family: georgia, serif}
.sans			{font-family: verdana, arial, helvetica, sans-serif}
.hide, .hidden	{visibility: hidden}

/* custom colours */

.paleyellow					{color: #ffd}						/* pale yellow */

.palegreen, .bg			{background-color: #eaefe5}	/* 90-4-94 */
.palegreen2, .bg2			{background-color: #f1f5ed}	/* 90-3-96: slightly lighter than .palegreen */
.midgreen					{color: #693}						/* PACE green */
.darkgreen					{color: #360}						/* dark green */
.xdarkgreen, .hgreen		{color: #030}						/* x dark green */

.gray							{color: #999}						/* mid gray */
.black						{color: black}
.white						{color: white}

/* FORMS */

#main .required {
	font-style: italic;
}

form {
	/* border: 1px dotted red; */
	/* width: 350px; */
}

form ol, form ul {
	list-style: none;
	margin: 0; padding: 0;
}

form ol {
	width: 450px;
	margin-top: 0px;
	/* margin-top: -20px; */
}

form ol ol, form ol.default {
	margin-top: 0px;
}

fieldset {
	border: 0; margin: 0; padding: 0 0 4px 0;
	position: relative;
	margin-left: -50px;
	/* margin: 12px 0 22px 0; */							/* Safari only */
	min-height: 24px;
	height: auto !important;
	height: 24px;
	/* overflow: hidden; */
}

fieldset#fieldset_message {
	/* border: 1px dotted red; */
	min-height: 150px;
	height: auto !important;
	height: 150px;
}
/* Ugly Safari-only hack (>= 3.0) */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	/* body:first-of-type fieldset { margin-top: 12px; margin-bottom: 12px;	} */
	/* body:first-of-type fieldset { margin-top: 22px; margin-bottom: 22px;	} */
}

/* Target Opera */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
	head~body fieldset { margin-top: 12px; margin-bottom: 6px; }
	/* head~body fieldset { margin-top: 22px; margin-bottom: 22px; } */
}

legend {
	display: block;
	position: absolute;
	/* top: -20px; */	/* only OK in FF */
	top: 0px;
	left: 0;
	/* padding-top: 20px; */
	/* display: none; */
}

/* Target Opera */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
	head~body legend {top: -20px}
}

legend.radio, legend.center {
	padding-left: 130px;
	/* padding-left: 170px; */
}

legend.label {
	border: 1px solid red;
	width: 100%;
	left: 250px;
	text-align: right;
	padding-right: 250px;
	padding-left: 250px;
	/* right: 125px; */
}

legend.stack {
	padding-left: 225px;
	margin-bottom: 25px;
}

form li {
	position: relative;
	min-height: 24px;
	height: auto !important;
	height: 24px;
	padding-bottom: 0px;
}

form li input, form li textarea {
	position: absolute;
	left: 225px;
}

form li textarea {
	left: 75px; top: 20px;
}

form ol.textarea li, form li.textarea {
	min-height: 125px;
	height: auto !important;
	height: 125px;
}

form ol.textarea li.default {
	min-height: 24px;
	height: auto !important;
	height: 24px;
}

form li#li_message {
	height: 6em;
}

label {
	position: absolute;
	right: 225px;
	padding-right: 4px;
}

form ol.radio li {
	min-height: 18px;
	height: auto !important;
	height: 18px;
}

form ol.radio label {
	/* border: 1px solid blue; */
	left: 250px;
	width: 175px;
}

form ol.inline {
	/* border: 1px solid blue; */
	height: 70px;
	margin-left: 225px;
	width: 225px;
}

form ol.inline li, form li.inline {
	/* border: 1px dotted green; */
	position: relative;
	float: left;
	width: 90px;
	margin-bottom: 12px;
	/* height: 35px; */
}

form ol.inline li label, form li.inline label {
	position: absolute;
	left: 0; top: 0;
	display: block;
}

form ol.inline li input, form li.inline input {
	position: absolute;
	left: 0; top: 14px;
	display: block;
}

form ol li.zip {
	margin-top: -20px;
	width: 150px;
	left: 275px;
}

form ol li.zip label {
	left: 0; top: -2px;
}

form ol li.zip input {
	left: 25px;	top: -4px;
}

/* leading asterisk will target IE>=5; leading underscore will target IE<7 */
form ol li.zip input {
	*top: -8px;
	_top: -8px;
}

form ol li.zip label {
	*top: -6px;
	_top: -6px;
}

#main form label span.title, #main form label span.note, #main form span.error {
	text-align: right;
	display: block;
	white-space: normal;
}

#main form span.title {
	display: none;
}

#main form label {
	/* font-weight: bold; */
}

#main form label span.title {
	font-weight: bold;
}

#main form li div.note, #main form li ul.note, #main form li ol.note {
	position: absolute;
	top: 20px;
	width: 220px;
}

#main form li ul.note {
	list-style: disc;
}

#main form li ul.note li, #main form li ol.note li {
	/* border: 1px dotted red; */
	min-height: 12px;
	height: auto !important;
	height: 12px;
}

#main form label span.note {
	padding: 2px 4px 0 0;
	color: #aaa;
}

/* error handling */
#main div.error, #main div.errorsummary, #main li.error div {
	border: 1px solid #f11;
	color: #f00;
	background-color: #fff5f5;
}

#main div.errorsummary {
	width: 85%;
	margin: 8px 0;
	padding: 12px 12px 6px 48px;
	/* padding: 4px 12px 0 46px; */
	background: url('images/widgets/icons/icon_alert_error.gif') #fff5f5 6px 12px no-repeat;
}

#main .errorsummary ul, #main .error ul {
	list-style: disc;
	margin-left: 8px; padding-left: 8px;
}

#main .errorsummary li, #main .error li {
	background-image: none;
	margin-left: 0; padding-left: 0;
}

#main form li.error {
	min-height: 12px;
	height: auto !important;
	height: 12px;
	padding-top: 4px; padding-bottom: 0;
}

#main form li.error div {
	/* border: 1px dotted grey; */
	margin-left: 225px; padding: 0px 4px 2px 4px;
	color: red;
}

#main form .inline li.error {
	/* border: 1px solid green; */
	position: static;
	float: none;
	clear: both;
	width: 225px;
	margin-bottom: 0;
}

#main form .inline li.error div {
	margin-left: 0px; padding-left: 2px;
}

#main form span.error {
	position: absolute;
	top: 12px; right: 235px;
	color: red;
}

/*
#main #fieldset-submit {
	border: 1px dotted red;
	text-align: right;
	padding-right: 165px;
}
 */

#main form input:focus, #main form textarea:focus {
	background-color: rgb(255,255,235);
}

input.button, button.button {
	font-weight: bold;
	color: #fff;
	background-color: #0093D0;
	/* background-color: #038; */
	padding: 4px 24px;
}

#main form input.button:focus {
	background-color: #069;
}

/*
form li 			{border: 1px dotted red;}
form li li		{border: 1px dotted green;}
fieldset			{border: 1px dotted purple;}
legend			{border: 1px solid #c00}
label 			{border: 1px dotted blue;}
label span		{border: 1px dotted purple;}
form ul.radio	{border: 1px solid green;}
form ol.radio label {border: 1px solid blue;}
form ol.inline {border: 1px solid blue;}
 */

/* MISC STYLES */

dt	{font-weight: bold;}

#main ul {
	/* border: 1px dotted black; */
	list-style: none;
	margin-left: 6px; padding-left: 0;
}

#main ul li {
	/* border: 1px dotted blue; */
	/* height: 0.01%; */	/* fix for disappearing text in IE: see 'visualIEFloatFix' */
	margin-left: 0; padding-left: 12px;
	background: url('images/widgets/arrow-right-331.gif') 0 8px no-repeat;
}

#main ul.small li {
	padding-left: 10px;
	background: url('images/widgets/arrow-right-331.gif') 0 4px no-repeat;
}

#main dl.testimonials {
	margin-left: 12px;
}

#main dl.testimonials dt {
	font-weight: normal;
	margin: 12px 0 0 0;
}

#main dl.testimonials dd {
	font-style: italic;
	margin: 0 0 0 12px;
}

#main ul.nobullets, #main ol.nobullets {
	list-style: none;
	margin-left: 6px;
	padding-left: 6px;
}

#main .nobullets li {
	background-image: none;
}

#main ul.flush, #main ol.flush {
	list-style: none;
	margin-left: 0; padding-left: 0;
}

/* table formatting e.g. forms */
tr.hthick td		{padding-top: 1em}
tr.h td				{padding-top: 0.75em}
tr.n td				{padding-top: 0}	/* override 'h' e.g. in nested tables */
/* table.form td		{border: 1px dotted blue} */
/* table.form td		{vertical-align: bottom} */
table.form td.text	{text-align: right}
table.form td.left	{vertical-align: bottom; padding-right: 2px; white-space: nowrap; text-align: right}
table.form td.right	{text-align: left; vertical-align: bottom}
table.form td.top	{vertical-align: top}
table.form div.small	{line-height: 1.1}

th					{text-align: left; vertical-align: bottom; padding-top: 6px;}
tr.underscore th	{border-bottom: 1px solid black}
td.numbers			{text-align: right; padding-left: 2px; white-space: nowrap}

span.required {color: red;}

.nowrap, .phone, .email		{white-space: nowrap;}
/* link information e.g. "(20KB PDF)" in smaller type (use only with default-sized text) */
.linkinfo	{font: 11px verdana, arial, helvetica, sans-serif; white-space: nowrap;}

#main p.breadcrumb	{
	font: 10px/1.1 verdana, arial, helvetica, sans-serif;
}

#main p.breadcrumb a	{
	white-space: nowrap;
}

div.imgright, div.imgleft, div.calloutright, div.calloutleft	{
	/* border: 1px solid red; */
}

div.imgright, div.imgright p, div.imgleft, div.imgleft p,
div.calloutright, div.calloutleft, div.calloutright p, div.calloutleft p, div.calloutright li, div.calloutleft li, #welcome #supportbox li	{
	font: 11px/1.1 verdana, arial, helvetica, sans-serif;
	color: #999;
}

div.calloutright, div.calloutleft, div.calloutright p, div.calloutleft p, div.calloutright li, div.calloutleft li, dl.schedule-letters p.more, #welcome #supportbox li	{
	font: 11px/1.2 verdana, arial, helvetica, sans-serif;
	color: black;
}

div.imgright h4, div.imgleft h4, div.calloutright h4, div.calloutleft h4, #supportbox h4	{
	color: #030;
	margin-top: 0; margin-bottom: 4px;
	font-weight: bold;
}

div.imgright .copy, div.imgleft .copy, div.calloutright .copy, div.calloutleft .copy, div.calloutright p, div.calloutleft p	{
	color: black;
}

div.imgright .black, div.imgleft .black, div.calloutright .black, div.calloutleft .black	{
	color: black
}

div.calloutright, div.calloutleft	{
	background-color: #F7FAF5;	/* v. pale green */
}

/* RESOLUTION BREAKPOINTS */

/* break at iPhone landscape width */
@media screen and (min-width: 480px) {

	#main {
		/* outline: 1px solid green; */
	}

	#nav li	{
		float: left;
	}

	#nav li a	{
		padding: 6px 12px;
	}

}

/* break again at iPad portrait width (iPad is 768 x 1536)*/
@media screen and (min-width: 768px) {

	#nav	{
		height: 24px;
	}

	#nav ul {
		padding: 0 0 0 17px;
	}

	#nav li	{
		float: left;
	}

	#nav li a	{
		padding: 4px 13px;
	}

	#bodywrap {
		margin-top: 1px;
	}

	#main {
		/* outline: 1px solid red; */
		float: left;
		width: 55.555555%;		/* 927 x 5/9 */
		max-width: 515px;
		padding-left: 15px;
		overflow: hidden;
	}

	#sidebar {
		float: left;
		padding-top: 12px;
		padding-right: 30px;
		width: 44.444444%;		/* 927 x 4/9 */
		max-width: 412px;
		overflow: hidden;
	}

	#sidebar p, #sidebar div.img {
		margin: 0 0 24px 0;
		float: right;
		clear: both;
	}

	#sidebar div.img:first-child {
		padding-top: 6px;
	}

	#footer p	{
		padding-left: 12px;
	}

	#footer #footer-license {
		padding-top: 6px;
	}

}

/* break when screen is narrower than designed width */
@media screen and (min-width: 960px) {

	#main, #sidebar {
		padding-top: 20px;
	}

	#main, #footer p {
		/* outline: 1px solid red; */
		padding-left: 25px;
	}

}

.gt-480 #nav li {
	/* outline: 2px solid pink; */
}

.ie.lt-ie9.gt-480 #nav li {
	/* outline: 1px solid green; */
	float: left;
}	

/* TEMPORARY STYLES */

/*
#outerwrap	{border: 1px dotted darkkhaki}
#masthead	{border: 1px dotted red}
#bodywrap	{border: 1px solid black}
#nav			{border: 1px dotted green}
#nav ul		{border: 1px dotted purple}
 */
/*
#sidebar 	{background-color: #b1caf2}
#main			{background-color: #b1caf2}
 */
/*
#footer		{background-color: #d9deba}
 */