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

.optionsBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 30px;
}

.optionsTitle {
    color: #1A2454;
    font-family: Montserrat;
    font-size: 150%;
    font-weight: 700;
    margin-bottom: 5px;
}

.optionInputBox {
    margin: 15px 0px;
}

.optionInputLabel {
    user-select: none;
}

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

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

.estimatedPupils a {
    color: #2D3888;
}

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

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

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

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

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

.tableForm tr th {
    text-align: center;
    padding: 10px 20px;
    font-family: Montserrat;
}

.tableForm tr td, .msgTotal {
    text-align: center;
    font-family: Montserrat;
}

.tableForm input, .totalTable {
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
    text-align: center;
}

.inputTable {
    background-color: #FFFFFF;
    border: 1px solid #D3D2D2;
    border-radius: 3px;
    width: 80px;
    height: 45px;
    text-indent: 5px;
}

.bankInfo {
    height: 100%;
    width: 270px;
    background-color: #EAF5FA;
    border-radius: 7px;
    vertical-align: top;
    padding: 20px;
    display: none;
    align-items: center;
}

.resultTable {
    background-color: #F2F2F2;
    border-radius: 3px;
    width: 80px;
    height: 45px;
    border-style: none;
    text-indent: 5px;
}

.card {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.titleInfo {
    color: #1A2454;
    font-family: Montserrat;
    font-size: 19px;
    font-weight: 600;
    display: flex;
    align-self: center;
}

.makePay {
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
    align-self: center;
}

#msg {
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
    align-self: center;
    text-align: justify;
}

.orgInfo {
    align-self: center;
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: bold;
    text-align: center;
}

.accountInfo {
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
}

.totalTable {
    background-color: #F2F2F2;
    border-radius: 3px;
    width: 95%;
    height: 45px;
    border-style: none;
    text-align: center;
    margin-right: 5px;
}

hr {
    margin: 15px 0px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.53;
}

#lineTable {
    width: 100%;
    margin: 0px;
    margin: 5px 0px;
}

.totally {
    flex-direction:row;
    justify-content: center;
    align-items: center;
}

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

.registerPay, .goBackBtn {
    background-color: #2D3888;
    border-radius: 6.67px;
    width: 275px;
    height: 45px;
    border-style: none;
    color: #FEFFFE;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 600;
    line-height: 19px;
    width: 262px;
    text-align: center;
    margin: 5px;
}

.registerDef {
    background-color: #FF7355;
    border-radius: 6.67px;
    width: 275px;
    height: 45px;
    border-style: none;
    color: #FEFFFE;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 600;
    line-height: 19px;
    width: 262px;
    text-align: center;
    margin: 5px;
}


.calculateAmount, .currency {
    width: 100%;
    padding: 0px;
    vertical-align: top;
    padding: 1px 2px;
}

.amount {
    background-color: #F2F2F2;
    border-radius: 6.67px;
    width: 75%;
    height: 45px;
    border-style: none;
    color: #494753;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    padding-right: 5px;
}

.amountSecond {
    height: 44px;
}

.currency {
    background-color: #F2F2F2;
    border-radius: 6.67px;
    height: 47px;
    padding-left: 5px;
    color: #494753;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    display: block;
}

.currencySecond {
    height: 44px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#error {
    color: #F11;
    margin: 5px;
    color: #F11;
    font-family: Montserrat;
    font-size: 14px;
}

.secondDataBox {
    width: 100%;
    padding: 25px;
    border: 1px solid #1A2454;
    border-radius: 26px;
}

.labelInputRow {
    margin: 20px 0px;
    display: flex;
    justify-content: space-between;
}

.labelInput{
    width: 46%;
    display: flex;
    flex-direction: column;
}

.labelSecond {
    color: #1A2454;
    font-family: Montserrat;
    font-size: 100%;
    font-weight: 700;
}

.labelSecondCol {
    margin-bottom: 10px;
}

.inputSecond {
    background-color: #FFFFFF;
    border: 1px solid #D3D2D2;
    border-radius: 7px;
    width: 45%;
    height: 40px;
    color: #494753;
    font-family: Montserrat;
    font-size: 90%;
    font-weight: 500;
    text-align: right;
    text-indent: 15px;
}

.labelInputBox {
    width: 97%;
}

.text-right{
    text-align: left;
}

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

}

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

    .sections {
        display: flex;
    }
    
    .amount {
        width: 250px;
    }
    
    .lastInput {
        flex-direction: row;
    }
    
    .orgInfo {
        margin-bottom: 50px;
    }
    
    #msg {
        margin-top: 20px;
    }
    
}

@media screen and (max-width: 1000px){
    .secondDataBox {
        width: 90%;
        padding: 15px;
    }
}

@media screen and (max-width: 800px){
    .optionsBox {
        flex-direction: column;
        width: 90%;
    }
}

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

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

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
@media screen and (max-width: 1025px)  {

	/* 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 { 
	    margin: 15px 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: ""; }*/
	td:nth-of-type(2):before { content: "1er Grado"; }
	td:nth-of-type(3):before { content: "2do Grado"; }
	td:nth-of-type(4):before { content: "3er Grado"; }
	td:nth-of-type(5):before { content: "4to Grado"; }
	td:nth-of-type(6):before { content: "5to Grado"; }
	td:nth-of-type(7):before { content: "6to Grado"; }
	
	td[class="totalStudents"]:before { 
	    content: "Total Alumnos";
	}
	    
	td[class="totalAmount"]:before { 
	    content: "Monto Total";
	}
	
	td[class="totalAmount"], td[class="totalStudents"] {
	    padding-left: 50%;
	}
	
	td[colspan="7"], td[colspan="8"]{
	    padding-left: 0px;
	    border: none;
	}
	
}

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


.noShow {
    display: none;
}


.totalBox {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.totalInput {
    text-align: center;
    width: 50%;
    min-width: 200px;
    max-width: 300px;
}

.readonlyInput {
    background: rgba(0,0,0,0.05);
}
