header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

header.sticky {
  background: rgba(59, 73, 36, 0.9);
  backdrop-filter: blur(30px);
}

.custom-menu {
  padding: 0 110px;
}

.custom-menu .menu-header {
  list-style-type: none;
}

.custom-menu .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-menu .menu-header a {
  display: block;
  padding: 24px 10px;
  font-size: 14px;
  line-height: 16.94px;
  position: relative;
  transition: 0.3s;
}

header.sticky .custom-menu .menu-header a {
  color: rgba(215, 182, 115, 1);
  transition: 0.3s;
}

header.sticky .custom-menu .menu-header .border-line {
  background-color: rgba(215, 182, 115, 1);
  transition: 0.3s;
}

.custom-menu .menu-header a::before {
  content: '';
  position: absolute;
  bottom: 22px;
  width: 0%;
  transition: .2s;
  left: 50%;
  height: 1px;
  background-color: white;
  transform: translateX(-50%);
}

.custom-menu .menu-header li{
  display: flex;
  width: 40%;
  justify-content: space-between;
  align-items: center;
}

header.sticky .custom-menu .menu-header a:hover::before {
  background-color: rgba(215, 182, 115, 1);
  transition: 0.3s;
}

.custom-menu .menu-header a:hover::before {
  width: 80%;
  transition: 0.2s;
}

.custom-menu .menu-header .items-header-special a::before{
  display: none;
}

.custom-menu .menu-header .items-header-special a:hover::before{
  display: none;
}

header.sticky .logo-header {
  width: 79px;
  height: 68.5px;
  /* display: none; */
  filter: invert(13%) sepia(8%) saturate(1673%) hue-rotate(353deg) brightness(81%) contrast(110%);
  transition: 0.3s;
}

header.sticky .logo-header.sticky {
  display: block;
}

header .logo-header {
  width: 79px;
  height: 68.5px;
  display: block;
}

header .logo-header.sticky {
  /* display: none; */
}

.items-header-special {
  width: 20% !important;
  justify-content: center !important;
}

.menu-mobile {
  display: none;
}

.menu-mobile .logo-header{
  filter: invert(13%) sepia(8%) saturate(1673%) hue-rotate(353deg) brightness(81%) contrast(110%);
}

.wpml-ls-flag {
	margin: 0 5px 3px 0;
}

.wpml-ls-li{
  display: flex;
}

.wpml-ls-item-bold{
  font-weight: 700;
}

.wpml-ls-li .border-line{
  width: 1px;
  background-color: white;
  content: "";
  margin-top: 48px;
  margin-bottom: 48px;
}

.wpml-ls-li a{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 24px;
  margin-bottom: 24px;
}

.custom-menu .menu-header .wpml-ls-li a:hover::before{
  width: 50%;
}

.homepage-section-content .button1:hover{
  transform: scale(1.12);
  transition: 0.3s;
}

@media (max-width: 1370px) {
  .custom-menu {
    padding: 0 80px;
  }
}

@media (max-width: 1250px) {
  .custom-menu {
    padding: 0 50px;
  }

  .items-header-special {
    width: 20%;
  }
}

@media (max-width: 1070px) {
  .custom-menu {
    padding: 0 35px;
  }

  .items-header-special {
    width: 15%;
  }

  .wpml-ls-li a{
    padding: 24px 6px !important;
  }
}

@media (max-width: 900px) {
  .custom-menu .menu-header a {
    padding: 24px 7px;
    font-size: 13px;
    line-height: 17px;
  }
}

@media (max-width: 850px) {
  .desktop {
    display: none;
  }

  header.sticky .logo-header{
    display: block;
  }

  .menu-mobile {
    display: flex;
    flex-direction: column;
    z-index: 1000;
	position: relative;
  }

  .menu-mobile .wpml-ls-li {
    z-index: 2;
    position: absolute;
    right: 3%;
    bottom: 38%;
	}
  .wrapper-header-mb {
    padding: 24px 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
  }

  .wrapper-button .button-open-header {
    width: 25px;
    height: 2px;
    position: relative;
    background-color: white;
  }

  .wrapper-button .button-open-header::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: white;
    top: -10px;
    left: 0px;
    transition: 0.4s;
  }

  .wrapper-button .button-open-header::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: white;
    bottom: -10px;
    left: 0px;
    transition: 0.4s;
  }

  .wrapper-button.active .button-open-header {
    background-color: white;
  }

  .wrapper-button.active .button-open-header::before {
    transition: 0.4s;
    transform: rotate(-45deg) translateX(-13px);
  }

  .wrapper-button.active .button-open-header::after {
    transition: 0.4s;
    transform: rotate(45deg) translateX(-13px);
  }

  #button-open-header {
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateX(50%) translateY(-50%);
  }

  #button-close-header {
    position: absolute;
    top: 25px;
    right: 40px;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .items-header-mb {
    height: 100vh;
    position: fixed;
    z-index: 100001;
    top: 0;
    left: 0;
    right: 0;
    overflow: auto;
    pointer-events: none;
    transition: 0.4s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .items-header-mb.active {
    transition: 0.4s;
    opacity: 1;
    pointer-events: all;
    background-color: #3B4924;
  }

  .items-header-mb li {
    text-align: center;
    font-size: 14px;
    line-height: 17px;
    padding: 15px;
  }

  .box-menu-mb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
  }

  .items-header-mb ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style-type: none;
    margin-bottom: 40px;
  }

  .wpml-ls-li{
    justify-content: center;
  }

  .wpml-ls-li .border-line{
    margin-top: 0;
    margin-bottom: 0;
  }

  .wpml-ls-li a{
    margin: 0;
    padding: 0px 10px !important;
  }

}

@media (max-width: 800px) {
  header.sticky .logo-header{
    /* display: none; */
  }

  .wrapper-header-mb {
    padding: 13px 50px;
    background: #3B4924;
  }

  .box-menu-mb {
    padding: 13px 20px;
    margin-bottom: 15px;
    max-height: 120.5px;
  }

  .logo-header {
    width: 74px;
    height: 61.5px;
  }

  #button-open-header {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 500px) {
.menu-mobile .wpml-ls-li {
	flex-direction: column;	
	bottom: 21%;
}
  #button-open-header {
    left: 0px;
  }

  .wrapper-header-mb {
    padding: 13px 25px;
  }

  #button-close-header {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }
}
