:root {
  --topbar-top-height: 40px;
  --topbar-menu-height: 100px;
}

/* -------------------- TOPBAR ------------------------*/
header {
  position: sticky;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
}

.topbar {
  display: none;
  position: fixed;
  top: var(--topbar-top-height);
  z-index: 100;
  width: 100%;
}

.topbar-top {
  display: flex;
  height: var(--topbar-top-height);
  width: 100%;
  max-width: 100vw;
  align-items: center;
  background-color: var(--black);
}

#topbar-top1
  > .topbar-top__contacto
  > .topbar-top__container
  > .topbar-top__items:not(#email) {
  display: none;
}

#topbar-top1
  > .topbar-top__contacto
  > .topbar-top__container
  > .topbar-top__items#email {
  font-size: 0.7rem;
}

#topbar-top1 > .form_login > .topbar-top__items {
  display: none;
}

#topbar-top1 {
  display: flex;
  width: 100%;
  padding: 0 3rem;
  justify-content: space-between;
}

.topbar-top div.form_login {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar-top div.form_login input.form-control {
  background-color: transparent !important;
  border: 1px solid white;
  color: white;
  max-width: 170px;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
  padding-left: 5px;
}

.topbar-top div.form_login input.form-control:focus {
  box-shadow: none;
}

.topbar-top div.form_login span.input-group-text {
  background-color: transparent !important;
}

.topbar-top div.form_login span.input-group-text i {
  color: white;
}

.icono-topbar-top {
  width: 2rem;
}

.topbar-top__contacto {
  display: flex;
  align-items: center;
}



.topbar__movil {
  background-color: white;
  width: 100%;
  height: 50px;
  z-index: 99;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  justify-content: space-between;
  padding: 0 3rem 0 3rem;
}

.topbar__movil > button {
  background-color: transparent;
  border: 0;
}

.topbar-top__container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;

}

.topbar-top__items {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.topbar-menu {
  height: var(--topbar-menu-height);
  background-color: var(--white);
  padding: 0rem 5rem 0rem 3rem;
  align-items: center;
}

#topbar__wrapper {
  height: 100px;
  display: grid;
  grid-template-columns: 2fr 8fr;
  /* margin-top: 1rem; */
}

.topbar-menu__home {
  display: flex;
  padding: 0 2rem;
}

.topbar-menu__home img {
  width: 225px;
  /* margin-bottom: 2.5rem;
  margin-top: 0.5rem; */
}

.topbar-menu__navbar a {
  text-decoration: none;
  color: var(--font-green);
}

.topbar-menu__navbar {
  display: flex;
  align-items: center;
  justify-content: end;
}

.topbar-menu__navbar nav > ul {
  display: flex;
  list-style: none;
  margin: 0px;
  gap: 1rem;
  padding-inline-start: 0;
  padding: 0 1rem;
}

.topbar-menu__navbar a {
  border-bottom: 3px solid transparent;
  width: 100%;
}

.topbar-menu__navbar nav > ul > li {
  padding: 1rem 0px;
}

.topbar-menu__navbar nav > ul > li span {
  padding: 0.5rem 0;
}

.topbar-menu__navbar nav > ul > li:hover span {
  border-bottom: 3px solid var(--font-green);
  cursor: default;
}

.topbar-menu__navbar nav > ul > li > div {
  text-decoration: none;
  color: var(--font-green);
  font-weight: bold;
  text-align: center;
}

.topbar-menu__navbar nav > ul > li > div {
  padding: 1rem 0;
}

.topbar-menu__navbar nav li article.topbar_menu_option {
  display: none;
  position: fixed;
  text-align: left;
  color: black;
  background-color: #ebebeb;
  color: #7c7c7c;
  margin-top: 1rem;
  padding: 1rem;
}

.topbar-menu__navbar nav li:last-of-type article.topbar_menu_option {
  max-width: 10vw;
}

.topbar-menu__navbar nav div:hover .topbar_menu_option {
  display: block;
}

.topbar-menu__navbar nav li > div > article.topbar_menu_option ul {
  list-style: none;
  padding-inline-start: 0;
}

.topbar-menu__navbar nav li > div > article.topbar_menu_option ul > li {
  padding: 5px 0;
}

.topbar-menu__navbar nav li > div > article.topbar_menu_option ul > li > a,
.menu-inside a {
  text-decoration: none;
  color: #7c7c7c;
}

#btnIngresoAlumnos {
  height: var(--topbar-top-height);
  font-size: 0.7rem;
  padding: 0.5rem;
}

article#estudios_oficiales > section > p {
  color: var(--font-green);
}

article#estudios_oficiales {
  overflow-y: auto;
  max-height: 70vh;
}

.topbar-menu__navbar
  nav
  li
  > div
  > article.topbar_menu_option
  ul
  > li
  > a:hover {
  text-decoration: underline;
}

.topbar_menu_option > section > div {
  display: flex;
  width: 100%;
}

.topbar_menu_option > section > div > a:hover {
  text-decoration: underline;
}

li#estudios_oficiales article.topbar_menu_option > section {
  display: flex;
}

li#estudios_oficiales article.topbar_menu_option > section div {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 8px 0;
}

li#estudios_oficiales article.topbar_menu_option > section div i {
  color: var(--font-green);
}

li#estudios_oficiales article.topbar_menu_option > section div > a {
  width: 100%;
}

li#estudios_oficiales
  article.topbar_menu_option
  > section
  div
  > a:hover
  > article {
  display: block;
}

li#estudios_oficiales article.topbar_menu_option > section div > article {
  display: none;
  position: absolute;
}

li#estudios_oficiales article.topbar_menu_option > section div:hover + article,
li#estudios_oficiales article.topbar_menu_option > section > article:hover {
  display: block;
}

li#estudios_oficiales article.topbar_menu_option > section > article {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 2;
  transform: translate(calc(100% - 3rem), -1rem);
  background-color: #ebebeb;
  margin: 1rem 0;
  padding: 1rem;
  box-shadow: 0px 0px 3px black;
}

li#estudios_oficiales
  article.topbar_menu_option
  > section:first-of-type
  > article {
  transform: translate(calc(100% - 3rem), -2rem);
}

.topbar-menu__navbar nav hr {
  margin-block-start: 0;
  margin-block-end: 0;
}

/*---- generico hover menu*/

article.menu-inside > section > p {
  color: var(--font-green);
}

article.menu-inside {
  overflow-y: auto;
  max-height: 70vh;
}


li.menu-inside article.topbar_menu_option > section {
  display: flex;
}

li.menu-inside article.topbar_menu_option > section div {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 8px 0;
}

li.menu-inside article.topbar_menu_option > section div i {
  color: var(--font-green);
}

li.menu-inside article.topbar_menu_option > section div > a {
  width: 100%;
}

li.menu-inside
  article.topbar_menu_option
  > section
  div
  > a:hover
  > article {
  display: block;
}

li.menu-inside article.topbar_menu_option > section div > article {
  display: none;
  position: absolute;
}

li.menu-inside article.topbar_menu_option > section div:hover + article,
li.menu-inside article.topbar_menu_option > section > article:hover {
  display: block;
}

li.menu-inside article.topbar_menu_option > section > article {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 2;
  transform: translate(calc(100% - 3rem), -1rem);
  background-color: #ebebeb;
  margin: 1rem 0;
  padding: 1rem;
  box-shadow: 0px 0px 3px black;
}

li.menu-inside
  article.topbar_menu_option
  > section:first-of-type
  > article {
  transform: translate(calc(100% - 3rem), -2rem);
}

/*------------ menu mobil ----------------------*/

.menu__movil__fade.__show {
  display: block;
}

.menu__movil__fade {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 101;
  overflow-y: hidden;
  transition: 0.3s all;
}

.menu__movil.__show {
  right: 0vw;
}

.menu__movil {
  display: block;
  position: fixed;
  top: var(--topbar-top-height);
  right: -100vw;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background-color: #ebebeb;
  z-index: 101;
  transition: 0.3s all;
}

.menu__movil article img {
  width: 10rem;
}

.menu__movil article {
  width: 10rem;
}
.menu__movil > section:first-of-type {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 2rem 3rem;
}

.menu__movil > section:first-of-type > button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background-color: transparent;
}

.menu__movil > section:first-of-type > button > i {
  font-size: 1.2rem;
  color: var(--font-green);
}

.menu__movil section:first-of-type ul {
  list-style: none;
  margin: 0px;
  padding-inline-start: 0;
  padding: 1rem 0;
}

.menu__movil ul {
  list-style: none;
}

.menu__movil ul li {
  padding: 10px 0;
  text-align: end;
}

.menu__movil ul li > button,
.menu__movil ul li > a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  width: 100%;
  border: 0;
  color: var(--font-green);
  background-color: transparent;
}

.menu__movil a {
  text-decoration: none;
  font-weight: bold;
}

#btnMovilInfo{
  color: #fff;
}

@media screen and (min-width: 768px) {
  .topbar {
    display: block;
  }

  .topbar-top {
    position: fixed;
    top: 0;
    padding: 0rem 3rem;
  }

  .topbar-top div.form_login button {
    height: var(--topbar-top-height) !important;
  }

  .topbar__movil {
    display: none;
  }
  /* .topbar-top, .topbar-top input{
    font-size: 0.6rem;
  } */

  #topbar-top1
    > .topbar-top__contacto
    > .topbar-top__container
    > .topbar-top__items:not(#email) {
    display: block;
  }

  #topbar-top1
    > .topbar-top__contacto
    > .topbar-top__container
    > .topbar-top__items#email {
    font-size: 1rem;
  }

  #topbar-top1 > .form_login > .topbar-top__items {
    display: block;
  }

  #btnIngresoAlumnos {
    font-size: 1rem;
  }
  :root {
    --topbar-top-height: 65px;
  }
  #btnIngresoAlumnos {      
      padding: 1rem;

  }
  .topbar__movil {      
      padding: 0 3rem;
  }
}
@media screen and (min-width: 1200px) {
  /* .topbar-top, .topbar-top input{
    font-size: 0.8rem;
  } */
}
