@font-face {
  font-family: Lato-ExtraBold;
  font-display: fallback;
  src: url("/static/Institutos/theme/fonts/Lato-ExtraBold.093466c99afd.ttf") format('truetype');
}

@font-face {
  font-family: Lato-Regular;
  font-display: fallback;
  src: url("/static/Institutos/theme/fonts/Lato-Regular.e13e93093461.otf"),
    url("/static/Institutos/theme/fonts/Lato-Regular.39a3905085ad.eot") format('eot'),
    url("/static/Institutos/theme/fonts/Lato-Regular.e13e93093461.otf") format('opentype'),
    url("/static/Institutos/theme/fonts/Lato-Regular.e4fa05a4f0c9.woff") format('woff'),
    url("/static/Institutos/theme/fonts/Lato-Regular.d5f3d91bb224.ttf") format('truetype'),
    url("/static/Institutos/theme/fonts/Lato-Regular.e9d329fb99c7.svg#Lato-Regular") format('svg');
}

@font-face {
  font-family: Lato-Light;
  font-display: fallback;
  src: url("/static/Institutos/theme/fonts/Lato-Light.2fe27d9d10cd.ttf") format('truetype');
}

@font-face {
  font-family: 'Roboto';
  font-display: fallback;
  src: url("/static/Institutos/theme/fonts/Roboto-VariableFont_wdth,wght.3aa911d4a1e7.ttf") format('truetype');
}

:root {
  --blue: #6096d2;
  --white: #fff;
  --black-gray: #3a3a35;
  --white-gray: #999999;
  --title: 42px;
  --subtitle: 22px;
  --text: 18px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  flex-shrink: 0;
}

body main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* colours */
.hero-select-shell {
  position: relative;
  min-height: 40px;
}

.buscador {
  position: relative;
  z-index: 1;
}

.buscador .centroestudioCombo {
  height: 35px;
  background-color: #eeeeee;
  font-size: 12px;
  color: #777777;
  border: none;
  padding: 0 1rem;
}

.buscador .dir {
  display: none;
}

.searchButton {
  background-color: #eeeeee;
  padding: 6px 8px;
  cursor: pointer;
}

.popUpMenu {
  position: fixed;
  padding-top: 100px;
  z-index: 49;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.hero-select-shell select {
  height: 40px;
  margin-bottom: 2px;
  padding-left: 8px;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #777777;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.hero-select-shell select.hero-native-select--enhanced {
  display: none;
}

.hero-combobox {
  position: relative;
  width: 100%;
  min-height: 40px;
  margin-bottom: 2px;
  z-index: 1;
}

.hero-combobox[data-open="true"] {
  z-index: 20;
}

.hero-combobox::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
  pointer-events: none;
}

.hero-combobox[data-open="true"]::after {
  transform: translateY(-35%) rotate(-135deg);
}

.hero-combobox__input {
  width: 100%;
  height: 40px;
  padding: 0 32px 0 8px;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #777777;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  box-sizing: border-box;
}

.hero-combobox__input::placeholder {
  color: #777777;
  opacity: 1;
}

.hero-combobox__input:focus {
  outline: none;
  border-color: #2173b1;
  box-shadow: 0 0 0 2px rgba(33, 115, 177, 0.15);
}

.hero-combobox__listbox {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  z-index: 40;
}

.hero-combobox__listbox[hidden] {
  display: none;
}

.hero-combobox__option {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: #304455;
  cursor: pointer;
  word-break: break-word;
}

.hero-combobox__option.is-active,
.hero-combobox__option:hover {
  background: #edf4fa;
}

.hero-combobox__option[aria-selected="true"] {
  font-weight: 700;
  background: #e4eff8;
}

.hero-combobox__option--empty,
.hero-combobox__option--empty:hover {
  cursor: default;
  color: #7c7c7c;
  background: transparent;
  font-weight: 400;
}

.hero-combobox--disabled .hero-combobox__input {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.hero-select-skeleton {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  margin-bottom: 2px;
  background: linear-gradient(90deg, #c5d8e6 25%, #e5eef4 37%, #c5d8e6 63%);
  background-size: 300% 100%;
  animation: tp-hero-skeleton-shimmer 1.6s ease-in-out infinite;
  pointer-events: none;
  opacity: 1;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.hero-image-slot {
  width: 100%;
}

.hero-main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 768 / 775;
}

.hero-select-shell[data-loading="false"] .hero-select-skeleton {
  opacity: 0;
  visibility: hidden;
}

.hero-select-shell[data-loading="true"] .hero-combobox {
  visibility: hidden;
}

@media (min-width: 640px) {
  #select-center {
    border-radius: 5px 0 0 5px;
    border-right: 1px solid #999;
  }

  #select-subject {
    border-radius: 0 5px 5px 0;
  }

  #select-center + .hero-combobox .hero-combobox__input {
    border-radius: 5px 0 0 5px;
    border-right: 1px solid #999;
  }

  #select-subject + .hero-combobox .hero-combobox__input {
    border-radius: 0 5px 5px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-select-skeleton {
    animation: none;
  }
}

@media screen and (max-width: 1180px) {
  .max {
    max-width: 80%;
  }

  .header-index {
    height: 70px;
  }
}

@media screen and (max-width: 980px) {
  .max {
    max-width: 95%;
  }
}

@media screen and (max-width: 680px) {
  .max {
    max-width: 93%;
    overflow: hidden;
  }
}
