/* --------------------------------------------------------
DRN Technologies (c) 1999-2021. All rights reserved.
---------------------------------------------------------*/

/* Style par défaut */
/* APDIKT.NET */

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: #333;
}


/* Haut de page */

.header {
  display: flex;
  flex-wrap: wrap;
  background: #8EEE8E;
  color: black;
  width: 100%;
}

.header-left {
  float: left;
  width: 50%;
  padding-left: 20px;
  padding-top: 0px;
  text-align: left;
}

.header-left h1 {
  font-size: 40px;
}

.header-left a {
  color: black;
  text-decoration: none; /* Remove underline */
}

.header-right {
  float: right;
  width: 50%;
  padding-right: 20px;
  padding-top: 25px;
  text-align: right;
}

.header-right a {
  text-decoration: none; /* Remove underline */
}

.header-right a:hover {
  text-decoration: none; /* Remove underline */
}

.header-right img {
  margin: 2px 0px 2px 20px;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  vertical-align: middle;
}


/* Top navigation bar with dropdown */

.navbar {
  overflow: hidden; /* Hide overflow */
  background-color: #000;
}

.navbar a {
  float: left; /* Make sure that the links stay side-by-side */
  display: block; /* Change the display to block, for responsive reasons (see below) */
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none; /* Remove underline */
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 20px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn { /* Change color on hover/mouse-over */
  background-color: #ddd;
  color: black;
}

.dropdown-content { /* Dropdown Content (Hidden by Default) */
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a { /* Links inside the dropdown */
  float: none;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover { /* Change color of dropdown links on hover */
  background-color: #ddd;
}

.dropdown:hover .dropdown-content { /* Show the dropdown menu on hover */
  display: block;
}


.navbar a.right { /* Right-aligned link */
  float: right; /* Float a link to the right */
}


/* Ensure proper sizing */
* {
  box-sizing: border-box;
}


/* Column container */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  flex: 25%; /* Set the width of the sidebar */
  background-color: #f1f1f1; /* Grey background color */
  padding: 20px; /* Some padding */
}

/* side blanc*/
.side-white {
  flex: 25%; /* Set the width of the sidebar */
  background-color: #fff; /* Grey background color */
  padding: 0px; /* Some padding */
}


/* Main column */
.main {
  flex: 75%; /* Set the width of the main content */
  background-color: white; /* White background color */
  padding: 20px; /* Some padding */
  font-size: 0.875em;
  color: #444;
}

/* Pied de page */


.footer-1 {
  padding-left: 20px;
  padding-top: 20px;
  text-align: left;
  background: #333;
  color: #818181;
  font-weight: bold;
}

.footer-1 a {
  text-decoration: none;
  font-size: 0.875em;
  color: #818181;
}

.footer-1 a:hover {
  font-size: 0.875em;
  color: #f1f1f1;
}

.footer-1 img {
  float: none;
  margin: 2px 0px 2px 20px;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  vertical-align: middle;
}

.footer-2 {
  padding: 0px;
  text-align: left;
  background: #333;
  color: #fff;
  font-size: 1em;
}

.footer-3 {
  padding: 20px;
  text-align: left;
  background: #333;
  color: #818181;
  font-size: 0.875em;
}

.footer-3 a {
  text-decoration: none;
  font-size: 0.875em;
  color: #818181;
}

.footer-3 a:hover {
  font-size: 0.875em;
  color: #f1f1f1;
}


/* Sidenav Push Content with opacity */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

#full {
  transition: margin-left .5s;
  padding: 0px;
}

/* Responsive images */
.responsive {
  max-width: 100%;
  height: auto;
}

/* Article populaire - Top 5 */
.populaire {
  display: flex;
  flex-wrap: nowrap;
  height: 50px;
}

.populaire-top {
  color: #444;
  text-align: center;
  width: 30px;
  height: 50px;
  background: #8EEE8E;
}

.populaire-img {
  width: 130px;
  height: 50px;
}

.populaire-txt {
  white-space: nowrap; /* empeche le texte qui depasse de s'afficher en dessous sur une seconde ligne */
  overflow: hidden; /* empeche le texte de depasser du cadre en le masquant */
  text-overflow: ellipsis; /* affiche trois petits points */
  color: #444;
  background: #f1f1f1;
  width: 800px;
  max-width: 100%;
  height: 50px;
  padding-left: 15px;
}

.populaire-txt a {
  text-decoration: none;
  color: #444;
}