/*
 default template css
*/

body {
    padding-bottom: 0;
}

/*******************************************************************************************/

/* Set padding to keep content from hitting the edges */
a:link {
    text-decoration: none;
}

.body-content {
    position: relative;
    height: auto;
    min-height: -webkit-calc(100vh - 70px);
    min-height: -moz-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    padding: 4px 0;
    padding-top: 50px;
    padding-bottom: 64px;
}

.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;
    left: 0;
    bottom: 0;
    z-index: 999;
}

.gototop {
    width: 50px;
    height: 40px;
    padding-top: 8px;
    position: fixed;
    right: 20px;
    bottom: 80px;
    background-color: rgb(103, 116, 227);
    background-color: rgba(103, 116, 227, 0.5);
    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;*/
}

.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;
}

.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;
}

.button {
    position: relative;
    height: 36px;
    padding: 0 2rem;
    margin: 1px 0px 0px 0px;
    border-radius: 0px 5px 5px 0px;
    background: #3d3a4e;
    color: #fff;
    border: none;
}

.button:hover::before {
    transform: scaleX(1);
}

.button-content {
    position: relative;
    z-index: 1;
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(82.3deg,
            rgba(150, 93, 233, 1) 10.8%,
            rgba(99, 88, 238, 1) 94.3%);
    transition: all 0.475s;
}

.btn-style {
    position: relative;
    padding: 3px;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid rgb(0 0 0 / 0%);
    border-radius: 0px 11px;
    overflow: hidden;
}

.btn-style:hover {
    border-color: #a0c3ff;
    color: #234e52;
    background-color: #a0c3ff;
}

.btn-style::before {
    position: absolute;
    content: '';
    width: 3rem;
    height: 3rem;
    top: 0.625rem;
    right: -0.0625rem;
    background-color: #93c5fd;
    border-radius: 50%;
    box-shadow: 0.625rem 0.625rem 0.625rem 0.9375rem rgba(162, 28, 175, 0.5);
    z-index: 10;
    filter: blur(0.5rem);
    transition-duration: 0.5s;
}

.btn-style::after {
    position: absolute;
    content: '';
    width: 5rem;
    height: 5rem;
    top: 0.9375rem;
    right: 2rem;
    background-color: #0891b2;
    border-radius: 50%;
    z-index: 10;
    filter: blur(0.5rem);
    transition-duration: 0.5s;
}

.btn-style:hover::after {
    top: 0.1875rem;
    right: -0.125rem;
    transform: scale(1.5);
}

/* ------------------------------------login View --------------------------------------------------------- */

.eye-password {
    text-align: center;
    float: right;
    width: 2em;
    margin-top: -28px;
    color: #327A97 !important;
    font-size: 20px;
}

.fa-toggle-on:before {
    content: "\f205";
    color: #28a745;
    font-size: 20px;
}

/* ------------------------------------End login View ------------------------------------------------------ */


/* ------------------------------------Change Password View ------------------------------------------------ */

.fa-toggle-off:before {
    font-size: 20px;
}

.btn_changepwd {
    padding: 6px 13px 0px 15px;
    background-color: #99e6e9;
    border: 2px solid rgb(0 0 0 / 0%);
    overflow: hidden;
}

button:focus {
    outline: none;
    border-color: transparent;
}

.change-password {
    position: fixed;
    color: #dd3949;
    margin: -29px 0px 0px 409px
}

/* ------------------------------------End Change Password View --------------------------------------------- */

.btn-warning-m {
    color: #212529 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-danger-m {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* ตารางบรรทัดที่1เทา บรรทัดที่2ขาว */
.table-striped-m tbody tr:nth-of-type(odd) {
    background-color: #FFFCFC;
}

.table-striped-m tbody tr:nth-of-type(even) {
    background-color: #F2EFEF;
}

/*end ตารางบรรทัดที่1เทา บรรทัดที่2ขาว */

.bg_body {
    /* background: linear-gradient(180deg, #FFF 0%, #D6EEF8 100%); */
    background: linear-gradient(180deg, #FFF 50%, #D6EEF8 100%);
}

.bg_blue_tem_m {
    background: #9DCDE0;
}

.navbar-brand {
    color: #4e4e4e;
}

.gb_login_blue {
    width: 334px;
    height: 442px;
}

.bg_btn_select_all {
    background-color: #327A97 !important;
    color: #fff !important;
}

.bg_color_blue {
    background: #9DCDE0 !important;
}

.border_radius_left {
    border-radius: 10px 0px 0px 10px;
}

.border_radius_left_20 {
    border-radius: 20px 0px 0px 20px;
}

.border_radius_right {
    border-radius: 0px 10px 10px 0px;
}

.border_radius_right_20 {
    border-radius: 0px 20px 20px 0px;
}

.circle_100px {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jus_cir {
    position: absolute;
    left: 745px;
    top: 90px;
    z-index: 1;
}

.text-welcome {
    color: #000;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    text-transform: capitalize;
    /* padding-top: 60px; */
}

.btn_style_blue {
    margin-top: 35px;
    color: #fff;
    background: #327A97;
}

.btn_reset_password {
    width: 45px;
    height: 35px;
    border-radius: 30px 0px 0px 30px;
    background: #000;
    color: #fff;
}

.btn_log_out {
    color: #fff;
    border-radius: 0px 30px 30px 0px;
    width: 131px;
    height: 35px;
}

.btn-group-m {
    display: flex;
    gap: 0;
}

.breadcrumb {
    background-color: #D5E7F0 !important;
    /* background-color: rgba(245, 255, 243, 0.7) !important; */
}

.btn_tool_blue_m {
    border: 2px solid #327A97;
    background: #E7F5FB;
}

.btn_select_all_blue {
    background-color: #327A97 !important;
    color: #fff !important;
}

.btn_card_blue {
    border: 2px solid #327A97;
    background: #E7F5FB;
}

.radius-left {
    border-radius: 50px 0px 0px 50px !important;
}

.radius-right {
    border-radius: 0px 50px 50px 0px !important;
}

.input_search_blue {
    color: #9DCDE0 !important;
    border: 2px solid #327A97;
    background: #E7F5FB;
}

.circle_tool {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.bg-table-shadow {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.bg_head_table_blue {
    background: #9DCDE0;
}

.btn-radius-download {
    border-radius: 30px;
}

.btn-block {
    background-color: #327A97;
    color: #fff;
}

.head_card {
    background-color: #9DCDE0;
}

.border_color_serach {
    border: 1px solid #327A97 !important;
}

.btn_reset_serach_tool {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    color: #fff !important;
    /* border-radius: 0px 20px 20px 0px !important; */
}

.btn_serach_tool {
    background-color: #28a745 !important;
    border: 1px solid #28a745 !important;
    color: #fff !important;
}

.btn_advance_search {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #ffc107 !important;
    border: 1px solid #ffc107 !important;
    color: #212529 !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}

.btn_sort_tool {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #007bff !important;
    border: 1px solid #007bff !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}

.btn_add_tool {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #28a745 !important;
    border: 1px solid #28a745 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}

.btn_print_tool {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #17a2b8 !important;
    border: 1px solid #17a2b8 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}

.btn_export_tool {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}

.btn-list-active {
    background-color: #327A97 !important;
    color: #000000 !important;
}

.btn-list {
    background-color: #E7F5FB !important;
    border: 1px solid #327A97 !important;
    color: #000000 !important;
}

.btn-card-active {
    background-color: #327A97 !important;
    color: #000000 !important;
}

.btn-card {
    background-color: #E7F5FB !important;
    border: 1px solid #327A97 !important;
    color: #000000 !important;
}

.eye-icon-btn {
    background-color: #9DCDE0 !important;
    border: 1px solid #9DCDE0 !important;
    color: #327A97 !important;
}

.fa-toggle-on:before {
    color: #327A97 !important;
}

.alert-bg-home {
    border: 1px solid #327A97 !important;
    background: #E7F5FB !important;
}

.alert-head-text {
    color: #327A97 !important;
}

.line-home {
    background: #327A97;
    height: 1px !important;
}

/* size-sm */
@media (min-width: 576px) and (max-width:767.98px) {
    #detail_login {
        display: none;
    }

    .border_radius_right {
        border-radius: 10px;
    }

    .btn_download {
        display: none;
    }
}

/* size-xs */
@media (max-width:575.98px) {
    #detail_login {
        display: none;
    }

    .border_radius_right {
        border-radius: 10px;
    }

    .btn_download {
        display: none;
    }
}