/*
Theme Name: EEI
Theme URI: http://www.eei.com
Description: Wordpress Theme for EEI
Author: Scott Elkin
Version: 1.0
*/

/* reset */

/* General Reset */
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, font, 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, hr, button {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align: baseline;
	background:none;
}
ol, ul {
	list-style:none;
}
h1, h2, h3, h4, h5, h6, li {
	line-height:100%;
}
blockquote, q {
	quotes:none;
}
q:before, q:after {
	content: '';
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
input, textarea, select {
	font:11px Arial, Helvetica, sans-serif;
	vertical-align:middle;
	padding:0;
	margin:0;
}
form, fieldset {
	border-style:none;
}
/* general setting */
html {
	height:100%;
}
body {
	height:100%;
}
a {
	color: #00a0ff;
	text-decoration:none;
}
a:hover {
	color: #00a0ff;
	text-decoration:underline;
}


/****************** general ******************/

body {
	background: #0b0b0b url(images/bg-page.png) 50% 0 no-repeat;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: white;
}

#wrapper {
	width: 940px;
	margin: 0 auto;
	border:0px solid red;
}

a:hover {
	text-decoration: underline;
}

p, .hentry li {
	padding: 0 0 15px 0;
	color: white;
	font-size:1.1em;
	line-height: 1.5em;
	color:#ddd;
}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 23px;
}
img.alignright {
	padding: 0px;
	margin: 0 0 20px 20px;
	display: inline;
}
img.alignleft {
	padding: 0px;
	margin: 0 20px 20px 0;
	display: inline;
}

.thumb-alignleft {
	padding: 0px;
	margin: 5px 20px 20px 0;
	display: inline;
	float:left;
}

img.aligncenter {
	display: block;
	padding: 0px;
	margin: 0 10px 0 10px;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}




/****************** header ******************/

#header {
	width: 940px;
	margin: 15px auto 0;
	overflow: hidden;
	background: url(images/header-bg.png) repeat-x bottom;
	position: relative;
}

h1 {
	margin-bottom: 10px;
}
h1 a {
	background: url(images/logo.png) no-repeat;
	width: 214px;
	display: block;
	height: 23px;
	text-indent: -9999px;
	margin-left: 10px;
}

.social {
	width: 120px;
	position:absolute;
	top:0;
	right:10px;
}
.social li {
	float: left;
	margin: 0 5px 0 0;
}

#nav {
	background: #000 url(images/nav.png) 0 0 no-repeat;
	width:940px;
	height:59px;
}
#nav ul {
	list-style: none;
	padding-top:10px;
}
#nav ul li {
	float: left;
	padding: 15px 0;
	width:133px;
	text-align: center;
	background: transparent url(images/seperator.png) 0 0 no-repeat;
}
#nav ul li.first {
	background:none;
}
#nav ul li.logo {
	padding:0;
	margin-top:-5px;
}

#nav ul li a {
	color: #fff;
	display: block;
	text-decoration: none;
	text-shadow: 0px -3px 2px #000;
	text-transform: uppercase;
	font-size:1em;
	font-family: "Ubuntu", Arial, sans-serif;
}
#nav ul li a:hover, #header ul li a.active, #header ul .current-menu-item a {
	color: #ccc;
}

/****************** home ******************/

.boxes {margin-top:10px;}
.boxes img {
	float:left;
}

/****************** content ******************/

h2 {
	font-size:1.5em;
	margin:0 0 10px;
	text-transform: uppercase;
	font-family: 'Ubuntu', arial, serif;
	font-style: normal;
  	font-weight: 300;
}

h3 {
	font-size:1.3em;
	margin:10px 0 10px;
	font-family: 'Ubuntu', arial, serif;
	font-style: normal;
  	font-weight: 500;
  	letter-spacing: -.1px;
  	line-height:1.2em;
	
}

h5 {
	font-size:1.1em;
	line-height: 1.4em;
	font-weight: bold;
}
#content h2 {
	font-size:2.0em;
	letter-spacing: 1px;
	margin-bottom:20px;
}

#contentWrapper {
	width: 940px;
	overflow: hidden;
	background: url(images/content-bg.png) 0 0 repeat-y;
}

#content {
	width: 570px;
	margin-top:10px;
	margin-left:40px;
	float: left;
	border:0px solid red;
	color:white;
	font-size: 1.1em;
	line-height: 1.3em;
}

#content ul {
	list-style-type: disc;
	margin-top:20px;
	padding: 0 0 12px 30px;
}

#content ol {
	list-style-type: decimal;
	padding: 0 0 10px 37px;
}

blockquote p {
	margin-left:20px;
	color:#ccc;
	font-style: italic;
}

address {
	margin:20px 20px 10px;
}

#content img {
	padding:10px;
	background-color: #202020;
	border:1px solid #505050;
}

/***************** post ************************/

.blog .post {
	margin-top:40px;
	clear:both;
}

#content .date {
	margin-top:-5px;
	margin-bottom:10px;
}
/***************** sidebar **********************/

#sidebar {
	width: 250px;
	margin-right:25px;
	float: right;
	clear: none;
	border:0px solid red;
}

#sidebar li, #sidebar ul {
	list-style-type: none;
	padding:0;
	margin:0;
}

#sidebar ul ul {
	margin-left:10px;
	margin-bottom:20px;
}

#sidebar ul ul li {
	font-family: 'Ubuntu', arial, serif;
	font-size:1.1em;
	line-height: 1.5em;
	border:0px solid red;
}

#sidebar .widget_recent_entries li{
	padding: 5px 0;
}

#sidebar .widget_search {
	margin-bottom:30px;
}

#menu-sidebar-page-links li a {
	color: white;
	font-family: 'Ubuntu', arial, serif;
	font-size:1.3em;
	line-height: 1.5em;
	text-transform: uppercase;
}
#menu-sidebar-page-links li {
	border-bottom:1px solid #222;
	padding:5px 0;
	margin-right:20px;
}

#sidebar .widget_recent_entries {
	padding-left:10px;
}

/*************** footer ************************/

.home #footerWrapper {margin-top:0;}
#footerWrapper {
	background:url(images/footer-bg.jpg) 50% 0 no-repeat;
	height:50px;
	margin-top:50px;
}

#footer {
	width: 940px;
	margin: 0 auto;
	position: relative;
	padding-top:20px;
}

#footer p {
	float:left;
	width:300px;
}
#footer .links {
	width: 300px;
	float:left;
}
#footer .links li {
	float: left;
	margin: 5px 5px 0 0;
	padding:0 7px;
	border-left:1px solid #00A0FF;
	
}

#footer .social {padding-top:20px;}
.home .social {display:none;}


.one-half{ width:48%; }
.one-third{ width:30.1%;}
.two-third{ width:65.33%; }
.one-fourth{ width:22%; }
.one-half,.one-third,.two-third,.one-fourth { position:relative; margin-right:3%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}

/* horrible, horrible hack to fix the span pushing image down */
.last h2 {
	margin-bottom:-3px;
}

.one-third a {
	color: red;
	font-weight: bold;
}
.contact-form textarea {
	width:300px;
}


/******************* slider ********************/

/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:100%;
	z-index:8;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	z-index:9;
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}


.theme-default .nivoSlider {
	position:relative;
	background:#fff url(images/loading.gif) no-repeat 50% 50%;

}
.theme-default .nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.theme-default .nivoSlider a {
	border:0;
	display:block;
}

/*
.theme-default .nivo-controlNav {
	position:absolute;
	left:50%;
	bottom:-42px;
    margin-left:-40px;
}
.theme-default .nivo-controlNav a {
	display:block;
	width:22px;
	height:22px;
	background:url(images/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
}
.theme-default .nivo-controlNav a.active {
	background-position:0 -22px;
}*/

.theme-default .nivo-controlNav {
    position:absolute;
	left:50%;
	bottom:10px;
    margin-left:-30px; /* Tweak this to center bullets */
}

.theme-default .nivo-controlNav a {
    display:block;
    width:15px;
    height:15px;
    background:url(images/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:7px;
    float:left;
}
.theme-default .nivo-controlNav a.active {
    background-position:0 -14px;
}

.theme-default .nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
.theme-default a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
.theme-default a.nivo-prevNav {
	left:15px;
}

.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}
