@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");


@font-face {
    font-family: now;
    font-weight: 300;
    src: url('../fonts/now.regular.otf') format("opentype");
}

html {
    min-height: 100%;
    background-color: #f8f4e8;
}

body {
    font-family: now, "Open Sans", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: transparent;
}

/* pattern always covers the whole viewport and stays in place while scrolling long pages (registration).
   A fixed layer instead of "background-attachment: fixed" on body: body is only 100% high (PatternFly), so its
   background scrolled away with it, and mobile browsers ignore background-attachment: fixed */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #f8f4e8 url("../img/pattern.svg") no-repeat center center / cover;
    pointer-events: none;
}


.password-reveal {
    color: #1469B7;
    background-color: white;
    margin-left: -30px;
    font-size: 18px !important;
}

.login-pf-page-fns {
    padding-bottom: 50px !important;
}

.mb-0 {
    margin-bottom: 0;
}

.btn {
    text-transform: uppercase;
    border: none;
    font-size: 14px;
    line-height: 17px;
    background-color: transparent;
    padding: 4px 25px 0px 25px;
    text-align: center;
    transition: all 0.15s linear;
    font-weight: 600;
    min-height: 30px;
    border-radius: 0;
    width: 100%;
}

.color-grey {
    color: #72767b;
}

.btn-primary {
    background-color: #116AB2;
    color: #fff;
    border: 1px solid #116AB2;
    background-image: none;
}

.btn-primary:hover {
    background-color: #F7F6FB;
    border-color: #116AB2;
    color: #116AB2;
}

.btn-default {
    background-color: #F7F6FB;
    border-color: #116AB2;
    color: #116AB2;
    background-image: none;
}

#kc-info-wrapper {
    margin-bottom: 0;
    color: #fff;
    border-color: #1469B7;
    background: #1469B7 !important;
    border-top: 0 !important;
    border-radius: 0 0 20px 20px;
    -webkit-box-shadow: 0px 3px 10px 0px rgba(153, 165, 180, 0.36);
    -moz-box-shadow: 0px 3px 10px 0px rgba(153, 165, 180, 0.36);
    box-shadow: 0px 3px 10px 0px rgba(153, 165, 180, 0.36);
}

#kc-info-wrapper a {
    color: #FFFFFF;
}

.card-pf {
    background-color: #EDF0F8;
    border-top: 0;
    padding: 52px 52px 0 ;
    border-radius: 20px;
    max-width: 40%;
}

@media (max-width: 767px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 5%;
        margin-right: 5%;
        padding-top: 0;
        border-top: 0;
        box-shadow: 0 0;
    }

}

.pf-c-form-control, .pf-c-form-control:hover {
    box-sizing: border-box;
    margin: 0;
    font-variant: tabular-nums;
    list-style: none;
    font-feature-settings: "tnum", "tnum";
    display: inline-block;
    width: 100%;
    min-width: 0;
    padding: 0 20px;
    color: rgba(0, 0, 0, .85);
    font-size: 18px;
    line-height: 42px;
    background-color: #fff;
    background-image: none;
    border: 1px solid rgba(60, 132, 191, .38);
    border-radius: 8px;
    transition: all .3s;
}

.pf-c-form-control:focus {
    border-color: #3284bf;
    border-right-width: 1px !important;
    outline: 0;
    box-shadow: 0 0 0 2px rgb(17 106 178 / 20%)
}

.instruction {
    color: #111111 !important;
}

#kc-page-title {
    margin-top: 30px !important;
    font-weight: bold;
    color: #116AB2;
}


#kc-page-subtitle {
    text-align: center;
    font-size: 18px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.ml-2 {
    margin-left: 0.5rem;
}

.logo{
    width:25%;
}

@media (max-width: 767px){
    #kc-header {
        margin: 5vh 0;
         text-align: center;
    }

    .logo{
        width:100%;
    }
}
/* Keycloak 26 pages rendered from base templates */
#kc-logout-confirm #kc-info-message,
#kc-info-message p {
    margin-top: 16px;
}

/* password visibility toggle (KC 26 base templates: update password, reset password) */
.pf-c-input-group {
    display: flex;
}

.pf-c-input-group .pf-c-button.pf-m-control {
    color: #1469B7;
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: 0;
    border-radius: 0;
    width: 44px;
}

.pf-c-input-group .pf-c-button.pf-m-control::after {
    border: 0;
}

/* newsletter question (newsletter-confirm.ftl): two stacked buttons */
#kc-newsletter-confirm-form .btn + .btn {
    margin-top: 10px;
}
