﻿
.modal {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden;
    position: absolute;
    align-items: center;
    justify-content: center;
    z-index: 999999999999999999;
    animation: 250ms linear fadeIn;
}

.processing-modal {
    z-index: 9999999999999999999;
}

.modal-shaded {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    width: 35%;
    padding: 5px;
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    border: 1px solid #888;
    background-color: white;
}

.processing-modal-content {
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.loader {
    position: absolute;
    border: 5px solid transparent;
}

.outer-loader {
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-left: 5px solid rgb(190, 10, 0);
    border-right: 5px solid rgb(190, 10, 0);
    animation: spin 2s linear infinite;
}

.middle-loader {
    width: 75px;
    height: 75px;
    margin: auto;
    border-radius: 50%;
    border-top: 5px solid rgb(190, 10, 0);
    border-bottom: 5px solid rgb(190, 10, 0);
    animation: reverse spin 2s linear infinite;
}

.inner-loader {
    width: 50px;
    height: 50px;
    margin: auto;
    border-radius: 50%;
    border-top: 5px solid rgb(190, 10, 0);
    border-bottom: 5px solid rgb(190, 10, 0);
    animation: spin 1s linear infinite;
}

.modal-header {
    width: 100%;
    height: 35px;
    display: flex;
    font-weight: bold;
    padding: 0 0 5px 0;
    align-items: center;
    justify-content: start;
    border-bottom: 1px solid rgb(49, 50, 51);
}

.modal-body {
    width: 100%;
    display: flex;
    margin-top: 3px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
}

.modal-actions {
    width: 100%;
    display: flex;
    margin-top: 5px;
    align-items: center;
    justify-content: center;
}

.modal-actions input[type=button]{
    width: 100px;
}

#closeAlertButton {
    margin-left: auto;
}

#cancelConfirmButton {
    margin-left: auto;
}

#confirmButton {
    margin-left: 5px;
}

#inputModalText {
    width: 100%;
    height: 100%;
    resize: none;
}

#cancelInputButton {
    margin-left: auto;
}

#confirmInputButton {
    margin-left: 5px;
}

@media only screen and (max-width: 1500px) {
    .modal-content {
        width: 60%
    }
}

@media only screen and (max-width: 900px) {
    .modal {
        padding: 5px;
    }

    .modal-content {
        width: 100%
    }
}

@media screen and (max-width: 315px) {
    .loader {
        width: 75px;
        height: 75px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}