﻿.modal button.close:focus {
    outline: none;
}

/**/
/**/
.modal-loadingOverlay {
    position: absolute;
    /*z-index: 2;*/
    top: 0;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: white;
    overflow: hidden;
    opacity: 0;
    transition: opacity 500ms ease, bottom 0ms 500ms ease;
}

.modal-loadingOverlay.active {
    opacity: 1;
    bottom: 0%;
    transition: opacity 500ms ease;
}

.modal-loadingOverlay.page-loadingOverlay.active {
    z-index: 500;
    background-color: rgba(255, 255, 255, 0.5);
    position: fixed;
}

.modal-loading, .modal-loading:before, .modal-loading:after {
    border-radius: 50%;
    border: 3px solid transparent;
}

.modal-loading:before, .modal-loading:after {
    content: '';
    position: absolute;
}

.modal-loading {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    border-top-color: #527bcc !important;
    display: block;
    height: 150px;
    left: 50%;
    margin: -75px 0 0 -75px;
    position: relative;
    top: 50%;
    width: 150px;
    z-index: 1001;
}

.modal-loading:before {
    -webkit-animation: spin 6s linear infinite;
    animation: spin 6s linear infinite;
    border-top-color: #541900;
    bottom: 5px;
    left: 5px;
    right: 5px;
    top: 5px;
}

.modal-loading:after {
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
    border-top-color: #231F20;
    bottom: 13px;
    left: 13px;
    right: 13px;
    top: 13px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.modal-loading + .modal-dialog {
    display: none !important;
}