section {
    margin: 0px auto;
    background-repeat: no-repeat;
    background-position: 22%;
    background-color: #fff;
    left: 0;
    right: 0;
    top: 0%;
    bottom: 0;
    position: fixed;
    width: 100%;
}

@media only screen and (min-width: 992px) {
    section {
        background-size: cover;
        max-width: 1180px;
        background-image: url(../img/bg-proama.jpg);
    }
}

@media only screen and (max-width: 991px) {
    section {
        background-size: inherit;
        max-width: 945px;
        background-image: url(../img/logo-proama.png);
        background-position: top;
    }
}

header {
    display: none;
}

footer {
    display: none;
}

#box {
    overflow: auto;
    max-height: 84vh;
}

@media only screen and (min-width: 992px) {
    #box {
        top: 55%;
        left: 68%;
    }
}

@media only screen and (max-width: 991px) {
    #box {
        top: 383px;
        left: 50%;
    }
}

#box_login {
    padding: 20px 25px 20px;
    color: black;
}

#box_login a {
    color: black;
}

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

.in-frame #box {
    left: 50%;
}

#box_alert {
    background: white;
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 0;
}

#box_alert h2 {
    padding-bottom: 0px;
    border-bottom: none;
}

#box_alert p {
    font-size: 14px;
    line-height: 21px;
}


input[type="text"], input[type="password"] {
    border: 2px solid #F0F0F0;
    border-radius: 4px;
    padding: 12px 10px 12px;
    font: 1em/1.5em 'Open Sans', sans-serif !important;
}

.info {
    border: none;
    background: white;
    color: black;
}

input[type="submit"] {
    background: -moz-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff830a), color-stop(100%, #ec6f00)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ff830a 0%, #ec6f00 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff830a', endColorstr='#ec6f00', GradientType=0); /* IE6-9 */
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
    border: 1px solid #c42e00;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 rgba(255, 255, 255, .2);
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 rgba(255, 255, 255, .2);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 rgba(255, 255, 255, .2);
    margin: 0;
}

.grey-button-link {
    background: linear-gradient(to bottom, #f9f9f9 0%, #f0f0f0 100%) !important;
    color: #003461 !important;
    /*text-transform: uppercase;*/
    border: solid 1px #b3b3b3 !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
    min-width: 65px !important;
    padding: 10px 0 16px !important;
    display: block !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .4) !important;
    text-decoration: none !important;
    font-weight: 400;
    text-align: center;
    font-size: 19px;
    height: 48px;
    line-height: normal !important;
}

.grey-button {
    cursor: pointer;
    width: 100%;
}

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

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

.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%;
}

#box div.title {
    border-bottom: none !important;
    color: black !important;
    text-transform: none;
}

#box div#msg {
    color: black !important;
}

#logo img {
    display: none;
}

#name {
    display: none;
}

form .login {
    width: 50%;
}

form .buttons {
    width: 100%;
}

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

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

.error-info span.icon::before {
    vertical-align: middle;
    content: url(../img/error_cross.gif);
    float: left;
    margin-right: 10px;
}

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

.forgot > p {
    margin: 0 !important;
}

.login-again {
    background: -moz-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff830a), color-stop(100%, #ec6f00)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ff830a 0%, #ec6f00 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ff830a 0%, #ec6f00 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff830a', endColorstr='#ec6f00', GradientType=0); /* IE6-9 */
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
    border: 1px solid #c42e00;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 rgba(255, 255, 255, .2);
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 rgba(255, 255, 255, .2);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 rgba(255, 255, 255, .2);
    margin: 0;
    position: absolute;
    right: 25px;
    text-transform: uppercase;
    padding: 10px;
}

#box_login a.login-again {
    color: #fff;
}

.radioOtpDiv label:hover {
    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 #939393;
    width: 100%;
    text-align: center;
    color: white;
    margin-bottom: 15px;
}

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

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

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

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

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

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

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

.login-option {
    float: left;
    width: 50%;
}

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

.remember-less-div {
    margin-top: 30px !important;
}

.logout-sessions {
    margin-bottom: 12px;
}

.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 {
    height: 150px;
}

#kc-form-buttons input {
    margin-top: 5px;
}

#submitBtn {
    margin-top: 0 !important;
}

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

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

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