.login-main {
    @include table-flex(center, center, flex, row, wrap, center);
    background: url('/images/bg.png') no-repeat center center;
    background-size: cover;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    fieldset {
        margin-bottom: 1rem;
    }
    .login-container {
        @include table-flex-child(0, 400px, 0, 400px);
    }
    .logo,
    .tagline {
        margin-bottom: 1rem;
        text-align: center;
    }
    .tagline {
        @extend %xlarge;
        @extend %title;
        color: $white;
        line-height: 2rem;
        text-transform: uppercase;
    }
    form {
        margin-bottom: 2rem;
    }
    input {
        background: $white;
        @include placeholder {
            color: $gray-light;
        }
    }
    .login-text,
    .register-text {
        text-align: center;
        a:hover {
            color: $fresh-taiga;
        }
    }
    .button {
        color: $white;
        display: block;
        margin-bottom: .5rem;
        text-align: center;
        &:hover {
            background: $fresh-taiga;
        }
    }
    a {
        &:hover {
            color: $white;
        }
    }
}

.login-error {
    background: $red;
    border-radius: 4px;
    color: $white;
    display: none;
    padding: 1rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 20%;
    span {
        display: block;
    }
    .title {
        @extend %large;
        @extend %bold;
    }
    .icon-delete {
        color: $red-light;
        position: absolute;
        right: .5rem;
        top: .5rem;
        &:hover {
            @include transition(color .3s linear);
            color: $white;
        }
    }
}
