:root {
    --nav_ul_bg: rgba(255, 255, 255, 0.851);
    --nav_btn_wh: 50px;
}

.fa,
.fas,
.far,
.fab {
    color: teal !important;
}

.btn-default {
    background: teal !important;
    color: white !important;
}

.btn-default .fas {
    color: white !important;
}

.btn-default .far {
    color: white !important;
}

.bg-gradient-info .fas {
    color: white !important;
}

.form-group>label {
    /*top: 18px;*/
    left: 6px;
    position: relative;
    background-color: white;
    padding: 0px 5px 0px 5px;
    font-size: 0.9em;
    color: teal;
    /*z-index: 1;*/
}

div.client_autocomplete ul li:hover {
    background: #1284C9;
    color: white;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: white !important;
}

.form-group {
    margin-bottom: 2px !important;
}

li.nav-item p {
    color: var(--gray-dark);
    text-shadow: 0 0 coral;
    font-size: large;
}

.table_black_border td,
.table_black_border th {
    border: 1px solid #000;
}

ul li:hover div .dropdown-item {
    display: block;
    /* Display the dropdown */
}

.top_nav_links {
    display: flex;
    border-radius: 100px;
    padding: 0px 10px;
    gap: 10px;
}

.top_nav_links .nav-item {
    padding: 5px;
}

.top_nav_links .nav-item .nav-link {
    padding: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
}

.top_nav_logo {
    padding: 5px 10px;
    border-radius: 500px;
    padding-right: 30px;
}

.top_nav_logo * {
    margin: 0;
}

.top_nav_drop_control {
    margin-left: auto;
    display: none;
}

.top_nav_drop_control .top_nav_drop_btn {
    --control_btn_wh: 50px;
    border: none;
    width: var(--control_btn_wh);
    height: var(--control_btn_wh);
    border-radius: 50px;
    background: var(--nav_ul_bg);
}
.top_nav_drop_control .top_nav_drop_btn svg {
    width: 35px;
    height: 35px;
}
.dropdown-menu a {
    margin: 0;
}
.dropdown-item {
    transition: all 0.2s ease-in-out;
}
.dropdown-item:hover {
    padding-left: 20px;
}
.dropdown-item i {
    color: #000 !important;
}
.navbar-nav,
.nav-sidebar {
    background: rgba(255, 255, 255, 0.788);
}

@media (max-width: 1400px) {
    .top_nav_links {
        padding: 0 10px !important;
        padding-right: 10px;
    }

    .top_nav_logo {
        padding-right: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .top_nav_links {
        padding: 0 20px !important;
    } 
}

@media (max-width: 1100px) {
    .navbar-light .navbar-nav .nav-link {
        margin-top: 0;
        flex-direction: column;
        height: auto;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .top_nav_drop_control {
        display: block;
    }

    .top_nav_links {
        position: absolute;
        flex-direction: column !important;
        right: 20px;
        top: 100%;
        min-width: 300px;
        background-color: #fff;
        box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.3);
        border-radius: 5px;
        padding: 0 !important;
        transform: scale(0);
        transform-origin: top center;
        transition: all 0.4s cubic-bezier(0.34, 1.61, 0.7, 1);
    }

    .top_nav_links .nav-item {
        padding: 0;
    }
    

    .top_nav_links.active {
        display: block;
        transform: scale(1);
    }

    .top_nav_links .dropdown-menu {
        position: relative !important;
    }

    .top_nav_drop_btn svg {
        transition: all 0.2s ease-in-out;
    }

    .top_nav_drop_btn.active svg {
        transform: rotate(180deg);
    }

    .top_nav_logo {
        padding: 10px;
    }

    .nav-item.show .nav-link {
        background: #94fff1;
    }

    .navbar-light .navbar-nav .nav-link {
        flex-direction: row;
        padding: 4px 10px;
    }
    .nav-item .nav-link:hover {
        background: rgba(148, 255, 241, 0.5) !important;
    }

    .navbar-light .nav-item:not(:last-child) .nav-link {
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 575px) {
    .top_nav_logo {
        width: var(--nav_btn_wh);
        height: var(--nav_btn_wh);
        display: grid;
        place-content: center;
    }
    .top_nav_links {
        right: 10px;
        min-width: 280px;
    }
}

.collection_page_form {
    display: flex;
}

@media (max-width: 992px) {
    .collection_page_form {
        flex-direction: column;
    }
}

.nav-sidebar {
    border-radius: 6px;
}

/*.form-control:hover {*/
/*    border-color: #333;*/
/*}*/



/*start calculator style */
.right-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.calculator-icon {
    cursor: pointer;
    background: #4CAF50;
    padding: 4px 10px 1px 10px;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.calculator-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 190px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.calc-wrapper {
            position: relative;
            display: inline-block; }
        .calc-wrapper:before {
            content: "";
            display: block;
            background: url("https://raw.githubusercontent.com/JuliaStP/Calc/master/img/decor/calc-back.png") center center no-repeat;
            width: 603px;
            height: 682px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); }

        .calc {
            border-radius: 12px;
            background-color: #f2f2f2;
            width: 400px;
            height: 458px;
            box-shadow: 0px 25px 35px 0 rgba(0, 0, 0, 0.4);
            position: relative;
            padding: 20px 9px 0; }

        .calc__display {
            border-radius: 6px;
            background-color: #202020;
            box-shadow: 0px 2px 0px 0px rgba(255, 255, 255, 0.004), inset 0px 1px 3px 0px rgba(23, 16, 25, 0.45);
            width: 100%;
            height: 86px;
            margin-bottom: 73px; }

        .calc__display-input {
            width: 100%;
            height: 100%;
            line-height: 86px;
            font-size: 62px;
            font-family: 'digital-7', serif;
            background: transparent;
            border: 0 none;
            color: #fff;
            text-align: right;
            padding: 0 15px;
            outline: none !important; }
        .calc__display-input::-webkit-input-placeholder {
            color: #2c2c2c; }

        .calc__table {
            width: 100%; }

        .calc__buttons-row td {
            border-left: 15px solid transparent;
            border-bottom: 15px solid transparent;
            vertical-align: top; }
        .calc__buttons-row td:first-child {
            border-left: 0 none; }

        /***************************
          Btns
        ****************************/
        .calc .btn{
            width: 60px;
            height: 30px;
            background-color: #f4f4f4;
            border: 1px solid #eaeaea;
            font-size: 20px;
            color: #666666;
            text-transform: uppercase;
            text-align: center;
            text-decoration: none;
            border-radius: 6px;
            padding: 0;
            cursor: pointer;
            display: block;
            transition: .3s;
            outline: none !important;}

        .btn:hover{
            background: #dfdcdc;}

        .btn_hover_blue:hover{
            background-color: #52b3fb;
            color: #f2f2f2;
            
        }

        .btn_hover_red:hover{
            background-color: #d83e3e;
            color: #f2f2f2;
            
        }

        .btn_long{
            width: 100%;
            
        }

        .btn_tall{
            height: 120px;
            /*line-height: 190px;*/
            
        }

/*end start calculator style */

.supplier_select_li {
    padding: 5px 0px;
    border-top: 1px solid #00000022;
    cursor: pointer;
}

/* CSS Of Scrollable Product Categories */
.scrollable-div {
    max-height: 300px; /* Set the desired height */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 300px;
}
.category {
    /*width:100%;*/
    padding: 5px;
    border-bottom: 1px solid #ddd;
}
.category:last-child {
    border-bottom: none;
}

.product {
    /*width:100%;*/
    /*padding: 5px;*/
    border-bottom: 1px solid #ddd;
}
.product:last-child {
    border-bottom: none;
}


.active-tab {
    font-weight: bold;
    color: white;
    background-color: #f97316;
}


.card-body {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 0 1.25rem 1.25rem 1.25rem !important;
    margin-top: -8px;
}
.card-header {
    padding: 10px 1.25rem .75rem 1.25rem !important;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 0 solid rgba(0, 0, 0, .125);
}

.fixed-bottom{
    left: 9%;
    bottom: 5%;
    transform: translateY(-50%);
    max-width: 50%;
    position: fixed;
    right: 0;
    z-index: 1030;
}
@media (max-width: 576px) {
    .fixed-bottom {
        left: 9%;
        bottom: 4%;
        max-width: 90%;
    } 
}

.label {
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: center;
    font-size: 11px;
    padding: 3px 4px;
    line-height: .9;
}
.label-danger {
    background-color: #dd4b39 !important;
    color: #fff;
}


#imageModal .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#imageModal .modal-content {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%; 
    overflow-y: auto;
    text-align:center;
}

#imageModal .close {
    position: absolute;
    top: -2px;
    right: 24px;
    font-size: 35px;
    color: black;
    cursor: pointer;
    z-index: 9999;
}

/*.floating_invoice_save_mobile {*/
/*    position: fixed;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    box-shadow: 0 -4px 5px -3px rgba(0, 0, 0, .1);*/
    /*background-color: #fff;*/
/*    width: 100%;*/
/*    z-index: 3;*/
/*    height: 111px; */
/*    padding: 10px; */
/*}*/
@media (max-width: 768px) {
    .floating_invoice_save_mobile {
        position: fixed;
        top: 2px;
        left: 63px;
        /*box-shadow: 0 -4px 5px -3px rgba(0, 0, 0, .1);*/
        /*background-color: #fff;*/
        width: 65%;
        z-index: 9999;
        /* height: 111px; */
        /* padding: 10px; */
    }
}
.scrollable-div-mobile {
    max-height: 532px; /* Set the desired height */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ccc;
    /*padding: 10px;*/
    min-height: 380px;
}

/*invoice for mobile amount button style*/
.bg-container {
  /*position: relative;*/
  display: inline-block; 
  border-radius: 12px;
  overflow: hidden; 
}

/* Image */
.bg-img {
  display: block;
  width: 100%;  
  height: auto;
}

/* Overlay text */
.overlay-text {
  position: absolute;
  top: 50%;              
  right: 7px;           
  transform: translateY(-50%);
  color: white;
  
  padding: 10px 15px;
  border-radius: 8px;
  max-width: 40%;       
}

.btn{
    border-radius: 21px;
}
.custom-ribbon .ribbon{
  display:inline-flex;
  position:relative;
  font-family: Arial, sans-serif;
}
.custom-ribbon .ribbon__main{
  background:linear-gradient(135deg,#00b389,#02d0a1);
  color:#fff; 
  padding:7px 20px 4px 20px;
  border-radius:15px 0 0 15px;
  border:none; 
  font-weight:bold;
}
.custom-ribbon .ribbon__tag{
  background:#08a67f; 
  color:#fff; 
  padding:5px 20px;
  border-radius:0 15px 15px 0;
  font-weight:bold;
  position:relative;
}
.custom-ribbon .ribbon__tag::after{
  content:""; 
  position:absolute; 
  left:-12px; 
  top:50%; 
  transform:translateY(-50%);
  width:22px; 
  height:28px; 
  background:#08a67f;
  clip-path:polygon(100% 0, 0 50%, 100% 100%);
}