#cover{
    overflow: hidden;
}

#cover > img{
    width: 100%;
    position: relative;
}

#article-description{
    position: relative;
    width: 100%;
    display: block;
    padding: 20px 0px;
    margin: 0 auto;
    background-color: white;
    text-align: center;
}

@media screen and (min-width: 800px){
    #cover{
        height: 50vh;
    }

    #cover > img{
        top: -50%;
    }

    #article-description{
        width: 80%;
        padding: 50px 100px;
        transform: translateY(-25vh);
    }
}

#article-title{
    display: block;
    width: 90%;
    margin: auto;
    font-weight: bold;
    font-size: 36px;
    line-height: 1.2em;
}

#article-social{
    height: 30px;
}

#article-title + div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px auto;
    padding: 5px 10px;
    background-color: #97BC2E;
    color: white;
    font-size: 14px;
    width: 90%;
}

#article-description p {
    margin: auto;
    margin-top: 50px;
    width: 75%;
    font-size: 16px;
}

#line{
    width: 80%;
    border-top: 4px solid #f2f2f2;
    border-radius: 10px;
    margin: auto;
    margin-top: 50px;
}

#main{
    width: 80%;
    margin: auto;
    min-height: 200px;
    font-size: 16px;
}

@media screen and (min-width: 800px){
    #line{
        width: 100%;
        margin-top: 100px;
    }

    #main{
        width: 65%;
        transform: translateY(-20vh);
    }
}

#main p{
    margin: 10px 0px;
}

#main li{
    margin-left: 20px;
    list-style: circle;
}

#main li li{
    list-style: disc;
}

#main .frame-type-textmedia .ce-gallery{
    display: flex;
    justify-content: center;
}

#main .frame-type-textmedia :is(.ce-outer,.ce-inner){
    right: unset;
}

#main .frame-type-textmedia img{
    width: auto;
    max-height: 150px;
    margin: auto;
    max-width: 100%;
    height: auto;
}

#main .frame .ce-textpic:is(.ce-left,.ce-right).ce-intext{
    display: flex;
    flex-direction: column-reverse;
}

#main .ce-intext.ce-left :is(ol,ul){
    padding-left: 20px;
    margin-bottom: 20px;
}

@media screen and (min-width: 800px){
    #main .frame .ce-textpic:is(.ce-left,.ce-right).ce-intext{
        display: block;
        flex-direction: row;
    }

    #main .ce-intext.ce-left :is(ol,ul){
        padding-left: 40px;
    }
}

@media screen and (min-width: 1200px){
    #main .frame-type-textmedia img{
        width: 50%;
        margin: auto;
        max-height: unset;
    }
}

#main .green{
    color: #97BC2E;
}

#main .bold{
    font-weight: bold;
}

#main a{
    color: #6be;
    text-decoration: underline;
    font-weight: bold;
}

#main .frame-type-textmedia{
    margin-bottom: 20px;
}

#main .ce-row{
    display: flex;
    align-items: center;
}

#main header h2{
    color: #97BC2E;
    font-size: 36px;
    margin: 50px 0px 30px 0px;
    line-height: 1em;
}

/*SWIPPER*/

*{
    --img-height: 200px;
}

#blog-title,#blog-description{
    display: none;
}

#blog-items-container{
    display: flex;
}

.swiper-container{
    overflow: hidden;
    padding-left: 10%;
}

.blog-item{
    padding: 20px;
    background-color: #fafafa;
    border-radius: 10px;
    margin: 0 auto;
    margin-bottom: 50px;
    min-width: 300px;
}

.blog-item:last-child{
    margin-right: 20px;
}

@media screen and (min-width: 800px){
    .blog-item{
        min-width: 400px;
    }
} 

@media screen and (min-width: 1200px){
    .blog-item{
        min-width: 500px;
        margin: 0;
    }
} 

.blog-item > a{
    width: 100%;
    height: var(--img-height);
    display: block;
    position: relative;
    overflow: hidden;
}

.blog-item img{
    width: 100%;
    height: auto;
    position: absolute;
}

.blog-item .blog-item-infos{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: calc( 100% - var(--img-height));
}

.blog-item .blog-item-infos .blog-item-infos-left span{
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0px 20px 0px;
    display: block;
    color: black;
}

.blog-item .blog-item-infos .blog-item-infos-left p{
    margin-bottom: 5px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-item .blog-item-infos .blog-item-infos-right{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-item .blog-item-infos .blog-item-infos-right span{
    font-size: 14px;
    margin: 10px;
}

.blog-item .blog-item-infos .blog-item-infos-right .read-article{
    font-size: 14px;
    padding: 5px 20px;
    border-radius: 50px;
    border: 2px solid #bdd748;
    color: #bdd748; 
    margin-top: 10px;
}

.blog-item .blog-item-infos .blog-item-infos-right .read-article:hover{
    color: white;
    background-color: #bdd748;
}

@media screen and (min-width: 800px){
    #prefooter{
        transform: translateY(-10%);
    }
} 

#prefooter > h3{
    margin: 30px 0;
    margin-left: 10%;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
}

/*BAOBAG EN QUELQUES CHIFFRES*/

#prefooter .frame-type-text h2{
    background: #fafafa;
    margin-bottom: 40px;
    font-size: 50px;
}

#prefooter .frame-type-menu_sitemap_pages{
    margin-bottom: 100px;
}

#prefooter .frame-type-text{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #fafafa;
    margin-bottom: 25px;
}

#prefooter .frame-type-text div{
    max-width: 300px;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    padding: 10px;
}

@media only screen and (min-width: 1024px) {
    #prefooter .frame-type-text div{
        width: 22%;
        padding: 30px;
    }
}

#prefooter .frame-type-text header{
    width: 100%;
    text-align: center;
    margin-top: 50px;

    font-family: 'Amatic Sc';
    font-size: 50px;
    line-height: 50px;
}

#prefooter .frame-type-text div strong{
    font-family: 'kgprimarydots';
    font-size: 200px;
    line-height: 150px;
}

#prefooter .frame-type-text div p{
    font-size: 12px;
}