﻿@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
    font-family: "OpenSans", Helvetica, Verdana, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: "OpenSans", Helvetica, Verdana, Arial, sans-serif;
}

h2 {
    font-size: 30px;
    font-weight: bold;
}

.box img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-bottom: 20px;
}

.main-container {
    width: 100%;
    height: 100vh;
    background: url('/images/login_bkg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    transition: 0.4s linear;
    back
}

.box {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .8);
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, .5);
    border-radius: 10px;
}

    .box h2 {
        margin: 0 0 30px;
        padding: 0;
        color: #fff;
        text-align: center;
    }

    .box p {
        margin-bottom: 0;
    }

        .box p:nth-child(even) {
            margin-top: 0;
        }

    .box a {
        color: #9a9d9e;
        font-size: 14px;
        text-decoration: none;
    }

    .box .input-box {
        position: relative;
    }

        .box .input-box input {
            width: 100%;
            padding: 10px 0;
            font-size: 14px;
            margin-bottom: 30px;
            color: #fff;
            border: 1px solid #fff;
            border: none;
            border-bottom-style: solid;
            outline: none;
            letter-spacing: 1px;
            background: transparent;
        }

        .box .input-box label {
            position: absolute;
            color: #fff;
            top: 0;
            left: 0;
            padding: 10px 0;
            font-size: 14px;
            pointer-events: none;
            transition: .5s;
        }

        .box .input-box input:focus ~ label,
        .box .input-box input:valid ~ label {
            top: -18px;
            left: 0;
            color: #03a9f4;
            font-size: 12px;
        }

    .box input[type=submit] {
        background: transparent;
        border: none;
        outline: none;
        background: #FFF;
        color: black;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 5px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        font-weight: bold;
        width: 100%;
        height: 50px;
        font-size: 18px;
    }

#logged-in {
    width: 100%;
    height: auto;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 50px;
    display: none;
}

.login-true {
    opacity: 0;
}

#errorLabel {
    display: none;
    text-align: center;
    padding-bottom: 20px;
}

    #errorLabel label {
        color: red;
        font-size: 12px;
        font-weight: bold;
    }
