﻿* {
    font-family: 'Noto Serif Lao', serif;
}

#tbTariff_Summary td  {
    width: 80px !important;
}

#Tariff_Summary td {
    width: 80px;
    text-align: center;
}

#tbTariff_Summary td:nth-child(5) input, #tbTariff_Summary td:nth-child(6) input, #tbTariff_Summary td:nth-child(7) input, #tbTariff_Summary td:nth-child(9) input, #tbTariff_Summary td:nth-child(10) input {
    text-align: center;
    justify-content:center;
}

#Tariff_Summary td:nth-child(1) input {
    width: 15px !important;
}

#Tariff_Summary td:nth-child(2) input {
    width: 180px;
}

#Tariff_Summary td:nth-child(3) input {
    width: 350px !important;
/*    font-size: 12px !important;*/
    text-align: start !important;
} 

#Select_Container_Truck td {
    padding: 8px !important;
}

/*#Tariff_Summary td input {
    width:auto;
    border: none;
    line-height:0;
}*/
.f-c-white{
    color:#fff;
}
/*.page-header {
    
    color: blue;
}*/

#Tariff_Summary table th, #Select_Container_Truck table th, #ModalPreAlert table th, #ModalTariff table th, #Charge_TB table th {
    color: #fff;
    border-style: unset;
    border-width: unset;
    /*border-radius:10px;*/
    font-size: 12px;
}
table {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
table td {
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}
table th{
    padding:10px;
}
#Tariff_Summary th:nth-child(1), #Select_Container_Truck th:nth-child(1), #ModalPreAlert th:nth-child(1), #ModalTariff th:nth-child(1), #Charge_TB th:nth-child(1), #tbInvoiceContainer th:nth-child(1) {
    border-radius: 10px 0 0 0;
}
#Tariff_Summary th:last-child, #Select_Container_Truck th:last-child, #ModalPreAlert th:last-child, #ModalTariff th:last-child, #Charge_TB th:last-child, #tbInvoiceContainer th:last-child {
    border-radius: 0 10px 0 0;
}
/*#tbContainer_Truck th:nth-child(3) {
    border-radius: 10px 0 0 0;
}*/
#ModalAddcharge td:nth-child(4), #ModalAddcharge td:nth-child(5) {
    /*    font-size: 12px !important;*/
    text-align: start;
}
 .disabled-select { 
     background-color: #E3E3E3 !important; 
 }
.readonly-input {
    background-color: #E3E3E3 !important;
} 
.btn-search {
    position: absolute;
    background-color: transparent;
    margin-right: 10px;
}
button.btn-search:focus {
    outline: none;
}
.addcharge{
    border-radius:15px;
}
.border-bg-blue {
    border: 1px solid #7EBFF6;
}
.btn-custom {
    position: absolute;
    border: none;
    background-color: #fff;
    bottom: 2px;
    border-radius: 5px;
    transition: 0.5s;
}

    .btn-custom:hover {
        background-color: aquamarine;
        border-radius: 5px;
    }

.sticky2 {
    font-size: 14px;
    position: fixed;
    background-color: #e5e7e9 !important;
    z-index: 1;
    width:86%;
    top:82px;
    padding: 25px 0;
}



#Charge_Summary td:nth-child(4) input {
    width: 330px !important;
/*    font-size: 12px;*/
} 


/*.dataTables_length, .dataTables_filter {  
    display: none;
}*/
/*--------------------------------------------------------------------------------------*/
/*@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1440px;
    }
}

@media (max-width: 1440px ){
    .sticky2 {
        z-index: 1;
        width: 80%;
    }
}

@media (max-width: 1024px) {
    .sticky2 {
        z-index: 1;
        width: 75%;
    }
}
@media (max-width: 974px){
    .sticky2 {
        top:60px !important;
        z-index: 1;
        width: 98%;
    }
}
@media (max-width: 768px) and (max-width: 974px){
    .sticky2 {
        z-index: 1;
        width: 98%;
        
    }
}
@media (max-width: 974px) {
    .sticky2 {
        width: 100%;
    }
    .showMeun {
        display: inline-block !important;
        margin-right:10px !important;
    }
    .btnGroup{
        display:none;
    }
}

@media (max-width: 425px) {
    .sticky2 {
        z-index: 1;
        width: 100%;
    }
    .btnsutatus{
        margin-top:10px;
        
    }
    .Cancel,.Save{
        margin-top:5px
    }
    .btnGroup {
        text-align: center !important;
    }
}
*/

.bookmark {
    border-radius: 5px;
    background-color: #e5e7e9 !important;
    position: fixed;
    top: 90px;
    z-index: 10;
    right: 20px;
    padding: 0 15px 10px 15px;
    box-shadow: none;
    transition: 0.3s ease;
}

    .bookmark.scrolled {
        border: 1px solid #e5e7e9 !important;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
        background-color: #e5e7e9 !important;
        padding: 5px 25px 15px 25px;
        margin-top: 5px;
        transition: 0.3s ease;
    }

table#tbPrealertDoc tbody td,
table#tbInvoiceCharge tbody td {
    padding: 8px 10px;
}
/*#tbCustomer td, #tbInvoice td, #tbTariff_Summary td{
    font-size:12px;
}*/
table#tbCustomer tbody td,
table#tbInvoice tbody td,
table#tbTariff_Summary tbody td {
    padding: 4px 10px;
}
table#Charge_Summary tbody td {
    padding: 2px 10px;
}
table#tbTariff_Summary input,
table#Charge_Summary input {
    height: 28px;
}
.bookmark .display-bookmart {
    display: none;
}
.dataTables_wrapper button {
    padding: 0.175rem 0.75rem;
}
/*.page-header .sticky {
    position: sticky;
    top: 0;
    background-color: green;
    border: 2px solid #4CAF50;
}*/
.btn-wrapper {
    display: inline-block;
    /*margin-right: 10px;*/
}

.btn-hover {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

    .btn-hover:hover {
        filter: brightness(0.8);
        transform: scale(1.05);
    }

.redio-active{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:8px;
}

.dotted-line {
    text-decoration: underline dotted;
    line-height: 24px;
    text-underline-offset: 6px;
}

.multi-dotted {
    line-height: 25px;
    border-bottom: 1px dotted black;
    flex-direction: column;
    justify-content: space-between;
}

/*.multi-dotted span {
    border-bottom: 1px dotted black;
    padding-bottom: 4px;
}*/
    .addTruck-invoice{
    /*display:none;*/
}
/*.btn-hover {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #fff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}


.btn-text {
    margin-left: 10px;
    opacity: 0;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.btn-hover:hover .btn-text {
    opacity: 1;
    max-width: 200px;
}

.btn-icon {
    color: #117a65;
}

.btn-hover:hover .btn-icon {
    color: #fff;
}

.btn-hover:hover {
    background-color: #117a65;
    color: #fff;
}*/
@media (min-width: 1200px) {
    #ModalAddcharge .modal-xl {
        max-width: 1340px !important;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1440px;
    }

}

@media print {
    .no-print {
        display: none;
    }

    .paper {
        width: 275mm;
    }

    table th {
        background-color: #305496;
        color: white;
    }

    table {
        /*font-size: 1px;*/
        font-size: 9px;
        /*position: relative;*/
        table-layout: fixed;
        border-collapse: collapse;
    }

    label {
        font-size: 10px;
    }

    .multi-dotted {
        line-height: 24px;
        min-height: calc(24px * 4);
        background-image: repeating-linear-gradient( to bottom, transparent 0, transparent 22px, black 22px, transparent 23px );
        background-size: 100% 24px;
    }
}

@media (max-width: 1200px) {
    i {
        margin: 0px !important;
    }
   
    .btn-text {
        margin-left: 10px;
        opacity: 0;
        white-space: nowrap;
        max-width: 0;
        overflow: hidden;
        transition: all 0.5s ease-in-out;
        font-size:10px;
    }

    .btn-hover:hover .btn-text {
        opacity: 1;
        max-width: 200px;
    }
}

@media (max-width: 1440px) {
    .bookmark {
        max-width: 800px;
        text-align: start;
    }
    .btn-text {
        font-size: 12px;
    }
}
