﻿/* Eléments principaux de la page */

body
{
    background: url('images/fond_camalot.jpg');
	background-attachment:fixed;
    font-family: Arial, sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 960px;
    margin: auto;
	border: 2px solid maroon;
	padding: 12px;
	padding-left: 30px;
	padding-right: 30px;
	box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
	background: url('images/fond_jaune.png');
}

section h1, footer h1, nav a
{
    font-family: Arial, serif;
    font-weight: normal;
}

/* Header */

#titre_principal
{
    display: inline-block;
}

header h1
{
    font-family: 'BallparkWeiner', serif;
    font-size: 2.5em;
    font-weight: normal;
}

#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 */

*Reset CSS*/
*{
    margin: 0px;
    padding: 0px;
    font-family: Avenir, sans-serif;
}

nav{
    width: 100%;
    margin: 0 auto;
    background-color: maroon;
    position: sticky;
    top: 0px;
}

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

nav ul li{
    float: left;
    width: 20%;
    text-align: center;
    position: relative;
}

nav ul::after{
    content: "";
    display: table;
    clear: both;
}

nav a{
    display: block;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
}

nav a:hover{
    color: orange;
    border-bottom: 2px solid gold;
}

.sous{
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: maroon;
    position: absolute;
    width: 110%;
    z-index: 1000;
}
nav > ul li:hover .sous{
    display: block;
}
.sous li{
    float: none;
    width: 100%;
    text-align: left;
}
.sous a{
   padding: 5px;
    border-bottom: none;
}
.sous a:hover{
    border-bottom: none;
    background-color: RGBa(200,200,200,0.1);
}
.deroulant > a::after{
    content:" ▼";
    font-size: 12px;
}

/* Bannière */

#banniere_image
{
    margin-top: 15px;
    height: 200px;
    border-radius: 5px;
    background: url('images/banniere1.gif') no-repeat;
    position: relative;
    box-shadow: 4px 4px 4px #1c1a19;
    margin-bottom: 25px;
}

#banniere_description
{
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 5px 5px;
    width: 99.5%;
    height: 33px;
    padding-top: 15px;
    padding-left: 4px;
    background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(24,24,24,0.8);
    color: white;
    font-size: 1.1em;
    
}

fieldset
{
    margin: 0px;
	
}

.bouton_rouge
{
    display: inline-block;
    height: 25px;
    right: 5px;
    bottom: 5px;
    background: url('images/fond_degraderouge.png') repeat-x;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}

.bouton_rouge img
{
    border: 0;
}

/* Corps */

h1
{
    font-family: Arial, serif;
	color: maroon;
	padding-top: 0px;
	margin-top: 0px;
}

.maroon
{
    font-family: Arial, serif;
	color: maroon;
}

#bref
{
    display: flex;
	justify-content: space-between;
}

#basdepage
{
    display: flex;
	justify-content: space-between;
}


.dessous
{
    clear: both;
}


article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
    width: 689px;
    margin-right: 21px;
	
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
	
}
.imageflottante
{
    float: left;
	margin-right: 10px;
	
}
.titre
{
    text-align: center;
   
}

.deroulant2
{
	height: 190px;
	width: 960px;
	overflow: auto;
	padding: 6px;
	box-shadow: 4px 4px 6px black inset;
}

article p
{
    font-size: 1em;
}

aside
{
    width: 245px;
    color: black;
    font-size: 1em;
}

#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}


aside img
{
    margin-right: 5px;
}
#photo
{
    text-align: center;
	
}

#photo2
{
    border: 1px solid black;
	
}

.logo
{
    text-align: center;
}
#photo5
{
    text-align: center;
	border: 1px solid #181818;
	 box-shadow: 6px 6px 6px #1c1a19;
}

#photo img
{
    border: 1px solid #181818;
	
}

/* 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;
}

