<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- Favicons -->
    <link href="../assets/img/favicon_indo.ico" rel="icon">
    <link href="../assets/img/apple-touch-icon.png" rel="apple-touch-icon">
    <title>Alumno</title>
    <link rel="stylesheet" href="css/estilos_socio.css" />
	<script src="js/jquery-1.12.4.js"></script>
	<script src="js/cita.js"></script>
	<script src="js/frm-cita.js"></script>
	<script src="js/tiempo-session.js"></script>
	
	<!-- Google Fonts -->
   <link rel = "preconnect" href = "https://fonts.googleapis.com">
   <link rel = "preconnect" href = "https://fonts.gstatic.com" crossorigin>
   <link href = "https: //fonts.googleapis.com/css2? family = Nunito: wght @ 200 & display = swap "rel =" stylesheet ">
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  
  


<style>
.dropdown-menu{
border:0px;
}

</style>

</head>
<body>
 
<div id="main_container">
    


<div class="top-bar-green">
<p style=" text-align: center;height: 50px; padding-top: 10px; color: #ffffff; font-size: 20px;
">Registro de socios
</p>
    
</div>

<!--Timeline-->

<!--Form-->
<form id="frm-cita" class="formulario wide-85-resp" method="post">
    <input type="hidden" name="nombreusu" id="nombreusu" value="<?php //echo $_SESSION['givenName']; ?>">
    <input type="hidden" name="apellidosusu" id="apellidosusu" value="<?php //echo $_SESSION['familyName']; ?>">
    <ul class="flex">
        <li>
            <input type="text" name="nombre" placeholder="" maxlength="100" id="nombre" required="" value="<?php //echo $_SESSION['givenName'].' '.$_SESSION['familyName'];?>"> <!--style="pointer-events:none;cursor: default;"-->
			
            <label for="nombre">Nombre</label>
        </li>
        <li class="margin-0-resp">
            <input type="text" name="email" placeholder="" maxlength="100" id="email" required="" style="pointer-events:none;cursor: default;" value="<?php //echo $_SESSION['email'];?>">
            <label for="email">Correo</label>
        </li>
    </ul>
    <ul class="flex">
        <li>
			<input type="text" name="matricula" placeholder="" maxlength="100" id="matricula" required="" class="sinvalidar" onBlur="validarMatricula('matricula')" oninput="validarMatricula('matricula')" value="<?php //echo $matriculaBD;?>" style="pointer-events:none;cursor: default;">
        <label for="matricula">Matricula</label> 
        </li>
		<li class="margin-0-resp">
			<input type="text" name="telefono" placeholder="" maxlength="20" id="telefono" class="sinvalidar" onBlur="validarTelefono('telefono'),validarMatricula('matricula')" oninput="validarTelefono('telefono'),validarMatricula('matricula')">
        <label for="telefono">Teléfono</label> 
        </li>
    </ul>
    <ul class="flex">
        <li>
            <textarea type="text" name="necesidad" placeholder="" id="necesidad" required="" class="sinvalidar" onBlur="validarNecesidad('necesidad')" oninput="validarNecesidad('necesidad')" rows="5"></textarea>
            <label for="necesidad">Descripción de la necesidad</label>  
        </li>
    </ul>
	<ul class="flex">
	  <li style="text-align:left">
	     <label style="font-family:'Raleway', sans-seriff"><input type="checkbox" name="terminos" id="terminos" onclick="validarTerminos('terminos')" onBlur="validarTerminos('terminos')" oninput="validarTerminos('terminos')" class="sinvalidar"> <a href="https://www.indo.edu.mx/privacidad" target="_blank">Acepto Términos y Condiciones</a></label>
	  </li>
	</ul>
    <div class="submenu-formulario">
        <button type="reset" class="boton reverso-alert">Limpiar formulario</button>
        <button type="button" class="boton primario" id="modal-trigger-1" onclick="validacion()">Enviar solicitud</button> 
    </div> 
</form>


<div class="overlay-modal"></div>


<!--Mensaje tutor-->
<!--button id="modal-trigger-1">Lanzar modal de tutor</button-->
<div class="dialogo-modal" id="modal-1">
     <div class="cerrar-modal"></div>
     <div class="modal-contenido-tutor" style="text-align: center;">
        <div class="contenido-mensaje-tutor">
		<h3 style="text-align:left">Enviar solicitud</h3>
		
            <p style="text-align:left">¿Estás seguro de enviar solicitud?</p>
        </div>
        <div style="text-align:right">
            <button type="submit" class="boton reverso-primario cerrar">Cancelar</button>
            <button type="button" class="boton primario" id="confirma">Confirmar</button> 
        </div>
    </div>
</div>



<!--button id="modal-trigger-2">Lanzar modal de confirmación</button-->
<!--Mensaje confirmación-->
<div class="dialogo-modal" id="modal-2">
    <div id="miModal" class="modal_" style="z-index: 100;">
    <div class="cerrar-modal"></div>
        <div class="modal-contenido flex" style="justify-content: space-between;">
		<h3 style="text-align:left">¡Solicitud enviada!</h3>
		
            <p>texto.<br>Saludos cordiales
			</p>
			
            <img src="img/check.svg" alt="" style="width: 50px;">
        </div>  
    </div>
</div>

</div>

<!-- Footer -->
<footer>

  <!-- Footer Links -->
<div class="text-center text-md-right">
    <!-- Grid row -->
    <div class="row" style="
    margin-left: 25px;
    margin-right: 25px;
">
      <!-- Grid column -->
      <div class="col-6 mx-auto" style="
    padding-top: 10px;
">



        <!-- Links -->
        <a href="index.html"><img align="left" src="img/loginfo.png" class="img-fluid" alt="Responsive image" style="
    width: 160px;
    padding-bottom: 10px; ">

        
      </div>
      <!-- Grid column -->

     
	 
	 <!-- Grid column -->
<div class="col-md-6 mx-auto" style="
    padding-top: 8px;
">

</div>




     
      

     
      

    </div>
    <!-- Grid row -->

  </div>
  <!-- Footer Links -->





</footer>




<!-- Footer -->


<!--script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script-->

<script>
function modalLauncher(elemento){
	elID = document.getElementById(elemento);
	$(elID).fadeIn('slow');
	$('.overlay-modal').fadeIn('slow');
}

$('.overlay-modal, .cerrar-modal').on('click', function(){
	$('.overlay-modal, .dialogo-modal').fadeOut();
})

$('.cerrar').on('click', function(){
	$('.overlay-modal, .dialogo-modal').fadeOut();
})

$('#modal-trigger-2').on('click', function(){
	modalLauncher('modal-2');
})

</script>

</body>
</html>