﻿.login {
    background: url('../img/login-bg.jpg');
    background-size: 100% 100%;
}

.sign-box {
    width: 100%;
    max-width: 322px;
    margin: 0 auto;
    background: #fff;
    border: solid 1px #d8e2e7;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
    font-size: 1rem;
    position: relative
}

    .sign-box .sign-avatar {
        width: 100px;
        height: 100px;
        margin: 0 auto 10px
    }

        .sign-box .sign-avatar img {
            display: block;
            width: 100%;
            -webkit-border-radius: 50%;
            border-radius: 50%
        }

        .sign-box .sign-avatar.no-photo {
            border: solid 2px #c5d6de;
            text-align: center;
            -webkit-border-radius: 50%;
            border-radius: 50%;
            line-height: 96px;
            color: #c5d6de;
            font-size: 3.125rem;
            font-weight: 700
        }

    .sign-box .sign-title {
        font-size: 1.25rem;
        text-align: center;
        margin: 0 0 15px;
        line-height: normal
    }

    .sign-box .btn {
        display: block;
        min-width: 108px;
        margin: 16px auto 12px
    }

        .sign-box .btn.sign-up {
            margin-top: 18px
        }

    .sign-box .sign-note {
        text-align: center
    }

    .sign-box a {
        text-decoration: none;
        color: #0082c6;
        border-bottom: solid 1px transparent
    }

        .sign-box a:hover {
            border-bottom-color: rgba(0,130,198,.5)
        }

    .sign-box .form-group {
        margin-bottom: 12px;
        zoom: 1
    }

        .sign-box .form-group:after, .sign-box .form-group:before {
            content: " ";
            display: table
        }

        .sign-box .form-group:after {
            clear: both
        }

    .sign-box .checkbox {
        margin: 0
    }

        .sign-box .checkbox label {
            font-size: .875rem
        }

    .sign-box .reset {
        font-size: .875rem
    }

    .sign-box .close {
        position: absolute;
        right: 10px;
        top: 4px;
        opacity: 1;
        color: #c5d6de
    }

        .sign-box .close:hover {
            color: #00a8ff
        }

    .sign-box.reset-password-box .btn {
        display: inline-block !important;
        margin: 10px auto 12px;
        margin-right: 10px
    }

    .sign-box.reset-password-box a {
        display: inline-block;
        margin-left: 4px
    }

.form-error-text {
    background-color: #fff6f6;
    border: dashed 1px #fa424a;
    padding: 5px;
    color: #fa424a;
    /* margin: 0 0 1em; */
    font-size: 0.8em;
}

    .form-error-text:empty {
        display: none;
    }



.sign-box {
    background: #1a3e70;
    border: 1px solid #1a3e70;
    border-radius: .4em;
    bottom: 0;
    box-shadow: 0 5px 10px 5px rgba(0,0,0,0.2);
    height: 400px;
    left: 0;
    margin: auto;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    /* width: 300px; */
}

    .sign-box:after {
        background: -webkit-gradient(linear, left top, right top, from(#111111), color-stop(#444444), color-stop(#b6b6b8), color-stop(#444444), color-stop(#2F2F2F), to(#272727));
        background: linear-gradient(to right, #234575, #376cb3, #5794ea, #5794ea,#376cb3, #234575);
        content: "";
        display: block;
        height: 1px;
        left: 50px;
        position: absolute;
        top: 0;
        width: 150px;
    }

    .sign-box:before {
        border-radius: 50%;
        box-shadow: 0 0 6px 4px #fff;
        content: "";
        display: block;
        height: 5px;
        left: 34%;
        position: absolute;
        top: -7px;
        width: 8px;
    }

.inset {
    border-top: 1px solid #19191a;
    padding: 20px;
}

.sign-box header {
    font-family: 'Audiowide';
    border-bottom: 1px solid #000;
    font-size: 18px;
    padding: 15px 0;
    position: relative;
    text-align: center;
    text-shadow: 0 1px 0 #000;
}

.sign-box header {
    color: #FFbb00;
    font-family: Audiowide;
    font-weight: normal;
}

    .sign-box header.poweron {
        color: #ffffff;
        -webkit-transition: all 0.5s;
        transition: all 0.5s;
        -webkit-animation: flicker 1s ease-in-out 1 alternate, neon 1.5s ease-in-out infinite alternate;
        animation: flicker 1s ease-in-out 1 alternate, neon 1.5s ease-in-out infinite alternate;
        -webkit-animation-delay: 0s, 1s;
        animation-delay: 0s, 1s;
    }

.sign-box .sign-avatar:after {
    position: absolute;
    width: 105%;
    height: 180px;
    content: "";
    display: block;
    pointer-events: none;
    top: 0;
    margin-left: -110px;
    -webkit-trans .sign-box-style: flat;
    trans .sign-box-style: flat;
    -webkit-trans .sign-box: skew(20deg);
    trans .sign-box: skew(20deg);
    background: -ms-linear-gradient(top, hsla(0,0%,100%,0.1) 0%,hsla(0,0%,100%,0) 100%);
    filter: progid:DXImageTrans.sign-box.Microsoft.gradient( startColorstr='#42ffffff', endColorstr='#00ffffff',GradientType=0 );
    background: -webkit-gradient(linear, left top, left bottom, from(hsla(0,0%,100%,0.1)),to(hsla(0,0%,100%,0)));
    background: linear-gradient(to bottom, hsla(0,0%,100%,0.1) 0%,hsla(0,0%,100%,0) 100%);
}

.sign-box input[type=text], .sign-box input[type=password] {
    background: -webkit-gradient(linear,left top, left bottom,from(#1f2124),to(#27292c));
    background: linear-gradient(#1f2124,#27292c);
    border: 1px solid #222;
    border-radius: .3em;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    color: #FFF;
    font-size: 13px;
    padding: 8px 5px;
    width: 100%;
}

    .sign-box input[type=text]:disabled, .sign-box input[type=password]:disabled {
        color: #999;
    }

.sign-box label[for=remember] {
    color: #bbb;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    vertical-align: top;
    padding: 0 0 0 5px;
}

.p-container {
    padding: 0 20px 20px;
}

    .p-container:after {
        clear: both;
        content: "";
        display: table;
    }

    .p-container span {
        color: #0d93ff;
        display: block;
        float: left;
        padding-top: 8px;
    }

.sign-box input[type=submit] {
    background: #fb0;
    border: 1px solid rgba(0,0,0,0.4);
    border-radius: .3em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 10px 10px rgba(255,255,255,0.1);
    color: #873C00;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    height: 40px;
    padding: 5px 20px;
    width: 100%;
}

.denied {
    color: white !important;
    text-shadow: 0 0 1px black;
    background: #EE0000 !important;
}

.sign-box input[type=submit]:hover, input[type=submit]:focus {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -10px 10px rgba(255,255,255,0.1);
}

.sign-box input[type=text]:hover:not([disabled]),
.sign-box input[type=text]:focus,
.sign-box input[type=password]:hover:not([disabled]),
.sign-box input[type=password]:focus,
.sign-box label:hover ~ input[type=text],
.sign-box label:hover ~ input[type=password] {
    background: #27292c;
}

.sign-box input[type="checkbox"] {
    opacity: 0;
    background: red;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.sign-box .checkboxouter {
    height: 20px;
    width: 20px;
    border-radius: 3px;
    background-color: #000;
    position: relative;
    display: inline-block;
    border: 2px solid #555;
}

.sign-box .checkbox {
    position: absolute;
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    background-color: transparent;
    height: 10px;
    width: 5px;
    margin: auto;
    left: 50%;
    -webkit-trans .sign-box: rotate(45deg);
    trans .sign-box: rotate(45deg);
    -webkit-trans .sign-box-origin: -35% 30%;
    trans .sign-box-origin: -35% 30%;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.sign-box input[type="checkbox"]:checked ~ .checkbox {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border-bottom: 2px solid #ffcc00;
    border-right: 2px solid #ffcc00;
}

@-webkit-keyframes neon {
    from {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    to {
        text-shadow: 0 0 3px #fff, 0 0 7px #fff, 0 0 13px #fff, 0 0 17px #B6FF00, 0 0 33px #B6FF00, 0 0 38px #B6FF00, 0 0 48px #B6FF00, 0 0 63px #B6FF00;
    }
}

@keyframes neon {
    from {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    to {
        text-shadow: 0 0 3px #fff, 0 0 7px #fff, 0 0 13px #fff, 0 0 17px #B6FF00, 0 0 33px #B6FF00, 0 0 38px #B6FF00, 0 0 48px #B6FF00, 0 0 63px #B6FF00;
    }
}

@-webkit-keyframes flicker {
    0% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    2% {
        text-shadow: none;
    }

    8% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    10% {
        text-shadow: none;
    }

    20% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    22% {
        text-shadow: none;
    }

    24% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    28% {
        text-shadow: none;
    }

    32% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    34% {
        text-shadow: none;
    }

    36% {
        text-shadow: none;
    }

    42% {
        text-shadow: none;
    }

    100% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }
}

@keyframes flicker {
    0% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    2% {
        text-shadow: none;
    }

    8% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    10% {
        text-shadow: none;
    }

    20% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    22% {
        text-shadow: none;
    }

    24% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    28% {
        text-shadow: none;
    }

    32% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }

    34% {
        text-shadow: none;
    }

    36% {
        text-shadow: none;
    }

    42% {
        text-shadow: none;
    }

    100% {
        text-shadow: 0 0 2.5px #fff, 0 0 5px #fff, 0 0 7.5px #fff, 0 0 10px #B6FF00, 0 0 17.5px #B6FF00, 0 0 20px #B6FF00, 0 0 25px #B6FF00, 0 0 37.5px #B6FF00;
    }
}
div.hr-or {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
    text-align: center;
    height: 0px;
    line-height: 0px;
}

    div.hr-or:before {
        content: 'OR';
        background-color: #fff;
    }
