﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    line-height: 1.6;
    padding-top: 0;
    font-size: 14px;
    height: 100%;
    min-height: 600px;
    padding-top: 0;
    overflow: hidden;
    color: #ffffff;
    background-image: url(/content/images/loginBg.png);
    background-size: cover;
}

.page-content {
    padding: 20px 20px;
}

.page-brand-info {
    height: 100%
}

    .page-brand-info .page-brand {
        padding: 0 60px 60px;
        display: table-cell;
    }

        .page-brand-info .page-brand .brand-img {
            vertical-align: middle
        }

        .page-brand-info .page-brand h2 {
            max-width: 650px;
            color: #fff
        }

        .page-brand-info .page-brand .list-icons {
            padding-left: 0;
            margin: 30px 0
        }

    .main {
        border-radius:5px;
        position: absolute;
        display:flex;
        flex-direction:column;
        top: 50%;
        transform:  translateY(-50%);
        right: 6%;
        padding: 0 60px 30px;
        color: #76838f;
        background: #fff
    }

    .main > .alert {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        text-align: center;
        border-radius: 0
    }

    .main .vertical-align {
        height: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding-bottom: 65px;
        font-size: 0;
    }

    .main > .alert {
        padding-right: 10px
    }

        .main > .alert + .vertical-align {
            padding-top: 65px
        }

    .main .version-toggle {
        float: right;
        margin-top: -5px
    }

.login-form {
    width: 260px;
    margin: 30px 0 20px
}

    .login-form .form-control {
        height: 42px
    }


input .login-form .form-control {
    padding: 0 12px
}

.login-form .form-control .btn {
    height: 100%
}

.login-form.fv-form-bootstrap .form-control-feedback {
    margin: 6px;
    background-color: transparent
}

.login-form .input-group + .form-control-feedback {
    display: none !important
}

.login-form > button {
    padding: 8px 0
}

.page-copyright {
    position: absolute;
    right: 0;
    bottom: 15px;
    left: 0;
    text-align: center
}

@media (max-height:600px) {
    .page-copyright {
        display: none
    }
}

@media (min-width:992px) {
    .page-content {
        padding-right: 500px
    }
}

@media (max-width:767px) {
    body {
        overflow: auto;
        background: #fff;
        background-image: none
    }

    .login-form {
        width: auto
    }
    .loginTop{
        text-align:center;
        padding: 20px 0;
    }
    .loginTop>.loginTopImages {
        margin: auto;
    }
    .main {
        position: unset !important;
        transform: none !important;
        padding: 0 0 20px !important;
    }
    .height-full {
        height: auto !important;
    }
}

@media (max-width:480px) {
    .main {
        width: 100%
    }

    .login-form {
        width: auto
    }
}

.height-full {
    height: 100%;
}

.animation-slide-left {
    -webkit-animation-name: slide-left;
    -o-animation-name: slide-left;
    animation-name: slide-left;
}

.animation-fade {
    -webkit-animation-name: fade;
    -o-animation-name: fade;
    animation-name: fade;
    -webkit-animation-duration: .8s;
    -o-animation-duration: .8s;
    animation-duration: .8s;
    -webkit-animation-timing-function: linear;
    -o-animation-timing-function: linear;
    animation-timing-function: linear;
}

[class*=animation-] {
    -webkit-animation-duration: .5s;
    -o-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: ease-out;
    -o-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
}

.vertical-align {
    font-size: 0;
    display: table;
}

.vertical-align-middle {
    vertical-align: middle;
    display: table-cell;
}

.vertical-align-bottom, .vertical-align-middle {
    max-width: 100%;
    font-size: 14px;
}

.brand {
    margin-bottom: 22px;
}

.page-login .page-brand-info .page-brand .brand-img {
    vertical-align: middle;
}

img {
    border: 0px;
}

h2, h3 {
    max-width: 650px;
    font-weight: 500;
    margin-top: 22px;
    margin-bottom: 11px;
    line-height: 1.2;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    color: #37474f;
}

h2 {
    font-size: 20px;
    color: #fff;
}

h3 {
    font-size: 18px;
}

.list-icons {
    padding-left: 0;
    margin: 30px 0;
    list-style: none;
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
    color: white;
}

    .list-icons li {
        padding: 8px 0px;
        font-size:14px;
    }

.form-group {
    margin-bottom: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.form-control {
    height: 42px;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border .25s linear,color .25s linear,background-color .25s linear,-webkit-box-shadow .25s linear;
    -o-transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
    transition: border .25s linear,color .25s linear,background-color .25s linear,-webkit-box-shadow .25s linear;
    transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
    transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear,-webkit-box-shadow .25s linear;
    -moz-appearance: none;
    display: block;
    width: 100%;
    height: 32px;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #76838f;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e4eaec;
    border-radius: 3px;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group-addon {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #76838f;
    text-align: center;
    background-color: #f3f7f9;
    border: 1px solid #e4eaec;
    border-radius: 3px;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    display: table-cell;
    border-left: 0;
}

.login-button {
    padding: 8px 0;
    margin-top: 30px ;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    white-space: normal;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 3px;
    -webkit-transition: border .2s linear,color .2s linear,width .2s linear,background-color .2s linear;
    -o-transition: border .2s linear,color .2s linear,width .2s linear,background-color .2s linear;
    transition: border .2s linear,color .2s linear,width .2s linear,background-color .2s linear;
    display: block;
    width: 100%;
    color: #fff;
    background-color: #62a8ea;
    border-color: #62a8ea;
}

.layui-form-danger {
    border: solid 1px red;
    background-color: yellow;
}

.layui-layer-msg {
    color: black;
}

.form-control.error {
    border: solid 1px red;
    background-color: yellow;
}
