﻿
/* Eléments principaux de la page */

body
{
    
	background-color: rgb(184,246,17);
	
    font-family:  Arial, sans-serif;
    color: #181818;
}

element
{
position: fixed;
right: 0px;
bottom: 0px;
}





#bloc_page
{
   width: 900px;
   margin: auto;
}

section h1, footer h1
{
    font-family:  arial, serif;
    font-weight: normal;
    text-transform: uppercase;
}


#titre_principal
{
    display: inline-block;
}

header h1
{
    font-family: arial, serif;
    font-size: 1.5em;
    font-weight: normal;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

h3
{
    font-family:  arial, serif;
    font-size: 1em;
    margin-top: 0px;
    font-weight: normal;
}
h4
{
    font-family:  arial, serif;
    font-size: 2em;
    margin-top: 0px;
    font-weight: normal;
}
header h2
{
    font-family:  arial, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}




table
{
border-collapse: collapse; /* Les bordures du tableau seront collées (plus joli) */
}td , th
{
border: 2px solid black;
}
th {
display: table-cell;
vertical-align: inherit;
font-weight: bold;
text-align: center;
}



/* Corps */

article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
    width: 625px;
    margin-right: 15px;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

article p
{
    font-size: 0.8em;
}

aside
{
    position: relative;
    width: 235px;
    background-color: rgb(171, 226, 209);
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: Black;
    font-size: 1.2em;
}

#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}



aside img
{
    margin-right: 5px;
}

/* Footer */

footer
{
    
    padding-top: 25px;
}

footer p, /*footer ul*/
{
    font-size: 0.8em;
}

footer h1
{
    font-size: 1.1em;
}




/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_principal, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie .bouton_rouge, .old_ie article, .old_ie aside, .old_ie #tweet, .old_ie #mes_photos, .old_ie #mes_amis, .old_ie #mes_amis ul
{
    display: inline;
    zoom: 1;
}

/* Quelques ajustements pour les vieilles versions d'IE */

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}

.old_ie footer div, .ie8 footer div
{
    margin-top: 30px;
    background: url('images/separateur.png') repeat-x top;
}







#menu-demo2, #menu-demo2 ul{
padding:0;
margin:0;
list-style:none;
text-align:center;
}
#menu-demo2 li{
display:inline-block;
position:relative;
border-radius:8px 8px 0 0;
}
#menu-demo2 ul li{
display:inherit;
border-radius:0;
}
#menu-demo2 ul li:hover{
border-radius:0;
}
#menu-demo2 ul li:last-child{
border-radius:0 0 8px 8px;
}
#menu-demo2 ul{
position:absolute;
z-index: 1000;
max-height:0;
left: 0;
right: 0;
overflow:hidden;
-moz-transition: .8s all .3s;
-webkit-transition: .8s all .3s;
transition: .8s all .3s;
}
#menu-demo2 li:hover ul{
max-height:15em;
}
/* background des liens menus */
#menu-demo2 li:first-child{
background-color: #65537A;
background-image:-webkit-linear-gradient(top, #65537A 0%, #2A2333 100%);
background-image:linear-gradient(to bottom, #65537A 0%, #2A2333 100%);
}
#menu-demo2 li:nth-child(2){
background-color: #729EBF;
background-image: -webkit-linear-gradient(top, #729EBF 0%, #333A40 100%);
background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
}
#menu-demo2 li:nth-child(3){
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #F6AD1A 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #F6AD1A 0%, #9F391A 100%);
}

#menu-demo2 li:nth-child(4){
background-color: #33FF33;
background-image:-webkit-linear-gradient(top, #33FF33 0%, #00CC00 100%);
background-image:linear-gradient(to bottom, #33FF33 0%, #00CC00 100%);
}
#menu-demo2 li:nth-child(5){
background-color: #FF3300;
background-image:-webkit-linear-gradient(top, #FF3300 0%, #991F00 100%);
background-image:linear-gradient(to bottom, #FF3300 0%, #991F00 100%);
}
#menu-demo2 li:nth-child(6){
background-color: #729EBF;
background-image: -webkit-linear-gradient(top, #729EBF 0%, #333A40 100%);
background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
}
#menu-demo2 li:nth-child(7){
background-color: #66A3FF;
background-image: -webkit-linear-gradient(top, #66A3FF 0%, #005CE6 100%);
background-image:linear-gradient(to bottom, #66A3FF 0%, #005CE6 100%);
}
#menu-demo2 li:nth-child(8){
background-color: #729EBF;
background-image: -webkit-linear-gradient(top, #729EBF 0%, #333A40 100%);
background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
}

#menu-demo2 li:last-child{
background-color: #336600;
background-image:-webkit-linear-gradient(top, #336600 0%, #33cc33 100%);
background-image:linear-gradient(to bottom, #336600 0%, #33cc33 100%);
}

/* background des liens sous menus */
#menu-demo2 li:first-child li{
background:#65537A;
}
#menu-demo2 li:nth-child(2) li{
background:#729EBF;
}
#menu-demo2 li:nth-child(3) li{
background:#F6AD1A;
}

#menu-demo2 li:nth-child(4) li{
background:#33FF33;
}
#menu-demo2 li:nth-child(5) li{
background:#FF3300;
}

#menu-demo2 li:nth-child(6) li{
background:#729EBF;
}

#menu-demo2 li:nth-child(7) li{
background:#66A3FF;
}
#menu-demo2 li:nth-child(8) li{
background:#729EBF;
}
#menu-demo2 li:last-child li{
background:#336600;
}







/* background des liens menus et sous menus au survol */
#menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover{
background:#65537A;
}
#menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#729EBF;
}
#menu-demo2 li:nth-child(3):hover, #menu-demo2 li:nth-child(3) li:hover{
background:#F6AD1A;
}
#menu-demo2 li:last-child:hover, #menu-demo2 li:last-child li:hover{
background:#CFFF6A;
}
/* les a href */
#menu-demo2 a{
text-decoration:none;
display:block;
padding:8px 32px;
color:#fff;
font-family:arial;
}
#menu-demo2 ul a{
padding:8px 0;
}
#menu-demo2 li:hover li a{
color:#fff;
text-transform:inherit;
}
#menu-demo2 li:hover a, #menu-demo2 li li:hover a{
color:#000;
}