@import url("root.css");

.w-1 {
    width: 1% !important;
}
.w-2 {
    width: 2% !important;
}
.w-3 {
    width: 3% !important;
}
.w-4 {
    width: 4% !important;
}
.w-5 {
    width: 5% !important;
}
.w-10 {
    width: 10% !important;
}
.w-15 {
    width: 15% !important;
}
.w-20 {
    width: 20% !important;
}
.w-25 {
    width: 25% !important;
}
.w-30 {
    width: 30% !important;
}
.w-35 {
    width: 35% !important;
}
.w-50 {
    width: 50% !important;
}
.w-60 {
    width: 60% !important;
}
.w-70 {
    width: 70% !important;
}
.w-80 {
    width: 80% !important;
}
.w-90 {
    width: 90% !important;
}
.w-100 {
    width: 100% !important;
}

.layout-menu img {
    width: 100% !important;
    padding: 1rem;
}

.layout-menu .main-logo {
    width: 100% !important;
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}
.layout-menu .small-logo {
    display: none;
    width: 25%;
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

.layout-menu-collapsed .main-logo {
    display: none;
}

.layout-menu-collapsed .small-logo {
    display: block;
}

.layout-menu-collapsed.layout-menu-hover .main-logo {
    display: block;
}
.layout-menu-collapsed.layout-menu-hover .small-logo {
    display: none;
}

.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle) {
    background: linear-gradient(
        92deg,
        var(--bs-primary) 22.16%,
        var(--bs-primary-light3) 76.47%
    );
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--bs-primary) !important;
}
a:hover {
    color: var(--bs-primary-light) !important;
}
.breadcrumb-item,
.breadcrumb-item.active {
    color: var(--bs-breadcrumb-item-active-color) !important;
}
.btn-primary:hover {
    color: #fff !important;
    background-color: var(--bs-primary-light) !important;
    border-color: var(--bs-primary-light3) !important;
}
.btn-light {
    color: #fff;
    background-color: var(--bs-primary-light);
    border-color: var(--bs-primary-light);
}

.readonly-look {
    background-color: #e9ecef !important;
    cursor: not-allowed;
    pointer-events: none;
}

.dots-loader {
    display: flex;
    gap: 8px;
}

.dots-loader div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #0d6efd;
    animation: bounce 0.6s infinite alternate;
}

.dots-loader div:nth-child(2) {
    animation-delay: 0.2s;
}

.dots-loader div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-15px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.dot-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.dot-loader span {
    width: 10px;
    height: 10px;
    background-color: #007bff;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.dot-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.dot-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-10px);
        opacity: 0.5;
    }
}

/* quotation print css */
@media print {
    .quotation_print .company_dv {
        width: 100% !important;
    }
    .quotation_print .invoice_dv,
    .quotation_print .billing_dv,
    .quotation_print .shipping_dv,
    .quotation_print .quotation_dv {
        width: 25% !important;
    }

    .quotation_print .per {
        float: right;
    }

    .quotation_print .invoice-preview .invoice-preview-header,
    .quotation_print .invoice-edit .invoice-preview-header,
    .quotation_print .invoice-add .invoice-preview-header {
        background-color: #ced7e0dc !important;
    }

    .quotation_print .rounded {
        border-radius: var(--bs-border-radius) !important;
    }

    .quotation_print .card-body {
        flex: 1 1 auto;
        padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
        color: var(--bs-card-color);
    }

    .quotation_print .main-logo {
        margin-left: -6px;
    }

    .quotation_print .border-panel {
        border-top: 3px solid #266bee !important;
        border-radius: 3px !important;
    }

    .quotation_print .text-right {
        text-align: right !important;
    }
}

.buy-now .btn-buy-now-primary {
    position: fixed;
    bottom: 3rem;
    right: 1.5rem;
    z-index: 1080;
    box-shadow: 0 1px 20px 1px #266bee !important;
}

.scrolling-text {
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    padding-left: 35%; /* push text to right off-screen */
}

.scrolling-text h5 {
    color: red !important;
}

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

.expired-row {
    background-color: #ffe5e5 !important;
}

.text-white-important {
    color: #ffffff !important;
}
table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

.table-without-style td {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
}

/* .table-without-style td input[type="checkbox"],
.table-without-style td input[type="radio"] */
.table-without-style td input:not([type="checkbox"]):not([type="radio"]) {
    border-radius: 0 !important;
    padding: 1px !important;
    border: 0px !important;
    padding-left: 10px !important;
}

/* .table-without-style td input:not([type="checkbox"]):not([type="radio"]) {
    border-radius: 1px !important;
    border: 1px !important;
} */
