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

@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_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;
}

#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;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
	
}
.imageflottante
{
    float: left;
	margin-right: 10px;
}
.imageflottante2
{
    float: right;
	margin-left: 10px;
}
.titre
{
    text-align: center;
   
}
h1
{
    font-family: Arial, serif;
	color: maroon;
	margin-top: 0px;
	padding-top: 0px;
	text-align: center;
}
h6
{
    text-align: right;
}
aside
{
    position: relative;
	
    width: 920px;
    background-color: #706b64;
   border-radius: 5px;
    padding: 20px;
    color: white;
   
}


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

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

#photo3
{
    text-align: center;
}
#photo img
{
    border: 2px solid #181818;
}


/* 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, #mes_amis, #mes_amis2
{
    display: inline-block;
    vertical-align: top;
}

#tweet
{
    width: 600px;
}

#mes_photos
{
    width: 705px;
	vertical-align: top;
}
#mes_amis
{
    width: 250px;
}
#mes_amis2
{
    width: 275px;
}

#mes_photos img
{
    border: 1px solid #181818;
    margin-right: 15px;
}

#mes_amis ul
{
    display: inline-block;
    vertical-align: top;
    margin-top: 0;    
    padding-right: 15px;
}
#mes_amis2 ul
{
    display: inline-block;
    vertical-align: top;
    margin-top: 0;    
    padding-right: 15px;
}
#mes_amis a
{
    text-decoration: none;
    color: #760001;
}

#mes_amis2 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;
}

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

