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

.s1 {
    font-size:16px;
    text-transform: uppercase;
}
.s3{
    text-align: center;
    font-weight: bold;
}
.s4 {
    width:40%; 
}
.s6, .s10 {
    width:30%; 
    text-align: center;
}
.s15, .s11 {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.texte tr.topline {
    border-top:2px solid #bbb;
}

.colonne.demi:nth-child(2n+3) {
    clear:botj;
}

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;
}


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

#2d2782 bleu
#222222 gris
#37323e violacé
#f9c22e jaune
#ba1200 rouge

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

body {
    margin:0;
    padding:0;
    font-family: 'montserratlight',sans-serif;

    background-color: #fff;
    color:#222;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
}

h1,h2,h3,h4,h5,h6 {
    font-weight:normal;
    font-family: 'montserratlight', sans-serif;
    margin:0;
}

img {
    max-width:100%;
    height: auto;
}

.img-object-fit {
  object-fit: cover;
  width: 100% !important;
  height: auto;
  display: block;
}

.aspectratio-43 {
  aspect-ratio: 4 / 3;
}

.aspectratio-21 {
  aspect-ratio: 2 / 1;
}

.aspectratio-31 {
  aspect-ratio: 3 / 1;
}

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

ul.straight li {
    margin-bottom:1em;
}
ul.straight li:last {
    margin-bottom:0;
}

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

.texte a {
    text-decoration: underline;
}

article h3 a, article h2 a, header a, a h2, a h3, a .texte {
    text-decoration: none !important;
}

.spip_surligne {
    background-color: yellow;
}

article a:hover {
    color:#387db9;
}

a:hover h2 {
    color:#387db9;
}

a:hover .texte {
    color:#000;
}

#tools .tool {
    display:none;

}

#tools .tool.show {
    height:auto;
    padding-top:30px;
    padding-bottom: 30px;

}

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

#main-header {
    background-color:#fff;
}

#main-header h1 {
    font-family: 'montserratextralight',sans-serif;
    font-size:4em;
    margin:0;

}

#top-part {
    text-align:center;


}

#top-part a {
    display:block;   
    text-decoration: none;
    padding:100px 0 50px 0;
    color:#fff;
    background-position: center center;
    background-size: cover;

}

#top-part a:hover {
    color:#ddd;
}

#top-part h1, #top-part div {

    text-shadow: 0 0 10px #333;
}

#search-icon:hover {
    color:#444;
}

#main-header .colonne {
    overflow:visible;
}

#top-nav li {
    display:inline-block;
    position:relative;

}



/* navigation mobile */
.navbar-toggle {
    display:none;
    opacity:0.7;
    font-size:28px;
    line-height:18px;
}

.navbar-toggle:hover {
    opacity:1;
}
button.navbar-toggle  {
    border:0;
    background-color:transparent;
    color:#adadad;
}
/* small nav (langue et login) */
#small-nav {
    float:right;
    text-align: right;
}

#small-nav li {
    float:right;
}

#small-nav li a {
    color:#222;
    text-decoration: none;
    display:inline-block;
    padding:2px 10px;
}

#search-icon {
    cursor: pointer;
}

/* new styles : 2023 */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
  column-gap: 0;
}
.grid-1-2 {
    grid-template-columns:1fr 2fr
}
.grid-reg2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-reg3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-gap-3 {
    gap: 1rem;
}
.grid-gap-4 {
  gap: 2rem;
}


/* big navigation */


#main-nav {
    font-family: 'montserratlight';
}

#main-nav nav {
    border-bottom:1px solid #d6d6d6;
    padding:15px 0;
}

.navbar-nav {
    transition: height 1s linear;
    text-align:center;
    font-size: 15px;
    float:left;
}

.navbar-nav > li{
    text-transform: uppercase;   
}

.navbar-nav li {
    float:left;
    box-sizing: border-box;
    position:relative;
}

.navbar-nav li a {
    color:#666;
    text-decoration: none;
    display:inline-block;
    padding:4px 0;
    margin-right:20px
}



.navbar-nav.ouvert {
    height:100%;
    display:block;
}
li.actuel, .navbar-nav li:hover a {
    border-bottom:3px solid #ccc;
    padding-bottom:1px;
    color:#333;
}

.navbar-nav li:hover li a {
    border-bottom:0;
    text-align:left;
}

.dropdown-menu {
    display:none;
    position:absolute;
    font-size:15px;
    padding:8px 0 0 0;
    z-index:1000;
    top:21px;
    left: -8px;
    min-width: 14em;
}

.dropdown-menu li {
    display:block;
    margin-left:0;
    width:100%;
}

.navbar-nav .dropdown-menu li a {
    display:block;
    padding: 4px 10px;
    background-color:rgba(255,255,255, 0.9);
}

.navbar-nav .dropdown-menu li a:hover {
    background-color:rgba(240, 240,240, 0.9);
}

.dropdown-menu li:last-child {
    border-bottom:0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}




.wrapper { 
    max-width:1400px;
    margin:0 auto;
}

.baseline {
    font-family: 'montserratthin';
    font-style: italic;
    font-size:1.5em;
}
.baseline-image {
    text-align:right;
}
.baseline-image img {
    width:80%;
}
.baseline-text div {
    padding-right:20%;
}

article h2, h2 {
    font-size:2.2em;
    color:#000;
    line-height:1.1em;
    margin-bottom: 0.3rem;
}

#chemin {
    text-transform: uppercase;
    font-size:0.9rem;
}

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

#chemin a:hover {
    color:#ed2e21;
}

.soustitre {
    font-family: 'montserratregular', sans-serif;
    font-size: 12px;
    color: #969191;
    /* margin-bottom: 12px; */
    padding-top: 12px;
    border-top: 1px solid #8d8d8d;
    text-transform: uppercase;
}

.sep-top, .logo.sep-top {
    border-top: 1px solid #8d8d8d;
    padding-top: 12px;
    margin-top:0;
}

.pad-top {
    padding-top: 12px; 
}

.soustitre.admin {
    color:#000;
    margin-bottom:4px;
    border-bottom:0;
}

.soustitre a {
    color: #969191;
    text-decoration: none;
}

.soustitre a:hover {
    color:#222;
}

.logo {
    margin:1em 0;
}

.logo img {
    width:100%;
    display: block;
    /* margin-bottom:1em;*/
}

.titre {
    font-family: 'montserratregular';
}

.titre-niv2 {
   font-family: 'montserratregular';
    font-size: 1.8em;
    line-height:1.1em;
}

h2.titre-niv3 {
   font-family: 'montserratregular';
    font-size: 1.2em;
    line-height:1.1em;
}

.titre.big {
    font-size:2.4em;
}

.texte img {
    max-width:100%;
    height: auto;
}

.texte {
    font-family: 'montserratlight';
    font-size:15px;
}

.texte h3 {
    font-family: 'montserratregular',sans-serif;
    font-size: 1.3em;
    margin-top:2em;
}

.texte.big {
    font-size:17px;
}

.texte.fat {
    font-family: 'montserratregular', sans-serif;
}

.texte.mini {
    font-size:14px;
}

.texte.tiny {
    font-size:11px;
    font-family: 'montserratlight',sans-serif;
}

.texte-info {
    font-family: 'montserratregular', sans-serif;
    font-size:12px;
    color:#222;
    margin:4px 0;
}

.texte strong, .texte b {
    font-family: 'montserratregular',sans-serif;
}

.texte p {
    margin:0 0 1em 0;
}

.texte .spip_documents.spip_documents_center {
    text-align: center;
}

.texte .spip_documents img {
    max-width:100%;
}

.texte figcaption p {
    font-size:0.7em;
    text-align: center;
    margin:0.5em 0 1em 0;
}

code {
    font-size:14px;
    padding:10px;
    background-color:#efefef;
    border:1px solid #ddd;
    border-radius:4px;
    display:block;
}

table code {
    font-size:10px;  
}

iframe {
    width:100%;
    min-height:450px;
}

.spip_documents {
    margin:1em 0;
    display: block;
}

.spip_documents img {
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}

.bloc-admin {
    background-color: rgb(253, 250, 250);
    border: 1px solid #ededed;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    padding:10px;
    margin-bottom:30px;
}

h3 {
    font-family: 'montserratregular';
}

.liste {
    padding-top:6px;
}

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

.galerie {
    margin:5px -5px 0 -5px;
}
.galerie a {
    padding:5px;
    width:33.3333%;
    box-sizing: border-box;
}

.spip_logo {
    vertical-align: baseline;
    padding-right:4px;
}

/* footer */
.separator-top {
    border-top: 1px solid #d6d6d6;
    margin:0 30px;
}

footer {
    font-family: 'montserratregular',sans-serif;
}

footer .wrapper {
    color:#666;
}

footer .separator-top {
    border-top: 1px solid #d6d6d6;
    margin:0 30px;
}

footer h4 {
    padding-bottom:12px;

}

footer a {
    color:#222;
}

.texte table {
    font-family: 'montserratregular',sans-serif;
    font-size:10px; 

}
.texte td {
    padding:2px;
    vertical-align: top;

}
.texte tr td:first-child {
    font-family: 'montserratbold',sans-serif;
    word-break: keep-all;
    width: 12em;
    vertical-align: top;
}

table.horaire {
    width:100%;
    border-collapse: collapse;
    margin: 1em 0;
}

table.horaire td {
    border: 1px solid;
}
table.horaire .pause {
    text-align: center;
    background-color: #eee;
}
table.horaire .hdate {
    font-size:14px;
    border:0;
}

table.horaire td:first-child {
    min-width:50%;
}
table.horaire .hsep {
    border-top: 2px solid #000;
}


.texte tr {
    border-top: 1px solid #000;
}

.texte tr:first-child {
    border-top:0;
}

#formulaire_recherche label {
    font-family: 'montserratbold',sans-serif;
    text-transform: uppercase;
}

#formulaire_recherche input[type="text"] {
    border:1px solid #999;
    padding:3px;
    min-width:20em;
}

#formulaire_recherche input[type="submit"] {
    border:0;
    background-color:#e5e5e5;
    border-radius:4px;
    color:#222;
    padding:0 1em;
    padding:3px 8px;
}



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

.galerie_embed {
    margin:0 0 2em 0;
}

.galerie_embed li {
    padding:4px;
    width:20%;
    -webkit-box-sizing: border-box; /
    -moz-box-sizing: border-box;    
    box-sizing: border-box;   
}

.galerie_embed img {
    border:1px solid #ddd;
}

.galerie_embed img:hover {
    border:1px solid #bbb;
}

/* ==========================================================================
Systeme de colonne - stephane
========================================================================== */
.fleft {
    float:left;
}

.fright {
    float:right;
}

.flexit {
    -webkit-flex-direction: row; /* Safari */
    flex-direction:         row;
    display: -webkit-flex; /* Safari */
    display: flex;
    flex-wrap: wrap;
}

.gridit {
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}

.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+ */
}

.colonne.no-retrait-lat, .no-retrait-lat {
    padding-left:0;
    padding-right:0;
}

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

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

.sep-bottom {
    margin-bottom:1em;
}

.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, .padlat {
    padding:0 30px;
}

.colonne.minipad {
    padding:15px 30px;   
}

.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 {
    padding-top:0;
    margin-top:0;
}

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

.clearit {
    clear:both;
}



/* ==========================================================================
Media Queries
========================================================================== */

@media only screen and (max-width: 699px) {
    #wrapper {
        border-width:5px;
    }
    #main-header {

    }

    #small-nav {
        width:100%;
    }
    .baseline-image {
        text-align: center;
    }
    .baseline-text div {
        padding-right: 30px;
        text-align: center;
    }

    header h1 {
        line-height: 1em;
        font-size: 3.5em;
    }

    #smallnav {
        text-align: center;
        float:none;
    }

    .navbar-header {
        display:block;
        padding: 10px 0;
    }

    .navbar-toggle {
        display:block;
    }

    .navbar-nav {
        height:0%;
        display:none;
        transition: height 1s linear;
        text-align:center;
        clear:both;
    }

    .navbar-nav.show {
        display: block;
    }

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

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

    .navbar-nav li, .navbar-nav {
        float:none;
        width:100%;
    }

    .navbar-nav li a {
        font-size:20px;
        margin-right:0;
    }

    .dropdown-menu {
        display:block;
        width:100%;
        position:static;
        background-color: rgba(230, 230, 230, 0.84);
        padding:0;
        margin-bottom:6px;
    }

    .navbar-nav .dropdown-menu li a {
        background-color: transparent;
        border-bottom:0;
        font-size:16px;
    }

    .navbar-nav .dropdown-menu li a:hover {
        background-color:rgba(255, 255, 255, 0.28);
    }





    .colonne {
        padding:25px;
    }

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

    .projets .flex {
        display: block;
    }

    .gridit {
        display:grid;
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
}

@media print {
    #main-header, footer,sidebar,.soustitre {
        display:none;
    }
    #presentation.colonne.deuxtiers {
        width:100%;
    }
}

/* ==========================================================================
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;
    }
}