﻿.tbl-topic-table {
    min-width: max-content;
    border-spacing: 0px;
    border-collapse: separate;
}

.tbl-topic-table th {
    position: sticky;
    top: -2px;
    background-color: #ececec;
    border: 1px solid #ececec;
    z-index: 2;
}

.tbl-topic-table td {
    border: 1px solid #ececec;
    background-color: white;
}

    .tbl-topic-table td:first-child,
    .tbl-topic-table th:first-child {
        position: sticky;
        left: 0px;
        z-index: 1;
    }

    .tbl-topic-table td:nth-child(2),
    .tbl-topic-table th:nth-child(2) {
        position: sticky;
        left: 80px;
        z-index: 1;
    }

.tbl-topic-table th:first-child,
.tbl-topic-table th:nth-child(2) {
    z-index: 3;
}

.tbl-topic-table td:nth-child(3),
.tbl-topic-table th:nth-child(3) {
    position: sticky;
    left: 200px;
    z-index: 1;
}

.tbl-topic-table th:first-child,
.tbl-topic-table th:nth-child(3) {
    z-index: 3;
}

.tbl-topic-table td:nth-child(4),
.tbl-topic-table th:nth-child(4) {
    position: sticky;
    left: 430px;
    z-index: 1;
}

.tbl-topic-table th:first-child,
.tbl-topic-table th:nth-child(4) {
    z-index: 3;
}

.o-bg-bkk {
    background-color: darkred;
}

.text-bkk {
    color: darkred;
}

.bkk-page-container{
    padding-top: 80px;
    padding-left: 330px;
}

.bkk-page-container.active {
    padding-left: 60px;
}

.welcome {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome .img-bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.bkk-header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 160px;
}

.bkk-footer-container {
    position: fixed;
    left: 0;
    width: 100vw;
    bottom: 0px;
    z-index: -1;
}

.bkk-footer-container img {
    width: 100vw;
}

.bkk-logo {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 500px;
    padding-top: 20px;
    padding-right: 10px;
}

.bkk-logo img {
    width: 100%
}

.bkk-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
}

.bkk-header img {
    width: 100%;
    height: 160px;
}

.menu-container {
    position: absolute;
    color: black;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
}

.menu-title {
    font-size: 50px;
    font-weight: 500;
    padding: 10px;
}

.menu-sum-title {
    font-size: 30px;
    font-weight: 500;
}

.menu-button {
    font-size: 35px;
    background-color: #f9fbf8;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid #0b9444;
    cursor: pointer;
    width: 650px;
}

.confirm-button {
    font-size: 30px;
    background-color: #f9fbf8;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid #0b9444;
    cursor: pointer;
    width: 150px;
    margin-right: 10px;
}

.menu-service-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-icon-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.menu-icon {
    padding: 30px;
}

.menu-icon img {
    width: 250px;
}

.service-title h3 {
    font-size: 30px;
}

.back-icon-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    z-index: 999;
}

.back-icon {
    position: relative;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    padding: 10px;
    background-color: darkgreen;
    border-radius: 50%;
    margin: 10px 2px 2px 5px;
    cursor: pointer;
}

.info-contanier {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-form {
    display: flex;
    flex-direction: row;
    width: 80%;
    height: 50px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}

.info-sum {
    display: flex;
    flex-direction: row;
    width: 80%;
    height: 50px;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.info-label {
    width: 30%;
    font-size: 25px;
    line-height: 60px;
    text-align: right;
}

.info-input {
    width: 70%;
    text-align: left;
    padding-left: 20px;
    font-size: 22px;
    padding-top: 17px;
    color: #0b9444;
}

.info-input-radioBox {
    display: flex;
    text-align: left;
    padding-left: 30px;
    font-size: 22px;
}

.info-input-radioBox .radioBox span{
    font-size:16px !important;
}

.info-descrp {
    width: 100%;
}

.info-descrp textarea {
    width: 90%;
    border-color: #d0cccc;
    color: #0b9444;
    font-size: 16px;
    line-height: 35px;
    padding-left: 8px;
}

.info-input input[type=text] {
    width: 90%;
    height: 45px;
    border: 0px;
    border-bottom: 1px solid #bab5b5;
    color: #0b9444;
}

.confirm-container {
    margin-top: 50px;
    display: flex;
}

.stu-info {
    position: relative;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    font-family: Sarabun;
    font-size: 20px;
    padding-left: 100px;
    padding-right: 100px;
}

.stu-info table {
    width: 100%;
}

.stu-info table tbody tr {
    height: 20px !important;
}

.stu-info table td {
    padding: 3px 10px;
}

.subj-info {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Sarabun;
    font-size: 20px;
    padding-top: 10px;
    padding-left: 100px;
    padding-right: 100px;
}

.subj-info table {
    border:1px solid green;
}

.subj-header {
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.subj-info table thead tr {
    height: 50px;
    text-align: center;
}

.subj-info table tbody tr {
}

.subj-info table tbody tr td {
    padding:5px;
}

.subj-code-h {
    width: 335px;
    border: 1px solid black;
}

.subj-hour-h {
    width: 90px !important;
    border: 1px solid black;
}

.subj-score-h {
    width: 90px !important;
    border: 1px solid black;
}

.print-container {
    display: flex;
    justify-content: flex-end;
}

.subj-group{
    text-align:center;
}

#sum-info {
    border-collapse: collapse;
    width: 60%;
}

#sum-info th {
    border: 1px solid #ddd;
    padding: 8px;
}

#sum-info td {
    border: 1px solid #ddd;
    padding: 8px;
    width:100px;
}

#sum-info tr:nth-child(even) {
    background-color: #f2f2f2;
}

#sum-info tr:hover {
    background-color: #ddd;
}

#sum-info th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #0b9444;
    color: white;
    width: 250px;
}

.login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 500px;
}

.login-row {
    background-color: white;
    border-radius: 30px;
    box-shadow: 12px 12px 22px rgba(0,0,0,0.1);
    overflow: hidden;
}

.login img {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.login h1 {
    font-size: 2rem;
    font-weight: 500;
}

.btn-bkk {
    height: 50px;
    width: 30%;
    border: none;
    outline: none;
    border-radius: 5px;
    font-weight: 500;
    background-color: darkred;
    color: white;
}

.btn-bkk:hover {
    background-color: #0db754;
    transition: 0.5s;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: dimgray;
}

.nav-profile {
    margin-top: -10px;
}

.navbar-bkk {
    height: 70px;
    background-color: darkred !important;
}

.bkk-brand img {
    width: 45px;
}

.navigation {
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    width: 330px;
    overflow-x: hidden;
    overflow-y: hidden;
    transition: 0.5s;
    z-index: 100;
    background-color: #ececec;
    transition: 0.2s;
}

.navigation ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.navigation ul li {
    position: relative;
    width: calc(100%+30px);
    list-style: none;
    margin-left: -30px !important;
}

.navigation ul li:nth-child(1):hover {
    background-color: transparent;
}

/*.navigation ul li:hover {
    background-color: #0b9444;
}*/

.navigation ul li a {
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    text-decoration: none;
    color: black;
}

.navigation ul li a:hover {
    background-color: darkred;
    color: white;
}

.menu-info .menu-item.active a{
    background-color: darkred!important;
    color: white!important;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    min-width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 24px;
}

.navigation ul li a .title {
    position: relative;
    display: block;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    white-space: nowrap;
    font-weight: 500;
    font-size: 18px;
}

.info-box-icon img {
    width: 75px;
}

.dashboard-header{
    display: flex;
    justify-content:space-between;
    align-content:center;
}

.tic-detail {
    margin-left: 1px;
    margin-right: 1px;
    --bs-gutter-x: 0;
}

.report-container {
    font-family: Sarabun;
    font-size: 16px;
    margin-top: 70px;
}

.report-list {
    list-style: none;
    margin: 0;
    overflow: auto;
    padding: 0;
}

.report-list > li {
    border-radius: 2px;
    background-color: #f8f9fa;
    border-left: 10px solid #0b9444;
    color: #495057;
    margin-bottom: 2px;
    padding: 10px;
    cursor:pointer;
}

.report-list > li .text {
    display: inline-block;
    font-weight: 600;
    margin-left: 5px;
    font-size: 20px;
}

.form-text {
    font-size: 18px;
}

.form-label-text {
    font-size: 18px;
}

.sb-list-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 20px;
    transition: 0.5s;
}

.sb-list-menu i {
    font-size: 20px;
}

.sb-menu-treeview {
    position: relative !important;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: 0.5s;
}

.sb-menu-treeview li {
    width: 320px;
}

.sb-menu-treeview.active {
    display: flex;
}

.sb-menu-treeview.closed {
    display: none;
}

.sb-list-menu.active i {
    transform: rotate( -90deg);
}

.academic-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.year-form {
    width: 670px;
}

.semester-form {
    width: 670px;
}

.new-year-form input[type=text] {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #d0d6dc;
    height: 36px;
    font-size: 18px;
    padding-left: 10px;
}

.new-year-form .form-switch {
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-year-form span {
    font-size: 18px;
}

.button-form-group{
    display:flex;
    justify-content:center;
    align-items:center;
}

.basic-card .card-body {
    height: 330px;
}

.info-list {
    list-style: none;
    margin: 0;
    overflow: auto;
    padding: 0;
    height: 220px;
    overflow-y: auto;
}

.info-list li {
    border-radius: 2px;
    background-color: #f8f9fa;
    border-left: 2px solid #e9ecef;
    color: #495057;
    margin-bottom: 2px;
    padding: 10px;
    cursor: pointer;
}

.info-list li .text {
    display: inline-block;
    font-weight: 600;
    margin-left: 5px;
    font-size: 18px;
}

.info-list li .tool {
    font-size: 14px;
}

.info-container {
    display: flex;
    flex-direction:column;
}

.info-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.info-row-subtopic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:white!important;
}

.info-tool {
    cursor:pointer;
}

.basic-form-container {
    padding: 7px;
    background-color: #f8f9fa;
}

.basic-form-container .basic-keyvalue {
    padding: 10px;
}

.basic-form-container .basic-keyvalue span {
    font-size:18px;
}

.basic-form-container .basic-keyvalue input[type=text] {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #a39c9c;
}

.basic-btn {
    display: flex;
    justify-content: flex-start;
}

.subj-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subj-search {
    display: flex;
    justify-content:space-between;
    align-items: center;
}

.subj-search label {
    width: 160px;
    background-color: #f7f7f7;
    height: 36px;
    text-align: center;
    padding-top: 5px;
}

.subj-search input[type=text] {
    width: 373px;
    margin-top: -6px;
    height: 35px;
}

.subj-button-form{
    text-align:center;
}

.semester-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grade-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.select2-selection__rendered {
    line-height: 35px !important;
}

.select2-container .select2-selection--single {
    height: 39px !important;
}

.select2-selection__arrow {
    height: 38px !important;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
}

.d-flex-sp-btw {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-header{
    font-weight:bold;
}

.pl-tab {
    margin-left: 10px;
    width: calc(100% - 23px);
}

.pl-link {
    color: black !important;
}

.pl-link.active {
    border-top: 4px solid darkred !important;
}

.ple-link {
    visibility:hidden;
}

.ple-link.active {
    visibility:visible;
}

.pp1-setting-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.pp1-item-container {
    width: 650px;
    margin-left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.pp1-item {
    margin-bottom: 10px;
    margin-top: 10px;
}

.pp1-value input[type=text] {
    font-size: 18px;
}

.table-header-split {
    height: 42px;
}

.subj_label-col {
    min-width: 132px;
    padding-top: 0;
    padding-bottom: 0;
}

.subject-label, .subject-label-col {
    color: black;
    border: 1px solid rgba(0,0,0,.1);
    font-size: .85rem;
    line-height: .9rem;
    text-align: center !important;
}

.subject-code-label {
    font-weight: 600;
    font-size: .75rem;
    line-height: .85rem;
    margin-top: 8px !important;
}

.subject-name-label {
    font-size: .85rem;
}

.wrap-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-row-narrow td {
    padding: 2px 4px;
    font-size: .85rem;
}

.table-row-narrow:hover {
    background-color: #a8eeff !important;
    box-shadow: inset 0 .12rem 0 0 #5d5d5d,inset 0 -.12rem 0 0 #5d5d5d !important;
}

.text-lang {
    width: 220px;
    color: white;
}

.lang-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.lang-container a:hover{
    color: aqua !important;
}

.lang-container a.active {
    color: aqua !important;
    font-weight: bold;
    font-size:18px;
}

.health-rep-col {
    padding: 3px;
    font-size: 13px;
}

.import-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 3px;
    border: 1px solid #d9d5d5;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

.import-icon {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding: 5px;
}

.import-text {
    padding: 0px 5px 0px 5px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


@media screen and (max-width: 992px) {
    .menu-icon img {
        width: 170px;
    }

    #sum-info th {
        width: 250px;
    }

    #sum-info td {
        width: 250px;
    }

    .bkk-page-container {
        padding-left: 60px;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon img {
        width: 125px !important;
    }

    .menu-button {
        font-size: 30px;
        width: 400px;
    }

    .menu-title {
        font-size: 29px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    #sum-info {
        width: 95% !important;
    }

        #sum-info td {
            width: 90px !important;
        }

    .login {
        width: 450px;
    }

    .bkk-page-container {
        padding-left: 60px;
    }

    .year-form {
        width: 80% !important;
        overflow: scroll;
    }

    .semester-form {
        width: 80% !important;
        overflow: scroll;
    }
}

@media screen and (max-width: 576px) {
    .bkk-header-container {
        position: absolute;
        top: 0;
        left: 0;
        height: 150px;
    }

    .back-icon-container {
        position: absolute;
        top: 90px;
        left: 0;
        display: flex;
        z-index: 999;
        flex-direction: column;
    }

    .menu-service-container {
        flex-direction: column;
    }

    .menu-title {
        font-size: 29px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .menu-button {
        font-size: 30px;
        width: 350px;
    }

    .menu-district {
        font-size: 30px;
        width: 350px;
    }

    .menu-icon {
        padding: 20px;
    }

        .menu-icon img {
            width: 120px !important;
            height: 100px !important;
        }

    .service-title h3 {
        font-size: 20px;
    }

    .info-form {
        width: 100%;
    }

    .info-label {
        font-size: 19px;
    }

    .bkk-logo {
        position: absolute;
        top: 0;
        left: 50%;
        width: 90%;
        min-width: 420px;
        transform: translateX(-50%);
        padding-top: 20px;
    }

        .bkk-logo img {
            width: 100%
        }

    #sum-info {
        width: 95% !important;
    }

        #sum-info td {
            width: 90px !important;
        }

    .login {
        width: 450px;
    }
}
