/* == fonts

@font-face {
    font-family: 'slkscr';
    src: url('../fonts/slkscr-webfont.woff2') format('woff2'),
         url('../fonts/slkscr-webfont.woff') format('woff'),
         url('../fonts/slkscr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  
  }
  
  Share buttons == */

/* == Share buttons == */

#socialtags ul{
    position: fixed;
    top: 18%;
    right: 0;

    display: flex;
    flex-direction: column;

    z-index: 999;
}

#socialtags a:hover, 
#socialtags a:active, 
#socialtags a:focus{
    background-color: #F96200;
}

#socialtags img {
    width: 25px;
    height: auto;
    border: 0;
    box-shadow: 0;
    display: block;
}

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

    #socialtags{
        position: fixed;
        height: 37px;
        bottom: 0;
        width: 100%;
        background-color: grey;
        z-index: 5;
    }

    #socialtags ul{
        top: initial;
        bottom: 0;
        right: 50%;
        left: 50%;

        flex-direction: row;
        justify-content: center;
    }
}




/* Set font-sizes for the headings */
.slabtexted .slabtext
    {
    display:-moz-inline-box;
    display:inline-block;
    white-space:nowrap;
    }
.slabtextinactive .slabtext
    {
    display:inline;
    white-space:normal;
    font-size:1em !important;
    letter-spacing:inherit !important;
    word-spacing:inherit !important;
    *letter-spacing:0 !important;
    *word-spacing:0 !important;
    }
.slabtextdone .slabtext
    {
    display:block;
    }

 /* Adjust the line-height for all headlines that have been slabtexted */
.slabtexted h1
    {
    line-height:.9;
    font-size:300%;
    font-family:'slkscr',Arial Black, Sans serif, Arial;
    text-transform: uppercase;           
    line-height:1;   
    /* Remember to set the correct font weight if using fontface */
    font-weight:normal;
    }
/* Target specific lines in the preset Studio One demo */
.slabtexted #studio-one span:nth-child(2)
    {
    line-height:.8;
    }
.slabtexted #studio-one span:nth-child(3)
    {
    line-height:1.1;
    }


/* CSS CUSTOM */
ul, p{
    -webkit-margin-after: 0px;
    -webkit-margin-before: 0px;
}

dd{
    -webkit-margin-start: 0px;
}




/* === HOME === */

.expanded-cicle dd{
    white-space: normal;
}

.container{
    width: 90%;
    margin: auto;
}

.width_wrapper{
    max-width: 1200px;
    margin: auto;
}

header dl dd{
    -webkit-margin-start: 0px;
}

header dl dd{
    margin-left: 0px;
}

header dl{
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;

    margin-bottom: 0px;
    margin-top: 0px;
}
blockquote{
    padding-left: 0px;
}

footer{
    height: auto;
    position: relative;
}

footer .container{
    display: flex !important;
    justify-content: space-between;
    height: auto;
}

footer ul{
    margin-right: 0px;
    -webkit-padding-start: 0px;
}

footer p{
    margin-left: 0px;
}

:-webkit-any(article,aside,nav,section) h1 {
    -webkit-margin-before: 0px;
}

.menu2017{
    display:flex;
}

.menu2017 article{
    height: auto;
}

header .h{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header #menu_lang{
    margin-top: 20px;
}

header #menu_lang, header #menu_lang a{
    color: #F96200;
}

.rub_descriptif{
    font-weight: bold;
}




/* === ARTICLE === */
h2{
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
}

aside{
    border-left: 1px solid grey;
}


.expanded-cicle aside{
    padding-left: 25px;
    padding-right: 0px;
}

.expanded-cicle article{
    padding-left: 0px;
    padding-right: 0px;
}

.featured{
    padding: 50px 25px;
}

.featured > * {
    max-width: 800px;
}

.cicle .module{
    overflow: hidden;
}

/* .cicle .backcover{
    position: absolute;
    top: -300px;
} */

.cartouche{
    margin-bottom: 20px;
}

.spip_doc_titre, .spip_doc_descriptif{
    width: auto !important;
}

.forum {
    padding: 0px;
}

.forum h2{
    text-align: center;
}

.forum-titre{
    margin-top: 0px;
}

.forum .ariaformprop{
    width: 80%;
    margin: auto;
}

ul {
    -webkit-padding-start: 10px !important;
}

.comments {
    width: 80%;
    margin: auto;
}

fieldset{
    border-width: 0px;
}

.saisie_titre{
    margin-bottom: 20px;
}

.activities.carrousel {
    height: auto;
}

main {
    min-height: 100%;
}

#article article img, article iframe{
    border: 1px solid grey;
    padding: 3px;
}

article iframe{
    display: block;
    margin: auto;
}


/* === Rubrique === */
.pagination_rubrique{
    position: relative;
    background-color: #FF883B;
    padding: 20px 0 20px 0;
    margin-bottom: -10px;
}




/* ==== RECHERCHE === */

#formulaire_recherche{
    max-width: 800px;
    width: 100%;
}

#formulaire_recherche input[type='search']{
    width: 90%;
}
#formulaire_recherche input[type='submit']{
    width: 10%;
}

.recherche_form{
    padding-bottom: 0px;
}

.recherche_results{
    width: 100%;
    min-height: 200px;
    margin: auto;
}

.recherche_results .menu{
    margin-bottom: 4em;
}

.recherche_results .pagination{
    position: relative;
    text-align: left;
}



/* ==== RESPONSIVE ==== */

    @media screen and (max-width:360px){
        main{
            padding-bottom: 120px;
        }
    }

    @media screen and (min-width:361px) and (max-width:380px){
        /* main{
            padding-bottom: 100px;
        } */
    }
    

    @media screen and (max-width:768px){
        
        /* = HOME = */
        .tit3 {
            font-size: 22px;
        }

        main{
            padding-bottom: 0px;
        }

        header dl{
            display: flex !important;
            flex-direction: column;

            height: auto;

            margin-bottom: 0px;
        }

        header dl > a{
            width: 100%;
            text-align: center;
            padding: 30px 0px;
        }

        .activity{
            height: 200px;
        }

        .module + .module{
            padding-top: 0px;
        }

        footer{
            padding-top: 0px;
        }

        footer .container{
            flex-direction: column;
        }


        /* = PAGE ARTICLE = */
        .slabtexted h1{
            /* font-size: 100%; */
            text-align: center;
        }


        .surtitre{
            font-size: 20px;
        }

        aside{
            border-left: none;
        }

        .double > div h2{
            margin: 30px 0;
        }

        .more{
            padding: 0px;
        }

        .cicle{
            height: 200px;
        }

        .cicle > *{
            height: 200px;
        }

        .comments {
            width: 90%;
            margin: 0 10px;
        }

        .comments-items .comments-items{
            margin-left: 10px;
        }

        iframe{
            width: 100% !important;
        }

        .pagination{
            position: relative !important;
        }

        .group img {
            width: 100%;
            height: 100%;
        }
    }



    @media screen and (max-width: 650px){    
       .group dd img{
           width: 10% !important;
       }
    }


    @media screen and (min-width: 431px) and (max-width:768px){
        .slabtexted h1{
            font-size: 200%
        }

        .expanded-cicle article {
            padding: 0px 20px 0px 0px;
        }

        .course{
            padding: 0;
        }
    }

    @media screen and (max-width:1000px){
        
        header dl dd{
            font-size: 16px;
        }

        footer .container {
            width: 95%;
        }

        .forum .ariaformprop{
            width: 100% !important;
        }

        .group.menu2017 article{
            display: none !important;
        }
    }