

/* Eléments principaux de la page */

body
{
    background: url('images/fond_jaune.png');
    font-family: Arial, serif;
    margin: 0; color: #3E3226;
}

#bloc_page
{
    max-width: 900px;
    margin: auto;
    min-width: 320px;
}

section h1, footer h1, nav a
{
    font-family: arial, serif;
    font-weight: normal;
    text-transform: uppercase;
}



/* Header */

header
{
    background: url('images/separateur.png') repeat-x bottom;
  position: relative;
}

#titre_principal
{
    display: inline-block;
}

header h1
{   font-family: 'Tangerine', serif;
    color: #3C1B0F;
    text-shadow: 2px 2px 2px #aaa;  
    font-size: 3em;
    font-weight: normal;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

header h2
{
    font-family: Georgia; text-shadow: 2px 2px 2px #eee;
    font-size: 0.9em;
    margin-top: 0px;
    font-weight: normal;
}

/* Navigation */

nav
{
    /*display: inline-block;
    width: 740px;*/
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
}

nav ul
{
    list-style-type: none;
}

nav li
{
    display: inline-block;
    margin-right: 15px;
}

nav a
{
    font-size: 0.9em;
    color: #760001;
    padding-bottom: 3px;
    text-decoration: none; text-shadow: 2px 2px 2px #aaa;
}

nav a:hover
{
    color: #181818;
    border-bottom: 1px solid #181818;
}

/* Bannière */

#banniere_image
{
    margin-top: 15px;
    height: 259px; 
    border-radius: 5px;
    background: url('images/ban.jpg') no-repeat;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
   
}

#banniere_description
{
    position: absolute;
    bottom: 0; 
    border-radius: 0px 0px 5px 5px;
    width: 100%;
    min-height: 40px; /* Une hauteur qui me paraît plus qu'acceptable */
    /*padding-top: 15px;
    padding-left: 4px;*/
    background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(87,71,58,0.8);
    color: white;
    font-size: 0.8em;
    
}

#banniere_description>p
{
    padding-left:4px;
    padding-right: 120px;
}



/* Corps */

article, aside
{
    /*display: inline-block;
    vertical-align: top;*/
    text-align: justify;
}

article
{
    /*width: 625px;*/
    margin-right: 275px;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

section
{
    position: relative;
}

article h1
{          text-shadow: 2px 2px 2px #aaa; 

}

article a{
    font-family: Arial, serif;
   font-size: 0.9em; text-decoration: none; 
    color: #3C1B0F;
}
 

article a:hover{
    color: #760001;
    border-bottom: 1px solid  #760001;
}

article p
{    font-family: Arial, serif;
    font-size: 0.9em; color: 3E3226;
}



/* POÈTES */

apoetes h1{ font-family: Arial, serif; text-shadow: 2px 2px 2px #aaa;
    font-size: 1em;
    font-weight: normal;

}

apoetes a

{   font-size: 0.9em; text-decoration: none; 
    color: #181818;
}
 
apoetes a:hover
{
    color: #760001;
    border-bottom: 1px solid  #760001;
}

/* SIDEBAR */

aside
{
    position: absolute;
    top: 0;
    right: 0;
    width: 235px;
    background: url(images/aside.jpg);
    background-color: #57473A;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 7px;
    padding: 10px;
    color: white; font-family: Arial, serif;
    font-size: 0.9em;
}


.date{ font: italic 1em Georgia; text-align: right;

}

aside a

{   text-align: left;
    font-size: 0.9em;
    color: #FFFDF2;
    padding-bottom: 3px;
    text-decoration: none;  
    display: block;
}

aside a:hover
{
    color: #760001; 
    background: url(images/fond_jaune.png);
}

aside h1 { font-size: 1em;
    font-weight: normal;
    margin: 10px 10px 10px 0px; 
   
    
}

#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}


aside img
{
    margin-right: 5px;
}



/* 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, url('images/separateur.png') repeat-x bottom,
url('images/ombre.png') repeat-x top;
padding-top: 25px; padding-bottom: 25px; 
}

footer p, footer ul
{
    font-size: 0.9em;
}

#cr p, a {font-family: Arial, serif; font-size: 0.85em; text-align: center;
    text-decoration: none;
    color: #760001;
}


footer h1
{
    text-shadow: 2px 2px 2px #aaa; font-size: 0.9em;
}

#tweet, #mes_amis
{
    display: inline-block;
    vertical-align: top;
}

#tweet
{
    width: 28%;
}



#mes_amis
{
    width: 70%;
}


#mes_amis ul
{
    display: inline-block;
    vertical-align: top;
    margin-top: 0;
    width: 48%;
    list-style-image: url('images/ico_liensexterne.png');
    padding-left: 2px;
}

#mes_amis 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;
}




/* MEDIA QUERIES */

@media (max-width: 700px){

#banniere_image
{   background-size: 100%;  box-shadow: none;  border-radius: 10px; margin-bottom: -70px;
   
}

#banniere_description
{ display: none;
}

    aside
    {
        top: 100%;
        left: 50%; /* On place la gauche de notre élément au mileu de la <section> */
        margin-left: -127.5px; /* Et on décale notre élément de la moitié de sa largeur vers la gauche */
    }
    
    article
    {
        margin-right: 0;
        margin-bottom: 350px;
        padding-bottom: 10px;
    }

    apoetes
    {
        margin-right: 0;
        margin-bottom: 0px;
        padding-bottom: 10px;
    }

}



@media (max-width: 600px){
    nav li
    {
        display: block;
        padding-bottom: 5px;
    }
      
    nav
  {
        text-align: left;
        position: static; /* La valeur par défaut */
        padding-bottom: 5px;
    }
    
    nav ul 
  {
        margin-top: 0;
        padding-left: 10px;
    }

#banniere_image
{   background-size: 100%;  box-shadow: none;   border-radius: 10px; margin-bottom: -120px;
   
}

#banniere_description
{ display: none;
}


}

@media (max-width: 550px){

#banniere_image
{   background-size: 100%;  box-shadow: none; border-radius: 8px;  margin-bottom: -130px;
   
}

#banniere_description
{ display: none;
}

}
@media (max-width: 480px){

#banniere_image
{   background-size: 100%;  box-shadow: none; margin-bottom: -160px;
   
}

#banniere_description
{ display: none;
}

    #tweet, #mes_photos, #mes_amis
    {
        width: 100%;
    }

}
