﻿@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');    
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');    
}

body {
    font-family: "Roboto";
    font-size: 13px;
    background: #f7f8f9;
}

:is(.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6) {
    font-family: Roboto,sans-serif;
}

.form-control{
    font-size:13px;
}

.form-select {
    font-size: 13px;
}

.navbar-menu .navbar-nav .nav-sm .nav-link {
    font-family: Roboto, sans-serif;
    padding: 5px 10px !important;
    background: #fafbfb;
    margin: 3px 0px;
    color: #7A8699;
    border-radius: 10px;
}

    .navbar-menu .navbar-nav .nav-sm .nav-link:hover {
        background: #e6f0ff;
    }
    .navbar-menu .navbar-nav .nav-sm .nav-link.active {        
        background: #e6f0ff;
    }

.spinner-border {
    display: none;
}

.error {
    color: #f06548;
}

ol a{
    font-weight:normal;
}

.badge{
    font-size:11px;
    cursor:pointer;
}

.card {
    border-radius: 20px;
}

.link-info, .link-secondary {
    font-weight: 500 !important;
    cursor: pointer;
}

.card-header {
    border-top: 1px solid #eee;
}

.auth-bg-cover{
    background:white;
}

.modal-header .card-title {
    font-size:20px;
    line-height:30px;
}

.modal-header.text-center{
    display:block;    
}

.modal-content .modal-header {
    background: #FAFBFB;
}

.modal-content .modal-body {
    background: #f7f8f9;
}

    .modal-body p {
        line-height: 30px;
    }


.navbar-menu {
    background-image: url(../images/menu.png);
    background-attachment: fixed;
    background-size: 220px 100%
}

form .btn, button.btn {
    /*min-width: 100px;*/
    border-radius: 8px;
}

.nav-tabs-custom{

}

    .nav-tabs-custom .nav-item .nav-link.active {
        color: #3577f1;
        background-color: transparent;
    }

        .nav-tabs-custom .nav-item .nav-link.active .bg-dark {
            background-color: rgba(var(--vz-secondary-rgb),var(--vz-bg-opacity)) !important;
            color: white;
        }

    .nav-tabs-custom .nav-item .nav-link .bg-dark {
        background: #eee !important;
        color: black;
    }

    .nav-tabs-custom .nav-item .nav-link::after {
        background-color: #3577f1;
    }

div.card .card-header {
    background: #e2eafa;
}

.dz-default.dz-message{
    display:none;
}

.form.disable {
    pointer-events: none;
}

    .form.disable .btn {
        --vz-btn-color: var(--vz-dark);
        --vz-btn-bg: var(--vz-dark-bg-subtle);
        --vz-btn-border-color: transparent;
        --vz-btn-hover-bg: var(--vz-dark);
        --vz-btn-hover-border-color: transparent;
        --vz-btn-focus-shadow-rgb: var(--vz-dark-rgb);
        --vz-btn-active-bg: var(--vz-dark);
        --vz-btn-active-border-color: transparent;
    }


.modal-backdrop.show{
    opacity:0.2;
}

.auth-pass-inputgroup input[type=text] + .btn .ri-eye-fill:before {
    content: "\ecb4" !important;
}

.auth-pass-inputgroup input[type=password] + .btn .ri-eye-fill:before {
    content: "\ecb6" !important;
}

.navbar-header {
    height: 48px;
    padding:inherit;
}

.page-content {
    padding: calc(35px + 1.5rem) calc(1.5rem* .0) 60px calc(1.5rem* .0);
}

.table-required > :not(caption) > * > * {
    padding: 0px;
}

.table-required th {
    padding: 10px 0px;
}

.table-space td {
    padding: 20px 0px;
}

.header-item{
    height:48px;
}

span.select2-selection.select2-selection--multiple {
    --vz-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--vz-body-color);
    background-color: var(--vz-input-bg-custom);
    background-image: var(--vz-form-select-bg-img), var(--vz-form-select-bg-icon,none);
    background-repeat: no-repeat;
    background-position: right calc(0.4rem) top calc(13px);
    background-size: 16px 12px;
    border: var(--vz-border-width) solid var(--vz-input-border-custom);
    border-radius: var(--vz-border-radius);
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.app-menu.navbar-menu{
    width:220px;
    border-right:0px;
}
:root[data-sidebar=dark] {
    --vz-vertical-menu-width: 220px;
}

/*Update 2024*/
:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-brand-box {
    background-color: #1761d6;
}

.table tr td{
    color: #505f79;
}

.table thead tr th {
    background: #266FFE;
    color: white;
    font-weight: normal;
    font-size: 15px;
    padding: 0px;
    height: 27px;
}

.table-responsive {
    border-radius: 20px;
}

.table thead tr td {
    background: #2B7FFF;
    color: #fff
}

.table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table td {
    border: 1px solid #F5F6F7;
}

.table-borderless > :not(caption) > * > * {
    border-bottom-width: 1px;
}

label.option {
    color: #12b959;
    background: #eafaf1;
    padding: 2px 7px;
    border-radius: 5px;
}

.dropzone {
    background: #fafafa;
}

.btn-finish {
    min-width: 100px;
    margin-left: 8px;
    background: #e7f8ee;
    color: black;
    border: 2px solid #12b959;
    text-transform: capitalize;
    padding: 5px 6px;
}
    .btn-finish:not(:disabled):hover {
        background: #12b959;
        color: #fff
    }

.nav-tabs-custom {
    border-bottom: none;
}

#page-topbar {
    background: #f7f8f9;
}

.page-title-box {
    padding: 9px 1.5rem;
    margin: -15px -1.5rem 0.4rem -1.5rem;
}

#back-to-top {
    min-width: initial;
}

.labelCount {
    position: absolute;
    bottom: 12px;
    right: -5px;
    background: #ff7f00;
    border-radius: 10px;
    height: 18px;
    color: white;
    width: 17px;
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    z-index:1000;
}

.card {
    box-shadow: 0 0px 2px rgba(56,65,74,.15);
    margin-bottom: 12px;
}

.bg_border {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 8px;
}

.form-select {
    padding: 0.5rem 1.3rem 0.5rem 0.4rem;
    background-position: right 0.15rem center;    
}

.dropzone {
    padding: 10px 10px;
}

.select_mini {
    padding: 1px 3px 1px 4px;
    width: 40px;
    border: 1px solid #ece0e0;
    border-radius: 6px;
}

.accordion-button .txtExpands {
    display: none !important;
}
.accordion-button .txtCollapse {
    display: flex !important;
    align-items: center;
}
.accordion-button.collapsed .txtExpands {
    display: flex !important;
    align-items: center;
}
.accordion-button.collapsed .txtCollapse {
    display: none !important;
}

.changecol .txtExpands.horizontal {
    display: none !important;
}
.changecol .txtCollapse.horizontal {
    display: block !important;
}
.changecol.active .txtExpands.horizontal {
    display: block !important;
}
.changecol.active .txtCollapse.horizontal {
    display: none !important;
}
.changecol.active .changecontent1{
    width:10%;
}
.changecol.active .changecontent2 {
    width: 90%;
}
.changecol.active .zoomout {
    display:none;
}
.changecol.active .zoomin {
    display: inline-table;
}
.changecol.active .col-6 {
    width:100%;
}
.changecol .zoomout {
    display: inline-table;
}
.changecol .zoomin {
    display: none;    
}
.card.draggable .zoomout {
    display: inline-table;
}
.card.draggable .zoomin {
    display: none;
}



.bg_select2 {
    height: 28px;
}

    .bg_select2 select {
        border-radius: 5px;
        border: 1px solid #ced4da;
        height: 28px;
        padding: 0px 9px;
    }
    .bg_select2 input.form-control {
        height: 28px;
        border: 1px solid #ced4da;
    }

    .bg_select2 span.select2-selection.select2-selection--single {
        height: 28px;
    }

    .bg_select2 .select2-container .select2-selection--single .select2-selection__rendered{
        height:28px;
        line-height:28px;
    }

    .bg_select2 span.select2-selection__arrow {
        height: 26px !important;
    }

.progress-label .progress-bar .label {
    background: #3577f1;
}

    .progress-label .progress-bar .label:after {
        border-top-color: #3577f1;
    }

.form-radio-outline .form-check-input:checked[type=radio]::before {
    top:0px;
}

.table > thead {
    vertical-align: middle;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #3577f1;
}

.dropdown_cus {
    box-shadow: none;
    width: 100%;
    border-radius: inherit;
    border-bottom: 1px solid rgb(221, 221, 221);
    padding: 0px;
}

.dropdown-item {
    cursor: pointer;
}

.dropdown_cus_btn {
    width: 100%;
    text-align: left;
    padding: 2px 22px 3px 9px;
    height: 27px;
    min-width: 100% !important;
    border: 1px solid #ddd;
    border-radius: 5px !important;
    background: white;
}
    .dropdown_cus_btn:hover {
        background: white;
    }

.form-select:focus {
    box-shadow: none;
}

.dropdown_cus_btn::after {
    position: absolute;
    right: 5px;
    top: 5px;
}

.select2-container .select2-search--inline .select2-search__field {
    font-family: 'Roboto';
    font-size: 14px;
    color: #212529;
    margin-left: 5px;
}

.nav-tabs-custom .nav-item .nav-link {
    padding: 7px 8px;
}

.cardbody_active:hover {
    box-shadow: 0px 0px 7px 0px #1080EC;
    border-radius: 10px;
}

#ScheduleTeacherMerge .extra {
    display:block;
}

#ScheduleTeacherMerge .collapse {
    display: none;
}

#ScheduleTeacherMerge.draggable .extra {
    display: none;
}

#ScheduleTeacherMerge.draggable .collapse {
    display: block;
}

.draggable {
    position: fixed;
    z-index: 100000;
    min-width: 45%;
    left: 2%;
    top: 60%;
    padding: 10px;
    border: 1px solid #aaa;
}

.dropzone-items .dropzone-item {
    margin-top: 20% !important;
}

.input-group-text.active {
    background: #2b7efb;
    color: white;
    border: 1px solid #2b7efb;
}

.menu-title {
    letter-spacing: .05em;
    cursor: default;
    font-size: 13px;
    text-transform: none;
    color: white;
    font-weight: normal;
}

.navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse]:after{
    right:5px;
}

.navbar-menu .navbar-nav .nav-link {
    padding: .625rem 0.2rem;
}

.group_subjectfirst {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-header {
    background-color: #1761d6;
}

#ScheduleSharePopup .modal-body {
    padding: 20px;
}

/* IPad */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .btn-finish{
        display:none !important;
    }
}

/* PC */
@media (min-width: 576px) {
    .d-sm-table {
        display: table-cell !important;
    }

    .d-sm-inline-table {
        display: inline-table !important
    }
}

/* Mobile */
@media (max-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }
    .card{
        border-radius:0px;
        box-shadow:none !important;
    }
    .cardbody_active {
        box-shadow: none !important;
    }

    #ScheduleSharePopup
    .modal-content {
        top: 10% !important;
        width: 92% !important;
        left: 4% !important;
    }

    .btn-finish {
        display: none !important;
    }
}

:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover > a.menu-link {
    background: #fafbfb;
}

:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover > a.menu-link {
    width: calc(185px + var(--vz-vertical-menu-width-sm));
}

    :is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover > .menu-dropdown {
        background: #fafbfb;
    }

:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover > .menu-dropdown {
    left: calc(-15px + var(--vz-vertical-menu-width-sm));
}

.rounded-15{
    border-radius:15px;
}

.bg_main {
    background: #fafbfb;
}

.simplebar-content-wrapper {
    padding-bottom: 50px !important;
    overflow:auto !important;
}

.row_tabhead {
    position: sticky;
    top: 48px;
    z-index: 1000;
}