.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #f2f2f2;
  display: none;
}

@media (max-width:899px) {
  .header {
    top: -1px;
  }
}

.transparent-header .header {
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.page-scroll .header {

}

.page-scroll .site-header-inner {
  height: 70px !important;
  transition: height 0.2s ease;
}

.header-wrapper {
  position: relative;
  z-index: 20;
}

.header-wrapper__inner {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1700px;
  height: 95px;
  transition: height 0.2s ease;
  padding: 0 32px;
}

.page-scroll .header-wrapper__inner {
  height: 56px;
}

@media (max-width:1399px) {
  .header-wrapper__inner {
    height: 80px;
  }
}

@media (max-width:1199px) {
  .header-wrapper__inner {
    height: 70px;
  }
}

@media (max-width:899px) {
  .header-wrapper__inner {
    padding: 0 24px;
  }
}

@media (max-width:599px) {
  .header-wrapper__inner {
    height: 55px;
    padding: 0 18px;
  }
  .page-scroll .header-wrapper__inner {
    height: 48px;
  }
}

.header__logo_wrapper {
  max-width: 205px;
  transition: max-width 0.2s ease;
}

.page-scroll .header__logo_wrapper {
  max-width: 125px;
}

@media (max-width:1699px) {
  .header__logo_wrapper {
    max-width: 215px;
  }
}

@media (max-width:1399px) {
  .header__logo_wrapper {
    max-width: 155px;
  }
  .page-scroll .header__logo_wrapper {
    max-width: 125px;
  }
}

@media (max-width:599px) {
  .header__logo_wrapper {
    max-width: 120px;
  }
  .page-scroll .header__logo_wrapper {
    max-width: 100px;
  }
}

.header__logo {
  flex: none;
  image-rendering: -webkit-optimize-contrast;
}

@media (max-width:1399px) {
  .header__logo {
    width: 290px;
  }
}

@media (max-width:1199px) {
  .header__logo {
    width: 275px;
  }
}

@media (max-width:899px) {
  .header__logo {
    width: 240px;
  }
}

@media (max-width:599px) {
  .header__logo {

  }
}

.header__menu_wrapper {
  flex-grow: 2;
}

.header__aux_wrapper {
  max-width: 405px;
}




/* NEW HEADER */

.aux-menu li.menu-item-type-post_type:first-child {
  display: none !important;
}
li#menu-item-3284 {
  display: none !important;
}
.site-header-new a,
.site-header__info a {
  text-transform: uppercase;
  color: #898989;
}


@media (max-width:899px) {

  .site-header-sub-nav-item:hover{
    transform: scale(1) !important;
  }
  .site-header-new .site-header-sub-nav-item{
    border-bottom:none;
  }
  
   .site-header-sub-nav-wrapper.site-header-new {
    padding: 25px 0 !important;
    display: none;
}
}

.site-header-new a:hover {
  color: #98876b;
}

.site-header__info {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 30px 0;
  border-top: 2px solid #bfbeba;
  border-bottom: 2px solid #bfbeba;
}

@media (max-width:1499px){
  .site-header__info {
    padding: 20px 0;

  }
}
@media (max-width:1299px){
  .site-header__info {
    padding: 15px 0;

  }
}
@media (max-width:699px) {
  .site-header__socials img{
    width: 40px !important;
  }
  .site-header-sub-nav-wrapper.site-header-new {
    padding: 15px 0 !important;
}

  .site-header__info a {
    font-size: 16px !important;
  }

  .site-header__info{
    place-content: center;
    place-items: center;
    gap: 20px;
    display: grid;
    padding: 10px 0;
  }
}
.site-header__info a {
  font-size: 20px;
  color: #898989;
  text-transform: uppercase;
}
@media (max-width:1299px) {
  .site-header__info a {
    font-size: 18px;
  }
}

.site-header__socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}

.site-header__socials img:hover {
  filter: none;
  transition: linear 0.2s all;
}

.site-header__socials img {
  width: 60px;
  filter: grayscale(1);
  transition: linear 0.2s all;
}

@media (max-width:1299px){
  .site-header__socials img {
    width: 45px;
  }
}

.site-header-wrapper__whatsapp img{
  width: 40px;
}

@media only screen and (max-width: 599px) {
  .site-header-wrapper__whatsapp img{
    width: 35px;
  }
}

.site-header {
  position: fixed;
  width: 100%;
  z-index: 1001;
  color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background:#fffdfa;
  max-height: 80px; /* same as .site-header-inner */
}

.page-scroll .site-header {
  height: 70px !important;
  transition: height 0.2s ease;
}

@media only screen and (max-width: 1499px) {
  .site-header {
    max-height: 90px;
  }
}

@media only screen and (max-width: 1199px) {
  .site-header {
    max-height: 90px;
  }
}

@media only screen and (max-width: 899px) {
  .site-header {
    max-height: 65px;
  }
}

.site-header.navi-active {
  max-height: none;
}

@media screen and (max-width: 899px) {
  body.mobile-navigation-active {
    overflow-y: hidden;
    height: 100vh;
  }

}

.fixed-header .site-header {
  position: fixed;
}

.customize-support.fixed-header .site-header {
	top: 32px;
}

@media (max-width:782px) {
	.customize-support.fixed-header .site-header {
		top: 46px
	}
}

@media screen and (max-width: 599px) {
	#wpadminbar {
		position: fixed;
	}
}

.site-header-wrapper {
  position: relative;
  z-index: 102;
  background-color: var(--dark);
}

.fixed-header .site-header-wrapper {
   background: none;
}

.site-header-inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 60px;
  transition: height 0.2s ease;
}

.header-inner.site-header-inner {
  max-width: 90%;
  margin: auto;
}

@media only screen and (max-width: 1499px) {
  .site-header-inner {
    height: 90px;
  }
}

@media only screen and (max-width: 1299px) {
  .site-header-inner {
    height: 80px;
  }
}

@media only screen and (max-width: 899px) {
  .site-header-inner {
    max-height: 65px;
  }
}

@media only screen and (max-width: 299px) {
  .site-header-inner {
    gap: 30px;
  }
}

.site-header-logo-wrapper {

}

.custom-logo-link {
  min-width: 260px;
}

@media only screen and (max-width: 1499px) {
  .custom-logo-link {
    min-width: 220px;
  }
}

@media only screen and (max-width: 1199px) {
  .custom-logo-link {
    min-width: 180px;
  }
}

@media only screen and (max-width: 899px) {
  .custom-logo-link {
    min-width: 140px;
  }
}

@media only screen and (max-width: 599px) {
  .custom-logo-link {
    min-width: 125px;
  }
}

@media only screen and (max-width: 319px) {
  .custom-logo-link {
    min-width: 0;
  }
}

.site-header-logo {
  display: flex;
  max-width: 260px;
  max-height: 60px;
  -webkit-transition: max-width 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: max-width 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: max-width 300ms cubic-bezier(.17, .04, .03, .94);
  transition: max-width 300ms cubic-bezier(.17, .04, .03, .94);
  position: relative;
}

@media only screen and (max-width: 1499px) {
  .site-header-logo {
    max-width: 220px;
  }
}

@media only screen and (max-width: 1199px) {
  .site-header-logo {
    max-width: 180px;
  }
}

@media only screen and (max-width: 899px) {
  .site-header-logo {
    max-width: 140px;
  }
}

@media only screen and (max-width: 599px) {
  .site-header-logo {
    max-width: 100px;
  }
}

@media only screen and (max-width: 319px) {
  .site-header-logo {
    max-width: 100px;
  }
}

.site-header-logo img {
  width: auto;
  margin: auto;
}

.site-header-logo .site-header-logo-wt {
  opacity: 1;
  -webkit-transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
  transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
}

.scroll-header-dark .site-header:not(.navi-active) .site-header-logo .site-header-logo-wt {
  opacity: 0;
}

.site-header-logo .site-header-logo-bk {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
  transition: opacity 300ms cubic-bezier(.17, .04, .03, .94);
}

.scroll-header-dark .site-header:not(.navi-active) .site-header-logo .site-header-logo-bk {
  opacity: 1;
}

/* Main navigation */

.site-header-nav-wrapper {
  margin-left: auto;
  height: 100%;
  z-index: 101
}

.site-header-nav-wrapper__wrap {
  width: 100%;
  background: #b0ada6;
}

@media (max-width:899px) {
  .site-header-nav-wrapper {
    order: 2;
    margin-left: 0;
  }
}

.site-header-aux-wrapper img{
  width: 40px;
  top: 2px;
  position: relative;
}
@media (max-width:599px) {
  .site-header-aux-wrapper img{
    width: 30px;
  }
}
.site-header-aux-wrapper {
  display: flex;
  gap: 45px;
}

@media (max-width:899px) {
  .site-header-aux-wrapper {
    gap: 25px;
  }
}

@media (max-width:599px) {
  .site-header-aux-wrapper {
    gap: 15px;
  }
}

.site-header-nav-wrapper > nav,
.site-header-aux-wrapper > nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header-nav-wrapper > nav,
.site-header-aux-wrapper > nav {
  display: flex;
  align-items: center;
  height: 100%;
}


.site-header-nav-wrapper > nav > ul,
.site-header-aux-wrapper > nav > ul {
  list-style: none;
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 50px;
}

.site-header-nav-wrapper > nav > ul {
  width: 100%;
  margin: auto;
  justify-content: left;
}

@media (max-width:1499px) {
  .site-header-nav-wrapper > nav > ul {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    text-align: center;
    gap: 10px;
  }
}

.site-header-aux-wrapper > nav > ul {
  gap: 12px;
}

.site-header-nav-wrapper > nav > ul > li,
.site-header-aux-wrapper > nav > ul > li {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header-nav-wrapper > nav > ul li a,
.site-header-aux-wrapper > nav > ul li a {
  display: inline-flex;
  height: 100%;
  align-items: center;
  position: relative;
  -webkit-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  padding-left: 10px;
  padding-right: 10px;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 99;
  text-decoration: none;
}

@media (max-width:1199px) {
  .site-header-nav-wrapper > nav > ul li a,
  .site-header-aux-wrapper > nav > ul li a {
    font-size: 15px;
  }
}

.site-header-aux-wrapper > nav > ul li a {
  padding-left: 5px;
  padding-right: 5px;
  color: #aaa;
}

.site-header-aux-wrapper > nav > ul li.wpml-ls-current-language a {
  color: #fff;
}

.site-header-nav-wrapper > nav > ul li:first-child a,
.site-header-aux-wrapper > nav > ul li:first-child a {
  padding-left: 0;
}

.site-header-nav-wrapper > nav > ul li:last-child a,
.site-header-aux-wrapper > nav > ul li:last-child a {
  padding-right: 0;
}

.site-header-nav-wrapper > nav > ul.hover li a {
  color: #aaa;
}

.site-header-nav-wrapper > nav > ul li a:hover,
.site-header-aux-wrapper > nav > ul li a:hover,
.site-header-nav-wrapper > nav > ul li.hover a {
  color: #ffffff;
}

/* Auxilary navigation */

.site-header-aux-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content:left;
  height: 100%;
}

@media (max-width:899px) {
  .site-header-aux-wrapper {
    order: 1;
    margin-left: auto;
  }
}

.site-header-btn {
  align-self: center;
  padding: 7px 15px;
  font-size: 13px;
  border-width: 1px;
  margin-left: 4px;
  margin-right: 16px;
}

@media (max-width:1199px) {
  .site-header-btn {
    margin-left: 0;
    margin-right: 9px;
  }
}

@media (max-width:599px) {
  .site-header-btn {
    display: none;
  }
}

/* Submenus */

.site-header-navigation > ul li.menu-item-has-children {
  display: flex;
  transition-duration: 0.5s;
  position: relative;
}

.site-header-navigation > ul li.menu-item-has-children > a::after {
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  font-size: 14px;
  margin-left: 5px;
  margin-bottom: -2px;
  -webkit-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  transition: all 300ms cubic-bezier(.17, .04, .03, .94);
}

.site-header-navigation > ul > li.menu-item-has-children > ul {
  position: absolute;
  opacity: 0;
  top: 100%;
  left: 0;
  width: auto;
  min-width: 200px;
  white-space: nowrap;
  transform: scaleY(0) translateY(0);
  transform-origin: top;
  -webkit-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  background: var(--gray);
  padding: 0;
  margin-top: 0;
  margin-left: -11px;
  z-index: 102;
}

/*.site-header-navigation > ul > li.menu-item-has-children.wpml-ls-item > ul {
  margin-left: 0;
  min-width: 0;
}*/

.site-header-navigation > ul > li.menu-item-has-children.wpml-ls-item > ul {
  margin-left: 0;
  min-width: 50px;
  opacity: 1;
  background: #7a7a78;
}

@media (max-width:899px) {
  .site-header-navigation > ul > li.menu-item-has-children.wpml-ls-item > ul{
    width: 70px;
    margin: auto;
    right: 0;
    top: 40px;
  }
}


.transparent-header .site-header-navigation > ul li.menu-item-has-children ul {
  background: none;
  box-shadow: 0 0 80px rgba(0, 0, 0, .15);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-top: none;
}

.site-header-navigation > ul li.menu-item-has-children:hover > ul, .site-header-navigation > ul li.menu-item-has-children:focus-within > ul, .site-header-navigation > ul li.menu-item-has-children ul:hover {
  opacity: 1;
  transform:scaleY(1) translateY(0);
}

.site-header-navigation > ul li.menu-item-has-children ul li {
  width: 100%;
  margin: 0;
}

.site-header-navigation > ul li.menu-item-has-children ul li a {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 14px 21px;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .site-header-navigation > ul li.menu-item-has-children ul li a {
    font-size: 15px;
  }
}

.site-header-navigation > ul li.menu-item-has-children ul li a:hover {
  background-color: var(--dark);
  text-decoration: none;
}

/* Header popup navigation */

.header-navigation-popup-toggle {
  display: flex;
  position: relative;
	padding: 0;
	margin: 0;
	z-index: 102;
  width: 76px;
  height: 100%;
  transition: all .2s ease;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1499px) {
  .header-navigation-popup-toggle {
    width: 68px;
  }
}

@media (max-width: 1199px) {
  .header-navigation-popup-toggle {
    width: 52px;
  }
}

@media (max-width: 899px) {
  nav#aux-navigation {
    width: 100%;
}
  .site-header-navigation{
    width: 100%;
  }
  .header-navigation-popup-toggle {
    width: 52px;
  }
}

.header-navigation-popup-toggle .menu-icon {
  background: none;
  display: flex;
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all .2s ease-out;
  width: 42px;
  margin: auto;
}

@media (max-width: 1199px) {
  .header-navigation-popup-toggle .menu-icon {
    width: 33px;
  }
}

@media (max-width: 899px) {
  .header-navigation-popup-toggle .menu-icon {
    width: 33px;
  }
}

.header-navigation-popup-toggle .menu-icon:before,
.header-navigation-popup-toggle .menu-icon:after {
  background: #f2f2f2;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
  opacity: 0;
  visibility: hidden;
}

.header-navigation-popup-toggle .menu-icon:before,
.header-navigation-popup-toggle .menu-icon:after {
  width: 40px;
}

@media (max-width: 1199px) {
  .header-navigation-popup-toggle .menu-icon:before,
  .header-navigation-popup-toggle .menu-icon:after {
    width: 30px;
  }
}

@media (max-width: 899px) {
  .header-navigation-popup-toggle .menu-icon:before,
  .header-navigation-popup-toggle .menu-icon:after {
    width: 25px;
  }
}

.header-navigation-popup-toggle.active .menu-icon {

}

.header-navigation-popup-toggle.active .menu-icon:before {
  transform: rotate(-45deg) translateY(2px) translateX(2px);
}

.header-navigation-popup-toggle.active .menu-icon:after {
  transform: rotate(45deg) translateY(-2px) translateX(2px);
}

.header-navigation-popup-toggle.active .menu-icon:before,
.header-navigation-popup-toggle.active .menu-icon:after {
  top: 0;
  opacity: 1;
  visibility: visible;
  background: #9e8669;
}

.header-navigation-popup-toggle .text {
  color: #fff;
  font-weight: 300;
  text-transform: lowercase;
  font-size: 29px;
  letter-spacing: 0.5px;
  line-height: 1;
  visibility: hidden;
  opacity: 0;
  transition: all .2s ease-out;
  margin-top: -4px;
  margin-right: 0;
}

@media (max-width: 1499px) {
  .header-navigation-popup-toggle .text {
    font-size: 26px;
    letter-spacing: 0.45px;
  }
}

@media (max-width: 1199px) {
  .header-navigation-popup-toggle .text {
    font-size: 20px;
    letter-spacing: 0.35px;
  }
}

@media (max-width: 899px) {
  .header-navigation-popup-toggle .text {
    font-size: 19px;
    letter-spacing: 0.30px;
  }
}

.scroll-header-dark .header-navigation-popup-toggle .text {
  color: #000;
}

.header-navigation-popup-toggle:not(.active) .text {
  visibility: visible;
  opacity: 1;
}

.header-navigation-popup {
  padding: 0 16px;
  margin: 0;
  position: fixed;
  top: 95px;
  left: 0;
  z-index: 99;
  background: #fff;
  width: 100%;
  transition: top 0.15s ease;
}

/* Search form */

.site-header-searchform {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  max-width: 660px;
  margin-top: -12px;
}

.site-header-search-field {
  display: flex;
  position: relative;
  background: none;
  border: none;
  border-bottom: 1px solid #777;
  border-radius: 0;
  padding: 0 0 4px 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.1ex;
  line-height: 1;
  margin-bottom: 3px;
  outline: none !important;
}

@media (max-width:1499px) {
  .site-header-search-field {
    font-size: 19px;
  }
}

@media (max-width:1199px) {
  .site-header-search-field {
    font-size: 15px;
  }
}

.site-header-search-field:hover {
  border-color: #aaa;
}

.site-header-search-field:focus {
  border-color: #fff;
}

.site-header-search-field::-webkit-input-placeholder {

}

.site-header-search-field:-ms-input-placeholder {

}

.site-header-search-field::placeholder {
  font-size: 17px;
  letter-spacing: 0.05ex;
  color: #777;
}

@media (max-width:1499px) {
  .site-header-search-field::placeholder {
    letter-spacing: normal;
  }
}

@media (max-width:1199px) {
  .site-header-search-field::placeholder {
    font-size: 15px;
  }
}

.site-header-search-submit {
  display: flex;
  flex: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.1ex;
  padding: 0;
  align-self: flex-end;
  margin-left: 20px;
}

@media (max-width:1499px) {
  .site-header-search-submit {
    font-size: 19px;
  }
}

@media (max-width:1199px) {
  .site-header-search-submit {
    font-size: 15px;
  }
}

/* Searchform for mobile */

.site-header-searchform-mobile-wrapper {
  margin-left: -30px;
  margin-right: -30px;
  background-color: var(--dark);
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 20px;
  display: none;
}

@media only screen and (max-width: 899px) {
  .site-header-searchform-mobile-wrapper {
    display: block;
  }
}

@media only screen and (max-width: 599px) {
  .site-header-searchform-mobile-wrapper {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.site-header-searchform-mobile-wrapper .site-header-searchform {

  max-width: 100%;
}

@media only screen and (max-width: 319px) {
  .site-header-searchform-mobile-wrapper .site-header-searchform {
    flex-direction: column;
  }
}

@media only screen and (max-width: 319px) {
  .site-header-searchform-mobile-wrapper .site-header-search-field {
    width: 100%;
  }
}

.site-header-searchform-mobile-wrapper .site-header-search-submit {
  max-width: max-content;
}

@media only screen and (max-width: 319px) {
  .site-header-searchform-mobile-wrapper .site-header-search-submit {
    margin: 20px auto 0;
  }
}

/* Sub header */

.site-sub-header-wrapper {
  background-color: var(--gray);
}

.site-sub-header-inner {
  background:#fffdfa;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  -webkit-transition: height 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: height 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: height 300ms cubic-bezier(.17, .04, .03, .94);
  transition: height 300ms cubic-bezier(.17, .04, .03, .94);
}

.site-sub-header-wrapper .site-header-nav-wrapper {
  border-bottom: 1px solid #AFAFAF;
  width: 100%;
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-flow: wrap;
  justify-content: space-between;
  width: 90%;
    margin: auto;



}



.site-header-sub-nav-wrapper {
  padding-top: 60px;
  padding-bottom: 45px;
  display: grid;
  grid-auto-flow: row;
  align-items: flex-start;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 60px;
  max-width: 90%;
  margin: auto;
}

@media (max-width:1499px) {
  .site-header-sub-nav-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 50px;
  }
}

@media (max-width:1299px) {
  .site-header-sub-nav-wrapper {
    padding-top: 35px;
    padding-bottom: 35px;
    gap: 35px;
  }
}

.site-header-sub-nav-item {
  color:#706f6c;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  -webkit-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: all 300ms cubic-bezier(.17, .04, .03, .94);
  transition: all 300ms cubic-bezier(.17, .04, .03, .94);
}

@media (max-width:1499px) {
  .site-header-sub-nav-item {
    font-size: 19px;
  }
}

@media (max-width:1199px) {
  .site-header-sub-nav-item {
    font-size: 15px;
  }
}

.site-header-sub-nav-item:hover {
  text-decoration: none;
  color: #fff;
  transform: scale(1.02);
}

.site-header-sub-nav-item > img {
  filter: grayscale(1);
  -webkit-transition: all 2500ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: all 2500ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: all 2500ms cubic-bezier(.17, .04, .03, .94);
  transition: all 2500ms cubic-bezier(.17, .04, .03, .94);
  height: 200px;
  object-fit: cover;
  width: 100%;
  margin-bottom: 10px;
}
@media (max-width:1499px) {
  .site-header-sub-nav-item > img {
    height: 150px;
  }
}
@media (max-width:1299px) {
  .site-header-sub-nav-item > img {
    height: 120px;
  }
}

.site-header-sub-nav-item:hover > img {
  filter: grayscale(0);
}

.site-header-sub-nav-title {
  margin: 20px 0;
  display: block;
}

/* Navi popup animations */

.site-header-searchform,
.aux-navigation {
  opacity: 0;
  visibility: hidden;
  z-index: -9999;
  -webkit-transition: transform 1000ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: transform 1000ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: transform 1000ms cubic-bezier(.17, .04, .03, .94);
  transition: transform 1000ms cubic-bezier(.17, .04, .03, .94);
  transform: translateX(-50px);
}

.site-header.navi-active .site-header-searchform,
.site-header.navi-active .aux-navigation {
  opacity: 1;
  visibility: visible;
  z-index: 102;
  transform: translateX(0);
}

.site-header.navi-active .aux-navigation {
  transition-duration: 500ms;
}

.site-header-wrapper  {

}

.fixed-header .site-header.navi-active .site-header-wrapper {
  background-color: var(--dark);
}

.site-sub-header-wrapper {
  z-index: -20;
  opacity: 0;
  transform: translateY(-100%);
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

@media only screen and (max-width: 899px) {
  .site-sub-header-wrapper {
    position: relative;
    /* top: 12px; */
  }
}

.site-header.navi-active .site-sub-header-wrapper {
  animation: slide-down .0001s;
  animation-fill-mode: forwards;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes slide-up {
  from {
    opacity: 1;
    transform: translateY(0%);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.site-sub-header-wrapper .site-header-navigation {
  -webkit-transition: transform 500ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: transform 500ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: transform 500ms cubic-bezier(.17, .04, .03, .94);
  transition: transform 500ms cubic-bezier(.17, .04, .03, .94);
  transform: translateY(-40px);
}

.site-sub-header-wrapper .site-header-sub-nav-wrapper {
  -webkit-transition: all 500ms cubic-bezier(.17, .04, .03, .94);
  -moz-transition: all 500ms cubic-bezier(.17, .04, .03, .94);
  -o-transition: all 500ms cubic-bezier(.17, .04, .03, .94);
  transition: all 500ms cubic-bezier(.17, .04, .03, .94);
  transform: translateY(-80px);
  opacity: 0;
}

.site-header.navi-active .site-sub-header-wrapper .site-header-navigation,
.site-header.navi-active .site-sub-header-wrapper .site-header-sub-nav-wrapper {
  transform: translateY(0);
  opacity: 1;
}


/************************************************************************************/
/* MOBILE SM */
/************************************************************************************/

@media only screen and (max-width: 899px) {

  .site-header-searchform-desktop {
    display: none;
  }

  .site-header-searchform-mobile {
    display: flex;
  }

  .site-header-search-submit {
    padding-bottom: .5rem;
  }

  .site-header-nav-wrapper {
    height: 100% !important;
  }

  .site-header-sub-nav-wrapper,
  .site-header-sub-nav-item,
  .site-sub-header-inner {
    display: block;
    width: 100%;
  }

  .site-header-sub-nav-item img {
    display: none;
  }

  .site-header-sub-nav-wrapper {
    padding-top: 0 !important;
  }

  .site-header-sub-nav-item {
    text-align: center;
    font-size: 18px !important;
    border-bottom: 1px solid #AFAFAF;
    padding-bottom: 1rem;
  }

  .site-sub-header-wrapper ul {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 2rem 0 !important;
  }
  .site-sub-header-wrapper ul li {
    width: 100% !important;
    display: block !important;
  }

  .site-sub-header-wrapper ul li a {
    display: block !important;
    padding: .5rem 0 !important;
    font-size: 18px !important;
  }

}


/************************************************************************************/
/* Site Header Search form */
/************************************************************************************/

.site-header-search-field {
  flex-grow: 3;
}

.site-header-search-submit {
  flex-grow: 2;
}

/************************************************************************************/
/* Site Header for Search Result Page */
/************************************************************************************/

.site-header-search-result {
  background-color: #343434;
}

/************************************************************************************/
/* NAVI LOGO WHITE */
/************************************************************************************/
/*
.navi-active .site-header-logo {
  -webkit-filter: grayscale(100%) brightness(250%);
  filter: grayscale(100%)  brightness(250%);
}
*/

/************************************************************************************/
/* SITE HEADER MOBILE NAV */
/************************************************************************************/

@media only screen and (min-width: 900px) {
  .site-header-searchform-mobile {
    display: none;
  }
  .site-header-searchform-desktop {
    display: flex;
  }
}
