/****** CSS MACCOMPTA ******
** Author: Daily-Soft ltd **
**         Sebastien Angot**
***** Copyright © 2012 *****
***************************/

@charset "utf-8";
@import "/css/tiny.css";


html, body {
	margin: 0;
	padding: 0;
	height: 100%
}

body
{
	font-family: Helvetica, Verdana, Arial;
	background: #efefef url('../i/body_bg.gif') repeat-y center;
	font-size: 10px;
}

a img
{
	border: none;
}

#container
{
	position: relative;
	width: 840px;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	background: #efefef url('../i/container_bg.gif') left repeat-y;
}

div#admin
{
	width: 840px;
	position: fixed;
	top: 0;
	height: 14px;
	text-align: center;
	background-color: #eee;
	border-bottom: 1px solid #333;
	z-index: 500;
}

header
{
	position: fixed;
	width: 840px;
	top: 0;
	height: 90px;
	/*background-color: #334682;*/
	background-color: #52628e;
	z-index: 300;
}

header h1
{
	position: absolute;
	top: 10px;
	left: 120px;
	margin: 0;
	padding: 0;
	font-weight: normal;
}

header h1 a
{
	font-family: Times;
	color: #ffffff;
	font-size: 1.8em;
	text-decoration: none;
	text-shadow: #000 0.1em 0.1em 0.2em;
}

header #logo
{
	position: absolute;
	top: 5px;
	left: 15px;
}

header #slogan
{
	position: absolute;
	top: 26px;
	left: 420px;
	color: #fff;
	text-shadow: #000 0.1em 0.1em 0.1em;
}

header #slogan p
{
	margin: 0;
	padding: 0;
	font-style: italic;
	font-weight: normal;
	font-size: 1.4em;
}

header nav
{
	position: absolute;
	bottom: 1px;
	left: 1px;
	width: 838px;
	height: 28px;
	font-size: 1.2em;
	border-top: 1px solid #9c9c9c;
	background: #9c9c9c url('../i/menu_bg.gif') repeat-x;
}

header nav ul
{
	width: 595px;
	padding: 0;
	margin: 0;
	margin-left: 243px;
}

header nav ul li
{
	display: table-cell;
	list-style: none;
	width: 85px;
	height: 28px;
	text-align: center;
	padding: 0;
	margin: 0;
}

header nav ul li a
{
	display: block;
	width: 100%;
	height: 22px;
	padding: 6px 0 0;
	margin: 0;
	text-decoration: none;
	font-size: 1em;
	color: #3e3f3f;
	border-left: 1px solid #999;
}

header nav ul li:hover, header nav ul li.active
{
	background: url('../i/menu_hover_bg.gif') repeat-x;
}

header nav ul li:hover a, header nav ul li.active a
{
	color: #2d417a;
}

header nav ul li.active a
{
	font-weight: bold;
}

header nav ul ul
{
	display: none;
	width: 84px;
	margin: 0;
	font-size: 0.9em;
	background-color: #ddd;
	border: 1px solid #999;
}

header nav ul li:hover ul
{
	display: block;
}

header nav ul ul li
{
	display: block;
	width: 85px;
}

header nav ul ul li a, header nav ul li.active ul li a
{
	border: none;
	font-weight: normal;
}

header nav ul li.active ul li.active a
{
	text-decoration: underline;
}



/****************** DEFAULTS VALUES ******************/
aside a, section a{text-decoration: none; color: #334682; border-bottom: 1px dotted #334682;}
aside a:hover, section a:hover{ border-bottom: 1px solid #334682;}
section a.nostyle, section a.nostyle:hover{ text-decoration: none; border:none; }
.hidden{display: none;}


/****************** SIDEBAR ******************/
aside
{
	position: fixed;
	width: 215px;
	min-height: 300px;
	top: 90px;
	padding: 5px 15px;
	font-size: 1.2em;
	background: url('../i/aside-bg.jpg') repeat-y;
	z-index: 2000;
}

aside h1
{
	font-size: 1.1em;
	color: #2d417a;
	font-weight: normal;
	border-bottom: 1px solid #52628e;
	margin: 9px 0 0 0;
}

aside h1 a
{
	color: #2d417a;
}

aside p
{
	margin: 5px 0 15px 0;
	padding: 0;
}

aside ul
{
	margin: 5px 0 20px 15px;
	padding: 0;
}

aside #smenu
{
	margin: 10px 0;
}

aside #smenu a
{
	border: 1px solid #ccc;
	background-color: #ddd;
	color: #666;
	padding: 2px 5px;
}

aside #smenu a:hover
{
	background: url('../i/menu_hover_bg.gif') repeat-x;
	color: #2d417a;
}

/****************** CONTENU ******************/
section#content
{
	position: relative;
	width: 595px;
	top: 90px;
	left: 245px;
	padding: 0 0 25px 0;
	overflow: auto;
	font-size: 1.2em;
	z-index: 100;
}

section h1
{
	margin: 8px 25px 0;
	font-family: Helvetica, Verdana, Arial;
	font-size: 1.5em;
	color: #2d417a;
	border-bottom: 1px solid #52628e;
	float: none;
	clear: both;
}

section h2
{
	margin: 8px 25px 2px;
	padding: 0;
	font-family: Helvetica, Verdana, Arial;
	font-size: 1em; 
	font-style: italic;
	color: #2d417a;
	float: none;
	clear: both;
}

section h3
{
	margin: 8px 25px 0;
	font-family: Helvetica, Verdana, Arial;
	font-size: 1em;
	color: #2d417a;
	border-bottom: 1px solid #52628e;
	float: none;
	clear: both;
}

section p
{
	font-size: 1.05em;
	line-height: 1.35em;
	margin: 12px 25px;
	text-align: justify;
}

section ul li
{
	padding: 2px 0;
}

/****************** FOOTER ******************/
footer
{
	position: fixed;
	bottom: 0;
	width: 840px;
	margin: 0 auto;
	background-color: #52628e;
	border-top: 1px solid #999;
	z-index: 5000;
}

footer p
{
	margin: 4px 15px;
	color: #eee;
	font-size: 1em;
	text-shadow: #333 0.1em 0.1em 0.2em;
}

footer a{text-decoration: none; color: #eee; border-bottom: 1px dotted #ccc;}
footer a:hover{ color: #fff; border-bottom: 1px solid #fff;}
