/* Copy of pa_login.css. Customized for the welcome and errors HTML pages in the nginx.*/

.container {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    background-image: url(/images/login_background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.welcome {
    backdrop-filter: blur(4px);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.form {
    display: block;
    width: 480px;
    min-height: 170px;
    background: #ffffff;
    border-radius: 16px;
    position: absolute;
    top: calc(50% - 117px);
    left: calc(50% - 240px);
    font-family: 'Segoe UI', sans-serif;
}

.form_logo {
    width: 172px;
    height: 172px;
    margin-top: -86px;
}

.errorbox {
    background: #184d84;
    color: #ffffff;
    display: block;
    border-radius: 16px;
    position: absolute;
    top: calc(50% - 120px);
    left: calc(50% - 200px);
    font-family: 'Segoe UI', sans-serif;
    width: 400px;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 2px 2px grey;
}

.errorclose {
    position: absolute;
    right: 10px;
    top: 10px;
}

.errormsg {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 25px;
}

.infobox {
    background: #ffffff;
    border-radius: 2px;
    color:  #184d84;
    display: inherit;
    width: 400px;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    margin: 20px 40px 40px 40px;
    overflow: hidden;
}

.infomsg {
    margin: 25px;
    text-align: center;
    color:  #184d84;
}

.transition {
    max-height: var(--calc-height);
    -webkit-transition: max-height 0.2s ease-in,
                margin-bottom 0.1s ease-in 0.2s;  
    -moz-transition: max-height 0.2s ease-in,
                margin-bottom 0.1s ease-in 0.2s;  
    -o-transition: max-height 0.2s ease-in,
                margin-bottom 0.1s ease-in 0.2s;  
    transition: max-height 0.2s ease-in,
                margin-bottom 0.1s ease-in 0.2s;  
}

.hidden {
    max-height: 0px;
    margin-bottom: 0;
}

.warnbox {
    background: #ffbcae;
    border-radius: 2px;
    color: var(--primary);
    display: block;
    width: 400px;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    margin: 20px 40px 40px 40px;
    overflow: hidden;
}

.warnmsg {
    margin: 25px;
}
