/* --------------------------------------------------------- */
/* Feuille de style des squelettes par defaut pour SPIP 2.0  */
/* --------------------------------------------------------- */
 
/*
reste à régler :



remplacer les pseudos-listes (-) par des -* (dans SPIP)

bonne urls dont prélude 
compa ie8 + bandeau bien visible ie7 et ie6

alignement images au centre spip.php?page=article&id_article=56

page 403 serveur et non juste spip ?

validation html
validation css

optimiser css (sélecteurs non utilisés)

poids des images

erreur php,affichage de warning -> htaccess

opquast : retester tout

balisage code et/ou pre 

décliner en blogue d'entreprise, blogue perso, soup.io, twitter

définition rapide aléatoire

image de fond titre recherche+rub+extra

*/

 
/* pages à styler :
  sommaire.html (page d'accueil),
  article.html (http://localhost:8888/spip-2-0-8_monsite-nouveaulook/spip.php?page=article&id_article=3)
  rubrique.html (http://localhost:8888/spip-2-0-8_monsite-nouveaulook/spip.php?page=rubrique&id_rubrique=3 et http://localhost:8888/spip-2-0-8_monsite-nouveaulook/spip.php?page=rubrique&id_rubrique=10 )
  recherche.html (résultat de recherche  )
  404.html (en cas d'erreur)
  plan.html (http://localhost:8888/spip-2-0-8_monsite-nouveaulook/spip.php?page=plan)
  page de contact (http://localhost:8888/spip-2-0-8_monsite-nouveaulook/spip.php?page=article&id_article=22)
*/ 

/* ------------------------------------------
/* Typographie generale (style transversaux)
/* ------------------------------------------ */
html { font-size: 100%;  } /* Cf.: http://pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
body { font-size: 0.8125em; font-family: "Trebuchet MS", Verdana, sans-serif; color: #CCC; }

/* Titraille / Intertitres */
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-family: Georgia, Garamond, serif;
    letter-spacing: 2px;
} 
h1 { 
    font-size: 1.50em; 
    padding: 1ex; padding-left: 10px; 
    color: #DDD; 
    background: black; 
    border-left: 0.5ex solid white; 
}

h2,h3,h4,h5,h6 {
    line-height: 25px;
    padding-top: 0; padding-bottom: 0;
}

h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover, h2 a:focus, h2 a:active {
    color: #DDD; 
    text-decoration: none;
}
h3, h3.spip {
    color: #DDD;
    border-bottom : 1px solid #CCC;
}

#contenu h2+h3, #contenu h2+h3.spip { margin-top: 1ex; }

#contenu h2 { margin: 4ex   0     0.5ex 0; color: #CCC; border-bottom : 3px solid #A52A2A; } /* brown */
#contenu h3, #contenu h3.spip { 
              margin: 3.5ex 0.5ex 0.5ex 1.5ex; } 
#contenu h4 { margin: 3ex   1ex   0.5ex 1.7ex; } 
#contenu h5 { margin: 2.5ex 1.5ex 0.5ex 1.9ex; } 
#contenu h6 { margin: 2ex   2.0ex 0.5ex 2.1ex; } 
/* les h3.spip sont les {{{titres comme ça}}} */

hr.spip {} 

/* Autres enrichissements typo */
strong { font-weight: bold; }
em { font-style: italic; }
abbr, acronym { border-bottom: 1px dotted; cursor: help; }
small { font-size: 0.90em; color: #666; }
del { text-decoration: line-through; }
dfn { font-style: normal; }
ins { color: red !important; text-decoration: none; }
sup, sub { font-size: .8em; font-variant: normal; }

/* Listes */
ul.spip {} /* Cf.: spip_style.css */
ol.spip {} /* Cf.: spip_style.css */
dl {}
dt {}
dd {}

/* Citations, code et poesie */
cite {}
q {}
blockquote {}
blockquote.spip {} /* Cf.: spip_style.css */
blockquote.spip_poesie {} /* Cf.: spip_style.css */
.spip_code {} /* Cf.: spip_style.css */
.spip_cadre {} /* Cf.: spip_style.css */
address {}

/* Tableaux */
table.spip {} /* Cf.: spip_style.css */

/* Logos, documents et images */
img { margin: 0; padding: 0; border: 0; }
.spip_logos {} /* Cf.: spip_style.css */
.spip_documents {} /* Cf.: spip_style.css */
.spip_documents_center {} /* Cf.: spip_style.css */
.spip_documents_left {} /* Cf.: spip_style.css */
.spip_documents_right {} /* Cf.: spip_style.css */
.spip_doc_titre {} /* Cf.: spip_style.css */
.spip_doc_descriptif {} /* Cf.: spip_style.css */


/* ------------------------------------------
/* Disposition a l'ecran des blocs principaux
/* ------------------------------------------ */
 

body {
    margin: 0;
    padding: 0;
    text-align: center;
    background: #000043 url('bg-fond-site_v5.jpg') top center no-repeat;
}

/* DEBUT entête (dont fichier SPIP inc-entete.html) */
#entete { /* occupe toute la largeur */
    margin: 0;
    width: 100%;
    height: 120px;
    text-align: left;
    background: url('bg-entete_v4.png') bottom center no-repeat; 
}

#contenuentete {
    width: 780px;
    height: 120px;
    margin: 0 auto;
}
p#prelude {
    color: #808080;
    font-size: 0.85em;
    line-height: 25px;
    margin: 0; 
    text-align: right;
}
#prelude a:link, #prelude a:visited {
	color: #808080;
	text-decoration: underline;
	padding: 1ex 0;
}
#prelude a:hover, #prelude a:focus { color: white; text-decoration: underline;}
#prelude a:active { color: yellow; }

div#definition_rapide {
    margin: 5px 10px 0 130px;
    color: #BBB;
}

#entete a.accueil { text-decoration: none; }
#entete a.accueil:link, #entete a.accueil:visited,
#entete a.accueil:hover, #entete a.accueil:focus, #entete a.accueil:active {
    font: normal 1.5em/35px Georgia, Garamond, serif;
    color: #CCC; /* donner la même couleur au h1 */
}

#definition_rapide ul {
    margin: 0; padding: 0;
    list-style-type: none;
    line-height: 1.4em;
}

#ielt8, #ielt8 a, #ielt8 a:link, #ielt8 a:visited,
#ielt8 a:hover, #ielt8 a:focus, #ielt8 a:active { /* internet explorer lower than version 8 */	
	color: white;
        margin: 0 0 0 0; 
	padding: 0.5ex 0;
        line-height: 25px;
}
#ielt8 p {
    width: 780px;
    margin: 0 auto;
    text-align: center;
    background: url('bg-noir-opacite70pc.png'); }
#ielt8 { background: orange url('bg-ielt8.jgp');  padding: 1ex;
    }
/* FIN entête (dont fichier SPIP inc-entete.html) */


#page { /* gros conteneur global de 780 px de large */
    width: 780px;
    margin: 0 auto;
    text-align: left;
    color: white;
    background: url('bg-noir-opacite30pc.png');
    font-size: 1.1em; /* 10% plus gors pour plus de lisibilité */
}

#conteneur { clear: both; float: left; width: 523px; overflow: hidden; }
#contenu {
    padding-top: 0.20em;
    padding-bottom: 1ex;
}
 
div#colonne_laterale {
    float: right;
    width: 224px;
    margin: 1em 0 0 0;
    padding-left: 33px; /* s'ajoute à la largeur totale */
    overflow: hidden; 
    background: url('bg-navigation-extra-opacite10pc_224x10px.png ') top right repeat-y; 
}
 
#pied {
    clear: both;
    width: 100%;
    margin: 2em 0 0 0;
    padding: 1em 0;
    text-align: center;
    font-size: 0.85em;
background: black;
}
#pied img { vertical-align: middle; }
 
/* Espaceur de blocs */
.nettoyeur { clear: both; height: 0; margin: 0; padding: 0; border: 0; line-height: 1px; font-size: 1px; }

/* Non visible a l'ecran */
.invisible { position: absolute; top: -3000em; height: 1%; }


/* ------------------------------------------
/* Habillage des elements du contenu
/* ------------------------------------------ */

#hierarchie { /* fil d'ariane */
    clear: both;
    margin: 1em 1ex 0 1ex; padding: 0 1ex;
    font-size: 0.85em; line-height: 2em;
    color: #BBB;
}
#hierarchie, #hierarchie a:link, #hierarchie a:visited, #hierarchie a:active { color: #BBB; }
#hierarchie a:hover, #hierarchie a:focus { color: white; }

.cartouche {
    margin: 1em 0 1em 0;
    background: url('bg-blanc-opacite10pc.png');
}
.cartouche .spip_logos { float: right; margin-left: 16px; margin-bottom: 4px; }
.cartouche p { margin: 0; padding: 0; clear: left; }
.surtitre, .soustitre { font-size: 0.90em; color: #666; text-transform: uppercase; letter-spacing: 0.10em; }
.cartouche .surtitre { margin-bottom: 0.30em; }
.cartouche .soustitre { margin-top: 0.50em; margin-bottom: 0.30em; }
.cartouche .traductions { font-size: 0.90em; }

.chapo { margin-bottom: 1.50em; line-height: 1.40em; font-weight: bold; color: #669; }
.texte { line-height: 1.60em; }
.hyperlien { display: block; background: #EEE; padding: 0.50em 1em; font-weight: bold; color: #8B6F92; }
.ps, .notes { margin-bottom: 2em; line-height: 1.40em; }
.notes { clear: both; font-size: 0.90em; }

.entry-content, .texte, .notes {
    padding: 1ex; padding-top: 0.4ex;
    background: url('bg-blanc-opacite10pc.png');
    min-height: 400px;
}
.notes, .texte2 { 
padding: 1ex; padding-top: 0.4ex; 
background: url('bg-blanc-opacite10pc.png'); 
}
.notes { margin-top: 0; }

abbr.published { border: 0; }

#contenu ul {
    margin-left: 1ex;
    padding-left: 1ex;
}
form label { font-weight: normal; color: #CCC; }


/* Portfolio */
#documents_portfolio { clear: both; margin: 2em auto; text-align: center; }
#documents_portfolio .spip_logos { margin: 6px 3px 0 3px; border: 4px solid #DDD; }
#documents_portfolio a.on .spip_logos { border-color: #F57900; }
#documents_portfolio a:focus .spip_logos,
#documents_portfolio a:hover .spip_logos,
#documents_portfolio a:active .spip_logos { border-color: #8B6F92; }


/* Habillage des forums
---------------------------------------------- */
.repondre { clear: both; margin-top: 2.50em; margin-right: 1em; text-align: right; font-weight: bold; }

/* Habillage des forums */
ul.forum { display: block; clear: both; margin: 0; padding: 0; }
ul.forum, ul.forum ul { list-style: none; }
.forum-fil { margin-top: 1.50em; }
.forum-fil ul { display: block; margin: 0; padding: 0; margin-left: 1em; }
.forum-chapo .forum-titre, .forum-chapo .forum-titre a { display: block; margin: 0; padding: 0; font-weight: bold; color: #333; }
.forum-texte { margin: 0; padding: 0.50em 1em; color: #333; }
.forum-texte .hyperlien {}
.forum-texte .repondre { margin: 0; padding: 0.10em 0; text-align: right; }

/* Boite d'un forum : eclaircissement progressif des bords */
ul .forum-message { border: 1px solid #666; margin: 0; padding: 0; margin-bottom: 1em; }
ul ul .forum-message { border: 1px solid #A4A4A4; }
ul ul ul .forum-message { border: 1px solid #B8B8B8; }
ul ul ul ul .forum-message { border: 1px solid #CCC; }
ul ul ul ul ul .forum-message { border: 1px solid #E0E0E0; }
ul ul ul ul ul ul .forum-message { border: 1px dotted #E0E0E0; }

/* Boite de titre d'un forum : mise en couleur selon la profondeur du forum */
ul .forum-chapo { border: 0; border-bottom: 1px dotted #B8B8B8; margin: 0; padding: 3px 6px 2px 6px; background: #C4E0E0; }
ul ul .forum-chapo { background: #D4E8E8; }
ul ul ul .forum-chapo { background: #E4F0F0; }
ul ul ul ul .forum-chapo { background: #F4F8F8; border-bottom: 1px dotted #E0E0E0; }
ul ul ul ul ul .forum-chapo { background: #FFF; }


/* Habillage des petitions
---------------------------------------------- */
#signatures { clear: both; margin: 0 0 2em 0; padding: 0; background: none; }
#signatures table { width: 100%; margin: 1em 0 0 0; }
#signatures thead { text-align: center; color: #555; }
#signatures td { padding: 0.50em; border: 2px solid #FEFEFE; vertical-align: top; }
#signatures td.signature-date { background: #E4F0F0; text-align: center; white-space: nowrap; }
#signatures td.signature-nom { background: #ECF4F4; text-align: center; }
#signatures td.signature-nom small { display: block; }
#signatures td.signature-message { background: #F4F8F8; }
#signatures .formulaire_recherche { margin: 1em 0; text-align: right; } /*Cf.: spip_formulaires.css*/
#signatures .formulaire_recherche input.text { width: 10em; text-align: left; } /*Cf.: spip_formulaires.css*/


/* ------------------------------------------
/* Sous-navigation et autres menus
/* ------------------------------------------ */
#navigation h2, #extra h2 {
    margin: 0;
    display: block;
    text-align: left;
    padding-left: 10px;
    line-height: 30px;
    background: maroon url('bg-h2-rubriques-extra.pgn') bottom left no-repeat;
    color: #CCC;
    border-top: 2px solid white;
}

/* Habillage general des menus de navigation */
.menu { clear: both; margin-bottom: 2em; text-align: left; }
.menu p { margin: 0; padding: 0; }
.menu ul { margin: 0; padding: 0; list-style: none;}
.menu ul li { margin: 0; padding-left: 0;}
.menu ul li ul { padding-left: 0;  }
.menu ul li li {margin-left: 1em;  padding: 0;  }

/* Pagination */
.pagination { clear: both; text-align: right; font-size: 0.90em; color: #CCC; }
.pagination a { padding: 0 0.5ex; }
.pagination .on { font-weight: bold; color: white; }

/* Rubriques (menu principal) + extras ("dans la même rubrique") */ 
.rubriques a, .rubriques a:link, .rubriques a:visited,
#extra a, #extra a:link, #extra a:visited {
    display: block;
    width: 100%;
    padding: 4px;
    text-decoration: none;
} 
.rubriques ul li a.on { 
    background: url('bg-blanc-opacite10pc.png');
    color: white;
    font-weight: bold;
    width: 257px;
    position: relative;
    right: 33px;
    padding-left: 37px;
}
.rubriques ul li ul li a.on { /* sous-rubriques */
    position: relative;
    right: 48px;
    padding-left: 48px; /* 48 - 33  = 15 (bonne mesure observée sous FF) */
}
.rubriques a:hover, .rubriques a:focus,
.rubriques ul li a.on:hover, .rubriques ul li a.on:focus,
.rubriques ul li ul li a.on:hover, .rubriques ul li ul li a.on:focus,
#extra a:hover, #extra a:focus { background: maroon; color: white; } 
.rubriques a:active, .rubriques ul li a.on:active,
.rubriques ul li ul li a.on:active, #extra a:active {
    background: orange; color: black;
    text-decoration: underline; }

.formulaire_recherche { margin-bottom: 2em; } /*Cf.: spip_formulaires.css*/

/* Listes d'articles et extraits introductifs */
.articles ul li { clear: both; padding: 0.40em 0.20em; }
.articles ul li h3 { margin: 0.30em 0; }
.articles .spip_logos { float: right; clear: right; margin: 0 0 4px 16px; }
.articles ul li .enclosures { float: right; text-align: right; max-width: 60%; margin: 0; }
.articles ul li .introduction { margin-top: 0.30em; line-height: 1.40em; }


/* Couleurs des liens
---------------------------------------------- */
a, a:link { color: #DDD; text-decoration: underline; }
a:visited { color: #FFD700;  }
a:hover, a:focus { color: #A52A2A; text-decoration: none; } /* brown */
a:active { color: orange; text-decoration: underline; } 



/* STYLE AJOUTES PAR MOI */

/* tableaux */
table { border-collapse: collapse; margin: 1em auto; }
table, th, td { border: 1px solid #CCC; }
th, td { padding: 0.5ex 0.7ex; }
th { font-weight: bold; text-align: center; }
tr:hover, tr:focus { background: url('bg-blanc-opacite10pc.png'); }
thead { border-bottom: 2px solid white; }
tfooter { border-top: 2px solid white; }


/* diver styles */
hr { display: none; }
hr.visible { display: block; }
span.spip_documents_center img { background: #DDD; padding: 5px; }
.formulaire_recherche form { padding: 4px }
