/* --------------全局样式-------------- */
/* 顶部菜单z-index为100 */
html {
    /* height: 100%; */
    font-size: 14px;
    color: #333;
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif;
}

body {
    /* height: 100%; */
}

.layui-nav-tree .layui-nav-child a {
    height: 50px;
    line-height: 50px;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 9px;
    height: 9px
}

/*定义滚动条轨道*/
::-webkit-scrollbar-track {
    background-color: transparent;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    background-color: #48494b;
    /* background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.4) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.4) 75%,transparent 75%,transparent); */
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em
}

.header {
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    padding-left: 20px;
    width: 180px;
    height: 60px;
}

.logo img {
    width: 100px;
}

.about-user {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.green {
    color: green;
}

.red {
    color: red;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #1E9FFF;
}

.full-eduit {
    min-width: 800px;
}

/* 标题样式 */
.chen-tit {
    font-size: 1.4rem;
}

.chen-strong {
    font-size: 1.5rem;
    color: #ff5842;
}

.chen-paging {
    padding: 20px;
    text-align: right;
}

/* 主体部分样式 */
.content-box {
    display: flex;
    height: 100%;
}

/* 左侧菜单样式 */
.left-menu {
    box-sizing: border-box;
    width: 220px;
    height: 100%;
    padding-top: 60px;
    flex-shrink: 0;
    overflow-y: scroll;
    overflow-x: hidden;
}

.left-menu .layui-nav-tree {
    width: 220px;
}

.left-menu .layui-icon {
    margin-right: 10px;
}

.left-menu .layui-nav-child {
    padding-left: 25px;
}

/* 可变主体内容 */
.change-content {
    box-sizing: border-box;
    height: 100%;
    padding-top: 60px;
    flex-grow: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #e6e9ee;
}

/* 首页样式 */
.index-content {
    display: flex;
    flex-direction: row;
    padding: 1%;
}

.index-function {
    width: 70%;
    margin-right: 1%;
}

.index-recommend {
    flex-grow: 1;
    background-color: #fff;
    padding: 1%;
}

.index-items {
    display: flex;
    flex-direction: row;
    margin-bottom: 1%;
}

.index-items > div {
    box-sizing: border-box;
    height: 200px;
    padding: 2%;
    background-color: #fff;
}

.index-information {
    width: 63%;
    margin-right: 2%;
}

.index-order {
    flex-grow: 1;
}

.index-account {
    display: flex;
    margin-top: 20px;
}

.index-ava {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.index-ava img {
    width: 80px;
}

.index-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.index-aboutuser {
    display: flex;
    flex-direction: row;
    line-height: 2;
    margin-top: 20px;
    justify-content: space-between;
}

.index-aboutuser-item > p {
    color: #666;
}

.index-order {
    display: flex;
    flex-direction: column;
}

.index-order-group {
    display: flex;
    margin-top: 20px;
    justify-content: space-around;
    flex-grow: 1;
}

.index-order-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-grow: 1;
}

.index-order-item:hover {
    background-color: #ffffff;
    box-shadow: 0px 3px 9px 0px rgba(35, 35, 35, 0.1);
}

.index-addresource {
    width: 49%;
    margin-right: 1%;
}

.index-publicarticle {
    flex-grow: 1;
}

.index-article {
    display: flex;
    flex-direction: row;
    margin-bottom: 1%;
}

.index-article > div {
    box-sizing: border-box;
    height: 200px;
    background-color: #fff;
}

.index-article .layui-tab {
    margin: 0;
    height: 100%;
}

.index-help {
    padding: 2%;
}

.index-article-proces {
    margin-top: 10px;
}

/* --------------个人中心样式-------------- */
/* 我要充值 */
.charging {
    background-color: #fff;
}

.user-center-tit {
    color: #F37B1D;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    padding: 20px;
}

.charging-container {
    padding: 20px 35px;
    display: flex;
    flex-direction: column;
}

.charging-warning {
    color: #f00;
    margin-bottom: 20px;
}

.charging-way {
    display: flex;
    align-items: center;
    margin-top: 30px;
    font-size: 1.2rem;
}

.charging-way-img {
    position: relative;
    width: 210px;
    height: 56px;
    margin-left: 20px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #f84632;
}

.charging-choose {
    position: absolute;
    width: 272px;
    top: -109px;
}

.charging-money-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    height: 40px;
    margin-left: 20px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    border: 1px solid #ccc;
    z-index: 10;
}

.charging-money-choose {
    display: none;
    position: absolute;
    width: 100px;
    top: -70px;
}

.charging-money-choose img {
    width: 100%;
}

.charging-active {
    border: 1px solid #f84632;
}

.charging-money-self {
    width: 200px;
    margin: 20px 0 20px 104px;
}

/* 财务报表 */
.financial-tit {
    display: flex;
    font-size: 1.2rem;
    padding: 20px;
    align-items: baseline;
}

.financial-tit > div {
    margin-right: 20px;
}

/* 提现 */
#cash-application {
    display: none;
}

#cash-application-btn {
    margin-left: 20px;
}

.cash-application-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-size: 1.2rem;
}

.cash-application-content .layui-input, .layui-textarea {
    width: 300px;
}

.cash-application-item {
    display: flex;
    justify-content: center;
    height: 50px;
    align-items: center;
}

.cash-application-item > div {
    flex-shrink: 0;
    width: 160px;
    text-align: right;
}

/* --------------文章管理-------------- */
/* 发布文章 */
.airticle {
    padding: 20px;
}

.public-airticle {
    border-bottom: 1px solid #ccc;
}

.public-airticle-item {
    display: flex;
    align-items: baseline;
    margin: 20px 0;
}

.public-airticle-item-tit {
    width: 150px;
    text-align: right;
}

.public-airticle-item-btn {
    margin-left: 20px;
}

.public-airticle-item-ipt {
    width: 400px;
}

.public-airticle-item-btn {
    margin-left: 300px;
}

.public-airticle-warning {
    padding: 20px;
}

.public-airticle-warning > div {
    line-height: 2;
    color: gray;
}

.public-airticle-warning > .public-airticle-warning-tit {
    font-size: 1.2rem;
    color: #f00;
    font-weight: 600;
}

/* 文章列表 */
.airticle-list {
    padding: 20px;
}

.airticle-list-tit {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.airticle-list-tit > div {
    display: flex;
    align-items: baseline;
    margin-right: 10px;
    text-align: right;
}

.airticle-list-tit > div > span {
    width: 100px;
}

.airticle-list-btns {
    display: flex;
}

.airticle-list-status {
    display: flex;
    align-items: baseline;
    margin-right: 20px;
}

.airticle-list-status-item {
    box-sizing: border-box;
    padding: 9px;
    width: 80px;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
    background-color: #e6e6e6;
}

.airticle-list-status-item.active {
    background-color: #1E9FFF;
    color: #fff;
}

/* --------------订单管理-------------- */
/* 我的订单 */
.my-order {
    padding: 20px;
}

/* --------------资源管理-------------- */
/* 添加资源 */
.add-resource {
    padding: 20px;
}

.add-resource-tit {
    border-bottom: 1px solid #ccc;
}

.add-resource-tit > div {
    line-height: 2;
}

.add-resource-tit-warning {
    font-size: 1.2rem;
    color: #f00;
    font-weight: 600;
}

.add-resource-media-item {
    display: flex;
    margin: 20px 0;
}

.add-resource-media-item > div {
    display: flex;
    align-items: baseline;
}

.add-resource-media-item-tit {
    width: 150px;
    text-align: right;
}

.add-resource-media-item-ipt {
    width: 200px;
}

.add-resource-media .layui-textarea {
    width: 100%;
}

/* 我的资源 */
.my-resource {
    padding: 20px;
}

/* --------------自媒体推广-------------- */
.media-promotion {
    padding: 20px;
}

.media-promotion-filter {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    margin: 10px 0;
}

.media-promotion-filter-item {
    display: flex;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}

.media-promotion-filter-item-tit {
    width: 100px;
    margin-right: 10px;
    text-align: right;
    flex-shrink: 0;
}

.media-promotion-filter-item-content {
    display: flex;
    flex-wrap: wrap
}

.media-promotion-filter-item-option {
    cursor: pointer;
    padding: 5px 10px;
    margin-right: 5px;
    color: #0E90D2;
}

.media-promotion-filter-item-option.active {
    background-color: #3bb4f2;
    color: #fff;
}

.media-promotion-filter-item-option:hover {
    background-color: #3bb4f2;
    color: #fff;
}

.media-promotion-img > img {
    width: 25px;
    margin-right: 5px;
}

/* --------------个人中心-------------- */
.request-invoice-container {
    padding: 20px;
}

.request-invoice-container > div {
    line-height: 3;
}

.request-invoice-tit {
    color: #f00;
    font-size: 1.2rem;
}

.request-invoice-tip {
    font-size: .8rem;
    color: #f00;
}

.request-invoice-item {
    display: flex;
    align-items: baseline;
    margin: 10px 0;
}

.request-invoice-item-tit {
    width: 180px;
    text-align: right;
    margin-right: 20px;
    font-size: 1rem;
    font-weight: bold;
}

.request-invoice-item-ipt {
    width: 400px;
}

/*自定义分页样式*/

.pagination {
    padding: 10px 0;
    text-align: center;
}

.pagination li {
    border-radius: 3px;
    border: 1px solid #dfdfdf;
    display: inline-block;
    margin: 0 2px;
}

.pagination .active {
    background: #09F;
    color: #FFF;
    border-color: #09F;
    margin: 0 2px;
}

.pagination .disabled {
    color: #aaa;
}

.pagination a {
    border-radius: 3px;
    display: inline-block;
    padding: 5px 12px;
}

.pagination span {
    border-radius: 3px;
    display: inline-block;
    padding: 5px 12px;
}
