﻿@font-face {
    font-family: 'THSarabunPSK';
    src: url('../Font/THSarabunPSK.eot?#iefix') format('embedded-opentype'), url('../Font/THSarabunPSK.woff') format('woff'), url('../Font/THSarabunPSK.ttf') format('truetype'), url('../Font/THSarabunPSK.svg#THSarabunPSK') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'THSarabunPSK', sans-serif !important;
    padding-top: 60px;
    padding-bottom: 0px;
    position: relative;
    background: transperent;
    font-size: 22px;
    letter-spacing: 0.2px;
}

body.page-theme {
    background: #F9F9FF;
}

body.page-theme:before {
    position: absolute;
    content: '';
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../Image/page/theme-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}


/*--------------------------------------- 
    Text
---------------------------------------*/
p, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

p {
    margin-bottom:3px;
}
a {
    color: #484848;
    transition: all ease .3s;
}

a:hover {
    color: #6b0984 !important;
    text-decoration: none;
}

.text-red-b {
    color: #db3545;
    font-weight: bold;
}

.text-pink-b {
    color: #6b0984;
    font-weight: bold;
}

.text-green-b {
    color: #16a398;
    font-weight: bold;
}

button:focus {
    outline: 0px auto -webkit-focus-ring-color;
}

input:-webkit-autofill::first-line {
    font-family: 'THSarabunPSK', sans-serif;
    font-size: 22px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 20px;
    padding-right: 20px;
}

/* 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;
}


/*--------------------------------------- 
    Margin & Padding
---------------------------------------*/
.mt-30 {
    margin-top: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-5 {
    margin-top: 5px!important;
}

.mt-3 {
    margin-top: 3px !important;
}

.p-0 {
    padding: 0px;
}

/*--------------------------------------- 
    Layout
---------------------------------------*/
section {
    padding: 0px 0px 20px;
    height: auto;
}

.clear-none {
    clear: none;
    flex: none;
    float: left;
}

.item-middle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ul-nonestyle {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

ul.item-2-col li {
    width: 50%;
    padding: 1%;
    display: inline-block;
    float: left;
    clear: none;
}

ul.item-2-col li:nth-child(2n+1) {
    clear:left;
}

ul .item-3-col li {
    width: 33.33333333%;
    padding: 1%;
    display: inline-block;
    float: left;
    clear: none;
}

ul.item-4-col li {
    width: 25%;
    padding: 1%;
    display: inline-block;
    float: left;
    clear: none;
}

ul.item-5-col li {
    width: 20%;
    padding: 5px;
    display: inline-block;
    float: left;
}

/*--------------------------------------- 
    Image
---------------------------------------*/
.img-100 {
    width: 100%;
}

.img-icon {
    height: 20px;
    color: #fff;
}

.btn .img-icon {
    margin-top: -3px;
    margin-right: 5px;
}

/*--------------------------------------- 
    Button
---------------------------------------*/
.btn {
    font-size:22px;
    margin: 0px;
    min-width: 90px;
    border-radius: 5px!important;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
    border: none;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    padding: 4px 10px;
    letter-spacing:1px;
    cursor:pointer;
}
/*--- button theme ---------*/
.btn-main {
    background: #6b0984;
    color: #fff !important;
}

.btn-main:hover {
    background: #737373;
    color: #fff !important;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

.btn-main-border {
    background: #f1f1f1;
    color: #6b0984 !important;
    border: 1px solid #6b0984;
}
    .btn-main-border:hover {
        background: #ebd6f1;
        color: #6b0984 !important;
        border-color: #6b0984;
        box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    }
.btn-mini {
    box-shadow: none;
    width: 50px;
    height: 40px;
    min-width: 50px;
    margin: -2px 0px 0px 5px;
}
/*--- button Add ---------*/
.btn-add {
    background: #1bc5ba;
    color: #fff !important;
}

.btn-add:hover {
    background: #16a398;
    color: #fff !important;
}

/*--- button Import ---------*/
.btn-import {
    background: #3d85f1;
    width: auto;
    padding: 3px 10px;
    border: 2px solid #26a6d1;
    font-weight: bold;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
}
.btn-import:hover {
    background: #2166ce;
    border-color: #2166ce;
    color: #fff !important;
}

/*--- button Export ---------*/
.btn-export {
    background: #fff;
    width: auto;
    padding: 3px 10px;
    border: 2px solid #3d85f1;
    font-weight: bold;
    color: #3d85f1 !important;
    cursor: pointer;
    display: inline-block;
}
    .btn-export:hover {
        background: #aaa;
        border-color:#aaa;
        color: #fff !important;
    }

/*--- button Delete ---------*/
.btn-delete {
    background: #b92a2a;
    color: #fff !important;
}

.btn-delete:hover {
    background: #db3545;
    box-shadow: none;
    color: #fff !important;
}

/*--- button Edit ---------*/
.btn-edit {
    background: #eca12f;
    border: 2px solid #eca12f;
    color: #fff !important;
}

.btn-edit:hover {
    background: #ffb037;
    border-color: #ffb037;
    color: #fff !important;
}

/*--- button gray ---------*/
.btn-gray {
    background: #aaa;
    color: #fff !important;
}

.btn-gray:hover {
    background: #444;
    box-shadow: none;
    color: #fff !important;
}

.btn-delete img:hover {
    opacity: 1;
}

.btn-tools {
    display: inline-block;
    width: 33px;
    height: 30px;
    padding: 2px 0px 0px;
    border-radius: 10px;
    text-align: center;
    float: left;
    clear: none;
    margin-right: 2px;
}
.btn-tools.edit {
    background: #ffba5e;
}
.btn-tools.delete {
    background: #d23c3c;
}
.btn-tools.white {
    background: #fff;
}
.btn-tools.pink, .btn-tools.view {
    background: #6b0984;
}
.btn-tools:hover {
    background: #444;
}
.btn-main-border.btn-tools:hover {
    background: #ebd6f1;
}
/*--------------------------------------- 
    Form
---------------------------------------*/
        .frame-item.head-form {
    padding: 20px 15px 10px;
    border-radius: 0px 0px 10px 10px;
    min-height: 40px;
}
.frame-item.head-form h3 {
    color: #6b0984;
}
    .head-form {
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }
.head-form h3 {
    display:inline-block;
    margin:5px 0px;
}
.head-form .btn-group {
    float:right;
    margin-right:-5px;
    z-index:1;
}
.head-form .btn-group .btn{
    margin-right:5px;
}
.btn-item {
    text-align:right;
    padding-right:5px;
}
.sub-head h4 {
    color: #6b0984;
}
.form-group {
    padding:0px 5px;
    margin-bottom: 5px;
    position: relative;
}

.form-control {
    font-size: 22px;
    color: #495057;
    background-color: rgba(255,255,255,0.8);
    width: 100%;
    max-width: 100%;
    padding: 3px 5px;
    height: 38px;
}

.form-control:focus, .btn-outline-secondary:not(:disabled):not(.disabled):active:focus {
    color: #495057;
    background-color: #fff;
    border-color: #6b0984;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgb(216 129 238 / 60%);
}
.form-control[readonly] {
    background:#fff;
    cursor:auto;
    transition:all ease .3s;
}
.form-control[readonly]:focus, .form-control[readonly]:hover {
    border-color: #ced4da;
    background: #f5f5f5;
    box-shadow: none;
}
.btn-outline-secondary {
    color: #6c757d;
    border-color: #ccc;
}

    .btn-outline-secondary:not(:disabled):not(.disabled).active,
    .btn-outline-secondary:not(:disabled):not(.disabled):active,
    .show > .btn-outline-secondary.dropdown-toggle,
    .btn-outline-secondary:hover {
        color: #495057;
        background-color: #f7fafc;
        border-color: #b184dc;
    }

.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #6c757d;
    background-color: #f9f9f9;
    border-color: #eee;
}

.form-group label {
    font-weight: bold;
    margin-right: 8px;
    display:inline-block;
    margin-bottom:2px;
    padding:5px 0px;
}
.search-fill input{
    width:100%;
    max-width:100%;
}

.form-control.input-year {
    min-width: 78px;
}
.footer-form {
    border-top:1px solid #eee;
    text-align:center;
    margin-top:15px;
    padding:10px 15px 5px;
}
.action-layout {
    width: 98%;
    display: inline-block;
    text-align: center;
    background: #fff;
    padding: 10px 15px 15px;
    position: fixed;
    left: 1%;
    bottom: 0px;
    box-shadow: 0px -5px 10px rgb(0 0 0 / 10%);
    border-radius: 25px 25px 0px 0px;
    z-index: 1;
}

/*--------------------------------------- 
    Main-Layout
---------------------------------------*/
body.page-theme .container {
    width: 100% !important;
    max-width: 100%;
}

body.page-theme .body-content {
    min-height: calc(100vh - 60px);
    padding-bottom:35px;
}

/*------------------------------------ 
    Main Menu 
 ------------------------------------*/
.page-theme header {
    background: #fff;
    box-shadow: 3px 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height:62px;
    z-index: 1030;
    width: 100%;
}
.page-theme .nav-custom {
    padding:2px 0px;
}
.nav-custom .navbar-collapse {
    display:inline-block !important;
    float:right;
}
.page-theme .navbar-brand {
    padding:0px;
}
.page-theme .navbar-brand .logo {
    height: 55px;
}
.page-theme .navbar-nav {
    display: inline-block;
    float: left;
}
.page-theme .navbar-nav > li {
    display: inline-block;
    font-weight:bold;
    padding: 2px 14px 0px;
    text-align:center;
}
    .page-theme .navbar-nav > li a {
        padding: 0px !important;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        color: #646464;
    }
/*.page-theme .navbar-nav > li.active {
    color: #6b0984;
}
    .page-theme .navbar-nav > li.active a {
        color: #6b0984 !important;
        border-bottom: 3px solid #e793b4;
    }*/
.navbar-nav .nav-link:hover, .navbar-nav .active .nav-link {
    color: #8a47cb !important;
    border-bottom: 3px solid #8b48cb;
}

.page-theme header .menu-right {
    float: right;
    display: inline-block;
    padding: 10px 10px 0px;
}
.page-theme .menu-right > ul {
    margin-bottom:0px;
    padding-left:0px;
    height:32px;
}
.page-theme .menu-right > ul > li {
    display: inline-block;
    float: left;
}

.page-theme .menu-right .text-user-name {
    color: #8a47cb !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    /*display: -webkit-box;*/
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    width: 300px;
    margin-right: 8px;
    line-height: 18px;
    height: 36px;
}
.menu-right .menu-icon {   
    padding: 0px 5px;
    border-left: 1px solid #ccc;
}

    .menu-right .menu-icon span {
        color: #6b0984;
        padding: 0px 8px;
        font-size: 20px;
        font-weight: bold;
        background: #ffcf6d;
        border-radius: 10px;
        transition: all ease .3s;
    }
.menu-right .menu-icon span:hover {
    background: #ddd;
    color: #6b0984;
}



    .nav-custom .navbar-toggler {
        float: left;
    }

.navbar-toggler {
    background-color: #7951a1;
    border: none;
}
.navbar-toggler-icon {
    background-image:url('../Image/icon/menu-w.png');
}


/*Menu dropdown*/
.dropdown > .nav-link:after {
    content: '';
    position: absolute;
    background-image: url(../../Image/icon/down-arrow-g.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    top: 39%;
    height: 8px;
    width: 8px;
    z-index: 2;
    right: 2px;
}

.dropdown-menu {
    background-position: right bottom;
    background-repeat: no-repeat;
    min-width: 230px;
    top: 60px;
    background: rgba(255 255 255/ 98%);
    border: 0;
    color: #000;
    left: 3%;
    margin: 0;
    margin-top: -6px;
    border-radius: 0px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    padding: 0px;
    position: absolute;
    display: block;
    opacity: 0;
    font-size: 1.3rem;
    visibility: hidden;
    transition: all ease .3s;
    border: none;
}

.navbar-collapse > ul > li:not(.hover-active):hover > ul {
    opacity: 1;
    visibility: visible;
    animation: fade-in-out .3s ease;
    top: 45px;
}

.dropdown > .dropdown-menu > .nav-item {
    display: block;
    padding: 5px 10px;
    transition: all ease .1s;
}

.dropdown > .dropdown-menu .nav-item:hover {
    background: #e2d3e7;
    font-weight: bold;
}

.dropdown .dropdown-menu > .nav-item > a {
    padding: 6px 11px;
    display: block;
    font-weight: bold;
    color: #737373 !important;
    cursor: pointer;
}

    .dropdown .dropdown-menu > .nav-item > a:hover {
        color: #7b37bb !important;
    }
/*---------------------------------------
    Home Page
----------------------------------------*/
.frame-item {
    display: inline-block;
    width: 100%;
    background: rgba(255,255,255,1);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-height: 115px;
    padding: 10px 5px;
    /*overflow: hidden;*/
    z-index: 1;
    position: relative;
}
ul > li.menu-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: 1px solid #d8b9f5;
    border-radius: 8px;
    padding: 5px 15px;
    text-align: center;
    min-height: 60px;
    font-weight: bold;
    cursor: pointer;
    line-height:28px;
}
    ul > li.menu-item a:hover {
        box-shadow: 3px 3px 10px rgba(0,0,0,0.08);
        background: #e0d5e3;
    }

.frame-item h4.title {
    padding: 3px 0px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}
    .frame-item h4.title .btn-text {
        float: right;
        color: #8a47cb;
        font-size: 20px;
        display: inline-block;
    }
    .flatpickr-day {
    font-size: 22px;
}
span.flatpickr-weekday {
    font-size: 22px!important;
}

/*--- Tab Menu ---------*/
.tab-menu .collapse:not(.show) {
    display: block;
}

.tab-menu > ul > li {
    padding: 0px;
}

.tab-menu > ul > li > a.tab-link {
    display: inline-block;
    font-size:24px;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
    background: #dcdcdc;
    color:#898989;
    border: 1px solid #eee;
    border-bottom: none;
    position: relative;
    z-index: 0;
    margin-bottom: -2px;
    cursor: pointer;
    font-weight: bold;
    line-height:26px;
}

.tab-menu > ul > li > a.tab-link:hover {
    color: #de5d8f;
    background: #ececec;
}

.tab-menu > ul > li > a.tab-link.active {
    background: #fff;
    font-weight: bold;
    z-index: 2;
    border: none;
    color: #de5d8f;
    box-shadow: 0px -5px 5px rgba(0,0,0,0.04);
}

.tab-form {
    border-radius: 0px 8px 8px 8px;
}


/*---------------------------------------
    Table
----------------------------------------*/
table.dataTable {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.table td, .table th {
    padding: 0.2rem 0.4rem;
    border-top: none;
}
.table > thead th {
    border-bottom: 1px solid #dee2e6;
}
.table .thead-light th {
    background: #e0d5e3;
    color: #222;
}
.table tbody tr:nth-child(odd) {
    background: #fff;
}
.table tbody tr:nth-child(even) {
    background: #faf7fb;
}
.table-hover tbody tr:hover {
    font-weight:bold;
    background-color: rgba(0,0,0,.05);
}
.page-item.active .page-link {
    background-color: #7951a1;
    border-color: #7951a1;
}
.page-item.active .page-link:hover {
    color:#dddddd!important;
}
/*-------------Custom Table-------------*/
.search-group {
    padding: 0px 15px 0px;
}
.search-group .form-group {
    margin-bottom: 5px;
}
.search-group .button-search, .search-group .button-other {
    text-align: right;
}
.search-group .button-search {
    padding-right: 7%;
}
.search-result .topic {
    font-weight: bold;
    background: #e0d5e3;
    overflow: hidden;
    /*border-radius: 5px 5px 0px 0px;*/
    display: inline-block;
    width: 100%;
    color: #222;
    line-height: 26px;
    /*padding-right:11px;*/
}

.search-result .topic > table {
    overflow: hidden;
    /*border-radius: 5px 5px 0px 0px;*/
}

.search-result .topic td {
    padding: 5px 5px;
    vertical-align: text-top;
    /*text-align: center;*/
    border-bottom: 1px solid #dee2e6;
    height: 44px;
    line-height: 25px;
    vertical-align: middle;
}

.search-result .detail {
    text-align: left;
    max-height: 440px;
    overflow-y: auto;
    display: block;
    width: 100%;
    border-bottom: 1px solid #dee2e6;
    /*border: 1px solid #dee2e6;*/
    border-top: none;
    border-radius: 0px 0px 5px 5px;
    padding-top: 0px;
    line-height: 25px;
}

.search-result .detail td {
    padding: 7px 5px;
    border-top: none;
    word-break: break-word;
    vertical-align: top;
    /*border-bottom: 1px solid #eee;*/
    border-bottom:none;
}
.search-result .detail tr:nth-child(odd) {
    background: #ffffff;
}
    .search-result .detail tr:nth-child(even) {
        background: #faf7fb;
    }

.search-result .detail tr {
    cursor: pointer;
    transition: all ease .3s;
}

.search-result .detail tr:hover {
    background-color: rgb(224 213 227);
    font-weight: bold;
}

.topic td.tools, .detail td.tools, td.topic-tools, td.detail-tools {
    width: 88px;
    text-align: right;
}
.detail td.text-note {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-height:normal;
}
.layout-setting .topic.topic-mobile {
    display: none;
    width: 100%;
}

.search-group label {
    width: 80px;
    text-align: right;
}
.search-group .search-fill {
    width: calc(100% - 95px);
}
/*.search-group .first-col label {
    width: 24%;
    text-align: right;
}
.search-group .first-col .search-fill {
    width: 72%;
}*/

/*------------Table Pageinations------------*/
.search-result-footer {
    margin-top: 10px;
}
.search-result-footer .status-data p {
    font-size:20px;
    font-weight:bold;
    padding:0px 15px;
    color: #989898;
    letter-spacing:0.8px;
}
.search-result-footer .page-number {
    text-align: right;
}
.search-result-footer .pagination-sm .page-link, .three-dots > span {
    padding: 0px;
    width: 36px;
    text-align: center;
    line-height: 36px;
    border: none;
    font-size: 22px;
    font-weight: bold;
    border-radius: 5px !important;
    margin-right: 3px;
    color: #6b0984;
}
.three-dots > span {
    width: 15px;
    display: inline-block;
    font-size:25px;
}
.search-result-footer .pagination-sm .page-item:first-child .page-link, .pagination-sm .page-item:last-child .page-link {
    font-size:32px;
}
.search-result-footer .page-number .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #6b0984;
    border-color: none;
}
.search-result-footer .page-number .page-item.active .page-link:hover {
    color:#fff!important;
}

.status {
    color: #898989;
}
.status.green {
    color: #1BBE00;
}
.status.red {
    color: #E86868;
}

/*--- Form ---------*/
    .form-page .frame-item label {
    font-weight: bold;
    margin-bottom: 2px;
}

.form-page .fill-name {
    width: 98px;
    padding: 7px 0px 7px 10px;
    font-weight: bold;
    float: left;
    clear: none;
    text-align: right;
}

.form-page .fill {
    width: calc(100% - 98px);
    padding: 0px 10px;
    float: left;
    clear: none;
}

.width-auto .fill-name, .width-auto .fill {
    min-width: 30px;
    width: auto;
    display: inline-block;
}

.width-auto .fill {
    min-width: calc(100% - 30px);
}

.form-inline-block td.label{
    font-weight:bold;
    text-align:right;
    padding:0px 8px;
    line-height:24px;
}
ul.add-list > li {
    position:relative;
}
ul.add-list > li .btn-tools {
    position: absolute;
    bottom: 6px;
    right: 5px;
    cursor:pointer;
}
ul.add-list > li {
    padding: 15px 5px 40px 5px;
    border-radius: 10px;
}
ul.add-list > li:nth-child(odd) {
    background: #fff;
}
ul.add-list > li:nth-child(even) {
    background: #eee;
}
.form-inline-block td.input > .form-control {
    margin-bottom: 8px;
}
/*------------Checkbox Style-----------*/
.checkbox-group .check-custom {
    position:relative;
    padding-left:30px;
}
input[type="checkbox"].checkbox {
    position: absolute;
    top: 5px;
    left: 0px;
    height: 20px;
    width: 20px;
    opacity: 0;
    z-index: 1;
}

.checkboxmark {
    width: 20px;
    height: 20px;
    background: #DEDEDE;
    border: 1px solid #ccc;
    border-radius: 5px;
    top: 9px;
    left:0px;
    display: inline-block;
    position: absolute;
}

/*.checkboxmark img {
    display: none;
    height: 16px;
    margin: 1px auto 0px;
}*/

.checkbox-group label .checkboxmark:before {
    position: absolute;
    content: '';
    background-image: url('../Image/icon/check-w.png');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    width: 20px;
    height: 20px;
    left: 0px;
    top: -1px;
    z-index: 1;
}

.checkbox-group label .checkboxmark:after {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 0px;
    top: -1px;
    border-radius: 5px;
}

input[type="checkbox"]:checked.checkbox ~ label .checkboxmark:after,
input[type="checkbox"]:checked.checkbox ~ label .checkboxmark:before {
    display: block;
}

input[type="checkbox"]:checked.checkbox ~ label .checkboxmark:after {
    background: #8b48cb;
    border: 1px solid #8b48cb;
}

/*------------Radio Style-----------*/
.radio {
    display: table;
    margin: 0 auto;
    line-height: 20px;
}

    .radio input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

    .radio label span.img-circle {
        width: 22px;
        height: 22px;
        background: #f1f1f1;
        border: 1px solid #ccc;
        border-radius: 50%;
        margin-top: 3px;
        display: inline-block;
        position: relative;
    }

    .radio label {
        margin-bottom: 0px;
        cursor: pointer;
    }

        .radio label span.img-circle:before {
            position: absolute;
            content: '';
            background-image: url('../Image/icon/check-w.png');
            background-size: 14px;
            background-repeat: no-repeat;
            background-position: center;
            display: none;
            width: 22px;
            height: 22px;
            left: 0px;
            top: 0px;
            z-index: 1;
        }

        .radio label span.img-circle:after {
            content: "";
            position: absolute;
            height: 24px;
            width: 24px;
            left: -1px;
            top: -1px;
            border-radius: 50%;
        }

    .radio input[type="radio"]:checked ~ label span.img-circle:after,
    .radio input[type="radio"]:checked ~ label span.img-circle:before {
        display: block;
    }

    .radio input[type="radio"]:checked ~ label span.img-circle:after {
        background: #8b48cb;
        border: 1px solid #8b48cb;
    }

    .radio label p.show-m {
        margin-bottom: 0px;
        display: none;
    }

.limit-view {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 545px;
    position: relative;
    padding-top: 8px;
    border-radius: 10px;
}

/*Home News*/
.news-group .news-item .news-img {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    transition: all ease .5s;
}
.news-group .news-item a .news-img img {
    transition: all ease .5s;
}
.news-group .news-item a:hover .news-img img {
    transform:scale(1.1);
}
.news-group .news-item a:hover .news-img {
    box-shadow: 10px 10px 10px rgba(0 0 0 /15%);
}

/* Modal*/
.modal-full {
    max-width: 90%;
    padding: 0px 40px;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}
h4.modal-title {
    display: inline-block;
}
.modal-body {
    display: inline-block;
    width:100%;
}
.modal-body .col-form-label {
    font-weight:bold;
}
.modal-footer {
    padding: 8px 15px;
}
.alert-img img {
    height: 120px;
    margin-bottom: 30px;
}

/*------------- Page Error-------------*/
.frame-error {
    position: relative;
    height: auto;
    margin:0px;
    padding-top:0px;
    height:100vh;
}
body.frame-error:before {
    position: absolute;
    content: '';
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../Image/page/theme-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}
.frame-error section.layout {
    min-height: calc(100vh - 38px);
}

.error_detail {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -55%);
    width: 100%;
}

    .error_detail .number {
        font-size: 70px;
        font-weight: bold;
    }

    .error_detail .textgroup .number {
        font-size: 100px;
        line-height: normal;
        font-weight: bold;
        color: #6b0984;
    }

    .error_detail .textgroup .text {
        line-height: 40px;
        color: #6b0984;
        font-weight: bold;
        font-size:28px;
    }

        .error_detail .textgroup .text.header-margin {
            margin-top: 10px;
            margin-bottom: 25px;
        }

    .error_detail .textgroup .btn-theme {
        margin-bottom: 12px;
    }

/*---------------------------------------
    Atteach
----------------------------------------*/
.atteach-box {
    display:inline-block;
    width:100%;
    position:relative;
}
.atteach-box input {
    padding-right:30px;
}
.atteach-box > .btn-tools {
    position:absolute;
    bottom: auto !important;
    top: 2px !important;
    right: 0px !important;
    padding: 0px;
    opacity:.4;
    z-index:1;
}
.atteach-box > .btn-tools:hover {
    background: transparent;
    opacity:1;
}

/*----------Example-table---------*/
.search-result.example-table {
    overflow-x: hidden;
}
.search-result.example-table table {
    width: 100%; 
}
.search-result.example-table .topic.topic-mobile {
    display: none;
    width:100%;
}
.search-result.example-table .topic-tools, .search-result.example-table .detail-tools {
    width: 55px;
}
.search-result.example-table .topic-no, .search-result.example-table .detail-no {
    width:4%;
}
.search-result.example-table .topic-title, .search-result.example-table .detail-title {
    width: 50%;
}
.search-result.example-table .topic-download, .search-result.example-table .detail-download {
    width:auto;
}
.search-result.example-table .topic-schema, .search-result.example-table .detail-schema {
    width: 18%;
}
.search-result.example-table .topic-datestart, .search-result.example-table .detail-datestart {
    width: 15%;
}
.search-result.example-table .topic-dateend, .search-result.example-table .detail-dateend {
    width: 15%;
}
.search-result.example-table td.detail-schema .btn-tools {
    background: #f2b500;
}
.search-result.example-table .show-m {
    display:none;
}
/*---------------------------------------
Footer
----------------------------------------*/
    footer {
        background: rgb(255 255 255 / 60%);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        padding: 5px 30px;
        text-align: right;
        position: absolute;
        bottom: 0px;
        width: 100%;
    }
footer p {
    line-height:normal;
    font-size: 16px;
    color: #aaa;
    margin: 0px;
}

/*--- go on top ---------*/
.btnGoTop {
    border-style: solid;
    border-radius: 8px;
    padding: 4px 7px 10px 7px;
    border-color: transparent;
    opacity: .5;
    background: #6b0984;
    margin-bottom: 12px;
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    height: 35px;
    width: 35px;
    box-shadow: 5px 5px 10px rgb(0 0 0 / .2);
    transition: all ease 0.3s;
    text-align: center;
    overflow: hidden;
}

    .btnGoTop i {
        position: absolute;
        left: 10px;
        top: 8px;
        font-size: 22px;
        color: #fff;
    }

    .btnGoTop:before {
        content: '';
        position: absolute;
        background: #6b0984;
        height: 0;
        width: 100%;
        left: 0px;
        top: 100px;
        transition: all ease .3s;
        opacity: 0;
    }

    .btnGoTop:hover {
        opacity: .95;
    }

        .btnGoTop:hover:before {
            top: 0px;
            height: 100%;
            opacity: 1;
        }

/*--------Dropzone--------*/
.dropzone {
    border: 2px dashed #FF8097 !important;
    border-radius: 10px;
    background: #F9F9F9 !important;
}
.dropzone .dz-message {
    margin:1.5em 0 !important;
}
.dz-message h3 {
    color: #FF8097;
}

/*--------Atteach File--------*/
.atteach-file .atteach-file-border {
    border: 1px solid #ffd2db;
    border-radius: 8px;
    padding:5px 5px 0px;
}
.atteach-file .item-list {
    padding: 6px 50px 6px 6px;
    background: #f7dcdb;
    border-radius: 8px;
    position: relative;
    margin-bottom: 8px;
}
.atteach-file .item-list .li-on {
    font-weight:bold;
}
.atteach-file .item-list .btn-delete {
    position: absolute;
    right: 3px;
    top: 6px;
    padding: 0px 5px;
    cursor: pointer;
    border-radius:5px;
}
.atteach-file .item-list .btn-delete img{
    height:18px;
}
/*.atteach-file .item-list .btn-delete:hover img {
    opacity:1;
}*/


.manual-group {
}
    .manual-group .manual-box {
        width: 100%;
        background: rgba(255,255,255,1);
        box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
        border-radius: 8px;
        display: inline-block;
        padding: 12px;
        position: relative;
        border: 1px solid #c5a6ce;
        margin-bottom: 10px;
    }
    .manual-group .manual-box::before {
        content: '';
        position: absolute;
        background: #6b0984;
        height: 100%;
        width: 12px;
        left: 0px;
        top: 0px;
        border-radius: 8px 0px 0px 8px;
    }
        .manual-group .manual-box:hover {
            box-shadow: 3px 3px 10px rgb(0 0 0 / 8%);
            background: #eae1ec;
            border: 1px solid #6b0984;
        }
.manual-group .manual-box img {
    position:absolute;
    left:22px;
    top:10px;
}
.manual-group .manual-box p {
    padding-left:65px;
    font-weight:bold;
}

/*--------------------------------------------------------
    Start: Responsive
----------------------------------------------------------*/
        @media (max-width: 1199px) and (min-height: 769px) {
        }

        @media (max-width: 1199px) and (max-height: 769px) {
        }

        @media (max-width: 1199px) {
            .navbar .full-width.container {
                padding: 0px;
            }

            a.navbar-brand {
                position: absolute;
                top: 3px;
                left: 100px;
            }

            .navbar-brand img.logo {
                height: 45px;
            }

            .navbar-expand-sm .navbar-toggler {
                display: inline-block;
                margin: 12px 0px 0px 15px;
            }

            .navbar-expand-sm .navbar-collapse {
                background: #fff;
                width: 100%;
                z-index: 999;
                left: 0px;
                position: absolute;
                top: 62px;
                box-shadow: 0px 6px 6px rgb(0 0 0 / 8%);
                border-top: 1px solid#f0dff5;
            }

            .collapse:not(.show) {
                display: none !important;
            }

            .navbar-nav {
                width: 100%;
            }

            .page-theme .navbar-nav > li {
                margin: 0px;
                width: 100%;
                display: block;
                padding: 0px;
                text-align: left;
                border-bottom: 1px solid #f0dff5;
            }

                .page-theme .navbar-nav > li a {
                    padding: 6px 15px !important;
                }

            .navbar-nav li.nav-item.active {
                color: #fff;
                background: #7951a1 !important;
            }

            .navbar-nav li.active .nav-link {
                color: #fff !important;
                border: none;
            }

            .navbar .navbar-nav .dropdown-menu {
                position: relative;
                display: none;
                top: 0px !important;
                width: 100%;
                left: 0px;
            }

            .navbar .navbar-nav > li.dropdown.hover-active > ul {
                display: block;
                visibility: visible;
                opacity: 1;
                box-shadow: none;
            }

            .dropdown > .nav-link:after {
                top: 19px;
                right: 6px;
            }

            .navbar-nav .nav-item:hover, .navbar .navbar-nav > li.dropdown.hover-active {
                color: #6b0984 !important;
                background: #e0d5e3;
            }

            .dropdown > .dropdown-menu > .nav-item {
                padding: 0px;
            }

            .dropdown .dropdown-menu > .nav-item > a {
                border-bottom: 1px solid #eeeeee;
                padding-left: 23px !important;
            }


            .search-result {
                overflow: hidden;
                overflow-x: scroll;
            }

                .search-result table {
                    width: 1399px;
                    direction: ltr;
                }

                .search-result .detail, .search-result .topic {
                    direction: rtl;
                }

            .tab-list.collapse {
                display: inline-block !important;
                width: 100%;
                margin-bottom: -12px;
            }

                .tab-list.collapse > li {
                    width: 33.33333333%;
                }

                    .tab-list.collapse > li:nth-child(4), .tab-list.collapse > li:nth-child(5) {
                        display: none;
                    }
        }

        @media (max-width: 991px) {
            ul.item-3-col > li {
                width: 100%;
            }

            ul.item-5-col > li {
                width: 33.33333333%;
            }

            .page-theme .menu-right .text-user-name {
                width: 200px;
            }

            .head-form .btn-group {
                float: right;
                margin-right: -10px;
            }

            .form-inline-block td.label, .form-inline-block td.input {
                width: 100% !important;
                display: inline-block;
                text-align: left;
            }

            .sub-head {
                max-width: 100%;
                flex: none;
                padding-left: 5px;
            }

            .search-group label, .search-group .first-col label, .search-group .first-col .search-fill, .search-group .search-fill {
                width: 100%;
                text-align: left;
            }
        }
        /* iPad*/
        @media (max-width: 769px) {
            ul.item-5-col li {
                width: 50%;
            }
        }

        @media (max-width: 769px) and (max-height: 481px) {
        }

        @media (max-width: 767px) {
            /*.navbar .menu-right .menu-icon span {
        display: none;
    }*/
            .modal-full {
                max-width: 100%;
                padding: 0px 15px;
            }

            .search-result-footer .status-data, .search-result-footer .page-number {
                text-align: center;
            }

                .search-result-footer .status-data p {
                    margin-bottom: 0px;
                }

            .search-result-footer .page-number {
                margin-bottom: 15px;
            }

            div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
                text-align: left;
            }

            /*----------Example-table---------*/
            .search-result.example-table table .topic {
                display: none;
            }

            .search-result.example-table .topic.topic-mobile {
                display: inline-block;
                font-size: 20px;
            }

            .search-result.example-table .topic td, .search-result.example-table .detail td {
                width: 100%;
                display: inline-block;
                border-bottom: none;
            }

            .search-result.example-table .detail tr {
                /*background:#f7d8e4;*/
                border-bottom: 1px solid #5f5759;
            }

            .search-result.example-table td.topic-tools, .search-result.example-table td.detail-tools {
                width: 50px;
            }

            .search-result.example-table td.topic-no, .search-result.example-table td.detail-no {
                width: 30px;
            }

            .search-result.example-table td.topic-title, .search-result.example-table td.detail-title {
                width: calc(100% - 80px);
            }

            .search-result.example-table td.topic-download, .search-result.example-table td.detail-download {
                width: 50%;
                padding: 15px 5px 20px;
                float: right;
            }

            .search-result.example-table td.topic-schema, .search-result.example-table td.detail-schema {
                width: 50%;
                padding: 15px 5px 20px;
                float: left;
            }

                .search-result.example-table td.detail-download .btn-tools, .search-result.example-table td.detail-schema .btn-tools {
                    width: 100%;
                    padding: 3px 5px;
                }

            .search-result.example-table .show-m {
                display: inline-block;
            }
        }
        /* Smartphone*/
        @media (max-width: 569px) {
            ul.item-5-col > li {
                width: 100%;
            }

            ul.item-2-col li:nth-child(2n+1) {
                clear: left;
            }

            ul > li.menu-item a {
                padding: 5px;
                line-height: 28px;
            }
        }

        @media (max-width: 481px) {
            .btn {
                min-width: 90px;
            }

            .btn-mini {
                min-width: 40px;
            }

            .page-theme header {
                height: 60px;
            }

            a.navbar-brand {
                left: 85px;
            }

            .page-theme .navbar-brand .logo {
                height: 46px;
            }

            .navbar-expand-sm .navbar-collapse {
                top: 59px;
            }

            .page-theme .menu-right .text-user-name {
                max-width: 100px;
            }

            .form-group label {
                width: 100%;
            }

            .search-fill input {
                width: 100%;
            }

            .tab-list.collapse > li {
                width: 50%;
            }

                .tab-list.collapse > li:nth-child(3) {
                    display: none;
                }
        }

        @media (max-width: 414px) {
        }
        /* iPhone6*/
        @media (max-width: 376px) {
            .search-result-footer .status-data {
                padding: 0px;
            }

                .search-result-footer .status-data p {
                    padding: 0px;
                }
        }
        /* iPhone4,5*/
        @media (max-width: 321px) {
            a.navbar-brand {
                display: none;
            }
        }
        /*--------------------------------------------------------
    End: Responsive
----------------------------------------------------------*/

        html {
    scroll-behavior: smooth;
}

.custom-scrollbar-css::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar-css::-webkit-scrollbar {
    height: 6px;
}

.custom-scrollbar-css::-webkit-scrollbar-track {
    background: #e3e3e3;
}

.custom-scrollbar-css::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background-color: #737373;
}

.loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 100;
    text-align: center;
    display: none;
}

.loading:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    background-image: url('/Image/loader.svg');
    background-position: 50% 47%;
    background-size: 80px;
    background-repeat: no-repeat;
}

.loading-text {
    position: absolute;
    top: 54%;
    left: 0px;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

input:-webkit-autofill::first-line {
    font-size:22px;
}




/* -------- Footer Search --------- */
.footer-search {
    padding: 15px 30px 0px;
}

    .footer-search .status-data p {
        font-weight: bold;
        font-size: 18px;
        color: #737373;
    }

    .footer-search .page-number {
        text-align: right;
    }

        .footer-search .page-number ul {
            display: inline-block;
        }

            .footer-search .page-number ul li {
                float: left;
                text-align: center;
                width: 35px;
                height: 35px;
                /* border: 1px solid #c6d8ff; */
                display: flex;
                justify-content: center;
                align-items: center;
                overflow: hidden;
                cursor: pointer;
                border-right: none;
                border-radius: 5px;
                margin: 0px 1px;
            }

                .footer-search .page-number ul li a {
                    color: #737373;
                    font-weight: bold;
                    width: 100%;
                }

                .footer-search .page-number ul li:nth-child(2) {
                    border-left: none;
                }

                .footer-search .page-number ul li:first-child, .footer-search .page-number ul li.PagedList-skipToPrevious {
                    /*border-radius: 30px 0px 0px 30px;*/
                    border: none;
                    font-weight: bold;
                    margin-right: 8px;
                }

                .footer-search .page-number ul li:last-child, .footer-search .page-number ul li.PagedList-skipToNext {
                    /*border-radius: 0px 30px 30px 0px;*/
                    border: none;
                    font-weight: bold;
                    margin-left: 8px;
                }

                    .footer-search .page-number ul li.PagedList-skipToPrevious a, .footer-search .page-number ul li.PagedList-skipToNext a {
                        color: #8b48cb;
                        font-size: 28px;
                    }

li.PagedList-skipToLast {
    border: none !important;
    /* background: #a5bef3; */
    border-radius: 50% !important;
    margin-left: 5px;
    font-weight: bold;
}

li.PagedList-skipToFirst {
    border: none !important;
    /* background: #a5bef3; */
    border-radius: 50% !important;
    margin-right: 5px;
    font-weight: bold;
}

.footer-search .page-number ul li span {
    display: inline-block;
    width: 100%;
    height: 35px;
    line-height: 35px;
    color: #8b48cb;
    font-weight: bold;
    transition: all ease .3s
}

.footer-search .page-number ul li:hover span, .footer-search .page-number ul li:focus span, .footer-search .page-number ul li:active span, .footer-search .page-number ul li.active span, .footer-search .page-number ul li:hover, .footer-search .page-number ul li:focus, .footer-search .page-number ul li:active, .footer-search .page-number ul li.active {
    background: #a976da;
    color: #fff;
}

    .footer-search .page-number ul li:hover a, .footer-search .page-number ul li:focus a, .footer-search .page-number ul li:active a, .footer-search .page-number ul li.active a {
        color: #fff;
    }

.footer-search .page-number ul li span.btn-arrow i, li.PagedList-skipToPrevious, li.PagedList-skipToNext {
    /* background: #a5bef3; */
    color: #fe9800;
    transition: all ease .3s;
    font-size: 38px;
}

.footer-search .page-number ul li span.btn-arrow img {
    margin-top: -2px;
}

.footer-search .page-number ul li.previous:hover,
.footer-search .page-number ul li.previous:focus,
.footer-search .page-number ul li.previous:active,
.footer-search .page-number ul li.next:hover,
.footer-search .page-number ul li.next:focus,
.footer-search .page-number ul li.next:active,
.footer-search .page-number ul li.previous:hover span,
.footer-search .page-number ul li.previous:focus span,
.footer-search .page-number ul li.previous:active span
.footer-search .page-number ul li.next:hover span,
.footer-search .page-number ul li.next:focus span,
.footer-search .page-number ul li.next:active span,
li.PagedList-skipToPrevious:hover,
li.PagedList-skipToNext:hover,
li.PagedList-skipToLast:hover,
li.PagedList-skipToFirst:hover {
    background: #ebd6f1 !important;
    color: #737373 !important;
}

    li.PagedList-skipToPrevious:hover a,
    li.PagedList-skipToNext:hover a {
        color: #737373 !important;
    }

.table-scroll {
    overflow-x: scroll;
}

    .table-scroll table {
        min-width: 1200px;
        direction: ltr;
    }


.search-result .table-scroll .detail, .search-result .table-scroll .topic {
    direction: rtl;
}

/* DataTable Pagination Button */
.paginate_button {
    font-weight: bold;
}

.paginate_button.previous a, .paginate_button.next a {
    color: #8b48cb !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
/*------------------------------------------ 
    End: Search & Table Style
--------------------------------------------*/