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

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

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

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-errors {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.validation-message {
    color: red;
    padding: 0;
    margin: 0;
    text-indent: 0;
}

#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;
    }

/* ------ Custom CSS ------*/

.btn-purple {
    background-color: #666CE8 !important;
}

.monospace {
    font-family: 'Roboto Mono';
    font-size: 0.8rem;
}

.yellow {
    font-weight: bold;
    color: #e8f542;
}

.yellow-weight-normal {
    font-weight: normal;
    color: #e8f542;
}

.red {
    font-weight: bold;
    color: #FF5847;
}

.green {
    font-weight: bold;
    color: #00D59A;
}

.purple {
    font-weight: bold;
    color: #666CE8;
}

.purple-light {
    font-weight: bold;
    color: #8086ff;
}

.purple-light-normal {
    color: #8086ff;
}

.yellow-light {
    font-weight: bold;
    color: #e8f542 !important;
}

.yellow-light-normal {
    font-weight: normal;
    color: #e8f542 !important;
}

.custom-disable:disabled, .custom-disable[readonly] {
    background-color: #ebebeb;
    opacity: 0.6 !important;
}

.bg-purple {
    background-color: #666CE8 !important;
}

.bg-light-darker {
    background-color: #777 !important;
}

.yellow-glow {
    text-shadow: 0px 0px 10px rgb(232 245 66 / 100%);
}

.red-glow {
    text-shadow: 0px 0px 10px rgb(255 88 71 / 80%);
}

.green-glow {
    text-shadow: 0px 0px 10px rgb(0 213 154 / 80%);
}


h4, h5, h6 {
    margin-bottom: 0;
}

.pointer {
    cursor: pointer;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.table-compact {
    width: 100%;
    margin-bottom: 0rem;
    color: #BBB;
    border: 1px solid #888;
    font-size: 85%
}

    .table-compact th, .table-compact td {
        padding: 0.6rem;
    }

.table-border-bottom {
    border: 1px solid #888;
}

/* ------ Scrollbars ------ */
html {
    scrollbar-face-color: #555;
    scrollbar-base-color: #555;
    scrollbar-3dlight-color: #555;
    scrollbar-highlight-color: #555;
    scrollbar-track-color: #222222;
    scrollbar-arrow-color: #222222;
    scrollbar-shadow-color: #555;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-button {
    background-color: #444;
    height: 0px;
    width: 0px;
}

::-webkit-scrollbar-track {
    background-color: #555;
}

::-webkit-scrollbar-track-piece {
    background-color: #111;
}

::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #555;
    border-radius: 0px;
}

/* ------ Custom Switch ------*/

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
}

    .custom-switch.custom-switch-md .custom-control-label::before {
        height: 1.5rem;
        width: calc(2rem + 0.75rem);
        border-radius: 3rem;
    }

    .custom-switch.custom-switch-md .custom-control-label::after {
        width: calc(1.5rem - 4px);
        height: calc(1.5rem - 4px);
        border-radius: calc(2rem - (1.5rem / 2));
    }

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}
