/* HAMBURGER */
.line {
  position: relative;
}
#footer-languages {height: 30px}

.line,
.line::after,
.line::before {
  content: "";
  background-color: #fff;
  width: 2rem;
  display: inline-block;
  height: 0.2rem;
  border-radius: 12px;
  left: 0;
  transition: all 0.3s;
}
.line::after {
  top: -0.8rem;
  position: absolute;
}
.line::before {
  top: 0.8rem;
  position: absolute;
}
.checked > .line::after {
  top: 0;
  transform: rotate(135deg);
}
.checked > .line::before {
  top: 0;
  transform: rotate(-135deg);
}
.checked > .line {
    background-color: transparent;
}


/* hanburger end*/


.header__logo__mobile {
  z-index: 1;
}
.subnav-img { height: 20px;}
#nav-img-mobile {display: none}
*, ::before, ::after {
  box-sizing: border-box;
}

.bx-chevron-down, .dropdown-nav, #nav-mobile-button, .stay-mobile {display: block;}
.nav__link {font-family: LtCnFont;}
.nav__link:hover {
  color: #FCB131;
}
.subnav-text {
  margin-top: 0px; 
  font-size: 11px;
  color: black !important;
}
ul:not(#list-with-style) {
  margin: 0 auto;
  /* margin: 0; */
  padding: 0;
  list-style: none;
}

a {text-decoration: none;}

.bd-grid {
  display: flex;
  justify-content: flex-end;
  display: grid;
  grid-template-columns: 100%;
  margin-left: 1.5rem;
}

/*===== HEADER =====*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 10%;
  background-color: black;
  z-index: 1;
  display: flex;
/*  flex-direction: row-reverse; */
  justify-content: space-between;
  align-items: center;
}
#mobile-subcompany {
  top: 62px ;
}

.header__logo {
  color: white;
  z-index: 1;
}

.header__toggle {
  order: 3 !important;
  font-size: 1.7rem;
  cursor: pointer;
}

@media screen and (max-width: 937px) {

#nav-mobile-button {
  display: none
}
}
/*===== NAV =====*/
@media screen and (max-width: 852px) {
  #nav-img-mobile, #footer-languages {
    display: block;
    width: 100px;
  }
  .header {justify-content: flex-end}

  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    background-color: black;
    width: 80%;
    height: 100%;
    padding: 60px 0;
    z-index: 1;
    transition: .5s;
    overflow-y: auto;
  }
}

.nav__content {
  display: flex;
  flex-direction: column;
}

.nav__perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.nav__img {
  display: flex;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}
#nav-img, #footer-languages {
  max-height: 30px;
}

.nav__menu {height: 100%}

.nav__img img {
  width: 70px;
}

.nav__name {
  display: block;
  font-size: 1rem;
  color: #FBFBFB;
}

.nav__item {
  margin-bottom: 1rem;
}

.nav__link {color: white}

/*Show menu*/
.show {
  left: 0;
}

/*Active link*/
.active {
  color: #FBFBFB;
}

/*=== Dropdown ===*/
.dropdown__link {
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown__icon {
  font-size: 1.3rem;
  transition: .5s;
}

.dropdown__menu {
  margin: 1rem 0 0 1rem;
  display: none;
}
#nav-img {
  margin-left: -3px;
  max-height: 30px;
}

#footer-languages {max-height: 30px}

.dropdown__item {
  margin: 1rem 0 1rem 15px;; 
}

/* .dropdown:hover > .dropdown__menu {
  display: block;
} */

.dropdown:hover .dropdown__icon {
  transform: rotate(180deg);
}

@media screen and (min-width: 1710px) {
  #nav-img, #footer-languages {
    height: 6vh;
    max-height:6vh !important
  }
  .nav__content {padding-bottom: 0.6vh !important}
  .nav__list * {font-size: 25px;}
  .header {height: 10vh !important}
  #mobile-subcompany {
    top: 11vh ;
  }
  .subnav {
    top: 10vh;
    grid-template-columns: repeat(6, 130px);
}
  .subnav-img {
    height: 30px !important;
  }
  #subnav-links > p {font-size: 14px}
}

/* ===== MEDIA QUERIES=====*/
@media screen and (min-width: 576px) {
  .nav {
    height: 100%;
    width: 288px;
  }
}

@media screen and (max-width: 1710px) {
  #mobile-subcompany {
    top: 62px;
    padding: 10px 0px;
  }
}


@media screen and (max-width: 814px) {
  .header {padding: 0 10%}
}

@media screen and (min-width: 973px) {
  #nav_li_img {
    height: 100%;
    position: absolute;
    left: 10%;
  }
  #nav-img, #footer-languages {
    max-height: 30px;
}
  .header {padding: 0 5.7vw}
}

@media screen and (max-width: 973px) {
  #nav_li_img {display: none}
  .stay-mobile {
    display: block;
    max-height: 40px;
    position: absolute;
    left: 10vw;
  }
  #subnav-links > p {font-size: 10px}
  #nav-mobile-button {margin-right: 10px}
}

@media screen and (min-width: 852px) {
  body {
    margin: 0;
  }
  .header {
      background-color: black;
      color: white;
      height: 60px;
  }
  
  .header__logo, .header__toggle, #nav-mobile-button {display: none;}
  .desktop {display: none;}
  .nav { width: 100%;}
  .nav__content {
    height: 100%;
    flex-direction: row;
    align-items: center;
  }
  .nav__perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
  }
  .nav__img {
    width: 40px;
    height: 40px;
    margin-right: .5rem;
    margin-bottom: 0;
  }

  .nav__name {
    color: #0E1026;
  }
  .nav__list {
    height: 100%;
    font-size: 16px;
    display: flex;
    align-items: flex-end;
  }
  .nav__list { padding-bottom: 6px !important;}
  .nav__item {
    margin: 0.5rem;
  }

  /*Active link new color*/
  .active {
    color: #FCB131;
  }
  .nav__link:hover {
    color: #FCB131;
  }
  .dropdown {
    position: relative;
  }
  .dropdown__menu {
    position: fixed;
    margin: 0;
    top: calc(10vh + 1rem);
    padding: .5rem 1.5rem;
    border-radius: .5rem;
  }

  #mobile-subcompany > li {padding: 0px 20px}
    #mobile-submenu1 > li {display: none} 
    #mobile-submenu2 {
      color: white;
      background-color: black;
      top: 40px;
    }

  .dropdown__item {
    margin: .5rem 0;
  }
}

@media screen and (max-width: 365px) {
  #nav-img, #footer-languages {
    max-height: 20px;
}
#nav-mobile-button {
  margin-right: 0px;
}
}

@media screen and (min-width: 2000px) {
  #nav_li_img {max-height: 100% !important;}
  .bd-grid {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: auto;
  }
  .nav__link:hover {
  color: #FCB131;
  }
}

@media screen and (max-width: 255px) {
  #nav-mobile-button {display: none;}
}

@media screen and (max-width: 234px) {
  #nav-img, #footer-languages {max-height: 15px;}
  #get-max-title {
    font-size: 22px !important;
  }
}