/**
 * @package LoungeSevenFive
 * @subpackage css/views
 * @ui Auth/Studio
 *
 * @author Dorin Botez
 * @version 2.2.0
 * @license https://studiobotez.com/terms-of-business
 * @copyright Studio Botez Ltd, 2015 - 2023
 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #6E7072;
}

a {
    color: #ccc;
    font-weight: normal;
    text-decoration: underline;
}

h1 {
    background: none;
    color: #ffffff;
    font-size: 20px;
}

.login-screen{
    display: block;
    overflow: hidden;
    max-width: 512px;
    min-height: 450px;
    max-height: 100%;
    position: absolute;
    top: calc(100vh - 60%);
    left: calc(100vw - 50%);
    background-color: rgba(255,255,255,0.05);
    border: 0.75px solid #72afcd;
    border-radius: 1em;
    box-shadow: none;
    padding: 1.5em;
    margin-top: -256px;
    margin-left: -256px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

.login-screen.no-access{
    top: calc(100vh - 65%);
}

.login-bg{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.signin-form{
    position: relative;
    min-height: 190px;
    z-index: 100;
}

.signin-form h2{
    display: block;
    text-align: center;
    margin: 3em auto;
}

.no-access .signin-form{
    display: block;
    color: #000000;
    text-align: center;
}

.no-access .signin-form h3{
    display: block;
    margin: 1em auto;
}

.no-access .signin-form .notice{
    display: block;
    background-color: rgba(250,241,165,0.75);
    text-align: center;
    border-color: #000;
    border-radius: 1em;
    line-height: 1.45em;
    padding: 1em;
}

.logo {
    display: block;
    width: 25%;
    overflow: hidden;
    box-shadow: 0 0 2em #000000;
    border-radius: 1em;
    margin: 1.1em auto 0.5em auto;
    padding: 0;
}

.logo img{
    display: block;
    width: 100%;
    outline: none;
}

header{
    position: relative;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 10;
    margin: 0;
}

.signin-links a{
    display: block;
    color: #111111;
    text-align: center;
    margin: 1.5em auto 1em auto;
}

form{
    position: relative;
    z-index: 10;
}
main{

}

footer{
    display: flex;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,0.05);
    text-align: center;
    padding: 0.5em 0;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
}

footer p{
    display: block;
    color: #111111;
    margin: 1em auto;
}

#appAccess {
    display: block;
    width: 100%;
    height: 100vh;
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#appAccess.pattern{
    background-position: 50% 50%;
    background-repeat: repeat;
}
input[type="text"],
input[type="email"],
input[type="password"]{
    text-align: center;
    border-bottom: .5px solid #212343 !important;
}

label{
    min-height: 110px;
    border: none;
    border-radius: 10px;
}

label.error,
label.has-label.error{
    color: #d0021b;
}

label .input-label {
    -webkit-transition: opacity 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -moz-transition: opacity 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -ms-transition: opacity 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -o-transition: opacity 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: opacity 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    color: #17402D;
    display: block;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 4px;
    opacity: 0;
    text-align: center;
}

label.has-focus {
    background-color: rgba(255,255,255,0.20);
    border-radius: 10px;
    cursor: text;
    z-index: 2;
}

label.has-focus .input-wrapper:after {
    color: #393536;
}

label.has-focus .input-label {
    color: #000;
}

label.has-value .input-label {
    opacity: 1;
    font-size: 1rem;
    font-weight: 900;
    color: #212343;
    text-align: center;
}

label.selectable:hover{
    background-color: rgba(16,66,45,0.20);
}

label.selectable a:hover{
    color: #17402D;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input.error{
    color: #d0021b;
}

/* Construction ----------------------------------------------------------- */

#bgLoader {
    background: rgba(0, 0, 0, 0) url("../../services/images/loader.gif") no-repeat scroll center center;
    height: 60px;
    left: 50%;
    margin: 0 0 0 -40px;
    opacity: 0.8;
    position: absolute;
    top: 10%;
    width: 60px;
    z-index: 0;
}



/* Login dialog ----------------------------------------------------------- */

#loginUser {
    clear: both;
    padding: 15px 0 10px 15px;
}

#loginPass {
    float: left;
    padding: 15px 0 10px 15px;
}

#emailUser {
    clear: both;
    padding: 30px 0 10px 15px;
}

#loginSubmit {
    width: 150px;
    height: 60px;
    float: right;
    margin: 10px 0 0 20px;
}

#emailSubmit {
    width: 150px;
    height: 60px;
    float: right;
    margin: 30px 0 0 20px;
}

.loginUtils a:hover,
.loginBack a:hover {
    opacity: 0.5;
    color: #fff;
}

.forgotLink{
    background: url(../../services/images/login-forgot-link-bg.png) no-repeat 50% 0;
}

.loginLink{
    background: url(../../services/images/login-back-link-bg.png) no-repeat 50% 0;
}

* html #loginSubmit span,
* html #forgotSubmit span {
    position: relative;
    top: -4px;
}

/* Messages --------------------------------------------------------------- */

#error, #success {
    width: 100%;
    min-height: 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    color: #ffffff;
    font-size: 17px;
    line-height: 23px;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 25px 0;
}

#error a{
    color: #fff;
}

#success {
    color: #005511;
}

/* Media Queries */

@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

@media screen and (max-width: 47em) {
    .login-screen{
        left: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 1.25em;
        margin-left: 0;
    }

    header{
        margin-top: 2em;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 27em) {
    .login-screen{
        padding: 1.25em;
    }

    .logo{
        min-width: 128px;
    }
}