﻿:root {
    --quick-actions-button-width: 30px;
}

.codli-toggle-holder {
    border-radius: 30px;
    border: 2px solid;
    cursor: pointer;
    transition: 500ms;
}

.codli-toggle-circle {
    margin-top: 1px;
    border-radius: 50%;
    border: 1px solid;
    display: inline-block;
    transition: 500ms;
}

/**PICTOGRAMS*/
.cdl-archive {
    background-image: url(./img/pictograms/archive.svg);
}

.cdl-codli {
    background-image: url(./img/pictograms/codli.svg);
}

.cdl-document {
    background-image: url(./img/pictograms/document.svg);
}

.cdl-executable {
    background-image: url(./img/pictograms/executable.svg);
}

.cdl-image {
    background-image: url(./img/pictograms/image.svg);
}

.cdl-music {
    background-image: url(./img/pictograms/music.svg);
}

.cdl-video {
    background-image: url(./img/pictograms/video.svg);
}

.cdl-web {
    background-image: url(./img/pictograms/web.svg);
}

.cdl-default {
    background-image: url(./img/pictograms/default.svg);
}

/**FILE UPLOADER*/
.blazing-file-uploader-files {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

    .blazing-file-uploader-files[data-codli-uploading="true"] > .blazing-file-square > .blazing-file-remove {
        display: none !important;
    }

.blazing-file-square {
    width: 150px;
    padding: 10px;
    margin: 10px;
    border-radius: 30px;
    box-shadow: 1px 1px 5px;
    position: relative;
}

button.blazing-file-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    border: 0px solid transparent;
    border-radius: 50%;
    font-size: 17px;
    width: 35px;
    height: 35px;
    background-color: var(--danger);
    color: white;
    box-shadow: 0px 0px 5px black;
    transition: 300ms;
    outline: none;
}

    button.blazing-file-remove:hover {
        background-color: #FFFFFF;
        color: var(--danger);
    }

img.blazing-rendered-file-img {
    object-fit: contain;
    width: 100%;
    height: 100px;
}

.blazing-file-name {
    font-size: 11px;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    height: 20px;
    line-height: 20px;
}

.blazing-file-image {
    height: 100px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.blazing-file-uploader-input {
    display: none;
}

.blazing-file-uploader-input-holder {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.blazing-file-uploader-progress {
    background-color: whitesmoke;
    padding: 20px 5px;
}

    .blazing-file-uploader-progress > h2 {
        font-family: var(--roboto-font);
        font-weight: 300;
        text-align: center;
        padding: 30px 10px;
    }

    .blazing-file-uploader-progress > h3 {
        font-family: var(--roboto-font);
        font-weight: 400;
        text-align: center;
        padding: 10px;
    }

/**PROGRESSBAR*/
.blazing-progress {
    height: 30px;
    background-color: #FFFFFF;
    border-radius: 30px;
    box-shadow: 2px 2px 5px #424242;
    width: 90%;
    margin: 10px auto;
    overflow: hidden;
}

.blazing-progress-bar {
    height: inherit;
    background-color: var(--codli-color-900);
    color: #FFFFFF;
    text-align: center;
    line-height: 30px;
    transition: 500ms;
    font-family: var(--roboto-font);
    font-weight: 300;
}

i.fas.fa-check-circle.blazing-file-uploader-result-icon {
    color: #107c10;
    font-size: 64px;
}

@media screen and (max-width: 767px) {
    :root {
        --quick-actions-panel-width: calc(90vw - var(--quick-actions-button-width) - 20px);
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    :root {
        --quick-actions-panel-width: 50vw;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    :root {
        --quick-actions-panel-width: 400px;
    }
}

@media screen and (min-width: 1200px) {
    :root {
        --quick-actions-panel-width: 400px;
    }
}

.blazing-quick-actions-holder-hidden > .blazing-quick-actions-panel,
.blazing-quick-actions-holder-hidden > .blazing-quick-actions-panel-background {
    right: calc(-1 * (var(--quick-actions-panel-width) + 20px)) !important;
}

.blazing-quick-actions-holder-hidden > .blazing-quick-actions-btn {
    right: 0 !important;
}

.blazing-quick-actions-holder {
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 7;
}

.blazing-quick-actions-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: var(--quick-actions-panel-width);
    border: none;
    width: var(--quick-actions-button-width);
    height: 60px;
    background-image: url(/_content/Blazings/bolt.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 300ms;
    cursor: pointer;
    outline: none;
}

    .blazing-quick-actions-btn:hover {
        box-shadow: 0 0 10px white;
    }

.blazing-quick-actions-panel::-webkit-scrollbar {
    display: none;
}

.blazing-quick-actions-panel {
    height: 100vh;
    width: var(--quick-actions-panel-width);
    display: flex;
    z-index: 10 !important;
    position: fixed;
    right: 0;
    top: 0;
    flex-direction: column;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 10px;
    transition: 300ms;
}

.blazing-quick-actions-panel-background {
    height: 100vh;
    width: var(--quick-actions-panel-width) !important;
    z-index: 9 !important;
    position: fixed;
    right: 0;
    top: 0;
    padding: 0 10px;
    transition: 300ms;
}

/**TOOLTIPS*/
.codli-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.codli-tooltip-span {
    visibility: hidden;
    position: absolute;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 1;
}

    .codli-tooltip-span::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.codli-tooltip-wrapper:hover .codli-tooltip-span {
    visibility: visible;
}

/** FLUENT BOOTSTRAP */
.badge {
    border-radius: 0 !important;
    box-shadow: 1px 1px 4px var(--dark) !important;
}

/**ORDERING INPUT*/
.blazings-ordering-box-element {
    border: 1px solid var(--codli-color-900);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.blzaings-ordering-elem-pos-action-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blazing-ordering-elem-pos {
    font-size: 16px;
    font-weight: 300;
    padding-right: 10px;
}

.blazing-ordering-elem-updown {
    padding: 0 2px;
    margin: 0 5px;
}

    .blazing-ordering-elem-updown > button.btn.btn-link {
        padding: 0px 0px;
        font-size: 24px;
        outline: none;
    }

        .blazing-ordering-elem-updown > button.btn.btn-link:hover {
            color: #FFFFFF !important;
        }

        .blazing-ordering-elem-updown > button.btn.btn-link:focus {
            outline: none;
            text-decoration: none !important;
        }

/*LIVE SEARCH*/
.live-search-input-holder {
    width: 90%;
}

    .live-search-input-holder > input[type=text] {
        width: inherit;
    }

    .live-search-input-holder > input[type=text] {
        width: inherit;
        height: 40px;
        border-width: 0 0 1px 0;
        border-color: var(--codli-color-900);
        padding: 10px;
        outline: none;
        transition: 300ms;
    }

        .live-search-input-holder > input[type=text]:focus {
            background-color: var(--codli-color-900);
            color: var(--codli-color-white);
            font-weight: 600;
            transition: 300ms;
        }

.live-search-results {
    display: flex;
    width: inherit;
    flex-wrap: wrap;
}

.live-search-result {
    width: inherit;
    height: 30px;
    cursor: pointer;
    border: 1px solid var(--codli-color-900);
    background-color: var(--codli-color-white);
    outline: none;
    margin-left: calc(5% - 2px);
}

    .live-search-result:hover {
        background-color: var(--codli-color-900);
        color: var(--codli-color-white);
    }

    .live-search-result:active {
        background-color: var(--codli-color-A700);
    }

/*ANIMATED BACKGROUND*/
@keyframes cube {
    from {
        transform: scale(0) rotate(0deg) translate(-50%, -50%);
        opacity: 1;
    }

    to {
        transform: scale(20) rotate(960deg) translate(-50%, -50%);
        opacity: 0;
    }
}

.blazings-animated-squared-background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #ffffff;
    overflow: hidden;
    z-index: -1;
}

    .blazings-animated-squared-background li {
        position: absolute;
        top: 80vh;
        left: 45vw;
        width: 10px;
        height: 10px;
        border: solid 1px #e5e5e5;
        color: transparent;
        transform-origin: top left;
        transform: scale(0) rotate(0deg) translate(-50%, -50%);
        animation: cube 18s ease-in forwards infinite;
    }

.blazings-animated-squared-background li:nth-child(0) {
    animation-delay: 0s;
    left: 24vw;
    top: 24vh;
}

.blazings-animated-squared-background li:nth-child(1) {
    animation-delay: 2s;
    left: 51vw;
    top: 50vh;
}

.blazings-animated-squared-background li:nth-child(2) {
    animation-delay: 4s;
    left: 57vw;
    top: 44vh;
}

.blazings-animated-squared-background li:nth-child(3) {
    animation-delay: 6s;
    left: 15vw;
    top: 59vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(4) {
    animation-delay: 8s;
    left: 28vw;
    top: 37vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(5) {
    animation-delay: 10s;
    left: 97vw;
    top: 80vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(6) {
    animation-delay: 12s;
    left: 60vw;
    top: 98vh;
}

.blazings-animated-squared-background li:nth-child(7) {
    animation-delay: 14s;
    left: 72vw;
    top: 8vh;
}

.blazings-animated-squared-background li:nth-child(8) {
    animation-delay: 16s;
    left: 0vw;
    top: 46vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(9) {
    animation-delay: 18s;
    left: 10vw;
    top: 25vh;
}

.blazings-animated-squared-background li:nth-child(10) {
    animation-delay: 20s;
    left: 36vw;
    top: 85vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(11) {
    animation-delay: 22s;
    left: 47vw;
    top: 68vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(12) {
    animation-delay: 24s;
    left: 84vw;
    top: 1vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(13) {
    animation-delay: 26s;
    left: 65vw;
    top: 70vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(14) {
    animation-delay: 28s;
    left: 44vw;
    top: 61vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(15) {
    animation-delay: 30s;
    left: 94vw;
    top: 12vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(16) {
    animation-delay: 32s;
    left: 75vw;
    top: 93vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(17) {
    animation-delay: 34s;
    left: 31vw;
    top: 34vh;
}

.blazings-animated-squared-background li:nth-child(18) {
    animation-delay: 36s;
    left: 85vw;
    top: 75vh;
    border-color: #ffffff;
}

.blazings-animated-squared-background li:nth-child(19) {
    animation-delay: 38s;
    left: 6vw;
    top: 15vh;
    border-color: #ffffff;
}
