﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

a {
    text-decoration: none;
}

a, .btn-link {
    color: #0366d6;
}

h1:focus {
    outline: none;
}

.btn-primary {
    background-color: #1b6ec2;
    border-color: #1861ac;
    color: #fff;
}

.breadcrumb-item > a {
    text-decoration: none;
}

.main {
    width: 100%;
}

.content {
    display: inline-block;
    padding-top: 1.1rem;
    position: relative;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.sidebar {
    background-color: transparent;
    border-right: 1px dashed rgba(199, 205, 207, 1)
}

.min {
    width: 1%;
}

.toast {
}

.page-content {
    max-width: 1080px;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1.5rem;
}

.nav-link {
    cursor: pointer;
}

.clickable {
    cursor: pointer;
}



.toast-container {
    z-index: 9999;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* Loading Spinner */

.lds-roller {
    display: inline-block;
    height: 80px;
    position: relative;
    width: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            background: black;
            border-radius: 50%;
            content: " ";
            display: block;
            height: 7px;
            margin: -4px 0 0 -4px;
            position: absolute;
            width: 7px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                left: 63px;
                top: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                left: 56px;
                top: 68px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                left: 48px;
                top: 71px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                left: 40px;
                top: 72px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                left: 32px;
                top: 71px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                left: 24px;
                top: 68px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                left: 17px;
                top: 63px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                left: 12px;
                top: 56px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-row {
    background-color: #FDFDFD;
    height: .375rem;
}

.loader .linear-activity {
    height: .375rem;
    /*background-color: #f8f9fa;*/
    margin: 20px auto;
    overflow: hidden;
    width: 100%;
    /*border-radius: .5rem;*/
}


.loader .indeterminate {
    height: 100%;
    position: relative;
    width: 100%;
}

    .loader .indeterminate:before {
        animation: indeterminate_first 1s infinite ease-out;
        background-color: #999999;
        content: '';
        height: 100%;
        position: absolute;
    }

    .loader .indeterminate:after {
        background-color: #999999;
        content: '';
        height: 100%;
        position: absolute;
        /*        animation: indeterminate_second 1.5s infinite ease-in;*/
    }

@keyframes indeterminate_first {
    0% {
        left: -100%;
        width: 100%;
    }

    100% {
        left: 100%;
        width: 10%;
    }
}


.color-picker {
    position: relative;
}

    .color-picker input[type="color"] {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.color-preview {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.color-picker-label {
    /* uploader */

    box-sizing: border-box;
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: center;
    padding: 8px 24px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    cursor: pointer;
}

.custom-dropdown-in-modal {
    position: relative;
}

    .custom-dropdown-in-modal .dropdown-menu-container {
        position: fixed;
        z-index: 1056; /* Higher than Bootstrap's modal z-index */
    }

    .custom-dropdown-in-modal .dropdown-menu {
        position: absolute;
        left: 0;
        min-width: 100%;
    }