.modal-2 {
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.3);
    /* Black w/ opacity */
}

.select2 {
    width: 100% !important;
}

.loading-container {
    position: fixed;
    min-height: 300px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, .5);
    z-index: 5000;
}

#auth_backgroud {
    background: url(../media/backgroud/office.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.login-bg {
    padding: 2em;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 5px 20px 0 rgb(31 38 135 / 20%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 992px) {
    .login.login-1 .login-aside {
        width: 100%;
        max-width: 700px;
    }

    .login.login-1 .login-form {
        width: 100%;
        max-width: 450px;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .login.login-1 .login-aside {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 991.98px) {
    .login.login-1 .login-form {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 575.98px) {
    .login.login-1 .login-form {
        width: 100%;
        max-width: 100%;
    }
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glass-gray {
    background: rgba(212, 212, 212, 0.3) !important;
    box-shadow: 0 1px 10px 0 rgba(31, 38, 135, 0.37) !important;
    backdrop-filter: blur(3.5px) !important;
    -webkit-backdrop-filter: blur(3.5px) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.glass-white {
    background: rgba(255, 255, 255, .5) !important;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 50, 0.37) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.profile-pic-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pic-holder {
    text-align: center;
    position: relative;
    width: 150px;
    height: 180px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #3F4254;
    border-radius: 10px;
}

.pic-holder .pic {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
}

.pic-holder .upload-file-block,
.pic-holder .upload-loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(90, 92, 105, 0.7);
    color: #f8f9fc;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pic-holder .upload-file-block {
    cursor: pointer;
}

.pic-holder:hover .upload-file-block,
.uploadProfileInput:focus~.upload-file-block {
    opacity: 1;
}

.pic-holder.uploadInProgress .upload-file-block {
    display: none;
}

.pic-holder.uploadInProgress .upload-loader {
    opacity: 1;
}