/*
 *  Custom CSS for Sytral Login
 *
 *  Sytral colors scheme
 *  - white: #FFFFFF
 *  - red sytral: #e2001a;
 *  - grey sytral: #707173
 *  - light grey shade: #f1f5f5
 *  - dark grey shade: #272727
 */

 body {
  font-family: "Roboto";
}

h1, h2, h3, h4 {
  font-family: "TTRoundCondensed";
}

.login {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(0, 0, 0, 0) 100%), url(../img/back-general.jpg) no-repeat center center;
  background-size: cover;
}

.login .container {
  max-width: 350px;
}

#kc-content {
  background-color: rgba(0,0,0,0.6) ;
  border-radius: .75rem;
  padding: 1.5em;
}

.vertical-line {
  border-left: 1px solid #fff;
  height: 20px;
  display: inline-block;
  margin: 0 10px;
}

h1#kc-page-title {
  display: flex;
  align-items: center;
  background: none;
  justify-content: center;
}

h1 {
  background-color: inherit;
}

h2 {
  text-transform: inherit;
  margin-bottom: 1rem;
  padding-top: 0;
}

.login header h1 {
  font-size: 1.5em;
  padding: 0;
}

.logo {
  background-color: transparent !important;
  max-width: 50% !important;
  margin-bottom: 2em;
}

#kc-locale-wrapper {
  display: none;
}

.login #login input[type="text"], .login #login input[type="password"], .login #login input[type="email"] {
  color: #222;
  background: #F0F0F0;
  border: 1px solid #a7a7a7;
  border-radius: 5px;
}

.login #login input::placeholder {
  color: #222222 !important;
}

.login #login input:focus + label {
  border: 1px solid var(--focus_color);
}

#login .highlight-bt:focus {
  color: #e2001a ;
  background: var(--focus_color);
  border: 1px solid var(--focus_color);
}

#login .highlight-bt {
  background: #e2001a;
  color: #fff;
  border: 1px solid #e2001a;
  margin-right: 0;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 0;
}

#login .highlight-bt:hover {
  background: #fff;
  color: #e2001a ;
  border: 1px solid #e2001a;
}

.highlight-bt, .secundary-bt {
  text-decoration: none;
  font-family: "Roboto";
  font-style: normal;
}

.secundary-bt {
  background: transparent;
  color: white;
  border: 1px solid #fff;
  margin-right: 0;
  border-radius: 5px;
  width: 100%;
  padding: 5px;
}

.secundary-bt:hover {
  color: #fff;
  font-weight: bold;
}

.secundary-bt:focus {
  color: #fff;
  font-weight: bold;
}

/* Overrides strange label rule in base theme */
label {
  text-transform: none;
  padding-left: 0;
}

#rememberMeLabel {
  padding-left: 0.5rem;
  padding-bottom: 0;
}

a {
  color: #ededed
}

a {
  text-decoration: underline;
  font-family: "Roboto";
}

.auth-helpers-section  {
  margin-bottom: 15px;
}

#rememberMeBlock {
  float: left;
  margin-top: 0px;
  display: flex;
  align-items: center;
  font-family: "Roboto";
  font-style: normal;
  font-weight: bold;
}

.login #login .lost-password {
  margin-top: 4px;
  font-style: normal;
  font-weight: bold;
}

.login #login .lost-password:hover {
  color: #fff;
}

.clearfix:after {
  clear: both;
  display: block;
  content: "";
}

.help-text-icon {
  top: 2rem;
  right: .5rem;
  z-index: 2;
}

.help-text-password {
  margin: 0 0;
  top : 0rem;
  width: 19rem;
  border-radius: 20px;
}

/* Hold button to display help message.
 * Dirty but still better than nothing on mobile devices.
 */
.help-text-icon:active~.help-text-password {
  display: block;
}

/* Display EVEN ON an error message
 * Override default product behaviour
 */
.alert.alert-error~main .help-text-icon {
    display: block;
}

/* Display EVEN ON an error message
 * Override default product behaviour
 */
 .alert.alert-error ~ main .help-text-icon:hover ~ .help-text-password,
 .alert.alert-error ~ main .help-text-icon:active ~ .help-text-password {
   display: block;
 }

.terms-link {
  display: none !important;
}


/* Custom fonts */


@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2"), url("../fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic.woff2") format("woff2"), url("../fonts/Roboto-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.woff2") format("woff2"), url("../fonts/Roboto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "TTRoundCondensed";
  src: url("../fonts/TTRoundsCondensed-Regular.woff2") format("woff2"), url("../fonts/Roboto-TTRoundsCondensed-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
