/** CREE POUR CMSimpleFlex32 par Thomas Billoux à partir d'une réalisation de Bob **/
/** CSS compatible FF2, OP9, IE6, IE7 **/

/*** GENERAL ***/
*{
	margin: 0;
	padding: 0;
}
body {
	background-color: #003300;
	font-family: "Times New Roman", Times, serif;
	color: #444;
	font-size: 98%;
	text-align: center;
}

#container {
	background-color: #fff;
	max-width: 1060px;
    width : 98%;
    min-width: 740px;
	text-align: left;
	margin:0 auto 10px auto;
}

* html #container {
	width:expression(document.body.clientWidth > 1060 ? "1060px" : "98%" );

}

/* ENTETE */
#barre-haut {
	background-color: #fff;
	border-top: 7px solid #003300;
	height: 27px;
}

#locator {
	float: left;
	font-family:verdana, arial, helvetica, sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: .9em;
	padding: 5px 0 0 10px;
	height: 19px;
}

#barre-haut .ico {
	float:right;
}

#barre-haut .ico img {
   border:none;
   padding: 0 10px 0 0;
}

#header {
   background-color: #666699;
   height: 110px;
   border-top: 4px solid #993366;
   border-bottom: 4px solid #993366;
}

#header h1 {
	display: block;
	width: 70%;
	/*clear: both;*/
	background: transparent url(images/logo-bleu.gif) 5px 1px no-repeat;
	font-family:"Times New Roman", Times, serif;
	font-size: 1.5em;
	height: 79px;
	color: #fff;
	padding: 30px 0 0 90px;
}

/* MENU HORIZONTAL */

#nav {
	background: transparent;
	height:	29px;
	margin-top: -33px;
	font-family:verdana, arial, helvetica, sans-serif;
	border-top: 1px solid #333;
}

#nav li {
	list-style:none;
	display:inline;
	color: #ccc;
	height: 28px;	
   }
#nav li, #nav li a {
	color:#fff;
	font-weight:bold;
	font-size:12px;
	text-decoration:none;
	display:block;
	height: 29px;
	line-height: 2em;
	overflow:hidden;
	float:left;
}
#nav li a {
	border-right: 1px solid #7f060b;
	padding: 0 10px 0 10px;
}
#nav li.sdoc, #nav li.sdocs {
	padding: 0 10px 0 10px;
	border-right: 1px solid #993366;
	color: #ffcc33;
	background-color: #7373ab;
	height: 28px;
}

#nav li a:hover {
	border-right: 1px solid #660033;
	border-left: 1px solid #660033;
	border-top: 1px solid #333;
}

#nav ul.menulevel2 {
	display: inline;
	margin-bottom: 20px;
}

#nav ul.menulevel2 li.doc, #nav ul.menulevel2 li.sdoc, #nav ul.menulevel2 li.docs {
	background-color: #7373ab;
	height: 28px;
}

/* CONTENU CENTRAL */
#content {
	margin: 0;
	padding: 0 10px 10px 10px ;
	font-weight: bold;
	background: transparent url(images/barre.gif) 10px 45px no-repeat !important;
	background: transparent url(images/barre.gif) 10px 40px no-repeat;
}
#content p, .mceContentBody p{
	line-height: 1.4em;
	margin: 1em 0 1em 0;
	text-align: justify;
}

#content p a img, #content p img, #content a img {
	border: none;
}

#content p a img {
	filter:alpha(opacity=100);
	-moz-opacity:1;
	opacity:1;
}
#content p a:hover img {
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	opacity:0.8;
}

#content h1, #content h2, #content h3, #content h4 {
	color:#333399;
	font-weight:normal;
	margin:10px 0 10px 0;
	padding:0;
	font-size: 1.5em;
}
#content h1, #content h2 {
	display: none;
}

#content h4 {
	background: transparent url(images/puce.gif) top left no-repeat;
	padding-left: 30px;
}

#content h5, #content h6 {
	color: #333399;
	font-family: "Times New Roman", Times, serif;
}

#content h5 {
	font-size: 1.2em;
}

#content h6 {
	font-size: 1em;
}

#content ul, .mceContentBody ul {
	margin-left: 30px;
	margin-bottom: 15px;
	list-style-type: square;
}
#content ul li {
	margin-bottom: 5px;
}
#content .central {
	margin-left:0;	
}
#colonne {
	float: right;
	margin: 6px 0 0 10px;
}
#news, #cal {
	overflow: visible;
	width: 130px;
	padding: 5px;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 1px solid #999;
	font-size: 0.9em;
	margin: 10px 12px 5px 10px;
	background: transparent;
}
/*#nav2 ul{
	list-style: square;
	margin-left: 15px;
}
#nav2 ul li{
	margin-top: 0.5em;
	font-size: 1.0em;
}
#nav2 ul li.sdoc,#nav2 ul li.sdocs {
	font-weight:bold;
	color:#b01b21;
}
#nav2 ul ul li.doc, #nav2 ul ul li.docs {
	font-weight:normal;
	color:#000;
}
#nav2 ul ul{
	margin-left: 15px;
}
#nav2 ul ul li{
	margin-top: 0.4em;
}*/
#news h2, #cal h2{
   font-size: 1.4em;
   color: #b01b21;
}
#news p{
   font-family: arial, helvetica, sans-serif;
	font-style:italic;
	margin-top:0.7em;
}
#logo {
	clear:both;
	background: transparent url(images/logo-fond.gif)  50% 0 no-repeat;
	height: 54px;
}

/*  NAVIGATION ENTRE PAGES  */
#topage {
	clear:both;
	padding-bottom: 10px;
	display:block;
	text-align: center;
	font-family:verdana, arial, helvetica, sans-serif;
}
#topage a {
	font-size: 0.7em;
	font-weight: bold;
	padding: 3px;	
}
#topage .toleft {
	margin-right:30px;
}
#topage .toright {
	margin-left:30px;
}

/* BAS DE PAGE */

#footer {
	background: #666699;
	height: 70px;
	color:#fff;
	border-top: 2px solid #993366;
	border-bottom: 2px solid #993366;
	margin-bottom: 15px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
	font-size:0.7em;
}

#footer a {
	color: #fff;
}

#footer a:hover {
	text-decoration: underline;
}

#mentions {
	padding-top: 8px;
}

.noms {
	color: #fff;
	font-weight: bold;
}

/* DIVERS */
a {
	color:#993366;
	text-decoration: none;
}

a:hover {
	color:#003300;
}


/* CLASSES DIVERSES */
#login, #login a{
   line-height: normal;
   text-decoration: none;
}
#connexion, #connexion a {
	background-color: #003300;
	color:#003300;
	text-align: center;
}
#nav .searchbox {
	/*clear:both;*/
	float:right;
	margin: 4px 10px 0 0 !important;
	margin: 4px 0 0 0;
}
#nav .searchbox .submit {
	font-size:1em;
	color:#fff;
	font-weight:normal;
	border:none;
	background: transparent;
}
#nav .searchbox .text{
	font-size: 1em;
	padding: 1px;
	color: #fff;
	background: transparent;
	border: 1px solid #ccc;
	width: 90px;
}

/*  Classes de styles éditables */
.imgleft, .imgright {
	padding: 0;
}
.imgleft{
	float: left;
	margin: 3px 10px 5px 0;
}
.imgright{
	float: right;
	margin: 3px 0 5px 10px;
}
.citation {
	font-style : italic;
	font-size : 1.0em;
	background-color: #dedede;
	font-weight: bold;
	padding: 3px;
}

.divfloatright {
	float: right;
	margin: 10px 0 10px 10px;
}

.divfloatleft {
	float: left;
	margin: 10px 10px 10px 0;
}

/*  Style d'affichage des éditeurs */
html .mceContentBody { /*background pour TinyMCE*/
	background-color: #fff;
	color: #000;
	text-align: left;
	z-index:100;
}
* html .mceContentBody {
	/*width:380px;*/
}

.mceContentBody hr {
	display: block;
	clear: both;
}

html .edit a,html .edit a:link,html .edit a:visited {
	text-decoration:none;
}
html .retrieve {
	background-color:#fff;
}
#editmenu {
	font-size: 0.8em;
	font-weight:bold;
	text-align:left;
	padding-bottom:5px;
	line-height:2em;
}
#editcontent textarea {
	margin-top: 15px;
}
#editcontent td img {
	/*max-width:350px;*/
}
/* mise en forme de l'admin */
.edit {
	margin-top: 5px;
	margin-bottom: 5px;
	width: 60%;
	border: none;
	text-align: left;
	font-weight: bold;
}
	
.edit a {
	padding-right: 10px;
	padding-left: 10px;
}
/*  Fin du style des éditeurs */
#editcontent hr {
	display: block;
	clear: both;
	height: 0;
	border: 0;
	color: #fff;
}
