/*-------------------------------*/
/* HEADER Horizontal bar CONTENT */
/*-------------------------------*/
/* header back ground */

body {
    background-color:#555555;
  }
  
  header {
    top: 0;
    left: 0;
    margin-top: 0px;
    position: fixed;
    z-index: 1000;
    width: 100%;
    background-color: #DFCFBE;
    color: #6B5B95;
    /* Autres styles */
    -webkit-animation: moveBackground 10s linear infinite;
  }
  
  @-webkit-keyframes moveBackground {
    from {
        background-position: 0 0; /* Position initiale de l'image de fond (à gauche) */
    }
    to {
        background-position: 100% 0; /* Position finale de l'image de fond (à droite) */
    }
}
  
  .main_title {
    text-align: center;
  }
  
  footer {
    text-align: center;
    left: 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: #DFCFBE;
    color: #6B5B95;
  }
  
  
  .mbody {
    padding-top: 130px;
  }
  
  /* Page content */
  .content {
    padding: 16px;
    background-color: white;
  }
  
  .note {
    background-color:lightblue;
    border-radius: 10px;
    padding: 5px;
  }

  .warning {
    background-color:rgb(255, 215, 140);
    border-radius: 10px;
    padding: 5px;
  }

  .critical {
    background-color:rgb(255, 70, 70);
    border-radius: 10px;
    padding: 5px;
  }

  /* The sticky class is added to the header with JS when it reaches its scroll position */
  .sticky {
    position: fixed;
    top: 0;
    width: 100%
  }
  
  /* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
  .sticky + .content {
    padding-top: 102px;
  }
  
  /* Add a black background color to the top navigation */
  .topnav {
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
    padding-bottom: 10px;
  }

  h2 {
    background-color: #aaaaaa;
    border-radius: 5px;
    padding: 5px;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: center;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    background-color: #4CAF50;
    color: white;
  }
  
  /*-------------------------*/
  /* TAB CONTENT RULE EDITOR */
  /*-------------------------*/
   /* Style the tab */
  .tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
  }
  
  /*-----------------------------------------*/
   /* Switch configuration                   */
  /*-----------------------------------------*/
  /* The switch - the box around the slider  */
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 20px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  /*-------------------------------------*/
  /*      hidden formular               */
  /*-----------------------------------*/
  
  /* Button used to open the contact form - fixed at the bottom of the page */
  .open-button {
    background-color: #555;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    right: 28px;
    width: 280px;
  }
  
  /* The popup form - hidden by default */
  .form-popup {
    left: 0;
    top: 0;
    width: 100%;
    display: none;
    border: 3px solid #f1f1f1;
    z-index: 1001;
    position:absolute;
  }
  
  /* Add styles to the form container */
  .form-container {
    background-color: white;
  }
  
  /* Full-width input fields */
  .form-container input[type=text], .form-container input[type=password], .form-container .slct {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
  }
  
  /* When the inputs get focus, do something */
  .form-container input[type=text]:focus, .form-container input[type=password]:focus, .form-container .slct:focus {
    background-color: #ddd;
    outline: none;
  }
  
  .space_text {
    height: 200px;
    width: 100%;
  }
  
  /* Set a style for the submit/login button */
  .form-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.8;
  }
  
  /* Add a red background color to the cancel button */
  .form-container .cancel {
    background-color: red;
  }
  
  /* Add some hover effects to buttons */
  .form-container .btn:hover, .open-button:hover {
    opacity: 1;
  }
  
  /*-------------------------------------*/
  /*      Cart css                      */
  /*-----------------------------------*/
  
  .dropdown:hover > #cart-dropdown{
      display: block;
  }

  /***********************************/
  /*    Menu                        */
  /*********************************/
  
/* Create a column layout with Flexbox */
.row {
    display: flex;
    position: absolute;
    height: 80%;
    width: 99%;
    padding-top: 10px;
  }
  
  /* Left column (menu) */
  .left {
    flex: 10%;
    padding: 15px 5px;
    border-radius: 10px;
    margin-right: 10px;
    display: none;
  }

  .sideIndicator {
    width: 50px;
    text-align : center;
    color : #ffffff;
    border-radius: 10px;
    margin-right: 10px;
  }
  
  .left h2 {
    padding-left: 8px;
  }
  
  /* Right column (page content) */
  .right {
    flex: 90%;
    padding: 15px;
    border-radius: 10px;
    overflow-y:scroll;
  }

  .btn {
    width: 100%;
  }

  .container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5px;
  }

  #content {
    position: relative;
    width: 100%;
    height: 90%;
  }

  .responsive {
    width: 100%;
    height: auto;
  }


  /* Position the image container (needed to position the left and right arrows) */
.container_gallery {
  position: relative;
  border: solid;
  width: 80%;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  background-color: black;
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 46px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row_gallery {
  background-color: black;
}

.row_gallery:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column_gallery {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}


