@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SFUIDisplay-Semibold.eot');
    src: url('../fonts/SFUIDisplay-Semibold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SFUIDisplay-Semibold.woff2') format('woff2'),
        url('../fonts/SFUIDisplay-Semibold.woff') format('woff'),
        url('../fonts/SFUIDisplay-Semibold.ttf') format('truetype'),
        url('../fonts/SFUIDisplay-Semibold.svg#SFUIDisplay-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SFUIDisplay-Bold.eot');
    src: url('../fonts/SFUIDisplay-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SFUIDisplay-Bold.woff2') format('woff2'),
        url('../fonts/SFUIDisplay-Bold.woff') format('woff'),
        url('../fonts/SFUIDisplay-Bold.ttf') format('truetype'),
        url('../fonts/SFUIDisplay-Bold.svg#SFUIDisplay-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SFUIDisplay-Heavy.eot');
    src: url('../fonts/SFUIDisplay-Heavy.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SFUIDisplay-Heavy.woff2') format('woff2'),
        url('../fonts/SFUIDisplay-Heavy.woff') format('woff'),
        url('../fonts/SFUIDisplay-Heavy.ttf') format('truetype'),
        url('../fonts/SFUIDisplay-Heavy.svg#SFUIDisplay-Heavy') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SFUIDisplay-Medium.eot');
    src: url('../fonts/SFUIDisplay-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SFUIDisplay-Medium.woff2') format('woff2'),
        url('../fonts/SFUIDisplay-Medium.woff') format('woff'),
        url('../fonts/SFUIDisplay-Medium.ttf') format('truetype'),
        url('../fonts/SFUIDisplay-Medium.svg#SFUIDisplay-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SFUIDisplay-Light.eot');
    src: url('../fonts/SFUIDisplay-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SFUIDisplay-Light.woff2') format('woff2'),
        url('../fonts/SFUIDisplay-Light.woff') format('woff'),
        url('../fonts/SFUIDisplay-Light.ttf') format('truetype'),
        url('../fonts/SFUIDisplay-Light.svg#SFUIDisplay-Light') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SFUIDisplay-Thin.eot');
    src: url('../fonts/SFUIDisplay-Thin.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SFUIDisplay-Thin.woff2') format('woff2'),
        url('../fonts/SFUIDisplay-Thin.woff') format('woff'),
        url('../fonts/SFUIDisplay-Thin.ttf') format('truetype'),
        url('../fonts/SFUIDisplay-Thin.svg#SFUIDisplay-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

html,
section {
    height: 100%;
}

body {
    font-family: 'SF UI Display', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000;
    margin: 0;
    height: 100%;
    background: #F5F5F5;
}

a {
    color: #000;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: none;
    border: 0 none !important;
}

img {
    max-width: 100%;
    height: auto;
}

* :focus {
    outline: 0 !important;
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}
.btn{
    font-family: 'SF UI Display',  sans-serif;
    font-weight: 500;
    padding: 7px 20px;
    border-radius: 5px;
    background-color: transparent;
}
.btn-primary{
    background: #076EB0;
    border:1px solid #076EB0;
    color: #fff;
}
.btn-secondary{
    background: #DBE0E7;
    border:1px solid #DBE0E7;
    color: #000;
}
.btn-tertiary{
    background: #fff;
    border:1px solid #DBE0E7;
    color: #000;
}
.form-control,.vs__dropdown-toggle,.multiselect .multiselect__tags{
    font-size: 16px;
    min-height: 40px;
    font-family: 'SF UI Display', sans-serif;
    font-weight: 200;
    color: #343434;
    margin: 0;
    border-radius: 5px;
    border: 1px solid #DBE0E7;
    padding: 0 0.75rem;
    background-color: #fff;
    appearance: auto;
}
/*#region -----------------Custom Scrollbar-------------------*/
.vertical-scrollbar::-webkit-scrollbar,
.vertical-scrollbar::-webkit-appearance {
    width: 5px;
}

.horizontal-scrollbar::-webkit-scrollbar,
.horizontal-scrollbar::-webkit-appearance {
    height: 5px;
}

.custom-scroll::-webkit-scrollbar-track,
.custom-scroll::-webkit-appearance {
    box-shadow: inset 0 0 5px #fff;
    border-radius: 5px;
}

.custom-scroll:-webkit-scrollbar-thumb,
.custom-scroll::-webkit-appearance {
    background: #c1c1c1;
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover,
.custom-scroll::-webkit-appearance:hover {
    background: #818181;
}
/*#endregion*/

/*#region -----------------Header--------------------*/
header {
    background-color: #17568F;
    height: auto;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1001;
}
header .logo{
    float: left;
    background: #fff;
    padding: 5px 7px 5px 5px;
    position: relative;
}
header .logo:before{
    content: " ";
    transform-origin: bottom left;
    -ms-transform: skew(-38deg, 0deg);
    -webkit-transform: skew(-38deg, 0deg);
    transform: skew(-38deg, 0deg);
    background: #fff;
    width: 39px;
    display: block;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
}
header .logo img {
    float: left;
    max-height: 40px;
}

header .logo .hamburger-menu {
    font-size: 41px;
    line-height: 24px;
    color: #17568F;
    margin-left: 20px;
    cursor: pointer;
    z-index: 99;
    position: relative;
    margin-top: 7px;
    float: left;
}
header .menu-containers{
    justify-content: end;
}
header .mobile-header-menu{
    display: none;
}
header .header-icons {
    display: flex;
    align-items: flex-start;
    float: right;
    padding-top: 10px;
    padding-right: 20px;
    justify-content: end;
    margin-top: 2px;
}

header .header-icons i {
    font-size: 21px;
    margin-right: 30px;
    /* color: #17568F; */
    color: #fff;
    padding-top: 10px;
}
header .header-icons .apps-menu{
    position: relative;
    cursor: pointer;
}
header .header-icons .apps-menu i{
    margin-right: 0;
    padding: 10px 10px 35px;
}
header .header-icons .apps-menu .zones-wrapper{
    text-align: center;
    margin-right: 30px;
    color: #fff;
    float: left;
    padding-top: 4px;
}
header .header-icons .apps-menu:hover .dropdown-menu{
    display: block;
}
header .header-icons .apps-menu .dropdown-menu{
    left: auto;
    right: 25px;
    min-width: 350px;
    height: 400px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
    padding: 20px 0 10px 0;
    overflow: auto;
    top: 100%;
}
header .header-icons .apps-menu .dropdown-menu a.dropdown-item{
    width: 32.33%;
    float: left;
    clear: none;
    text-align: center;
    white-space: normal;
}
header .header-icons .apps-menu .dropdown-menu a.dropdown-item:hover{
    background-color: transparent;
}
header .header-icons .apps-menu .dropdown-menu a.dropdown-item:hover .title{
    color: #115491;
}
header .header-icons .apps-menu .dropdown-menu a.dropdown-item img{
    height: 60px;
    object-fit: contain;
}
header .header-icons .apps-menu .dropdown-menu a.dropdown-item .title{ 
    letter-spacing: 0.13px;
    color: #4B4A4B;
    font-size: 13px;
    padding-top: 5px;
    height: 45px;
}
header .header-icons .apps-menu .dropdown-menu a{
    padding: 10px 16px;
    font-size: 14px;
    display: block;
    line-height: 20px;
}
header .header-icons .apps-menu .search-project{
    padding: 0 25px;
    position: relative;
}
header .header-icons .apps-menu .search-project input[type=search]{
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 5px 10px;
    width: 100%;
}
header .header-icons .apps-menu .search-project i{
    position: absolute;
    color: #000;
    font-size: 16px;
    right: 26px;
    padding: 9px;
}

header .header-icons i.vvg-account {
    font-size: 28px;
    float: left;
    margin-right: 0;
    margin-top: -1px;
    padding-top: 0;
}

header .header-icons .wrapper {
    padding-left: 36px;
    font-weight: 300;
    color: #fff;
}

header .header-icons .wrapper2 {
    padding-left: 0px !important;
}

header .header-icons .wrapper i {
    font-size: 10px;
    margin-left: 10px;
}

header .header-icons .wrapper .workspace-name {
    font-size: 12px;
    display: block;
    line-height: 15px;
}

header .header-icons .user-profile {
    position: relative;
    cursor: pointer;
}

header .user-profile .dropdown-menu {
    font-size: 14px;
    z-index: 1005;
    min-width: 183px;
    border: 0 solid rgba(0, 0, 0, .15);
    border-radius: 0.4375rem;
    -webkit-box-shadow: 0 50px 100px rgb(50 50 93 / 10%), 0 15px 35px rgb(50 50 93 / 15%), 0 5px 15px rgb(0 0 0 / 10%);
    box-shadow: 0 50px 100px rgb(50 50 93 / 10%), 0 15px 35px rgb(50 50 93 / 15%), 0 5px 15px rgb(0 0 0 / 10%);
    margin-top: 10px;
}
header .user-profile .dropdown-menu i{
    color: #000;
}

header .user-profile .dropdown-menu.show {
    opacity: 1;
    pointer-events: auto;
    /* -webkit-animation: show-navbar-dropdown .25s ease forwards;
    animation: show-navbar-dropdown .25s ease forwards; */
}

header .user-profile .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    display: block;
}

header .user-profile .dropdown-menu .dropdown-item>i {
    margin-right: 1rem;
    font-size: 16px;
}

/*#endregion*/

/*#region -----------------Login Page---------------------*/
.loginbg {
    background: url("../images/loginbg.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
}
.loginform {
    max-width: 450px;
    margin: 100px auto 0;
}
.loginform form {
    background: #fff;
    border-radius: 5px;
    padding: 40px;
}
.loginform form label {
    display: inline-block;
    margin-bottom: 0;
    color: #444444;
}
.loginlogo {
    text-align: center;
    margin-bottom: 45px;
}
.loginlogo img {
    width: 235px;
    filter: brightness(0) invert(1);
}
.loginform .form-group input {
    border-color: #bababa;
}
.loginform .forgot-password{
    text-decoration: none;
    color: #001429;
}
/*#endregion*/

/*#region -----------------Index Page---------------------*/
.page-content {
    padding-top: 60px;
    padding-bottom: 50px;
}
.top-filter{
    display: flex;
}
.top-filter .invoiceno-txt{
    display: inline-block;
    width: auto;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    border-bottom: 1px solid #DBE0E7 !important;
    min-height: 40px;
}
.top-filter .invoice-btns{
    margin-left: 48px;
}
.filter-result{
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
}
.primary-table{
    border: 1px solid #DBE0E7;
    border-radius: 5px;
    min-height: 200px;
}
.primary-table table th{
    background: #CACFD8;
}
.filter-result .payment-due .label-amount{
    background: #CACFD8;
    border-radius: 5px;
    text-align: right;
    padding: 9px 10px;
    display: block;
}
.filter-result .payment-due .txt-payment-amt,
.filter-result .payment-due .txt-amount-paid{
    width: auto;
    display: inline-block;
    max-width: 150px;
    text-align: right;
    font-weight: 600;
    font-size: 22px;
}
.filter-result .payment-due .txt-amount-paid{
    background: #34AB34;
    color: #fff;
}
.filter-result .payment-due .payment-mode .btn{
    padding: 5px 40px;
    width: 150px;
    display: block;
    float: right;
}
.section-boxes{
    background-color: #fff;
    padding: 20px;
    border: 1px solid #DBE0E7;
    border-radius: 5px;
    height: 100%;
    min-height: 104px;
}
.other-payment-mode .payment-form label{
    width: 20%;
    display: inline-block;
    text-align: right;
    margin-bottom: 0;
    margin-right: 5px;
}
.other-payment-mode .payment-form .form-control{
    width: 79%;
    display: inline-block;
}
.other-payment-mode .payment-form .form-group{
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.other-payment-mode .payment-form .save-payment{
    width: 70%;
}
/*#endregion*/

/*#region -----------------Responsive Layout-------------*/
@media(max-width:1786px){
    header .header-icons .apps-menu .dropdown-menu{
        left: auto;
        right: auto;
        transform: translateX(-68%);
    }
}
@media(max-width:1570px){
    header .header-menu li{
        padding: 4px 10px;
    }
    header .header-menu li > a{
        font-size: 16px;
    }
    header .header-menu{
        padding: 22px 15px 0 50px;
    }
    header .header-icons .apps-menu .zones-wrapper{
        margin-right: 20px;
    }
}
@media(max-width:1355px){
    
    header .mobile-header-menu{
        float: right;
        padding:28px 30px 0 20px;
        color: #fff;
        font-size: 20px;
        display: block;
        cursor: pointer;
    }
    
    .header-menu li .hoverli + .dropdown-menu{
        position: unset;
        float: none;
        background: transparent;
        border: 0;
    }
    .header-menu li .hoverli + .dropdown-menu a{
        color: #fff;
    }

    .filter-result .payment-due .payment-mode .btn{
        padding: 5px 20px;
        width: 120px;
        margin: 2px !important; 
    }
}

@media (max-width:823px){
    /* header {
        display: block;
        padding: 10px;
        background-color: #fff;
    }
    header .logo {
        display: inline-block;
        padding: 10px 0 0;
    }
    header .logo img {
        display: inline-block;
        width: 135px;
        float: right;
    }
    header .logo .hamburger-menu {
        font-size: 32px;
        float: left;
        margin: 2px 10px 0 0;
        display: block;
    }*/
    header .header-icons {
        padding-right:0px;
    }
    /*
    header .header-icons>i,
    header .header-icons .wrapper i {
        display: none;
    }
    header .header-icons .user-profile {
        text-align: center;
    }
    header .header-icons i.vvg-account {
        display: block;
        margin: 0;
        float: none;
        font-size: 26px;
    }
    header .header-icons .wrapper .workspace-name {
        display: none;
    }
    header .header-icons .wrapper {
        padding-left: 0;
    }
    header .logo:before{
        content: none;
    }
    header .header-icons .wrapper{
        font-size: 12px;
    }
    header .mobile-header-menu,
    header .header-icons .wrapper,
    header .header-icons i{
        color: #17568F;
        width: 80px;
    }
    header .header-icons i{
        margin-right: 15px;
    }
    header .mobile-header-menu{
        padding: 4px 15px 0 10px;
    }
    header .header-icons .apps-menu i{
        padding-bottom: 0;
        font-size: 22px;
    }
    header .header-icons .apps-menu .zones-wrapper{
        color: #17568F;
        font-weight: 300;
        font-size: 12px;
        margin-right: 15px;
    } */
    .top-filter{
        display: block;
    }
    .top-filter .invoice-input{
        display: flex;
    }
    .top-filter .invoice-btns{
        margin-left: 0;
        margin-top: 10px;
        display: flex;
    }
    .filter-result, .other-payment-mode{
        margin-bottom: 20px;
        height: auto;
    }
    .filter-result .payment-due .payment-mode{
        margin-top:20px;
    }
    .filter-result .payment-due .payment-mode .btn{
        margin-top: 4px !important;
        margin-right: 5px;
    }
}
/*#endregion*/

@media (max-width:700px){

    header .header-icons {
        padding-right: 5px;
        padding-top: 5px;
        margin-top: 0px;
    }
    
    header .header-icons i {
        font-size: 18px;
        margin-right: 10px;
    }
    
    header .logo img {
        max-height: 25px;
    }

    header .logo:before{
        width: 27px;
        height: 35px;
    }

    header .header-icons i.vvg-account {
        font-size: 27px;
        margin-top: -1px;
    }


}

.price-align{
    text-align: right;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of everything else */
}

/* Spinner CSS (a simple example) */
.spinner {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* .input-container {
    position: relative;
  }
  
  .input-container .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .input-container input[type="text"] {
    padding-left: 30px; /* Adjust this value to align the text properly */
  }
   */