
:root{
    --primary-color: #0080a3;
}

.alert-error {
    color: #cc0000;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 14px;
    top: 30px;
    width: 123px;
    padding: 5px;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 1px 11px;
    color: #000 !important;
    border: 1px solid #fff;
    text-decoration: none;
    display: block;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
    border-color: #b3d3e7;
}

#kc-locale-dropdown a {
    color: #fff;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 5px;
}

.login-pf .container {
    padding-top: 40px;
}

.login-pf a:hover {
    color: #0099d3;
}

div.kc-logo-text {
    background-repeat: no-repeat;
    width: 250px;
    height: 38px;
}

div.kc-logo-text span {
    display: none;
}

div.kc-info {
    margin-top: -20px;
    margin-bottom: 15px;
    text-align: center;
}

div.hospital-switch {
    margin-bottom: 30px;
    font-size: 13px;
    background-color: #fff;
    text-align: center;
}

#kc-header {
    color: #fff;
    overflow: visible;
    padding-left: 80px;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 15px;
}

#kc-content-wrapper {
    overflow: hidden;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-terms-text {
    margin-bottom: 20px;
}

#kc-registration {
    margin-top: -20px;
    margin-bottom: 15px;
    text-align: center;
}

#kc-form-buttons {
    margin-top: 24px;
    text-align: center;
}

#kc-form-buttons input[type="submit"] {
    font-size: 20px;
    padding: 12px;
    min-width: 150px;
    text-transform: capitalize;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}


/* TOTP */

ol#kc-totp-settings {
    margin: 0;
    padding: 0;
}

ol#kc-totp-settings li {
    margin-top: 1em;
}

ol#kc-totp-settings li:first-of-type {
    margin-top: 0;
}

#kc-totp-secret-qr-code {
    max-width: 150px;
    max-height: 150px;
}


/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 30px;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

.choose-login-type {
    margin-top: 20px;
    text-align: center;
}

.choose-login-type::before {
    display: block;
    content: '';
    border-top: 1px solid #ccc;
}

.choose-login-type p {
    max-width: 60px;
    margin: -21px auto 0;
    padding: 12px;
    text-transform: uppercase;
    color: #666;
    font-size: 13px;
    background-color: #f2f2f2;
}


/* Code */

#kc-code textarea {
    width: 100%;
    height: 8em;
}


/* Social */

#kc-social-providers ul {
    padding: 0;
    margin: 0;
}

#kc-social-providers li {
    display: block;
    margin-top: 5px;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.zocial {
    width: 150px;
}

.zocial:hover {
    color: #fff !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    box-shadow: none;
    text-shadow: none;
}

.zocial.google {
    background-color: #dd4b39 !important;
}

.zocial.facebook:hover,
.zocial.github:hover,
.zocial.google:hover,
.zocial.microsoft:hover,
.zocial.stackoverflow:hover,
.zocial.linkedin:hover,
.zocial.twitter:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}


/* Copy of zocial windows classes to be used for microsoft's social provider button */

.zocial.microsoft {
    background-color: #0052a4;
    color: #fff;
}

.zocial.microsoft:before {
    content: "\f15d";
}

#kc-header {
    padding-left: 15px;
    padding-right: 15px;
    float: none;
    text-align: center;
}

#kc-form {
    float: none;
    /* margin: 1em auto; */
    max-width: 360px;
    margin: 0 auto;
}

#kc-info-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding-top: 15px;
    padding-left: 0px;
}

#kc-social-providers li {
    display: inline-block;
    margin-right: 5px;
}

.login-pf .container {
    padding-top: 15px;
    padding-bottom: 15px;
}

#kc-locale {
    position: absolute;
    width: 200px;
    top: 10px;
    right: -8px;
    text-align: right;
    z-index: 999;
}

a {
    color: var(--primary-color);
    font-weight: 300;
}

a,
a:hover,
a:active,
a:focus {
    color: var(--primary-color);
}

#kc-header,
#kc-locale-dropdown a,
.login-pf .container,
.login-pf .container [class^='alert'] {
    color: #51575F;
}

.login-pf body {
    background: #e6e6e6;
}

.form-control {
    box-shadow: none;
    border-color: #f2f2f2;
}

.form-control:focus {
    border-color: var(--primary-color);
}

.form-control:focus {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .045), 0 0 4px rgba(64, 158, 174, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .045), 0 0 4px rgba(64, 158, 174, .6);
}

.btn {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    padding: 7px 15px;
    text-align: center;
    text-transform: none;
    border: 0;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn.btn-primary,
.btn.btn-primary:focus {
    background: var(--primary-color);
    color: #FFF;
}

.btn-primary:focus,
.btn-primary:active {
    border-color: var(--primary-color);
}

.form-title {
    display: block;
    text-align: center;
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
    color: #666;
    font-weight: 300;
    margin-bottom: 20px;
}

.forgot-pwd {
    text-align: right;
    /* float: right; */
    font-size: 13px;
    /* margin-top: -23px; */
}

label {
    font-weight: 400;
    font-size: 14px;
}

input {
    margin-bottom: 12px;
}

input[type="text"],
input[type="password"] {
    padding: 14px;
    height: auto;
}

.side-login {
    display: none;
}

.background-cont {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

@media only screen and (min-width: 1024px) {
    .background-cont {
        position: relative;
        top: 50%;
        height: 560px;
        width: 1024px;
        max-width: 1024px;
        margin-top: -280px;
        font-size: 0;
        box-shadow: 0 0 0 1000px rgba(220, 220, 220, 0.4);
    }
    .background-cont.pro {
        height: 770px;
        margin-top: -385px;
    }
    @media (max-height: 770px) {
        .background-cont.pro {
            height: 770px;
            margin-top: 0;
            top: 0;
        }
    }
    .side-login {
        position: relative;
        display: inline-block;
        width: 50%;
        height: 100%;
        background: rgba(0, 128, 163, .5);
        text-align: left !important;
        vertical-align: top;
    }
    .side-login p {
        position: absolute;
        bottom: 1.5em;
        left: 1.5em;
        width: 200px;
        color: #fff;
        font-size: 49px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 300;
        line-height: 50px;
        text-shadow: 0 1px rgba(0, 0, 0, 0.1);
    }
    #kc-container {
        margin: 0 auto;
        background-image: url(../images/login-bckgrnd-pp.svg);
        background-repeat: no-repeat;
        background-position: 150px -350px;
    }
    #kc-container.managed-care {
        background-image: url(../images/login-bckgrnd-mc.svg);
    }
    #kc-container.case-conference {
        background-image: url(../images/login-bckgrnd-cc.svg);
    }
    .choose-login-type::before {
        border-top: 1px solid #f2f2f2;
    }
    .choose-login-type p {
        background-color: #fff;
    }
    .choose-login-type a {
        font-size: 14px;
    }
}


/* Material design look checkbox */


/* Custom inputs */

.remember-me {
    margin-top: 3px;
}

input[type="checkbox"].custom,
input[type="radio"].custom {
    border: 0;
    clip: rect(0 0 0 0);
    visibility: visible !important;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
}

input[type="checkbox"].custom:focus+span:before,
input[type="radio"].custom:focus+span:before {
    box-shadow: 0 0 1px 2px var(--primary-color);
}

input[type="checkbox"].custom:checked+span:before,
input[type="radio"].custom:checked+span:before {
    color: #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

input[type="checkbox"].custom+span,
input[type="radio"].custom+span {
    display: block;
    cursor: pointer;
    position: relative;
    color: #666;
    font-size: 13px;
}

input[type="checkbox"].custom+span:before,
input[type="radio"].custom+span:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    vertical-align: -2px;
    box-shadow: 0 0 0 2px #ccc;
    border-radius: 2px;
    transition: background-color 0.3s, border-color 0.3s;
}

input[type="radio"].custom:checked+span:after {
    content: '';
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    display: inline-block;
    position: absolute;
    border-radius: 2px;
    left: .3846em;
    top: .3846em;
    transition: background-color 0.3s, border-color 0.3s;
}


/* Square */

input[type="checkbox"].custom+span:before,
input[type="checkbox"].custom+span:after {
    /* border-radius: 2px !important; */
    margin-left: 3px;
}

input[type="checkbox"].custom:checked+span:before {
    background: url(../images/mdl-check.svg) no-repeat;
    background-position: -1px 0px;
    background-size: 115%;
}

.passVisibilityToggle {
    width: 25px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 19.95 15" width="19.95" height="15" xmlns="http://www.w3.org/2000/svg"><g id="Layer_2" data-name="Layer 2" transform="matrix(0.994844, 0, 0, 1, 0.058894, 2)"><g id="Layer_1-2" data-name="Layer 1"><path style="fill:rgb(0,128,163)" d="M19.87,5.2a16.21,16.21,0,0,0-3-2.6A24.79,24.79,0,0,0,13.77.8,10.8,10.8,0,0,0,10,0a10.8,10.8,0,0,0-3.8.8,12.43,12.43,0,0,0-3.1,1.8,21.59,21.59,0,0,0-3,2.6.64.64,0,0,0,0,.6,16.21,16.21,0,0,0,3,2.6,24.79,24.79,0,0,0,3.1,1.8A10.8,10.8,0,0,0,10,11a10.8,10.8,0,0,0,3.8-.8,12.43,12.43,0,0,0,3.1-1.8,21.59,21.59,0,0,0,3-2.6A.64.64,0,0,0,19.87,5.2Zm-7.3-3.8A4.1,4.1,0,0,1,14,4.5a4,4,0,0,1-8,0,4.1,4.1,0,0,1,1.4-3.1A10.87,10.87,0,0,1,10,1,10.87,10.87,0,0,1,12.58,1.4Zm3.7,6.2A11.46,11.46,0,0,1,10,10a11.46,11.46,0,0,1-6.3-2.4,23.89,23.89,0,0,1-2.5-2.1,16.42,16.42,0,0,1,2.5-2.1,14,14,0,0,1,1.8-1.2A5.93,5.93,0,0,0,5,4.5a5,5,0,0,0,10,0,5.93,5.93,0,0,0-.5-2.3c.7.4,1.3.8,1.8,1.1a23.89,23.89,0,0,1,2.5,2.1A11.85,11.85,0,0,1,16.27,7.6Z"/></g></g></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 13px;
    right: 25px;
}

.passVisibilityToggle.active {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="19.95" height="14.97" viewBox="0 0 19.95 14.97"><title>Asset 1</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path style="fill:none" d="M16.27,9.58a23.89,23.89,0,0,0,2.5-2.1,16.42,16.42,0,0,0-2.5-2.1,8.62,8.62,0,0,0-1.9-1.1,4,4,0,0,1,.6,2.2,4.76,4.76,0,0,1-1.4,3.4l.8.8A6.79,6.79,0,0,0,16.27,9.58Z"/><path style="fill:none" d="M6,6.47a4,4,0,0,0,5.5,3.7L6.28,5A4,4,0,0,0,6,6.47Z"/><path style="fill:none" d="M10,11.47a5,5,0,0,1-5-5,5.93,5.93,0,0,1,.5-2.3,14,14,0,0,0-1.8,1.2,23.89,23.89,0,0,0-2.5,2.1,16.42,16.42,0,0,0,2.5,2.1A11.46,11.46,0,0,0,10,12a8.68,8.68,0,0,0,2.8-.5l-.5-.5A5.93,5.93,0,0,1,10,11.47Z"/><path style="fill:none" d="M14,6.47a4.1,4.1,0,0,0-1.4-3.1A10.87,10.87,0,0,0,10,3a10.87,10.87,0,0,0-2.6.4.1.1,0,0,0-.1.1l5.6,5.6A3.31,3.31,0,0,0,14,6.47Z"/><path style="fill:rgb(0,128,163)" d="M10,12a11.46,11.46,0,0,1-6.3-2.4,23.89,23.89,0,0,1-2.5-2.1,16.42,16.42,0,0,1,2.5-2.1,14,14,0,0,1,1.8-1.2A5.93,5.93,0,0,0,5,6.47a5,5,0,0,0,5,5,4,4,0,0,0,2.2-.6l-.7-.7A4,4,0,0,1,6.28,5l-1.5-1.5a16.29,16.29,0,0,0-1.7,1.1,21.59,21.59,0,0,0-3,2.6.64.64,0,0,0,0,.6,16.21,16.21,0,0,0,3,2.6,24.79,24.79,0,0,0,3.1,1.8A10.8,10.8,0,0,0,10,13a12.68,12.68,0,0,0,3.6-.7l-.8-.8A8.68,8.68,0,0,1,10,12Z"/><path style="fill:rgb(0,128,163)" d="M19.87,7.17a16.21,16.21,0,0,0-3-2.6,24.79,24.79,0,0,0-3.1-1.8A10.8,10.8,0,0,0,10,2a12.68,12.68,0,0,0-3.6.7l.8.8.1-.1A12.59,12.59,0,0,1,10,3a10.87,10.87,0,0,1,2.6.4A4.1,4.1,0,0,1,14,6.47a3.69,3.69,0,0,1-1.1,2.7l.7.7A4.76,4.76,0,0,0,15,6.47a5.93,5.93,0,0,0-.5-2.3c.7.4,1.3.8,1.9,1.1a23.89,23.89,0,0,1,2.5,2.1,16.42,16.42,0,0,1-2.5,2.1,8.62,8.62,0,0,1-1.9,1.1l.7.7a16.29,16.29,0,0,0,1.7-1.1,21.59,21.59,0,0,0,3-2.6C20,7.58,20,7.37,19.87,7.17Z"/><path style="fill:rgb(0,128,163)" d="M17.68,15c.1,0,.1-.1.2-.1a.48.48,0,0,0,0-.7l-2.7-2.7a4.88,4.88,0,0,1-.7.3Z"/><path style="fill:rgb(0,128,163)" d="M4.88,2.07l.8.9a.76.76,0,0,0,.5-.2.35.35,0,0,0,.2-.1L3.88.08a1.1,1.1,0,0,0-.8,0c-.2.1-.1.6,0,.8L4.28,2A1.27,1.27,0,0,1,4.88,2.07Z"/><path style="fill:rgb(0,128,163)" d="M13.08,10.37l.7.7c.2-.1.5-.2.7-.3l-.8-.8A2.09,2.09,0,0,0,13.08,10.37Z"/><path style="fill:rgb(0,128,163)" d="M12.37,9.67a1.21,1.21,0,0,0,.5-.5l-5.6-5.6a1.21,1.21,0,0,0-.5.5Z"/><path style="fill:rgb(0,128,163)" d="M13.78,11.08l.8.8a4.88,4.88,0,0,1,.7-.3l-.7-.7A1.55,1.55,0,0,0,13.78,11.08Z"/><path style="fill:rgb(0,128,163)" d="M5.67,3l1.1,1.1a1.21,1.21,0,0,1,.5-.5l-.9-.9a.35.35,0,0,0-.2.1A.76.76,0,0,1,5.67,3Z"/><path style="fill:rgb(0,128,163)" d="M12.37,9.67l.7.7a1.21,1.21,0,0,0,.5-.5l-.7-.7C12.78,9.37,12.58,9.47,12.37,9.67Z"/><path style="fill:rgb(0,128,163)" d="M14.28,12l2.9,2.9c.1.1.2.1.4.1h.2l-3.1-3.1C14.37,11.87,14.37,11.87,14.28,12Z"/><path style="fill:rgb(0,128,163)" d="M5.67,3l-.8-.9a1.27,1.27,0,0,0-.6-.1l1.1,1.1C5.57,3.07,5.57,3.07,5.67,3Z"/><path style="fill:rgb(0,128,163)" d="M12.37,9.67l-5.6-5.6c-.1.1-.1.2-.2.3l5.5,5.5C12.17,9.78,12.28,9.67,12.37,9.67Z"/><path style="fill:rgb(0,128,163)" d="M12.87,10.58l.6.6c.1,0,.2-.1.3-.1l-.7-.7Z"/><path style="fill:rgb(0,128,163)" d="M12.87,10.58c.1-.1.2-.1.2-.2l-.7-.7c-.1.1-.2.1-.2.2Z"/><path style="fill:rgb(0,128,163)" d="M14.28,12c.1,0,.2-.1.3-.1l-.8-.8c-.1,0-.2.1-.3.1Z"/><path style="fill:rgb(0,128,163)" d="M5.67,3c-.1,0-.2.1-.3.1l1.2,1.2c.1-.1.1-.2.2-.3Z"/></g></g></svg>');
    width: 25px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}