#nprogress {
    pointer-events: none;
}

#nprogress .bar {
    background: #29D;

    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;
}

#nprogress .peg {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #29D, 0 0 5px #29D;
    opacity: 1;

    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
    display: block;
    position: fixed;
    z-index: 999999;
    top: 15px;
    right: 15px;
}

#nprogress .spinner-icon {
    width: 18px;
    height: 18px;
    box-sizing: border-box;

    border: solid 2px transparent;
    border-top-color: #29D;
    border-left-color: #29D;
    border-radius: 50%;

    -webkit-animation: nprogress-spinner 400ms linear infinite;
    animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
    overflow: hidden;
    position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
    position: absolute;
}

.sidebar .sidebar-menu>ul>li>div {
    padding: 10px 15px;
    position: relative;
    color: #212b36;
    display: flex;
}

.sidebar .sidebar-menu>ul>li>div img {
    width: 18px;
}

.sidebar .sidebar-menu>ul>li>div span {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #637381;
    font-family: 'CeraPro-Bold', sans-serif;
}

.sidebar .sidebar-menu>ul>li>div .menu-arrow {
    display: inline-block;
    font-family: "font awesome 5 free";
    text-rendering: auto;
    font-size: 18px;
    line-height: 18px;
    position: absolute;
    top: 12px;
    right: 15px;
    transform: translate(0,0);
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -webkit-transition: all .2s ease;
    -ms-transition: all .2s ease;
    transition: all .2s ease;
}

.sidebar .sidebar-menu>ul>li>div .menu-arrow::before {
    content: "\f105";
    font-weight: 900;
    font-family: "font awesome 5 free";
}

.sidebar li div.subdrop .menu-arrow {
    transform: rotate(90deg) !important;
    -webkit-transform: rotate(90deg) !important;
    -ms-transform: rotate(90deg) !important;
}

.mobile-menu-side{
    position: fixed;
    top: 60px;
    left: 0;
    height: 100%;
    background: #fff;
    z-index: 999999;
    overflow: auto;
    -webkit-transition: all .2s ease;
    -ms-transition: all .2s ease;
    transition: all .2s ease;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

/*hide mobile-menu-side above 768 px*/
@media (min-width: 991px) {
    .mobile-menu-side {
        display: none;
    }
}

/*mobile menu 576px and above set width to 260px*/
@media (min-width: 576px) {
    .mobile-menu-side {
        width: 260px;
        max-width: 260px;
    }
}

/*set width to 100% if less than 576*/
@media (max-width: 575px) {
    .mobile-menu-side {
        width: 100%;
        max-width: 100%;
    }
}

.mobile-menu-side .sidebar-menu>ul>li>div {
    padding: 10px 15px;
    position: relative;
    color: #212b36;
    display: flex;
}

.mobile-menu-side .sidebar-menu>ul>li>div img {
    width: 18px;
}

.mobile-menu-side .sidebar-menu>ul>li>div span {
    margin-left: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #637381;
}

.mobile-menu-side .sidebar-menu>ul>li>div .menu-arrow {
    display: inline-block;
    font-family: "font awesome 5 free";
    text-rendering: auto;
    line-height: 40px;
    font-size: 18px;
    line-height: 18px;
    position: absolute;
    top: 12px;
    right: 15px;
    transform: translate(0,0);
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -webkit-transition: all .2s ease;
    -ms-transition: all .2s ease;
    transition: all .2s ease;
}

.mobile-menu-side .sidebar-menu>ul>li>div .menu-arrow::before {
    content: "\f105";
    font-weight: 900;
    font-family: "font awesome 5 free";
}

.mobile-menu-side li div.subdrop .menu-arrow {
    transform: rotate(90deg) !important;
    -webkit-transform: rotate(90deg) !important;
    -ms-transform: rotate(90deg) !important;
}

.slide-nav .mobile-menu-side {
    margin-left: 0;
}

.mobile-menu-side .sidebar-menu>ul>li.submenu ul li a {
    font-weight: 500;
    font-size: 14px;
    color: #212b36;
    position: relative;
    display: block;
    padding: 8px 8px 8px 40px;
}

/* add circular marker */
.mobile-menu-side .sidebar-menu>ul>li.submenu ul {
    background: #fafbfe;
    border-radius: 5px;
    padding: 10px 0;
    list-style-type: circle;
    margin: 0;
}

.smartTable-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0;
}

.smartTable-tableContainer {
    padding-left: 0 !important;
}

.select {
    position: relative;
    border: 1px solid rgba(145,158,171,.32); /* add a 2px gray border */
    border-radius: 4px; /* add a border radius */
    height: 38px; /* set the same height as other input elements */
    width: 100%; /* make the select element take up the full width of its parent element */
    padding: 6px 12px; /* add padding to the select element to match the padding of other input elements */
    color: #495057; /* set the font color */
    background-color: #fff; /* set the background color */
    background-clip: padding-box; /* ensure the background color only applies to the padding area */
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; /* add a transition effect */
}

.select:focus {
    outline: none; /* remove the outline when the element is in focus */
    border-color: #2c71f0; /* change the border color to blue when the element is in focus */
    box-shadow: 0 0 0 0.2rem rgba(255,159,67,.25); /* add a box shadow to the element when it is in focus */
}

.select::-ms-expand {
    display: none; /* remove the default arrow on ie10 and ie11 */
}

.select option {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    color: #495057;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #dee2e6;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    height: 40px;
}

.select:focus option {
    background-color: #2c71f0;
    color: #fff;
}

.select:focus option:hover {
    background-color: #2c71f0;
    color: #fff;
}

.select option:first-child {
    display: none;
    margin-top: 20px;
}

/*.select option:first-child {*/
/*    display: none;*/
/*}*/

/*.select:focus option:last-child {*/
/*    border-bottom: none;*/
/*}*/
.react-bootstrap-table{
    margin-bottom: 2rem;
}

.form-group select {
    border: 1px solid rgba(145,158,171,.32);
    height: 40px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #637381;
    padding: 10px 15px;
    border-radius: 5px;
}

.shimmer-loading {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; /* Shimmer background color */
    background-image: linear-gradient(to right, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    height: 100%;
}

.shimmer-line {
    width: 100%;
    height: 100px; /* Shimmer line height */
    background: linear-gradient(to right, transparent 0%, #f0f0f0 50%, transparent 100%);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.pop-menu {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 999999;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    padding: 10px 0;
    display: block;
}

.pop-menu-mobile {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 999999;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    padding: 10px 0;
    display: block;
}

.proficon {
    color: #212b36;
    font-size: 15px;
    line-height: 70px;
    height: 60px;
    padding: 0 15px;
}

.mobile-m {
    color: #2c71f0;
    padding: 0;
}

.mobile-m-menu {
    font-size: 20px;
    top: -40px;
    display: block;
    right: 0 !important;
}

.react-bootstrap-table-pagination {
    margin-bottom: 1rem;
}

.btn {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background-color: #2c71f0;
    border-color: #2c71f0;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/*.caret {*/
/*    display: inline-block;*/
/*    width: 0;*/
/*    height: 0;*/
/*    margin-left: 2px;*/
/*    vertical-align: middle;*/
/*    border-top: 4px dashed;*/
/*    border-top: 4px solid \9;*/
/*    border-right: 4px solid transparent;*/
/*    border-left: 4px solid transparent;*/
/*}*/

/*.dropup .caret, .navbar-fixed-bottom .dropdown .caret {*/
/*    border-top: 0;*/
/*    border-bottom: 4px dashed;*/
/*    border-bottom: 4px solid \9;*/
/*    content: "";*/
/*}*/

table thead .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

table thead .dropup .caret, table thead .navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px dashed;
    border-bottom: 4px solid \9;
    content: "";
}

/*create a tag that is raised, fixed width and has bg color*/
.sn-div {
    text-align: justify;
    display: flex;
    align-items: baseline;
}

.sales-sn {
    position: relative;
    display: block;
    width: 200px;
    height: 30px;
    line-height: 30px;
    text-align: justify;
    background: #2c71f0;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
    margin-top: 7px;
    border-radius: 5px;
    padding-left: 5px;
}

.customer-reports-totals{
    font-weight: 700 !important;
}

/*forcefully set modal to have normal cursor and not the hand since I cannot highlight things*/
.modal {
    cursor: auto !important;
}

/* QuotePDF.css */
.quote-header {
    text-align: left;
}

.quote-title {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    font-weight: bold;
}

.quote-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.bill-to, .quote-info {
    width: 48%;
}

.bill-to p, .quote-header p, .quote-info p, .terms p, .total-summary p {
    margin: 0;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.quote-table th, .quote-table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: left;
}

.total-summary {
    text-align: right;
}

.total {
    font-weight: bold;
    font-size: 16px;
}

.terms {
    margin-top: 20px;
    border-top: 1px solid #000;
    padding-top: 10px;
}
