/* 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: 1000px;
    margin: auto;
}

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


@media all and (max-width: 1024px)
{
    #bloc_page
    {
        width: auto;
    }
}

/* Header */

header
{
    background: url('images/separateur.png') repeat-x bottom;
}

#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: -20px;
}

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

/* Navigation */

nav
{
    display: inline-block;
    width: 1000px;
    text-align: right;
}

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

nav li
{
    display: inline-block;
    margin-right: 12px;
}

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

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

@media all and (max-width: 1024px)
{
    nav
    {
        width: auto;
        text-align: left;
    }
    
    nav li
    {
        display: inline-block;
        padding-left: 4px;
    }
    
    nav a
    {
        font-size: 1.1em;
    }
    
    nav a:hover
    {
        border-bottom: 0;
    }
}

/* Bannière */

#banniere_image
{
    margin-top: 15px;
    height: 405px;
    border-radius: 15px;
    background: url('images/judith_fond1000.jpg') no-repeat;
    position: relative;
    box-shadow: 0px 0px 10px #FFBF00; 
    margin-bottom: 25px;
}

#banniere_description
{
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 10px 10px;
    width: 100%;
    height: 25px;
    padding-top: 15px;
    padding-left: 0px;
    background-color: #FFBF00;
    color: white;
    font-size: 0.8em; 
   
    
}



@media all and (max-width: 1024px)
{
    #banniere_image
    {
        display: none;
    }
}

/* Corps */

article
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
    width: 1000px;
    margin-right: 15px;
}



article p
{
    font-size: 0.8em;
}



@media all and (max-width: 1024px)
{
    article, aside
    {
        width: auto;
        display: block;
        margin-bottom: 15px;
    }
    
}

/* Footer */

footer
{
    background:  url('images/separateur.png') repeat-x top, url('images/ombre.png') repeat-x top;
    padding-top: 25px;
    width: 1000px;
}

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

footer h1
{
    font-size: 1.1em;
}

footer h3
{
    font-size: 0.8em;
}

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

    
}



img
{
    margin-right: 5px;
}


    
.flex 
{
  display: flex;
  flex-wrap: wrap;
}

.container {
  width: 950px;
  height: 4.5em;
  border: 3px solid #E1AD3C;
  border-radius: .5em;
  padding: 10px;
  justify-content: space-between;
  align-content: space-between;
  margin: 15px;
}

.item {
  padding: 10px;
  background-color: #FFBF00;
  border: 2px solid #DBA901;
  border-radius: 15px;
}

@media all and (max-width: 1024px)
{
.container
    {
    width: auto;
    display: inline-block;
    border: none;
    margin: 15px;
    }
}

Resources
/* 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 article, .old_ie aside, .old_ie #tweet, .old_ie #mes_photos, .old_ie #mes_amis, .old_ie #mes_amis ul
{
    display: inline;
}

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