/*================
 ## Login       ##
 ===============*/

.login-background {
   background-image: url("../images/login/1.jpg");
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   height: 100%;
}

.login-wrapper {
   border-radius: 10px;
   box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.25);
   display: flex;
   flex-direction: column;
   font-size: 10px;
   left: 50%;
   min-height: 220px;
   overflow: hidden;
   position: absolute;
   text-transform: uppercase;
   top: 50%;
   width: 400px;
   z-index: 998;

   transform: translate(-50%, -50%);
}

.login-title {
   align-items: center;
   box-sizing: border-box;
   display: flex;
   height: 64px;
   justify-content: space-between;
   padding: 0 20px;
}

.login-title .login-logo {
   background-image: url("../svg/login-logo.svg");
   background-position: center;
   background-repeat: no-repeat;
   height: 50%;
   order: 1;
   width: 150px;
}

.login-title .login-version {
   order: 0;
}

.login-title .login-version .title { font-size: 14px; }
.login-title .login-version .version { font-size: 8px; }

/*
.login-title img {
   align-self: flex-end;
   height: 24px;
}
*/

/* ======================= *
 * ## control container ##
 * ======================= */

.login-control-container {
   display: flex;
   flex: 1;
   flex-direction: row;
   left: 0%;
   position: relative;
   width: 100%;

   transition: left .667s;
}

.login-wrapper[data-step="login"] .login-control-container { left: 0%; }            /* Standard login screen */
.login-wrapper[data-step="recover"] .login-control-container { left: -100%; }       /* Enter email for password recovery screen */
.login-wrapper[data-step="emailsend"] .login-control-container { left: -200%; }     /* Email for password recovery succesfully sent screen */
.login-wrapper[data-step="register"] .login-control-container { left: 0%; }         /* Register new email screen */
.login-wrapper[data-step="registered"] .login-control-container { left: -100%; }    /* New password succesfully registered screen */

.login-control-container .login-control-slide {
   flex: 1 0 100%;
}

.login-form {
   border-style: solid;
   border-width: 1px 0 0 0;
   float: left;
   height: 100%;
   padding: 10px 20px 60px 20px;
   position: relative;
   width: 100%;
}

.login-form .title-text,
.login-form .login-form-row {
   width: 100%;
}

/*
.login-form .content-text,
.login-form .login-form-row label,
.login-form .title-text {
   text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}
*/

.login-form .content-text,
.login-form .login-form-row {
   height: 30px;
   margin-top: 10px;
}

.login-form .content-text {
   line-height: 20px;
   text-align: center;
}

.login-form .login-form-row {
   display: flex;
   flex-direction: row;
   float: left;
   line-height: 20px;
   position: relative;
}

.login-form .login-form-row label {
   font-weight: bold;
   height: 100%;
   line-height: 30px;
   width: 75px;
}

.login-form .login-form-row input {
   border-radius: 0;
   box-shadow: none;
   flex: 1;
   font-size: 12px;
   height: 100%;
   padding: 0 8px;
   text-transform: none;
}

.login-wrapper[data-step="register"] .login-form .login-form-row label { width: 110px; }

.login-form .title-text {
   font-size: 14px;
   font-weight: normal;
   height: 20px;
   line-height: 20px;
   text-align: center;
}

.login-form .back-to-login-link,
.login-form .forgot-password-link {
   bottom: 20px;
   cursor: pointer;
   font-weight: bold;
   left: 20px;
   position: absolute;
   text-transform: uppercase;
   width: 75px;
}

/*
.login-form input[type="text"], .login-form input[type="password"] {
   display: inline-block;
   width: 240px;
   height: 30px;
   line-height: 30px;
   padding-left: 8px;
   padding-right: 8px;
   text-transform: none;
}
*/

.login-button {
   bottom: 20px;
   box-shadow: none;
   height: 30px;
   line-height: 30px;
   margin: 0px;
   padding: 0px 4px 0px 8px;
   position: absolute;
   right: 20px;
   text-align: left;
   text-shadow: none;
   width: 285px;
}

.login-wrapper[data-step="register"] .login-button { width: 250px; }

.login-button:after {
   content: "\2192";
   display: inline-block;
   width: 18px;
   height: 16px;
   float: right;
   margin-left: 2px;
   /background: url('../images/menu_glyphs.png') -288px -289px;
}

.login-button.return-button {
   padding: 0 8px;
   right: 50%;
   transform: translate(50%, 0);
}

.login-form-error {
   color: #fff;
   float: left;
   margin-top: 10px;
   padding: 5px;
   position: relative;
   width: 100%;
}
