@font-face
{
    font-family: 'Dayrom';
    src: url('font/dayrom.eot');
    src: url('font/dayrom.eot?#iefix') format('embedded-opentype'),
         url('font/dayrom.woff') format('woff'),
         url('font/dayrom.ttf') format('truetype'),
         url('font/dayrom.svg#Dayrom') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Eléments principaux de la page */
body
{
    background: url('img/fond_jaune.png');
    /*font-family: 'Trebuchet MS', Arial, sans-serif;*/
    font-family: "Georgia", "DejaVu Serif", serif;
    color: #181818;
}

#bloc_page
{
    background-color: #FFFFFF;
    width: 900px;
    margin: auto;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 5px;
}

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

section h2
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.9em;
}

section h3
{
    font-family: Dayrom, serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    text-decoration: underline;
}

/* Header */

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

#titre
{
    display: inline-block;
    /*background-color: #BCBCBC;*/
}

#titre img
{
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 0px;
    max-width:15%;
}

#titre #text
{
    font-family: Dayrom, serif;
    display: inline-block;
    vertical-align: middle;
}

#titre #text h1
{
    font-size: 2.5em;
    font-weight: normal;
}

#titre #text h2
{
    font-size: 1.5em;
    font-weight: normal;
    text-align: center;
}


/* Navigation */

nav
{
    display: inline-block;
    width: 98%;
    text-align: right;
    margin-top: 10px;
}

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

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

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

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

/* Bouton rouge*/
.bouton_rouge
{
    display: inline;
    height: 25px;
    background: url('img/fond_degraderouge.png') repeat-x;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}

/* Corps */

article, aside
{
    display: inline-block;
    text-align: justify;
    vertical-align: middle;
}

article
{
    width: 610px;
    margin-right: 15px;
    min-height: 500px;
}

article p
{
    font-size: 0.9em;
}

pre.inline
{
    display: inline
}

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

aside h1
{
    text-align: center;
}

#apercu
{
    text-align: center;
}

img.apercu
{
    border: 1px solid #181818;
    width:240px;
}

div.code
{
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 5px;
    overflow: auto;
}

pre.error
{
    background-color: #686868;
    color: #E8E8E8;
    padding: 5px;
    border-radius: 5px;
    width: auto;
}

article.full
{
    width: 900px;
}

.tablefile 
{
  clear: both;
  padding: 7px 15px;
  margin: 20px 15px 15px 15px;
  text-align: right;
}

.fileinfo
{
  float: left;
}

/* Footer */

footer
{
    background: url('img/separateur.png') repeat-x top;
    margin-top: 20px;
    padding-top: 10px;
}

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

footer h1
{
    font-size: 0.9em;
}

#lien, #droits, #contact
{
    display: inline-block;
    vertical-align: top;
}

#lien
{
    width: 30%
}

#droits
{
    width: 35%
}

#contact
{
    width: 30%
}

#droits, #contact
{
    text-align: center;
}

#lien h1
{
    text-align: center;
}

#lien ul
{
    text-align: left;
    list-style-image: url('img/ico_liensexterne.png');
}

#lien a, #contact a
{
    text-decoration: none;
    color: #760001;
}

#lien a:hover, #contact a:hover
{
    color: #760001;
    border-bottom: 1px solid #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, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie .bouton_rouge, .old_ie article, .old_ie aside, .old_ie #lien, .old_ie #droits, .old_ie #lien ul, .old_ie #contact
{
    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('img/separateur.png') repeat-x top;
}


/*
 * Code coloration
 */
td.linenos { background-color: #f0f0f0; padding-right: 10px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
body .hll { background-color: #ffffcc }
body  { background: #f8f8f8; }
body .c { color: #408080; font-style: italic } /* Comment */
body .err { border: 1px solid #FF0000 } /* Error */
body .k { color: #008000; font-weight: bold } /* Keyword */
body .o { color: #666666 } /* Operator */
body .cm { color: #408080; font-style: italic } /* Comment.Multiline */
body .cp { color: #BC7A00 } /* Comment.Preproc */
body .c1 { color: #408080; font-style: italic } /* Comment.Single */
body .cs { color: #408080; font-style: italic } /* Comment.Special */
body .gd { color: #A00000 } /* Generic.Deleted */
body .ge { font-style: italic } /* Generic.Emph */
body .gr { color: #FF0000 } /* Generic.Error */
body .gh { color: #000080; font-weight: bold } /* Generic.Heading */
body .gi { color: #00A000 } /* Generic.Inserted */
body .go { color: #888888 } /* Generic.Output */
body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
body .gs { font-weight: bold } /* Generic.Strong */
body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
body .gt { color: #0044DD } /* Generic.Traceback */
body .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
body .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
body .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
body .kp { color: #008000 } /* Keyword.Pseudo */
body .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
body .kt { color: #B00040 } /* Keyword.Type */
body .m { color: #666666 } /* Literal.Number */
body .s { color: #BA2121 } /* Literal.String */
body .na { color: #7D9029 } /* Name.Attribute */
body .nb { color: #008000 } /* Name.Builtin */
body .nc { color: #0000FF; font-weight: bold } /* Name.Class */
body .no { color: #880000 } /* Name.Constant */
body .nd { color: #AA22FF } /* Name.Decorator */
body .ni { color: #999999; font-weight: bold } /* Name.Entity */
body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
body .nf { color: #0000FF } /* Name.Function */
body .nl { color: #A0A000 } /* Name.Label */
body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
body .nt { color: #008000; font-weight: bold } /* Name.Tag */
body .nv { color: #19177C } /* Name.Variable */
body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
body .w { color: #bbbbbb } /* Text.Whitespace */
body .mf { color: #666666 } /* Literal.Number.Float */
body .mh { color: #666666 } /* Literal.Number.Hex */
body .mi { color: #666666 } /* Literal.Number.Integer */
body .mo { color: #666666 } /* Literal.Number.Oct */
body .sb { color: #BA2121 } /* Literal.String.Backtick */
body .sc { color: #BA2121 } /* Literal.String.Char */
body .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
body .s2 { color: #BA2121 } /* Literal.String.Double */
body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
body .sh { color: #BA2121 } /* Literal.String.Heredoc */
body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
body .sx { color: #008000 } /* Literal.String.Other */
body .sr { color: #BB6688 } /* Literal.String.Regex */
body .s1 { color: #BA2121 } /* Literal.String.Single */
body .ss { color: #19177C } /* Literal.String.Symbol */
body .bp { color: #008000 } /* Name.Builtin.Pseudo */
body .vc { color: #19177C } /* Name.Variable.Class */
body .vg { color: #19177C } /* Name.Variable.Global */
body .vi { color: #19177C } /* Name.Variable.Instance */
body .il { color: #666666 } /* Literal.Number.Integer.Long */
