﻿/*.card-columns {
    column-count: 5;
    column-gap: 1rem;
}

@media (max-width: 767px) {
    .card-columns {
        column-count: 1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .card-columns {
        column-count: 2;
    }
}
*/

.carousel-item.saddle {
    background-image: url('/assets/img/carousel/business-cards.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item.casebound {
    background-image: url('/assets/img/carousel/casebound.jpg');
    background-repeat: no-repeat;
}

.carousel-item.document {
    background-image: url('/assets/img/carousel/document-folders.jpg');
    background-repeat: no-repeat;
}

.carousel-item.bound {
    background-image: url('/assets/img/carousel/perfect-bound-books.jpg');
    background-repeat: no-repeat;
}

.carousel-item.stitched {
    background-image: url('/assets/img/carousel/stitched.jpg');
    background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
    #sub-menu-bar {
        display: none !important;
    }
}

.modal-content {
    overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - var(--bs-modal-margin) * 2);
}

.state-indicator {
    display: inline-flex;
    gap: 4px;
    vertical-align: middle;
}

    .state-indicator .circle {
        width: 8px;
        height: 8px;
        border: 2px solid black; 
        border-radius: 50%;
        display: inline-block;
    }



.modal-xl {
    max-width: 96vw; /* or any custom value like 1200px */
}
.modal-xl .modal-body {
    height: 70vh !important;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #f5f5f5;
    }
}

.truncate-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
}


.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #800080;
    color: white;
    margin-right: 8px;
}

    .icon-circle i {
        font-size: 18px;
        line-height: 1;
    }



sup.mandatory {
    color:#ff0000;
}

.question {
    background-color: #9f5997;
    color:#fff;
}

.answer {
    background-color: #ffa66f;
    color:#fff;
}

label {
    font-weight: bold;
    font-size: 13px;
    color: #343434;
}

.form-select, .form-control, table {
    font-size: 13px;
}


.contact-card {
    text-align: center;
    color: #fff !important;
}

.contact-card img {
    border-radius: 50%;
    margin-bottom: 10px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.key-contacts {
    background-color: #29b6c2;
    padding: 20px 0;
}

.key-contacts h2 {
    color: #fff;
    margin-bottom: 30px;
}

.claculation-result {
    display: block;
    font-size: 20px;
    color: #F7901E;
    font-weight: bold;
    margin-top: 0.35rem;
}

.dv-top-menu a{
    color: rgb(68,68,68);
}

.social-links {
    margin-bottom: 2px !important;
}


.social-links a {
    color: #000;
}

.date-box {
    display: inline-block;
    background: #f0f0f0; /* Light grey background */
    padding: 5px 10px;
    margin-right: 10px;
    text-align: center;
    border: 1px solid #ccc; /* Light grey border */
    width: 45px;
}

.date {
    font-size: 16px; /* Larger font size for date */
    font-weight: bold;
}

.month {
    font-size: 12px; /* Smaller font size for month */
    text-transform: uppercase; /* Capitalize month */
}

.nav-link {
    display: inline; /* Align with date box */
    vertical-align: top;
}

.news-content {
    display: inline-block;
    vertical-align: top;
    max-width: calc(100% - 60px); /* Adjust width according to the date box width */
}

.posted-by {
    font-size: 12px; /* Smaller font for subtlety */
}

.product-card {
    height: 490px !important;
}

.product-card div {
    height: 50%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}


.contact-us-divider {
    background-image: url('../img/background/contact-us.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.contact-details i{
    font-size: 42px !important;
}

.contact-details span {
    font-size: 22px;
    border-bottom: solid 1px #ecebeb;
}

.dv-carousel-title {
    position: absolute;
    background-color: #fff;
    width: 300px;
    text-align: center;
    right: 5%;
    top: 10%;
    font-size: 24px;
    padding: 15px 15px;
    color: #29B4A1;
    font-weight: bold;
    font-family: Montserrat, sans-serif;
}

.dv-carousel-description {
    position: absolute;
    background-color: #fff;
    width: 650px;
    top: 35%;
    right: 5%;
    padding: 20px 20px;
    font-family: Montserrat, sans-serif; 
    font-feature-settings: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 17.6px;
    font-stretch: 100%;
    font-style:normal;
    font-variant-alternates:normal;
    font-variant-caps:normal;
    font-variant-east-asian:normal;
    font-variant-ligatures:normal;
    font-variant-numeric:normal;
    font-variant-position:normal;
    font-variation-settings:normal;
    font-weight:400;
    line-height:25px;
    text-align:left;
    text-size-adjust:100%;
}

.carousel-item a {
    position: absolute;
    top: 74%;
    right: 5%;
    border-radius: 0px;
}

.carousel-container {
    background-color: #9ecdd3;
}

.shopping-cart-card {
    background-color: #e3f4fc;
    border-left: solid 2px #536f86;
    border-bottom: solid 2px #536f86;
}

.cart-notes {
    color: #536f86;
}

.shopping-cart-items-product-name {
    background-color: #36a5b6;
    color: #fff;
    font-weight: bold;
}

.shopping-cart-items-product-description {
    background-color: #edeef0;
    color: #000;
}

.shopping-cart-footer {
    background-color: #dee9ff;
    font-weight: bold;
}

.error {
    color: #ff0000;
}

.product-name {
    background-color: #dee8ff;
}

.product-quantity {
    background-color: #36a5b5;
    font-weight: bold;
}
.product-remaining {
    background-color: #6f1064;
    font-weight: bold;
}
.finance {
    font-family: 'Open Sans', monospace
}

.dv-data {
}

.dv-data:hover {
    background-color: lightcyan !important;
}


.card-order .nav-link {
    color: #fff !important;
}

.card-order .active {
    color: #000 !important;
}



.main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .thumbnail:hover {
        transform: scale(1.1);
    }

    .thumbnail.active {
        border: 3px solid #36a5b5;
    }


.faq-icon {
    display: inline-block;
    color: #ffffff; /* Brightens the icon on hover */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Makes shadow more pronounced */
    padding: 5px; /* Space inside the border */
    text-decoration: none; /* No underline */
    font-size:28px;
}

    .faq-icon:hover {
        color: #d7edf0; /* Brightens the icon on hover */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Makes shadow more pronounced */
    }


.lnk-card .card:hover {
    background-color: #36a5b5;
    color: #fff;
}
.lnk-card .card span {
    font-weight: bold;
}

.list-unstyled li i {
    font-size: 22px;
    color: #36a5b6;
    margin-right: 15px;
}


.b-multi-select__item {
    background-color: #007bff !important; /* Bootstrap Primary */
    color: white !important;
    border-radius: 20px;
    padding: 6px 12px;
    margin: 4px;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

    .b-multi-select__item .close {
        font-size: 16px;
        margin-left: 8px;
        cursor: pointer;
    }


.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.nav-group-title {
    color: #b53690 !important;
}

.credit-note {
    color: darkgreen !important;
    font-weight: bold;
}

.sticky-payment-box {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1000;
    width: 240px;
}


.sticky-payment-box-debtor {
    position: fixed;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    width: 60vw;
}
.sticky-payment-box-invoices {
    position: fixed;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    width: 60vw;
}

.hover-shadow:hover {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.circle-button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}


.flatpickr-calendar {
    z-index: 1056 !important;
}

@media (max-width: 575.98px) {
    #fullWidthCarousel {
        height: 40vh !important;
    }

    .carousel-inner,
    .carousel-item {
        height: 40vh !important;
    }

    .dv-carousel-description {
        font-size: 0.9rem;
        line-height: 1.4;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100%;
        display: block;
        box-sizing: border-box;
        padding-left: 10px;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-left:50px;
    }


    .carousel-item img {
        height: 100% !important;
        object-fit: cover !important; /* ensures image scales without distortion */
    }
}
