#articles{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

.container-x{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.image-article img{
    max-width: 100%;
    max-height: 300px;
}

.box-article{
    display: inline-block;
    margin: 50px;
    width: 35%;
}

.content-right{
    display: block;
    text-align: right;
}

.content-left{
    display: block;
    text-align: left;
}

.titre-article{
    font-size: 1.5em;
    font-weight: bold;
}

.chapeau-article{
    width: 100%;
}

.italic{
    font-style: italic;
    font-size: 0.8em;
}

#header-article{
    color: white;
    top: -200px;
}

#image-article img{
    top: -50px;
    width: 100%;
    position: absolute;
    margin: 0;
    padding: 0;
    z-index: -1;
    overflow: hidden;
}

#top {
    display: inline-block;
    width: 100%;
}

.u-titre-article{
    color: white;
    width: 100%;
}

#titre-blog{
    text-align: center;
    color: black;
    margin-left:auto;
    margin-right: auto;
}

#recherche{
    float: right;
    margin-right: 5%;
}

.search{
    margin-right: 20%;
}

#div-article{
    margin-top: calc(25% - 200px);
    vertical-align: middle;
    position: absolute;
    z-index: 11;
    width: 50%;
    text-align: center;
}

#body-article{
    margin-top:35%;
    background-color: #EFEEF0;
    position: relative;
    z-index: 11;
}


#read-time{
    font-size: 1em;
    font-family: "Rubik", sans-serif;
}

#hashtag-article{
    color: white;
    font-weight: bold;
    font-family: "Rubik", sans-serif;
}

#hashtag-article a{
    color: white;
    text-decoration: none;
}

#hashtag-article a:hover{
    color: #8e1212;
}

#body-article #chapeau-article {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
}

#chapeau-article h2{
    margin: 0;
    font-weight: normal;
}
#content-article{
    width: 95%;
    margin-bottom: 20px;
    text-align: justify;
}

#recherche-article .inputgroup{
    border: 1px solid lightgrey;
    height: 45px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#recherche-article .inputgroup div{
    display: inline-block;
}
#recherche-article .search{
    width: 200px;
    height: 40px;
    border: none;
    font-size: 0.7em;
    margin-left: 10px;
    padding: 0;
}

#recherche-article .searchBtn{
    height: 45px;
}

#content-article ul, ol{
    margin-left: 40px;
}
#content-article li{
    list-style: disc;
    color: black;
}

.btn-lire a:hover{
    color: rgb(179,0,3);
}

#body-article .container-fluid div{
    display: inline-block;
}

#body-article #col-chapitre{
    vertical-align: top;
    margin-top: 20px;
    top: 20px;
    position: -webkit-sticky;
    position: sticky;
    width: 15%;
    padding: 2%;
    text-align: right;
}

#body-article .col-chapitre ul{
    margin-top: 50px;
}

#body-article .col-chapitre li{
    color: black;
    text-align: right;
}

#body-article .col-chapitre li div{
    width: 100%;
}

#body-article .col-chapitre a{
    color: black;
}

#body-article .col-chapitre h4, span{
    margin-bottom: 0;
    margin-right: 10px;
}

#body-article .col-chapitre div{
    padding: 20px;
    width: 100%;
    margin: 0;
}

#body-article .col-chapitre div h3{
    margin: 0;
}
#body-article .col-chapitre a:hover div{
    width: 100%;
    color: black;
    background: white;
    border-left: 2px solid darkred;
}

#body-article .col-chapitre .selected{
    width: 100%;
    color: black;
    background: white;
    border-left: 2px solid darkred;
}

#body-article #article-content{
    width: 55%;
    margin-top: 50px;
    margin-left: 5%;
}

#body-article #article-content #content-article p, a, li, span{
    color: black;
}

#body-article a:hover{
    color: rgb(179,0,3);
}

#body-article #chapeau-article{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#article-content #content-article img,#article-content #content-article video{
    max-width: 100%;
    max-height: 100%;
}

#form-subscription{
    margin-top: 100px;
    margin-bottom: 100px;
}

#form-subscription #form-content{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#form-subscription #form-content #text-form, #div-form-blog{
    display: inline-block;
}

#form-subscription #div-form-blog{
    width: 50%;
}

#form-subscription h3{
    margin-bottom: 0;
}

#form-subscription #div-form-blog input{
    display: inline-block;
    width: 60%;
    border-bottom: 2px solid darkred;
    margin-right: 30px;
    padding: 0;
}

#form-subscription input{
    border: white;
}

#form-subscription button{
    border: 2px solid darkred;
    border-radius: 20px;
    font-weight: bold;
}

#form-subscription button:hover{
    background: darkred;
    color: white;
}

#line-chapitre{
    display: none;
}

#login-blog{
    font-family: "Rubik", sans-serif;
    margin-top: 50px;
}

#login-blog .inline{
    display: inline-block;
    vertical-align: middle;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}


#login-blog p{
    color: black;
    text-align: center;
}

#login-blog .button{
    padding: 20px;
    border-radius: 20px;
    line-height: 0;
    background: rgb(179,0,3);
    color: white;
}

#login-blog .button:hover{
    background: white;
    color: rgb(179,0,3);
}

#login-blog #divLogo{
    position: absolute;
    width: 30%;
    left: 50%;
    z-index: -10;
}
#login-blog img{
    margin-top: 50px;
    width: 100%;
    left: -60%;
    position: relative;
    z-index: -10;
    opacity: 0.1;
}

#linkedin_button{
    text-align: center;
    width: 100%;
    margin-bottom: 35px;
}

#mobile-show{
    display: none;
}

/* responsive mobile blog */
@media screen and (max-width: 500px){
    #recherche{
        left: 25%;
        margin-right: 12.5%;
    }
    .container-x{
        width: 100%;
    }
    #articles{
        width: 90%;
    }
    .box-article{
        width: 90%;
        margin: 20px 0 20px 0;
    }
    .box-article .content-right{
        text-align: left;
    }
    #hashtag-article{
        display: none;
    }
    #col-chapitre{
        display: none;
    }
    #body-article #article-content{
        width: 100%;
        margin: 0;
    }
    #login-blog{
        margin: 0;
    }
    #mobile-show{
        display: block;
    }
    #login-blog #not-mobile{
        display: none;
    }
    #login-blog #popupLog{
        margin-top: 0;
        width: 100%;
    }
    #login-blog .inputLog{
        padding: 10px 20px 10px 20px;
    }
    #login-blog #log-form{
        width: 100%;
    }
}