@import "font-awesome.min.css";

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    background-color: #eeeeee;
    max-width: 900px;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.x-text-red {
    color: #ff0000 !important;
}

.x-text-green {
    color: #059605 !important;
}

.x-text-blue {
    color: #01AAED !important;
}

.x-bg-red {
    background-color: #f15757 !important;
    border-radius: 10px;
    padding: 3px 7px;
    color: #fff;
}

.x-pull-right {
    float: right;
}

.x-header {
    position: relative;
    height: 130px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../image/xhorse/header_bg.jpg");
    background-size: 100% 100%;

}

.x-banner {
    position: relative;
    height: 50px;
    padding: 15px 15px 5px;
    background-color: #fff;
    font-size: 12px;
}

.x-banner a.x-lang-href {
    position: relative;
    float: left;
    line-height: 30px;
    margin-right: 5px;
}

.x-banner a.x-lang-href img {
    float: left;
    height: 20px;
    padding: 3px 3px 0 0;
    margin-top: 3px;
}

.x-banner a.x-logout, .x-banner a.x-login {
    position: relative;
    float: right;
    line-height: 30px;
    margin-right: 5px;
    color: #01AAED;
}

.x-banner a.x-logout {
    color: #f00;
}

.x-banner a.x-login i, .x-banner a.x-logout i {
    position: relative;
    float: left;
    font-size: 14px;
    margin-top: 8px;
}

.x-container {
    position: relative;
    width: 100%;
    height: calc(100% - 231px);
    margin: 0 auto;
    padding: 60px 30px 10px;
    background-color: #fff;
    overflow-y: auto;
}

.x-tip {
    position: fixed;
    display: block;
    width: 100%;
    max-width: 900px;
    font-size: 12px;
    padding: 8px 30px 5px;
    background-color: #f0eea4;
    box-shadow: 0 3px 5px #e5f183;
    z-index: 998;
}

.x-tip i {
    color: #f00;
}

.x-main-body {
    position: relative;
    height: calc(100% - 120px);
}

.x-layui-btn-orange {
    background-color: #FA811E;
}

.x-margin-top-30 {
    margin-top: 30px;
}

.x-footer {
    position: relative;
    width: 100%;
    height: 50px;
    padding-top: 15px;
    color: #ccc;
    text-align: center;
    background-color: #fff;
}

.x-inbox {
    position: absolute;
    margin-top: -27px;
    font-size: 12px;
    right: 10px;
    text-decoration: underline;
    color: royalblue;
}

.x-upper {
    text-transform: uppercase;
}

@media screen and (max-width: 900px) {
    .x-header {
        position: relative;
        height: 100px;
        background-image: url("../image/xhorse/header_bg_app.jpg");
    }

    .x-container {
        height: calc(100% - 181px);
        padding: 130px 15px 0;
    }

    .x-footer {
        position: relative;
        width: 100%;
        height: 30px;
        font-size: 12px;
        padding-top: 8px;
        color: #ccc;
        text-align: center;
        background-color: #fff;
    }

}
