/*
Theme Name: MEA
Theme URI: http://beckydavisdesign.com/
Description: Custom theme for MEA, designed by Beyond Design
Author: Becky Davis
Author URI: http://beckydavisdesign.com/
Version: 1.1
Template: twentyten
tags: two-columns, left-sidebar, right-sidebar, three-columns

colors
f2f1f1 - light putty
ebeaeb - dark putty
dedbda - light gray
58585a - dark gray
bec0c2 - mid gray
231f20 - charcoal
ee3124 - red
*/
@import url('../twentyten/style.css');

/* A message for users with JavaScript turned off */
noscript strong {display: block; font-size: 18px; line-height:1.5em; padding: 5px 0; background-color: #ccc; color: #a00; text-align: center; }
/* HTML5 elements need display: block */
header,nav,section,article,aside,figure,footer { display:block; }

/* The main theme structure */
nav .menu-header,
div.menu,
#colophon,
#branding,
#main,
#wrapper {
	margin: 0 auto;
	width: 1100px;
}
body, input, textarea {
color: #58585a;
font-size: 12px;
line-height: 16px;
font-family:'Lato', Arial, sans-serif;
}
p {
margin-bottom: 10px;
}
#wrapper {
background: #f2f1f1;
margin-top: 0px;
padding: 0px;
/*height:800px;*/

}
#main {padding: 0; background:url(images/mainbck.jpg) repeat-y left;}
.hentry {
margin: 0;
}
a:link, a:visited {
	color: #000; text-decoration:none;
}

a:active,
a:hover {
	color: #ee3124;
}
img.alignnone {margin:0 8px;}
/* =Header
-------------------------------------------------------------- */

#header {
	padding: 0;
	position:relative;
}


#site-title {
	display: none;
}
#site-title a {
	}
#site-description {
position:absolute;
top: 40px;
left:874px;
font-style:normal;
margin: 15px 0 18px 0;
width: 210px;
font-size:1.1em;
text-transform: uppercase;
}

/* This is the custom header image */
#branding img {
	display: block;
	border:none;
	margin-top:0px;
}
#headwidget{position:absolute; width:250px;left:760px; top:40px;/* change these measurements to suit the design, 
positioning this absolutely puts it on top of header art */}

/* =landing page
-------------------------------------------------------------- */
#main.landing {background: url(images/landing.jpg) top center no-repeat; height:800px; position: relative;  }
.entry-content-landing {background:url(images/landing-center2.jpg) center no-repeat; position:absolute; top:250px; left:175px;width:719px; height:295px;}
.entry-content-landing p{padding: 2px 16px 20px; color:#fff; line-height:15px; font-size:11px; margin-bottom:0 !important;}
.enter {width:60px; height:25px; position:absolute; top:244px; right:0; background:#58585a; padding:5px 30px 0; }
.enter a {color:#fff; }
.entry-content-landing h2 {font-family:'Lato', arial, san-serif;color:#fff !important; padding:10px 16px 0; font-size:1.95em !important; line-height:1.1em !important; font-weight:100!important;}
/* =full width layout
-------------------------------------------------------------- */
#container.one-column {
float: right;
margin: 0 0 0 0;
width: 1100px;
background: #f2f1f1;
}
.one-column #content {
margin: 0 auto;
width: 1096px;
}
#content.blog  {margin: 0 auto; width: 1000px;}
.attachment-post-thumbnail {float:left; width:200px;}
.hentry {margin: 0 0 48px 0 !important;}


/* =left sidebar layout
-------------------------------------------------------------- */
#container {
float: right;
margin: 0 0 0 0;
width: 723px;
background: #f2f1f1;

}

#primary, #primary-long, #secondary {
float: left;
width: 373px;
border-top:#fff 2px solid;
border-left:#fff 2px solid;
border-right:#fff 2px solid;
/*border-bottom:#fff 2px solid;*/
background:#ebeaeb;
/*padding: 20px;*/
}

#content, .entry-content, .entry-summary {
margin: 0;
padding:0;
}

.entry-title, .widget-title {
	font-family:'Lato', arial, san-serif;
	font-weight:400;
	font-style:normal;
	font-size:1.37em;
	line-height:1.4em;
	color: #58585a;}
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
color: #58585a;
font-family:'Lato', arial, san-serif;
	/*font-weight:400;
	font-style:normal;*/
line-height: 1.5em;
margin: 0 0 20px 0;
}

.righttext {float:right; margin-right:36px;}
.right {float:right;}
.left {float:left;}
/* =3column layout
-------------------------------------------------------------- */
#main {
    overflow:hidden;
    position:relative;
	
    
 }
#container3 {
    width:960px;
    float:left;
    margin:0 0 0 10px;
}
#content3 {
	margin-left: 210px;
	float: left;
	overflow:hidden;
	width: 560px
}

#primary3 {/*left*/
	width:200px;
	float:left;
	margin: 0 0 0 -960px;
}
#secondary3 {/*right*/
    width:200px;
    float:left;
	margin: 0 0 0 -180px;
	padding-left: 10px;
}
#footer {
    clear:both;
}
#content3 img {
    height: auto;
    max-width: 90%;
    width: auto;
}
#content, #content input, #content textarea, #content3, #content3 input, #content3 textarea {
color: #58585a;
font-size: 12px;
line-height: 18px;
}
#content .entry-title, #content3 .entry-title {
color: #58585a;
font-size: 18px;
line-height: 1.3em;
font-weight: bold;
margin-bottom: 15px;
}

/**/
#main .widget-area ul {
margin: 0px;
padding: 0px;
}
.widget-title {margin:10px 0 5px 36px;}
.widget-area aside {/*border-bottom:#fff 2px solid;margin:20px;*/ /*padding:20px;*/}
.widget-area aside:after{content:"______________________________________________________________________________________";color:#fff; font-size:22px;}
.widget-area aside:last-child:after {content:"";}
div.textwidget{padding:10px 36px; margin:0;}
ul #menu-news-posts {margin-left:52px !important;}

/*Posts*/
.single .hentry {
margin: 0 30px 36px;}
.meta-sep, .author.vcard,.entry-utility, #nav-below{display:none;
}

/* Special styles included in the editor dropdown ------------------------------ */

.red-subtitle {color: #ee3124; font-size:14px;}
.news-title {font-family: 'Lato', Arial, sans-serif;
font-size:18px;
line-height: 1.3em;
margin-bottom: 15px;

}

/* navigation - main menu ------------------------------ */
nav {
	display: block;
	float: left;
	margin: -22px auto 40px 0;
	width: 800px;
}
nav .menu-header,
div.menu {
	font-size: 13px;
	margin-left: 0px;
	width: 800px;
}
nav .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
nav .menu-header li,
div.menu li {
	float: left;
	position: relative;
	border-right:2px #ee3124 solid;
	background: #58585a;
	
}

nav a:link, nav a:visited {
	color: #fff;
	display: block;
	line-height: 22px;
	padding: 0 22px;
	background: #58585a;
	text-decoration: none;
}
nav a:hover {color:#000;background-color:#bec0c2;}
nav ul ul {
	display: none;
	position: absolute;
	top: 22px;
	left: 0;
	float: left;
	width: 150px;
	z-index: 99999;
	
}
nav ul ul li {
	min-width: 140px;
	border:none !important;
	line-height: 1em;
	
}
nav ul ul ul {
	left: 100%;
	top: 0;
}
nav ul ul a {
	width: 185px;
	height: auto;
	
}
ul.sub-menu li a{background-color:#bec0c2;}
nav li:hover,
nav ul ul :hover {
	background-color:#ee3124;
	color: #000;
}

nav ul li:hover > ul {
	display: block;
}
nav ul li.current_page_item > a,
nav ul li.current-menu-ancestor > a,
nav ul li.current-menu-item > a,
nav ul li.current-menu-parent > a,nav .menu-header li.current_page_item:first-child {
	background-color:#bec0c2;
	color: #000;
	
}

nav .menu-header li:first-child, nav .menu-header li.current_page_item:first-child , nav .menu-header li:first-child:hover{
	/*padding-left:70px;*/border-left:1px #bec0c2 solid;}

nav .menu-header li.current_page_item:first-child, nav .menu-header li:first-child:hover,nav ul li.current-menu-ancestor:first-child {background-color: #bec0c2; }
nav .menu-header li:first-child:hover { background-color:#bec0c2;}
nav .menu-header ul ul li:first-child:hover,nav .menu-header ul ul li:first-child {padding-left:0 !important;}

nav .menu-header li:last-child,nav .menu-header li.current_page_item:last-child, nav .menu-header li:last-child:hover {
	padding-right:15px;border-right:none;}
nav .menu-header li:last-child{background:url(images/navend.jpg) right no-repeat #58585a;}	
nav .menu-header li:last-child:hover, nav .menu-header li.current_page_item:last-child {
	background:url(images/navendH.jpg)right no-repeat; background-color:#bec0c2;
	color: #000;}
nav .menu-header ul ul li:last-child:hover,nav .menu-header ul ul li:last-child {padding-right:0 !important;}

* html nav ul li.current_page_item a,
* html nav ul li.current-menu-ancestor a,
* html nav ul li.current-menu-item a,
* html nav ul li.current-menu-parent a,
* html nav ul li a:hover {
	background: #bec0c2;
	color: #000;
}

/* navigation - landing page menu ------------------------------ 4a4643 - charcoal ee3124 - red*/
#menu-landing-page {position:absolute; top:0; left:0;}
#menu-landing-page li {border:none;}
#menu-landing-page li a {background: #4a4643; text-transform:uppercase; }
#menu-landing-page li a:hover {background:#ee3124;color: #fff;}
#menu-landing-page li:last-child{background: url(images/navendLH.jpg)right no-repeat #4a4643; padding-right:15px;}
#menu-landing-page li:first-child a{padding:0 30px;}
#menu-landing-page li:last-child:hover, ul#menu-landing-page li.current_menu_item:last-child, ul#menu-landing-page li.current_page_item:last-child {
	background:url(images/navendL.jpg)right no-repeat #ee3124;}
/*#menu-landing-page li a.current-menu-item, #menu-landing-page li.current_menu_item {background:#ee3124 !important; color: #fff !important;}*/
nav ul#menu-landing-page li.current_page_item a,
nav ul#menu-landing-page li.current-menu-ancestor a,
nav ul#menu-landing-page li.current-menu-item a,
nav ul#menu-landing-page li.current-menu-parent a {background:#ee3124 !important; color: #fff !important;}
	/* footer */
footer {
	clear: both;
	width: 100%;
	margin-bottom: 20px;
}
#colophon {
	border-top: none;
	margin-top: 0;
	overflow: hidden;
	padding: 8px 0 ;
	background:#dedbda;
}
#site-info {
	font-family:'Lato', Arial, sans-serif;
	padding: 0 10px;
	font-size:12px;
}
#site-info a {
	text-decoration: none;
	color: #58585a;
}
#site-generator {
	font-style: normal;
	font-family:'Lato', Arial, sans-serif;
	position: relative;
	font-size:12px;
	float: right;
width: 120px;
}
/*------slideshows-----------------------*/
.nivoSlider {
margin-right: auto;
}
#post-28 #pb_slideshow_slider-1.nivoSlider {
margin-bottom: 0px !important;
}
#post-28 .entry-content, #post-201 .entry-content {height:600px !important;}
.nivo-directionNav {display:block !important;}
#post-6 .nivo-directionNav a {
top: 399px !important;
background: url(images/arrows.jpg) no-repeat !important;
}
#post-6 .nivo-directionNav a{width:26px !important;}
#post-6 a.nivo-nextNav {
background-position: -25px 0 !important;
right: -3px !important;
}
#post-6 a.nivo-prevNav {
left: 674px !important;
}

/*#post-366 .nivo-caption {bottom: 25px !important; width: 721px !important;}
#post-201 .nivo-caption, #post-28 .nivo-caption  { bottom: 0px !important; left:1px !important;width: 360px !important; height:100px !important;}
.nivo-caption h1{ color:#fff !important; margin:0 !important; }
.nivo-caption p { margin-bottom:5px !important;}*/
.nivo-caption {display: none !important;}
#pb_slideshow_slider-1 .nivo-controlNav {margin:0px !important;}
#pb_slideshow_slider-1 .nivo-controlNav img {opacity:0.6; margin-right:2px !important;}
#post-201 #pb_slideshow_slider-1 .nivo-controlNav img, #post-28 #pb_slideshow_slider-1 .nivo-controlNav img {opacity:0.6; margin-right:2px !important;}
#pb_slideshow_slider-1 .nivo-control.active img {opacity:1 !important ;}
#post-366 .nivo-directionNav a, #post-201 .nivo-directionNav a, #post-28 .nivo-directionNav a, #post-500 .nivo-directionNav a {top: 459px !important;width:36px !important; height:36px;}
#post-366 a.nivo-nextNav, #post-201 a.nivo-nextNav, #post-28 a.nivo-nextNav, #post-500 a.nivo-nextNav{ background:url(images/arrow-next.jpg) no-repeat top right !important;}
#post-366 a.nivo-prevNav, #post-500 a.nivo-prevNav{background:url(images/arrow-prev.jpg) no-repeat top left !important;}
#post-500 a.nivo-prevNav {left:-350px !important;}
#post-201 .nivoSlider, #post-28 .nivoSlider {position:absolute; top:-452px; left:-2px;}
#post-201 #pb_slideshow_slider-1 .nivo-controlNav {width:623px !important;position:absolute; left:-315px; top:430px; /*height:100px; overflow:hidden;*/}
#post-28 #pb_slideshow_slider-1 .nivo-controlNav {width:723px !important;position:absolute; left:-355px; top:430px; height:105px;}
#post-201 a.nivo-prevNav, #post-28 a.nivo-prevNav {background:url(images/arrow-prev.jpg) no-repeat top left !important; position:absolute; left:-355px;}

#post-500 #pb_slideshow_slider-1.nivoSlider {margin-top:-453px !important;}
#post-500 #pb_slideshow_slider-1 .nivo-controlNav {
width: 700px !important; margin:0 0 0 -348px !important; bottom: -140px !important;}

/*-------------too many columns!---------*/
.ezcol-one-half {
width: 46% !important; margin:0 /*0 0 20px */ !important; padding-bottom:0;
}
.ezcol-one-fifth {
width: 16% !important;
margin-right: 2px !important;
border-right:1px black solid;
padding:0 10px;
height:250px;
line-height:16px;
}
.ezcol-last.last-child {border-right:none !important; float: left !important;}
#content .ezcol-one-fifth h3 {color: #ee3124; font-size:14px; margin:0 0 5px 0; font-family: 'PT Sans', sans-serif;}
.two {margin:0 0 0 80px;}
.six {margin:150px 0 0 15px;}
.three{margin:0px 0 0 15px;}
.four {margin:-20px 0 0 10px;}
.four img {float:left; margin-right:5px;}

.four .ezcol-one-quarter {
width: 256px !important;
margin:15px 15px 0 0 !important;
}
.two ul, aside#graceful_sidebar ul {list-style: square;}
.two li, aside#graceful_sidebar li {margin-bottom:6px;}

/*-------------Because the design says so---------*/
#text-4 .textwidget{height:309px;}
aside#graceful_sidebar p {padding:18px 36px 0 !important;}
aside#graceful_sidebar h1 {text-transform:uppercase;}
aside#graceful_sidebar ul, ul#menu-services.menu{padding:8px 36px 0 !important;}
/*aside#graceful_sidebar p:last-child{margin-bottom: 0;}*/
aside#graceful_sidebar {height:387px; border-bottom:2px #fff solid;}
#primary-long aside#graceful_sidebar {height:587px;}
aside#graceful_sidebar:after {content:"" !important;}
img.bullet {vertical-align: middle; padding-right:8px; float:left; clear:left;}
.entry-content-history {background: url(images/Years-of-History-trans.jpg) top no-repeat;}
.history-top {
	border-right:none;	color:#fff;
	text-align:justify;	padding:18px 36px;}
.history-top p {margin-right:50px;}
.history-top h2{color:#fff !important; font-size: 1.6em;}


/*------------The SPD news slider-----------------*/
#spd-shortcode-slider { height:580px !important; width: 1096px !important;}
#spd-shortcode-slider #slides {/*position: absolute; right:0;*/ float:right; width: 1096px !important; height:420px !important;}
#spd-shortcode-slider .slide {left:380px !important; width:723px !important}
.thumbnails-bottom {
background-color:#EBEAEB !important;width: 1096px !important;}
.thumbnails-bottom #slides .info {
background: none !important;
top:10px !important;
left: -360px !important;
width: 300px !important;
height: 100% !important;
}
.thumbnails-bottom ul#nav_thumb li {	
	background-color: #EBEAEB !important;
	width: 150px !important;
	height: 150px !important;
	padding-right:20px !important;
	margin-right:20px !important
}
.thumbnails-bottom ul#nav_thumb li a img {border:none !important;width: 150px !important; height: 100px !important;}
.thumbnails-bottom ul#nav_thumb {width:900px !important; height:130px !important; background:none !important; margin:20px 0 20px 35px !important;}
.thumbnails-bottom ul#nav_thumb li a h6 {
clear: both;
display: block;
font-family:'Lato', Arial, sans-serif !important;
margin: 2px 0 0 0;
padding: 0;
text-align: left !important;
width: 100%;
}
#slides a#nav_nextslide, #slides a#nav_previousslide { display:none !important;}
.thumbnails-bottom ul#nav_thumb li.activeSlide {
	border-right: #58585a solid 1px !important;
	border-left: none !important;
	background: #f2f1f1 !important;
}
#slides .info h3 {
font-family:'Lato', Arial, sans-serif !important;
font-weight:bold !important;
margin: 10px 0 20px 0 !important;
}

.new-content {padding:10px 30px;}
.new-content h2 {text-transform:uppercase; margin: 0 0 10px 0!important;}
.new-content h3 {color:#ee3124!important; text-transform:uppercase; margin:0 0 10px 0!important;}
.new-content h4 {color:#000!important; text-transform:uppercase; margin:0 0 5px 0!important;}
.new-content p {margin-bottom:14px!important;}
.new-content hr {background-color:#ee3124;}
.intro-text {font-size:15px; line-height: 24px;}
.order-text {color:#ee3124; font-size:17px; line-height: 24px;}
.button {background-color:#ee3124; padding:5px 30px;text-decoration:none!important;}
.button:hover {background-color:#58585a;}
a.button {color:#fff;}
a.button:hover {color:#fff;}

.new-content .ezcol-one-fifth {
    width: inherit;
    margin-right: 0px;
    border-right: 0px;
    padding: 0px;
    height: inherit;
    line-height: 16px;
}