body {
    background-attachment: fixed;
    background-color: #fff;
    background-repeat: no-repeat;
    color: #fff;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
    background-size: cover;
    -webkit-transition-property: background-image;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-in-out;
    background-position: center;
    background-image: url(../../gfx/login/cockpit.jpg);
}

#loginouter_main {
    display: block;
    position: absolute;
    height: 100%;
    z-index: 10;
    background-color: transparent;
    width: 100%;
    max-width: 530px;
    top: 0px;
    left: calc(50% - 265px);
}

#loginouter {
    display: table;
    min-width: 450px;
	width: 450px;
	position: relative;
    text-align: left;
    background-color: #444;
    padding: 45px 20px 30px 20px;
    box-shadow: 0 20px 30px 0 rgb(0 0 0);
}

#loginouter_main #loginouter {
    margin: 0 auto !important;
    top: 10%;
    transition: all .2s;
}

#loginouter_main #loginouter label {
    color: #fff !important;
    margin-bottom: 10px;
    font-family: 'AvenirNext';
    font-weight: normal;
    color: #fff!important;
    display: block;
    font-size: 16px;
}

#loginouter_main #loginouter input {
    display: block;
    width: 100%;
    width: calc(100% - 34px);
    height: calc(1.5em + 1.3rem + 2px);
    padding: 5px 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #3f4254;
    background-clip: padding-box;
    border: 1px solid #e4e6ef;
    border-radius: .42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #f3f6f9;
    border-color: #f3f6f9;
    color: #3f4254;
    -webkit-transition: color .15s ease,background-color .15s ease,border-color .15s ease,-webkit-box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,-webkit-box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease,-webkit-box-shadow .15s ease;
	font-family: 'AvenirNext';
	font-weight: normal;
    margin-top: 10px;
}

#loginouter_main #loginouter input:focus {
    background-color: #ebedf3;
    border-color: #ebedf3;
    color: #3f4254;
    -webkit-transition: color .15s ease,background-color .15s ease,border-color .15s ease,-webkit-box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,-webkit-box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease,-webkit-box-shadow .15s ease;
}

#loginouter_main #loginouter h2 {
    font-family: 'AvenirNext';
    font-weight: normal;
    color: #fff !important;
    font-size: 32px;
    background: transparent url(../../gfx/logo/flavorstudio_logo_icon_blue.png) no-repeat left center;
    background-size: auto 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 70px;
    display: inline;
}

#loginmiddle {
    position: relative;
    min-height: 100px;
}

#loginform {
    margin-top: 15px;
}

#reset-password {
    margin-bottom: 25px;
}

#password_strength_box div.psbox {
    width: 105px;
}

#logininner {
	position: relative;
	padding: 30px 30px 0px 30px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px #f3f6f9 inset;
    -webkit-text-fill-color: #3f4254 !important;
}

input.field_error,
input.error {
    border: 1px solid #fb7664 !important;    
}

.loginbutton, #confirmbutton {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .65rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .42rem;
    cursor: pointer;    
    color: #fff;
    background-color: #3699ff;
    border-color: #3699ff;
    outline: 0!important;
    vertical-align: middle;
    -webkit-transition: color .15s ease,background-color .15s ease,border-color .15s ease,-webkit-box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,-webkit-box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease,-webkit-box-shadow .15s ease;
}

#confirmbutton {
    min-width: 200px;
}

.loginbutton:hover {
    color: #fff;
    background-color: #187de4;
    border-color: #187de4;
}

.error {
    font-weight: normal;
    text-decoration: none;
    font-family: 'AvenirNext';
    font-size: 13px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 0px !important;
    margin-left: 5px;
    color: #fb7664;
}

/* ******************************************* */

@media (max-width: 800px)  {
    #loginouter_main {
        min-width: 300px;
        max-width: 1000px;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
    }
}

@media (max-width: 499px)  {
    
    body {
        min-width: auto !important;
        background-image: url(../../gfx/login/cockpit_mobile.jpg);
    }

    #loginouter_main {
        min-width: 300px;
        max-width: 1000px;
        width: 100%;
    }
    
    #loginouter {
        min-width: 0;
        width: 400px;
        left: auto !important;
        right: auto !important;
        padding: 0px !important;
        padding-top: 30px !important;
    }

    #logininner {
        padding: 30px 30px 20px;
    }
    
    #loginouter_main #loginouter h2 {
        font-size: 26px;
        display: inline-block;
        padding-left: 50px;
        background-size: auto 70%;
    }
}

@media (max-width: 419px)  {
    #loginouter {
        width: 320px;
    }

    #logininner {
        padding: 10px 40px 20px 40px;
    }
    
    #loginform {
        margin-top: 0px;
    }
    
    #loginouter_main #loginouter h2 {
        margin-bottom: 20px;
    }
}

@media (max-width: 383px) {
    #loginouter {
        width: 300px;
    }

    #submitbutton {
        margin-top: 0;
    }
}