/*  
Theme Name: ESAD 2008
Theme URI: http://wordpress.org/
Description: Le thème du site de l'ésad.
Version: 0.9
Author: Benoît Wimart
Author URI: http://jaiunsite.com/

	esad v0.9
	 http://esad-amiens.fr/


	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.phpne
*/



/* Begin Typography & Colors */
*{
margin:0;
padding:0;
}


body {
	font-size: 76%; /*  76% Resets 1em to 12px */
	font-family: Georgia, Serif;
	background: #fff url('images/fond.gif') repeat top center;
	color: #333;
	text-align: left;
	}
address{
	font-style: normal;
}
#page {
	background: #fff url('images/rouge.gif') repeat-y bottom left;
	text-align: left;
	}

#header {
	background: #fff url('images/head.gif') no-repeat bottom left;
	height: 158px; 
	width: 818px; 
	}



#content {
	font-size: 1em;
	padding: 26px 26px 60px 237px;
	}



.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	background: transparent url('images/foot.gif') no-repeat top; 
	border: none;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}
p a{
color: #fe0000;
}
h1, h2, h3 {
	font-family: Georgia, Verdana, Arial, Sans-Serif;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}

h2 {
	font-size: 1.1em;
	font-weight: bold;
	color:#FE0000;
	}

h2.pagetitle {
	font-size: 1.1em;
	}


h3 {
	font-size: 0.9em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #FE0000;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}


.entry p a{
color: #333;
text-decoration:underline;
}
.entry p a.more-link{
text-decoration:none;
}

.entry p a:hover{
	color: #fe0000;
	}
.entry p strong{
color:#fe0000;
font-weight:normal;
}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #333;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #4F4F4F;
	text-decoration: none;
	}

a:hover {
	color: #FE0000;
	text-decoration: none;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

body {
margin-right:26px;
	}

#page {
margin:0 auto;
width:818px;
		display:block;

	}
#header {
	height: 158px; 
	width: 818px;
	}
#header a {
outline:none;
display:block;
height: 158px; 
width: 818px;
}



.post {
	margin: 0 0 26px;
	line-height:1.4em;
	clear:left;
}

.post hr {
display:block;
height: 1px;
margin:0;
padding: 0;
color: #FFF;
background-color: #FFF;
border: 0;
clear:left;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

#footer {
	padding: 0;
	margin: 0 auto 25px auto;
	width: 818px;
	height:30px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 5px 26px 0 237px;
	text-align: left;
	font-size:0.9em;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 3px 0 5px;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

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

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
margin-bottom:0;
	max-width: 100%;
}


/*	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 */



/* End Entry Lists */



/* Begin Form Elements */
#searchform input{
	border:0;
	background: #ececec;
	padding:2px 2px 2px 5px;
	height:21px;
	width:110px;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form input{ /* This is mainly for password protected posts, makes them look better. */
	height:20px;	
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */





/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

.entry p{
 margin:0 0 1em 0;
}

blockquote {
	padding:0 1em;
	border-left: 3px solid #FE0000;
	margin:1em 0;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}



a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 70px;
padding:0 0 5px 0;
	}
.navigation .alignright{
padding:3px 0;
}
.navigation .alignleft{
padding:3px 10px 9px 0;
}
/* End Various Tags & Classes*/


hr {  
display:block;
height: 1px;
margin:0 26px;
padding: 0;
color: #FFF;
background-color: #FFF;
border: 0;
clear:left;
}
#menu{
background: transparent url(images/line.gif) no-repeat top left;
padding:7px 0;
}	
.menuhaut {
list-style-type:none;
}
.menuhaut li {
display:inline;
padding:0;
letter-spacing: 1px;
}

.menuhaut a {
color:#555;
margin:0;
padding:3px 5px;
text-decoration:none;
outline:none;
}
.menuhaut a:hover {
color:#FE0000;
text-decoration:none;
}

#menutypo{
margin:0 26px 0 52px;
width:740px;
height:68px;
overflow: hidden; 
position: relative;
}

.tcontent a{
display:block;
width:740px;
height:68px;
}

#content0 {
	top: 0px;
	position: absolute;
}	
#content1 {
	top: 68px;
	position: absolute;
}	
#content2 {
	top: 136px;
	position: absolute;
}
#content3 {
	top: 204px;
	position: absolute;
}
#content4 {
	top: 272px;
	position: absolute;
}
#content5 {
	top: 340px;
	position: absolute;
}
#content6 {
	top: 408px;
	position: absolute;
}
#content7 {
	top: 476px;
	position: absolute;
}
#content8 {
	top: 544px;
	position: absolute;
}
#content9 {
	top: 612px;
	position: absolute;
}
#typo{
background: transparent url(images/menu.gif) no-repeat top left;
width:740px;
height:680px;
position: relative;
}
.line{
padding:0;
margin:0 26px 0 52px;
background: transparent url(images/line.gif) no-repeat bottom left;
clear:both;
}

.clearfloat {
display:block;
}

/*  annonce  */
#annonce{
padding:10px;
margin:0 0 25px 0;
border-style: solid;
border-width:0;
border-left-width: 3px;
}

.cadreGris{
background:#F5F5F5;
border:1px solid #E9E9E9;
padding:5px;
margin:0 8px 5px 0;
float:left;
}

#content li{
background: transparent url("images/redsquare.gif") no-repeat top left;
color:#333;
padding:0 0 0 10px;
}
#content ul{
list-style-type:none;
margin:0;
display:block;
}

#content .linkcat  {
list-style-type:none;
margin:0;
}

#sousmenu{
background: transparent url(images/line.gif) no-repeat top left;
color:#777; 
font-size:1em; 
padding:7px 0px;
}

#sousmenu a{
padding:0px 5px;
}

.col{
float:left;
width:180px;
padding:0 5px 10px 0;
}
.rouge a{
color:#fe0000;
}

.wp-smiley{
margin:0;
}

.more-link img{
margin:0;
}
h6{
color:#333;
font-size:1em;
font-weight:normal;
}
h4{
color:#bbb;
font-size:1.1em;
font-weight:bold;
margin-bottom:1em;
}

#espace_pedagogique{
background: transparent url(images/espace_peda.gif) no-repeat bottom left;
width:12px;
height:10px;
float:left;
}
/* search */
li a#search {
background: transparent url(images/loupe.gif) no-repeat center center;
width:12px;
height:12px;
padding:6px;
margin:1px 0 0 3px;
}
#barre{
position:absolute;
top:162px;
width:0;
height:21px;
margin-left:82px;
background:#FFFFFF;
overflow:hidden;
}

span.search-excerpt { background: yellow; }  

#whitebox {
	top: 0;
	left: 0;
	display: none;
	position: absolute;
	padding: 10px;
	margin: -12px 0 0 -12px;
	background: #fff url(loading.gif) no-repeat scroll center center;
	border: 1px solid #eee;
	-moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, .3);

}

#whitebox img {
		border: 1px solid #eee;
		cursor: pointer;
	}
	
.gallery-item {
text-align: left!important;
border-collapse:collapse;
border:0!important;
margin:0!important;
float:left;
height:111px;
width:20%!important;
}
	
.gallery-item img{
border:none!important;

}
