/*  
Theme Name: Associates for Educational Success
Theme URI: http://www.moiagroup.com
Description: The AES Theme
Version: 1.0
Author: Ian Johnson
Author URI: http://www.moiagroup.com

*/

body {
	text-align: center;
	margin: 0;
	font-family: "Georgia", times, serif;
	font-size: 82%;
	color: #333;
	background: #bfc8a9 url(images/bgtile.jpg) repeat-x;
}

a {
	color: #365c9b;
}

h1, h2, h3, h4 {
	color: #b55a2d;
	font-family: "Georgia", times, serif;
	font-weight: normal;
}

#wrapper-shadow {
	margin: 0 auto;
	text-align: center;
	width: 1050px;
	background: url(images/shadow_left.png) repeat-y;
}

#wrapper-shadow.wide {
	width: 80%;	
}

#wrapper {
	margin: 0 auto;
	text-align: left;
	width: 990px;
	padding: 0 0;
	background: #fff;
	min-height: 800px;
	border-right: 1px solid #333;
	border-left: 1px solid #333;
	background: url(images/bgtilewithleftcol.gif) repeat-y;
}

/* for Internet Explorer */
/*\*/
* html #wrapper {
height: 1000px;
}
/**/


#wrapper-shadow-right {
	background: url(images/shadow_right.png) repeat-y 100% 0;	
}

#wrapper.wide {
	width: auto;
	margin: 0 30px;
}

#header {
	height: 147px;
	position: relative;
}

#header_logo {
	width: 288px;
}

#header_search {
	width: 687px;
	height: 132px;
	position: absolute;
	left: 288px;
	top: 0;
	padding-top: 15px;
	padding-right: 15px;
	background: #FFF url(images/head_photo.jpg) no-repeat;
	text-align: right;
}

#header_search input.searchbutton {
	width: 56px;
	height: 24px;
	background: #666 url(images/but_search.jpg) no-repeat;
	color: transparent;
	border: 0;
}


#footer {
	clear: both;
	padding: 0 48px;
	font-size: .9em;
	margin-top: 80px;
	color: #AAA;
}

#footer hr {
	border: 0;
	border-top: 1px solid #454545;
}

#footerright {
	text-align: right;
	float: right;
	width: 60%;
}

#footerleft {
	text-align: left;
	float: left;
	width: 30%;
}

#homecontent {
	float: right;
	width: 702px;
	margin-top: 0px;
	display: inline;

}


#content {
	float: right;
	width: 662px;
	margin-top: 0px;
	display: inline;
	padding: 20px;
}


/* ************************* SIDEBAR ************************ */
#sidebar {
	width: 288px;
	font-size: 1em;
	float: left;
	display: inline;
}

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

#sidebar ul li {
}

#sidebar ul li.current_page_item {
}

#sidebar ul li a:hover {
	color: #FFCCCC;
}

#sidebar ul li a {
	padding: 5px 15px 5px 15px;
	text-decoration: none;
	
	color: #bccacf;
	display: block;
}

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

#sidebar ul ul li {
}

#sidebar ul ul li a:hover {
	color: #FF2222;
}

#sidebar ul ul li a {
	padding: 2px;
	padding-left: 20px;
	text-decoration: none;
	color: #FFF;
	display: block;
}

#sidebar ul ul li.current_page_item a {
	color: #FF2222;
	background-color: #FFF;
}

#sidetitle {
	border: 0;
}

#sidetitle h2 {
	color: #FFF;
	text-transform: uppercase;
	margin: 0;
	padding: 6px 20px 8px 70px;
	font-size: 1.3em;
	background-image: url(images/sidetitleblock_bg.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

#sidecontent {
	padding: 25px 40px; 
	color: #000;
	font-size: .9em;
}
#sidecontent img {
	margin-bottom: 10px;
}

#sidecontent h3 {
	margin: 0; 
	padding: 0;
}

#sidecontent h3 a {
	text-decoration: none;
}

#sidecontent p {
	margin-top: 0;
}

.newsexcerpt {
	margin-bottom: 15px;
}

.newsexcerpt p {
	margin: 0; 
	padding: 0;
}

#sidecontentbuttons {
	text-align: center;
}

#sidecontentbuttons img {
	border: 0;
	margin-bottom: 10px;
}


/* ************************* END SIDEBAR ************************ */

/* ************************* HEADERNAV ************************ */

#navbar {
	font-size: .9em;
	background-image: url(images/nav_bgtile.jpg);
	background-repeat: repeat-x;
	border-bottom: 1px solid #b5b39d;
	height: 39px;
}
/*
#navbar a {
	color: #FFF;
	text-decoration: none;
}

#navbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#navbar ul li {
	display: inline;
	padding: 10px 0;
}

#navbar ul li:hover {
	background-image: url(images/nav_on.jpg);
	background-repeat: repeat-x;
	background-position: bottom left;
}

#navbar ul li.current_page_item {
	background-image: url(images/nav_roll.jpg);
	background-repeat: no-repeat;
	background-position: bottom center;
}

#navbar ul li.current_page_item a {
	color: #FFF;
}

#navbar ul li a {
	display: inline;
	padding: 10px 20px;
	border-right: 1px solid #AAA;
}
*/

/* ************************* END HEADERNAV ************************ */

#for20 {
	border: 1px solid #999;
	background-image: url(images/bio_photo.jpg);
	background-repeat: no-repeat;
	padding: 5px 15px 15px 315px;
	margin: 30px 30px;
	color: #000;
}

img.alignleft {
	float: left;
	margin-right: 13px;
	border: 1px solid #999;
}
	
img.alignright {
	float: right;
	margin-left: 13px;
	border: 1px solid #999;
}

p.date {
	margin: 0;
	padding: 0;
}

textarea {
	width: 400px;
}


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */



/* Begin Images */
p img {
	padding: 0;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

img { -ms-interpolation-mode: bicubic; }

.navigation {
	margin-bottom: 15px;
}

blockquote {
	font-size: 1.1em;
	font-style: italic;
	color: #666;
}

#videoblock {
	margin-left: 30px;
}
.button {
   border-top: 1px solid #96d1f8;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#4B6DAA), to(#65a9d7));
   background: -webkit-linear-gradient(top, #4B6DAA, #65a9d7);
   background: -moz-linear-gradient(top, #4B6DAA, #65a9d7);
   background: -ms-linear-gradient(top, #4B6DAA, #65a9d7);
   background: -o-linear-gradient(top, #4B6DAA, #65a9d7);
   padding: 10px 20px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 22px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   }
.button:hover {
   border-top-color: #28597a;
   background: #28597a;
   color: #AAA;
   }
.button:active {
   border-top-color: #1b435e;
   background: #1b435e;
   }