﻿.loading_bg {
    position: fixed;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 999997;
    top: 0px;
    background-color: dimgray;
    opacity: 50%;
}

.loading-gif {
    background-color: transparent;
    /* background-image: url("../Content/loading.gif");*/
    content: url("../Content/loading.gif");
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    width: 10rem;
    height: 10rem;
    min-width: 10px;
}

.loadingDiv-parent {
    position: fixed;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 999998;
}

.loadingDiv {
    position: fixed;
    text-align: center;
    top: 40%;
    /*left: 45%;*/
    z-index: 999999;
    width: 100%
}

    .loadingDiv .loading-image {
        display: block;
        margin: 25px 75px;
    }

#loadingscreen {
    display: none;
}

.noselect {
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#_modalTitle {
    float: left;
}

#_modalMessage {
    background-color: #000000bf;
}

#_modalForm {
    top: 25%;
    left: 25%;
    width: 50%;
    height: fit-content();
}

#_modalClose {
    float: right;
}


#loadingscreen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.loading_bg {
    position: absolute;
    inset: 0;
    background: rgba(5, 0, 16, 0.55);
    backdrop-filter: blur(3px);
}

.loadingDiv-parent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loadingDiv {
    width: 230px;
    min-height: 150px;
    border-radius: 22px;
    background: rgba(18, 18, 24, 0.92);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .loadingDiv::before {
        content: "";
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 5px solid rgba(255,255,255,.18);
        border-top-color: #58c251;
        animation: loadingSpin .8s linear infinite;
        margin-bottom: 14px;
    }

    .loadingDiv .panel-title::before {
        content: "Processing...";
        color: #fff;
        font-size: 14px;
        font-weight: 800;
    }

.loading-gif {
    display: none !important;
}

@keyframes loadingSpin {
    to {
        transform: rotate(360deg);
    }
}