.sections {
    height: 100px;
    display: none;
    align-items: center;
    align-self: flex-end;
    width: 100%;
    justify-content: flex-end;
}

.links {
    display: flex;
    flex-direction: row;
}

.links div {
    display: flex;
    align-items: center;
    margin-right: 50px;
    justify-content: center;
}

a {
    color: #FEFFFE;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 600;
    text-decoration: none;
}

.registerStudents {
    background-color: #7AC8D3;
    border-radius: 18px;
    width: 115px;
    height: 60px;
}

.registerStudents a {
    color: #2D3888;
}

main {
    justify-content: center;
    display: flex;
}

.regInfo {
    margin-top: 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logoStudent {
    width: 140px;
    height: 140px;
}

.msg {
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: center;
}

.tableForm {
    color: #1A2454;
    font-family: Montserrat;
    font-size: 85%;
    font-weight: bold;
}

.tableForm input, .tableForm select {
    background-color: #FFFFFF;
    border: 1px solid #D3D2D2;
    border-radius: 3px;
    height: 40px;
    text-indent: 10px;
    margin: 5px 7px;
    
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
    text-align: left;
}

.tableForm th {
    text-align: left;
}

.dataEntry {
    width: 90%;
}

#namePupil, #lastName, .namePupil, .lastPupil {
    width: 90%;
}

#gender, #birthDay, #id, .genderSelect, .birth, .ci {
    width: 90%;
}

#grade, #section, .gradeSelect, .sectionSelect {
    width: 90%;
}

#circle:before, .lessCircle:before {
    content: '+';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #2D3888;
    border-radius: 22.5px;
    font-size: 30px;
    color: #FFF;
    margin: 5px 0px;
}

.lessCircle:before{
    content: "-";
    background-color: #FF7355;
}

input::-webkit-input-placeholder { color: #A4B6CF; }

input:-moz-placeholder { color: #A4B6CF; }

#circle:hover, .lessCircle:hover{
    cursor: pointer;
}

.buttons{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

button {
    background-color: #2D3888;
    border-radius: 6.67px;
    width: 100%;
    height: 40px;
    border-style: none;
  
    color: #FEFFFE;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 500;
    text-align: center;
}

#error, #confirmation {
    color: #F11;
    margin: 5px;
    font-family: Montserrat;
    font-size: 90%;
}

#confirmation {
    color: #1D1;
    font-weight: bold;
    font-size: 100%;
}

.qtyPupils {
    color: #494753;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    flex-direction: column;
    display: flex;
}

.qtyPupils span {
    margin: 0px 10px;
}

@media screen and (min-width: 1025px){
/*pc*/

    .sections {
        display: flex;
    }
    
    .qtyPupils {
        display: block;
        margin-bottom: 20px;
    }
    
    #namePupil, #lastName, .namePupil, .lastPupil {
        width: 200px;
    }
    
    #gender, #birthDay, #id, .genderSelect, .birth, .ci {
        width: 150px;
    }

    #grade, #section, .gradeSelect, .sectionSelect {
        width: 80px;
    }
    
    .tableForm input, .tableForm select {
        height: 45px;
    }
    
    button {
        width: 300px;
        height: 45px;
    }
    
    .dataEntry {
        width: auto;
    }
}

/*Side bar for responsive design*/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #1A2454;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #FFF;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* forzar a la tabla a bloque */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* esconder la cabecera */
	tr th { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { 
	    border: 1px solid #ccc;
	    margin: 10px 0px;
    }
	
	td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 40%; 
	}
	
	td:before { 
		/* titulo de cabecera aparente */
		position: absolute;
		/* colocar los valores en fila con su cabecera */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	td:nth-of-type(1):before { content: "Nombre"; }
	td:nth-of-type(2):before { content: "Apellido"; }
	td:nth-of-type(3):before { content: "Género"; }
	td:nth-of-type(4):before { content: "Nacimiento"; }
	td:nth-of-type(5):before { content: "Cédula"; }
	td:nth-of-type(6):before { content: "Grado"; }
	td:nth-of-type(7):before { content: "Sección"; }
	
}

.loaderWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #3498db;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

.loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

.loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite;
      animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0%   { 
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0%   { 
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}