*, *::before, *::after{ margin: 0; padding: 0; box-sizing: border-box; }

.form-control-dropdown {
    display: block;
    width: 100%;
    height: 30px;
    padding: 2px;
    font-size: .875rem;
    font-weight: 400;
    line-height: 05;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .2rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.ModalFooterBorder{
    border-top: 2px solid #6c757d;
}
.CaptchaReloadImagePadding{
    padding-top: 18px;
}

.CardHeaderBackground{
    color:#007bff;
}
.MultipleShippingCardBodyBorder{
    border-bottom: 1px solid #9d9e9f;
    margin-top: 8px; 
    margin-bottom: 8px;
}
/*Nested Grid*/
.ExpandedTableMainDataStyle{
    font-weight: 700;
    background-color: #fff;
}
.NestedMainDataBackground{
    background-color: #fff;
}
.TableHeadTheme {
    background-color: #FFD580;
    color: #000;
    font-weight: 600;
}
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #FFD580;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-item.active .page-link {
    z-index: 3;
    color: #343a40;
    background-color: #FFD580;
    border-color: #FFD580;
}
.searchBtn{
    margin-right:2rem; 
    background-color: #FFD580; 
    font-weight: 600;
    border: #FFD580;
}

.btnB {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.NoDisplay{
    display: none;
}

/* CSS */
:root{
    --primaryColor: #FFD580;
    --secondaryColor: #E9E8E6;  
    --primaryColorHover: #F1B642;

    --fontColor: #000;
    --errColor: #FF3333;

    --body-fonts: "Helvetica", "Arial", sans-serif;
    --line-height: 1.5;

    --colorApproved: #6AAC0C;
    --colorRevision: #FF9705;
    --colorRejected: #DF2020;
}

.btn{
    font-size: 15px;
}

/* Login */
.btnForgotPassword{
    display: block;
    width: fit-content;
    margin-left: auto;
}

.error{color: var(--errColor);}

/* Card content-header */                       
.content-header{padding-bottom: 0;}

.card-body{padding-bottom: 0;}

.modal-header{background-color: var(--primaryColor);}

.modalHeaderCustom{
    align-items: center;
    padding: 0 16px;
}

.modal-contentBG{background-color: var(--secondaryColor);}

.modalBtn{
    background-color: var(--primaryColor);
    color: var(--fontColor);
    border: none;
}

.modalBtn1{
    background-color: var(--primaryColor);
    color: var(--fontColor);
    border: 1px solid var(--fontColor);
}

.modalBtn:active, .modalBtn:hover
.modalBtn1:active, .modalBtn1:hover{
    background-color: var(--primaryColorHover);
}

.modalButtonsCancelYes{
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

/* .modalButtonsCancelYes > button:not(:last-child){
    margin-right: 20px;
} */

.modalButtonsCancelYes > button:last-child{
    margin-left: 20px;
} 

.modalBodyContainer{
    display: flex;
    justify-content: space-between;
    width: -webkit-fill-available;
}

.modalBodyLeftData label{
    margin-bottom: 0;
}

.modalBodyLeftData{
    display: flex;
    align-items: center;
}

.modalBodyRightData{
    display: flex;
}

.modalBodyRightData label{
    margin-right: 5px;
}

.modal-footer div button{
    height: fit-content;
    width: fit-content;
    display: flex;
    align-self: self-start;
    justify-self: center;
}

#modlaBodyTbl{
    border: none;
}

#modalBodyTbl thead, #modalBodyTbl tfoot{
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

#modalBodyTbl thead tr th,
#modalBodyTbl tbody tr td,
#modalBodyTbl tfoot tr td{
    padding: 5px;
}

#modalBodyTbl thead tr th:not(:first-child),
#modalBodyTbl tbody tr td:not(:first-child),
#modalBodyTbl tfoot tr td:not(:first-child){
    text-align: right;
}

#modalBodyTbl thead tr th{
    border-bottom: none;
}

#modalBodyTbl tfoot{
    /* border-bottom: 1px solid #dee2e6; */
    /* border: none; */
    border: 1px solid white;
}

#modalBodyTbl tfoot tr td:first-child{
    font-weight: bold;
}

/*.tblBottom{
    display: flex;
    justify-content: space-between;
    border: 1px solid #dee2e6;
    padding: 5px;
}

.tblBottom div span{
    font-weight: bold;
}*/

.tblBottomContainer{
    border: 1px solid #dee2e6;
    border-left: none;
    border-right: none;
}
.tblBottom{
    display: flex;
    justify-content: space-between;
    padding: 5px;
    padding-bottom: 0;
}

.tblBottom p{
    font-weight: bold;
    margin-bottom: 0;
}

.tblRemarks{
    display: flex;
    padding: 5px;
}

#loadingSpinner {
    border: 7px solid #f3f3f3;
    border-radius: 50%;
    border-top: 7px solid #3498db;
    width: 65px;
    height: 65px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure it's above the modal */
    display: none; /* Initially hidden */
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* Datatable search */
.dataTables_wrapper .dataTables_paginate {
    padding-bottom: 10px;
}

#tblData td {
    vertical-align: middle;
    text-align: justify;
}

/* Left Sidebar */
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, 
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active{
    background-color: var(--primaryColor);
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:focus, 
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:active, 
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:hover {
    background-color: var(--primaryColor);
    color: #fff;
    transition: all, 0.3s;
}

/*.nav-sidebar>.nav-item:hover{
    background-color: var(--primaryColor);
    color: #fff;
    transition: all, 0.3s;
}*/

/* Add this style to your existing CSS or create a new style section */
.menu-arrow {
    display: inline-block; /* Ensure the span is treated as a block */
    transition: transform 0.3s ease; 
    margin-left: auto; 
}

.rotate {
    transform: rotate(-90deg); /* Rotate the arrow 90 degrees counterclockwise */
}

/* Add the following styles to handle the submenu visibility */
.submenu {
    display: none;
    padding-left: 20px; /* Adjust this value based on your design */
}

.submenu.show {
    display: block;
}

.customSidebarNavLinkArrow{
    display: flex; 
    justify-content: space-between; 
    align-items:center;
    cursor: pointer;
}

/* User Module */
.registrationFormContainer{
    width: 65%;
    padding: 15px 0;
}

/* CustomIconStatus */
.customIconApproved{
    fill: var(--colorApproved);
}

.customIconRevision{
    fill: var(--colorRevision);
}

.customIconRejected{
    fill: var(--colorRejected);
}

/* Payment table Ledger */
#modalBodyTblLedger tfoot tr td:last-child{
    width: 30%;
}

/* Dashboard */
#tblDataPending{
    width: 100%;
}

#tblDataPending td{
    border-top: none;
}
/*
#tblDataPendingBody tr td{
    border-bottom: 1px solid transparent;
} 

#tblDataPendingBody tr:last-of-type td{
    border-bottom: 1px solid #dee2e6;
}*/