body {
line-height: 1;
background: #cbcabc;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #fff;
font-size: 14px;
line-height: 18px;
}

#wrapper {
width: 1200px; 
/*940px par défaut*/
margin: 0 auto;
margin-top: 20px;
margin-bottom: 20px;
border: 3px solid #888;
background: #333;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

header, footer, section, aside, nav, article {
display: block;
}

/* header */

header {
padding: 20px 0 0 0;
}

header.pages{
  padding: 20px 0 45px 0;
}

header img {
border-top: #B9D17D solid 2px;

}

header>h1 {
float: left;
margin: 0 0 18px 10px;
width: 600px;
font-size: 40px;
line-height: 36px;
}

header>h1 a {
color: #333;
font-weight: bold;
text-decoration: none;
}

header>h2 {
color: #ddd;
clear: right;
float: right;
font-style: italic;
font-size: 14px;
margin: 14px 10px 18px 0;
}

/*menu de navigation horizontal*/

#menu{  
        width:98%;
        margin: 0 auto;
        padding: 10px 0 0 0;
        list-style: none;
        background: #333;
        text-align: center;
        background: -moz-linear-gradient(#444, #111);
        background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
        background: -webkit-linear-gradient(#444, #111);
        background: -o-linear-gradient(#444, #111);
        background: -ms-linear-gradient(#444, #111);
        background: linear-gradient(#444, #111);
        border-radius: 5px ;
        -moz-border-radius: 5px;
        -moz-box-shadow: 0 2px 1px #9c9c9c;
        -webkit-box-shadow: 0 2px 1px #9c9c9c;
        box-shadow: 0 2px 1px #9c9c9c;
}

#menualigne{
    display:inline-block;
    text-align: left;
}

#menu li{
        display:block;
        float: left;
        padding: 0 0 10px 0;
        position: relative;
}
#menu a{
        float: left;
        height: 25px;
        padding: 0 20px;
        color: #b9d17d;
       
        font-weight: bold;
        text-decoration: none;
      
}

#menu li:hover > a{
        color: #fafafa;
}

#menu li:hover > ul{
        display: block;
}
#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    
    z-index: 99999;
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);
    background: -o-linear-gradient(#444, #111);
    background: -ms-linear-gradient(#444, #111);
    background: linear-gradient(#444, #111);*/
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;*/
}

#menu ul li:last-child{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#menu ul a{
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}





#menu ul a:hover{
        background: #0186ba;
        background: -moz-linear-gradient(#04acec,  #0186ba);
        background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
        background: -webkit-linear-gradient(#04acec,  #0186ba);
        background: -o-linear-gradient(#04acec,  #0186ba);
        background: -ms-linear-gradient(#04acec,  #0186ba);
        background: linear-gradient(#04acec,  #0186ba);
}

#menu ul li:first-child a{
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}



#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul li:first-child a:hover:after{
    border-bottom-color: #04acec;
}



#menu ul li:last-child a{
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Rétablissement du flottement */
#menu:after{
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
}



#main{
width: 1200px;
margin: 0 auto;
padding-top: 30px;
background: #333;
overflow: hidden;
margin-top: 20px;
}
#content {

float: right;
width: 900px;
margin-right: 30px;
}

#content h1, h2, h3, h4, h5, h6 {
margin: 0 0 20px 0;
line-height: 1.5em;
color:#4cad12;
font-size: 17px;
}



#sidebar {
    
float: left;
padding-left: 20px;
width: 220px;
}

/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;

}

a:link, a:visited {
color:#B9D17D;
}

a:hover, a:active {
color: #eee;
}

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 10px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 10px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/** ARTICLES **/

#boxiframe{
    margin-top: 10px;}
}

article img {
border: #fff solid 1px;
}

article  a.download {
    float: right;
    margin-right: 40px;
}

article .col1 {
width: 295px; 
padding: 0 0px 20px 0;
float: left;
text-align: center;
}

article .col2 {
width: 295px; 
padding: 0 0 20px 0;
float: left;
text-align: center;
}

article .col3 {
width: 295px; 
padding: 0 0 20px 0;
float: left;
text-align: center;
}



iframe{
    display:block;
    width:280px;
    margin-top: 5px;
    
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
}

aside ul {
list-style: circle;
color: #B9D17D;
margin: -15px 0 15px 5px;
}

aside ul a{
  text-decoration: none;
}

aside img{
  width:180px; 
  
}

footer {
width: 940px;
margin: 0 auto;
clear: both;

}
  
footer p {
text-align: right;
font-size: 11px;
padding-right: 20px;
}
