/*
 default template css
*/

body {
    padding-bottom:56px;
}

/*******************************************************************************************/

/* Set padding to keep content from hitting the edges */

.body-content {
    position: relative;
    height: auto;
    min-height: -webkit-calc(100vh - 300px);
    min-height: -moz-calc(100vh - 300px);
    min-height: calc(100vh - 300px);
    padding: 4px 0;
}

.body-content-line {
    position: relative;
    height: auto;
    min-height: -webkit-calc(100vh);
    min-height: -moz-calc(100vh);
    min-height: calc(100vh);
    padding: 4px 0;
}

.body-content-bg-x {
    content: "";
    background-image: url('image/logo.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 5%;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.25;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
}


.gototop {
    width: 50px;
    height: 40px;
    padding-top: 8px;
    position: fixed;
    right: 20px;
    bottom: 80px;
    background-color: rgb(110 198 237);
    background-color: rgb(110 198 237);
    border: solid 1px transparent;
    border-radius: 0.25rem;
    text-align: center;
    cursor: pointer;
    display: none;
    z-index: 999;
}

.gototop:hover {
    color: #ac2925;
}

.bg-yellow,
.titlebar-yellow {
    background-color: rgb(255, 212, 85);
}

.bg-violet,
.titlebar-violet {
    background-color: rgb(136, 166, 255) !important;
}

.bg-violet,
.titlebar-violet {
    background-color: rgb(136, 166, 255) !important;
}

.bg-violet-light,
.titlebar-violet-light {
    background-color: rgb(213, 223, 255) !important;
}

.bg-violet-light2 {
    background-color: rgb(244, 239, 252) !important;
}

.bg-yellow-light,
.titlebar-yellow-light {
    background-color: rgb(255, 225, 136) !important;
}

.titlebar-green-light {
    background-color: rgb(243, 255, 194) !important;
}

.bg-green-light {
    background-color: rgb(239, 255, 251) !important;
}

.bg-orange {
    background-color: rgb(239, 195, 168) !important;
}

.bg-orange-light {
    background-color: rgb(251, 240, 233) !important;
}

.bg-red-strong {
    background-color: rgb(210, 0, 0) !important;
}

.bg-red-light {
    background-color: rgb(255, 58, 58) !important;
}

.bg-red-light2 {
    background-color: rgb(255, 135, 135) !important;
}

.text-orange {
    color: rgb(240, 124, 51) !important;
}

.text-violet {
    color: rgb(136, 166, 255) !important;
}

.text-red-light {
    color: rgb(255, 135, 135) !important;
}

.btn-red-light {
    background-color: rgb(255, 135, 135);
    border-color: rgb(255, 135, 135);
}

.btn-violet {
    /* color: rgb(242, 245, 239) !important; */
    background-color: rgb(136, 166, 255);
    border-color: rgb(136, 166, 255);
}

.btn-orange {
    /* color: rgb(146, 144, 142) !important; */
    background-color: rgb(239, 195, 168);
    border-color: rgb(239, 195, 168);
}

/*******************************************************************************************/

/* override */
.breadcrumb {
    background-color: rgb(245, 255, 243);
    background-color: rgba(245, 255, 243, 0.7) !important;
}

nav {
    min-height: 46px;
}

.navbar {
    padding: 0;
}

.navbar>dl,
ol,
ul {
    margin-top: 0;
}

.navbar .navbar-brand {
    margin-top: 0;
    font-weight: bold;
}

.navbar .navbar-brand:hover {
    color: #1dc116;
}

.navbar .navbar-brand img {
    margin-top: 0.1rem;
}

.navbar #navbar-right {
    margin: 0.25rem 0;
}

.navbar .dropdown-toggle::after {
    /*vertical-align: unset;*/
}

.navbar .dropdown-menu {
    /*    background-color: #f8d7da;
        margin: 0 2.70rem;*/
}

.navbar .dropdown-item:hover {
    background-color: rgb(245, 255, 243);
    background-color: rgba(245, 255, 243, 0.7);
    /*color: azure;*/
}

.nav-item a {
    color: #201e1e;
}

@media screen and (min-width: 992px) {
    .navbar {
        padding: 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 1em 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0 1em;
    }
}

.navbar .navbar-nav .nav-item {
    position: relative;
}

.navbar .navbar-nav .nav-item::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: "";
    background-color: black;
    width: 0%;
    height: 4px;
    transition: all 0.5s;
}

.navbar .navbar-nav .nav-item:hover::after {
    width: 100%;
}

.navbar .navbar-toggler .icon-bar {
    background: black !important;
}

.table td, .table th {
    vertical-align: middle;
}

.table-responsive {
    display: table;
}

.table-container {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 640px;
    overflow-x: auto;
    overflow-y: auto;
}

.table-container th {
    position: sticky;
    top: 0;
    z-index: 20;
}

.table-grid-data>tbody>tr>th:first-child {
    position: sticky;
    left: 0;
    top: 0;
}

.table-grid-data>tbody>tr>td:first-child {
    position: sticky;
    left: 0;
    background-color: #fff;
}


.main-text {
    top: 303px;
    left: 253.5258026123047px;
    text-align: center;
    font-family: Noto Sans Thai;
    font-weight: 400;
    line-height: normal;
    font-stretch: normal;
    text-decoration: none;
  }

.page-item.active .page-link {
    background-color: #6c757d;
    border-color: #6c757d;
}

.page-link {
    color: #6c757d;
}

.data-form-wraper {
    /* background-color: rgb(244, 251, 233); */
    /* background-color: rgba(244, 251, 233, 0.7); */
    background-color: rgb(255, 243, 245);
    background-color: rgba(255, 243, 245, 0.3);
}

.a-lst {
    color: inherit;
    text-decoration: none;
}

.a-lst:hover {
    color: inherit;
    text-decoration: none;
}

#list-data-pagination ul.pagination {
    padding: 0;
    margin-bottom: 0;
}

#list-data-pagination nav {
    min-height: 30px;
}

.error404 {
    height: 819px;
    background-image: url(/nu4apps/public/image/background/bg_error404.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain, cover;
}

.fieldset-1 {
    border: solid 2px lightsalmon;
    border-radius: 0.25rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
}

.fieldset-2 {
    border: solid 2px lightseagreen;
    border-radius: 0.25rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
}

.fieldset-1>legend,
.fieldset-2>legend {
    width: inherit;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.fieldset-3 {
    border: solid 1px lightsalmon;
    border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
}

.fieldset-4 {
    border: solid 1px lightseagreen;
    border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
}

.fieldset-3>legend,
.fieldset-4>legend {
    width: inherit;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1.1rem;
}

.fieldset-5 {
    border: none;
    padding-left: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
}

.fieldset-5>legend {
    width: inherit;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.fieldset-6 {
    border: none;
    padding-left: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
}

.fieldset-6>legend {
    width: inherit;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1rem;
}

fieldset>.table {
    margin-bottom: 0;
}

.nu-tab-content>.tab-pane {
    height: 560px;
    overflow-x: hidden;
    overflow-y: auto;
}

.visible-hidden {
    visibility: hidden;
}

.tbox-show {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-radius: 0.25rem;
    cursor: default;
}

.tbox-show:focus-visible {
    outline: none;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(53, 179, 238, 0.3);
}

.col-social {
    position: fixed;
    font-size: 32px;
    left: 35px;
    margin-top: -102px;
    z-index: 999;
    display: inline-block; /* กำหนดให้ลิงก์แสดงเป็นบล็อก */
}

/* CSS สำหรับโหมดโมบายแอพ */
/* @media only screen and (max-width: 600px) {
    .col-social {
        display: none; 
    }
} */