/* 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_jaune.png');
    font-family: 'trebuchet MS', Arial, sans-serif;
    color: #181818;
}

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

section h1,
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;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

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

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

#logo img {
    width: 59px;
    height: 60px;
}

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: 5px;
    font-weight: bolder;
}


/* Navigation */

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

nav li {
    margin-right: 15px;
}

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

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


/* Bannière */

#banniere_image {
    margin-top: 20px;
	margin-left: 20px;
    height: 280px;
    border-radius: 5px;
    background: url('../images/Uluru.jpg') no-repeat;
    position: relative;
    box-shadow: 4px 4px 4px #1c1a19;
    margin-bottom: 20px;
}

#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.6);
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
}

.bouton_rouge {
    height: 25px;
    position: absolute;
    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 */

section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

article,
aside {
    text-align: justify;
}

article {
    margin-right: 20px;
    flex: 2;
}

.ico_categorie {
    vertical-align: middle;
    margin-right: 8px;
}

article p {
    font-size: 0.8em;
}

aside {
    flex: 1.2;
    position: relative;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

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

#photo_jpm {
    text-align: center;
}

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

aside img {
    margin-right: 5px;
}

.titre_edito {
    font-weight: bold;
    font-style: italic;
}


/* 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;
    margin-top: 15px;
}

footer p {
    font-size: 0.8em;
}

footer h1 {
    font-size: 1.1em;
}

#tweet {
    width: 30%;
}

#mes_photos {
    width: 70%;
    /* largeur espace photos */
}

#mes_photos img {
    border: 1px solid #181818;
    margin-right: 4px;
    cursor: pointer;
}


/* ---------feuille voyages------------ */


/* les noms de premiere liste  alignés avec nav */

.noms {
    font-size: 1.1em;
    color: #0F0C0C;
    padding-bottom: 3px;
    /*margin-left: 20px;*/
    background-color: #C0E3F7;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    display: flex;
    justify-content: space-around;
}


/* Arrangement des noms */

.titre {
    background-color: #EEC452;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.titre2 {
    background-color: #EEC452;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}


/* les miniatures images alignées */

.mini {
    display: flex;
    margin-left: 25px;
}


/* Typage de chaque miniature */

.mini2 {
    margin-right: 15px;
}


/* copyright */

.pied {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}

.gras {
    font-family: Dayrom, serif;
    font-size: 1.0em;
    margin-top: 5px;
    font-weight: bolder;
    font-style: italic;
}