﻿
body {
    padding-bottom: 20px;
    display: grid
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    width: 280px;
}

.payment-container {
    background-color: white;
    padding: 30px
}

.noted {
    display: inline-block;
    border: solid 1px #2d3436;
    width: 300px
}

.row-first {
    border-bottom: solid 1px #2d3436;
    background-color: #2ecc71;
}

.row-second {
    background-color: #b2bec3;
}

.color-box {
    display: inline-block;
    border-right: 1px solid #000;
    width: 25px;
    height: 25px;
}

.noted-text {
    padding: 5px;
}

.table-payment {
    margin-top: 180px;
    margin-right: 60px;
}
/*.table-header {
    background-color: white;
    height: 30px;
    width: 1876px;
    margin-left: 4px;
    position: fixed;
    top: 180px;
    
}*/

.col-payment {
    text-align: center;
    height: 30px;
}

.col-subject {
    width: 151px;
}

.col-classId {
    width: 85px;
}

.col-no {
    width: 32px;
}

.col-day {
    width: 95px;
}

.col-year {
    width: 68px;
}

.col-term {
    width: 64px;
}

.col-grade {
    width: 64px;
}

.col-payment-box {
    width: 30.5px;
}

.cell-payment {
    text-align: center;
}

.cell-year {
    width: 70px;
}

.cell-term {
    width: 70px;
}

.cell-grade {
    width: 70px;
}

.cell-no {
    width: 30px;
}

.cell-day {
    width: 90px;
}

.cell-subject {
    width: 165px;
}

.cell-classId {
    width: 90px;
}

.cell-payment-box {
    height: 35px;
    width: 40px;
}

.col-header-student {
    width: 40px;
}

.cell-payment-box.last {
    border-right: 0;
}

.paid-box {
    background-color: #2ecc71;
}

.unpaid-box {
    background-color: #b2bec3;
}


.payment-table {
    font-size: 16px;
}

th {
    border: 1px solid #000;
}

td {
    border: 1px solid #000;
}

th td {
    border-right: none;
}

th.last td.last {
    border-right: 1px solid #000;
}

.space-grade {
    height: 30px;
    /*border-left: 0;*/
}

.grade-k {
    background-color: rgb(255, 0, 0);
    color: #ffffff
}

.grade-1 {
    background-color: rgb(255, 0, 0);
    color: #ffffff
}

.grade-2 {
    background-color: rgb(255, 255, 0);
    color: #000
}

.grade-3 {
    background-color: rgb(0, 128, 0);
    color: #ffffff
}

.grade-4 {
    background-color: rgb(173, 216, 230);
    color: #ffffff
}

.grade-5 {
    background-color: rgb(0, 0, 128);
    color: #ffffff
}

.grade-6 {
    background-color: rgb(128, 0, 128);
    color: #ffffff
}

.grade-7 {
    background-color: rgb(255, 0, 0);
    color: #ffffff
}

.grade-8 {
    background-color: rgb(255, 255, 0);
    color: #000
}

.grade-9 {
    background-color: rgb(0, 128, 0);
    color: #ffffff
}

.grade-10 {
    background-color: rgb(173, 216, 230);
    color: #ffffff
}

.grade-11 {
    background-color: rgb(0, 0, 128);
    color: #ffffff
}

.grade-12 {
    background-color: rgb(128, 0, 128);
    color: #ffffff
}

.table-body {
    position: relative;
    margin-top: 180px;
}

.header-payment {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: white;
    height: 211px;
    z-index: 3;
}

.table-head {
    position: sticky;
    z-index: 3;
    top: 210px;
    background-color: #d3f3ae;
}
/*#table-menu span {
    border: 1px solid #000;
    border-left: none;
    height: 30px;
    display: inline-block;
    vertical-align: middle;*/
/*margin-left: -4px;*/
/*font-weight: bold;
}*/
#table-menu {
    /*left: 34px;*/
    position: fixed;
    top: 150px;
}
    /*
    #table-menu .cell-term {
        width: 80px !important;
    }
*/
    #table-menu .cell-year {
        /*width: 77px !important;*/
        border-left: 1px solid #000
    }

/* #table-menu .cell-grade {
        width: 78px !important;
    }
*/
/*  #table-menu .cell-subject {
        width: 147px !important;
    }*/
/*
    #table-menu .cell-day {
        width: 83px !important;
    }
*/
/* #table-menu .cell-no {
        width: 32px !important;
    }*/

/* #table-menu .cell-classId {
        width: 91px !important;
    }*/

.button-show {
    width: 20px;
    width: 20px;
    height: 16px;
    font-size: 8px;
    margin-left: 6px;
    align-items:center
    align-items: center
}
