/*
 * body
 * body wrapper
 */
.login-pf body {
    background: #04151b;
    background-size: cover;
    background-attachment: fixed;
}

.login-pf body {
    min-height: 100%;
}

#kc-body-wrapper {
    min-height: 100vh;
    background: url('https://userimg-assets-eu.customeriomail.com/images/client-env-194641/DTG-Logo-BG_01K451GYRK3WPMK1VS1VRY61QG.png') #04151b;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    #kc-body-wrapper {
        width: 700px;
        /* margin-left: 15%; */
        margin: auto;
    }
}

/*
 * error messages
 */
.login-pf .alert {
    background: none !important;
    color: #fff !important;
}

.alert-error {
    border-color: #cc0000;
}

/*
 * locale dropdown
 */
#kc-locale {
    position: absolute;
    right: 15px;
    z-index: 1;
}

.kc-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 100%;
    padding: 8px 5px;
}

#kc-locale:hover .kc-dropdown-menu {
    display: block;
    margin: 0;
}

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

.kc-dropdown-menu 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-link {
    display: block;
    padding: 5px 10px;
}

a.kc-current-link:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

a.kc-current-link span {
    transition: .15s ease all;
}

a.kc-current-link:hover span {
    transform: rotate(180deg);
}

/*
 * login-pf specific
 */
.login-pf #kc-content {
    color: #fff;
}

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

/*
 * logo
 */
#kc-logo {
    width: 80%;
    height: 35vh;
    max-height: 40vh;
    margin: auto;
    position: relative;
}

#kc-logo-wrapper {
    width: 100%;
    height: 140px;
    position: absolute;
    background: url("../img/DTL-Logo_Colour+WhiteText.svg") no-repeat;
    background-size: contain;
    background-position: center;
    bottom: 5%;
}

div.kc-logo-text {
    background-image: url("../img/keycloak-logo-text.png");
    background-repeat: no-repeat;
    width: 250px;
    height: 38px;
}

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

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

/*
 * content
 */
#kc-content {
    position: relative;
    width: 80%;
    margin: auto;
}

/*
 * form
 */
#kc-form-wrapper {
    padding-bottom: 50px;
}

.kc-sign-in-button {
    background: red;
}

form .input-group {
    margin-bottom: 15px;
}

form .input-group.input-group-lg {
    border-bottom: 1px solid #14a1cf;
}

form label,
form label.control-label {
    font-weight: lighter;
}

form .input-group-addon {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 12px;
}

form:not(#kc-form-login) .input-group-addon {
    min-width: 120px;
    text-align: left;
}

#kc-form .input-group-addon .glyphicon {
    margin-left: -10px;
}

form .input-group-lg .form-control {
    font-size: 16px !important;
}

/*#kc-form .input-group .glyphicon {*/
/*transition: .1s all ease .2s;*/
/*}*/
/*#kc-form .input-group:hover .glyphicon {*/
/*transform: translateX(7px);*/
/*}*/
form .form-control {
    background: transparent;
    border: none;
    color: #fff !important;
    height: 40px;
}

form .form-control:focus {
    outline: 0;
    border: none;
    background-color: transparent;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

form:not(#kc-form-login) .input-group-lg .form-control,
form:not(#kc-form-login) .input-group-lg .input-group-addon,
form:not(#kc-form-login) .input-group-lg .input-group-btn>.btn {
    padding: 5px 2px;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #fff !important;
    font-style: normal !important;
    font-weight: lighter;
    font-size: 18px;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #fff !important;
    font-style: normal !important;
    font-weight: lighter;
    font-size: 18px;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #fff !important;
    font-style: normal !important;
    font-weight: lighter;
    font-size: 18px;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #fff !important;
    font-style: normal !important;
    font-weight: lighter;
    font-size: 18px;
}

-webkit-input-placeholder {
    color: #fff !important;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: transparent !important;
}

select {
    cursor: pointer;
}

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

#kc-form-options>.col-xs-6 {
    padding: 0;
}

.kc-form-forgot-password {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#kc-form-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="submit"] {
    padding: 8px 50px;
    text-transform: uppercase;
    font-size: 20px;
    background: none;
    border: none;
    font-weight: 400;
    margin: auto;
    /* border-color: #14a1cf; */
    color: #fff;
    margin-top: 50px;
    /* font-weight: lighter; */
    background-color: #0094d4;
}

input[type="submit"]:hover {
    background-color: #179cd4;
    border-color: #179cd4;
}

.rounded {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/*
 * info
 */
#kc-info-wrapper {
    font-size: 13px;
    margin-top: 30px;
}

/*
 * registration
 */
#kc-registration {
    width: 100%;
    text-align: center;
}

#kc-registration>span {
    display: block;
}

#kc-registration>a {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: lighter;
}

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

/*
 * 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: 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.google .text:after {
    content: "+";
}

.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";
}

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

@media (max-width: 767px) {
    /*#kc-logo-wrapper {*/
    /*background-position: center;*/
    /*width: 100%;*/
    /*margin: 20px 0;*/
    /*}*/
    /*#kc-header {*/
    /*padding-left: 15px;*/
    /*padding-right: 15px;*/
    /*float: none;*/
    /*text-align: center;*/
    /*}*/
    /*#kc-form {*/
    /*float: none;*/
    /*}*/
    /*#kc-info-wrapper {*/
    /*border-top: 1px solid rgba(255, 255, 255, 0.1);*/
    /*margin-top: 15px;*/
    /*padding-top: 15px;*/
    /*padding-left: 0px;*/
    /*padding-right: 15px;*/
    /*}*/
    /*#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: 0px;*/
    /*text-align: right;*/
    /*z-index: 9999;*/
    /*}*/
}

@media (max-height: 500px) {
    /*#kc-container-wrapper {*/
    /*}*/
}

/*
 * select2
 */
select.select2-offscreen,
select.select2-offscreen:focus {
    clip: rect(0 0 0 0);
    width: 1px !important;
    height: 1px !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    outline: 0 !important;
    left: 0px !important;
}

.select2-container .select2-choice {
    background: none;
    border-width: 0px;
    color: #fff;
    padding: 0;
    border-radius: 0px;
}

abbr.select2-search-choice-close {
    background: none !important;
}

.select2-container .select2-choice:focus {
    outline: none;
}

.select2-container .select2-choice .select2-arrow {
    background: none;
    border-width: 0;
}

.select2-dropdown-open .select2-choice {
    box-shadow: 0 0 0;
}

div#select2-drop {
    background: #222;
    color: #fff;
    font-size: 16px;
    border-radius: 0;
    margin-top: 0;
}

.select2-drop-active {
    border: 1px solid #20a3d1;
}

ul.select2-results {
    padding: 0;
    margin: 0;
}

.select2-results .select2-highlighted {
    background: #20a3d1;
    color: #222;
}

/*
 * hide select and when using datepicker
 */
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-calendar-picker-indicator {
    display: none;
}