
body {
    background-color:#666666;
    margin:0px;
}
a:link {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:none;
}
a:visited {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:none;
}
a:hover {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:underline;
}

img {
border: none;
}
p {
margin-top:0;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
line-height:1.2em;
color:#666666;
}

#main {
    margin:auto;
    width:1000px;
}
.topbottom {
    width:1000px;
    height:50px;
    background-color:#333333;
}
#banniere {
    position:relative;
    width:1000px;
    height:200px;
    background-image:url(images/banniere_perso.jpg);
    background-color:#999999;
}
#dateheure {
    position:absolute;
    font-family:Arial, Helvetica, sans-serif;
    color:#333333;
    font-size:15px;
    right:20px;
    text-align:right;
    margin:0;
    top:70px;
}

#trait {
    position:absolute;
    width:1000px;
    height:1px;
    background-color:#ffffff;
    top:179px;

}
#treescontainer {
    position:relative;
    width:1000px;
    height:20px;
    top:180px;
    height:20px;

}

#treeliensgauche {
    position:absolute;
    /*width:200px;*/
    left:250px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:11px;
    margin:0;
    height:20px;
    line-height:20px;
}
#treeliensdroite {
    position:absolute;
    height:20px;
    /*right:20px;*/
    left:780px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:11px;
    margin:0;
    line-height:20px;
}


#content {
    position:relative;
    width:1000px;
    min-height:580px;
    font-family:Arial, Helvetica, sans-serif;
    /*color:#fff;*/
    font-size:11px;
    line-height:20px;
    background-color:#ffffff;
    margin:0;
}
#blocgauche {
    position:absolute;
    min-height:580px;
    width:200px;
    /*background-color:#000000;*/
    left:20px;
    float:left;
}
#blocrub {
    position:absolute;
    height:298px;
    top:19px;
    width:200px;
    overflow:auto;
    /*background-color:#999999;*/
}
#blocentree0 {
    position:absolute;
    height:110px;
    top:334px;
    width:200px;
    /*background-color:#cccccc;*/
}
#blocapplications {
    position:absolute;
    height:110px;
    top:444px;
    width:200px;
    /*background-color:#000000;*/
}
#bloccentre {
    position:absolute;
    min-height:580px;
    width:500px;
    /*background-color:#000000;*/
    left:250px;
}
#bloccentrerub {
    position:absolute;
    min-height:580px;
    width:750px;
    /*background-color:#000000;*/
    left:250px;
}
#bloccontentrub {
    position:absolute;
    height:507px;
    width:700px;
    /*background-color:#ff0000;*/
    top:46px;
    left:10px;
    overflow:auto;
    /*margin-right:10px;*/
}
#slider {
    position:absolute;
    height:279px;
    width:500px;
    background-color:#000000;
    top:38px;
}
#blocentree2 {
    position:absolute;
    height:220px;
    width:500px;
    /*background-color:#333333;*/
    top:334px;
}
#actu1 {
    position:relative;
    top:11px;
    height:80px;
    margin:0;
    padding:0;
    margin-bottom:28px;
}
#actu2 {
    position:relative;
    top:11px;
    height:80px;
}
.titreactu {
    font-size:15px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    left:89px;
    top:-2px;
}
.dateactu {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:0px;
    top:-2px;
    font-style:italic;
}
a.contentactu:link {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    left:89px;
    top:28px;
    line-height:1.2em;
    text-align:justify;
    width:411px;
    text-decoration:none;
}
a.contentactu:visited {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    left:89px;
    top:28px;
    line-height:1.2em;
    text-align:justify;
    width:411px;
    text-decoration:none;
}
a.contentactu:hover {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    left:89px;
    top:28px;
    line-height:1.2em;
    text-align:justify;
    width:411px;
    text-decoration:underline;
}
a.voirlesarchives:link {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:40px;
    top:20px;
    text-decoration:none;
}
a.voirlesarchives:visited {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:40px;
    top:20px;
    text-decoration:none;
}
a.voirlesarchives:hover {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:40px;
    top:20px;
    text-decoration:underline;
}
a.billetsuiv:link {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:0px;
    text-decoration:none;
}
a.billetsuiv:visited {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:0px;
    text-decoration:none;
}
a.billetsuiv:hover {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    right:0px;
    text-decoration:underline;
}
a.billetprec:link {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:none;
}
a.billetprec:visited {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:none;
}
a.billetprec:hover {
    font-size:11px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:underline;
}
#imgactu {
    padding-right:10px;
    float:left;
}
#contentactu2 {
    position:relative;
    padding-top:30px;
}
#blocdroite {
    position:absolute;
    min-height:580px;
    width:200px;
    /*background-color:#000000;*/
    left:780px;
}
#blocentree1 {
    position:absolute;
    height:298px;
    top:19px;
    width:200px;
    /*background-color:#cccccc;*/
}
#blocentree3 {
    position:absolute;
    height:220px;
    top:334px;
    width:200px;
    /*background-color:#cccccc;*/
}
#footera {

    width:1000px;
    height:20px;
    background-color:#333333;
}
#footerb {

    width:1000px;
    height:1px;
    background-color:#ffffff;
}
#footerc {
    position:relative;
    width:1000px;
    height:179px;
    background-color:#999999;
    /*text-align:center;*/
    overflow:hidden;
}
#blocentree5 {
    position:absolute;
    height:130px;
    top:18px;
    width:200px;
    /*background-color:#cccccc;*/
    left:20px;
}
#blocnuage {
    /*position:absolute;
    height:130px;
    top:18px;
    width:500px;*/
    /*background-color:#cccccc;*/
    /*left:250px;*/

    position:relative;
    height:130px;
    top:18px;
    width:900px;
    /*background-color:#cccccc;*/
    left:50px;
    text-align:center;
}

a.tag_cloud:link {
    font-family:Arial, Helvetica, sans-serif;
    color:#ffffff;
    text-decoration : none;
    font-weight : normal;
    text-transform:lowercase;
}

a.tag_cloud:visited {
    font-family:Arial, Helvetica, sans-serif;
    color:#ffffff;
    text-decoration : none;
    font-weight : normal;
    text-transform:lowercase;
}

a.tag_cloud:hover {
    font-family:Arial, Helvetica, sans-serif;
    color:#ffffff;
    text-decoration : underline;
    font-weight : normal;
    text-transform:lowercase;
}

#blocentree6 {
    position:absolute;
    height:130px;
    top:18px;
    width:200px;
    /*background-color:#cccccc;*/
    left:780px;
}
#bottom {
    position:relative;
    width:1000px;
    height:50px;
}
#copyright {
    position:absolute;
    font-family:Arial, Helvetica, sans-serif;
    font-size:11px;
    /*right:20px;*/
    left:780px;
    line-height:50px;
}
#fleche {
    margin-left: auto;
    margin-right: auto;
    width:14px;
    height:10px;
    margin-top:0;
    margin-bottom:0;
    padding:0;
}

#replier {
    cursor:pointer;
    display:block;
    /*margin:0;
    padding:0;*/
}

a.treelink:link {
    font-family : Arial, Helvetica, sans-serif;
    color : #333333;
    font-size : 11px;
    text-decoration : none;
    font-weight : normal;
}

a.treelink:visited {
    font-family : Arial, Helvetica, sans-serif;
    color : #333333;
    font-size : 11px;
    text-decoration : none;
    font-weight : normal;
}

a.treelink:hover {
    font-family : Arial, Helvetica, sans-serif;
    color : #333333;
    font-size : 11px;
    text-decoration : underline;
    font-weight : normal;
}

ul#accordion-slider{
 margin: 0;
 padding: 0;
 list-style: none;
 position: relative;
}
ul#accordion-slider li{
 display: block;
 overflow: hidden;
 padding: 0;
 float: left;
 width: 166px;
 height: 279px;
 cursor:pointer;
}

.titre {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 15px;
    text-decoration : none;
    font-weight : bold;
    color:#666666;
    margin:0;
    position:relative;
    top:-4px;
}
.titreblanc {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 15px;
    text-decoration : none;
    font-weight : bold;
    color:#ffffff;
    margin:0;
    position:relative;
    top:-4px;
}
.titrehr {
    margin:0;
    padding:0;
    background-color: #cccccc;
    height: 1px;
    border: 0;
}
.titre2 {
    position:absolute;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 15px;
    text-decoration : none;
    font-weight : bold;
    color:#666666;
    margin:0;
    position:relative;
    top:15px;
    left:10px;
    width:740px;
}
.titrehr2 {
    position:absolute;
    left:10px;
    background-color: #cccccc;
    height: 1px;
    border:0px;
    width:700px;
    top:39px;
}

.menu {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    text-decoration : none;
    color:#666666;
    margin-top:3px;
    margin-bottom:0;
    margin-left:0;
    padding:0;
    list-style: none;
}
.menuplan {
    position:relative;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    text-decoration : none;
    color:#666666;
    margin:0;
    padding:0;
    top:-3px;
    list-style: none;
}
ul.sousmenu li {
    list-style: none;
}
a.linkmenu:link {
    font-family : Arial, Helvetica, sans-serif;
    color : #666666;
    font-size : 11px;
    text-decoration : none;
    font-weight : normal;
}

a.linkmenu:visited {
    font-family : Arial, Helvetica, sans-serif;
    color : #666666;
    font-size : 11px;
    text-decoration : none;
    font-weight : normal;
}

a.linkmenu:hover {
    font-family : Arial, Helvetica, sans-serif;
    color : #666666;
    font-size : 11px;
    text-decoration : underline;
    font-weight : normal;
}
a.linkmenubold:link {
    font-family : Arial, Helvetica, sans-serif;
    color : #666666;
    font-size : 11px;
    text-decoration : none;
    font-weight : bold;
}

a.linkmenubold:visited {
    font-family : Arial, Helvetica, sans-serif;
    color : #666666;
    font-size : 11px;
    text-decoration : none;
    font-weight : bold;
}

a.linkmenubold:hover {
    font-family : Arial, Helvetica, sans-serif;
    color : #666666;
    font-size : 11px;
    text-decoration : underline;
    font-weight : bold;
}

a.linkcopy:link {
    font-family : Arial, Helvetica, sans-serif;
    color : #ffffff;
    font-size : 11px;
    text-decoration : none;
    font-weight : normal;
}

a.linkcopy:visited {
    font-family : Arial, Helvetica, sans-serif;
    color : #ffffff;
    font-size : 11px;
    text-decoration : none;
    font-weight : normal;
}

a.linkcopy:hover {
    font-family : Arial, Helvetica, sans-serif;
    color : #ffffff;

    text-decoration : underline;
    font-weight : normal;
}

#inputrechercher {
    position:relative;
    background-image:url('images/bg_input.png');
    background-repeat:no-repeat;
    padding-left:10px;
    margin:0;
    height:20px;
    top :10px;

}
#chainerecherche {
    position:absolute;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    border:none;
    height:18px;
    width:170px;
    margin:0;
    padding:0;
    top:1px;
    color:#666666;
    background-color:#ffffff;
}
 #subchainerecherche {
    position:absolute;
    border:0;
    height:20px;
    width:24px;
    margin:0;
    background-image:url('images/submit_rech.png');
    background-repeat:no-repeat;
    left:176px;
    background-color:#ffffff;
}
#inputnews {
    position:relative;
    background-image:url('images/bg_input.png');
    background-repeat:no-repeat;
    padding-left:10px;
    margin:0;
    height:20px;
    top :17px;

}
#chainenews {
    position:absolute;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    border:none;
    height:18px;
    width:170px;
    margin:0;
    padding:0;
    top:1px;
    color:#666666;
    background-color:#ffffff;
}
#subchainenews {
    position:absolute;
    border:0;
    height:20px;
    width:24px;
    margin:0;
    background-image:url('images/submit_news.png');
    background-repeat:no-repeat;
    left:176px;
    background-color:#ffffff;
}

#contact {
    position:relative;
    top :10px;
    margin:0;
    /*background-color:#cccccc;*/
    line-height:1.2em;
    color:#666666;
}

#contactf {
    margin:0;
    font-size : 11px;
    color:#666666;
}

#contentemailfrom {
    position:relative;
       text-align:center;
}

#emailfrom, #nomfrom, #telfrom{
    width:400px;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    color:#666666;
}

.astobl{
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    color:#ff0000;
    vertical-align:top;
    }

#contentcontentmail  {
    position:relative;
       text-align:center;
    top:10px;
}
#contentmail {
    width:500px;
    height:350px;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    color:#666666;
    vertical-align:top;
}

#contentsubmitcontact {
    position:relative;
       text-align:center;
    top:20px;
}
#submitcontact {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 11px;
    color:#666666;
}

#mentionslegales {
    text-align:justify;
}

#entree1content {
    padding-top:10px;
}
.formrechnews {
margin:0;
padding:0;
}
.social {
    position:relative;
    top:35px;
}

.gal ul,li{
    margin:0;
    padding:0;
}
.gal li{
    list-style:none;
    float:left;
    display:inline;
    margin-right:40px;
}


/*.jqcNode { font-weight: bold;  }*/

.remarque {
    display: none;
}


/* ===== Responsive (PC >= 1000px unchanged). Base = stacked layout below 1000px ===== */
@media screen and (max-width: 999px) {
    html, body {
        max-width:100%;
        overflow-x:hidden;
    }
    #main, .topbottom, #banniere, #content, #footera, #footerb, #footerc, #bottom {
        width:100%;
        box-sizing:border-box;
    }
    #main {
        margin:0;
    }
    .topbottom {
        height:20px;
    }
    #bottom {
        height:auto;
        min-height:20px;
    }

    /* Banner + breadcrumb */
    #banniere {
        height:140px;
        background-size:cover;
        background-position:left center;
    }
    #dateheure {
        top:10px;
        right:10px;
        font-size:12px;
    }
    #trait {
        display:none;
    }
    #treescontainer {
        position:absolute;
        top:auto;
        bottom:0;
        left:0;
        right:0;
        width:auto;
        height:auto;
        border-top:1px solid #ffffff;
        padding:2px 10px;
        box-sizing:border-box;
    }
    #treeliensgauche, #treeliensdroite {
        position:static;
        height:auto;
        line-height:24px;
    }
    #treeliensgauche a, #treeliensdroite a {
        font-size:13px;
    }

    /* Larger readable text and touch targets */
    p, a:link, a:visited, a:hover,
    a.treelink:link, a.treelink:visited, a.treelink:hover,
    a.linkmenu:link, a.linkmenu:visited, a.linkmenu:hover,
    a.linkmenubold:link, a.linkmenubold:visited, a.linkmenubold:hover,
    a.linkcopy:link, a.linkcopy:visited, a.linkcopy:hover,
    a.contentactu:link, a.contentactu:visited, a.contentactu:hover,
    a.voirlesarchives:link, a.voirlesarchives:visited, a.voirlesarchives:hover,
    a.billetsuiv:link, a.billetsuiv:visited, a.billetsuiv:hover,
    a.billetprec:link, a.billetprec:visited, a.billetprec:hover,
    .menu, .menuplan {
        font-size:14px;
    }
    #content {
        min-height:0;
        font-size:14px;
        line-height:1.4em;
        padding:0 10px 10px;
        box-sizing:border-box;
    }
    .titre, .titreblanc {
        top:0;
        padding-top:10px;
        padding-bottom:4px;
    }
    a.linkmenu, a.linkmenubold {
        display:inline-block;
        padding:3px 0;
    }

    /* Un-absolute all layout blocks: stack them */
    #blocgauche, #blocrub, #blocentree0, #blocapplications,
    #bloccentre, #bloccentrerub, #bloccontentrub, #slider,
    #blocentree2, #blocdroite, #blocentree1, #blocentree3,
    #blocentree5, #blocentree6, #copyright {
        position:static;
        float:none;
        width:auto;
        height:auto;
        min-height:0;
        left:auto;
        top:auto;
    }
    #blocgauche, #bloccentre, #bloccentrerub, #blocdroite {
        width:100%;
    }
    #blocrub {
        overflow:visible;
    }
    #blocentree0, #blocapplications, #blocentree3, #blocentree1 {
        margin-top:10px;
    }
    #blocentree3 img {
        max-width:100%;
        height:auto;
    }
    #entree1content img, #bloccontentrub img, #contentactu2 img {
        max-width:100%;
        height:auto;
    }
    #bloccontentrub {
        overflow:visible;
        padding-top:10px;
        word-wrap:break-word;
    }
    #bloccontentrub table, #bloccontentrub iframe, #bloccontentrub object, #bloccontentrub embed, #bloccontentrub video {
        max-width:100%;
    }

    /* Neutralise jScrollPane inline sizing (no custom scrollbar on mobile) */
    .jspContainer {
        width:auto !important;
        height:auto !important;
        overflow:visible !important;
        position:static !important;
    }
    .jspPane {
        position:static !important;
        width:auto !important;
        top:auto !important;
        left:auto !important;
    }
    .jspVerticalBar, .jspHorizontalBar {
        display:none !important;
    }

    /* Page titles inside content pages */
    .titre2 {
        position:static;
        top:auto;
        left:auto;
        width:auto;
        margin:0;
        padding-top:10px;
        padding-bottom:4px;
    }
    .titrehr2 {
        position:static;
        left:auto;
        top:auto;
        width:auto;
    }
    a.voirlesarchives:link, a.voirlesarchives:visited, a.voirlesarchives:hover {
        position:static;
        display:block;
        padding:6px 0;
    }

    /* Home slider (Kwicks): swipeable strip, ignore Kwicks inline sizes/positions */
    ul#accordion-slider {
        display:flex !important;
        width:auto !important;
        height:auto !important;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
    }
    ul#accordion-slider::-webkit-scrollbar {
        display:none;
    }
    ul#accordion-slider li {
        position:static !important;
        flex:0 0 85%;
        float:none;
        width:85% !important;
        height:auto !important;
        left:auto !important;
        right:auto !important;
        margin:0 4px 0 0 !important;
        scroll-snap-align:start;
        pointer-events:auto;
    }
    ul#accordion-slider li img {
        width:100%;
        height:auto;
        display:block;
    }
    #slider {
        background-color:transparent;
        margin-top:10px;
    }

    /* Home news items */
    #actu1, #actu2 {
        position:static;
        top:auto;
        height:auto;
        margin:0 0 10px 0;
        overflow:hidden;
    }
    .titreactu {
        position:static;
        display:block;
        font-size:16px;
        margin-bottom:2px;
    }
    .dateactu {
        position:static;
        display:block;
        font-size:12px;
    }
    #actu1 img, #actu2 img {
        float:left;
        margin-right:10px;
    }
    a.contentactu:link, a.contentactu:visited, a.contentactu:hover {
        position:static;
        display:block;
        left:auto;
        top:auto;
        width:auto;
    }
    a.billetsuiv:link, a.billetsuiv:visited, a.billetsuiv:hover {
        position:static;
        float:right;
    }
    #contentactu2 {
        padding-top:10px;
        clear:both;
    }

    /* Search + newsletter inputs */
    #inputrechercher, #inputnews {
        top:auto;
        margin-top:10px;
        max-width:210px;
    }
    .social {
        top:auto;
        margin-top:10px;
    }

    /* Contact form */
    #emailfrom, #nomfrom, #telfrom, #contentmail {
        width:90%;
        max-width:100%;
        box-sizing:border-box;
        font-size:16px; /* prevents iOS zoom on focus */
    }
    #contentmail {
        height:200px;
    }
    #contentcontentmail, #contentsubmitcontact {
        top:auto;
        margin-top:10px;
    }
    #submitcontact {
        font-size:16px;
        padding:6px 12px;
    }
    #contentemailfrom {
        margin-bottom:8px;
    }

    /* Gallery */
    .gal li {
        margin-right:10px;
        margin-bottom:10px;
    }
    .gal li img {
        max-width:100%;
        height:auto;
    }

    /* Footer */
    #footerc {
        height:auto;
        min-height:179px;
    }
    #blocnuage {
        position:static;
        width:auto;
        height:auto;
        top:auto;
        left:auto;
        padding:0 10px 10px;
    }
    #copyright {
        display:block;
        text-align:center;
        line-height:30px;
    }
}


/* ---- Tablet / large phone landscape (Bootstrap "sm" and up: 576px - 999px) ---- */
@media screen and (min-width: 576px) and (max-width: 999px) {
    #content {
        padding:0 20px 20px;
    }
    #banniere {
        height:170px;
    }
    /* Side columns: blocks sit side by side instead of one long column */
    #blocgauche, #blocdroite {
        display:flex;
        flex-wrap:wrap;
        justify-content:space-between;
    }
    #blocrub, #blocentree0, #blocapplications, #blocentree1, #blocentree3 {
        flex:1 1 220px;
        box-sizing:border-box;
        padding-right:15px;
    }
    #blocentree3 img {
        width:200px;
    }
    /* Gallery thumbnails */
    .gal li {
        margin-right:20px;
    }
}

/* ---- Bootstrap "md" range: 768px - 999px (tablet portrait / landscape) ---- */
@media screen and (min-width: 768px) and (max-width: 999px) {
    #content {
        padding:0 30px 30px;
    }
    #banniere {
        height:200px;
    }
    #dateheure {
        top:70px;
        right:20px;
        font-size:15px;
    }
    /* Slider images keep a sensible aspect instead of huge full-width banners */
    ul#accordion-slider {
        overflow-x:visible;
    }
    ul#accordion-slider li {
        flex:1 1 0;
        width:auto !important;
        margin:0 4px 0 0 !important;
    }
    ul#accordion-slider li:last-child {
        margin-right:0 !important;
    }
    #emailfrom, #nomfrom, #telfrom {
        width:70%;
    }
    #contentmail {
        width:80%;
    }
}

/* ---- Phones (Bootstrap "xs": < 576px) ---- */
@media screen and (max-width: 575px) {
    #content {
        padding:0 12px 12px;
    }
    #banniere {
        height:110px;
    }
    #dateheure {
        font-size:11px;
        top:6px;
        right:8px;
    }
    #treeliensgauche, #treeliensdroite {
        display:block;
    }
    #treeliensdroite {
        padding-bottom:2px;
    }
    .titre, .titreblanc, .titre2, .titreactu {
        font-size:16px;
    }
    #actu1 img, #actu2 img {
        width:60px;
        height:60px;
    }
    #emailfrom, #nomfrom, #telfrom, #contentmail {
        width:100%;
    }
    #inputrechercher, #inputnews {
        max-width:none;
    }
    .gal li {
        margin-right:8px;
    }
}

/* ---- Very small phones (< 360px) ---- */
@media screen and (max-width: 359px) {
    #treeliensgauche a, #treeliensdroite a {
        font-size:12px;
    }
    .titre, .titreblanc, .titre2 {
        font-size:15px;
    }
}


/* ==========================================================================
   Banner (narrow screens): the logo sits on the left of the 1000x200 image.
   The image gets its own area at the top (left-anchored, never shrunk below
   650px wide so it is cropped on the right instead), and the date and
   breadcrumb/links flow below it instead of covering it.
   ========================================================================== */
@media screen and (max-width: 999px) {
    #banniere {
        height:auto;
        padding-top:max(130px, 20%);
        background-color:#333333;
        background-repeat:no-repeat;
        background-position:left top;
        background-size:max(100%, 650px) auto;
    }
    #dateheure {
        position:static;
        padding:4px 10px 0;
        box-sizing:border-box;
    }
    #treescontainer {
        position:relative;
        bottom:auto;
        padding:4px 10px;
        display:flex;
        flex-wrap:wrap;
        justify-content:space-between;
        align-items:center;
    }
}
@media screen and (max-width: 767px) {
    #treescontainer {
        flex-direction:column;
        align-items:flex-start;
    }
    #treeliensgauche, #treeliensdroite {
        width:100%;
    }
    #treeliensdroite {
        display:flex;
        flex-wrap:wrap;
        gap:2px 16px;
        word-spacing:-0.3em; /* collapse long &nbsp; runs between links */
    }
    #treeliensdroite a {
        word-spacing:normal;
    }
}
@media screen and (max-width: 999px) and (orientation: landscape) and (max-height: 500px) {
    #banniere {
        padding-top:max(80px, 12%);
    }
}

/* Narrow screens: banner area is dark, so its text must be light */
@media screen and (max-width: 999px) {
    #banniere,
    #banniere #dateheure,
    #banniere #treeliensgauche,
    #banniere #treeliensdroite,
    #banniere a:link,
    #banniere a:visited,
    #banniere a:hover,
    #banniere a.treelink:link,
    #banniere a.treelink:visited,
    #banniere a.treelink:hover {
        color:#ffffff;
    }
}
