/**
 * admin.css
 */
html,
body {
  height: 100%;
  overflow: auto;
  margin: 0;
}
html {
  overflow-y: scroll;
}
body {
  -webkit-touch-callout: none;
  /*-webkit-user-select: none;
  user-select: none;*/
  -khtml-user-select: none;
  /*-moz-user-select: none;*/
  /*-ms-user-select: none;*/
  font-size: 1.4rem;
}
ul {
  margin-top: 0;
}
.admin-icon-yellow {
  color: #ffbe40;
}

.admin-header {
  /*font-size: 1.4rem;*/
  margin-bottom: 0;
  z-index: 99;
}

.admin-header-list a:hover :after {
  content: none;
}

.admin-main {
  background: #f3f3f3;
  /* position: absolute; */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
}

.admin-menu {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  right: 20px;
}

.admin-sidebar {
  /*width: 260px;*/
  width: 170px;
  min-height: 100%;
  float: left;
  border-right: 1px solid #cecece;
}

.admin-sidebar-list {
  margin-bottom: 0;
}

.admin-sidebar-list li a {
  color: #5c5c5c;
  padding-left: 24px;
}

.admin-sidebar-list li a.cur {
  border-right: 4px solid #d94432;
}

.admin-sidebar-list li:first-child {
  border-top: none;
}

.admin-sidebar-sub {
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 16px 8px -15px #e2e2e2 inset;
  background: #ececec;
  padding-left: 24px;
}

.admin-sidebar-sub li:first-child {
  border-top: 1px solid #dedede;
}

.admin-sidebar-panel {
  margin: 10px;
}

.admin-content {
  width: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  height: 100%;
  background: #fff;
}

.admin-content-list {
  border: 1px solid #e9ecf1;
  margin-top: 0;
}

.admin-content-list li {
  /*border: 1px solid #e9ecf1;*/
  /*border-width: 0 1px;*/
  /*margin-left: -1px;*/
  padding: 1.6rem;
}

.admin-content-list li:first-child {
  /*border-left: none;*/
}

.admin-content-list li:last-child {
  border-right: none;
}

.admin-content-table a {
  color: #535353;
}
.admin-content-file {
  margin-bottom: 0;
  color: #666;
}

.admin-content-file p {
  margin: 0 0 5px 0;
  /*font-size: 1.4rem;*/
}

.admin-content-file li {
  padding: 10px 0;
}

.admin-content-file li:first-child {
  border-top: none;
}

.admin-content-file li:last-child {
  border-bottom: none;
}

.admin-content-file li .am-progress {
  margin-bottom: 4px;
}

.admin-content-file li .am-progress-bar {
  line-height: 14px;
}

.admin-content-task {
  margin-bottom: 0;
}

.admin-content-task li {
  padding: 5px 0;
  border-color: #eee;
}

.admin-content-task li:first-child {
  border-top: none;
}

.admin-content-task li:last-child {
  border-bottom: none;
}

.admin-task-meta {
  /*font-size: 1.2rem;*/
  color: #999;
}

.admin-task-bd {
  /*font-size: 1.4rem;*/
  margin-bottom: 5px;
}

.admin-content-comment {
  margin-bottom: 0;
}

.admin-content-comment .am-comment-bd {
  /*font-size: 1.4rem;*/
}

.admin-content-pagination {
  margin-bottom: 0;
}
.admin-content-pagination li a {
  padding: 4px 8px;
}

@media only screen and (min-width: 641px) {
  .admin-sidebar {
    display: block;
    position: static;
    background: none;
    height: 100%;
    overflow-y: auto;
  }

  .admin-offcanvas-bar {
    position: static;
    width: auto;
    background: none;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .admin-offcanvas-bar:after {
    content: none;
  }
}

@media only screen and (max-width: 640px) {
  .switch-left {
    display: none;
  }
  .admin-sidebar {
    width: inherit;
  }

  .admin-offcanvas-bar {
    background: #f3f3f3;
  }

  .admin-offcanvas-bar:after {
    background: #bababa;
  }

  .admin-sidebar-list a:hover,
  .admin-sidebar-list a:active {
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    background: #e4e4e4;
  }

  .admin-content-list li {
    padding: 10px;
    border-width: 1px 0;
    margin-top: -1px;
  }

  .admin-content-list li:first-child {
    border-top: none;
  }

  .admin-content-list li:last-child {
    border-bottom: none;
  }

  .admin-form-text {
    text-align: left !important;
  }
}

/*
* user.html css
*/
.user-info {
  margin-bottom: 15px;
}

.user-info .am-progress {
  margin-bottom: 4px;
}

.user-info p {
  margin: 5px;
}

.user-info-order {
  /*font-size: 1.4rem;*/
}

/*
* errorLog.html css
*/

.error-log .am-pre-scrollable {
  max-height: 40rem;
}

/*
* table.html css
*/

.table-main {
  /*font-size: 1.4rem;*/
  /*padding: .5rem;*/
}

.table-main button {
  background: #fff;
}

.table-th-check {
  width: 30px;
}

.table-th-id {
  width: 205px;
}

.table-th-content {
  max-width: 400px;
}

.table-td-content,
.table-td-ask_content,
.table-td-answer_content {
  max-width: 400px;
}
.table-td-id {
  max-width: 205px;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  .table-select {
    margin-top: 10px;
    margin-left: 5px;
  }
}

/*
gallery.html css
*/

.gallery-list li {
  padding: 10px;
}

.gallery-list a {
  color: #666;
}

.gallery-list a:hover {
  color: #f17263;
}

.gallery-title {
  margin-top: 6px;
  /*font-size: 1.4rem;*/
}

.gallery-desc {
  /*font-size: 1.2rem;*/
  margin-top: 4px;
}

/*
 404.html css
*/

.page-404 {
  background: #fff;
  border: none;
  width: 200px;
  margin: 0 auto;
}

/*
 fixed-layout 固定头部和边栏布局
*/

.fixed-layout,
.fixed-layout body {
  height: 100%;
  overflow: auto;
  margin: 0;
}

.fixed-layout .admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.fixed-layout .admin-main {
  position: relative;
  height: 100%;
}

.fixed-layout .admin-content,
.fixed-layout .admin-sidebar {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.fixed-layout .admin-sidebar.am-active {
  z-index: 1600;
}
.am-table > tbody > tr > td {
  vertical-align: middle;
}

.m-page {
  text-align: center;
}

.m-page a {
  display: inline-block;
  text-align: center;
  border: 1px solid #aaa;
  margin: 10px 2px;
  padding: 3px 10px;
  color: dimgray;
}

.m-page a:hover {
  border-color: #e65341;
}

.m-page .current {
  display: inline-block;
  margin: 10px 2px;
  padding: 3px 10px;
  color: #222;
  font-weight: 500;
  border: none;
}

.image-plus-box {
  position: relative;
  display: inline-block;
}

.image-plus {
  font-size: 155px;
  color: #fff;
  position: absolute;
  background: rgba(0, 0, 0, 0.3) url("../images/iconfont-plus.png") center
    no-repeat;
  width: 100%;
  height: 100%;
  display: none;
  cursor: pointer;
}
.am-table > tbody > tr > td,
.am-table > tbody > tr > th,
.am-table > tfoot > tr > td,
.am-table > tfoot > tr > th,
.am-table > thead > tr > td,
.am-table > thead > tr > th {
  padding: 0.3rem;
}

.am-list > li > a {
  padding: 0.5rem;
}

.am-scrollable-horizontal {
  /*min-height: 1200px;*/
}

.am-badge-grey {
  background: #dddddd;
  color: #333;
  font-size: 14px;
  width: 260px;
  text-align: right;
  overflow: hidden;
  margin-bottom: 10px;
  margin-right: 10px;
}

.am-badge-grey2 {
  background: #dddddd;
  color: #333;
  font-size: 14px;
  margin-bottom: 4px;
  margin-right: 4px;
}

.currentElement {
  color: red;
}

/**搜索样式**/
.div_item {
  width: 100%;
  height: 20px;
  margin-top: 1px;
  font-size: 13px;
  line-height: 20px;
  z-index: 99999;
}
#div_items {
  width: 93%;
  height: 200px;
  border: 1px solid #66afe9;
  border-top: 0px;
  overflow: auto;
  display: none;
  position: absolute;
  background: #c0c0c0;
  z-index: 99999;
  top: 34px;
}

/* 页面选项卡 */

.page-tabs {
  position: relative;
  height: 40px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
  color: #5c5c5c;
}

.tab-arrow {
  position: absolute;
  top: 0;
  z-index: 999;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  background: #fff;
}

.tab-arrow:hover {
  background: #eee;
  cursor: pointer;
}

.arrow-left {
  left: 0;
  border-right: 1px solid #eee;
  z-index:1;
}

.arrow-right {
  right: 0;
  border-left: 1px solid #eee;
}

.tab-list {
  width: 100%;
  margin: 0;
  padding: 0 40px;
  font-size: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.tab-item {
  display: inline-block;
  min-width: 0;
  line-height: 40px;
  overflow: hidden;
  border-right: 1px solid #f6f6f6;
  vertical-align: top;
  -webkit-transition: all .2s;
  padding: 0 27px 0 15px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  position: relative;
}

.tab-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 0;
  background: #d94432;
  transition: all .3s;
}

.tab-item:hover, .tab-list .current  {
  background: #f6f6f6;
}

.tab-item:hover::after, .tab-list .current::after  {
  width: 100%;
}

.tab-item .am-icon-close {
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -13px;
  color: #d2d2d2;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 24px;
  transition: all .3s;
}

.tab-item .am-icon-close:hover {
  color: #ff6363;
}

.tab-home {
  padding: 0 10px;
}

.tab-home .am-icon-home {
  font-size: 24px;
  line-height: 36px;
}

.page-body {
  height: calc(100% - 40px);
}

.page-body .iframe {
  width: 100%;
  height: 100%;
}

html.__work__ {
  overflow-y: unset;
}

.__work__ .admin-content {
  overflow-y: unset;
  font-size: 1.4rem;
}

.__work__ .admin-main {
  flex-grow: 1;
}

.__work__ body {
  display: flex;
  flex-direction: column;
}

.__work__ #mainframe {
  min-height: unset !important;
  height: 100%;
}