* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Apex Sans", Helvetica, "Microsoft Yahei", sans-serif !important;
    font-size: 13px;
}

h1, h2, h3, h4, h5, h6, input, button {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Apex Sans", Helvetica, "Microsoft Yahei", sans-serif !important;
}

input, button {
    font-size: 13px;
}

tr, td, th {
    word-wrap: break-word;
    word-break: break-all;
}

ul, ol, li {
    list-style: none;
}

div, p, li, dl, dt, dd {
    word-break: break-all;
}

hr {
    border: none;
}

button {
    cursor: pointer;
    -webkit-appearance: none;
    border: 0
}

button:disabled {
    color: #fff;
    background-color: #c8c9cc;
    border-color: #c8c9cc;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
    margin: 0;
}

a, button, input {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    background: none;
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    text-decoration: none;
}

img {
    vertical-align: middle;
    border: none;
}

i, em {
    font-style: normal;
}

/** ---- reset ---- **/
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}


/* 上方欢迎语 */
.welcome-text {
    display: flex;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    align-items: center;
    justify-content: center;
}

.welcome-text img {
    margin-right: 12px !important;
}

/* 提示文字 */
.text-placeholder {
    display: flex;
    font-size: 80%;
    color: #909399;
    justify-content: center;
}

/* 下方背景颜色 */
.bottom-container {
    width: 100%;
    height: 50vh;
    bottom: -15vh;
    position: absolute;
    transform: skew(0, 3deg);
    background: rgb(23, 43, 77);
}

/* 表单卡片样式 */
.form-container {
    width: 100vw;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background: url("../imgs/bg.jpg") center no-repeat;
    background-size: cover;
}

/* 表单样式 */
.form-signin {
    z-index: 20;
    width: 18vw;
    display: flex;
    border-radius: 3%;
    padding: 35px 50px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
}

/* 按钮样式 */
.btn-primary {
    height: 40px;
    color: white;
    cursor: pointer;
    border-radius: 0.25rem;
    background: #5e72e4;
    border: 1px #5e72e4 solid;
    transition: all 0.15s ease;
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
}

.btn-cancel {
    height: 40px;
    color: white;
    cursor: pointer;
    border-radius: 0.25rem;
    background: #909399;
    border: 1px #909399 solid;
    transition: all 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-3%);
    -webkit-box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
}

/* 表单间距 */
.form-signin div, button {
    margin-bottom: 25px;
}

/* 表单输入框 */
.form-signin input {
    width: 100%;
    height: 40px;
    outline: none;
    text-indent: 15px;
    border-radius: 3px;
    border: 1px #e4e7ed solid;
}

/* 表单验证码容器 */
.code-container {
    display: flex;
    justify-content: space-between;
}

/* 表单验证码容器 */
.code-container input {
    margin-right: 10px;
}

#code-image {
    width: 150px;
    height: 40px;
}

/* 表单超链接 */
.btn-light {
    height: 40px;
    display: flex;
    color: #5e72e4;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    border: 1px #5e72e4 solid;
}

.form-signin img {
    margin: 0;
}

.form-signin a {
    text-decoration: none;
}

.btn-light:hover {
    transform: translateY(-3%);
    -webkit-box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
}

.form-signin input:focus {
    border: 1px solid rgb(41, 50, 225);
}

.alert {
    top: 20px;
    width: 100%;
    z-index: 50;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
}

/* 弹框样式 */
#error_box {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    padding: 15px;
    display: none;
    z-index: 500;
    animation: shake 0.2s;
}

#error_message {
    padding-left: 10px;
}

@keyframes shake {
    0% {
        transform: translate(-50%, -50%);
    }

    25% {
        transform: translate(-45%, -50%);
    }

    50% {
        transform: translate(-50%, -50%);
    }

    75% {
        transform: translate(-45%, -50%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/*修改提示信息的文本颜色*/
input::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #8898aa;
}

input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #8898aa;
}

input:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #8898aa;
}

/* 移动端css */
@media screen and (orientation: portrait) {
    .form-signin {
        width: 100%;
    }

    .form-container {
        width: auto;
        height: 90vh;
        padding: 20px;
    }

    .welcome-text {
        top: 9vh;
        flex-direction: column;
    }
}

/* 宽度 */
/* 屏幕 > 666px && < 800px */
@media (min-width: 667px) and (max-width: 800px) {
    .form-signin {
        width: 50vw;
    }

    .welcome-text {
        top: 18vh;
    }
}

/* 屏幕 > 800px */
@media (min-width: 800px) and (max-width: 1000px) {
    .form-signin {
        width: 500px;
    }
}

/* 高度 */
@media (min-height: 600px) and (max-height: 600px) {
    .welcome-text {
        top: 6%;
    }
}

@media (min-height: 800px) and (max-height: 1000px) {
    .welcome-text {
        top: 12%;
    }
}

/* 忘记密码 */
.forget-form {
    width: 460px;
    box-sizing: border-box;
}

.forget-item {
    width: 100%;
    overflow: hidden;
}

.forget-item label {
    display: block;
    width: 80px;
    float: left;
    line-height: 40px;
}

.forget-item input {
    display: block;
    width: 100%;
    float: left;
    line-height: 40px;
    box-sizing: border-box;
}

.forget-item .forget-captcha {
    width: 240px;
}

.forget-item .btn-captcha {
    width: 110px;
    height: 40px;
    float: left;
    margin-left: 10px;
    margin-bottom: 0;
}

.forget-item .forget-btn01,
.forget-item .forget-btn02 {
    width: 160px;
    height: 40px;
    margin: 20px 0 0;
    float: left;
}

.forget-item .forget-btn02 {
    float: right;
}

/*系统列表*/
.sys-box {
    width: 80%;
    margin: 40px auto;
}

.sys-box h2 {
    margin: 10px 0;
}

.sys-box ul {
}

.sys-box ul li {
    width: auto;
    float: left;
    margin: 10px 20px;
    color: #303133;
    font-size: 16px;
    line-height: 20px;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    background-color: #fff;
    overflow: hidden;
    transition: .3s;
}

.sys-box ul li:hover {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .3);
    background-color: #fff;
}

.sys-box ul li a {
    display: block;
    padding: 20px 40px;
}