
.ui-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    cursor: default;
    -ms-opacity: 1;
    opacity: 1;
    background: rgba(222, 226, 234, 0.75) no-repeat center center;
    /* display: none; */
}

body > .ui-overlay {
    position: fixed;
}


.ui-overlay > .overlay-caption {
    text-align: center;
    color: #b3d4fc;
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    top: 45%;
    transform: translateY(-50%);
    color: #728aad;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    transition:all .25s;
}

    .ui-overlay > .overlay-caption b {
        color: #446492;
        font-weight: 500;
    }
    .ui-overlay > .overlay-caption em {
        color: #7185a1;
        font-weight: 400;
        font-style: normal;
        display: block;
        margin-top: 5px;
    }
    .ui-overlay > .overlay-caption a.action {
        color: #505ed6;
        font-weight:400;
        text-decoration:none;
        display:inline-block;
        border-bottom:1px dashed #b4b6c1;
        cursor:pointer;
    }
        .ui-overlay > .overlay-caption > a.action {
            display:inline-block; 
            text-align:center;
        }

    .ui-overlay > .overlay-caption a.action:hover {
        color: #bf094d;
    }        

        .ui-overlay > .overlay-caption em:before,
        .ui-overlay > .overlay-caption em:after {
            content: ' ';
        }    


.ui-overlay.error > .overlay-caption:before {
    content: '';
    display: block;
    position: relative;
    top: -20px;
    width: 50px;
    height: 50px;
    margin: 0px auto;
    border: 2px solid rgb(199, 209, 224);
    border-radius: 50%;
    background: url('../Images/dialog/dialog_close.png') no-repeat center 5px;
}

.ui-overlay.success > .overlay-caption:before {
    content: '';
    display: block;
    position: relative;
    top: -20px;
    width: 50px;
    height: 50px;
    margin: 0px auto;
    border: 2px solid rgb(199, 209, 224);
    border-radius: 50%;
    background: url('../Images/dialog/dialog_ok.png') no-repeat center 5px;
}

/*  LOADER: LOADER-8 (https://projects.lukehaas.me/css-loaders/) */
.loader-8:before, .ui-overlay.loading > .overlay-caption:before 
{
    content: '';
    font-size: 10px;
    display: block;
    position: relative;
    margin: 0px auto;
    top: -20px;
    border-top: 0.5em solid rgba(134, 153, 180, 0.2);
    border-right: 0.5em solid rgba(134, 153, 180, 0.2);
    border-bottom: 0.5em solid rgba(134, 153, 180, 0.2);
    border-left: .5em solid rgb(134, 153, 180);
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
