﻿.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #784d96;
        border-radius: 50%;
        animation: lds-ring 1.6s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #784d96 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.6s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #784d96;
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.blazored-toast-container {
    z-index: 1000000;
}

.loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.7s, z-index 0.7s linear;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

    .loader-wrapper .loader {
        height: 80px;
        width: 80px;
        margin: 0 auto;
    }

    .loader-wrapper.is-active {
        opacity: 0.9;
        z-index: 999;
    }

        .loader-wrapper.is-active.is-relative {
            z-index: 1;
        }

        .loader-wrapper.is-active.is-overlay-fullscreen {
            position: fixed;
            opacity: 0.98;
        }

/*Drag and Drop CSS*/
tr.dd-item, div.dd-spacing {
    border: 1px white dotted;
}

.table.is-hoverable tbody tr.is-not-hoverable:hover {
    background-color: initial !important;
}

.dd-inprogress > * {
    pointer-events: none !important;
}

tr.dd-is-target, div.dd-spacing.dd-spacing-is-target {
    border-color: #784d96;
}

.dd-spacing {
    height: 10px;
    padding-left: 100px;
}

    .dd-spacing:hover {
        background-color: initial;
    }

.table td.has-no-border {
    border: 0;
}

/* Icon Picker */
.icons-area > i {
    cursor: pointer;
    transition: all .2s ease-in-out;
    font-size: 31px;
    line-height: 36px;
    border-radius: 5px 5px 0 0;
    min-width: 50px;
    text-align: center;
}

    .icons-area > i:hover {
        transform: scale(1.8);
        z-index: 2;
        -moz-box-shadow: 0 0 14px -6px rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 16px -6px rgba(0, 0, 0, 0.5);
        background: #fff;
        color: #784d96;
    }

/* articleInformation */
#articlecard {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    max-width: 500px;
    display: flex;
}

#left,
#right {
    background-color: rgba(255, 255, 255, 0.9);
    width: 45%;
    display: inline-block;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.ck.ck-editor__editable:not(.ck-editor__nested-editable) {
    min-height: 15vh;
}

/* Shopping Cart */
input.cart[type=number] {
    background-color: #f1f1f1;
    width: 80px;
}

button.button.cart {
    width: 42px;
}

.file-reference-list-picture picture img.is-placeholder {
    max-width: 50px;
}

.card-image img.is-placeholder {
    width: 50%;
}

.calculator-table-highlight-primary {
    background-color: #a0b697 !important;
}

.calculator-table-highlight-secondary {
    background-color: #a0b697 !important;
}

.is-relative .icon.is-selected {
    left: -22px;
    top: -1px;
}

.select-arrow::after {
    inset-inline-end: 1.125em;
    z-index: 4;
    border: .125em solid var(--bulma-arrow-color);
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: .625em;
    margin-top: -0.4375em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
    transform-origin: center;
    transition-duration: var(--bulma-duration);
    transition-property: border-color;
    width: .625em;
    transition: transform .2s ease-out;
}

body {
    z-index: 0;
    position: relative;
}

header#header {
    z-index: 100;
    position: relative;
}

.image-carousel img {
    height: 80vh;
    width: 80vw;
    object-fit: contain;
}

.chartJsContainer canvas {
    width: 100% !important;
}

.has-custom-scroll-limits {
    overflow-y: auto;
    scrollbar-width: thin;
}

.hover-preview .overlay {
    opacity: 0;
    transition: opacity .2s ease-in-out;
    background-color: rgba(237, 237, 237, 0.1);
}

.hover-preview:hover .overlay {
    opacity: 1;
}

.hover-preview:hover img {
    filter: brightness(70%);
    transition: filter .2s ease-in-out;
}
