@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
  --anahuac-style: linear-gradient(138.02deg, #FF8D29 0%, #FF7125 38%, #FF5900 100%);
  --header-radius-base: 0.55rem;
  --header-container-max-width: 90%;
  --header-animation-transform: transform 0.3s ease;
  --header-color-anahuac-gris: #222222;
  --header-color-anahuac-grisclaro: #85878e;
}

/* REUSABLE CLASSES */
.hidden{
  display: none !important;
}

.no-margin-bottom{
  margin-bottom: 0;
}
/* FIN REUSABLE CLASSES */

.topbar .container {
  max-width: var(--header-container-max-width);
}

.header-main .container {
  max-width: var(--header-container-max-width);
}

.fa-chevron-down:before {
  content: "\f0d7";
  font-size: 14px;
}

.gva-offcanvas-mobile .gva-navigation .gva_menu li a .icaret.nav-minus:before {
  content: "\f0d8";
  font-size: 14px;
}

.navigation .gva_menu {
  display: flex;
  float: initial;
  justify-content: space-evenly;
}

.navigation .gva_menu::after {
  display: none !important;
}

.sub-menu {
  border-radius: var(--header-radius-base);
}

.sub-menu>li>a {
  padding: 0;
  color: var(--header-color-anahuac-grisclaro) !important;
}

/* Topbar */
.topbar-content > div > .gva-navigation{
  display: none;
}

.topbar {
  padding: 0;
}

.topbar-content>div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.topbar .topbar-content-inner .topbar-content .gva_menu>li>a {
  color: var(--header-color-anahuac-gris) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  padding-top: 9px;
  padding-bottom: 3px;
  margin-top: 9px;
  margin-bottom: 9px;
  border-radius: var(--header-radius-base);
  transition: background 0.3s ease, var(--header-animation-transform);
}

.anahuac-topbar {
  width: 1000px;
}

.language-switch {
  padding: 0 !important;
  margin-top: 10px !important;
}

#block-daudo-subtheme-idiomas-2 {
  border-bottom: none;
  padding-bottom: 0px;
}

/* Fin topbar */

/* Menu principal */
.navigation .gva_menu>li>a {
  font-family: Roboto !important;
}

ul.menu>li>a {
  font-family: Roboto !important;
}

.gva-offcanvas-mobile .gva-navigation .gva_menu>li>a {
  font-family: Roboto !important;
}

.site-branding-logo {
  display: inline !important;
  padding: 0 !important;
}

header.header-default .header-main-inner .branding {
  position: absolute;
  bottom: 0;
}

.navigation .gva_menu .sub-menu {
  padding: 20px;
}

.navigation .gva_menu .sub-menu > li > a:hover, .navigation .gva_menu .sub-menu > li > a:focus, .navigation .gva_menu .sub-menu > li > a:active{
  transform: none !important;
}

.menu-bar span {
  background-color: #ffffff;
}

header.header-default {
  border-bottom: none;
}

.header-main {
  background: var(--anahuac-style) !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 1px 3px rgba(255, 255, 255, 0.5);
  border-bottom: none;
}

.fa-search {
  color: #ffffff;
}

.quick-side-icon {
  box-shadow: none;
}

.quick-side-icon .qicon {
  color: #ffffff;
}

.anahuac-menu {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.language-switch {
  font-family: Roboto !important;
}

.gva-offcanvas-mobile .gva-navigation .gva_menu>li ul.menu.sub-menu li a {
  font-weight: normal;
}

/* Fin menu principal */

/* Menu secundario */
.before_content .container .row {
  justify-content: center;
}

#block-daudo-subtheme-subheader {
  margin-bottom: 0;
  padding-bottom: 0;
}

#block-daudo-subtheme-subheader .content .field {
  position: absolute;
  z-index: 50;
  transform: translateX(-50%)
}

.anahuac-submenu {
  position: initial;
}

.anahuac-submenu .block-content .gva-navigation {
  position: absolute;
  z-index: 50;
  transform: translateX(-50%);
}

.anahuac-submenu .block-content .gva-navigation .gva_menu {
  background-color: var(--header-color-anahuac-grisclaro);
  padding: 10px 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  gap: 80px;
  align-items: center;
}

.anahuac-submenu .block-content .gva-navigation .gva_menu>.menu-item>a {
  color: white;
  text-align: center !important;
  /* El tema lo sobreescribe */
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: var(--header-radius-base);
  transition: background 0.3s ease, var(--header-animation-transform);
}

.subheader-circular {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  background: transparent;
}

.subheader-circular a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: var(--header-radius-base);
  text-decoration: none;
  color: var(--header-color-anahuac-gris);
  font-weight: 700;
  font-family: Roboto;
  font-size: 12px;
  transition: all 0.3s ease;
}

.gva-search-region {
  right: 60px !important;
  top: 46%
}

.fa-search {
  padding: 9px;
  background: none;
  border-radius: var(--header-radius-base);
  transition: background 0.3s ease, var(--header-animation-transform);
}

.fa-search:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.12);
}

.search-content {
  border-radius: var(--header-radius-base);
}

.quick-side-icon .qicon {
  border-radius: var(--header-radius-base);
  transition: background 0.3s ease, var(--header-animation-transform);
}

.quick-side-icon .qicon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.gva-quick-side {
  border-radius: var(--header-radius-base);
}

#block-daudo-subtheme-hotbar {
  margin-right: 20px;
}
/* Fin del menu secundario */

.main-menu-inner>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.header-default .header-main .header-content-layout .header-main-inner .row .content-inner .header-inner .main-menu .area-main-menu .area-inner .gva-offcanvas-mobile {
  width: 100%;
}

header.header-default .header-main .header-content-layout .header-main-inner .row .content-inner .header-inner .main-menu .area-main-menu .area-inner .gva-offcanvas-mobile .main-menu-inner {
  width: 100%;
}

/* responsivo header min-width: 992px */
@media (min-width: 992px) {
  .subheader-circular a:hover {
  transform: scale(1.05);
}

  .anahuac-menu .block-content .gva-navigation .gva_menu>li>a {
    padding-top: 9px;
    padding-bottom: 9px;
    border-radius: var(--header-radius-base);
    transition: background 0.3s ease, var(--header-animation-transform);
  }

  .anahuac-menu .block-content .gva-navigation .gva_menu>li>a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
  }

  .anahuac-menu .block-content .gva-navigation .gva_menu>li>a:hover .icaret {
    color: #fff !important;
  }

  .sub-menu>li>a:hover {
    padding: 0;
    color: #ff6a00 !important;
  }

  .topbar .topbar-content-inner .topbar-content .gva_menu>li>a:hover {
    background-color: rgba(0, 0, 0, 0.08);
    transform: scale(1.03);
  }

  .anahuac-submenu .block-content .gva-navigation .gva_menu .menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
  }

  .block-title {
    display: none;
  }

  .anahuac-topbar-mobile {
    display: none;
  }

  .topbar {
    display: block;
  }

  .anahuac-idiomas-mobile {
    display: none;
  }

  .anahuac-idiomas {
    display: block;
  }

  .anahuac-menu .block-content .gva-navigation .gva_menu>li>a {
    text-align: center !important;
    /* El tema está sobreescribiendo este ajuste */
  }

  .anahuac-menu .block-content .gva-navigation ul.gva_menu_main>li:nth-child(2)>.sub-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }

  .anahuac-menu .block-content .gva-navigation ul.gva_menu_main>li:nth-child(2)>.sub-menu:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .navigation .gva_menu>li.megamenu.menu-columns-4>ul.sub-menu>li {
    width: initial;
  }

  .navigation .gva_menu .megamenu>.sub-menu>li>a {
    font-size: 15px;
    text-transform: none;
    font-weight: initial;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0px;
  }

  .anahuac-submenu .block-content .gva-navigation {
    display: block;
  }

  .anahuac-submenu-mobile {
    display: none;
  }

  .hotbar {
    display: block;
  }

  .hotbar-mobile {
    display: none;
  }

  .slider-mobile {
    display: none;
  }

  .slider-desktop {
    display: block;
  }
}

/* responsivo header max-width: 992px */
@media (max-width: 992px) {
  .topbar .container {
    max-width: 95%;
  }

  .header-main .container {
    max-width: 95%;
  }

  .footer-center .container {
    max-width: 95%;
  }

  .footer-bottom .container {
    max-width: 95%;
  }

  .slider-mobile {
    display: block;
  }

  .slider-desktop {
    display: none;
  }

  .header-main .container {
    height: 100%;
  }

  .header-main .container>.p-relative {
    height: 100%;
  }

  .header-main .container>.p-relative>.row {
    height: 100%;
  }

  .main-menu-inner>div {
    flex-direction: column;
    align-items: initial;
    justify-content: initial;
  }

  .header-main {
    display: flex;
    align-items: flex-end;
    height: 95px;
  }

  header .area-main-menu .navigation ul.gva_menu {
    flex-direction: column;
  }

  .language-switch {
    padding: 0 !important;
    margin-top: 0 !important;
    font-size: 15px;
  }

  .topbar {
    display: none;
  }

  .anahuac-topbar-mobile {
    display: block;
  }

  .gva-offcanvas-mobile {
    background-color: #FFFFFF;
  }

  .anahuac-idiomas-mobile {
    display: block;
  }

  .anahuac-idiomas {
    display: none;
  }

  .language-option {
    width: 50% !important;
  }

  .anahuac-submenu .block-content .gva-navigation {
    display: none;
  }

  .anahuac-submenu-mobile {
    display: block;
  }

  .hotbar {
    display: none;
  }

  .hotbar-mobile {
    display: block;
  }

  .subheader-circular {
    padding: 0;
  }

  .subheader-circular a {
    font-size: 15px;
    color: #ffffff;
    background: var(--anahuac-style);
    box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.4) inset;
    width: 30%;
    height: 35px;
  }

  .icaret {
    background-color: #ffffff !important;
    /* la plantilla lo reemplaza */
  }

  .fa-chevron-down:before {
    color: var(--header-color-anahuac-gris);
  }
}


/* responsivo header min-width: 992px & max-width: 1642px */
@media (min-width: 992px) and (max-width: 1642px) {
  .main-menu ul.gva_menu>li>a {
    width: 115px;
    padding: 8px 2px !important;
  }

  .anahuac-menu .block-content .gva-navigation .gva_menu>li>a {
    padding: 8px 2px;
    border-radius: var(--header-radius-base);
    transition: background 0.3s ease, var(--header-animation-transform);
    transform: scale(0.9);
  }

  .anahuac-menu .block-content .gva-navigation .gva_menu>li>a:hover {
    transform: scale(0.93);
  }

  .subheader-circular {
    transform: scale(0.93);
  }
}