* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Questrial';
}
/*----------------NAVNUEVO-------------------------*/
.nav {
  background-color: transparent;
  color: #079992;
}
#bars {
  position: absolute;
  left: 600px;
}
.nav::after {
  content: "";
  clear: both;
  display: table;
}
.nav ul {
  float: right;
  list-style: none;
  margin-right: 40px;
  position: relative;
}
.nav ul li {
  float: left;
  display: inline-block;
  background:transparent;
  line-height: 50px;
}

.nav ul li a {
  color: #079992;
  text-decoration: none;
  line-height: 60px;
  font-size: 20px;
  padding: 9px 15px;
  margin: 10px;
}

.fontsize {
  font-size: 20px;
  padding: 8px 10px;
}

.nav ul li a:hover {
  border-radius: 5px;
  color: #ffd166;
}

.nav ul ul {
  position: absolute;
  top: 90px;
  opacity: 0;
  visibility: hidden;
  transition: top 0.2s;
}

.nav ul li:hover > ul {
  top: 60px;
  opacity: 1;
  visibility: visible;
  z-index: 20;
}
.nav ul ul li {
  position: relative;
  margin: 0px;
  width: 250px;
  float: none;
  display: list-item;
  border-bottom: 1px solid #ffd166;
  text-align: left;
}

.logo-nav {
  margin-top: 20px;
  float: left;
}

/*---------------------RESPONSIVE SIDENAV---------------*/

.show,
.input,
.icon {
  display: none;
}
@media screen and (max-width: 756px) {
  .nav ul {
    margin-right: 0px;
    float: center;
  }

  .nav .logo-nav {
    margin-top: 25px;
    padding-left: 30px;
    width: 100%;
  }

  .nav ul li,
  .nav ul ul li {
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 40px;
    border-bottom: none;
    }

  .nav ul ul {
    top: 90px;
    position: static;
    border-top: none;
    float: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .show {
    display: block;
    color: #ffffff;
    font-size: 20px;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
  }

 
  .show:hover {
    color: #ffffff;
  }

  .icon {
    position: absolute;
    display: block;
    right: 40px;
    line-height: 70px;
    font-size: 25px;
    cursor: pointer;
  }

  .show + a,
  ul {
    display: none;
  }

  [id^="btn"]:checked + ul {
    display: block;
  }
}

/*----------------------------NAVHIDDEN-------------------*/
.iniciar {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #ffd166;
}

.input-nav {
  min-width: 200px;
  margin: 5px;
  text-align: center;
}

.input-nav input::placeholder {
  padding: 8px;
}

.input-nav input {
  padding: 5px;
  border: 2px solid #079992;
  border-radius: 5px;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.226);
}
.input-nav select {
  padding: 5px;
  border: 2px solid #079992;
  border-radius: 5px;
  outline: transparent;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.226);
}

.input-nav select option {
  padding: 8px;
  color: #079992;
}

#btn {
  line-height: 60px;
  text-align: center;
  background-color: #ffd166;
  color: #000000;
  border: none;
  padding: 10px;
  outline: transparent;
  cursor: pointer;
  font-size:16px;
}
#btn:hover {
  background-color: white;
  color: #079992;
}

.btn2 {
  background-color: #ffffff;
  color: #079992;
  border: none;
  padding: 5px;
  border-radius: 5px;
  outline: transparent;
  transform: 0.2s;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.226);
}
.btn2:hover {
  background-color: #079992;
  color: #ffffff;
}
.logo-nav img {
  line-height: 70px;
  width: 200px;
  padding-left: 60px;
}
.flex-container__nav a {
  margin: 20px;
  text-decoration: none;
  color: #ffffff;
}

@media screen and (max-width: 538px) {
  .flex-container__nav {
    justify-content: center;
  }
  .flex-item__landimg {
    margin-top: 30px;
  }
}

/*                    AQUÍ TERMINA EL NAV          */


/*-------------------FOOTER-------------------*/
footer {
  background-color: #079992;
  position: relative;
  padding-bottom:30px;
}

.footer{
  display: flex;
  justify-content: center;
}
.item-footer{
  margin-bottom:20px;
  margin-right:20px;
  margin-top: 50px;
  flex:1;
  text-align: left;
  color: #f7f7ff;
}

.item-footer h2{
  font-size:15px;
}
.item-footer p{
  font-size: 12px;
  color: #f7f7ff;
}
.item-footer a {
  font-size: 15px;
  text-decoration: none;
  color: #f7f7ff;
  cursor: pointer;
}
.item-footer img {
  margin-left:50px;
  width: 120px;
}
.imh{
  text-align: center;
  display: flex;
  align-items: center;
}
.hr2 {
  text-align: center;
  width: 60%;
  border: 0;
  height: 1px;
  margin: 20px auto;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(0, 0, 0, 0));
}

footer .p{
  font-size: 12px;
  font-weight: 300;
  color: #f7f7ff;
  text-align: center;
}
@media  screen and (max-width:900px){
  .footer {
    padding-left:50px ;
    background-color: #079992;
    display: flex;
    flex-direction: column;
  }
}

/*--------------------------------STYLE-MODAL---------------------------------*/
.input_modal {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: transparent;
  border-bottom: 2px solid #079992;
  font-size: 15px;
  padding: 5px;
}

.page {
  background: url(img/foto.jpg) center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.fondo_transparente {
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.226);
  position: absolute;
  height: 100vh;
  width: 100%;
  display: none;
}
.modal {
  background-color: #ffffff;
  width: 300px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 5px;
}
.modal_cerrar {
  background-color: #ffd166;
  position: absolute;
  right: -20px;
  color: #079992;
  top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.modal_titulo {
  color: #079992;
  font-size: 24px;
  margin-top: 20px;
}
.modal_mensaje {
  padding: 10px 30px;
}
.modal_botones {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  /*justify-content: space-evenly;*/
}

.boton {
  flex: 100%;
  padding: 5px;
  font-size: 12px;
  margin: 2px;
  text-align: center;
  color: #079992;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid #079992;
}
.boton:hover {
  background: #079992;
  color: white;
}
.boton_cancelar {
  padding: 5px;
  font-size: 12px;
  margin: 2px;
  flex: 100%;
  text-align: center;
  color: #ffd166;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid #ffd166;
}
.boton_cancelar:hover {
  background: #ffd166;
  color: white;
}



.modales{
  display: flex;
  text-align: center;
  justify-content: center;
  background-color: #ffd166;
  margin: 50px;
  align-items: center;
  height: 400px;
  border-radius: 20px;
  color: #000000;
 pointer-events: none;
 position: absolute;
 bottom: 10px;
 opacity: 0;
 align-items: center;

}

.modales a {
  padding: 10px;
  color: #f7f7ff;
  border-radius: 7px;
  text-decoration: none;
  background-color: #000000;
  cursor: pointer;
  display: block;
  text-align: center;
  margin: 10px auto;
  width: 50%;
}

.modales a:hover {
  color: #000000;
  background-color: #f7f7ff;
}

#cerrar-alumno{
  position: absolute; 
  top: 0;
  right: 20px;
  width: 20px;
  height: 20px;
  font-size: 20px;
  font-weight: 900;
  background-color: transparent;
  color: #000000;
}

#cerrar-docente{
  position: absolute; 
  top: 0;
  right: 20px;
  width: 20px;
  height: 20px;
  font-size: 20px;
  font-weight: 900;
  background-color: transparent;
  color: #000000;
}

#cerrar-consultor{
  position: absolute; 
  top: 0;
  right: 20px;
  width: 20px;
  height: 20px;
  font-size: 20px;
  font-weight: 900;
  background-color: transparent;
  color: #000000;
}

#cerrar-empresa{
  position: absolute; 
  top: 0;
  right: 20px;
  width: 20px;
  height: 20px;
  font-size: 20px;
  font-weight: 900;
  background-color: transparent;
  color: #000000;
}
.clase-modal {
  padding: 20px;

}

.modal-block{
  pointer-events: auto;
  opacity: 1;
}



@media screen and (max-width:400px) {
  .modales{
    display: flex;
    text-align: center;
    justify-content: center;
    background-color: #ffd166;
    margin: 50px;
    align-items: center;
    height: 400px;
    border-radius: 20px;
    color: #000000;
   pointer-events: none;
   opacity: 0;
  
  }
  .modales a {
    padding: 10px;
    color: #f7f7ff;
    border-radius: 7px;
    text-decoration: none;
    background-color: #000000;
    width: 200px;
    cursor: pointer;
  }
  
  .modal-block{
    pointer-events: auto;
    opacity: 1;
  }
  

}


