.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;
}

.content {
    /*width: 90%;*/
    margin: 40px 10px 0px 10px;
}

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

.title {
    color: #1A1F6D;
    font-family: Montserrat;
    font-size: 125%;
    font-weight: 600;
}

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

input {
    background-color: #FFFFFF;
    border: 1px solid #D3D2D2;
    text-indent: 15px;
    border-radius: 3px;
    width: 90%;
    height: 40px;
    
    color: #A5B7CF;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 500;
}

.search, .masiveLoad, .exportData {
    background-color: #2D3888;
    border-radius: 7px;
    width: 90%;
    height: 40px;
    border-style: none;
    
    color: #FEFFFE;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 600;
    text-align: center;
    
    margin-top: 5px;
    margin-bottom: 5px;
}

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

.tableResult tr th {
    background-color: #1A2454;
    color: #FFFFFF;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 600;
    text-align: center;
    height: 56px;
}

.grade,.section, .age, .gender, .ID {
    width: 115px;
}

.nameTable{
    width: 250px;
}

.ci {
    width: 150px;
}

.birth {
    width: 200px;
}

.section, .age, .gender, .birth {
    display: none;
}

.tableResult tr td{
    color: #444;
    font-family: Montserrat;
    font-size: 85%;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    cursor: pointer;
}

tr:nth-child(2n+2) {
  background: #EEE;
} 

.idStudent {
    display: none;
}

.infoWindow, .infoExcel{
    background-color: #FFF;
    border-radius: 30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*.infoExcel {
    width: 80%;
}*/

.excelContent {
    width: 90%;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 500;
    color: #444;
}

.excelContent ol li {
    margin-bottom: 5px;
}

.template {
    color: blue;
    text-decoration: underline;
}

.excelInfo {
    resize: none;
    width: 90%;
    margin-top: 10px;
}

.excelProcess {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.saveExcelData, .deleteStudents {
    background-color: #2D3888;
    border-radius: 7px;
    width: 90%;
    height: 40px;
    border-style: none;
    
    color: #FEFFFE;
    font-size: 90%;
    font-weight: 600;
    text-align: center;
    
    margin-top: 5px;
}

.deleteStudents, .exportData {
    background-color: #FF7355;
    margin-top: 10px;
}

.infoWindow h2{
    color: #1A1F6D;
    font-family: Montserrat;
    font-size: 125%;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.inputRow {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    margin: 10px 0px;
}

.inputSelections {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.inputLabel {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.modifyForm{
    width: 90%;
    flex-direction: column;
}

.modifyForm .inputInfo {
    background-color: #FFFFFF;
    border: 0.87px solid #D3D2D2;
    border-radius: 6.67px;
  
    color: #494753;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    
    width: 100%;
    height: 40px;
}

.modifyForm label {
    color: #1A2454;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 700;
}

.buttonModify {
    background-color: #2D3888;
    border-radius: 6.67px;
    width: 100%;
    height: 40px;
    border-style: none;
    color: #FEFFFE;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 600;
    
    margin-bottom: 10px;
}

.sectionGrade{
    background-color: #FFFFFF;
    border: 0.87px solid #D3D2D2;
    border-radius: 6.67px;
    
    width: 6em;
    height: 40px;
  
    color: #494753;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
}

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

.pagination{
    color: #888888;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 400;
    margin: 10px 15px;
}

i {
    border: solid #FFF;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    cursor: pointer;
}

.up{
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.arrowsGroup{
    display: none;
    float: right;
    flex-direction: column;
    margin-right: 10px;
}

.close {
    display: flex;
    align-self: flex-end;
    margin-top: 15px;
    margin-right: 20px;
    font-family: Montserrat;
    font-size: 24px;
}

.close:hover {
    cursor: pointer;
}

.errorExcel {
    font-size: 100%;
    color: #F00;
}

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

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

.exportBox {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.listPages {
    list-style: none;
    padding: 0px;
}
.listPages li {
    float:left;
}

.lastRow{
    background-color: #FFF;
}

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

    .qtyPupils {
        display: block;
        margin-bottom: 20px;
    }
    
    .exportBox {
        flex-direction: row;
    }

    .sections {
        display: flex;
    }
    
    .dataSearch {
        flex-direction: row;
        width: auto;
    }
    
    .search, .masiveLoad, .saveExcelData, .deleteStudents, .exportData {
        margin-left: 5px;
        margin-bottom: 0px;
        width: 214px;
        height: 45px;
        font-size: 100%;
    }
    
    .excelInfo {
        width: 80%;
    }
    
    input {
        width: 237px;
        height: 45px;
    }
    
    .arrowsGroup{
        display: flex;
    }
    
    .tableResult tr td{
        font-size: 95%;
        padding: 15px;
    }
    
    .section, .age, .gender, .birth {
        display: table-cell;
    }
    
    .inputRow {
        flex-direction: row;
    }
    
    .infoWindow {
        width: 56%;
    }
    
    .modifyForm .inputInfo {
        width: 300px;
        height: 45px;
    }
    
    .inputSelections {
        width: 300px;
        justify-content: space-between;
    }
    
    .sectionGrade{
        width: 130px;
        height: 45px;
    }
    
    .buttonModify {
        width: 300px;
        height: 45px;
    }
}

/*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;
}

.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: 5px 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: 5px 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: 5px 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);
    }
}
