/* Html, Body and master rules
*************************************************************************************
********************************************************************************** */
* {
    margin:0;
    padding:0;
}

img {
    padding:2px;
    margin:0 2px 0 0;
    border:1px solid #ccc;
}

a:hover img {
    border:1px solid #000;
}

img.nodeco {
    padding:0;
    border:0;
}

a:hover img.nodeco {
    border:0;
}

fieldset {
    border:0;
}

html, body {
    height:100%;
    font-size:100%;
}

body {
    font:1em Georgia, serif;
    color:#000;
    background:#f0ede8;
    behavior:url("css/frontend/csshover.htc"); /* Hack IE menu deroulant */
}

/* Blocs (sizes  & disposition)
*************************************************************************************
********************************************************************************** */
#container {
    position:relative;
    margin:0 auto;
    width:940px;
    height:100%;
    background:#fff url("img/bg_container.jpg") repeat-y;
}
html>body #container {
  height:auto;
  min-height:100%;
}

#header {
    width:100%;
    height:235px;
    background:#a6a6a6 url("img/bg_header.jpg") no-repeat;
}

#menu {
    position:absolute;
    color:#000;
    top:208px;
    left:150px;
}

#content {
    margin:0 20px;
    padding:25px 30px 0 30px;
}

#content .newspanel {
    float:right;
    width:29%;
    padding:20px;
    background:#f3f3f3;
    -moz-border-radius:8px;
    -khtml-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border:1px solid #dfdfdf;
}

#debug {
    position:relative;
    bottom:90px;
    left:0;
    padding:50px;
    color:#0f0;
    background:#000;
}

#footer {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:90px;
    background:#fff url("img/bg_footer.jpg") no-repeat;
}

/* Header layout
*************************************************************************************
********************************************************************************** */
h1#header_title {
    position:absolute;
    top:0;
    left:0;
    margin-top:-10000px;
}

/* Menu layout
*************************************************************************************
********************************************************************************** */
#menu ul li {
    position:relative;
    display:block;
    float:left;
    padding:0 15px;
    font:bold 0.8125em Helvetica, Arial, sans-serif;
    line-height:1.5em;
    list-style:none;
    background:#a6a6a6;
}

#menu ul.niveau1 li.sousmenu ul.niveau2 li {
    clear:both;
    font-size:1em;
    line-height:1.125em;
    padding:7px 15px;
    z-index:95;
}

#menu ul.niveau1 ul.niveau2 {
    position:absolute;
    top:1.5em;
    left:0;
    margin-top:-10000px;
    padding:5px 0;
    background:#a6a6a6;
}

div#menu ul.niveau1 li.sousmenu:hover ul.niveau2 {
    margin-top:-2px;
}

#menu a:link, 
#menu a:visited {
    display:block;
    color:#fff;
    text-decoration:none;
}
#menu a:hover {
    color:#000;
}

/* Content layout
************************************************************************************
********************************************************************************* */
/* GENERAL */
#content {
    color:#000;
}

/* TITLES */
#content h1 {
    margin:0 0 12px 0;
    font-size:1.675em;
    font-weight:normal;
    color:#444;
    line-height:1em;
    letter-spacing:-1px;
}

#content h2 {
    margin:0 0 12px 0;
    font-size:1.5625em;
    font-weight:normal;
    color:#444;
    line-height:1em;
    letter-spacing:-1px;
}

#content h3 {
    margin:0 0 12px 0;
    font-size:1.125em;
    font-weight:normal;
    color:#888;
    line-height:1em;
}

#content h4 {
    margin:0 0 12px 0;
    font-size:1em;
    font-weight:bold;
    color:#000;
    line-height:1em;
    letter-spacing:-1px;
}

/* TEXT & LINKS */
#content p, 
#content address {
    margin:0 0 12px 0;
    font-size:0.875em;
    font-style:normal;
    line-height:1.5714em;
}

#content a:link, 
#content a:visited {
    color:#92795b;
    text-decoration:underline;
}
#content a:hover {
    text-decoration:none;
}

#content acronym, 
#content abbr {
    cursor:help;
    border-bottom:1px dotted #000;
}

/* LISTS */
#content ul, 
#content ol {
    margin:0 0 12px 30px;
}
#content ul {
    list-style:outside;
}
#content ol {
    list-style:outside decimal;
}
#content li {
    font-size:0.875em;
    line-height:1.5em;
}

/* FORMS */
#content fieldset {
    padding:5px 0;
}
#content label {
	float:left;
    width:6.5em;
    margin:4px 0;
    padding:4px 8px 4px 0;
    font-size:0.875em;
    font-weight:bold;
    text-align:right;
    color:#303030;
    cursor:pointer;
}

#content input.text_input, 
#content textarea {
    width:382px;
    margin:4px 0;
    padding:4px;
    border:1px solid #aaa;
}
#content input.text_input:focus, 
#content textarea:focus {
    border:1px solid #303030;
}
#content input.img_input {
    margin:4px auto;
}

/* NEWSPANEL */
#content .newspanel h4 {
    margin:0 0 5px 0;
    line-height:1.125em;
}

#content .newspanel p {
    margin:0 0 10px 0;
    font-size:0.6875em;
    line-height:1.6364em;
    color:#333;
}

#content .newspanel h3 {
    margin:0 0 10px 0;
}

/* NEWS */
#content .news_header {
    margin:0 0 10px 0;
    border-bottom:2px solid #ddd;
}
#content .news_header h2 {
    font-size:1.8125em;
    color:#444;
    margin:0;
}
#content .news_header h2 a:link, 
#content .news_header h2 a:visited {
    color:#444;
    text-decoration:none;
}
#content .news_header h2 a:hover {
    color:#92795b;
}
#content .news_header p {
    margin:4px 0 5px 3px;
    color:#888;
    font-size:0.875em;
    line-height:1em;
}

#content .news_content {
    margin-bottom:25px;
}

/* Footer layout
*************************************************************************************
********************************************************************************** */
#footer p {
    padding:72px 0 0 30px;
    font-family:"Trebuchet MS", Verdana, sans-serif;
    font-size:0.625em;
    color:#bcc2c0;
}

#footer a:link, 
#footer a:visited {    
    text-decoration:none;
    color:#bcc2c0;
}
#footer a:hover, 
#footer a:focus {
    color:#fff;
}

/* Useful Stuff
*************************************************************************************
********************************************************************************** */
hr {
    display:none;
    visibility:hidden;
}

.center {
    display:block;
    margin:auto;
    text-align:center;
}

.bigger {
    font-size:1.6364em;
}

.break, .break_footer {
    clear:both;
    font-size:1px;
}
.break_footer {
    width:100%;
    height:90px;
}

.justify {
    text-align:justify;
}

.align_right {
    text-align:right;
}

.img_left {
    float:left;
    margin:0 10px 0 0;
}

.img_right {
    float:right;
    margin:0 0 0 10px;
}

.float_left {
    float:left;
}

.float_right {
    float:right;
}
