.login-pf-page {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	
}

.login-pf-page .login-pf-header {
    margin-bottom: 0px !important;
}

.login-pf-header h2 {
    text-align: center;
	color: #363636 !important;
	font-size: 24px;
}

/* ---------------------------------------
            BACKGROUND
   --------------------------------------- */

.login-pf body {
	background-color: #e2e2e2;
	background: transparent url(../img/demas-bg-1.jpg) no-repeat top center;
  /*  background: linear-gradient(to bottom right, #074278, #1d70b8, #649dd1); */
    background-size: cover;
    height: 100%; 
}



.logo-rittec {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 4px 0;
	margin-top:4px;
	 background: transparent url(../img/demas-logo.svg) no-repeat top center;
	 height: 100px;
}

.header-spacer {
    padding: 20px;
}

.header-wrapper img {
    max-height: 150px;
    max-width: 220px;
}

.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
	padding:8px;
	margin-bottom: 10px;
}

#kc-username {
  text-align: center;
  margin-top:40px;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

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

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

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

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

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

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

/* a#kc-current-locale-link:hover {
    background-color: rgba(0,0,0,0.2);
} */

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

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

input:hover, input:focus {
    box-shadow: none !important;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo-2.svg);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

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

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
    display: none;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;
}

#kc-content {
    width: 100%;
    padding: 10px 40px 20px;
}

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

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

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

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

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

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

/* TOTP */

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

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

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

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 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 0;
}

#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;
}

#kc-social-providers li {
    display: block;
}

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

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before{ content: "\f15d"; }
.zocial.stackoverflow:before{ color: inherit; }


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

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

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }
}

@media (max-width: 767px) {

    .login-pf body {
      background: white;
    }

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

    #kc-header-wrapper {
      font-size: 16px;
      font-weight: bold;
      padding: 20px 60px 0 0;
      color: #72767b;
      letter-spacing: 0;
    }

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #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: block;
        margin-right: 5px;
    }

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

    #kc-locale {
        position: absolute;
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        width: 100px;
        margin: 20px 0 0 20px;
    }

    .card-pf {
        height: 100% !important;
    }
}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

#kc-form-buttons {
  margin-top: 20px;
}

#kc-form-buttons input {
    background-image: none;
    border: none;
    padding: 16px;
}

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.card-pf {
  z-index:10;
  margin: 0 auto;
  padding: 0 !important;
  max-width: 500px;
  border-top: 0;
  box-shadow: 0 0 0;
  height: fit-content;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px;
  max-height: 100%;
  overflow-y: auto;
  border: none;
    background-color: transparent;
    border-radius: 1rem;
    background-image: linear-gradient(315deg, transparent ,transparent 18px,#ecf0f3 18px,#ecf0f3 calc(100% - 18px) , transparent calc(100% - 18px),transparent);
    filter: drop-shadow(0px 4px 12px rgba(0,0,0,.5));
    box-shadow: none;
}

/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 20px;
      margin-right: 20px;
      /* padding: 20px 20px 30px 20px; */
    }
}
@media (max-width: 767px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 0;
      margin-right: 0;
      padding-top: 0;
    }
    .card-pf.login-pf-accounts{
      max-width: none;
    }
	 .logo-rittec {
	 height: 26px;
}
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
  margin-top: 20px;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  .login-pf-page .login-pf-social-section:first-of-type {
    padding-right: 39px;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }
  .login-pf-page .login-pf-social-section:last-of-type {
    padding-left: 40px;
  }
  .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
  }
  
}

.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}
.login-pf-page .login-pf-social-link a {
  padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}

.login-pf-page .btn-primary {
	font-size: 1.8rem;
    font-weight: 400;
    margin-top: 0;
	outline: none;
    border: none;
    border-radius: 8px;
    background: transparent;
    background-image: linear-gradient(315deg, transparent ,transparent 9px,#02788a 6px,#02788a calc(100% - 9px) , transparent calc(100% - 9px),transparent)!important;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,.35));
}

.login-pf-page .btn-primary:hover {
	background: transparent;
    background-image: linear-gradient(315deg, transparent ,transparent 9px,#026978 6px,#026978 calc(100% - 9px) , transparent calc(100% - 9px),transparent)!important;
    border: none;
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,.35));
}

.login-pf-page .btn-default  {
	margin-left:6px;
	font-size: 1.8rem;
    font-weight: 400;
    margin-top: 0;
	outline: none;
    border: none;
    border-radius: 8px;
    background-color:#bbb;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,.35));
}

.login-pf-page .btn-default :hover {
	background-color:#ccc;
    border: none;
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,.35));
}


.btn {
    background-image: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
}



/* =======================================
            PROJECT STYLES
   ======================================= */


/* ---------------------------------------
            PRIMARY
   --------------------------------------- */

a {
    color: #02788a;
}

a:hover {
    color: #02788a;
}

input:hover, input:focus {
    border-color: #02788a !important;
}

.project-primary-color {
    color: #02788a !important;
}

.project-primary-color-background {
    background-color: transparent !important;
}





/* ---------------------------------------
            SECONDARY
   --------------------------------------- */

.project-default-color-background {
    background-color: #ddd !important;
}

.project-on-primary-color {
    color: #fff !important;
}

/* ---------------------------------------
            EXTRA
   --------------------------------------- */

.login-pf-page .form-control {
    font-size:14px;
}

.login-pf-page .control-label {
    margin-bottom:0px;
}

.footer-rittec {
	color: #02788a;
    position: absolute;
    bottom: 0;
    height: 40px;
    left: 50%;
    align-items: center;
    justify-content: center;
    z-index: 0;
	margin-left: -64px;
}
.footer-rittec a {
    color: #02788a;
}