/*-----------------FIXED------------------------*/
.social_fixed,
#top_header_fixed {
  width: 100%;
  height: 60px;
  display: none;
  justify-content: center;
  align-items: center;
  /* border: green solid 1px  */
}

.social_fixed a,
#top_header_fixed a {
  height: auto;
  margin: 0 15px 0 0;
  padding: 0;
  /* border: blue solid 1px */
}

#top_header_fixed a h4 {
  font-weight: 700;
}

nav ul#first_ul li:nth-child(2) {
  margin-left: 1%;
}

nav ul#first_ul li:nth-child(6) {
  margin-right: 1%;
}

nav ul#first_ul li#first_li:first-child {
  width: 20%;
  display: none;
}

nav ul#first_ul li#first_li:last-child {
  width: 20%;
  display: none;
}

#top_header_fixed {
  display: none;
}

.social_fixed i,
#top_header_fixed i {
  color: black;
  font-size: 1.5em;
}

/*------------------------------------------------------------*/
/*-----------------------------NAV----------------------------*/
/*------------------------------------------------------------*/

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 60px;
  border: #f1f1f1 solid;
  border-width: 1px 0;
  box-shadow: 0 4px 8px 0 rgba(92, 92, 92, 0.2);
  margin-bottom: 60px;
  padding: 0;
  z-index: 10000;
  /* border: blue solid 4px */
}

nav ul,
nav ul ul {
  /* padding:0;
  margin:0; */
  list-style: none;
  text-align: center;
}

ul#first_ul {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: blue solid 1px  */
}

nav ul li {
  display: inline-block;
  position: relative;
  /* border: red solid 1px */
}

nav ul ul li {
  display: inherit;
  border: #f8f8f8 solid 1px;
  background-color: white;
  text-align: left;
  width: 200px;
  height: 40px;
}
nav ul ul {
  position: absolute;
  z-index: 1000;
  max-height: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  transition: 0.3s all;
}
nav ul li:hover ul {
  margin-top: 10px;
  max-height: 70vh;
}

nav ul a {
  text-decoration: none;
  display: block;
  padding: 10px 30px;
  color: black;
}

nav ul li ul li:hover a {
  letter-spacing: 1px;
}
nav ul li ul a {
  padding: 10px;
  transition: ease-out 0.3s;
}

/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*------------------------------------RESPONSIVE-----------------------------------------*/
/*---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------*/

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



@media (max-width : 1000px) {

  .container {
    margin-top: 10px;
    padding-top: 0;
    /* border: blue solid 1px; */
  }

  .social,
  #top_header,
  .login {
    width: 33.33%;
  }

  #top_header {
    order: unset;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    margin-bottom: 0;
    /* height: 80px; */
    /* border: red solid 4px; */
  }

  menu {
    display: block;
    height: 80px;
    margin-bottom: 0;
    background-color: white;
  }

  .contenair_header{
    margin-top: 100px;
    margin-bottom: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    /* border: red solid 1px; */
  }



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

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

  /* Button hamberger */
  .nav-button {
    display: block;
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 100001;
    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;
  }

  #first_li,
  nav ul li ul {
    display: none;
  }

  nav ul li {
    display: block;
    z-index: 100000000000;
    /* border: red solid 1px */
  }
  .nav-inner a:link {
    display: block;
    padding: 40px 0 40px 20px;
    margin: 0;
    height: 60px;
    text-decoration: none;
    background-color: #fdfdfd;
    border-bottom: rgb(141, 141, 141) solid 1px;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    /* border: red solid 5px  */
  }

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

  .trait_menu {
    display: none;
  }
}

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

  .menu {
    height: 80px;
  }
}
