/*
* 主框架
* @author slumber 2012-06-10.
*/
html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-size: 12px;
    line-height: 1.5em;
    font-family: Helvetica, STHeiti, "Microsoft YaHei", Verdana, Arial, Tahoma, sans-serif;
    background-color: #fff;
    position: relative;
}

#body_wrap, #footer {
    width: 100%;
    min-width: 1200px;
}

#body_wrap {
    overflow: auto;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 40px;
}

.fm990 {
    width: 990px;
    margin: 0 auto;
}

/*
* 顶部信息栏
*/
#header {
    height: 60px;
    background: #fff;
    -webkit-box-shadow: 0 1px 5px rgba(198, 198, 198, .5);
    -moz-box-shadow: 0 1px 5px rgba(198, 198, 198, .5);
    box-shadow: 0 1px 5px rgba(198, 198, 198, .5);
    border-bottom: 1px solid #d1d1d1;
}

#header .header-wrap {
    height: 60px;
}

#header .header-wrap .logo {
    background: url('/img/logo.png') no-repeat;
    display: inline-block;
    width: 400px;
    height: 32px;
    font: 0/0 a;
    margin-top: 14px;
    margin-left: 20px;
    background-size: contain;
}

#header .header-wrap .login {
    margin-top: 20px;
    margin-right: 20px;
}

#header .header-wrap .info a {
    font-size: 14px;
    color: #333;
    display: inline-block;
    max-width: 130px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#header .header-wrap .info .split {
    color: #cacaca;
    vertical-align: super;
    font: 14px/1.5 Tahoma, "Hiragino Sans GB", "Microsoft yahei", serif
}

/**
 * 侧边栏
 */
#body {
    position: relative;
}

#xm-pager {
    background: #fff;
    width: 100%;
    min-height: 500px;
    float: left;
}

#xm-pager .xm-pager-wrapper {
    margin-left: 219px;
    border: none;
    padding: 0 30px;
    background: #fff;
    border-left: 1px solid #e2e2e2;
}

#xm-sidebar {
    width: 220px;
    min-height: 800px;
    margin-left: -100%;
    background: #fff;
    border-right: 1px solid #e2e2e2;
    padding-bottom: 100px;
    float: left;
}

#xm-sidebar .box {
    border-bottom: 1px solid #eee;
    margin: 0 20px;
    padding: 25px 0 10px;
}

#xm-sidebar .box h1 {
    font-size: 16px;
    color: #333;
    line-height: 16px;
    margin-bottom: 12px;
}

#xm-sidebar .box h1 .s-icon {
    position: relative;
    top: 2px;
    margin-right: 6px;
    display: inline-block;
}

#xm-sidebar .box h1 .s-icon img {
    display: block;
}

#xm-sidebar .box li {
    height: 34px;
    line-height: 34px;
    display: inline-block;
    width: 50%;
    overflow: hidden;
}

#xm-sidebar .box li a {
    color: #888;
    font-size: 14px;
    display: block;
}

#xm-sidebar .box li a.c {
    color: #f55;
}

/*页脚*/
#footer {
    /*width: 100%;*/
    text-align: center;
    /*min-width: 1200px;*/
    background: #333;
    position: absolute;
    bottom: 0;
}

#footer .foot_info {
    width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

#footer .foot_info .info_del {
    float: left;
    width: 200px;
    margin-right: 50px;
}

#footer .info_del b {
    font-size: 12px;
    color: #ccc;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
}

#footer .info_del li {
    list-style-type: none;
    font-size: 10px;
    margin-left: 0px;
}

#footer .info_del li a {
    font-size: 12px;
    color: #191919;
    height: 30px;
    line-height: 30px;
}

#footer .bq {
    color: #999;
    font-size: 12px;
    margin: 0 auto;
    display: block;
    width: 460px;
    height: 40px;
    line-height: 40px;
}

#footer .bq a {
    color: #999;
}

/*分页按钮*/
/*.pagination {
    text-align: center;
    overflow: hidden;
    zoom: 1;
    clear: both;
    padding: 5px 15px 40px 0;
}

.pagination a, .pagination i {
    display: inline-block;
    margin: 0 1px;
    white-space: nowrap;
    min-width: 12px;
    _width: 12px;
    height: 22px;
    line-height: 22px;
    color: white;
    background-color: #2690da;
    text-align: center;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font-weight: bold;
    padding: 0 5px
}

.pagination a.c {
    color: #333;
    background-color: transparent;
}

.pagination a:hover {
    color: #fff;
    background-color: #06a7e1;
}

.pagination i {
    color: #aaa;
    background-color: transparent;
    font-style: normal;
    min-width: 10px;
    _width: 10px;
    padding: 0
}*/

.pagination {
    font-size: 12px;
    line-height: 16px;
    text-align: right;
}

.pagination .total {
    padding: 6px 0;
    font-weight: normal !important;
}

.pagination .total, .pagination .prev, .pagination .next, .pagination .num, .pagination .goto-input, .pagination .goto-btn {
    display: inline-block;
    color: #333;
}

.pagination .prev, .pagination .next, .pagination .num, .pagination .goto {
    padding: 5px 8px;
    margin: 0 0 2px 2px;
    min-width: 28px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.pagination .active {
    background: #f8f8f8;
    border-color: #ddd;
}

/*返回顶部*/
.back2top_fat {
    position: fixed;
    z-index: 999;
    right: 4px;
    bottom: 4px;
    _bottom: auto;
    _position: absolute;
    _top: expression( (document.compatMode && document.compatMode=='CSS1Compat' ? documentElement.scrollTop + (documentElement.clientHeight - this.clientHeight) : document.body.scrollTop + (document.body.clientHeight - this.clientHeight))-4);
    width: 60px;
}

.back2top_fat .b_img {
    background: url('/img/backtotop.png') no-repeat;
    display: block;
    height: 82px;
    width: 24px;
}

.back2top_fat .b_img:hover {
    background-position: bottom
}

/*头部*/
.tophead {
    margin: 0 auto;
    width: 100%;
    height: 80px;
    background-color: #f7f7f7;
}

.content {
    width: 960px;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
    position: relative;
    padding-left: 0px;
    padding-top: 22px;
    _padding-top: 0px;
    height: 90px;
    overflow: visible;
}

.logo {
    padding-left: 50px;
    position: relative;
    float: left;
}

.nav {
    float: right;
    padding-top: 12px;
    *width: 50%;
    white-space: nowrap;
    overflow: visible;
    _margin-top: 22px;
    color: #fff;
    font-size: 14px;
}

.nav a {
    color: #555555;
    font-family: "微软雅黑"
}

a {
    cursor: pointer;
}

#xm-template-sidebars {
    height: 100%;
    float: left;
    background-color: #444;
}

#xm-template-container {
    position: absolute;
    left: 0;
    top: 60px;
    right: 0;
    bottom: 0;
}

#xm-template-content {
    /*height: 100%;*/
    margin: 0 0 0 0px;
    overflow: auto;
    background-color: white;
    padding: 0 0px;
}

#xm-template-content-wrap {
    height: 100%;
    overflow: auto;
}

#xm-template-sidebar-first {
    width: 145px;
    height: 100%;
    float: left;
    overflow: hidden;
}

#xm-template-sidebar-first .sidebar-container {
    width: 165px;
    height: 100%;
    overflow: auto;
}

#xm-template-sidebar-first li {
    font-size: 16px;
    text-overflow: ellipsis;
    word-break: keep-all;
}

#xm-template-sidebar-first li a {
    display: block;
    padding-left: 18px;
    color: #cacaca;
    cursor: pointer;
    height: 45px;
    line-height: 45px;
    position: relative;
}

#xm-template-sidebar-first li a i, #xm-template-sidebar-first .first-active i {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 2px;
    vertical-align: middle;
    background-size: cover;
    background-repeat: no-repeat;
}

#xm-template-sidebar-first li a:hover {
    color: #fff;
    background: #666;
}

#xm-template-sidebar-first li a.active {
    color: #333;
    background: #F8F8F8;
}

#xm-template-sidebar-first li a.first-title {
    color: #fff;
    background: #505050;
}

#xm-template-sidebar-first li .second-menu a {
    padding-left: 40px;
}

#xm-template-sidebar-first .menu {
    cursor: pointer;
    width: 145px;
    height: 24px;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("/img/menu_first_down.png");
}

#xm-template-sidebar-first .menu.active {
    background-image: url("/img/menu_first_up.png");
}

#xm-template-sidebar-first .first-active {
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    cursor: default;
    display: block;
    padding-left: 18px;
    color: #cacaca;
}

#xm-template-sidebar-first .first-active.hide {
    display: none;
}

#xm-template-sidebar-second {
    width: 145px;
    height: 100%;
    float: left;
    /*background: white;*/
    /*border-right: solid 1px #d1d1d1;*/
    /*padding: 13px 10px;*/
    /*overflow: hidden;*/
}

#xm-template-sidebar-second .second-container {
    width: 165px;
    height: 100%;
    /*overflow: auto;*/
}

#xm-template-sidebar-second li {
    /*width: 100px;*/
    /*font-size: 14px;*/
    /*height: 36px;*/
    /*line-height: 36px;*/
    /*margin-bottom: 14px;*/
    /*overflow: hidden;*/
    /*cursor: pointer;*/
    /*border-radius: 2px;*/
}

#xm-template-sidebar-second li a {
    /*color: #666;*/
    /*display: block;*/
    /*padding: 0 5px;*/
    padding-left: 38px;
}

#xm-template-sidebar-second li.active {
    /*background: #eee;*/
}

#xm-template-sidebar-second li:hover a {
    /*color: #3283FA*/
}

#xm-template-sidebar-second li.active a {
    /*color: #333;*/
}

#xm-template-sidebar-third {
    width: 130px;
    height: 100%;
    float: left;
    background: white;
    border-right: solid 1px #d1d1d1;
    padding: 13px 10px;
    overflow: hidden;
}

#xm-template-sidebar-third .sidebar-container {
    width: 140px;
    height: 100%;
    overflow: auto;
}

#xm-template-sidebar-third li {
    width: 110px;
    font-size: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    text-overflow: ellipsis;
    word-break: keep-all;
}

#xm-template-sidebar-third li a {
    color: #666;
    display: block;
    padding: 0 5px;
    height: 36px;
    line-height: 36px;
}

#xm-template-sidebar-third li a:hover {
    color: #3283FA
}

#xm-template-sidebar-third li a.active {
    color: #333;
    background: #eee;
}

#xm-template-sidebar-logo-container {
    width: 120px;
    margin-top: 25px;
    margin-bottom: 10px;
}

#xm-template-sidebar-logo {
    margin: 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-size: cover;
    background-position: 50% 50%;
    background-color: #fff;
}

#xm-template-sidebar-logo-container .uname {
    color: #cacaca;
    padding-top: 5px;
    text-align: center;
}

#xm-template-sidebar-first .bottom {
    position: fixed;
    bottom: 0px;
    padding: 10px 0;
    background: #535353;
    width: 120px;
    display: none;
}

#xm-template-sidebar-first .bottom a {
    color: red;
    padding-left: 18px;
}

.button {
    display: inline-block;
    padding: 0 10px;
    font-size: 12px;
    line-height: 25px;
    color: white;
    text-align: center;
    cursor: pointer;
    border: 1px solid #0f88eb;
    border-radius: 3px;
    background: #0f88eb;
}

.button-right {
    float: right;
    margin: 10px 0 0 0;
}

.button-gray {
    display: inline-block;
    padding: 0 10px;
    font-size: 12px;
    line-height: 25px;
    color: white;
    text-align: center;
    cursor: pointer;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    background: #dfdfdf;
}

.button:hover, .button-right:hover {
    color: white;
}

.hidden {
    display: none !important;
}

/*菜单箭头*/
.nav-more {
    content: '';
    width: 0;
    height: 0;
    border-style: solid dashed dashed;
    border-color: #fff transparent transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s;
    position: absolute;
    top: 50%;
    margin-top: -3px;
    border-width: 6px;
    border-top-color: rgba(255, 255, 255, .7);
    right: 10px;
}

.nav-more.active {
    margin-top: -9px;
    border-style: dashed dashed solid;
    border-color: transparent transparent #fff;
}

#xm-template-sidebar-first ul, #xm-template-sidebar-logo-container {
    width: 145px;
}

#content-with-top {
    height: 100%;
    position: absolute;
    left: 275px;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: hidden;
    overflow-x: auto;
}

#content-with-top #xm-template-content {
    position: absolute;
    /*height: initial;*/
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
}

#header, #content-with-top #xm-template-content {
    min-width: 650px;
}
