/* Définition des polices personnalisées */

@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/fond-site.jpg');
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 18px;
    color: #181818;
    text-align: justify;
}

#bloc_page
{
    /*width: 900px;*/
    width: 80%;
    max-width: 1100px;
    min-width: 700px;
    margin: auto;
}


#page h1{
  font-size: 1.3em;
  margin-top: 50px
}

#bloc_page h2{
  font-size: 1.0em;
  margin-top: 50px
}

#bloc_page h3{
    font-size: 0.8em;
}

footer h1, nav a
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header */

header
{
    /*background: url('images/separateur.png') repeat-x bottom;*/
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#titre_principal
{
    display: flex;
    flex-direction: column;
}

#logo
{
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

#logo img
{
    border: 1px solid #181818;
    width: 195px;
    height: 136px;
}

header h1
{
    font-family: 'BallparkWeiner', serif;
    font-size: 2.0em;
    font-weight: normal;
    margin: 0 0 0 10px;
}

header h2
{
    font-family: Dayrom, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}

/* Navigation */

nav ul
{
    list-style-type: none;
    display: flex;
}

nav li
{
    margin-right: 15px;
}

nav a
{
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
    color: #760001;
   border-bottom: 3px solid #760001;
}

/* Bannière */

#banniere_image1
{
    /*position: relative;*/
    margin-top: 15px;
    margin-bottom: 50px;
    border-radius: 5px;
    box-shadow: 0px 4px 4px #1c1a19;
    background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
    /* background: url('images/Tsiribihina.png') no-repeat; */
    height:100px;
    width: 100%;
    /*line-height: 200px;*/
}

#banniere_image2
{
    margin-top: 15px;
    /*height: 100px;*/
    border-radius: 5px;
    /* background: url('images/Tsiribihina.png') no-repeat; */
	/*background: url('images/MADA32_0059.JPG') no-repeat;*/
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 50px;
    height:100px;
    width:100%;
    background-image:linear-gradient(to bottom, #FF0000 0%, #8B0000 100%);
}

#banniere_image3
{
    margin-top: 15px;
    /*height: 100px;*/
    border-radius: 5px;
    /* background: url('images/Tsiribihina.png') no-repeat; */
	/*background: url('images/MADA32_0059.JPG') no-repeat;*/
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 50px;
    height:100px;
    width:100%;
    background-image:linear-gradient(to bottom, #F6AD1A 0%, #9F391A 100%);
}

#banniere_image4
{
    margin-top: 15px;
    /*height: 100px;*/
    border-radius: 5px;
    /* background: url('images/Tsiribihina.png') no-repeat; */
	/*background: url('images/MADA32_0059.JPG') no-repeat;*/
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 50px;
    height:100px;
    width:100%;
    background-image:linear-gradient(to bottom, #CFFF6A 0%, #677F35 100%);
}

#banniere_description
{
    text-align: center;
    color: white;
    /*font-family: BallparkWeiner, serif;*/
    /*font-family: Dayrom, serif;*/
    font-size: 80%;
    text-shadow:5px 5px 10px black;
    line-height: 1.2;
    vertical-align: middle;
    display: inline-block;
    width: 100%;
    height: 100%;
    /*padding-left: 20px;*/
    /*padding-right: -20px;*/
}

#banniere_description h1{
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 20px;
  /*margin-top: 10px;*/
  font-size: 2em;
    -webkit-margin-before: 0.0em;
    -webkit-margin-after: 0.0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}



/* Corps */

section
{
    display: flex;
/*    flex-direction: column;*/
    margin-left:0px;
}

p
{
    text-align:justify;
    text-indent: 2em;
    font-size: 1em;
    line-height: 130%;
/*    margin: 0;*/
/*    font-family: times, "Times New Roman", serif;*/
/*font-family: georgia, times, "Times New Roman", serif;*/
}

aside
{
    flex: 1.2;
    position: relative;
    background:url('images/beton.jpg');
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

aside img
{
    margin-right: 5px;
}

#center_image{
display: block;
text-align: center;
}
#center_image a {
  margin: 0px 15px;
}

.bouton a {
display:block;
width:200px;
line-height:50px;
text-align:center;
vertical-align:middle;
background-image:linear-gradient(to bottom, #CFFF6A 0%, #677F35 100%);
color:white;
text-decoration:none;
border-radius:8px;
font-size: 1.5em;
margin-bottom: 21px;
}
.bouton a:hover {
background:#CFFF6A;
color:black;
}


/* Footer */

footer
{
    display: flex;
    /*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;
    text-indent: 0px;
    text-align: center;
}

footer h1
{
    font-size: 1.1em;
}

#mes_photos
{
   text-align: center;
   width: 98%;
}

#mes_photos img
{
    border: 1px solid #181818;
    margin-right: 2px;
	display: center
}

#menu-demo2, #menu-demo2 ul{
padding:0;
margin:0;
list-style:none;
text-align:center;
}
#menu-demo2 li{
display:inline-block;
/* display:-webkit-inline-flex */
position:relative;
border-radius:8px 8px 0 0;
width: 206px;
}
#menu-demo2 ul li{
display:inherit;
/* display:-webkit-inline-flex */
border-radius:0;
text-align: center;
}
#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: #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(2){
background-color: #65537A;
background-image:-webkit-linear-gradient(top, #65537A 0%, #2A2333 100%);
background-image:linear-gradient(to bottom, #FF0000 0%, #8B0000 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:last-child{
background-color: #CFFF6A;
background-image:-webkit-linear-gradient(top, #CFFF6A 0%, #677F35 100%);
background-image:linear-gradient(to bottom, #CFFF6A 0%, #677F35 100%);
}
/* background des liens sous menus */
#menu-demo2 li:first-child li{
background:#333A40;
}
#menu-demo2 li:nth-child(2) li{
background:#8B0000;
}
#menu-demo2 li:nth-child(3) li{
background:#9F391A;
}
#menu-demo2 li:last-child li{
background:#677F35;
}
/* background des liens menus et sous menus au survol */
#menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover{
background:#729EBF;
}
#menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#FF0000;
}
#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; */
padding:8px;
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;
}
