﻿* {
    font-family: 'Noto Serif Lao', serif;
}
body {
    margin:0 !important;
}
.customizer-links {
    display: none;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu {
    height: calc(100vh - 355px);
}

.card {
    border-radius: 10px;
    margin-bottom: 0px !important;
    
}
/*.modal-body {
    background-color: #e6edef;
}*/
.w-15 {
    width: 15% !important;
}
.w-35 {
    width: 35% !important;
}
.container-fluid .row .card .card-header {
    /*background-color: #3e9ff2;
    color: white;*/
    border-radius: 10px 10px 0 0 !important;
}
.border-bg-blue {
    border-color: #45b39d !important;
}

.form-control-custom {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 4px;
}
.form-control:focus {
    border-color: #45b39d !important;
    box-shadow: none;
}
.card-body {
    padding: 20px !important;
}
.table > tbody {
    vertical-align: middle !important;
}

.f-c-blue {
    color: #117a65;
}
.datepickers-container{
    z-index:9999;
}
.btn-blue {
    color: #eee !important;
    background-color: #117a65;
    transition: 0.5s;
    white-space: nowrap;
    border-radius: 20px !important;
    font-size: 12px;
    align-content: center;
    padding: 8px 16px;
}
.btn-blue:hover {
    color: #eee;
    background-color: #45b39d;
}

.btn-outline-danger {
    font-size: 12px;
    padding: 8px 16px;
    border-radius:20px!important;
}
.btn-outline-warning {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 20px !important;
}
.bg-blue {
    color: #eee;
    background-color: #117a65;
}
.checkbox_animated:before {
    border: 2px solid #45b39d;
    border-top-style: none;
    border-right-style: none;
}
.fa-search {
    color: #0b5345
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link.active, .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link:hover {
    background-color: #117a65;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-main-title > div h6 {
    color: #0b5345
}
.page-main-header .main-header-right .toggle-sidebar svg {
    color: #0b5345
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu .dropdown ul.nav-submenu li:hover a {
    color: #45b39d;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu .dropdown ul.nav-submenu li a.active {
    color: #000f;
    font-weight: bold;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link {
    margin: 4px 0;
}
.setting-primary svg {
    color: #0b5345
}
.setting-primary:hover {
    background-color: #45b39d;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-user img {
    border: 10px solid #45b39d;
}
.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    padding-top: 30px;
    margin-left: 300px;
    padding-bottom: 20px;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav {
    width: 300px;
}
.page-main-header .main-header-right .main-header-left {
    width: 300px;
}
input {
    padding-left: 12px !important;
}
.rowsPerPageSelect{
    width:75px;
}
.stickybtn {
    position: sticky !important;
    right: 0 !important;
    z-index: 2 !important;
    background: #f9f9f9 !important;
}
.stickybtn button {
    transition: all 0.1s ease;
}
.stickybtn button:hover {
    transform: scale(1.2);
}
.page-wrapper .page-body-wrapper .page-header {
    padding-bottom: 20px;
}
.close_icon ~ footer {
    margin-left: 0px !important;
}
footer {
    margin-left: 300px !important;
}
.btn-danger {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 20px !important;
}
.btn-outline-info, .btn-info,
.btn-outline-primary, .btn-primary,
.btn-success, .btn-outline-success,
.btn-secondary, .btn-outline-secondary,
.btn-hover {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 20px !important;
}

/*@media (max-width: 425px) {
    .breadcrumb {
        display: none !important;
    }
}*/
.page-wrapper .page-body-wrapper .page-body {
    background-color: #e5e7e9 !important;
}
.dataTables_length, .dataTables_filter {
    margin-bottom:6px !important;
}

@media (max-width: 916px) {
    footer {
        margin-left: auto !important;
    }
}

@media (max-width: 1440px) {
    .searchInput {
        width: 200px !important;
    }
}

    #tbTaxInvoice td:nth-child(5), #tbTaxInvoice td:nth-child(2) {
    text-align: left !important;
}
#tbPrealertDoc td:nth-child(6),
#tbPrealertDoc td:nth-child(2) {
    text-align: left !important;
}
#tbInvoice td:nth-child(5),
#tbInvoice td:nth-child(2) {
    text-align: left !important;
}
/*#Invoice_List_Table td:nth-child(1),
#Invoice_List_Table td:nth-child(3),
#Invoice_List_Table td:nth-child(4),
#Invoice_List_Table td:nth-child(8), 
#Invoice_List_Table td:nth-child(10) {
    text-align: left !important;
}

#Invoice_List_Table td:nth-child(9),
#Invoice_List_Table td:nth-child(12) {
    text-align: right !important;
}*/
/*#Tex_Invoice_List_Table td:nth-child(7),
#Tex_Invoice_List_Table td:nth-child(10), 
#Tex_Invoice_List_Table td:nth-child(11) {
    text-align: left !important;
}

#Tex_Invoice_List_Table td:nth-child(13) {
    text-align: right !important;
}*/

#ActivityCodeTable td:nth-child(3),
#ActivityCodeTable td:nth-child(4) {
    text-align: left !important;
}

#Tariff_Group_Table td:nth-child(2),
#Tariff_Group_Table td:nth-child(3),
#Tariff_Group_Table td:nth-child(4),
#Tariff_Group_Table td:nth-child(5) {
    text-align: left !important;
}
#CommercialReport td:nth-child(3),
#CommercialReport td:nth-child(5),
#CommercialReport td:nth-child(6),
#CommercialReport td:nth-child(7),
#CommercialReport td:nth-child(10),
#CommercialReport td:nth-child(12),
#CommercialReport td:nth-child(13),
#CommercialReport td:nth-child(14) {
    text-align: left ;
}


#CommercialReport td:nth-child(19),
#CommercialReport td:nth-child(20),
#CommercialReport td:nth-child(22) {
    text-align: right !important;
}

#CommercialReport td:nth-child(17),
#CommercialReport td:nth-child(18) {
    text-align: center !important;
}

.table th:nth-child(1) {
    border-radius: 10px 0 0 0;
}

.table th:last-child {
    border-radius: 0 10px 0 0;
}

.tablehead-background {
    background-color: #305496;
}

@media print {
    .no-print {
        display: none;
    }

    .paper {
        width: 275mm;
    }

    .paper-v {
        width: 190mm;
    }

    .tablehead-background {
        background-color: #305496 !important;
    }

    .headerfont-color {
        color: white;
    }

    table {
        font-size: 9px;
        /*position: relative;*/
        table-layout: fixed;
        border-collapse: collapse;
    }

    table#TaxInvoiceTempNewReportTB {
        font-size: 14px !important;
    }
    table#PrintImportTable, table#PrintImportTotalTable {
        margin-top: 550px;
    }

    #PrintImportTable tbody tr:nth-child(15n) {
        page-break-after: always;
    }

    .table-sm th,
    .table-sm td {
        padding: 3px !important;
    }

    h1 {
        text-align: center;
        font-size: 1rem;
    }

    h4 {
        text-align: center;
        font-size: 0.5rem;
    }
    p.form-label {
        font-size: 10px;
        min-height: 13%;
        margin-bottom:0;
    }
    .doc-no p.form-label {
        font-size: 8px;
    }
    label {
        font-size: 12px !important;
    }
    .logo-img p{
        font-size:10px;
    }
    .box-print {
        margin-top: -4px !important;
    }
    .footer-print{
        position:absolute;
        bottom:0;
    }
    .header-logo {
        width: 60%;
        margin-left: 180px;
    }

    .vertical-text {
        transform: rotate(270deg);
        white-space: nowrap;
        vertical-align: middle;
    }

    /*.table-bordered th,
    .table-bordered td {
        border: 1px solid gray !important;
    }*/

    thead {
        display: table-header-group;
    }

    #PrintInvoiceTable th {
        border-color: gray !important;
        box-shadow: inset 0 0 0 1000px #305496;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #PrintTruckReleaseTable th {
        border-color: gray !important;
        box-shadow: inset 0 0 0 1000px #e9edf6;
        color: #305496 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    #PrintTruckReleaseTable th:nth-child(2){
        width:10px !important;
    }

    #IncomeServices_TB table {
        width: 710px !important;
    }

    .report-header {
        position: fixed;
    }

    th.sorting::before,
    th.sorting_asc::before,
    th.sorting_desc::before {
        display: none !important;
    }

    th.sorting::after,
    th.sorting_asc::after,
    th.sorting_desc::after {
        display: none !important;
    }
   
}

#spinner {
    /*border: 4px solid rgba(0, 0, 0, 0.1); */
    border-top: 4px solid #117a65;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
#spinner-Printing {
    /*border: 4px solid rgba(0, 0, 0, 0.1); */
    border-top: 4px solid #117a65;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loadingText {
    margin-top: 20px;
    text-align: center;
    font-size: 16px !important;
    color: #333; /* สีข้อความ */
    animation: fadeIn 1s ease-in-out; /* เพิ่ม animation fadeIn */
}
#loadingText-Printing {
    margin-top: 20px;
    text-align: center;
    font-size: 16px !important;
    color: #333; /* สีข้อความ */
    animation: fadeIn 1s ease-in-out; /* เพิ่ม animation fadeIn */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#dot-1 {
    width: 2.5px;
    height: 2.5px;
    background-color: var(--color-blue);
    margin: 16px 0 0 5px;
    border-radius: 50%;
    animation: bounce-1 0.8s ease-in-out infinite;
}

#dot-2 {
    width: 2.5px;
    height: 2.5px;
    background-color: var(--color-blue);
    margin: 16px 0 0 5px;
    border-radius: 50%;
    animation: bounce-2 0.8s ease-in-out infinite;
}

#dot-3 {
    width: 2.5px;
    height: 2.5px;
    background-color: var(--color-blue);
    margin: 16px 0 0 5px;
    border-radius: 50%;
    animation: bounce-3 0.8s ease-in-out infinite;
}

#dot-11 {
    width: 3px;
    height: 3px;
    background-color: #117a65;
    margin: 35px 0 0 5px;
    border-radius: 50%;
    animation: bounce-1 0.8s ease-in-out infinite;
}

#dot-22 {
    width: 3px;
    height: 3px;
    background-color: #117a65;
    margin: 35px 0 0 5px;
    border-radius: 50%;
    animation: bounce-2 0.8s ease-in-out infinite;
}

#dot-33 {
    width: 3px;
    height: 3px;
    background-color: #117a65;
    margin: 35px 0 0 5px;
    border-radius: 50%;
    animation: bounce-3 0.8s ease-in-out infinite;
}
#dot-111 {
    width: 3px;
    height: 3px;
    background-color: #117a65;
    margin: 35px 0 0 5px;
    border-radius: 50%;
    animation: bounce-1 0.8s ease-in-out infinite;
}

#dot-222 {
    width: 3px;
    height: 3px;
    background-color: #117a65;
    margin: 35px 0 0 5px;
    border-radius: 50%;
    animation: bounce-2 0.8s ease-in-out infinite;
}

#dot-333 {
    width: 3px;
    height: 3px;
    background-color: #117a65;
    margin: 35px 0 0 5px;
    border-radius: 50%;
    animation: bounce-3 0.8s ease-in-out infinite;
}

#loadingSpinner-data {
    display: none;
    position: fixed;
    top: 53.5%;
    left: 51%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
#loadingSpinner-data-Printing {
    display: none;
    position: fixed;
    top: 53.5%;
    left: 51%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes bounce-1 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-1px);
    }
}

@keyframes bounce-2 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-1px);
    }
}

@keyframes bounce-3 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    55% {
        transform: translateY(-5px);
    }

    70% {
        transform: translateY(-1px);
    }
}


.table-striped tbody tr:nth-of-type(odd) {
    background-color: #d6f1eb;
}


.btn-outline-danger ,.btn-outline-info {
    background-color: #fff;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: #d6f1eb;
    
}
.table th {
    color: #fff;
}
.form-control,.form-select,.form-label,input{
    font-size:12px !important;
}
.checkbox_animated:disabled::after {
    background-color: #cccccc !important;
}
button:focus {
    outline: unset;
}
.status-icon {
    margin-left: 8px;
    color: #888;
}
.status-icon.fa.fa-lock {
    color: #dc3545;
    font-size: 12px;
}
.status-icon.fa.fa-unlock {
    color: #28a745;
    font-size: 12px;
}
.swal2-popup .swal2-input {
    margin: 4px auto;
}
.pointer-events-input {
    pointer-events: none;
    user-select:none;
    opacity: 0.6;
}