﻿
body {
    background-color: #dea91b; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #f4da89 1%, #D9AE3B 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#f4da89), color-stop(100%,#D9AE3B)); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover, #f4da89 1%,#D9AE3B 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover, #f4da89 1%,#D9AE3B 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover, #f4da89 1%,#D9AE3B 100%); /* IE10+ */
    background: radial-gradient(ellipse at center, #f4da89 1%,#D9AE3B 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4da89', endColorstr='#D9AE3B',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    height: calc(100vh);
    width: 100%;
}

div.main {
    background: #f4da89; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #f4da89 1%, #D9AE3B 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#f4da89), color-stop(100%,#D9AE3B)); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover, #f4da89 1%,#D9AE3B 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover, #f4da89 1%,#D9AE3B 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover, #f4da89 1%,#D9AE3B 100%); /* IE10+ */
    background: radial-gradient(ellipse at center, #f4da89 1%,#D9AE3B 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4da89', endColorstr='#D9AE3B',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    height: calc(100vh);
    width: 100%;
}


/* ---------- GENERAL ---------- */

* {
    box-sizing: border-box;
    margin: 0px auto;
}

body {
    padding: 0;
    font-family: 'Microsoft JhengHei',Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 0;
}

a {
    color: #666;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        cursor: pointer;
    }


input[type=text], input[type=password] {
    border: none;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    padding: 0;
    height: 50px;
}


.login-container {
    left: 45%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
}

.middle {
    display: flex;
    width: 800px;
}
/* ---------- LOGIN ---------- */



#login {
    display: inline-block;
    padding: 0px 22px;
    width: 390px;
}

.logo {
    display: inline-block;
    border-right: 1px solid #fff;
    
    width: 390px;
}

    .logo > h3 {
        color: #333;
        font-weight: bold;
    }

#login form {
    width: 300px;
}

    #login form span.fa {
        background-color: #fff;
        border-radius: 3px 0px 0px 3px;
        color: #000;
        display: block;
        float: left;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        text-align: center;
        width: 50px;
    }


    #login form input[type="text"], input[type="password"] {
        background-color: #fff;
        border-radius: 0px 3px 3px 0px;
        color: #000;
        margin-bottom: 1em;
        padding: 0 16px;
        width: 250px;
    }

    #login form input[type="submit"] {
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        background-color: #000000;
        color: #eee;
        font-weight: bold;
        /* margin-bottom: 2em; */
        text-transform: uppercase;
        padding: 5px 10px;
        height: 30px;
    }

        #login form input[type="submit"]:hover {
            background-color: #d44179;
            cursor: pointer;
        }

.login-register {
    font-size: 20px;
    padding: 10px;
}


@media (min-width: 1200px) {
}

@media (min-width: 980px) and (max-width: 1199px) {
}

@media (min-width: 768px) and (max-width: 979px) {
}

@media (max-width: 767px) {
    .login-container {
        left: 50%;
    }

    #login {
        display: block;
        padding: 0px 22px;
        width: 100%;
    }

    .logo {
        display: block;
        border-right: 0;
        color: #fff;
        width: 100%;
        margin-bottom: 30px;
    }

    .middle {
        display: block;
        width: 100%
    }
}

@media (max-width: 480px) {
}
