/**
 * 01/28/2016
 * This pen is years old, and watching at the code after all
 * those years made me fall from my chair, so I:
 * - changed all IDs to classes
 * - converted all units to pixels and em units
 * - changed all global elements to classes or children of
 *   .login
 * - cleaned the syntax to be more consistent
 * - added a lot of spaces that I so hard tried to avoid
 *   a few years ago
 *   (because it's cool to not use them)
 * - and probably something else that I can't remember anymore
 *
 * I sticked to the same philosophy, meaning:
 * - the design is almost the same
 * - only pure HTML and CSS
 * - no frameworks, preprocessors or resets
 */

/* 'Open Sans' font from Google Fonts */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
    background: #fdf2fc;
    font-family: 'Open Sans', sans-serif;
}

span.inputLabel {
    color: #ac3d96;
    line-height: 30px;
    padding-left: 5px;
}

.login {
    width: 400px;
    margin: 16px auto;
    font-size: 16px;
    margin-top:80px;
}

    /* Reset top and bottom margins from certain elements */
    .login-header,
    .login p {
        margin-top: 0;
        margin-bottom: 0;
    }

/* The triangle form is achieved by a CSS hack */
.login-triangle {
    width: 0;
    margin-right: auto;
    margin-left: auto;
    border: 12px solid transparent;
    border-bottom-color: #ac3d96;
}

.login-header {
    background: #ac3d96;
    padding: 20px;
    font-size: 1.4em;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.login-container {
    background: #ebebeb;
    padding: 12px;
}

/* Every row inside .login-container is defined with p tags */
.login p {
    padding: 5px;
}

.login input, button {
    border-color: #ac3d96;
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-width: 1px;
    border-style: solid;
    padding: 16px;
    outline: 0;
    font-family: inherit;
    font-size: 0.95em;
}

    .login input[type="email"],
    .login input[type="password"] {
        background: #fff;
        border-color: #ac3d96;
        color: #555;
    }

        /* Text fields' focus effect */
       /* .login input[type="email"]:focus,
        .login input[type="password"]:focus {
            border-color: #b555a2;
        }*/

    .login input[type="submit"], input[type="button"] {
        background: #ac3d96;
        border-color: transparent;
        color: #fff;
        cursor: pointer;
    }

        .login input[type="submit"]:hover {
            background: #b555a2;
        }

        /* Buttons' focus effect */
        .login input[type="submit"]:focus {
            border-color: #b555a2;
        }

.login button.secondary {
    background-color: lightgray;
    border-color: transparent;
    color: #000;
    cursor: pointer;
}

    .login button.secondary:hover {
        background: #b555a2;
        color: #fff;
    }

.vstopOpomba {
    font-family: inherit;
    font-size: 15px;
    padding: 15px;
}

    .vstopOpomba .bold {
        font-weight: bold;
    }

p.formInputWrapper {
    padding-top: 0;
    padding-bottom: 0;
}

body.body-login {
    background-image: url('../Organizatorji/000000_background_vstop.png');
    background-repeat: no-repeat;
    background-size: cover;
}
