﻿/* Version 2021-2021 */

/********************************** LAYOUT **********************************/

/*========== GENERAL ==========*/

body.hide {
    opacity: 0;
}

footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.page-functions-container {
    display: none;
}

/*========== FORM ==========*/

.login-header {
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--text-color-primary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-description {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-color-secondary);
}

.login-description .text-muted {
    font-size: var(--text-sm);
}

form {
    flex-grow: 1;
}

form .inner {
    width: 22rem;
}

#microsoft {
    width: 1.2rem;
    height: 1.2rem;
}

.secondary-login {
    position: relative;
}

.secondary-login .separator {
    border-bottom: 1px solid var(--border-color-secondary);
}

.secondary-login span {
    position: absolute;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-color-primary);
    padding-left: 1rem;
    padding-right: 1rem;
}

/*========== MODAL ==========*/

.modal-open .modal,
.modal.fade.in {
    position: absolute;
}

#modal_wait .modal-dialog {
    width: 25rem;
    min-width: 25rem;
    max-width: 25rem;
}

#modal_wait .modal-header {
    padding-bottom: 0;
    justify-content: center;
}

#modal_wait .modal-title {
    text-align: center;
}

#modal_wait .modal-body {
    text-align: center;
    padding-top: 15px;
}

#modal_wait .fa,
#modal_wait svg,
#modal_wait i {
    color: #ffc700 !important;
    height: 75px;
    line-height: 1;
    width: 75px;
    font-size: 75px;
    color: inherit !important;
    animation: spinner 1.2s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*---------- DEVICE - MEDIUM/SMALL ----------*/

@media (max-width: 991.98px) {
    body {
        margin: 0;
    }

    .login-header {
        font-size: 1.6rem;
    }

    .login-description .text-muted {
        font-size: 1rem;
    }

    .login-description a {
        font-size: 1rem;
    }

    .secondary-login span {
        top: 1rem;
    }

    #LoginPassword {
        flex-wrap: wrap;
    }

    #modal_wait .modal-dialog {
        width: 90%;
        max-width: 90%;
    }

    #modal_wait .modal-body {
        padding-top: 15px;
    }

    #modal_wait .fa,
    #modal_waitl svg,
    #modal_wait i {
        color: #ffc700 !important;
        height: 65px;
        line-height: 1;
        width: 65px;
        font-size: 65px;
    }

    .page-full-info {
        margin-left: 0;
        width: 100%;
    }

    .page-full-info .inner {
        margin-top: -1.5rem;
    }

    .page-full-info h4 {
        font-size: 1.6rem;
    }

    .page-full-info h5 {
        font-size: inherit;
    }
}