/*---------------------------------------------------------------------------------------*/
/*--------------------------------GESTION BLOG-------------------------------------------*/

.gestblog{
    width: 82%;
    height: auto;
    overflow: scroll;
    margin: 30px auto 0 auto;
    padding-bottom: 200px;
    border: rgb(238, 238, 238) solid 1px;

}

.gestblog label {
    font-weight: bold;
    margin-left: 15px;
}

.gestblog #monTitre{
    width: 100%;
    height: 40px;
}

.gestblog #monArticle{
    width: 100%;
    height: 300px;
}

.gestblog #monIntro{
    width: 100%;
    height: 80px;
}

.gestblog #monAlt{
    width: 100%;
    height: 40px;
    margin-bottom: 50px;
}

.gestblog p,
.gestblog label {
    margin-bottom: 20px;
}

#blog_message{
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 0.9em;
    font-weight: bold;
    color: green;
}





/*---------------------------------------------------------------------------------------*/
/*--------------------------------articles-------------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/

.tous_les_articles{
    width: 50%;
    height: auto;
    margin: 250px auto 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#imgblog {
    width: 80%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: hidden;
}

#imgblog img{
    width: 100%;
    height: auto;
}

.tous_les_articles h2 {
    font-style: normal;
    color: #1a1a1a;
    font-size: 1.4em;
    letter-spacing: 1px;
    line-height: 1.8;
    height: auto;
    width: 80%;
    text-align: left;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    /*  border: solid 4px #bb1111;*/
}

.tous_les_articles h3 {
    font-style: normal;
    color: #888888;
    font-size: 1.2em;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: .075em;
    height: auto;
    width: 80%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    /* border: solid 4px #bb1111;*/
}

.tous_les_articles h3 a{
    color: #0055b8;
    font-weight: bold;
}








/*--------------------------PAGE ARTICLE----------------------------------*/


.containerArticle{
    display: flex;
    justify-content: center;
    width: 70%;
    min-width: 1250px;
    height: auto;
    margin: 150px auto 0 auto;
   /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    background-color: #fefefe;
   /* border: #bb1111 solid 1px;*/
}

.articleSide{
    width: 70%;
    min-width: 240px;
    height: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border:  #d8d8d8 solid;
    border-width: 0 1px 0 0;
   /* border: blue solid 1px;*/
}

#imgarticle {
    width: 100%;
    height: auto;
    overflow-y: hidden;
}

.articleSide img{
    width: 100%;
    height: auto;
}

.articleSide h1{
    font-style: normal;
    color: #1a1a1a;
    font-size: 2em;
    line-height: 1.2em;
    letter-spacing: 1px;
    height: auto;
    width: 100%;
    min-width: 400px;
    text-align: left;
    margin-top: 40px;
     /*border: solid 4px #bb1111;*/
}

/* .articleSide h2{
    font-weight: bold;
    border-bottom: #e1e1e1 solid 1px;
    border-top: #e1e1e1 solid 1px;
    padding: 20px;
} */

.articleSide p {
    color: #888888;
    font-size: 1em;
    line-height: 24px;
    height: auto;
    width: 100%;
    min-width: 240px;
    text-align: left;
    /* border: solid 4px #bb1111;*/
}

#messageArticle{
	width: 100%;
    height: 40px;
	font-size: 17px;
	text-align: center;
	margin-bottom: 30px;
	color: limegreen;
}

.articleSide form{
    width: 100%;
    height: auto;
}

.articleSide #author{
    width: 50%;
    height: 40px;
    margin: 15px 0;
}

.articleSide #comment{
    width: 100%;
    height: 250px;
    margin: 15px 0;
}

.commentaires{
    margin: 15px 0;
}

#not_loged_for_comment{
    color: blue;
    margin: 15px 0;
    font-weight: 600;
}
#loged_for_comment{
    display: none;
}

.sideSide{
    width: 30%;
    min-width: 400px;
    height: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

}

.cadreNewsletter{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    background-color: #f1f1f1;
}

#newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    color: white;
    background-color: #000266;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px

}


.side_form {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

.side_form input{
	padding-left: 15px;
}

.side_form #email, .side_form #nom {
    font-style: normal;
    color: #1a1a1a;
    width: 100%;
    -webkit-box-sizing: border-box; /* Pour les anciennes versions des navigateurs WebKit */
    -moz-box-sizing: border-box; /* Pour tous les navigateurs Gecko */
    box-sizing: border-box;
    height: 50px; /* pour IE */
    vertical-align: middle; /* optionnel mais donne meilleur aspect pour IE */
   /* border: green solid 1px;*/
   /* border-width: 0 0 1px 0;*/
    opacity: 1;
    background-color: white;
}

.side_form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #1a1a1a;
    opacity: 1; /* Firefox */
}

.side_form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #1a1a1a;
}

.side_form ::-ms-input-placeholder { /* Microsoft Edge */
    color: #1a1a1a;
}

.side_form #envoie {
    width: 100%;
    height: 50px;
    background-color: #2137af;
    border: none;
    color: white;
    font-size: 1em;
    Font-Weight: bold;
    letter-spacing: 2px;
}

.side_form #envoie:hover {
    cursor: pointer;
    background-color: #13227c;
}

.side_form #nom:focus, .side_form #email:focus {
    outline: none;
}

#titre_tousArticles{
    text-decoration: none;
    color: blue;
    font-size: 1em;
    font-weight: bold;
    border: blue solid 2px;
    margin: 30px 0;
    width: 100%;
    padding: 15px;
    text-align: center;
}

.sideSide h3{
    width: 100%;
    text-align: left;
    font-weight: bold;
    margin-bottom: 0;
}

.articles_recents{
    width: 100%;
    height: auto;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 0;
}

.articles_recents a:link {
    color: #1a1a1a;
    text-decoration: none;
}

.articles_recents a:visited {
    color: #1a1a1a;
}

.articles_recents h2 {
    color: #1a1a1a;
    font-size: 1em;
    line-height: 1.2em;
    border-bottom: #e1e1e1 solid 1px;
    padding: 10px 0;
    transition: 0.3s ease;
}

.articles_recents h2:hover {
    transform: scale(1.05);
}

.side_form #label_rgpd{
    font-size: 0.8em;
}

/*-----------------------------------------------*/
/*--------ADMIN----------------------------------*/
/*-----------------------------------------------*/

.contenaire_admin{
    width: 100%;
    height: calc(100vh - 230px);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    top: -58px;
    box-sizing: border-box;
    background-color: #fdfdfd;
    margin-top: 160px;
}

.contenaire_menu_admin{
    width: 240px;
    height: auto;
    padding: 50px 0;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #fdfdfd;
    align-self: stretch;
    /* border-right: #8f8f8f solid 1px;
    border-bottom: #8f8f8f solid 1px; */
}

.contenaire_menu_admin a{
    display: block;
    width: 100%;
    height: auto;
    padding: 20px;
    text-decoration: none;
    font-weight: bold;
    /* border-bottom: rgb(187, 187, 187) solid 1px; */
}

/* .contenaire_menu_admin a:first-child{
    border-top: rgb(187, 187, 187) solid 1px;;
} */

/*----CATEGORIE-------------*/
.contenaire_categorie{
    width: 20%;
    min-width: 240px;
    height: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #fdfdfd; 
    /* border: blue dotted 4px; */
}

#categories{
    width: 100%;
    padding: 10px;
    border: rgb(187, 187, 187) solid 1px;
}

#categories label{
    width: 100%; 
    font-size: 0.8em;
    font-weight: bold;
}

#categories input[type=text] {
    height: 40px; 
    width: 100%;
}

#categories p {
    width: 80%;
    height: 40px;
    text-align: left;
    padding: 10px 0 10px 20px;   
}

#form_cat_avant label{
    margin: 15px 15px 15px 20px;
}

#form_cat_avant select{
    width: 150px;
    margin: 15px 15px 15px 20px;
}
/*------------------------------------------*/
section#categories_list{
    width: 100%;
    padding: 10px;
    border: rgb(187, 187, 187) solid 1px;  
}

table#cat_list{
    width: 100%;
    padding: 10px;
}

.supprimH3cat{
    width: 100%;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    margin: 30px 0;
}

table#cat_list tr{
    width: 100%;
    height: 40px;
    border-bottom: rgb(241, 241, 241) solid 1px;
}

table#cat_list td,
table#cat_list th {
    width: 50%;
    vertical-align: middle;
    text-align: left;
    font-size: 0.9em;
}

table#cat_list th {
    font-weight: bold;
}

#cat_list h6{
    font-size: 1.1em;
}

#cat_list .fa-trash-alt{
    font-size: 1.5em;
    color: #ff000088;
    margin-left: 30px;
}

#cat_list td a{
    text-decoration: none;
    color: black;
}

/*---------ARTICLE------------*/

.contenaire_article{
    width: calc(80% - 240px);
    height: auto;
    max-height: calc(100vh - 170px);
    overflow: scroll;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #fdfdfd; 
    /* border: green dotted 4px; */
}

section#articles_list{
    width: 100%;
    border: rgb(187, 187, 187) solid 1px;  
    /* border: green dotted 4px; */
}

#img_art_supp{
    width: 200px;
    height:auto;
    padding: 15px 0;
}

#articles_list figure{
    width: 150px;
    height:90px;
    padding: 15px 0;
    margin: 5px 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#articles_list img{
    height: auto;
    width: 100%;
}

table#art_list tr{
    width: 100%;
    height: 40px;
    padding: 10px 0;
    border-bottom: rgb(241, 241, 241) solid 1px;
}

table#art_list td,
table#art_list th {
    width: 100px;
    vertical-align: middle;
    text-align: center;
    padding: 0 5px;
    /* border:  red solid 1px; */
}

table#art_list td:nth-child(2),
table#art_list th:nth-child(2) {
    width: 100%;
    vertical-align: middle;
    text-align: left;
    padding-left: 20px;
}

table#art_list td:nth-child(3),
table#art_list th:nth-child(3),
table#art_list td:nth-child(4),
table#art_list th:nth-child(4) {
    width: 100px;
    text-align: center;
}

table#art_list th {
    font-weight: bold;
    height: 100px;
}

table#art_list .fa-trash-alt{
    font-size: 1.5em;
    color: #ff000088;
    /* margin-left: 30px; */
}

table#art_list .fa-edit{
    font-size: 1.5em;
    color: blue;
    /* margin-left: 30px; */
}

table#art_list td a{
    text-decoration: none;
    color: black;
}

/*-------------------------PAGE CATEGORIES-----------------------*/

#h1_categorie{
    width: 100%;
    font-size: 1.3em;
    font-weight: bold;
    text-align: left;
    margin: 20px 0;
    /* border: hotpink solid 1px; */
}

