/* 中部容器 */
.jf-body-box {
    width: 96vw;
    /*min-height: 800px;*/
    margin: 20px auto;
    /*background-color: #ffffff;*/
}
.layui-form-label {
    width: 100px;
    text-align: right !important;
}
.required-input:after {
    content: "*" !important;
    font-weight: bold;
    color: red !important;
    position: absolute !important;
    top: 5px !important;
    left: 15px !important;
}

.w10 {
    width: 10px !important;
}

.w20 {
    width: 20px !important;
}

.w30 {
    width: 30px !important;
}

.w40 {
    width: 40px !important;
}

.w50 {
    width: 50px !important;
}

.w60 {
    width: 60px !important;
}

.w70 {
    width: 70px !important;
}

.w80 {
    width: 80px !important;
}

.w90 {
    width: 90px !important;
}

.w100 {
    width: 100px !important;
}

.w150 {
    width: 150px !important;
}

.w200 {
    width: 200px !important;
}

.w250 {
    width: 250px !important;
}

.w300 {
    width: 300px !important;
}

.w350 {
    width: 350px !important;
}

.w400 {
    width: 400px !important;
}

.w450 {
    width: 450px !important;
}

.w500 {
    width: 500px !important;
}

.w550 {
    width: 550px !important;
}

.w600 {
    width: 600px !important;
}

.w650 {
    width: 650px !important;
}

.w700 {
    width: 700px !important;
}

.w750 {
    width: 750px !important;
}

.w800 {
    width: 800px !important;
}

.w850 {
    width: 850px !important;
}

.w900 {
    width: 900px !important;
}

.w950 {
    width: 950px !important;
}

/*.layui-table td{*/
/*    min-width: 120px;*/
/*}*/
#sidebar {
    min-height: 500px;
}

#sidebar {
    -webkit-transition: margin 0.3s ease;
    -moz-transition: margin 0.3s ease;
    -o-transition: margin 0.3s ease;
    transition: margin 0.3s ease;
}

.sidebar-collapsed {
    display: none; /* hide it for small displays */
}

.jf-panel,
.jf-sidebar,
.jf-article,
.jf-reply,
.jf-my-panel {
    /* background-color: #ffffff; */
    background-color: #fefefe;
}

/* 侧边栏容器 */
.jf-sidebar-box {
    width: 250px;
    line-height: 1.2;
    font-size: 16px;
}

/* 侧边栏 */
.jf-sidebar {
    margin: 0 0 20px 0;
    box-shadow: 0 0 7px 2px #dcdcdc;
    /*min-height: 100px;*/
    border: 1px solid #cccccc;
    border-radius: 2px;
}

/* 侧边栏列表项文件字降低灰度，以便突出 panel 内容 */
.jf-sidebar li,
.jf-sidebar li a {
    color: #666666;
    text-decoration: none;
}

/* 侧边栏按钮 */
.jf-sidebar-btn {
    display: block;
    border: 0;
    border-radius: 2px;
}

.jf-sidebar-btn:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

/* 侧边栏名称 */
.jf-sidebar-name {
    margin: 0 15px;
    margin: 10px 15px 10px 15px;
    color: #23527c;
    text-decoration: none;
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;

    border-bottom: 1px solid #a8a8a8;
}

.jf-sidebar-name a {

    color: #23527c;
    color: #337ab7;
    text-decoration: none;
}

.jf-sidebar-hot-list {
    list-style-type: none;
    overflow: hidden;
    padding: 0 20px 10px 20px;
    clear: both;
}

.jf-sidebar-hot-list > li {
    border-bottom: 1px dashed #a8a8a8;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 0 6px 0;
    padding: 5px 0;
}

.jf-sidebar-hot-list > li:last-child {
    border-bottom-width: 0;
}

.jf-sidebar-donate-money,
.jf-sidebar-donate-fans {
    font-size: 18px;
    color: #666;
}

.jf-sidebar-donate-money {
    float: left;
    width: 110px;
}


/* ----------------------------------------------------------------------------------- */
/* 项目页面 */
/* 热门列表 */
.jf-sidebar-hot-list li a {
    display: block;
    text-decoration: none;
    color: #2d64b3;
    font-size: 16px;
    line-height: 36px;
    /* 以下三行实现超出部分使用省略号的效果 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jf-sidebar-hot-list li a:hover {
    color: #365899;
    color: #23527c;
    color: #576B95;
}

/* 面板容器 */
.jf-panel-box {
    width: 100%;
    line-height: 1.5;
    font-size: 18px;
}

.jf-panel,
.jf-my-panel,
.jf-doc-panel {
    margin: 0 0 20px 0;
    padding: 0 30px;
    box-shadow: 0 0 7px 2px #dcdcdc;
    border: 1px solid #cccccc;
    /*border: 1px solid #bebebe;*/
    border-radius: 2px;
}

/* 面板名称 */
.jf-panel-name,
.jf-my-panel-name {
    padding: 9px 0;
    color: #23527c;
    font-size: 28px;
    border-bottom: 1px solid #a8a8a8;
    font-weight: bold;
}

.jf-panel-name > a,
.jf-my-panel-name > a {
    color: #23527c;
    color: #337ab7;
    text-decoration: none;
}

/* 首页 panel 上的更多链接 */
.jf-panel-more {
    float: right;
    margin: -35px 12px 0 0;
    font-size: 20px;
    color: #23527C;
}

/* 面板内部列表 */
.jf-panel-list {
    list-style-type: none;
    overflow: hidden;
}

.jf-panel-list > li {
    padding: 15px 0;
    min-height: 90px;
    border-bottom: 1px dashed #a8a8a8;
    border-bottom: 1px solid #ccc;
    border-bottom: 1px solid #ddd;
    border-bottom: 1px solid #eee;
}

.jf-panel-list > li:last-child {
    border-bottom-width: 0;
}

/* 面板内部左侧图像 */
.jf-panel-img {
    float: left;
    margin-top: 3px;
}

.jf-panel-img img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

.jf-panel-item {
    margin-left: 80px;
    /*width: 658px;*/
}

.jf-panel-item > h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.jf-panel-item > h3 > a {
    color: #337ab7;
    text-decoration: none;
}

.jf-panel-item > h3 > a:hover {
    text-decoration: underline;
    /* 这里应该稍亮的颜色，或者就为 #337ab7，然后原来的颜色改深 */
    color: #365899;
    color: #23527c;
    color: #576B95;
}

.jf-panel-item p {
    font-size: 16px;
    line-height: 1.5;
    line-height: 28px;
    color: #252525;
}

/* 脚部容器 */
.jf-footer-box {
    font-size: 14px;
    margin: 20px auto 20px auto;
    padding: 10px 0;
    width: 96vw;
    height: 50px;
    text-align: center;
    border-top: 1px solid #999999;
    /*border-top: 1px  #737373 solid;*/
}

.jf-footer-box ul {
    /* ul 的 inline-block 极度关键，这样能配合父元素的 text-align:center 使整个 ul 居中显示 */
    display: inline-block;
    list-style-type: none;
}

.jf-footer-box li {
    float: left;
    margin: 0 30px 0 0;
}

.jf-footer-box li a {
    display: block;
    /* 让 a 元素更大些，利于点击 */
    padding: 0.5em;
    text-decoration: none;
    color: #333333;
}

#myModal .modal-dialog {
    width: 50%;
    height: 300px;
}

.fancyTable td, .fancyTable th {
    /* appearance */
    border: 1px solid #778899;

    /* size */
    padding: 5px;
}

.fancyTable {
    /* text */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.fancyTable tbody tr td {
    /* appearance */
    background-color: #eef2f9;
    background-image: -moz-linear-gradient(
            top,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 51%,
            rgba(255, 255, 255, 0.0) 100%);

    background-image: -webkit-gradient(
            linear, left top, left bottom,
            color-stop(0%, rgba(255, 255, 255, 0.4)),
            color-stop(50%, rgba(255, 255, 255, 0.2)),
            color-stop(51%, rgba(255, 255, 255, 0.1)),
            color-stop(100%, rgba(255, 255, 255, 0.0)));

    /* text */
    color: #262c31;
    font-size: 11px;
}

.fancyTable tbody tr.odd td {
    /* appearance */
    background-color: #d6e0ef;
    background-image: -moz-linear-gradient(
            top,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 51%,
            rgba(255, 255, 255, 0.0) 100%);

    background-image: -webkit-gradient(
            linear, left top, left bottom,
            color-stop(0%, rgba(255, 255, 255, 0.4)),
            color-stop(50%, rgba(255, 255, 255, 0.2)),
            color-stop(51%, rgba(255, 255, 255, 0.1)),
            color-stop(100%, rgba(255, 255, 255, 0.0)));
}

.fancyTable thead tr th,
.fancyTable thead tr td,
.fancyTable tfoot tr th,
.fancyTable tfoot tr td {
    /* appearance */
    background-color: #8ca9cf;
    background-image: -moz-linear-gradient(
            top,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 51%,
            rgba(255, 255, 255, 0.0) 100%);

    background-image: -webkit-gradient(
            linear, left top, left bottom,
            color-stop(0%, rgba(255, 255, 255, 0.4)),
            color-stop(50%, rgba(255, 255, 255, 0.2)),
            color-stop(51%, rgba(255, 255, 255, 0.1)),
            color-stop(100%, rgba(255, 255, 255, 0.0)));

    /* text */
    color: #121517;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 1px #e8ebee;
}

form label {
    white-space: nowrap;
    width: 160px;
}

.layui-form-label {
    padding: 5px 15px;
}

.layui-input, .layui-select, .layui-textarea {
    height: 25px;
    line-height: 25px;
}

.layui-form-select dl dd, .layui-form-select dl dt {
    line-height: 25px;
}

.layui-table-cell {
    height: 30px;
    line-height: 30px;
}

.layui-form-item {
    margin-bottom: 5px;
}

.layui-table-cell div {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.hidden-text{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

}

.margin-top-0 {
    margin-top: 0;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-left-0 {
    margin-left: 0;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-15 {
    margin-left: 15px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-25 {
    margin-left: 25px;
}

.margin-left-30 {
    margin-left: 30px;
}

.margin-right-0 {
    margin-right: 0;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-right-15 {
    margin-right: 15px;
}

.margin-right-20 {
    margin-right: 20px;
}

.margin-right-25 {
    margin-right: 25px;
}

.margin-right-30 {
    margin-right: 30px;
}

.none {
    display: none;
}

.hidetext {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.layui-upload-img {
    width: 80px;
    height: 80px;
}
.none-border{
    border:none;
    border:0;
    border:transparent;
}
/* 分页 */
.jf-paginate {
    text-align: center;
    list-style-type: none;
    margin: 20px 0;
}

.jf-paginate li {
    display: inline;
}

.jf-paginate a {
    display: inline;
    margin-right: 2px;
/ / font-family: Courier New, Arial;
    font-size: 16px;
    color: #58595b;
    background-color: #f0f0f0;
    padding: 4px 8px;
    text-decoration: none;
}

.jf-paginate a.current-page {
    background-color: #6e7b8b;
    color: #ffffff;
    font-weight: bold;
}

.jf-paginate a.pre-page,
.jf-paginate a.next-page {
    background-color: #cccccc;
    font-weight: bold;
}

.jf-paginate a:hover {
    background-color: #6e7b8b;
    color: #ffffff;
}

.input_bottom {
    border: 0;
    outline: 0;
    background: transparent;
    border-bottom: 1px solid black;
}

/* 小屏幕导航栏紧凑样式 */
@media screen and (max-width: 768px) {
  .layui-nav {
    padding: 0 10px;  /* 减小导航栏左右内边距 */
    height: 45px;     /* 减小导航栏高度 */
    line-height: 45px;/* 行高跟随导航栏高度 */
  }

  .layui-nav .layui-nav-item {
    margin: 0 2px;    /* 减小菜单项之间的间距 */
  }

  .layui-nav .layui-nav-item a {
    padding: 0 10px;  /* 减小菜单项的内边距 */
    font-size: 14px;  /* 稍微减小字体大小 */
  }

  .layui-nav .layui-nav-img {
    width: 25px;      /* 减小头像大小 */
    height: 25px;
    margin-right: 0;  /* 移除头像右侧间距 */
  }
}