@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.3em;
  color: rgb(22, 22, 22);
}

p a {
  text-decoration: underline;
  color:  rgb(22, 22, 22);
}

h3 {
  font-size: 1.3em;
  padding-right: 20px;
}

h3 a {
  text-decoration: none;
  color:  rgb(22, 22, 22);
}

h3 a:hover{
  color: black;
  text-shadow: 1px 1px 2px #00000020;
  text-decoration: none;
}


/* ---------------------------------------------------
    HEADER STYLE
----------------------------------------------------- */

header ul {
  text-align: center;
}

header ul.nav-flex-icons{
  width: 20%;
  font-size: 18px;
}

/* ---------------------------------------------------
    NAVBAR STYLE
----------------------------------------------------- */

.navbar {
  background-image:  linear-gradient(75deg, #1a7070, #1a6b55);
  margin: 0px;
}

.navbar .nav-flex-icons{
  color: whitesmoke;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#content_RSS {
  display: flex;
  align-items: stretch;
}

#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #7386D5;
  color: #fff;
  transition: all 0.3s;
}

#sidebar.active {
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

#sidebar #sidebar-header h3{
  font-size: 25px;
}

#sidebar.active #sidebar-header h3{
  margin: 20px 0px 0px 0px;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:focus {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------------------------
    SIDEBAR LINKS STYLE
----------------------------------------------------- */

#sidebar a.collapser {
  background-color: white;
  color: #7386D5;
}

#sidebar a.collapser.collapsed {
  background: #79ff9022;
  color: inherit;
}

#sidebar ul li a {
  padding: 1px 6px 1px 6px;
  font-size: 18px;
  display: block;
  margin: 0px 10px 0px 10px;
  transition: all 0.3s;
}

#sidebar ul li a:hover {
  color: #7386D5!important;
  background: #fff!important; 
  cursor: pointer;
}

/* ---------------------------------------------------
    Toggle Sidebar BUTTON STYLE
----------------------------------------------------- */

#sidebar button {
  width: 100%;
  padding: 5px;
  text-align: center;
  margin-top: 20px;
}

#sidebar.active button {
  padding: 0px;
}

#sidebar button strong {
  display: none;
  font-size: 1.4em;
}

#sidebar.active button strong {
  display: block;
}

#loupe_recherche {
  position: relative;
  left: 15px;
  top: 22px;
}

#sidebar.active button h4,
#sidebar.active button span, 
#sidebar.active #loupe_recherche{
  display: none;
}

#recherche_commu {
  width: 80%;
  margin: 0 15% 15px 15%;
}


/* ---------------------------------------------------
    FOOTER STYLE
----------------------------------------------------- */

footer {
  background-color: rgb(32, 49, 41);
  box-shadow: 0px -2px 5px black;
}

footer a,
footer h5,
footer p {
  color: white;
}

/* Petit bouton retour en haut */
div.footer-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  animation-duration: .5s;
  transition: 1s;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#accueil,
#contenu {
  width: 80%;
  padding: 20px;
  min-height: 500px;
  transition: all 0.3s;
}

#accueil.big,
#contenu.big {
  width: 90%;
  padding: 20px 10px 20px 10px;
}

div.communaute {
  background-color: rgb(255, 245, 245);
  padding: 10px;
  box-shadow: 3px 2px 5px #c8a7a766;
  margin-bottom: 20px;
}

div.communaute a{
  padding-left: 20px;
  font-size: x-large;
  text-decoration: none;
  color: currentColor;
}

div.communaute a:hover{
  color: #5090c0;
}

div.articles h1 {
  font-size: 1.5em;
  text-indent: 1em;
}

div.article {
  margin: 10px 0px 10px 0px;
  border: 2px solid #80808075 ;
  box-shadow: 2px 5px 10px #10101080;
  padding: 10px;
  text-align: justify;
  text-justify: inter-word;
}

div.article h3 {
  width: 96%;
}

/*Croix pour "supprimer" un article et colonne*/
i.hide_article,
i.hide_column{
  position: absolute;
  right: 40px;
}

/* Dash line entre Les articles d'une commu et de ceux d'une categorie */
#flux_categorie {
  border-left-width: thin;
  border-left-style: dotted;
}

#save_btn #retour_btn{
  padding: 5px;
  margin: 10px 10px 10px 30px;
}

#options_parametres a{
  color: #007bff;
  padding: 15px 0 10px 30px;
}

#options_parametres a:hover{
  text-decoration: underline;
}

#bouton_retour{
  font-size: 20pt;
}
#bouton_retour:hover{
  color:currentColor;
  text-decoration: none;
}

/* ---------------------------------------------------
    AUTRES
----------------------------------------------------- */
/* Boutton UP */
html {
  scroll-behavior: smooth;
}

/* Pages spé (mentions légales et politiques de confidentialité) */
#zone_text {
  padding: 50px 60px 10px 60px;
  line-height: 25px;
}
#zone_text h1,
#zone_text h2,
#zone_text h3{
  line-height: 1.5;
  margin-top: 20px;
}


/* ---------------------------------------------------
    tableau admin
----------------------------------------------------- */

.badge{
  font-size: 16px;
  margin: 5px;
  padding: 0.6em 0.8em;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  #sidebar {
      min-width: 80px;
      max-width: 80px;
      text-align: center;
      margin-left: -80px !important;
      box-shadow: 3px 3px 5px #101010c6;
  }
  .dropdown-toggle::after {
      top: auto;
      bottom: 10px;
      right: 50%;
      -webkit-transform: translateX(50%);
      -ms-transform: translateX(50%);
      transform: translateX(50%);
  }
  #sidebar.active {
      margin-left: 0 !important;
  }

  #sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
  }

  #sidebar .sidebar-header h3{
      display: none;
  }

  #sidebar .sidebar-header strong {
      display: block;
  }
  #sidebar ul li a{
      padding: 20px 10px;
  }
  #sidebar {
      margin-left: 0;
  }
  #sidebarCollapse span {
      display: none;
  }
}