.container-terms .container {
    padding-top: 40px;
}

.container-terms a,
.container-terms a:hover {
color: #a30000 !important;
font-weight: 600;
}

.container-terms body {
    font-family: 'Basis Grotesque Pro' !important;
    background: #475d62 url(../img/bg-login.jpg) !important;
    background-size: cover !important;
}

.container-terms {
    height: 100%;
    background: none !important;
    background-size: auto;
}

#kc-page-title-terms {
    background: url('../img/logo.webp');
    background-size: 110px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    height: 90px;
    text-indent: -99999em;
    overflow: hidden;
    margin-top: 0;
}

.login-pf-terms {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    color: #222;
    max-width: 60% !important;
    min-width: 280px;
    width: 90%;
    margin-top: 5%;
    height: 95%;
    max-width: 500px;
    padding-left: 25px;
    padding-right: 25px;
}

.overlay{
    height: 90%;
}

.login-pf-page .login-pf-terms{
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    height: 95%;
    min-height: 600px;
    max-height: 600px;
}

.dialog{
    background: #fff;
    margin:10px auto;
    padding:10px;
    border-radius:5px;
    color:#000;
    overflow:scroll;
    height: 80%;
}

.kc-terms-text{
    font-size: medium;
    align-content: center;
    text-align: center;
}

.btnTerms{
    text-align: center;
    border-radius: 5px;
}

.btnTerms[disabled] {
    background-color: #862633 !important;
    border-color: #862633 !important;
    color: white !important;
}

form .btnTerms {
    background: #862633;
    border-color: #862633 !important;
    color: white !important;
}

h3{
    margin:2%;
}

.kc-content-terms{
    display: inline-block;
    min-height: 200px;
    max-width: 100%;
    width: 100%;
}

#kc-content-terms {
    width: 100%;
    height: 85%;
}
#kc-content-wrapper {
    width: 100%;
    height: 100%;
}

.form-actions{
    display: inline-block;
    height: 95%;
    width: 100%;
}

.form-buttons{
    text-align:center;
}

.control-label{
    margin-left: 10px;
}


#kc-totp-settings{
    height: 52%;
    overflow: scroll;
    overflow-x: hidden;
}

#saveTOTPBtn{
    height: 40px;
    font-size: 20px;
    max-width: 200px;
}

.buttons-otp{
    text-align: center;
}

@media screen and (max-width: 600px) {
    form .btnTerms {
        margin: 30px;
    }
}

@media screen and (max-width: 600px) {
    .login-pf-terms {
        max-width: 95% !important;
    }
}
