html {
    font-size: 1em;
}

h4, .h4 {
    font-size: 1em;
}

.login-pf {
	background: none;	
}

.login-pf body {
    background-color: white;
    background-size: 100% auto;
    background-image: none;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
}

.kc-dropdown{
    position: relative;
    z-index: 9999;
}
.kc-dropdown > a{
    position: absolute;
    right: 0px;
    display:block;
    padding: 11px 10px 12px;
    line-height: 12px;    
    text-decoration: none;
}
.kc-dropdown > a::after{
    content: "\2c5";
    margin-left: 4px;
}
.kc-dropdown:hover > a{
    background-color: rgba(0,0,0,0.2);
}
.kc-dropdown ul li a{
    padding: 1px 11px;
    color: #000 !important;
    border: 1px solid #fff;
    text-decoration: none;
    display:block;
    line-height: 20px;
}
.kc-dropdown ul li a:hover{
    color: #4d5258;
    background-color: #d4edfa;
    border-color: #b3d3e7;
}
.kc-dropdown ul{
    position: absolute;
    right: 0px;
    top: 35px;
    z-index: 2000;
    list-style:none;
    display:none;
    padding: 5px 0px;
    margin: 0px;
    background-color: #fff !important;
    border: 1px solid #b6b6b6;
    border-radius: 1px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    min-width: 100px;
}
.kc-dropdown:hover ul{
    display:block;
}

.login-pf .container {
    padding-left: 25px;
}

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

.navigation-container {
    background-color: #004868;
    padding: 15px;
    color: white;
    height: 40px;
    margin: 20px 0 0;
}

.page-name {
    text-transform: uppercase;
}

#kc-locale {
	float: right;	
}

#kc-container {
    width: /*980px*/851px;
    background-color: transparent;
    margin: 0 auto;
    clear: both;
    border: 1px solid #CCCCCC;
    box-shadow: 0 0 15px #000000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border-top: 0;
    overflow: hidden;
}

#kc-container-wrapper {
	overflow: hidden;
    border: 1px solid #CCCCCC;
    box-shadow: 0 0 15px #000000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-color: #FFFFFF;
    border-top: 0;
}

.login-pf .container {
	color: #000;
	
}

#kc-content {
    position: relative;
}

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

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

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

#kc-feedback-wrapper {
	margin: 15px;	
}

.kc-feedback-text , h1{
	font-size: 1.35em;
    font-weight: bold;
}

#kc-registration {
    margin-bottom: 15px;
}

/* 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;
}

/* 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%;
}

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

/* Social */

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

#kc-social-providers li {
    display: inline-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.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.google .text:after {
    content: "+";
}

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

/*
@media (min-width: 768px) {
    #kc-container-wrapper {
        bottom: 13%;
        position: absolute;
        width: 100%;
    }

    #kc-logo-wrapper {
        position: absolute;
        top: 50px;
        right: 50px;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    #kc-locale {
        position: relative;
        width: 200px;
        left: -230px;
        text-align: right;
        z-index: 9999;
    }
}
TODO KC2 test
*/


@media (max-width: 768px) {
    #kc-container {
        width: 100%;
    }

    #kc-container .logo-wrapper IMG {
        height: auto;
    }

    #kc-form-wrapper {
        padding-right: 0 !important;
    }
}

@media (max-height: 500px) {
    #kc-container-wrapper {
        position: inherit;
        float: none;
    }
}

@media (min-width: 768px) {
    #kc-container {
        width: 768px;
    }
}

@media (min-width: 1024px) {
    #kc-container {
        width: 1024px;
    }
}

footer {
    font-style: normal;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .85em;
    background-color: #EFEFEF;
    margin: 0;
}

footer .footer-container {
    display: inline-block;
    letter-spacing: .05em;
    line-height: normal;
}

footer .footer-text {
    padding: 15px;
}

footer .footer-link {
    padding: 10px 0 10px 15px;
}

footer .footer-link a {
	color: #00618a;
}


.separation {
    padding: 10px;
    background-color: #ddedfd;
    display: block;
    font-weight: bold;
}


a {
	color : #0078AE;
}

section form {
	padding-left: 5px;
}

.login-pf .container .form-horizontal .control-label {
	font-size: .95em;
	font-weight: bold;
}

.form-control {
	font-size: .95em;
}

.btn { 
	font-size: 1.05em;
}

#kc-terms-text .separation {
	margin-top: 20px;
	margin-bottom: 30px;
}

#oidcCertified {
	width: 100px;
    float: right;
    margin-right: 12px;
    margin-bottom: 12px;	
}

.header-text {
    font-family: Sharp Grotesk Light;
    font-size: 34px;
    font-weight: 300;
    line-height: 43px;
    letter-spacing: 0;
    text-align: left;
    align-self: flex-end;
}

.flex {
    display: flex !important;
}

.vl {
    border-left: 1px solid black;
    height: 95%;
    margin-top: 5px;
    position: relative;
    margin-left: -3px;
}

.hl {
    margin-top: 15px;
    border: 1px solid black;
    margin-bottom: 15px;
}

#kc-header-wrapper {
    text-align: center;
}