/*
 * Copyright 2018 Infowijs
 * Created by Thomas Schoffelen
 */

html,
body,
input,
button {
    font-family: Avenir, Value, -apple-system, Helvetica, Arial, sans-serif;
}

body.login-community {
    background-color: #3774ef;
    background-image: none;
}

.login-community .login-overlay {
    background: transparent url("/schoolwiki/admin/app/assets/login/background.jpg") no-repeat 0 50%;
    background-size: cover;
}

.login-community .login-box.wider p.instructions {
    font-weight: 600;
}

.login-box.wider .submit .btn.green {
    background-color: #ff9800 !important;
    border: 0 !important;
    display: inline-block;
    line-height: 32px;
    font-weight: 600;
}

.login-community .login-box.wider p {
    font-weight: 400;
}

.login-community .login-box {
    width: 600px;
    margin-left: -300px;
    margin-top: -232px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.04), 0 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.login-community .login-box .inner {
    background: transparent;
    position: relative;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 30px;
    padding-right: 330px;
    min-height: 100%;
}

.login-community .login-box .inner:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: #ddd url("/schoolwiki/admin/app/assets/login/sidebar.jpg") no-repeat center;
    background-size: cover;
}

.login-community .login-box .logo {
    display: none;
}

.login-community .login-box h1 {
    color: #000;
    font-weight: normal;
    font-size: 33px;
    text-align: left;
    font-family: "Value Serif", -apple-system, Helvetica, Arial, sans-serif;
    line-height: 39px;
    margin-bottom: 8px;
}

.login-community .login-box p {
    text-align: left;
    color: #000;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
}

.login-community .login-box .help-link {
    position: absolute;
    right: 324px;
    bottom: 24px;
}

.login-community .login-box input[type="text"],
.login-box input[type="email"],
.login-box input[type="password"] {
    border-radius: 3px;
    height: 42px;
    background: #fff;
    font-size: 14px;
    border: 1px solid #d9d9d9 !important;
    margin-bottom: 2px;
}

.login-box input[name="LS_username"] {
    background: #fff url("/schoolwiki/admin/app/assets/login/icon-user.svg") no-repeat 94% 50% !important;
}

.login-box input[name="LS_password"] {
    background: #fff url("/schoolwiki/admin/app/assets/login/icon-pass.svg") no-repeat 94% 50% !important;
}

.login-community .login-box input[type="submit"],
.login-community .login-custom-actions a {
    border-radius: 3px;
    height: 42px;
    box-shadow: none;
    margin-top: 14px;
    display: block;
    width: auto;
    clear: left;
    padding: 0 24px;
    line-height: 44px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    background: #3d81ff;
}

@media (max-width: 500px) {
    body.login-community {
        border-top: 0;
    }

    .login-community .login-box {
        width: auto;
        margin-left: 0;
        margin-top: 0;
    }

    .login-community .login-box h1 {
        font-size: 44px;
        line-height: 50px;
        padding-top: 32px;
    }
}
