﻿body {
    margin: 0;
    padding: 0;
}

#login{
    position: absolute;
    top: 0;
    left: 0;
    width: 420px;
    height: 100%;
    background: #fff;
    padding: 0 40px;
    overflow: auto;
    color: #666666;
    border-right: solid 1px #f1f1f1;
    box-shadow: -5px 0px 9px #000;
    z-index: 1;
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
}
    #logo{
        width: 420px;
        height: 100px;
    }
        #logo img{
            position: relative;
            top: 30px;
            width: 250px;
        }
    #login h1{
        font-size: 28px;
        margin: 15px 0 10px 0;
        font-weight: 400;
    }
    #login form{

    }
        .input-field{
            height: 50px;
        }
            input[type=text], input[type=password], input[type=email]{
                font-size:16px;
                color: #777;
                width: calc(100% - 20px);
                height: 36px;
                padding: 0 10px;
                border: solid 1px #ccc;
                border-radius: 2px;
                outline: none;
                -webkit-appearance: none;
            }
            input.input-validation-error{
                border-color: #d9603f;
            }
            .field-validation-error{
                color: #d9603f;
            }
            .validation-summary-errors{
                color: #d9603f;
            }
                .validation-summary-errors ul{
                    padding: 0px 0px 0px 0px;
                    list-style-type: none;
                }
            .checkbox-container{
                padding-left: 25px;
                border: none;
                float: left;
            }
                .checkmark{
                    left: 0px;
                    top: 0px;
                }
            button[type=submit]{
                cursor: pointer;
                outline: none;
                width: 100%;
                height: 40px;
                border: none;
                border-radius: 2px;
                font-size: 16px;
                color: #666666;
                background: #f0f0f0;
            }
    #forgot-password{
        float: right;
    }
        #forgot-password a{
            color: #ccc;
            text-decoration: none;
            font-style: italic;
        }
    #copy{
        position: absolute;
        bottom: 10px;
        left: -8px;
        width: 100%;
        text-align: center;
        font-size: 10px;
    }
        #copy img{
            position: relative;
            bottom: 20px;
            left: 90px;
        }

#image{
    position: absolute;
    top: 0px;
    right: 0px;
    width: calc(100% - 500px);
    height: 100%;

    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
}
    .login-image{
        width: 100%;
        height: 100%;
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .login-image span{
        position: absolute;
        bottom: 10px;
        right: 10px;
        color: #fff;
        font-size: 10px;
    }    
        .login-image span a{
            color: #fff;
            font-size: 10px;
            text-decoration: none;
        }


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


@media (max-height: 480px) {
    #copy{
        position: relative;
        padding: 60px 0 20px 0;
    }
}

@media (max-width: 500px) {
    #login{
        width: calc(100% - 40px);
        padding: 0 20px;
        box-shadow: none;
    }    
    #logo{
        width: calc(100% - 40px);
        height: 80px;
    }
        #logo img{
            position: relative;
            top: 20px;
            width: 250px;
        }
    #image{
        display: none;
    }
}