/*--------------------------------------------------------------------------------------------------------------------*/
/*                                                 Menu rétractable                                                   */

.cd-auto-hide-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
}
/*
.cd-auto-hide-header.is-hidden {
  transform: translateY(-100%);
}*/

/*--------------------------------------------------------------------------------------------------------------------*/
.menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  transition: 0.5s;
  z-index: 10000;
  opacity: 1;
  height: 100px;
  background-color: #fdfdfd;
  box-sizing: border-box;
  /* border: red dotted 3px; */
}

.nav-inner {
  width: auto;
  height: auto;
  margin-right: 10%;
  text-align: right;
  display: flex;
  align-items: center;
  padding: 0;
  /* border: green dashed 3px; */
}

.aa {
  color: black;
  text-decoration: none;
  padding: 12px;
  margin-bottom: auto;
  margin-top: auto;
}

.nav-inner img {
  margin-bottom: 0;
}

a:link {
  font-size: 1em;
  line-height: 1.2;
  letter-spacing: 0.14em;
  /* text-transform: uppercase; */
  font-family: roboto condensed, -apple-system, BlinkMacSystemFont, segoe ui,
    Roboto, helvetica neue, Arial, sans-serif;
  color: black;
  z-index: 1001;
  /* border: red dotted 3px;*/
}

.trait_menu {
  display: inline-block;
  width: 1px;
  height: 17px;
  z-index: 10;
  background-color: black;
}

/*------------------------LANGUES-------------------*/

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button */
.dropbtn {
  padding: 12px;
  border: none;
  background-color: transparent;
  margin-top: 5px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  min-width: 30px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  padding: 12px;
  text-decoration: none;
  display: block;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content .hide {
  display: none;
  /* background-color: saddlebrown; */
}

.dropdownRespons {
  display: none;
}
/*---------------------------------------------------------------------------------------*/

/*RESPONSIVE*/

/*---------------------------------------------------------------------------------------*/

nav > input,
.nav-button {
  display: none; /* hidden on large screens */
}

@media (max-width: 1500px) {
  .nav-inner {
    display: block;
  }

  .nav-inner a {
    padding: 5px;
  }
}

@media (max-width: 1350px) {
  .menu {
    display: block;
  }

  .nav-inner {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: auto;
    margin-right: 0;
    text-align: left;
    transform: translateX(-150%);
    transition: transform 0.2s;
    /*will-change: transform;*/
  }

  /* here's goes the slide effect */
  input:checked ~ .nav-inner {
    transform: translateX(0);
  }

  /* Button hamberger */
  .nav-button {
    display: block;
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 1;
    height: 30px;
    width: 30px;
    background-color: transparent;
    background-image: linear-gradient(to right, #333, #333),
      linear-gradient(to right, #333, #333),
      linear-gradient(to right, #333, #333);
    background-position: center top, center, center bottom;
    background-repeat: no-repeat;
    background-size: 3.5rem 0.4rem;
    padding: 0;
    outline: 0;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .logo {
    width: 80%;
    text-align: center;
    margin-top: 17px;
    /* border: tomato solid 1px; */
  }

  .nav-inner a:link {
    display: block;
    padding: 25px 0 30px 30px;
    margin: 0;
    height: 40px;
    text-decoration: none;
    background-color: #fdfdfd;
    border-bottom: rgb(18, 23, 88) solid 1px;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
  }

  .nav-inner a:link:first-child {
    border-top: rgb(18, 23, 88) solid 1px;
  }

  .trait_menu {
    display: none;
  }

  /*------drapeaux  -------*/

  .dropdown {
    display: none;
  }

  .dropdownRespons {
    position: absolute;
    display: inline-block;
    top: 15px;
    right: 30px;
  }

  .dropdownRespons:hover .dropdown-content {
    display: block;
  }

  .dropdown-content .hide {
    display: none;
  }
}

@media (max-width: 800px) {
  .cd-auto-hide-header {
    height: 80px;
  }

  .menu {
    height: 80px;
  }

  .logo {
    margin-left: 15px;
  }
}

@media (max-width: 380px) {
  .logo {
    padding-left: 35px;
    transform: scale(0.7);
  }

  .dropdownRespons {
    right: 10px;
  }
  
}
