/**********************************************************************/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1200;
}
body.admin-bar .header {
  top: 32px;
}
.header__content {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding-right: 20px;
  padding-left: 20px;
  z-index: 100;
}
.header-white .header__content {
  background-color: #ffffff;
}
.header-black .header__content {
  background-color: #181818;
}
.header__content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 10;
  pointer-events: none;
}
.header-white .header__content::before {
  background-color: #d9d9d9;
}
.header-black .header__content::before {
  background-color: #ffffff;
}

/**********************************************************************/
.header__logo {
  margin: auto 0;
  padding-top: 5px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 28px;
  text-transform: uppercase;
  transition: opacity 0.3s;
  cursor: pointer;
}
.header-white .header__logo {
  color: #1d1d1d;
}
.header-black .header__logo {
  color: #ffffff;
}
.header__logo:hover {
  opacity: 0.6;
}
.header__logo svg {
  width: 120px;
}
.header-white .header__logo svg path {
  fill: #1d1d1d;
}
.header-black .header__logo svg path {
  fill: #ffffff;
}

/**********************************************************************/
.header__menu {
  margin-left: auto;
}
.header__menu .menu__list {
  display: flex;
  height: 100%;
  padding: 0;
  list-style: none;
}
.header__menu .menu__list li.is-relative {
  position: relative;
}
.header__menu .menu__list li.menu-item-has-children:hover > .menuarea {
  transform: none;
  pointer-events: initial;
}
.header__menu .menu__list li.menu-item-has-children > .submenu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  margin-left: 10px;
  transition: opacity 0.3s;
  cursor: pointer;
}
.header__menu .menu__list li.menu-item-has-children > .submenu-toggle:hover {
  opacity: 0.6;
}
.header__menu .menu__list li.menu-item-has-children > .submenu-toggle::before,
.header__menu .menu__list li.menu-item-has-children > .submenu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 2px;
  transition: opacity;
}
.header__menu .menu__list li.menu-item-has-children > .submenu-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.header__menu
  .menu__list
  li.menu-item-has-children
  > .submenu-toggle.is-active::after {
  opacity: 0;
}
.header-white
  .header__menu
  .menu__list
  li.menu-item-has-children
  > .submenu-toggle::before,
.header-white
  .header__menu
  .menu__list
  li.menu-item-has-children
  > .submenu-toggle::after {
  background-color: #1d1d1d;
}
.header-black
  .header__menu
  .menu__list
  li.menu-item-has-children
  > .submenu-toggle::before,
.header-black
  .header__menu
  .menu__list
  li.menu-item-has-children
  > .submenu-toggle::after {
  background-color: #ffffff;
}
.header-white .header__menu .menu__list li {
  background-color: #ffffff;
}
.header-black .header__menu .menu__list li {
  background-color: #181818;
}
.header__menu .menu__list li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 3px;
  margin: 0 10px;
  font-weight: 500;
  font-size: 13px;
  line-height: 15px;
  transition: opacity 0.3s;
}
.header-white .header__menu .menu__list li a {
  color: #1d1d1d;
}
.header-black .header__menu .menu__list li a {
  color: #ffffff;
}
.header__menu .menu__list a:hover {
  opacity: 0.6;
}
.header__menu .menu__list .menu-item.current-menu-item > a {
  opacity: 0.4;
  font-weight: 700;
}
.header__menu > .menuarea__contact {
  display: none;
}

/**********************************************************************/
.header__burger {
  position: relative;
  display: none;
  width: 20px;
  height: 20px;
  margin: auto 0 auto auto;
  transition: opacity 0.3s;
  cursor: pointer;
}
.header__burger:hover {
  opacity: 0.6;
}
.header__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  width: 12px;
  height: 1px;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.header__burger span:nth-child(1) {
  transform: translate(-50%, -4px);
}
.header__burger span:nth-child(3) {
  transform: translate(-50%, 4px);
}
body.menuarea-on .header__burger span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
body.menuarea-on .header__burger span:nth-child(2) {
  opacity: 0;
}
body.menuarea-on .header__burger span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.header-white .header__burger span {
  background-color: #1d1d1d;
}
.header-black .header__burger span {
  background-color: #ffffff;
}

/**********************************************************************/
.header__btn {
  margin: auto 35px auto 60px;
}
.header-black .header__btn {
  border-color: #ffffff;
  background-color: #181818;
}
.header-black .header__btn:hover {
  background-color: #ffffff;
}

/**********************************************************************/
.header .menuarea {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: calc(100vh - 70px);
  transform: translatey(-200%);
  padding: 40px 0;
  transition: transform 0.6s;
  pointer-events: none;
  z-index: -1;
}
body.admin-bar .header .menuarea {
  height: calc(100vh - 102px);
}
.header-white .menuarea {
  background-color: #ffffff;
  border-color: #d9d9d9;
}
.header-black .menuarea {
  background-color: #181818;
  border-color: #ffffff;
}
.header .menuarea__content {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.header .menuarea .container__row {
  justify-content: flex-end;
}
.header .menuarea .menu__title {
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 600;
  line-height: 15px;
  text-transform: uppercase;
}
.header-white .menuarea .menu__title {
  color: #1d1d1d;
}
.header-black .menuarea .menu__title {
  color: #ffffff;
}
.header .menuarea .menu__list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 24px;
  height: auto;
}
.header .menuarea .menu__list li {
  position: relative;
  background: transparent !important;
}
.header .menuarea .menu__list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
  margin: 0;
  padding: 3px 0;
}
.header .menuarea .menu__list li a img {
  max-height: 20px;
}
.header-white .menuarea .menu__list li a img.is-light {
  display: none;
}
.header-black .menuarea .menu__list li a img.is-dark {
  display: none;
}

/**********************************************************************/
.header .menuarea--small {
  right: initial;
  top: calc(100% - 1px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto !important;
  padding: 15px 20px;
  border-width: 1px;
  border-style: solid;
}

/**********************************************************************/
.header__menu .menu__list .menuarea__socials {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.header__menu .menu__list .menuarea__socials a {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  transition: opacity 0.3s;
}
.header-white .header__menu .menu__list .menuarea__socials a {
  color: #1d1d1d;
}
.header-black .header__menu .menu__list .menuarea__socials a {
  color: #ffffff;
}
.header__menu .menu__list .menuarea__socials a:hover {
  opacity: 0.6;
}
.header__menu .menuarea__contact {
  margin-top: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  white-space: nowrap;
  transition: opacity 0.3s;
  cursor: pointer;
}
.header-white .header__menu .menuarea__contact {
  color: #1d1d1d;
}
.header-black .header__menu .menuarea__contact {
  color: #ffffff;
}
.header__menu .menuarea__contact:hover {
  opacity: 0.6;
}

/**********************************************************************/
/*********************         RESPONSIVE         *********************/
/**********************************************************************/
@media screen and (max-width: 1100px) {
  /**********************************************************************/
  .header__menu .menu__list li a {
    margin: 0 5px;
  }

  /**********************************************************************/
  .header__btn {
    margin-right: 0;
    margin-left: 30px;
  }
}

@media screen and (max-width: 1024px) {
  /**********************************************************************/
  .header__logo {
    font-size: 15px;
    line-height: 20px;
  }
  .header__logo svg {
    width: 100px;
  }

  /**********************************************************************/
  .header__menu .menu__list a {
    margin: 0 3px;
    font-size: 11px;
    line-height: 13px;
  }

  /**********************************************************************/
  .header__btn {
    width: auto;
    margin-left: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /**********************************************************************/
  .header .menuarea__content {
    margin: 0 auto;
  }
  .header .menuarea__row .container__col {
    width: 100%;
  }
}

@media screen and (max-width: 782px) {
  /**********************************************************************/
  body.admin-bar .header {
    top: 46px;
  }

  /**********************************************************************/
  body.admin-bar .header .menuarea {
    height: calc(100vh - 116px);
  }
}

@media screen and (max-width: 767px) {
  /**********************************************************************/
  .header {
    height: 50px;
  }
  .header__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .header-white .header__content::after {
    background-color: #ffffff;
  }
  .header-black .header__content::after {
    background-color: #181818;
  }

  /**********************************************************************/
  .header__logo {
    font-size: 13px;
  }
  .header__logo svg {
    width: 90px;
  }

  /**********************************************************************/
  .header__burger {
    display: block;
  }

  /**********************************************************************/
  .header__btn {
    width: 130px;
    height: 30px;
    margin-left: 15px;
  }

  /**********************************************************************/
  body.menuarea-on {
    overflow: hidden;
  }
  .header__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    transform: translateY(-200%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: calc(100vh - 50px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 30px 20px 140px;
    transition: transform 0.6s;
    z-index: -1;
  }
  body.admin-bar .header__menu {
    height: calc(100vh - 50px - 46px);
  }
  body.menuarea-on .header__menu {
    transform: none;
  }
  .header-white .header__menu {
    background-color: #ffffff;
  }
  .header-black .header__menu {
    background-color: #181818;
  }
  .header__menu .menu__list {
    width: 100%;
    margin-bottom: 30px;
  }
  .header .menuarea .menu__title {
    margin: 20px 0;
  }
  .header__menu .menu__list {
    flex-direction: column;
    height: auto;
  }
  .header__menu .menu__list li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .header__menu .menu__list li.menu-item-has-children > .submenu-toggle {
    display: flex;
  }
  .header__menu > .menu__list > li > a {
    height: auto;
    padding: 0;
    margin: 0;
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    text-transform: uppercase;
  }
  .header__menu > .menuarea__contact {
    display: inline-block;
  }

  /**********************************************************************/
  .header .menuarea {
    position: relative;
    left: initial;
    right: initial;
    top: initial;
    display: none;
    height: initial;
    transform: none;
    padding: 30px 0 0;
    pointer-events: initial;
    z-index: initial;
  }
  body.admin-bar .header .menuarea {
    height: auto;
  }
  .header .menuarea--small {
    display: none;
  }
  .header .menuarea__content {
    max-width: 100%;
  }
  .header .menuarea .menu__list {
    gap: 12px 16px;
  }

  /**********************************************************************/
  .header__menu .menuarea__contact {
    margin-top: 10px;
    font-size: 18px;
  }
}
