﻿/* Webstore Global Stylesheet */

.clickable {
    cursor: pointer;
}

.cd-logo {
    z-index: 1000;
}

/*Loader animation*/

.cubeloader {
    margin: 10vh auto;
    width: 22px;
    height: 22px;
    position: relative;
}

.cube1, .cube2 {
    background-color: #4c5fcb;
    width: 13px;
    height: 13px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
    animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}



@-webkit-keyframes sk-cubemove {
    25% {
        -webkit-transform: translateX(24px) rotate(-90deg) scale(0.5)
    }

    50% {
        -webkit-transform: translateX(24px) translateY(24px) rotate(-180deg)
    }

    75% {
        -webkit-transform: translateX(0px) translateY(24px) rotate(-270deg) scale(0.5)
    }

    100% {
        -webkit-transform: rotate(-360deg)
    }
}

@keyframes sk-cubemove {
    25% {
        transform: translateX(24px) rotate(-90deg) scale(0.5);
        -webkit-transform: translateX(24px) rotate(-90deg) scale(0.5);
    }

    50% {
        transform: translateX(24px) translateY(24px) rotate(-179deg);
        -webkit-transform: translateX(24px) translateY(24px) rotate(-179deg);
    }

    50.1% {
        transform: translateX(24px) translateY(24px) rotate(-180deg);
        -webkit-transform: translateX(24px) translateY(24px) rotate(-180deg);
    }

    75% {
        transform: translateX(0px) translateY(24px) rotate(-270deg) scale(0.5);
        -webkit-transform: translateX(0px) translateY(24px) rotate(-270deg) scale(0.5);
    }

    100% {
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
    }
}


@media (min-width: 1474px) {
    .hide-h-slider {
        display: none !important
    }
}

@media (max-width: 1473px) {
    .show-v-slider {
        display: none !important
    }
}

@media (max-width: 1015px) {
    .front .item-value {
        font-size: 18px;
    }
}

@media (max-width: 766px) {
    .front .item-value {
        font-size: 22px;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 700px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 950px;
    }
}

.increase-box {
    padding: 15px;
    background-color: #efefef;
}

    .increase-box h3 {
        font-size: 1.95rem;
    }

@media only screen and (max-width: 990px) {
    .increase-box {
        min-height: 135px !important;
    }
}

.invisible {
    display: none !important;
}

/*Webstore Cart Redesign*/

.cart-total {
    padding-bottom: 10px;
}

.cart-product, .cart-product-total {
    padding: 5px 0 10px 5px;
}

.btn-cart-continue, .btn-cart-cancel, .btn-cart-proceed {
    padding-bottom: 15px;
}

.cart-product-container, .cart-coupon, .cart-total, .cart-conditions, .cart-checkout {
    padding-bottom: 0px;
}

.btn-cart-continue, .btn-cart-checkout, .btn-cart-cancel, .btn-cart-proceed {
    padding-bottom: 0px;
}

.btn-cart-proceed {
    padding-right: 0px !important;
}

.btn-cart-quote button, .btn-cart-quote a {
    margin-bottom: 10px;
}

.cart-product-container {
    border: 1px solid #f1efef;
    background: #ffffff;
    padding: 5px 15px;
    margin: 10px 0;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
}

.cart-total-container, .cart-quote-container {
    border: 1px solid #f1efef;
    background: #ffffff;
    padding: 10px;
    margin: 10px 0;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
}

.tenant-input-card {
    cursor: default !important;
    border: 1px solid #ebebeb;
    background-color: #f9f9f9;
    padding: 15px 0px;
    border-bottom: 3px solid #f1efef;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.06);
}

.btn-cart-item-update::before {
    font-family: fontAwesome;
    content: "\f021\00a0 ";
}

.btn-cart-item-remove::before {
    font-family: fontAwesome;
    content: "\f014\00a0 ";
}

.excl-vat-container {
    font-size: 12px;
    font-weight: bold;
    opacity: 0.75;
}

.cust-action-buttons {
    padding-top: 22px;
}


@media screen and (max-width: 1199px) {
    .cust-action-buttons {
        padding-top: 0px;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 1290px) {
    .checkout-btn .btn-lg {
        font-size: 1.5rem;
    }
}

.cart-sticky-sidebar {
    position: sticky;
}

.item-total {
    font-size: 2rem;
    color: #636c72;
}

h3.TotalPrice {
    font-size: 2.3rem;
}

.font-11 {
    font-size: 11px;
}



/*---Bootstrap 5 Global---*/


@keyframes alert-gradient {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(1px 1px 3px #c9c9c9);
    }

    45% {
        background-position: 100% 50%;
        filter: drop-shadow(0px 0px 0px #edebeb);
    }
}

@keyframes notification-pulse {
    0%, 90% {
        background-color: #e70909;
    }

    45% {
        background-color: #c41e1e;
    }
}

@keyframes fa-beat-sml {

    0%, 90% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.12);
    }
}

.fa-beat-sml {
    animation-name: fa-beat-sml;
    animation-delay: var(--fa-animation-delay, 0s);
    animation-direction: var(--fa-animation-direction, normal);
    animation-duration: var(--fa-animation-duration, 1s);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

@media (min-width: 768px) {
    .col-md-11 {
        max-width: 91.66666667%;
    }
}

body.bs-over-write {
    position: relative;
}

.bs-over-write .subCart div.cart-items {
    overflow-y: auto;
    overflow-x: hidden;
}

.bs-over-write .item-cost span.badge.badge-cart {
    left: 0px;
    top: -2px;
}

.bs-over-write .subCart ol.items li div.item-container div.close-icon {
    right: 10px;
}

/*------ Button click Function - Timed Disable and Cursor Wait ------*/

.disable-btn {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.cursor-loading {
    cursor: wait !important;
}

.btn-forms, .btn-forms i {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

button:focus {
    outline: none !important;
    outline: none !important;
}

/*Skeleton Styling*/

.skeleton-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 10px;
}

    .skeleton-container .arrow {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9ca3af;
        cursor: pointer;
        background: none;
        border: none;
    }

        .skeleton-container .arrow svg {
            width: 50px;
            height: 50px;
        }

    .skeleton-container .cards-wrapper {
        display: flex;
        gap: 2rem;
        flex: 1;
        justify-content: space-around;
    }

    .skeleton-container .skeleton-product-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 16rem;
    }

    .skeleton-container .product-image {
        width: 200px;
        height: 168px;
        margin-bottom: 1rem;
    }

    .skeleton-container .product-image-small {
        width: 160px;
        height: 72px;
        margin: 1rem 0;
    }

    .skeleton-container .product-title {
        height: 1.25rem;
        width: 10rem;
        margin-bottom: 1.5rem;
    }

    .skeleton-container .price-section {
        margin-bottom: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .skeleton-container .skeleton.price {
        height: 50px;
        width: 90px;
        margin-bottom: 0.25rem;
    }

    .skeleton-container .button-section {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .skeleton-container .info-icon {
        width: 31px;
        height: 40px;
        background-color: #9ca3af;
    }

    .skeleton-container .action-button {
        width: 150px;
        height: 40px;
        background-color: #93c5fd;
    }

    .skeleton-container .offers-text {
        height: 21px;
        width: 103px;
        margin-top: 10px;
    }

.skeleton-nav {
    font-size: 1.15rem;
    display: inline-block;
    width: 140px;
    height: 25px;
    border-radius: 0rem !important;
}

.skeleton-row {
    font-size: 1.15rem;
    display: inline-block;
    width: 100%;
    height: 112px;
}

.skeleton-line {
    display: inline-block;
    width: 100%;
    height: 60px;
}

.skeleton {
    background-color: #d1d5db;
    border-radius: 0.5rem;
    animation: skeleton-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Username confirmation popup */

.username-popup .modal-dialog {
    max-width: 620px;
    padding: 1.5rem;
}

.username-popup__content {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.username-popup__header {
    display: block;
    padding: 2rem 2.25rem;
    color: #636c72;
    border: none;
    background-color: #F7F7F7;
    background-image: none !important;
}

.username-popup__heading {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.username-popup__icon {
    display: inline-flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
    color: #636c72;
    border: 1px solid #636c72;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
}

.username-popup__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
}

.username-popup__description {
    margin: 0.6rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

.username-popup__body {
    padding: 2.25rem;
    background-color: #F7F7F7;
}

.username-popup__message {
    margin: 0 0 1.75rem;
    padding: 1rem 1.25rem;
    line-height: 1.5;
}

.username-popup__current {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8fafc;
}

.username-popup__current-label {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.username-popup__current-value {
    overflow-wrap: anywhere;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #1e293b;
}

.username-popup__field {
    margin: 0;
}

.username-popup__field .form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: #636c72;
}

.username-popup__field .input-group {
    margin-bottom: 0.75rem;
}

.username-popup__field .input-group-text {
    min-width: 48px;
    justify-content: center;
    color: #64748b;
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.username-popup__field .form-control {
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-color: #cbd5e1;
}

.username-popup__field .form-control:focus {
    border-color: #4c5fcb;
    box-shadow: 0 0 0 0.2rem rgba(76, 95, 203, 0.18);
}

.username-popup__field .form-text {
    margin-top: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #64748b;
}

.username-popup__field .invalid-feedback {
    margin-top: 0.5rem;
}

.username-popup__footer {
    gap: 1rem;
    padding: 1.5rem 2.25rem;
    border: none;
    background-color: #f8fafc;
}

.username-popup__footer .btn {
    min-width: 145px;
    min-height: 44px;
    padding: 0.65rem 1.25rem;
}
#usernamePopupSubmit {
    min-height: 25px;
    background-color: #e94d2e;
}
.username-popup__submit-loading {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
}

.username-popup__submit-loading[hidden],
.username-popup__submit-label[hidden] {
    display: none;
}

@media (max-width: 575.98px) {
    .username-popup .modal-dialog {
        margin: 0.75rem;
        padding: 0;
    }

    .username-popup__header {
        padding: 1.5rem;
    }

    .username-popup__body {
        padding: 1.75rem 1.5rem;
    }

    .username-popup__footer {
        align-items: stretch;
        flex-direction: column-reverse;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .username-popup__heading {
        gap: 1rem;
        align-items: flex-start;
    }

    .username-popup__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .username-popup__title {
        font-size: 1.35rem;
    }

    .username-popup__description {
        margin-top: 0.4rem;
    }

    .username-popup__current {
        margin-bottom: 1.5rem;
        padding: 1rem 1.15rem;
    }

    .username-popup__footer .btn {
        width: 100%;
    }
}