﻿.terms {
    height: 300px;
}

.item-browser-img > img {
    width: 35px;
    height: 35px;
}

.img-display-none {
    display: none;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.btn-disabled {
    pointer-events: none;
}

.wrapper {
    cursor: not-allowed;
}

.span-color {
    color: white;
}

.img-magnifier-container {
    position: relative;
    display: inline-block;
}

.img-magnifier-lens {
    position: absolute;
    border: 1px solid #d4d4d4;
    width: 150px;
    height: 150px;
    border-radius: 5px;
    cursor: none;
    display: none;
    pointer-events: none;
}

.item-img {
    border-radius: 5px;
    cursor: pointer;
}

#modal-img {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

#img-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.6s;
    -webkit-animation: zoom 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

#modal-img .close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white !important;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

    #modal-img .close-modal:hover,
    #modal-img .close-modal:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

@media only screen and (max-width: 700px) {
    #modal-img .modal-content {
        width: 100%;
    }

    #img-content {
        width: 100%;
    }
}

.no-border {
    border-radius: 0px !important;
}

.img-height {
    max-height: 200px;
    height: 200px;
}

.breadcrumb {
    margin-bottom: 1rem !important;
    --bs-breadcrumb-bg: #e9ecef !important;
    background-color: var(--bs-breadcrumb-bg) !important;
    border-radius: .25rem !important;
    list-style: none !important;
    padding: 0.75rem 1rem !important;
}

body.modal-open #btnAddToCart,
body.modal-open #btnAddToBookingCart {
    display: none !important;
}

.card-footer.no-border-footer {
    border-top: 0 !important;
}

.card-neon-border {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 10px var(--bs-primary);
}

.data-text {
    font-size: 0.75rem !important;
}

.customExtraDiscPadding {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.line-toggle {
    border-bottom: 1px solid var(--bs-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--bs-primary);
}

.toggle-icon {
    transition: transform 0.3s ease-in-out;
}

.line-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.items-flexbox {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    -ms-flex-pack: center;
}

.item-flex {
    flex: 0 0 calc(16.666% - 16px);
    max-width: calc(16.666% - 16px);
    margin: 8px;
}
.item-flex-cust {
    flex: 0 0 calc(50% - 16px);
    max-width: calc(50% - 16px);
    margin: 8px;
}

    .item-flex:hover {
        border-color: inherit;
    }

    .item-flex a {
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

@media (max-width: 1200px) and (min-width: 768px) {
    .item-flex {
        flex: 0 0 calc(25% - 16px);
        max-width: calc(25% - 16px);
    }
}

@media (max-width: 767.98px) {
    .navbar-toggler {
        background-color: var(--bs-primary);
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .custombtn-w-100 {
        width: 100% !important;
    }

    .customthead {
        display: none !important;
    }

    #quickItemList tbody tr td,
    #salesDocList tbody tr td {
        border: none !important;
        padding-bottom: 0.5rem;
    }

        #quickItemList tbody tr td:last-child,
        #salesDocList tbody tr td:last-child {
            border-bottom: 1px solid #dee2e6 !important;
            padding-bottom: 1rem;
        }

    .quickItemListCustom-center {
        text-align: center !important;
    }

    .quickItemListCustom-start {
        text-align: start !important;
    }

    .item-flex {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
        margin: 8px;
    }

        .item-flex .card-body {
            flex-shrink: 0;
            flex-grow: 0;
            padding: 0.5rem !important;
        }

        .item-flex .card-title {
            white-space: normal;
            word-wrap: break-word;
        }

    .customdt {
        margin-bottom: 7px !important;
    }

    .customExtraDiscPadding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
