﻿/* Définition des polices personnalisées */

body 
font-size:100% ;

div, p 
font-size:75% ;

@font-face
{
    font-family: 'BallparkWeiner';
    src: url('polices/ballpark.eot');
    src: url('polices/ballpark.eot?#iefix') format('embedded-opentype'),
         url('polices/ballpark.woff') format('woff'),
         url('polices/ballpark.ttf') format('truetype'),
         url('polices/ballpark.svg#BallparkWeiner') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Dayrom';
    src: url('polices/dayrom.eot');
    src: url('polices/dayrom.eot?#iefix') format('embedded-opentype'),
         url('polices/dayrom.woff') format('woff'),
         url('polices/dayrom.ttf') format('truetype'),
         url('polices/dayrom.svg#Dayrom') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Eléments principaux de la page */

body
{
        background: url('images/les ternes-filigrame.png');
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 1200px;
    margin: auto;
}
a.top {
   position:fixed;
   top: 820px;
   left: 1180px;
}

section h1, footer h1, nav a
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header */
 header

{
 /*   background: url('images/separateur.png') repeat-x bottom;*/
}

#titre_principal
{
	margin-left: auto;
  	margin-right: auto;
  	width: 1200px;


	 background: url('images/bandeau.jpg') no-repeat;
	box-shadow: 0px 4px 4px #1c1a19;
	margin-bottom: 25px;
	margin-left: auto;
  	margin-right: auto;
}
header h1
{
    font-family: 'segoe script', serif;
    font-size: 5.2em;
    font-weight: bold;
   text-align: center;
color: blue;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

header h2
{
    font-family: Dayrom, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}


/* Navigation */

}
#menu, #menu ul{
padding:0;
margin:0;
list-style:none;
width: 10px; /* seule ligne rajoutée */
}
#menu{
text-align: center;
}
#menu li{
display:inline-block;
position:relative;
border-radius:0px 0px 0 0;
z-index:10;
background:#EFEFEF; /* juste pour cacher le texte de la page en-dessous */
width: 180px;
}
#menu ul li{
display:inherit;
border-radius:0;
width: 150px;
}
#menu ul li:hover{
border-radius:0;
}
#menu ul li:last-child{
border-radius:0 0 8px 8px;
}
#menu ul{
position:absolute;
max-height:0;
left: 0;
right. 0;
overflow:hidden;
-moz-transition: .8s all .3s;
-webkit-transition: .8s all .3s;
transition: .8s all .3s;
}
#menu li:hover ul{
max-height:30em;
left: 5px;
}
/* background des liens menus */
#menu li:first-child{
background-color: #DCDCDC;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(2){
background-color: #DCDCDC;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(3){
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(4){
background-color: #B398E8;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(5){
background-color: #333A40;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(6){
background-color: #333A40;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(7){
background-color: #333A40;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:nth-child(8){
background-color: #333A40;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
#menu li:last-child{
background-color: #CFFF6A;
background-image:-webkit-linear-gradient(top, #DCDCDC 0%, #DCDCDC 100%);
background-image:linear-gradient(to bottom, #DCDCDC 0%, #DCDCDC 100%);
}
/* background des liens sous menus */
#menu li:first-child li{
background:#DCDCDC;
}
#menu li:nth-child(2) li{
background:#DCDCDC;
}
#menu li:nth-child(3) li{
background:#DCDCDC;
}
#menu li:nth-child(4) li{
background:#DCDCDC;
}
#menu li:nth-child(5) li{
background:#DCDCDC;
}
#menu li:nth-child(6) li{
background:#DCDCDC;
}
#menu li:nth-child(7) li{
background:#DCDCDC;
}
#menu li:nth-child(8) li{
background:#DCDCDC;
}
#menu li:last-child li{
background:#DCDCDC;
}
/* background des liens menus et sous menus au survol */
#menu li:first-child:hover, #menu li:first-child li:hover{
background:#CFFF6A;
}
#menu li:nth-child(2):hover, #menu li:nth-child(2) li:hover{
background:#CFFF6A;
}
#menu li:nth-child(3):hover, #menu li:nth-child(3) li:hover{
background:#CFFF6A;
}
#menu li:nth-child(4):hover, #menu li:nth-child(4) li:hover{
background:#CFFF6A;
}
#menu li:nth-child(5):hover, #menu li:nth-child(5) li:hover{
background:#CFFF6A;
}
#menu li:nth-child(6):hover, #menu li:nth-child(6) li:hover{
background:#CFFF6A;
}
#menu li:nth-child(7):hover, #menu li:nth-child(7) li:hover{
background:#CFFF6A;
}
#menu li:nth-child(7):hover, #menu li:nth-child(8) li:hover{
background:#CFFF6A;
}
#menu li:last-child:hover, #menu li:last-child li:hover{
background:#CFFF6A;
}
/* les a href */
#menu a{
text-decoration:none;
display:block;
padding:8px 40px;
color:#000;
font-family:arial;
font-weight:bold;
}
#menu ul a{
padding:8px 0;
}
#menu li:hover li a{
color:#000;
text-transform:inherit;
}
#menu li:hover a, #menu li li:hover a{
color:#000;
}
.arrondie
 {

-moz-border-radius:0px;
-webkit-border-radius:0px;
border-radius:0px;
}

/* Corps */

aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}
article
{
display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 20px;

}
article
{
    width: 1160px;
	margin-left: auto;
  	margin-right: auto;
}
article
{
    background-color: #fff;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

article p
{
font-size:14px !important;
    font-size: 0.9em;
}

aside
{
    position: relative;
    width: 760px;
height: 500px;
    background-color: #E0DBF9;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 30px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

#fleche_bulle
{
    position: absolute;
    top:150px;
    left: -12px;
}

#photo_cgr
{
    text-align: center;
}

#photo_cgr img
{
    border: 1px solid #181818;
}

aside img
{
    margin-right: 5px;
}

/* Footer */

footer
	background:  url('images/ico_top.png') no-repeat top center, url('images/separateur.png') repeat-x top, url('images/ombre.png') repeat-x top;
    	padding-top: 25px;
}

footer p, footer ul
{
    font-size: 0.8em;
}

footer h1
{
    font-size: 1.1em;
}

#tweet, #mes_photos, #TraitUnion
{
    display: inline-block;
    vertical-align: top;
}

#tweet
{
    width: 28%;
}

#mes_photos
{
    width: 40%;
}

#TraitUnion
{
    width: 31%;
}

#mes_photos img
{
    border: 1px solid #181818;
    margin-right: 2px;
}

#TraitUnion ul
{
    display: inline-block;
    vertical-align: top;
    margin-top: 0;
    width: 48%;
    list-style-image: url('images/ico_liensexterne.png');
    padding-left: 2px;
}

#TraitUnion a
{
    text-decoration: none;
    color: #760001;
}


/* 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;
}
a.top {
   position:fixed;

}
/* 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;
}