html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

header {
    /* 我们希望 header 采用固定的高度，只占用必须的空间 */
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
    background-color: #292c2f;
    padding: 10px;
    border-bottom: solid 2px #ea5413;
}
header img:nth-last-child(1) {
    width:250px
}

.main-content {
    /* 将 flex-grow 设置为1，该元素会占用全部可使用空间
            而其他元素该属性值为0，因此不会得到多余的空间*/
    /* 1 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 1 0 auto;
    background: url(../image/bg.JPG) no-repeat;
    background-size: 100% 100%;

}

.title p {
    text-align: center;
    font-size: 30px;
    color: #fff;
}

.login-content{
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 60px 45px;
    background-color: #38bedb;
    border-radius:12px
}

footer {
    /* 和 header 一样，footer 也采用固定高度*/
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
    height: 100px;
    text-align: center;
    font-size:13px;
    background-color: #292c2f;
}

footer p {
    color: #999;
    font-size: 1em;
}

img {
    border: 0px currentColor;
    border: none;
}

table {
    margin: 0pt auto;
    text-align:left;
}

.login-input {
    border: 1px #ccc solid;
    font-family: Arial, Helvetica, sans-serif;
    height: 20px;
    width: 202px;
    border-radius: 5px;
    background: #fff;
    padding: 5px;
}

.login-input:focus {
    border-color: #ea5413;
}

.sub {
    width: 271px;
    height: 45px;
    color: whitesmoke;
    font-size: 18px;
    background: #00a3cf;
    border: 1px double #098CAF;
    border-radius: 8px;
}

.sub:hover {
    cursor: pointer;
}

.imgCode:hover {
    cursor: pointer;
}

@media screen and (max-width:768px) {
    .logoTxt {
        display: none;
    }
    .tablePic {
        display: none;
    }
    .content ul li table span img {
        margin-left: 0px;
    }
    .TBbar {
        width: 100%;
        min-width: 200px;
    }
    .content p {
        font-size: 1.5em;
    }
    .login-content{
        padding: 60px 0;
    }
}

@media screen and (max-width:425px) {
    .logoTxt img {
        display: none;
    }
    .content p {
        font-size: 1.2em;
    }
}
