#header_webc {
  position: relative;
  z-index: 99;
  /* Zona Menú */
}
#header_webc .header_wrapper {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  transition: all 0.3s ease;
  /* Menú de navegación */
}
@media screen and (max-width: 1199px) {
  #header_webc .header_wrapper {
    padding: 5px 0;
  }
}
@media screen and (max-width: 991px) {
  #header_webc .header_wrapper {
    box-shadow: 0px 6px 13.2px 0px #122E6C12;
  }
}
@media screen and (max-width: 1199px) {
  #header_webc .header_wrapper .logo a picture img {
    max-width: 177px;
    object-fit: contain;
  }
}
#header_webc .header_wrapper .mainmenu-nav ul,
#header_webc .header_wrapper .mainmenu-nav ol {
  list-style: none none;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu {
  display: flex;
  justify-content: center;
  margin: 0px;
  padding: 0px;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li {
  margin-top: 0px;
  margin-bottom: 0px;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li a {
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  height: 110px;
  line-height: 16px;
  padding: 0px 17px;
  transition: 0.3s;
  text-decoration: none;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li a:hover {
  color: var(--theme-menu) !important;
  text-decoration: none;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li.active a {
  color: var(--theme-base) !important;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li.current a {
  color: #8B8B8B;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--theme-white);
  min-width: 1100px;
  z-index: 1000;
  padding: 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu .submenu li a {
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  height: auto;
  line-height: 40px;
  padding: 0px 17px;
  transition: 0.3s;
  text-decoration: none;
  vertical-align: middle;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu .submenu li a:hover {
  color: var(--theme-base);
  background: #f8f8f8;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li:hover .submenu {
  opacity: 1;
  visibility: visible;
}
#header_webc .header_wrapper .mainmenu-nav #mainmenu li:last-child .submenu {
  left: auto;
  right: 0;
}
#header_webc .header_wrapper .menu_cta .btn-header {
  border: 2px solid var(--theme-secondary);
  background: transparent;
  border-radius: 20px;
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}
#header_webc .header_wrapper .menu_cta .btn-header:hover {
  background: var(--theme-secondary);
  color: var(--theme-white);
}
#header_webc .header_wrapper .menu_cta .Idioma {
  cursor: pointer;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  bottom: -30px;
  background: var(--theme-white);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions {
  padding: 5px 7px;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul {
  display: flex;
  flex-direction: column;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a {
  padding-left: 0;
  padding-right: 0;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a span {
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a:hover {
  color: var(--theme-base);
  text-decoration: none;
}
#header_webc .header_wrapper .menu_cta .Idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a:hover span {
  color: var(--theme-base);
  text-decoration: none;
}
#header_webc .header_wrapper .menu_cta .Idioma:hover .Idioma__dropdown {
  opacity: 1;
  visibility: visible;
}
#header_webc .header_wrapper .js-idioma {
  position: relative;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  bottom: -80px;
  left: -40px;
  background: var(--theme-white);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions {
  padding: 5px 7px;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a span {
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a:hover {
  color: var(--theme-base);
  text-decoration: none;
}
#header_webc .header_wrapper .js-idioma .Idioma__dropdown .wpml-ls-statics-shortcode_actions ul li a:hover span {
  color: var(--theme-base);
  text-decoration: none;
}
#header_webc .header_wrapper .js-idioma.is-open .Idioma__dropdown {
  opacity: 1;
  visibility: visible;
}
#header_webc .header_wrapper.webc-sticky {
  background-color: var(--theme-white);
  width: 100%;
  z-index: 99;
  box-shadow: 0px 20px 34px rgba(0, 0, 0, 0.05098039) !important;
}
#header_webc .header_wrapper.webc-sticky .main-navigation #mainmenu li a {
  height: 80px;
}
#header_webc .header_wrapper.webc-sticky .main-navigation .menu_cta .Idioma .Idioma__dropdown {
  bottom: -50px;
}
.popup-mobile-menu {
  content: "";
  backdrop-filter: blur(15px);
  z-index: 9999;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: rgba(0, 0, 0, 0.8);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.popup-mobile-menu .inner-wrapper {
  width: 400px;
  z-index: 999;
  background-color: var(--theme-white);
  opacity: 0;
  left: -150px;
  height: 100%;
  position: relative;
  overflow-y: auto;
  transition: 0.5s ease-out;
  padding: 60px 50px;
}
.popup-mobile-menu.active {
  visibility: visible;
  opacity: 1;
}
.popup-mobile-menu.active .inner-wrapper {
  opacity: 1;
  left: 0;
  overflow-y: auto;
}
.popup-mobile-menu .mainmenu {
  list-style: none;
  margin: 0px;
  padding: 15px 0px;
}
.popup-mobile-menu .mainmenu li {
  margin: 0px;
  margin-bottom: 28px;
  padding: 8px 0;
  text-align: right;
}
.popup-mobile-menu .mainmenu li .dropdown-wrapper {
  justify-content: flex-end;
}
.popup-mobile-menu .mainmenu li a {
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  line-height: 16px;
  transition: 0.3s;
  text-decoration: none;
  position: relative;
  display: block;
}
.popup-mobile-menu .mainmenu li a.has-dropdown::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #222222;
  transition: transform 0.3s ease;
}
.popup-mobile-menu .mainmenu li.has-dropdown a::after {
  display: block;
}
.popup-mobile-menu .mainmenu li.has-dropdown a.open::after {
  transform: translateY(-50%) rotate(180deg);
}
.popup-mobile-menu .mainmenu li + li {
  border-top: 1px solid var(--theme-font-color);
}
.popup-mobile-menu .mainmenu .submenu {
  display: none;
  padding-left: 15px;
  margin-top: 10px;
  list-style: none;
}
.popup-mobile-menu .mainmenu .submenu li {
  margin-bottom: 10px;
}
.popup-mobile-menu .inner-bottom {
  text-align: right;
}
.popup-mobile-menu .inner-bottom .btn-header {
  border: 2px solid var(--theme-secondary);
  background: transparent;
  border-radius: 20px;
  color: var(--theme-menu);
  font-family: var(--theme-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.popup-mobile-menu .inner-bottom .btn-header:hover {
  background: var(--theme-secondary);
  color: var(--theme-white);
}
@media only screen and (max-width: 575px) {
  .popup-mobile-menu .inner-wrapper {
    width: 300px;
    padding: 30px 20px;
  }
}
@media only screen and (max-width: 767px) {
  .popup-mobile-menu .inner-wrapper {
    padding: 25px 28px;
  }
  .popup-mobile-menu .inner-wrapper .inner-top {
    padding-bottom: 15px;
    margin-bottom: 0px;
  }
  .popup-mobile-menu .inner-wrapper .content {
    display: block;
  }
}
/* botones menu y cerrar menu */
.hamburger-button,
.close-button {
  width: 40px;
  height: 40px;
  line-height: normal;
  text-align: center;
  border-radius: 100%;
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 0;
  border: 0 none;
  display: block;
}
@media only screen and (max-width: 767px) {
  .hamburger-button,
  .close-button {
    width: 30px;
    height: 30px;
    line-height: normal;
  }
}
.close-button {
  right: -20px;
}
