:root {
    --pf-c-form__label--FontSize: 1rem;
}

.pf-c-input-group {
    --pf-c-input-group--BackgroundColor: transparent !important;
}

.pf-c-button {
    --pf-c-button--m-control--hover--after--BorderBottomColor: #fff !important;
    --pf-c-button--m-control--focus--after--BorderBottomColor: #fff !important;
}

.login-pf body {
    font-family: Roboto,"Trebuchet MS",Arial,sans-serif;
}

.login-pf body:before {
    content: "";
    background-image: url(../img/railcarclean-desat.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(4px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.login-pf-page {
    background-color: rgba(0,92,146,.2) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    height: 100%;
    padding: 8px 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-header {
    right: 8px;
    position: absolute;
    top: 8px;
}

.header-logo {
    margin-bottom: 30px;
    width: 165px;
}

.header-title-text {
    font-family: Roboto,"Trebuchet MS",Arial,sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: center;
}

#kc-username.form-group {
    background-color: transparent;
    border-color: #787878;
    box-shadow: none;
    color: #fff;
    width: 100%;
    outline: none;
    border-radius: 2rem;
    padding: 0 1rem;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    font-size: 1rem;
}

.login-pf-settings a {
    font-size: 1rem;
    color: white;
}

.login-pf-settings a:hover {
    color: #ddd;
    text-decoration: none;
}

#kc-form-buttons {
    text-align: right;
}

.pf-c-button.pf-m-block {
    width: auto !important;
}

#kc-info {
    margin: 40px 0 0 !important;
}

#kc-attempted-username {
    font-size: 1rem !important;
    margin-bottom: 0px !important;
}

.header-main-title-text {
    font-family: Roboto,"Trebuchet MS",Arial,sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.5rem;
}

.card-pf {
    border-top-width: 0;
    min-height: 410px;

    background-color: rgba(0,92,146,.6);
    border-radius: 8px;
    z-index: 2;
    position: relative;
    color: white;

    max-width: 480px !important;
    padding: 0.75rem 20px !important;
    border-radius: 0.25rem;

    min-height: 410px;
    width: 100%;
}

.pf-c-form-control:hover, .pf-c-form-control:focus {
    color: white;
    background-color: transparent;
    border-color: #c46f00;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 92 146 / 25%);
}

.pf-c-form-control:not(textarea) {
    display: block;
    width: 100%;
    height: calc(1.618em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    background-clip: padding-box !important;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: transparent !important;
    color: #FFFFFF !important;
}

.pf-c-form-control[aria-invalid=true] {
    background-image: none;
}

.checkbox input[type="checkbox"]:checked {
    accent-color: #DB2833;
}

.checkbox label {
    font-family: Roboto,"Trebuchet MS",Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13.1285px;
    color: #22252A;
}

.pf-c-button.pf-m-primary {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    background-color: #c46f00;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid #c46f00;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.618;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.required {
    font-size: 1rem;
    color: #dc3545 !important;
}

.pf-c-button.pf-m-primary:hover {
    color: #fff;
    background-color: #9e5900;
    border-color: #915200;
    text-decoration: none;
}

h4 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    line-height: 0.1em;
    margin: 25px 0 25px;

    font-family: Roboto,"Trebuchet MS",Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15.4px;
    color: #22252A;
}

h4 span {
    background:#fff;
    padding:0 10px;
}

.idp-button {
    height: 50px;
    text-align: left;
    vertical-align: middle;

    font-family: Roboto,"Trebuchet MS",Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 35px;
}

.idp-button:hover {
    color: #DB2833 !important;
}

.idp-button:hover::after {
    border-bottom-color: #DB2833 !important;
}

.idp-logo {
    margin-left: 5px;
    margin-right: 15px;
}

.copyright {
    text-align: center;
    bottom: 0;
    width: 438px;
    z-index: 1;
    position: fixed;
    background-color: rgba(0,92,146,.7) !important;
    color: #FFFFFF;
    padding-bottom: 0.25rem !important;
    padding-top: 0.25rem !important;
    padding-left: 3rem;
    padding-right: 3rem;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 0.8rem;
}

#kc-form-options .checkbox label {
    font-size: 1rem !important;
    color: #FFFFFF !important;
}

#kc-form-options .checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.login-pf-page .card-pf p, #kc-content, #kc-content-wrapper {
    color: #FFFFFF !important;
}

.kc-header {
    display: none !important;
}

@media only screen and (max-width: 600px) {
    .logo-header {
        position: initial;
    }
}