/*Polices personnalisées : Définition*/

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

#bloc_page
{
    width: 1000px;
    margin: auto;
}

body
{
    background-image: url("images/fond_jaune.png");
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

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

header
{
    background-image: url("images/separateur.png");
    background-repeat: repeat-x;
    background-position: bottom;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

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

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

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

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



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

nav li
{
    padding-right: 15px;
}

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

nav a:hover
{
    color: #003300;
    border-bottom: 3px solid #003300;
    padding-bottom: 5px;
}


/*Section */

section
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

article
{
    margin-right: 15px;
    flex: 3;
}

article, aside
{
    text-align: justify;
}

aside
{
    width: 420px;
    height: 390px;
    background-color: rgba(89, 84, 83, 0.9);
    border-radius: 6px;
    color: white;
    margin-top: 36px;
    flex: 1.2;
    position: relative;
}

aside p
{
    padding-left: 5px;
    padding-right: 5px;
    text-shadow: 1px 1px 4px black;
    font-size: 0.9em;
}

aside h1
{
    text-align: center;
}

#photo_zozor
{
    width:100px;
    margin-left: 70px;
}

#photo_zozor img
{
    border: solid black;
}

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

/*Footer*/

footer
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 15px;
    background: url("images/ico_top.png") no-repeat top center, url("images/separateur.png") repeat-x top, url("images/ombre.png") repeat-x top;
}

footer h1
{
    font-size: 1.25em;
}

footer p, footer ul
{
    font-size: 0.9em;
}

#tweet
{
    width: 28%;
}

#mes_photos
{
    width: 35%;
}

#mes_amis
{
    width: 31%;
}

footer img
{
    margin-right: 5px;
    border: 2px solid black;
    width: 70px;
    height: 70px;
}


#listes_amis
{
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}


#listes_amis ul
{
    list-style-image: url("images/ico_liensexterne.png");
}

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

/*Banniere*/

#banniere_image
{
    height: 200px;
    background: url("images/sanfrancisco.jpg") repeat-x;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0px 5px 5px black;
}

#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: rgba(24,24,24,0.8);
    color: white;
    font-size: 0.8em;

}

.bouton_rouge
{
    position: absolute;
    right:  5px;
    bottom: 5px;
    height: 25px;
    background: url("images/fond_degraderouge.png") repeat;
    padding-top: 8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    color: white;
    border: 1px solid #760001;
    font-size: 1.2em;
    text-shadow: 1px 1px 1px black;
}
