/**
* 基本样式重置样式表 可单独使用
**/

@charset "utf-8";
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0;
}

body {
    font: 14px/1.5 "Microsoft YaHei", "Lantinghei SC", "PingFang SC", "HanHei SC", "Helvetica Neue", "Open Sans", Arial, "Hiragino Sans GB", "微软雅黑", STHeiti, "WenQuanYi Micro Hei", SimSun, sans-serif;
    background: #eee;
}

input:focus {
    outline: none;
}

article,
aside,
dialog,
footer,
header,
section,
footer,
nav,
figure,
menu {
    display: block
}


/* HTML5 媒体文件跟 img 保持一致 */

audio,
canvas,
video {
    *display: inline;
    *zoom: 1;
}


/* IE bug fixed: th 不继承 text-align*/

th {
    text-align: inherit;
}


/* ie6 7 8(q) bug 显示为行内表现 */

iframe {
    display: block;
}


/* 去掉 firefox 下此元素的边框 */

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: 500;
}


/* 去掉列表前的标识, li 会继承 */

ol,
ul {
    list-style: none;
}


/* 对齐是排版最重要的因素, 别让什么都居中 */

caption,
th {
    text-align: left;
}


/* 来自yahoo, 让标题都自定义, 适应多个系统应用 */

q:before,
q:after {
    content: '';
}


/* 统一上标和下标 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* 默认不显示下划线，保持页面简洁 */

a,
a:hover {
    text-decoration: none !important;
}


/* 代码字体 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

a,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    outline: none;
}

P {
    word-break: break-all;
}


/* 字体超出范围截断显示省略号 */

.overflow {
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
}


/* 间距 */

.m-0 {
    margin: 0
}

.m-xs {
    margin: 5px
}

.m-sm {
    margin: 10px
}

.m-md {
    margin: 20px
}

.m-lg {
    margin: 30px
}

.p-0 {
    padding: 0
}

.p-xs {
    padding: 5px
}

.p-sm {
    padding: 10px
}

.p-md {
    padding: 20px
}

.p-lg {
    padding: 30px
}

.pt-0 {
    padding-top: 0
}

.pt-xs {
    padding-top: 5px
}

.pt-sm {
    padding-top: 10px
}

.pt-md {
    padding-top: 20px
}

.pt-lg {
    padding-top: 30px
}

.pr-0 {
    padding-right: 0
}

.pr-xs {
    padding-right: 5px
}

.pr-sm {
    padding-right: 10px
}

.pr-md {
    padding-right: 20px
}

.pr-lg {
    padding-right: 30px
}

.pb-0 {
    padding-bottom: 0
}

.pb-xs {
    padding-bottom: 5px
}

.pb-sm {
    padding-bottom: 10px
}

.pb-md {
    padding-bottom: 20px
}

.pb-lg {
    padding-bottom: 30px
}

.pl-0 {
    padding-left: 0
}

.pl-xs {
    padding-left: 5px
}

.pl-sm {
    padding-left: 10px
}

.pl-md {
    padding-left: 20px
}

.pl-lg {
    padding-left: 30px
}

.mt-0 {
    margin-top: 0
}

.mt-xs {
    margin-top: 5px
}

.mt-sm {
    margin-top: 10px
}

.mt-md {
    margin-top: 20px
}

.mt-lg {
    margin-top: 30px
}

.mr-0 {
    margin-right: 0
}

.mr-xs {
    margin-right: 5px
}

.mr-sm {
    margin-right: 10px
}

.mr-md {
    margin-right: 20px
}

.mr-lg {
    margin-right: 30px
}

.mb-0 {
    margin-bottom: 0
}

.mb-xs {
    margin-bottom: 5px
}

.mb-sm {
    margin-bottom: 10px
}

.mb-md {
    margin-bottom: 20px
}

.mb-lg {
    margin-bottom: 30px
}

.ml-0 {
    margin-left: 0
}

.ml-xs {
    margin-left: 5px
}

.ml-sm {
    margin-left: 10px
}

.ml-md {
    margin-left: 20px
}

.ml-lg {
    margin-left: 30px
}


/* fix bootstrap */

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    background: #fff;
}

.panel {
    box-shadow: none;
}

.img-captcha {
    cursor: pointer;
    border-radius: 4px;
}

.btn-theme {
    border-radius: 0px;
    color: #fff;
    background: #fd2b50;
}

.btn-theme:hover {
    background: #fd2b50;
}

.text-danger {
    color: #fd2b50;
}

.label-danger {
    background: #fd2b50;
}


/* 面包屑导航 */

.breadcrumb {
    padding-left: 2px;
    margin-bottom: 12px;
    background: #fff;
}

.breadcrumb>li+li:before {
    content: ">";
}

.breadcrumb a {
    color: #222;
}


/* 头部 */

#topbar {
    line-height: 35px;
    height: 35px;
    background: #202020;
}

#topbar .container {
    padding: 0 10px;
    color: #999;
    background: #202020;
}

#topbar .container .links>li>a {
    color: #999;
}

#topbar .container .links>li>a:hover {
    color: #ddd;
}

#topbar .wechat .fa {
    font-size: 24px;
    position: relative;
    top: 3px;
}

#topbar .wechat .dropdown-menu {
    padding: 10px;
    margin: 0;
    width: 140px;
    height: 140px;
    background: url(/static/img/qrcode.gif) no-repeat #fff;
    background-size: cover;
}

#topbar .links li {
    display: inline-block;
    padding-left: 8px;
    font-size: 12px;
}

#topbar .dropdown-menu {
    min-width: 100px;
    top: 29px
}

#topbar .dropdown-menu li {
    display: block;
    padding: 3px 0px;
}

#topbar .dropdown a i {
    display: inline-block;
    -webkit-transition: .2s ease-in;
    -moz-transition: -webkit-transform .2s ease-in;
    -o-transition: -webkit-transform .2s ease-in;
    transition: .2s ease-in;
}

#topbar .dropdown:hover a i {
    -moz-transform: rotate(180deg);
    -moz-transform-origin: 50% 30%;
    -webkit-transform: rotate(180deg);
    -webkit-transform-origin: 50% 30%;
    -o-transform: rotate(180deg);
    -o-transform-origin: 50% 30%;
    transform: rotate(180deg);
    transform-origin: 50% 40%;
}

#header {
    background: #fff;
}

#header {
    height: 100px;
    padding-top: 20px;
}

#header .search {
    margin: 6px 0px 0px 100px;
    display: inline-block;
    height: 40px;
    width: 360px;
    line-height: 40px;
    position: relative;
    border: 1px solid #eee;
}

#header .search input {
    margin-top: -5px;
    width: 290px;
    height: 40px;
    margin-right: -5px;
    border: none;
    background-color: transparent;
    box-shadow: none;
}

#header .search button.btn {
    padding: 0 20px;
    height: 40px;
    position: absolute;
    top: -1px;
    right: -1px;
    color: #222;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
}

#header .action a {
    display: inline-block;
    width: 150px;
    margin-top: 6px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background: #fd2b50;
}


/* #header .action a .fa {
    font-size: 25px;
} */

#navbar {
    min-height: 40px;
    margin-bottom: 0px;
    border: 0;
}

#navbar {
    background: #fff;
}

#navbar a {
    font-size: 18px;
    padding: 0 20px;
    float: left;
    height: 38px;
    line-height: 38px;
    color: #000000;
    border-radius:20px;
    margin-right:5px;
}
#navbar a:hover,#navbar a.active{
    color: #ffff;
    background-color:#fd2b50;
}


/* 布局 */

#main {
    height: auto;
}

#content {
    width: 840px;
}

#sidebar {
    width: 300px;
}


/* 自定义滚动条样式 */

::-webkit-scrollbar {
    background: #ffffff;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
}


/* 侧边工具条 */

#toolbar {
    position: fixed;
    width: 60px;
    top: 58%;
    left: 50%;
    margin-left: 650px;
    z-index: 2;
    background-color: transparent;
}

#toolbar>a {
    display: block;
    height: 48px;
    width: 48px;
    cursor: pointer;
    background: #ddd;
    margin-top: 1px;
    line-height: 20px;
    text-align: center;
}

#toolbar>a span {
    display: none;
    color: #fff;
    padding: 4px;
    font-size: 14px;
}

#toolbar>a i {
    color: #999;
    padding-top: 15px;
    font-size: 20px;
}

#toolbar>a .qrcode {
    display: none;
    position: absolute;
    border: 2px solid #eee;
    left: -130px;
    top: 16px;
    width: 120px;
    height: 120px;
    background: url(http://cdn.qiniu.wandu.net/static/img/common/qrcode.jpg) no-repeat center;
    background-size: cover;
}

#toolbar>a:hover .qrcode {
    display: block;
}

#toolbar>a:hover {
    background: #fd2b50;
}

#toolbar>a:hover i {
    color: #fff;
}


/* 页脚 */

#footer {
    padding: 20px 0px 50px;
    line-height: 32px;
}

#footer .nav a:first-child {
    padding-left: 0px;
}

#footer .nav a {
    color: #222;
    padding: 0 8px;
    display: inline-block;
}

#footer .copyright a {
    color: #222;
}

#footer .copyright a.pl-lg {
    background: url(/static/img/sign.png) 3px no-repeat;
}



/**
  头像
*/

.avatar-xs {
    width: 32px;
    height: 32px;
}

.avatar-sm {
    width: 48px;
    height: 48px;
}

.avatar-md {
    width: 64px;
    height: 64px;
}

.avatar-lg {
    width: 96px;
    height: 96px;
}

.avatar-xl {
    width: 128px;
    height: 128px;
}


/* 分页 */

.pagination li a {
    border-radius: 3px;
}

.pagination li.active a,
.pagination li.active a:hover {
    background: #4FB1F3;
    border-color: #4FB1F3;
}

.pagination li a:hover {
    background: #4FB1F3;
    color: #fff;
}


/* 表单 */

.form-horizontal .control-label {
    color: #999;
    padding-right: 0px;
    font-weight: normal;
}


/* 步骤 */

dl.steps {
    height: 36px;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
}

dl.steps dt,
dl.steps dd {
    display: inline-block;
    height: 35px;
    min-width: 120px;
    border-bottom: 2px solid #e5e5e5;
}

dl.steps dd.active {
    color: #ff6600;
    font-weight: 700;
    border-bottom: 2px solid #ff6600;
}


/* 顶栏筛选 */

.select {
    padding-bottom: 10px;
}

.select .filters dl {
    position: relative;
    padding-left: 100px;
}

.select .filters dt {
    position: absolute;
    top: 3px;
    left: 15px;
    font-weight: normal;
}

.select .filters .search-filter .form-inline input {
    height: 28px;
    width: 80px;
}
.select .filters .search-filter  button {
    height: 26px;
    background-color: #fd2b50;
    line-height: 1;
    border: none;
}
.select .filters .cim-checkbox {
    font-weight: normal;
    color: #222;
}
.select .filters dd {
    float: left;
    margin-bottom: 5px;
}

.select .filters dd a {
    color: #222;
    display: inline-block;
    padding: 2px 8px;
}

.select .filters dd a.active {
    color: #fff;
    background: #fd2b50;
}

.select .nav-tabs {
    border: none;
    padding-left: 100px;
    position: relative;
}

.select .nav-tabs::before {
    content: '栏目：';
    position: absolute;
    top: 3px;
    left: 15px;
    width: 60px;
}

.select .nav-tabs>li {
    margin-bottom: 5px;
}

.select .nav>li>a {
    color: #222;
    padding: 2px 8px;
    border: none;
    border-radius: 0px;
}

.select .nav>li>a:hover {
    background: #fff;
    border: none;
}

.select .nav>li.active>a {
    color: #fff;
    background: #fd2b50;
}


/* 侧边筛选 */

#sidebar .filters dt,
#sidebar .filters dd {
    display: inline-block;
    height: 36px;
    line-height: 36px;
}

#sidebar .filters dt {
    width: 100%;
    text-indent: 10px;
}

#sidebar .filters dd {
    float: left;
    width: 50%;
}

#sidebar .filters a {
    display: block;
    padding: 0 10px;
}

#sidebar .filters dd a:hover,
#sidebar .filters dd a.active {
    color: #ff6600;
    background-color: #f5f5f5;
}


/* 侧边导航  */

#sidebar h3 {
    padding: 12px 22px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

#sidebar .nav .badge {
    background: #ffc900;
    font-weight: normal;
}

#sidebar ul.nav li {
    height: 40px;
    line-height: 40px;
    border: 1px solid #f5f5f5;
    margin-top: -1px;
    overflow: hidden;
}

#sidebar ul.nav li.active,
#sidebar ul.nav li:hover {
    background-color: #f5f5f5;
}

#sidebar ul.nav li.active a,
#sidebar ul.nav li a:hover {
    color: #fd2b50;
}

#sidebar ul li a {
    display: block;
    color: #222;
    padding: 0 20px;
}


/* 搜索 */

.search #sidebar dd p {
    display: inline-block;
    width: 200px;
}


/* 图片上传预览 */

.btn-upload {
    display: inline-block;
    height: 42px;
    line-height: 42px;
    width: 210px;
    text-align: center;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
}

.btn-upload [rel=preview] {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 6;
    opacity: 0;
    cursor: pointer;
}

#img-upload {
    margin-top: 20px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

#img-upload .item {
    height: 180px;
    width: 180px;
    float: left;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

#img-upload img {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    /* IE 9 */
    -moz-transform: translate(-50%, -50%);
    /* Firefox */
    -webkit-transform: translate(-50%, -50%);
    /* Safari 和 Chrome */
    -o-transform: translate(-50%, -50%);
    /* Opera */
    transform: translate(-50%, -50%);
}

#img-upload img {
    max-width: 100%;
    max-height: 100%;
    z-index: 5;
}

.cim-radio,
.cim-checkbox {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.pagination {
    margin: 20px;
}


/* 多选框单选框样式 */

.cim-radio.cim-radio-disabled,
.cim-radio.cim-checkbox-disabled,
.cim-checkbox.cim-radio-disabled,
.cim-checkbox.cim-checkbox-disabled {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.cim-radio>input,
.cim-checkbox>input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    filter: alpha(opacity=0);
}

.cim-radio>span,
.cim-checkbox>span {
    border: 1px solid transparent;
    position: absolute;
    top: 0px;
    left: 0;
    height: 19px;
    width: 19px;
    background: #E6E6E6;
}

.cim-radio>span:after,
.cim-checkbox>span:after {
    content: '';
    position: absolute;
    display: none;
}

.cim-radio:hover>input:not([disabled])~span,
.cim-radio>input:focus~span,
.cim-checkbox:hover>input:not([disabled])~span,
.cim-checkbox>input:focus~span {
    background: #d9d9d9;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.cim-radio>input:checked~span,
.cim-checkbox>input:checked~span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: #d9d9d9;
}

.cim-radio>input:checked~span:after,
.cim-checkbox>input:checked~span:after {
    display: block;
}

.cim-radio:hover>input:not([disabled]):checked~span,
.cim-radio>input:checked~span,
.cim-checkbox:hover>input:not([disabled]):checked~span,
.cim-checkbox>input:checked~span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: #d9d9d9;
}

.cim-radio>input:disabled~span,
.cim-checkbox>input:disabled~span {
    opacity: 0.6;
    filter: alpha(opacity=60);
    pointer-events: none;
}

.cim-radio.cim-radio-outline>span,
.cim-radio.cim-checkbox-outline>span,
.cim-checkbox.cim-radio-outline>span,
.cim-checkbox.cim-checkbox-outline>span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio.cim-radio-outline:hover>input:not([disabled])~span,
.cim-radio.cim-radio-outline>input:focus~span,
.cim-radio.cim-checkbox-outline:hover>input:not([disabled])~span,
.cim-radio.cim-checkbox-outline>input:focus~span,
.cim-checkbox.cim-radio-outline:hover>input:not([disabled])~span,
.cim-checkbox.cim-radio-outline>input:focus~span,
.cim-checkbox.cim-checkbox-outline:hover>input:not([disabled])~span,
.cim-checkbox.cim-checkbox-outline>input:focus~span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio.cim-radio-outline>input:checked~span,
.cim-radio.cim-checkbox-outline>input:checked~span,
.cim-checkbox.cim-radio-outline>input:checked~span,
.cim-checkbox.cim-checkbox-outline>input:checked~span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio.cim-radio-outline:hover>input:not([disabled]):checked~span,
.cim-radio.cim-radio-outline>input:checked~span,
.cim-radio.cim-checkbox-outline:hover>input:not([disabled]):checked~span,
.cim-radio.cim-checkbox-outline>input:checked~span,
.cim-checkbox.cim-radio-outline:hover>input:not([disabled]):checked~span,
.cim-checkbox.cim-radio-outline>input:checked~span,
.cim-checkbox.cim-checkbox-outline:hover>input:not([disabled]):checked~span,
.cim-checkbox.cim-checkbox-outline>input:checked~span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio>span {
    -webkit-border-radius: 50%!important;
    -moz-border-radius: 50%!important;
    -ms-border-radius: 50%!important;
    -o-border-radius: 50%!important;
    border-radius: 50%!important;
}

.cim-radio>span:after {
    left: 6px;
    top: 6px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #666666;
}

.cim-radio>input:disabled~span:after {
    background: #666666;
}

th>.cim-radio.cim-radio-single,
td>.cim-radio.cim-radio-single {
    right: -5px;
}

.cim-checkbox>span:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #666666;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cim-checkbox>input:disabled~span:after {
    border-color: #666666;
}

.checkbox .cim-checkbox {
    margin-bottom: 5px;
    padding-left: 26px;
}

.form-inline .cim-checkbox {
    margin-left: 15px;
    margin-right: 15px;
}

th>.cim-checkbox.cim-checkbox-single,
td>.cim-checkbox.cim-checkbox-single {
    right: -5px;
}

.cim-checkbox-list,
.cim-radio-list {
    padding: 10px 0;
}

.form-horizontal .form-group .cim-checkbox-list,
.form-horizontal .form-group .cim-radio-list {
    padding-top: 0;
}

.cim-checkbox-list .cim-checkbox,
.cim-checkbox-list .cim-radio,
.cim-radio-list .cim-checkbox,
.cim-radio-list .cim-radio {
    display: block;
}

.cim-checkbox-inline,
.cim-radio-inline {
    padding: 10px 0;
}

.form-horizontal .form-group .cim-checkbox-inline,
.form-horizontal .form-group .cim-radio-inline {
    padding-top: 8px;
}

.cim-checkbox-inline .cim-checkbox,
.cim-checkbox-inline .cim-radio,
.cim-radio-inline .cim-checkbox,
.cim-radio-inline .cim-radio {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 0px;
}

.cim-checkbox-inline .cim-checkbox:last-child,
.cim-checkbox-inline .cim-radio:last-child,
.cim-radio-inline .cim-checkbox:last-child,
.cim-radio-inline .cim-radio:last-child {
    margin-right: 0;
}