@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600');

body {
    color: #06063d;
    background: url('images/gsocui-bg02short.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(239, 238, 236, 0) 33%, rgba(239, 238, 236, 0.8));
}

.footer-cobalt-phone {
    display: inline-flex;
    float: right;
    flex-flow: column nowrap;
    max-height: 100%;
    margin: 8px;
    font-size: 20px;
}

.footer-logo {
    min-height: 0;
    flex-shrink: 1;
    margin-bottom: 4px;
}

.login-title {
    margin: 0;
    font-size: 2em;
    font-weight: 300;
}
.login-subtitle {
    margin: 0;
    font-size: 1.6em;
    font-weight: 300;
    max-width: 600px;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-form > * {
    margin: 8px 0;
}

.login-form tbody {
    vertical-align: unset;
}

.login-form th {
    font-size: 1.4em;
    font-weight: 300;
}

.login-form button {
    margin-bottom: 8px;
}

.login-form input,
input[name='username_or_email'] {
    font: 300 1.4rem 'Open Sans';
    color: #06063d;
    border: none;
    border-top: solid #d3d3d3 2px;
    padding: 8px;
    margin-bottom: 12px;
    width: 350px;
}

input[name='auth-username'],
input[name='auth-password'],
input[name='token-otp_token'],
input[name='password1'],
input[name='password2'] {
    width: 250px;
}

.login-form button[name='challenge_device'] {
    height: 80px;
}

.login-form-details {
    text-align: left;
    width: 50%;
}

.login-button,
.btn-primary,
.btn-default,
input[type='submit'] {
    background-color: #0085c0;
    border: none;
    color: #efeeec;
    font: 300 1.4rem 'Open Sans';
    cursor: pointer;
    min-width: 240px;
    padding: 10px 16px;
    border-radius: 3px;
}

.btn-disabled {
    display: none;
}

.errorlist {
    padding: 0;
    margin: 0;
    list-style-type: none;
    font-size: 1em;
    max-width: 380px;
}

#customer-logo {
    position: fixed;
    top: 5%;
    left: 5%;
    max-width: 200px;
    height: auto;
}

.browser-error {
    background-color: #e95336;
    border-radius: 3px;
    padding: 32px;
    text-align: center;
    line-height: 1.5;
    color: white;
    font-size: 16px;
    display: inline-block;
}

.browser-error a {
    color: white;
}

.logged-out-message {
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

.logged-out-message h4 {
    font-weight: 300;
}

.logged-out-message a {
    font-size: 1.2em;
}

.forgot-password-link {
    margin-top: 10px;
}

/* Start password recovery */
label[for='id_email'],
label[for='id_new_password1'],
label[for='id_new_password2'] {
    font-size: 1.4em;
    font-weight: 300;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4em;
    margin-left: 8em;
    position: relative;
    z-index: 1;
}
#details {
    border: 1px solid rgb(200, 200, 200);
    border-radius: 15px;
    padding: 0 0.5em;
    background-color: rgba(255, 255, 255, 0.5);
}

.valid {
    color: green;
    padding-left: 1em;
}

.valid::before {
    position: relative;
    content: '✔ ';
}

.invalid {
    color: red;
    padding-left: 1em;
}

.invalid::before {
    position: relative;
    content: '✖ ';
}

/* End password recovery */
