/* Thème du site pharmanerd
Auteur : Nicolas Floquet
Licence : GNU-GPL 
*/

/* ---------------------
Styles generaux
--------------------- */
body {
    width: 600px;
    margin: 0 auto;
    background: url(../img/bg_body.png) repeat-x scroll left top, #111111;
    font-family: serif;
    font-weight: normal;
    color: #8E8E8E;
}
a { 
    text-decoration: none; 
    color: #00b465;
}
.underline {
    text-decoration: underline;
}
code {
    color: #D3BC5F;
}
.example {
    margin-left: 3em;
    overflow: auto;
    color: #D3BC5F;
}

/* ---------------------
Gros containers
--------------------- */
#preamble { 
    margin: 1em 0;
    padding: 1em; 
    background: url(../img/bg_inner.png) repeat scroll left top;
    box-shadow: 1px 1px 12px #111111;
}
#content {
    padding: 1em; 
    background: url(../img/bg_inner.png) repeat scroll left top;
    box-shadow: 1px 1px 12px #111111;
    line-height: 1.6;
}
#postamble { 
    margin: 1em 0;
    padding: 1em; 
    background: url(../img/bg_inner.png) repeat scroll left top;
    box-shadow: 1px 1px 12px #111111;
}
.clear { 
    clear: both; 
}

/* ---------------------
Preamble
--------------------- */
#preamble a {
    color: #C4C4C4;
}
#preamble a:hover {
    color: #00b465;
}
#preamble .nav {
    padding: 0 3em 1em 0;
    margin-left: -3em;
    font-size: 0.8em;
}
#preamble ul{
    list-style-type: none;
}
#preamble li{
    float: left;
    display: block; 
    padding: 0 1em; 
    font-weight: normal; 
}
#preamble .title {
    font-size: 3.2em;
    display: inline-block;
    padding: 0 2em 0.2em 0.3em;
    background: url(../img/logo.png) no-repeat 8em;
}

/* ---------------------
Content
--------------------- */
#content h1 { 
    margin: 0;
    padding: 0 0 0 0.6em;
    font-family: sans-serif;
    font-size: 1.6em; 
    font-weight: normal;
    color: #C4C4C4;
}
#content p {
    padding: 0 0 0 1em;
}
#content h2 {
    margin: 3em 0 0 0;
    padding: 0.2em 0 0 0.6em;
    border-top: solid 2px #045334;
    font-family: sans-serif;
    font-size: 1.4em;  
    font-weight: normal;
    color: #C4C4C4;    
}
#content h3 { 
    margin: 1.6em 0 0 0;
    padding: 0 0 0 0.8em;
    font-family: sans-serif;
    font-size: 1.2em; 
    font-weight: normal;
    font-style: italic; 
    color: #C4C4C4;
}
#content h4 { 
    margin: 1.2em 0 0 0;
    padding: 0 0 0 0.6em;
    font-family: sans-serif;
    font-size: 1.1em; 
    font-weight: normal;
    font-style: italic; 
    color: #C4C4C4;
}
#content .tag {
    font-family: sans-serif;
    font-size: 0.55em;
    font-style: italic;
    color: #C4C4C4;
}
#content .timestamp {
    padding: 0 1em 0 1em;
    font-family: sans-serif;
    font-size: 0.8em;
    font-style: italic;
    color: #C4C4C4;
}
#content img {
    max-width: 100% ;
    margin-left: -1.5em;
}
#content .figure p {
    font-size: 0.8em;
    font-weight: bold;
    color: #C4C4C4;
    text-align: center;
}
.org-src-container {
    color: #D3BC5F;
}

#content .footpara {
    margin-top: -2.4em;
}

/* ---------------------
Postamble
--------------------- */
.topleftbutton { 
    position: absolute;
    left: 1em;
    top: 1em;
    font-size: 0.8em;
    font-style: italic;   
}
.topleftbutton img { 
    width: 100px;
    display: block;
    margin: 0 0 1em 0;
    border-radius: 5% 5% 5% 5%;
    box-shadow: 1px 1px 12px #111111;
}
.toprightbutton { 
    position: absolute;
    right: 1em;
    top: 1em;
}
.toprightbutton img { 
    width: 100px;
    display: block;
    margin: 0 0 1em 0;
}
#postamble .mentions { 
    padding: 0 0.5em 0 1em;
    font-size: 0.8em;
}

/* ---------------------------
Requêtes spécifiques aux media
--------------------------- */

@media screen and (max-width: 800px) {
    .topleftbutton, .toprightbutton {
	display: none;
    }
}

@media screen and (max-width: 600px) {
    body {
	width: 100%;
    }
    #preamble li{
	padding: 0.4em 1em; 
    }
}

@media screen and (max-width: 480px) { 
    #preamble .title { 
	font-size: 1.6em; 
    }
}
