/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

#liste article {
    border-bottom:1px solid #000;
}

/* ==========================================================================
Author's custom styles



color: #0DA4D3;
color: #444;

========================================================================== */

body {
    margin:0;
    padding:0;
    background-color: #fff;
    color:#222;
    font: 0.75em/1.75em 'oxygenregular',sans-serif;
}

.illu img {
    max-width:100%;
}

ul,li {
    padding:0;
    margin:0;
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'oxygenbold', arial, sans-serif;
    font-weight: normal;
}

header h6 {
    margin:0;
}

header a {
    text-decoration:none;
    color:#000;
}

#diaporama-container {
    padding:30px 30px 0 30px;
    max-width:1000px;
    margin:0 auto;
}

#diaporama-container img {
    max-width:100%;
}

#slogan {
    font-size: 0.916667em;
    line-height: 1.5em;
    margin-bottom: 20px;
    color: rgb(51,173,165);
    clear: both;
    text-align:center;
    letter-spacing: 0.1em;
}

nav.colonne {
    overflow: visible;
}

.navbar-header {
    display:none;
    position: absolute;
    right:30px;
    top:45px;
    opacity:0.4;
}

.navbar-nav {
    transition: height 1s linear;
    text-align:center;
    margin-bottom:1em;
    opacity:0.5;
}

.navbar-nav:hover {
    opacity:1;   
}

.navbar-nav.ouvert {
    height:100%;
    display:block;
}

.navbar-nav li {
    display:inline; 
}

.navbar-nav a {
    background-color:#12877a;
    color:#9afff4;
    padding:6px;
}

.navbar-nav li:first-child a {
    padding-left:12px;
    border-radius:4px 0 0 4px;
}
.navbar-nav li:last-child a {
    padding-right:12px;
    border-radius:0 4px 4px 0;
}

.navbar-nav a:hover {
    color:#fff;
}

.navbar-nav a.active {
    color:#fff;
}

li.actuel {
    background-color:red;
}

#mood .illu-wrap {
    overflow: hidden;
    position:relative;
    border:1px solid #c5c5c5;
    border-radius:10px;
}

#mood .illu-illu {

}

#mood a {
    color:#444;
    text-decoration: none;
}

#mood h2 {
    margin:0 0.4em 0.2em 0;
    font-size:1.1em;
    text-align:center;
    font-family: 'oxygenregular', arial, sans-serif;
}

#mood .illu-info {
    position:absolute;
    bottom:0;
    transition-property: opacity;
    transition-duration: 0.5s;
    width:100%;
    padding:10px;
    box-sizing: border-box;
    background-color:rgba(255,255,255,0.9);
    opacity:0;
}

#mood article:hover .illu-info {
    opacity:1;
}

#illu-modal {
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    background-color:rgba(255,255,255,0.95);
    display:none;
    z-index:10000;
    border:4px solid #12877a;
}

#illu-modal h2 {
    font-size:1.3em;
}

.colonne.troisquart.illu-cadre {
    overflow: hidden;
    text-align: center;
    padding-right:0;
}

.illu-cadre img {
    max-height: 100%;
    max-width: 100%;

}

.open #illu-modal {
    display:block; 
    overflow-y: auto;
}

body.open {
    overflow-y: hidden;
}

#modal-actions {
    position:absolute;
    top:12px;
    left:12px;
    z-index:1000;
}

#galerie-modal a {
    display:block;
    float:left;
    width:50%;
    box-sizing: border-box;
    padding:5px;
}

#galerie-modal img {
    border:1px solid #ddd; 
    width:100%;
}

#illu-modal .colonne.demi, #illu-modal .colonne.troisquart, #illu-modal .colonne.quart {
    float:right;
}

footer {
    text-align: center;
    font-size:0.9em;
    color:#b1b1b1;
}

/* ==========================================================================
Formulaire
========================================================================== */


.formulaire_ecrire_auteur {
}

.formulaire_ecrire_auteur legend {
    color:#288D85;
    font-family: 'oxygenbold', arial, sans-serif;
    text-transform: uppercase;
    padding-bottom:0.5em;
    font-size:1.8em;
}

.formulaire_ecrire_auteur li {
    margin-bottom:1em;   
}

.formulaire_ecrire_auteur label {
    font-family: 'oxygenregular', arial, sans-serif;
    display:block;
    margin-bottom:0.3em;
    font-size:0.9em;
}

.formulaire_ecrire_auteur input.text {
    font-family: 'oxygenregular',Helvetica,Arial,sans-serif;
    display: block;
    width: 90%;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size:1.2em;
}

.formulaire_ecrire_auteur textarea {
    font-family: 'oxygenregular',Helvetica,Arial,sans-serif;
    display: block;
    width: 90%;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size:1.2em;
}

.formulaire_ecrire_auteur .submit {
    background-color:#288D85;
    color:#fff;
    border-radius:6px;
    padding:4px 10px;
    font-size:1.1em;
    border:0;
    font-family: 'oxygenbold',Helvetica,Arial,sans-serif;
    text-transform: uppercase;
    font-weight: normal;
}

.formulaire_ecrire_auteur .submit:hover {
    background-color:#365e5b;
}



/* ==========================================================================
Systeme de colonne - stephane
========================================================================== */
.flexit {
    -webkit-flex-direction: row; /* Safari */
    flex-direction:         row;
    display: -webkit-flex; /* Safari */
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap; /* NEW */
}

.retrait {
    padding:30px; 
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.retrait-lat {
    padding:0 30px; 
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.retrait-top {
    padding-top:30px;
}

.retrait-bottom {
    padding-bottom:30px;
}

.exergue{
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px 10px 10px 10px;
    background-color: #f5f5f5;
    padding: 20px;
}

.colonne.nopad {
    padding:0;   
}

.colonne.padlat {
    padding:0 35px;
}

.colonne.minipad {
    padding:17.5px 35px;   
}

.colonne {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */	
    float:left;
    overflow:hidden;
    position:relative;
    padding:30px;
}

.colonne.full { width:100%;	float:none; }
.colonne.mini, .mini-retrait { padding:10px; }
.colonne.tiers { width:33.33333%; }
.deuxtiers { width:66.6666666%;	}
.colonne.quart { width:25%;	}
.colonne.demi { width:50%; }
.colonne.troisquart { width:75%; }
.colonne.cinquieme { width:20%;	}
.colonne.deuxcinquiemes { width:40%; }
.colonne.troiscinquiemes { width:60%; }
.colonne.quatrecinquiemes { width:80%; }



.colonne.notop, h2.notop, .retrait.notop {
    padding-top:0;
    margin-top:0;
}

.colonne.nobottom, h2.nobottom, .retrait.nobottom {
    padding-bottom:0;
    margin-bottom:0;
}

/* ==========================================================================
Media Queries
========================================================================== */
@media only screen and (min-width: 1400px) {
    #mood {
        max-width:1400px;
        margin:0 auto;
    } 
}


@media only screen and (max-width: 699px) {
    #diaporama-container {
        padding: 10px 10px 0 10px;
    }

    #main-header {
        background-color: #fff;
    }
    header h1 {
        text-align:left;
        line-height: 1em;
        font-size: 3.5em;
    }

    .navbar-nav a {
        font-size:0.8em;
    }

    #main-header .dropdown-menu li {
        padding:2px 0; font-size:16px;
    }

    #modal-actions {
        position:static;
        margin:10px 0 0 10px;  
    }

    .dropdown-toggle {
        font-size:20px;
    }

    .colonne, .retrait {
        padding:15px;
    }

    .colonne.cinquieme {
        width:50%;
    }

    .colonne.tiers, .colonne.deuxtiers, .colonne.demi, .colonne.quart, .colonne.troisquart, .colonne.deuxcinquiemes, .colonne.troiscinquiemes, .colonne.quatrecinquiemes, nav li  {
        width:100%;
    }

    .projets .flex {
        display: block;
    }
    #slogan {
        letter-spacing: 0;
    }
}

@media print,
    (-o-min-device-pixel-ratio: 5/4),
    (-webkit-min-device-pixel-ratio: 1.25) {

}

/* ==========================================================================
Helper classes
========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
Print styles
========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}        page-break-after: avoid;
}
}