section {
    margin: 0px auto;
    background-image: url(../img/bg-generali.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    background-color: #fff;
    left: 0;
    right: 0;
    top: -15%;
    bottom: 0;
    position: fixed;
    max-width: 1180px;
    width: 100%;
}

.in-frame section {
    background-image: none;
}

#box {
    top: 0;
    margin-top: 65vh;
    left: 50%;
    overflow: auto;
    position: absolute;
    max-height: 78vh;
    height: 100%;
}

#box_login {
    padding: 20px 25px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

#box_alert {
    color: white;
}

#box_login a {
    color: white;
}

.in-frame #box_login {
    background: white;
    color: black;
}

input[type="text"] {
    background: #fff url(../img/user.png) no-repeat 10px;
}

input[type="telephone"] {
    background: #fff url(../img/telephone-fill.svg) no-repeat 10px;
}

input[type="email"] {
    background: #fff url(../img/envelope-at-fill.svg) no-repeat 10px;
}

input[type="password"] {
    background: #fff url(../img/lock.png) no-repeat 14px;
}

.grey-button {
    width: 100%;
    color: white;
    border: none;
    cursor: pointer;
}

.grey-button-link {
    background-color: #858282 !important;
    text-transform: uppercase;
    margin-top: 12px;
    padding: 9px 28px;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    font-size: 19px;
    height: 46px;
    line-height: normal;
    display: block;
}

.warn-icon {
    float: left;
    padding: 2px 5px 0 0;
}

.grey-button:hover {
    box-shadow: 0 0 1em #858282;
}

input[type="submit"] {
    background: #c21b17;
    text-transform: uppercase;
}

.in-frame input[type="text"],
.in-frame input[type="password"] {
    border: 1px solid black;
}

form .login {
    width: 50%;
}

form .buttons {
    width: 100%;
}

.generali-buttons > input, .generali-buttons > button, .generali-buttons > div {
    min-width: 50%;
    float: left;
}

.generali-buttons {
    float: right;
    width: 100%;
    height: 70px;
}

#kc-passwd-update-form {
    width: 100%;
}

form .login div, form .buttons div {
    height: 70px;
}

.forgot span.icon::before {
    background-image: url("../img/lock_big.png");
    background-size: 40px 40px;
    vertical-align: middle;
    display: inline-block;
    width: 40px;
    height: 40px;
    content: "";
}

.success span.icon::before {
    float: left;
    margin-right: 10px;
}

.disabled {
    background-color: #e3e3e3 !important;
}

#box-warn {
    top: 55%;
    left: 50%;
    width: 100%;
    max-width: 860px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    position: absolute;
}

#box-warn div.title {
    width: 100%;
    padding: 5px 0px 12px;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #b22c1b;
    margin-bottom: 10px;
}

#box-warn p {
    margin-bottom: 15px;
}

.login-again {
    color: white;
    background: #c21b17;
    position: absolute;
    right: 25px;
    text-transform: uppercase;
    padding: 10px;
}

.radioOtpDiv label:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 1em #858282;
    cursor: pointer;
}

.radioOtpDiv input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radioOtpDiv label {
    display: inline-block;
    background-color: #bfbdbd;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #444;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.radioOtpDiv input[type="radio"]:checked + label {
    background-color: #c21b17;
    border-color: black;
}

.choose-otp-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

#input-error-otp-label {
    color: red;
}

.input-error-label {
    color: #fdb3b1;
    margin-bottom: 5px;
}

.login-totp-title {
    margin-bottom: 10px;
}

.device-name-otp-div {
    margin-top: 10px;
}

#remember-div {
    margin-left: 5px;
}

#remember-div > label {
    font-size: 13px;
    margin-left: 5px;
}

#rememberMe {
    line-height: normal;
    padding: 0;
    margin: 0 0 0 2px;
    width: auto;
}

.forgot-less {
    margin-top: 20px !important;
}

.logout-sessions > input {
    width: auto;
}

.logout-sessions > label {
    font-size: 13px;
    margin-left: 5px;
}

#logout-sessions {
    margin: 10px 0 0 2px;
}


.error-msg > span {
    font-size: 13px;
    display: inline-block;
}

.alert-box {
    background-color: yellow;
    border: 2px solid red;
    padding: 2px;
    font-weight: bold;
    text-align: center;
    margin-top: 80px;
    width: 100%;
}

.back-to-login {
    margin-top: 10px;
}

.totp-qr-code {
    padding-top: 3px;
    height: 150px;
}

.paragraph-padding-top {
    padding-top: 3px;
}

#input-error-otp-code {
    color: white;
}

#cancelTOTPBtn {
    border: 0;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    padding: 12px 0 12px;
    font-size: 19px;
    margin: 12px 0;
    font-weight: 400;
    color: white;
    display: inline-block;
    overflow: hidden;
    background-color: #858282;
}

.phone-number-msg {
    margin-bottom: 20px;
}

.one-time-code-div {
    margin-top: 15px;
}