﻿@import url(../lib/bulma/css/bulma.css);
@import url(../lib/MaterialDesign-Webfont/css/materialdesignicons.css);
@import url(formModals.css);
@import url(variables.css);


html {
    overflow-y: hidden;
    height: 100%;
}

body {
    overflow-y: auto;
    height: 100%;
}

.occupies-all-vertical-space {
    height: 100%;
}

/* Spinner */

.spinner-container {
    background-color: var(--primary);
    position: relative; 
    left: 0;
    right: 0;
    height: 100%;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        -ms-border-radius: 50%;
        border-radius: 50%;
        background: #fff;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

.loading-logo {
    width: 200px;
    display: block;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/* Blazor error */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px #000000;
    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;
}

.validation-errors {
    background-color: #feecf0;
    color: #cc0f35;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 30px;
}

.loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

    .loader-wrapper .loader {
        border: 3px solid #dbdbdb;
        border-right-color: transparent;
        border-top-color: transparent;
        height: 8em;
        width: 8em;
    }

    .loader-wrapper.is-active {
        opacity: 1;
        z-index: 100;
    }

.has-primary-background {
    background-color: var(--primary);
}

.is-full-height {
    height: 100%;
}
