/*! 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 #999;
    margin: 0;
    padding: 0;
}

hr.dashed {
    border-top:1px dashed #999;
}
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;
}

h1, h2, h3,h4,h5,h6 {
    font-weight:normal;
    margin:0 0 0.2em 0;
    color:#000;
}

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

img.fitit {
    width: 100%;
    aspect-ratio: 10 / 7;
    object-fit: cover;
}

#spip-admin.spip-admin-bloc, body .spip-admin-float {
    z-index: 10000;
    bottom:0;
    top:auto;
}

.spip_documents img {
    max-width:100%;
}
.spip_documents_center {
    padding:1em 0;
    text-align: center;
    display: block;
}
.spip_documents_left {
    padding:1em 1em 1em 0;
}
.spip_documents_right {
    padding:1em 0 1em 1em;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}


/*

cursus (2022)
*/
.cursus-ue-main {
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 2px dotted #000;
}

.cursus-ue-header, .cursus-aa-header {
    cursor: pointer;
}
.cursus-ue-header:hover .cursus-libelle, .cursus-aa-header:hover .cursus-aa-titre {
    text-decoration: underline;
}
.cursus-ue-header {
    display: flex;
    color: #00f;
    font-size:17px;
    font-family: 'hk_groteskmedium',courier, Arial, sans-serif;

}
.cursus-ue-code {
    width:15%;
}
.cursus-ue-sep {
    width:3%;
    margin-right:3%;
    text-align: right;
}
.cursus-libelle {
    width:55%;
    text-transform: uppercase !important;

}
.cursus-credits {
    width:24%;
    text-align: right;
}

.cursus-ue-contenu, .cursus-aa-contenu {
    display: none;
}
.cursus-ue-contenu.show, .cursus-aa-contenu.show {
    display: block;
}
.cursus-titrequadri {
    font-size: 17px;
    font-family: 'hk_groteskmedium',courier, Arial, sans-serif;
    padding-bottom: 0.2rem;
    margin-bottom: 0.4rem;
    line-height: 1;
    text-transform: uppercase !important;
    color: #00f;
    border-bottom: 2px dotted #00f;
}
.cursus-contenuquadri {
    margin-bottom: 3rem;
}

.cursus-retrait {
    margin-left:21%;
    font-family: 'LatinModernMonoPropLight10Rg', Arial, sans-serif;
    margin-bottom: 1rem;
}
.cursus-titre {
    margin-left:21%;
    font-family: 'hk_groteskmedium',courier, Arial, sans-serif;
}
.cursus-texte {
    font-family: 'LatinModernMonoPropLight10Rg', Arial, sans-serif;
    margin-bottom: 1rem;
}

.cursus-aa-header {
    display: flex;
    font-family: 'hk_groteskmedium',courier, Arial, sans-serif;
}
.cursus-aa-sep {
    width:18%;
    margin-right:3%;
    text-align: right;
}

#pdf_renderer {
    position: absolute;
    cursor: grab;
}
#grille-conteneur.grille-hide {
    display:none;
}

#canvas-conteneur {
    width:100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow:hidden;
    position: relative;
}
#grille-controls {
    display: flex;
    justify-content: flex-end;
}
#grille-controls div, #grille-controls a {
    padding:0 4px;
    cursor: pointer;
}
#grille-controls div:hover, #grille-controls a:hover {
    color: #000;
}




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

/* couleur et typo */
a, .bleu, .puce, #reseaux a,.tabletitre td, .bleu a, a.bleu, .blacklink a.bleu .pseudolink.bleu {
    color:#00f;
}
.pseudolink {
    cursor: pointer;
}
a:hover, .pseudolink:hover {
    color:#00f;
    text-decoration: underline;
}
.news-info a:hover {
    text-decoration: none;
}
.bgbleu, .big-button, li.actuel {
    background-color: #00f;
}

.titre.fondbleu {
    color:#fff;
}
.fondbleu span, .fondbleu a {
    background-image:url(bg-bleu.gif);
    background-position: 0 6px;
    background-repeat: repeat-x;
    padding:0 2px;
    color:#fff;
}

body, h1, h2, h3,h4,h5,h6, .titre {
    font-family: 'hk_groteskregular', 'courier new',courier, Arial, sans-serif;
}
header h3 {
    text-transform: lowercase;
}
.texte p {
    margin: 0 0 1em 0;
}
.texte {
    font-family: 'LatinModernMonoPropLight10Rg', Arial, sans-serif;
}
.texte.hk, .titre.hk {
    font-family: 'hk_groteskregular',courier, Arial, sans-serif;
}
.texte.hkmed, .titre.hkmed {
    font-family: 'hk_groteskmedium',courier, Arial, sans-serif;
}
.texte.hkbold, .titre.hkbold {
    font-family: 'hk_grotesksemibold',courier, Arial, sans-serif;
}
.chapeau, .chapeau p, .texte b {

    /* ici en latin gras */

    font-family: 'LatinModernMonoPropLight10Rg', Arial, sans-serif;
    font-weight:bold;
}
.texte strong {
    font-family: 'hk_groteskmedium',courier, Arial, sans-serif;
    color:#00f;
    font-weight: normal;
}
.texte b {
    font-family: 'LatinModernMonoLight10Bold';
    font-weight: normal;
}
.uppercase {
    text-transform: uppercase !important;
}
#nav-principale {
    font-family: 'hk_groteskmedium', 'courier new',courier, Arial, sans-serif;
}
#cadre.colonne {
    font-family: 'LatinModernMonoPropLight10Bd','courier new',courier,Arial,sans-serif;
}
.soustitre {
    font-family: 'hk_groteskregular','courier new',courier,Arial,sans-serif;
}
.blacklink a {
    color:#222;
}
.blacklink a:hover {
    text-decoration:none;
    border-bottom:1px solid #00f;
}
#cadre li a, #chemin a, #contenu-secondaire a {
    color:#000;
}

aside .actuel:before {
    content: "— ";
} 

hr {
    border-top: 1px dotted #111;
}

/* let's go */
body {
    margin:0;
    padding:0;
    background-color:#fff;
    color:#111;
}

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

#liste-news, #liste-news li {
    list-style-type:none;
    margin:0;
}
#liste-news {
    padding:0;
}


#wrapper {
    max-width:1100px;
    position: relative;
    padding:20px;
    margin:0 auto;
}

a {
    text-decoration: none;
}

/* - - - - - header - - - - - */

#baseline {
    border-left:1px dotted #111;
    font-size: 20px;
    line-height: 1.2;
}
#reseaux {
    position: absolute;
    right: 20px;
    bottom: -52px; /* -47px */
    z-index: 900;
}
#reseaux li {
    float: right;
    margin: 0 4px 4px 0;
}
#reseaux a {
    opacity: 0.8;
    font-size: 20px;
}
#reseaux a:hover {
    opacity: 1;
}
#main-header {
    margin-bottom:10px;
    position: relative;
}
header h1 {
    line-height: 1em;
    font-size: 3.5em;
}
header h1 img {
    width:96%;
}
section#content-header, header#content-header  {
    padding-top:14px;
    padding-bottom: 10px;
}

/* navigation principale */
#nav-principale {
    font-size:20px;
    line-height: 1.2;
}
#nav-principale li {

}
#nav-principale a {
    text-decoration: none;
}

.navbar-header {
    display:none;
    position: fixed;
    right:30px;
    top:30px;
    opacity:0.8;
    font-size:30px;
}

#nav-logo {
    display: none;
    margin-bottom:0.7em;
}

#nav-close {
    position:absolute;
    right:20px;
    top: 20px;
    z-index:2000;
    display:none;
}

#nav-close a:hover {
}

#nav-logo img {
    height:70px;
    width:auto;
}

.navbar-nav {
    transition: height 1s linear;
    text-align:left;
}

button.navbar-toggle {  
    border: 0;
    background-color: transparent;
    color: #00f;
    height: 45px;
    padding-bottom: 1px;
}

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

#nav-principale.open .navbar-nav {
    display:block
}
#cadre.colonne {
    display:none;
    position:absolute;
    left:0;
    margin-top:6px;
    z-index:200;
    font-size: 14px;

    text-align: left;
    padding:27px 40px 0 40px;
}
#cadre ul {
    background-color:rgba(255, 255, 255, 0.9);
}

#cadre ul.valves {
    text-align: right;
}

#cadre ul.vertical-sep {
    border-left:1px solid #999;

}
#cadre li {
    display:block;
    float:none;
}



/* titres, textes, etc */

#chemin {
    font-size: 14px;
    padding-bottom:4px;
}

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

h2 {
    font-size: 27px;
    line-height: 1.1em;
}

.titre {
    font-size: 25px;
    margin-bottom: 0.2em;
    line-height: 1;
    text-transform: lowercase;
}
.titre.huge {
    font-size: 55px;
}
.titre.big {
    font-size: 38px;
}
.titre.medium {
    font-size: 30px; 
}
.titre.small {
    font-size: 21px; 
}
.titre.tiny {
    font-size: 17px; 
}

.soustitre {
    margin-top: 1em;
    font-size: 14px;
    line-height: 18px;
    color: #111;
}

.big-icon {
    font-size: 58px;
    margin-bottom: 6px;
    margin-top: 6px;
}
.medium-icon {
    font-size: 38px;
    margin-bottom: 12px;
    margin-top: 6px;
    height: 38px;
}
.medium-icon img {
    max-height: 100%;
}

.texte.subtitle {
    margin-top:2px;
}

.texte.huge {
    line-height: 1.42em;
    font-size: 55px;
}
.texte.small {
    line-height: 1.42em;
    font-size: 16px;
}

.texte.mini {
    line-height: 1.4em;
    font-size: 15px;
}

.texte.tiny {
    font-size: 12px;
}

#ico-anciens {
    float: left;
    margin-right: 8px;
}

.listagelogo {
    float: left;
    margin: 0 10px 5px 0;
}

.galerie article.colonne:nth-child(4), #galerie4.colonne.quart {
    width:24.5%;
}

.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;
    max-width: 100%;
}

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


/* bloc des news - - - - - - - - -*/
.news {
    position:relative;
}
.news li {
    margin-bottom:10px;
    cursor: pointer;
    background-color:#fff;
    list-style-type: none;
}
.news li a {
    height:inherit;
    width:inherit;
    display:block
}

.news .texte {
    line-height:1em;
}
.news .new-logo {
    transition-property: opacity;
    transition-duration: 0.5s;
    opacity:1;
}
.news .new-logo img {
    margin:0 0 0 auto;	
}

.news li .news-info {
    opacity:0;
    position:absolute;
    top:0;
    left:0;
    padding:50px 60px 0px 60px;
    color:#fff;
    transition-property: opacity;
    transition-duration: 0.5s;
}

.news li .news-info h4 {
    text-decoration: underline;   
}
.news li:hover .news-info {
    opacity:1;
}
.news li:hover .new-logo {
    opacity:0.3;
}
#news.colonne {
    padding-top:44px;
}
.bx-controls {
    position: absolute;
    top: -36px;
    width: 100%;
}
.cursus-slider .bx-controls {
    position: static;
}
#news .bx-wrapper {
    margin-bottom:0;
    
}

.bx-wrapper {
    margin-bottom:0;
}


.bx-wrapper .bx-pager {
    text-align: left;
    
}

.bx-wrapper .bx-pager.bx-default-pager a {
    width:12px;
    height:12px;
    border-radius: 50%;
    background: #DADAFF;
}
.bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus, .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #00F;
}

.bx-wrapper img {
    width: 100%;
}

#slides {
    margin-top:-14px;
    height: 280px;
    overflow:hidden;
}
#slides.loaddone {
    height: auto;
    overflow: auto;
}

#slides li {
   opacity: 0;
    transition: 0.3s linear opacity;
}

#slides.loaddone li {
   opacity: 1;
}

.bx-controls-direction {
    text-align:right;
}

.bx-wrapper .bx-controls-direction a {
    margin-top: 0;
    width: 9px;
    height: 12px;
    background: #DADAFF;
    display:inline-block;
    position: static;

}
.bx-wrapper .bx-controls-direction a:hover {
    background: #00f;
}
.bx-wrapper .bx-prev {
    background-image: none;
    right: 20px;
    border-bottom-left-radius: 24px;
    border-top-left-radius: 24px;
}

.bx-wrapper .bx-next {
    background-image: none;
    right: 10px;
    margin-left:2px;
    border-bottom-right-radius: 24px;
    border-top-right-radius: 24px;
}

#newsband.colonne {
    padding-top: 14px;
    padding-bottom: 14px;
}

#newsband .bx-wrapper .bx-pager {
margin-left: 5em;
}
#newsband .bx-viewport {
    height:0;
    overflow: hidden;
}

/* comportement des tables */

table { 
    font-size: 13px;
    border-spacing: 0;
    width: 99%;
}

.tdcours {
    font-size: 13px;
    vertical-align: top;
}

#grillecours .tdcours {
    width: 52%;
}
#grillecours .tdprofs {
    width:32%;	
}

.tdcours a, .tdprofs a {
    color:#000;	
}

.tdheures, .tdects {
    text-align: center;
}

td {
    /*background-color: white;*/
    padding: 6px;
}

.tdsep {
    background-color: #fcfcfc;
}

.tabletitre td {
    font-size: 13px;
    font-weight: bold;
    color: #666;
    letter-spacing: 0.1em;
    padding: 20px 0 2px 0;
}

.tabledetail td {
    border-top: 1px solid #666;
    border-spacing: 1px;
    background-color: #ddd;
    color: #666;
    padding: 3px 6px;
    font-weight: bold;
    font-size:1.3em;
}

.tddetail-annee {
    padding-top: 30px;
    font-size: 12px;
    padding-bottom: 4px;
    text-transform: uppercase;
    color: #333;
}

/* liste des profs */
#listeprofs .tdcours {
    width:30%;
}

#listeprofs td {
    border-bottom: 1px solid #ccc;
}

/* agregation */

.pageagregation .tabletitre td {
    letter-spacing: 0;
}

.tabletitren1 td {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    padding: 18px 0 2px 0px;
    border-bottom: 1px solid #666;
}

.tabletitren2 td {
    font-size: 10px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    padding: 12px 0 0 0;
    text-transform: uppercase;
}

#search_input {
    border:1px solid #999;
    padding:3px;
    display:block;
    width:90%;
}

#popup #wrapper {
    padding: 0;
}

.big-button {
    display: inline-block;
    position: relative;
    margin: 10px 0;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    font: bold 24px/28px 'LatinModernMonoPropLight10Rg', sans-serif;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(255,255,255, .22);

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;

    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);
    box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);

    -webkit-transition: all 0.15s ease;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    -ms-transition: all 0.15s ease;
    transition: all 0.15s ease;
}

.pmain {
    display: inline-block;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(255,255,255, .22);
    text-decoration: none;
    padding: 0px 12px;
    background-color: #00f;
    border-radius: 20px;
}

.pmain:hover {
    color:#fff;
    background: #0000ba;
    text-decoration: none;
}

.pmain:before {
    font-family: 'FontAwesome';
    content: "\f0a4";
    padding-right: 5px;
    font-weight: normal;
}

.big-button:before {
    font-family: 'FontAwesome';
    content: "\f0a4";
    padding-right: 5px;
    font-weight: normal;
}

.big-button div {
    padding:6px;   
}
.big-button:hover {
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.29), inset 0px 0px 2px rgba(0,0,0, .5);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,.29), inset 0px 0px 2px rgba(0,0,0, .5);
    box-shadow: 1px 1px 1px rgba(0,0,0,.29), inset 0px 0px 2px rgba(0,0,0, .5);
    color:#fff;
    background: #0000ba;
    text-decoration: none;
}

#pdf-viewer {
    position:relative;
}
#pdf-frame {
    border:0;
}
#full {
    position:absolute;
    bottom:30px;
    left:30px;
    padding:8px 12px;
    border-radius:10px;
    background-color:#fff;
    cursor:pointer;
}

.hide {
    display:none;
}

.wait {
    opacity: 0.4;
    filter: blur(2px);
}

/* ==========================================================================
Systeme de colonne - stephane
========================================================================== */
.flexit {
    -webkit-flex-direction: row; /* Safari */
    flex-direction:         row;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
}
.retrait {
    padding:20px; 
    -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 20px; 
    -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:20px;
}
.retrait-bottom {
    padding-bottom:20px;
}
.marge-top {
    margin-top:1em;
}
.marge-top-half {
    margin-top:0.5em;
}
.marge-top-double {
    margin-top:2em;
}
.marge-bottom, ul.cleanlist.marge-bottom, .cleanlist li.marge-bottom, #liste-news.marge-bottom {
    margin-bottom:1em;
}
.marge-bottom-half, ul.cleanlist.marge-bottom-half, .cleanlist li.marge-bottom-half {
    margin-bottom:0.5em;
}
.marge-bottom-double {
    margin-bottom:2em;
}
.marge-agreg {
    margin-bottom:2.5em;
}
.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 20px;
}
.colonne.padtopbot {
    padding:20px 0;
}
.colonne.minipad {
    padding:10px 20px;   
}
.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:20px;
}
.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, .notop {
    padding-top:0;
    margin-top:0;
}
.colonne.nobottom, h2.nobottom, .retrait.nobottom, .nobottom {
    padding-bottom:0;
    margin-bottom:0;
}
.fleft {
    float:left;
}
.fright {
    float:right;
}

/* PDF frame */
.pdf-bar {
    justify-content: space-between; 
}

.grid-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2em 1.5em;
    align-items: center;
    grid-gap: 0 1rem;
}
.grid-smallbar {
   display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    grid-gap: 0 1rem; 
    padding: 0 0.5em;
    background-color: #fff;
}
.grid-bar button, .grid-smallbar button {
    border-radius: 0;
    background-color: transparent;
    opacity:0.9;
    border:0;
}
.grid-bar button:hover, .grid-smallbar button:hover {
    opacity:1;
}
#pdf-frame {
    width:100%;
    box-sizing: border-box;
    background-color: rgba(255,255,255,0.95);
    padding:0;
    margin-bottom: 1em;
}
#pdf-frame.fullscreen #pdf-viewer {
    height: 100%;
}
#pdf-frame #close-viewer {
    display:none;
}
#pdf-frame.fullscreen #close-viewer {
    display:inline;
}

#pdf-frame.fullscreen #fullscreen-viewer {
    display:none;
}
#pdf-frame.fullscreen hr {
    display:none;
}

#pdf-viewer {
    width: 100%;
    aspect-ratio: 1.41 / 1;
    overflow:auto;
    position:relative;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
#pdf-render {
    position: relative;
    margin:0 auto;
    display: block;
    
}

#pdf-frame #error {
    display:none;
}

/* ==========================================================================
Media Queries
========================================================================== */
@media only screen and (max-width: 1050px) {
    #baseline {
        font-size:16px;
    }
    #nav-principale {
        line-height:1.2;
        font-size: 17px;
    }
}

@media only screen and (max-width: 980px) {

    #nav-principale {
        padding-top:0;
        float:none;
        clear:left;
        position: relative;
    }
    #main-header h1 img {
        height:80px;
        width:auto;
    }

    #cadre.colonne {
        margin-top:0;
        padding-top:21px;
    }

    /* nav */
    #main-header h1.colonne.tiers, #baseline {
        width:50%;
    }

    .navbar-header, #nav-logo, #nav-close { 
        display:block;
    }
    #nav-content {
        position:fixed;
        top:0;
        bottom:0;
        overflow:auto;
        left:-100%;
        background-color:rgba(255, 255, 255, 0.98);
        z-index:1000;
        transition: left 0.4s linear;
        width: 100%;
        padding:40px 10px;
        box-sizing: border-box;
    }
    .open #nav-content {
        left:0%;
    }
    .navbar-nav {
        border-bottom: 0;
        width:100%;
    }
    #nav-principale li {
        padding:2px 0; 
        font-size:20px;
        margin-right:0;
    }
    #cadre ul.valves {
        padding-top:1em;
        padding-bottom:30px;
    }
    .dropdown-toggle {
        font-size:20px;
    }
    #cadre ul.vertical-sep {
        border-left: 0;
    }
    #nav-principale #cadre {
        padding:0.5em 0 0 0;
    }
    #nav-principale #cadre li {
        font-size:16px;
    }
    .navbar-nav ul.colonne.demi {
        width:100%;
    }
}

@media only screen and (max-width: 800px) {
    #wrapper {
        border-width:5px;
    }
    #main-header {
        position:relative;
    }
    header h1 {
        text-align:left;
        line-height: 1em;
        font-size: 3.5em;
    }
    .colonne {
        padding:25px;
    }
    .colonne.tiers, .colonne.deuxtiers, .colonne.demi, .colonne.quart, .colonne.troisquart, .colonne.cinquieme, .colonne.deuxcinquiemes, .colonne.troiscinquiemes, .colonne.quatrecinquiemes, 
    nav li  {
        width:100%;
    }

    .news.colonne.troiscinquiemes,news.colonne.deuxcinquiemes, {
        width:50%;
    }
    .projets .flex {
        display: block;
    }

    #cadre ul {
        padding:0 20px; 
    }
    #cadre.colonne {
        margin-top:0;
        padding:0;
        text-align: center;
    }
    #cadre ul.valves {
        text-align: center;
    }
    .texte.huge, .titre.huge {
        font-size:38px;
    }
    .news li .news-info {
        padding:20px 20px 0 20px;
    }

    #liste-news img.adapt {

        width: 100%;
        padding-bottom:1em;
    }

}

}
@media only screen and (max-width: 670px) {
    #baseline { display: none;}
    #main-header h1.colonne.tiers {
        width:auto;
        margin-right:30px;
    }
    .texte.huge, .titre.huge {
        font-size:28px;
    }
}

@media only screen and (max-width: 570px) {
    #slides {
        margin-top:0;
    }
    #wrapper {
        padding:0;
    }
    .news.colonne.troiscinquiemes,news.colonne.deuxcinquiemes, {
        width:100%;
    }
    .colonne.deuxcinquiemes.new-logo {
        padding:20px;
    }
    .colonne.deuxcinquiemes.new-logo img{
        margin: 0 Auto;
    }
    .texte.huge, .titre.huge {
        font-size:21px;
    }
    .news li .news-info {
        padding:14px 14px 0 14px;
    }
}

/* ==========================================================================
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,
    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;
    }
    .cursus-ue-contenu, .cursus-aa-contenu {
        display:block;
    }
    .navbar-nav, #reseaux, aside, .printnone {
        display:none;
    }
    .tiers, .deuxtiers {
        width:100%;
    }
}