/**
 * admin.css
 */
/*
 fixed-layout 固定头部和边栏布局
*/
html,
body {
  /* height: 100%;
  overflow: hidden; */
}



ul {
  margin-top: 0;
}

.title{
  width:100%;
  clear:both;
  text-align: center;
}

.admin-icon-yellow {
  color: #ffbe40;
}

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.admin-header-list a:hover :after {
  content: none;
}

.admin-main {
  position: relative;
  height: 100%;
  padding-top: 64px;
  background: #f3f3f3;
}

.admin-menu {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  right: 20px;
}

.admin-sidebar {
  width: 220px;
  min-height: 100%;
  float: left;
  border-right: 1px solid #cecece;
  overflow-y: scroll;
}

.admin-sidebar.am-active {
  z-index: 1600;
}

.admin-sidebar-list {
  margin-bottom: 0;
}

.admin-sidebar-list li a {
  color: #5c5c5c;
  padding-left: 24px;
}

.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 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #fff;
}

.content-margin {
  background-color: #ddd;
  padding: 3px;
}

.admin-content,
.admin-sidebar {
  height: 100%;
  overflow-x: hidden;
  /* overflow-y: scroll; */
  -webkit-overflow-scrolling: touch;
}

.admin-content-body {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.admin-content-footer {
  font-size: 85%;
  color: #777;
}

.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;
}

.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;
  }
  .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);
    overflow-y: visible;
    min-height: 100%;
  }
  .admin-offcanvas-bar:after {
    content: none;
  }
}

@media only screen and (max-width: 640px) {
  .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: 0.5rem;
}

.table-main button {
  background: #fff;
}

.table-check {
  width: 30px;
}

.table-id {
  width: 50px;
}

@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: #3bb4f2;
}

.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;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  border: none;
}

.winBox {
  width: 1650px;
  height: 20px;
  overflow: hidden;
  position: relative;
}

.scroll {
  /*width的大小是根据下面li的长度和多少个li而定的，需注意！*/
  position: absolute;
  left: 0px;
  top: 0px;
}

.scroll li {
  width: 100%;
  float: left;
  line-height: 20px;
  text-align: center;
}

.head-nav {
  float: left;
  font-size: 16px;
}

.head-nav ul {
  list-style: none;
}

.head-nav ul li {
  display: inline;
}

.head-nav ul li a {
  float: left;
  padding: 7px 10px 3px;
  margin-right: 10px;
  text-align: center;
  transition: transform 0.4s;
}

.head-nav ul li a:hover {
  background-color: #3f4b7b;
  opacity: 0.9;
  transform: scale(1.1);
}

.nav-active {
  background-color: #3f4b7b;
  opacity: 0.9;
}

.head-logo {
  width: 212px;
  float: left;
  line-height: 40px;
  margin-top: 12px;
  /* border-right: 2px solid; */
}

.logo-img {
  display: block;
  float: left;
  margin-right: 6px;
  margin-top: 15px;
  height: 36px;
}

.am-topbar-nav > li > a:after {
  opacity: 0;
  transition: opacity 0s;
}

.am-tabs-bd .am-tab-panel {
  transition: transform 1ms ease 0s, -webkit-transform 1ms ease 0s;
}

.login-form {
    width: 50%;
    height: 85%;
    margin: 50px auto;
    min-width: 960px;   
    background-color: rgba(255,255,255,.5);
    
    box-shadow: 0 0 10px #333;
    border-radius: 15px;
}

@media screen and  (max-width: 499px)  {
  .login-form {
    width: 50%;
    height: 85%;
    margin: 50px auto;
    min-width:425px;
    
    background-color: rgba(255,255,255,.8);
        box-shadow: 0 0 10px #333;
    border-radius: 15px;
  }
} 