@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'); 

*{
  padding: 0;
  border: 0;
  margin: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Montserrat', sans-serif;
}

main{
  margin-top: 80px;
  min-height:100vh;
}

.contenedor{
  width: 95%;
  margin: 0 auto;
}

.flex{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}


input,select{
  border:1px solid rgba(0, 0, 0, 0.3);
  padding: 5px;
  border-radius: 5px;
}

/*********************************************/

header{
  position: fixed;
  background:#f2f2f2;
  border-bottom: 5px solid steelblue;
  display: table;
  width: 100%;
  height: 60px;
  top: 0;
  z-index: 100;
}

header #btn_menu{
  display: none;
}

header label,header #btn_menu{
  float: right;
  font-size: 24px;
  line-height: 2.5;
  cursor: pointer;
}

header h2{
  float: left;
  display: block;
  height: 60px;
  line-height: 2.5;
}

.menu{
  position: absolute;
  height: 100vh;
  top:65px;
  left: -100%;
  background: #f2f2f2;
  width: 100%;
  transition: all 0.5s;
}

.menu a img{
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border:1px solid #000;
}

.menu a{
  text-decoration: none;
  display: block;
  padding: 10px;
  color:#000;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0,0.2);
  transition: all 0.5s;
}

.menu a:hover{
  background: steelblue;
  color:#eee;
}

#btn_menu:checked ~ .menu{
     left:0;
}

@media(min-width:800px){
    .menu{
      background: none;
      position: static;
      display: flex;
      height: 60px;
      width: auto;
      float: right;
      z-index: 100;
    }

    .menu a {
      border-bottom: none;
      line-height: 2.5;
    }

    header label{
      display: none;
    }
}

/************************************************/
section#principal h1{
  margin:20px;
  text-decoration: underline;
  font-size: 32px;
}

.formulario h2{
  font-size: 22px;
  text-align: center;
  border-bottom: 2px solid #000;
  margin-bottom: 20px;
}

section#principal .contenedor{
  display: flex;
}

section#principal .formulario{
  width: 25%;
  margin-right: 30px;
  background: rgba(0, 0, 0, 0.05);
  padding: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

section#principal .formulario label,section#principal .formulario input,section#principal .formulario select{
  display: block;
  margin-bottom: 10px;
  width: 95%;
}

.tabla_contenido{
  width: 100%;
  overflow: auto;
}

.tabla_contenido table{
  border-collapse: collapse;
  width: 100%;
}

.tabla_contenido td,th{
  padding: 10px;
  border:1px solid rgba(0, 0, 0, 0.1);
}

.tabla_contenido table thead{
  color:#eee;
  background: steelblue;
}

.tabla_contenido table tr:hover{
  background: rgba(0, 0, 0, 0.1);
  cursor:pointer;
}

.tabla_contenido table tbody{
  width: 100%;
}

.tabla_contenido table tr:nth-child(even){
  background: #f2f2f2f2;
}

.boton_enviar{
  background: steelblue;
  display: block;
  width: 100%;
  padding: 10px;
  color:#eee;
  font-weight: 500;
  border-radius: 5px;
  margin: 0 auto;
  cursor:pointer;
}

.boton_eliminar{
  background: #ea3336;
  color:#eee;
  margin: 5px;
  text-decoration: none;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
}

.boton_editar{
  background: #edb023;
  color:#eee;
  margin: 5px;
  text-decoration: none;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
}

/*************************Modal********************************/

#mensaje video{
  width: 150px;
}

#mensaje{
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0,0.4);
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 2;
}

#mensaje .contenedor{
  height: 100vh;
  display: flex;
  justify-content:center;
  align-items: center;
}

.contenedor_modal{
  border:1px solid #000;
  width: auto;
  background: white;
  padding: 30px;
  text-align: center;
  border-radius:10px;
  box-shadow: 2px 2px 10px #000;
  position: relative;
}

.aceptar_modal{
  display: block;
  text-decoration: none;
  margin-top: 20px;
  background: steelblue;
  color:#eee;
  padding: 10px;
  border-radius: 5px;
}

#mensaje:target{
  top: 0;
  transition: all 0.5s;
}

.contenedor_editar_alumnos{
  background: rgba(0, 0, 0, 0.05);
  width: 30%;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0,0.5);
}

.contenedor_editar_alumnos form{
  padding: 20px;
}

.contenedor_editar_alumnos label,.contenedor_editar_alumnos input,.contenedor_editar_alumnos select{
  display: block;
  padding: 10px;
  width: 100%;
}

.contenedor_editar_alumnos select{
  margin-bottom: 20px;
}

.contenedor_editar_alumnos h3{
  background: steelblue;
  text-align: center;
  color:#eee;
  padding: 10px;
}

.contenedor_editar_alumnos input{
  margin-bottom: 10px;
}

/*********************LOGIN***********************************/

#login_contenedor{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login input{
  margin-bottom: 15px;
  display: block;
  width: 100%;
}

.login label{
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.login h1{
  border-bottom: 1px solid #000;
  margin-bottom: 25px;
}

.login{
  padding: 20px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0,0.6);
}

.login_user,.login_pass{
  position: relative;
}

.login_user #usuario,.login_pass #candado{
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 15px;
  color:steelblue;
}

#ojo{
  position: absolute;
  font-size: 18px;
  color:steelblue;
  right: 5px;
  top: 3px;
  cursor:pointer;
}

.login_user input,.login_pass input{
  padding-left: 30px;
}

.mensaje_login{
  text-align: center;
  margin-top: 20px;
  color:red;
  font-weight: bold;
}

#home .contenedor{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.items_home h3{
  margin-bottom: 40px;
}

.msg{
  color: #edb023;
}

.items_home{
  margin: 10px;
  padding: 10px;
  border:1px solid rgba(0,0,0,0.5);
  border-radius: 5px;
  text-align: center;
  width: 50%;
  min-height: 250px;
}

.items_home span{
  font-size: 120px;
}

.paginacion{
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.info_paginacion{
  width: 70%;
}

.links_paginacion{
  width: 30%;
  display: flex;
  justify-content: right;
}

.paginacion a{
  text-decoration: none;
  margin-right: 10px;
  padding: 10px;
  color:#000;
  border-radius: 5px;
}

.activo{
  background: steelblue !important;
  font-weight: bold;
  color:#eee !important;
  padding: 10px;
  border-radius: 5px;
  margin-right: 10px;
}

.num_page{
  background: rgba(228, 228,228, 1.0);
  transition: all 0.5s;
}

.num_page:hover{
  background: steelblue;
  color:#eee;
}

#cursos_panel h1{
  text-align: center;
  margin-bottom: 20px;
  text-decoration: underline;
  font-size: 32px;
}

/***************************CURSOS*********************************/
#cursos_panel .contenedor{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.item_cursos{
  width:30%;
  border:2px solid #000;
  margin:5px;
  position: relative;
  border-radius: 5px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.titulo_curso{
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  display: block;
  width: auto;
  font-size: 24px;
  color:red;
  padding: 10px;
  border:1px solid #eee;
}

.descripcion_curso{
  color:#eee;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  margin-top: 20px;
}

.item_cursos img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -5;
}

.menu_cursos{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
}

.editar_curso:hover{
  transition: all 0.5s;
  background: #fdb100;
}

.eliminar_curso:hover{
  background: #a10b0d;
  transition: all 0.5s;
}

.eliminar_curso{
  background: #ea3336;
  display: block;
  color:#eee;
  padding: 10px;
  border:2px solid #eee;
  border-radius: 50%;
  transition: all 0.5s;
  margin-top: 20px;  
}

.editar_curso{
  display: block;
  color:#eee;
  background: #edb023;
  padding: 10px;
  border:2px solid #eee;
  border-radius: 50%;
  transition all 0.5s;
}

#nuevo_curso h1{
  text-align: center;
  margin-top: 30px;
  padding-bottom: 20px;
  border-bottom: 5px solid steelblue;
  font-size: 36px;
}

.form_curso textarea{
  border:1px solid rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 120px;
  max-height: 120px;
}

.form_curso {
  display: flex;
  background: rgba(0, 0, 0,0.07);
}

.form_curso label{
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.form_curso input{
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}

.items_curso_form{
  margin: 20px;
  padding: 10px;
  width: 50%;
}

.vp img{
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: 10px;
}

.vp{
  margin-top:10px; 
  text-align: center;
  margin: 0 auto;
}

.vista_previa_form_curso{
  width: 15%;
  text-align: center;
}

.post_cursos label{
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
}

.post_cursos{
  background: rgba(0, 0, 0, 0.07);
  margin-top: 20px;
  padding: 20px;
}

.upload input{
  display: none;
}

.upload{
  margin-top: 10px;
  background:white;
  border-radius: 5px;
  width: 100%;
  height: 40px;
  border: 1px solid rgba(0, 0, 0,0.3);
  position: relative;
}

.upload label{
  padding-left: 55px;
  padding-top:10px ;
  font-weight: 400;
  width: 100%;
  cursor: pointer;
}

.upload span{
  position: absolute;
  top: 0;
  left: 0;
  font-size: 32px;
  color:steelblue;
}

.botones_form_curso{
  display: flex;
}

.guardar_curso,.limpiar_curso{
  display: block;
  margin-bottom: 10px;
  width: 200px;
  padding: 10px;
  border-radius: 5px;
  margin: 10px;
  cursor: pointer;
}

.limpiar_curso{
  background: #edb023;
  color:#000;
  font-weight: bold;
}

.guardar_curso{
  background: steelblue;
  color:#eee;
  font-weight: 600;
}

.botones_form_curso{
  padding: 10px;
  margin-bottom: 30px;
}

#galeria h1{
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

#galeria .contenedor{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.form_galeria,.items_galeria{
  border:3px solid rgba(0, 0, 0, 0.2);
  padding: 10px;
  text-align: center;
  margin: 10px;
  height: 250px;
  width: 20%;
}

.items_galeria img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form_galeria input{
  display: none;
}

.form_galeria label{
  cursor: pointer;
  font-size: 160px;
}

.paginacion_galeria{
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.info_paginacion_galeria{
  width: 70%;
}

.links_paginacion_galeria{
  display: flex;
  justify-content: center;
}

.paginacion_galeria a{
  text-decoration: none;
  margin-right: 10px;
  padding: 10px;
  color:#000;
  border-radius: 5px;
}

.items_galeria{
  position: relative;
}

.menu_galeria{
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  top: -20px;
  right: -20px;
  height: 40px;
  border-radius: 50%;
  padding: 10px;
}

.menu_galeria a{
  color:#eee;
}

#slider p{
  margin-bottom: 20px;
  font-size:18px;
  text-align: center;
}

#slider h1{
  font-size: 28px;
  text-align: center;
  border-bottom: 5px solid steelblue;
  display: block;
  margin:auto;
  margin-bottom: 30px;
  width: 300px;
}

#slider .contenedor{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contenido_slider{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contenido_slider h4{
  font-size: 26px;
  color:#eee;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.contenido_slider p{
  color:#eee;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px;
  border-radius: 5px;  
}

.items_slider{
  width: 25%;
  padding: 10px;
  margin: 10px;
  border:5px solid rgba(0, 0, 0, 0.3);
  position: relative;
  height: 250px;
}

.items_slider img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
}

.editar_slider{
  display: block;
  margin-top: 10px;
  text-decoration: none;
  color:#eee;
  font-weight: bold;
  background: rgba(0, 0, 0,0.8);
  padding: 10px;
  border:5px solid red;
  border-radius: 5px;
}

.link_mensajes{
  text-decoration: none;
  color:#eee;
  background: green;
}

.msg_mail{
  font-size: 18px !important;
  font-weight: 600;
  margin-right: 5px;
}

.ver_mensajes_panel{
    text-decoration: none;
    color:red;
    font-weight: bold;
}

.contenido_mensajes a span{
  background: red;
  margin-top: 10px;
  display: block;
  border-radius: 5px;
  color:#eee;
  max-width: 35px;
  padding: 5px;
  text-align: center;
}

.sp_mensajes{
  border:1px solid lightsteelblue;
  margin-top: 10px;
}

#contacto .contenedor{
  display: flex;
  justify-content: left;
}

.contenido_mensajes{
  border:1px solid rgba(0, 0, 0, 0.3);
  margin: 10px;
  padding: 15px;
}

.tabla_contenedor{
  width: 100%;
  margin: 10px;
  padding: 10px;
}

.tabla_contenedor thead{
  background: steelblue;
  color:#eee;
}

.tabla_contenedor img{
  width:80px;
  border:2px solid #000;
}

.tabla_contenedor tbody td{
  padding: 10px;
}

section#caja .contenedor h1{
  text-align: center;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid  rgba(0, 0, 0,0.3);
  margin-bottom: 20px;
}

.anadir{
  background: steelblue;
  color:#eee;
  display: block;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin:0 auto;
}

#tabla_caja, .tabla_balance{
  width: 100%;
}

.tabla_balance{
  width: 100%;
  overflow: auto;
}

#form_caja,.calculo_caja{
  width: 80%;
  margin: auto;
}

#tabla_caja th{
  background: steelblue;
  color:#eee;
  padding: 5px;
}

#tabla_caja td{
  border:1px solid rgba(0, 0, 0, 0.2);
  padding: 5px;
  text-align: center;
}

.tabla_balance tfoot td{
  border:1px solid rgba(0, 0, 0,0.2);
  padding: 5px; 
  background: rgba(0, 0, 0,0.08);
}

.tabla_balance tbody td{
  border:1px solid rgba(0, 0, 0,0.2);
  padding: 5px;
}

.guarda_caja_boton{
  display: block;
  text-decoration: none;
  background: steelblue;
  color:#eee;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  cursor:pointer;
  font-weight: bold;
}

#ver_cajas h1{
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.muestro_cajas{
  border:1px solid rgba(0, 0, 0, 0.5);
  margin: 10px;
  padding: 10px;
  width: 40%;
  border-radius: 5px;
}

.contenedor_cajas{
  margin: 0 auto;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.muestro_cajas a{
  text-decoration: none;
  color:#000;
  font-weight: bold;
}

.tabla_inscriptos table{
  width: 100%;
  border-collapse: collapse;
}

.tabla_inscriptos td{
  border:1px solid rgba(0, 0, 0, 1.0);
  padding: 10px;
  text-align: center;
}

.tabla_inscriptos th{
  text-align: left;
  background: steelblue;
  color:#eee;
  border:1px solid rgba(0, 0, 0, 1);
}

.tabla_inscriptos{
  width: 100%;
  overflow: auto;
}

#calendario hr{
  border:2px solid steelblue;
  margin-bottom: 20px;
}

#calendario h1{
  text-align: center;
  margin-bottom: 5px;
}

#calendario img{
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  object-fit: cover;
}

.tabla_inscriptos table tr:nth-child(even){
  background: #f2f2f2f2;
}


/***************************************************************/
@media(max-width:900px){
  section#principal .contenedor{
    flex-wrap: wrap;
  }

  section#principal .formulario{
  width: 100%;
  margin-right: 0;
  margin-bottom: 20px;
}

  section#principal .formulario input{
  width: 100%;
}

.contenedor_editar_alumnos{
  width: 100%;
}

#home .contenedor{
  flex-wrap: wrap;
}

.items_home{
  width: 100%;
  text-align: center;
}

.links_paginacion{
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.info_paginacion{
  width: 100%;
  text-align: center;
}


.curso{
  border: 3px solid #eee;
  margin: 10px;
  height: 300px;
  position: relative;
  width: 100%;
}

.items_curso_form,.item_cursos{
  width: 100%;
}

.form_curso{
  flex-wrap: wrap;
}

#cursos_panel .contenedor{
  flex-wrap: wrap;
}

.form_galeria,.items_galeria{
  width: 100%;
}

.items_slider{
  width: 100%;
}

.items_form_slider{
  width: 100%;
}

#contacto .contenedor{
  width: 100%;
  flex-wrap: wrap;
}

.tabla_contenedor{
  width: 100%;
}

}