﻿/*
Theme Name: Theme ASCAM
Description:  Design fluide pour le site de l'ASCAM
Author: Antoine Degregori d'après le thème korbak
*/

/*********************************************
*Propiétés générales et disposition des blocs*
**********************************************/
body {
	background: #FFF url('img/bg.gif') repeat-x;
	color: #444;
	margin: 0;
	padding: 0;
	font: 0.8em, Tahoma, Verdana, Arial, Sans-Serif;
	text-align: justify;
}
#left {
	margin-right: 24%;/*Maintient le contenu et le header à gauche*/
}
/* Propriété de la bannière */
#banniere {
	background:url('img/banniereascam.png') center no-repeat;
	height: 170px;
	margin-bottom: 24px;
	margin-top: 10px; /*permet d'aligner le header avec la sidebar*/
}
/*****************************
*styles pour la date des news*
******************************/
.date {
	background: url(img/date.gif);
	float: left;
	margin-right: 5px;
	width: 44px;
	height: 49px;
}
.date h4 {
	color: white;
	font-size: 10px;
	padding: 0 0 0 10px;
	margin: 0;
	text-transform: uppercase;
}
.date h5 {
	font-family: Times, Helvetica, Sans-Serif;
	color: #333;
	font-size: 21px;
	font-weight: bold;
	padding: 5px 4px 0 3px;
	margin: 0;
	text-align: center;
}

/********************************
*Propriété du texte et du contenu
*********************************/
#content{
	margin-left: 4%;
	margin-right: 5%;
	clear: both;
}
#content li {
	list-style: url('img/li.png');
}
#content h2 {
	font:30px Georgia, "Times New Roman", Times, serif;
	margin-bottom: 4px;
	color: #840000;
}
#content h3 { /*Couleur du titre des articles et des liens du footer*/
	color: #444;
	font:20px Georgia, "Times New Roman", Times, serif;
	text-decoration: none;
}
#footer a{
	color: #840000;
	text-decoration: none;
}
#content a:hover, #footer p a:hover, #postmetadata a:hover .tabs-block a:hover {
	border-bottom: 1px solid #840000;
}
li {
	list-style: none;
}
blockquote {
	background: #FBFCF5;
	border-bottom: 1px solid #EED;
	border-top: 1px solid #EED;
	color: #444;
	display: block;
	font: normal 0.9em Verdana,sans-serif;
	margin-bottom: 12px;
	padding: 12px;
}
/*Style des articles*/
.post{
	margin:0 0 25px 0;
}
.post .info
{
	padding:2px 3px 3px 8px;
	border:1px solid #e3e4e4;
	background-color:#f5f5f5;
	font-size:0.9em;
	color:#505050;
}
/*Style des tableaux*/
table{
	margin: auto; /* Centre le tableau */
   	border-collapse: collapse; /* Colle les bordures entre elles */

}

table caption{
	font: 1.2em Georgia, "Times New Roman", Times, serif;
	color: #840000;
	padding: 3px;
	margin: auto; /* Centre le titre du tableau */
}
table thead th{
	border-right: 1px solid black;
	text-align: center;
}

table tr th{
	border-top: 1px solid black;
	border-bottom : 1px solid black;
	font-size : 0.9em;
	text-align: center;
}

table td{
	padding: 8px;
	font-size: 0.8em;
	text-align: center;
	border: 1px solid black;
}

/*Propriété des liens et des images*/
a {
	text-decoration: none;
	color: #840000;
}
a img{
	border:none;
}
.alignleft {  
	float:left;  
	margin-right: 15px;
}  
.alignright{  
	float:right;  
	margin-left: 15px; 
}  
.aligncenter {  
	display: block;  
	text-align: center;  
	margin: 0 auto;  
}  
.clearer {
	clear: both;
}
/* styles de commentaires */
#commentlist li {
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	border-bottom: 1px solid #700000;
}

/*Styles des formulaires de commentaire*/
#commentform textarea, #commentform #email, #commentform #author, #commentform #url{
	background: #f8f7f6;
	border: 1px solid #d6d3d3;
}
#commentform textarea{ /*largeur du formulaire de commentaire*/
	width: 400px;
}
#commentform #email, #commentform #author, #commentform #url { /*largeur des formulaires de nom, email et siteweb*/
	width: 280px;
}
/*Styles des formulaires au survol*/
#commentform textarea:hover, #commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
	background: #FFFFFF;
}
/*Styles des formulaires sélectionnés*/
#commentform textarea:focus, #commentform #email:focus, #commentform #author:focus, #commentform #url:focus  {
	background: #ffffff;
	border: 1px solid #939793;
}
#commentform input{
	margin-bottom: 3px;
}
/******************
*Sidebar de droite*
*******************/
.right{
	margin-bottom: 20px;
	position: absolute;
	top: 40px;
	right: 1%;
	width: 23%;
	background: url('img/barrelaterale.jpg');
}
.subnav {
	padding: 12px 12px 0;
}
.subnav h1 {
	color: #840000;
	font: 18px Georgia, "Times New Roman", Times, serif;
	margin-left: 8px;
	margin-bottom: 0px;
	padding-bottom: 5px;
}
.subnav ul {
	margin: 0 0 16px;
	padding: 0;
}
.subnav li { 
	list-style: none;
	border-bottom: 1px solid #333;
}
.subnav li a {	
	display: block;
	color: #000;
	font-size: 0.9em;
	padding: 3px 6px 3px 8px;
	text-decoration: none;
}
.subnav li:hover {
	border-bottom: 1px solid #DDD
}
.subnav li a:hover{
	color: #DDD;
}
/* coins arrondis du menu de droite */
.roundtl,.roundtr,.roundbl,.roundbr {
	background: url('img/round.png');
	height: 16px;
	width: 14px;
	margin-bottom: 0;
}
.roundtl,.roundbl {
	float: left;
}
.roundtr,.roundbr {
	float: right;
}
.roundtr {
	background-position: right top;
}
.roundbr {
	background-position: right bottom;
}
.roundbl {
	background-position: left bottom;
}
/*Propriété du Calendrier*/
#wp-calendar {
	padding-left: 25px;
	empty-cells: show;
	width: 120px;
	font-size: 0.9em;
	text-align: center;
}
#wp-calendar caption {
	text-transform: capitalize;
	font: bold 1.1em Geneva, sans-serif;
	color: #000;
}
#wp-calendar a, #wp-calendar th{
	color: #000;
}
#wp-calendar a:hover {
	color: #DDD;
	border-bottom: 1px solid #DDD;
}
/*Style du formulaire de recherche afin de ne pas faire apparaître la barre sous le li*/
#search {
	border-bottom: none;
	
}
#search form {
	padding: 0px;
	margin: 0px;
}

/*********************
* Propriétés du footer
**********************/
#footer {
	background: url('img/bgbottom.gif') bottom repeat-x;
	color: #666;
	border-top: 1px solid #EEE;
	padding: 8px 6px;
	text-align: center;
}

