@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;
}
body
{
    font-family:'Trebuchet MS', Arial, sans-serif;
    color: #181818;
    background: url(images/fond_jaune.png);
}
section h1, nav a, footer h1
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}
#bloc_page
{
    width: 1000px;
    margin: auto;
}
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
{
    width: 59px;
    height: 60px;
}
header h1
{
    font-size: 2.5em;
    font-family: 'BallparkWeiner', serif;
    margin: 0px 0px 0px 10px;
    font-weight: normal;
}
header h2
{
    font-size: 1.1em;
    font-family: Dayrom, serif;
    margin-top: 0px;
    font-weight: normal;
}
nav ul
{
    display: flex;
    list-style-type: none;
}
nav li
{
    margin-right: 15px;
}
nav a
{
    text-decoration: none;
    font-size: 1.3em;
    color: #181818;
    padding-bottom: : 3px;
}
nav a:hover
{
    border-bottom: 3px solid #760001;
    color: #760001;
}
.slide
{
    float: left;
}
.slides
{
    width: calc(900px * 4);
    animation: glisse 10s infinite;
}
.slider
{
    padding-top: 25px;
    width: 900px;
    overflow: hidden;
    margin: auto;
    height: 700px;
}
@keyframes glisse
{
    0%
    {
        transform: translateX(0);
    }
    10%
    {
        transform: translateX(0);
    }
    25%
    {
        transform: translateX(-900px);
    }
    35%
    {
        transform: translateX(-900px);
    }
    50%
    {
        transform: translateX(-1800px);
    }
    60%
    {
        transform: translateX(-1800px);
    }
    75%
    {
        transform: translateX(-2700px);
    }
    85%
    {
        transform: translateX(-2700px);
    }
    100%
    {
        transform: translateX(0);
    }

}

#banniere_description
{
    bottom: -95px;
    position: absolute;
    width: 59.3% ;
    background-color: rgba(24,24,24,0.8);
    height: 63px;
    color: white;
    padding-top: 15px;
    left: 309px;
    font-size: 1em;
    border-radius: 0px 0px 5px 5px;
   
}
.bouton_rouge
{
    background: url(images/fond_degraderouge.png) repeat-x;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    position: absolute;
    padding: 3px 8px 0px 8px;
    font-size: 1.2em;
    height: 25px;
    border-radius: 1px solid #760001;
    right: 5px;
    bottom: right;
    text-align: center;
}
section 
{
    display: flex;
    margin-bottom: 20px;
}
article, aside
{
    text-align: justify;
}
article p
{
    font-size: 0.8em;
}
.ico_categorie
{
    vertical-align: middle;
    margin-right: 4px;
}
article
{
    flex: 3;
    margin-right: 20px;
}
aside
{
    position: relative;
    background-color: #706b64;
    color: white;
    padding: 10px;
    flex: 1.2;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    font-size: 0.9em;
}
#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}
#photo_zozor
{
    text-align: center;
}
#photo_zozor img
{
    border: 1px solid #181818;
}
aside
{
    margin-right: 5px;
}


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;
}
footer h1
{
    font-size: 1.1em;   
}
#tweet
{
    width: 28%;     
}
#mes_photos 
{
    width: 35%;
}
#mes_amis
{
    width: 31%;
}

#mes_photos img
{
    border: 1px solid #181818;
    margin-right: 2px;
}
#listes_amis
{
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}

#mes_amis ul
{
    list-style-image: url('images/ico_liensexterne.png');
    padding-left: 2px;
}

#mes_amis a
{
    text-decoration: none;
    color: #760001;
}
