:root {
  --White: #fff;
  --Black: #000;
  --Color_333: #333;
  --Brown: #eab977;
  --Brown_Dark: #cb9b66;
  --Brown_Darker: #b68856;
  --Brown_Line: #9b744b;
  --Grey: #9e9e9e;
  --Grey_Light: #cfcfcf;
  --Grey_Lighter: #e3e4e5;
  --Grey_Middle: #b7b7b6;
  --Grey_Dark: #6a6a77;
  --Grey_Line: #ebebeb;
  --Grey_Content: #f2f5fa;
  --Grey_Content1: #f1f3f4;
  --Grey_Content2: #fafafa;

}

body, html {
  height: 100%;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
}

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, span {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background: url(../imgs/fbg.png) repeat;
  font-family: Arial, Helvetica, Microsoft YaHei, RuShiSongA, RuShiSongB, 宋体, sans-serif;
}

.wide-txt {
  font-family: Arial, Helvetica, RuShiSongA, RuShiSongB, 宋体, Microsoft YaHei, sans-serif;
}

img {
  vertical-align: top;
}

input, textarea {
  outline: none
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-style: normal;
}

a, input, button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

input::-ms-clear {
  display: none;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

a {
  color: var(--Brown_Darker);
  text-decoration: none;
  margin-right: 3px;
  cursor: pointer;
}

a:hover, a:focus {
  color: #b33c2b;
}

.clearfix:after {
  content: '.';
  display: block;
  width: 0;
  visibility: hidden;
  height: 0;
  clear: both;
}

.clearfix {
  *zoom: 1;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.tl {
  text-align: left;
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}

.flex {
  display: flex;
}

.disabled {
  cursor: not-allowed;
}

.invisible {
  visibility: hidden
}

.highlight {
  color: red;
}

.required::before {
  content: '*';
  color: red;
}

.ajax-error {
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #faebcc;
  color: var(--Brown_Line);
  background-color: #fcf8e3;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  height: auto;
  line-height: 20px;
}

body.widescreen {
  height: 100% !important;
  padding: auto !important;
}

/*app-main*/
.app-main {
  width: 100%;
  height: 100%;
}

/*sidebar-menu*/
.main .sidebar-menu {
  width: 200px;
  height: 100%;
  background: var(--Brown_Dark);
  position: fixed;
  color: var(--Color_333);
  z-index: 10;
}

.sidebar-menu.collapse {
  width: 0;
}

.slimScrollDiv > * {
  overflow: hidden;
}

.menu-item a, .menu-item a:hover {
  color: var(--Color_333);
}

.main {
  float: left;
  width: 100%;
  height: 100%;
}

.main .logo-con {
  height: 56px;
  text-align: center;
  background-color: var(--Grey_Light);
}

.logo-con img {
  width: 160px;
  margin-top: 8px;

}

.logo-con .mini {
  width: 36px;
  height: 36px;
  display: none;
}

.main .main-menu {
  padding: 30px 0 30px 17px;
  position: relative;
  font-size: 15px;
}

.main-menu > li {
  line-height: 36px;
  color: var(--Color_333);
  margin-right: 12px;
  width: 100%;
}

.main-menu > li.menu-item, .sub-ul > li.sub-item {
  border-bottom: 1px dashed rgba(228, 195, 168, 0.26);
  margin-right: 12px;
  width: 100%;
}

li.sub-item {
  height: 34px;
}

.menu-item i[class^="icon-"] {
  color: #333;
  font-weight: 300;
}

.menu-item .icon-subitem {
  color: #333;
  font-size: 12px;
  font-weight: 300;
}

.main-menu .menu-title {
  display: block;
}

.main-menu .menu-title:hover {
  background: var(--Brown);
}

.main-menu .active {
  background-color: var(--Brown);
}

.main-menu .sub-title {
  border-bottom: 1px dashed rgba(228, 195, 168, 0.26);
  padding-left: 5px;
}

.main-menu .sub-title:hover {
  cursor: pointer;
  background: var(--Brown);
}

.main-menu .sub-ul li {
  margin-left: 18px;
}

.main-menu .sub-ul li:hover {
  background-color: var(--Brown);
}

.main-menu .sub-ul li .sub-img {
  margin-top: 13px;
}

.main-menu .sub-ul .sub-active {
  background: var(--Brown);
}

.main-menu .sub-ul-hidden {
  display: none;
}

.main-header {
  height: 56px;
  line-height: 56px;
  background: transparent;
}

.main-header-left {
  padding-left: 10px;
}

.main-header-left .title span:first-child {
  margin-right: 12px;
}

.main-header-left .title span:first-child img {
  margin-top: 18px;
}

.main-header-left .title span:last-child img {
  margin-top: 2px;
  margin-left: -6px;
}

.main-header-left .line {
  width: 248px;
  height: 1px;
  background: #000;
}

.ivu-row-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.main-header-right {
  padding-right: 8px;
}

.main-header-right .welcome {
  color: #232323;
  font-size: 14px;
  margin-right: 20px;
}

.main-header-right .logout {
  color: #777;
  font-size: 22px;
  margin-left: 5px;
  cursor: pointer;
}

/*main-content*/
.main .main-content {
  height: 100%;
  overflow: auto;
  margin-left: 200px;
  background-size: 100%;
  background: #f4f4f4 url(../imgs/bg.png) no-repeat;
}

.main-content .layout {
  z-index: 1;
  background: none;
  transition: left .3s;
}

.layout .wrapper {
  margin: 10px;
  height: 100%;
  min-height: 200px;
  /*padding: 5px;*/
}

/*m-header*/
.m-header {
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 1000;
  padding: 0 6px;
  position: fixed;
  background: var(--Grey_Light);
  border-bottom: 1px solid rgba(227, 228, 229, 0.8);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-header > div {
  margin: auto 0;
  flex: 0 1 auto;
  line-height: 40px;
  position: relative;
  display: flex;
  align-items: center;
}

.m-header .center {
  flex-grow: 1;
}

.m-header .btn-group {
  display: flex;
  align-items: center;
}

.m-header .back {
  cursor: pointer;
  font-size: 26px;
  margin-right: 6px;
  transition: all 0.2s;
}

.m-header .back:hover {
  transform: scale(1.2);
}

.m-header .title {
  font-size: 20px;
  font-weight: 500;
  margin-right: 6px;
  word-break: keep-all;
  color: var(--Color_333);
}

.m-header .sub-title {
  font-size: 0.8em;
  display: inline-block;
  float: initial;
  font-weight: 400;
}

.m-header .dropdown-menu {
  margin-top: 10px;
  line-height: normal;
}

.m-header .dropdown-menu .divider {
  margin: 2px;
}

.dropdown-menu .menu-title {
  font-size: 14px;
  color: var(--Grey);
  text-align: center;
}

.btn-txt {
  float: none;
  width: 24px;
  height: 24px;
  padding: 2px;
  cursor: pointer;
  font-size: 20px;
  margin: auto 5px;
  font-weight: 400;
  transition: all 0.2s;
  display: inline-block;
  user-select: none;
  color: var(--Brown_Darker);
}

.btn-txt:hover {
  transform: scale(1.2);
}

.btn-txt.active {
  box-shadow: inset 0 5px 8px rgba(0, 0, 0, .125);
}

.btn-txt.disabled {
  color: #aaa;
}

.btn-gap {
  width: 1px;
  margin-left: 9px;
  display: inline-block;
  border-left: 1px solid var(--Brown_Darker);
}

.m-header .btn-nav {
  float: none;
  cursor: pointer;
  font-size: 16px;
  margin: auto 5px;
  font-weight: 400;
  transition: all 0.2s;
  display: inline-block;
  color: var(--Brown_Darker);
}

.m-header .btn-nav:hover {
  text-decoration: underline;
}

.m-header .btn-nav.active {
  color: #333;
}

.btn-line {
  width: 0;
  height: 36px;
  padding: 1px 1px 0 0;
  background-color: var(--Brown_Darker);
  margin: 1px 1px;
  float: initial;
}

/*m-body*/
.m-body {
  height: 100%;
  padding: 40px 0 28px;
}

.m-body.no-footer {
  padding-bottom: 0;
}

.m-body .bd {
  flex: 1;
  height: 100%;
  overflow: auto;
}

/*m-footer*/
.m-footer {
  bottom: 0;
  opacity: .9;
  width: 100%;
  height: 28px;
  position: fixed;
  padding: 0 6px;
  line-height: 28px;
  background-color: #fff;
  border-top: 1px solid #ddd;
  color: var(--Brown_Darker);
}

.m-footer > span {
  margin-right: 6px;
}

.m-footer .reel-code,
.m-footer .page-name,
.m-footer .char-name {
  margin-right: 15px;
  display: inline-block;
  user-select: text;
}

.m-footer .page-info .page-name,
.m-footer .char-info .char-name {
  cursor: pointer;
  min-width: 80px;
}

.m-footer .online-status {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #eee;
}

.m-footer .online-status.active {
  background: green;
}

.m-footer .online-status.idle {
  background: yellow;
}

.m-footer .online-status.leave {
  background: gray;
}

.panel-body {
  padding: 0;
}

/*slim-bar、mid-bar*/
.slim-bar, .mid-bar {
  scrollbar-width: thin;
  scrollbar-color: inherit #BDBDBD;
}

.mid-bar::-webkit-scrollbar-thumb:hover,
.slim-bar::-webkit-scrollbar-thumb:hover {
  background-color: #808080;
}

.slim-bar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.slim-bar::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.8);
}

.slim-bar::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #BDBDBD;
}

.mid-bar::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.mid-bar::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.8);
}

.mid-bar::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #BDBDBD;
  background-clip: content-box;
}

/*alert*/
.alert {
  border: 0;
  margin: 0 auto;
  position: fixed;
  font-size: 14px;
}

.alert.top {
  top: 50px;
}

.alert.ycenter {
  top: 50%;
  transform: translateY(-50%);
}

.alert.bottom {
  bottom: 30px;
}

.alert.left {
  left: 10px;
  transform: unset;
}

.alert.xcenter {
  left: 50%;
  transform: translateX(-50%);
}

.alert.right {
  right: 10px;
  transform: unset;
}

.alert img.loading {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  margin-right: 2px;
  display: inline-block;
}

.alert .title {
  font-weight: bold;
  margin-right: 10px;
}

.alert .text a {
  text-decoration: underline;
  color: var(--Brown_Darker);
  cursor: pointer;
}

.alert .close {
  font-size: 22px;
  margin-top: -4px;
  margin-left: 10px;
}

/*tooltip*/
.tooltip {
  opacity: 1 !important;
  position:fixed;
}

.tooltip .tooltip-inner {
  color: #333;
  font-weight: 400;
  border-radius: 1px;
  word-break: keep-all;
  background-color: #eee;
  box-shadow: 0 5px 5px 0 #888888;
}

.no-arrow .tooltip-arrow {
  display: none;
}

.m-body .tooltip-inner {
  font-size: 1.2em;
  text-align: left;
  word-break: break-all;
  box-shadow: 0 3px 5px 5px #888888;
}

/*swal2*/
.swal2-icon.swal2-info {
  color: var(--Brown_Dark);
  border-color: var(--Brown);
}

.swal2-file:focus, .swal2-input:focus, .swal2-textarea:focus {
  outline: 0;
  border: 1px solid #d9d9d9;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06);
}

.swal2-title {
  font-size: 24px;
}

.alert-dialog {
  padding: 24px 0 0;
}

.alert-dialog__title {
  text-align: left;
  width: 100%;
  margin: 0 0 12px;
  padding: 0 24px;
}

.alert-dialog__content {
  text-align: left;
  margin: 0 24px 16px;
}

.alert-dialog__actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 24px 24px;
}

.alert-dialog__actions .swal2-styled {
  margin: 0;
}

.import-steps {
  margin: 0;
  padding: 0;
}

.import-step + .import-step {
  margin-top: 16px;
}

.import-step-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.import-file-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.swal2-label {
  font-size: 18px;
  font-weight: 400;
}

.swal2-radio > label:first-child {
  margin-left: 0;
}

.swal2-footer a {
  color: var(--Brown_Darker);
}

body.swal2-height-auto {
  height: 100% !important;
}

.info-container .swal2-html-container {
  display: block;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  margin: 12px 12px 0;
}

/*login*/
.logo-icon {
  width: 91px;
  height: 76px;
  display: inline-block;
  background: url(../imgs/logo_icon.png) center center no-repeat;
}

.logo-title {
  width: 160px;
  height: 73px;
  margin-top: 4px;
  display: inline-block;
  background: url(../imgs/logo_title.png) center center no-repeat;
}

.logo .logo-title {
  margin-top: 4px;
}

.base-footer {
  width: 100%;
  color: #58666e;
  opacity: .9;
  padding: 15px 20px;
  background-color: #f9f9f9;
}

.base-footer .org-desc {
  width: 100%;
  text-align: center;
}

.org-desc > span {
  display: inline-block;
}

.org-desc > span a {
  text-decoration: underline;
}

.full-footer {
  opacity: .8;
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #58666e;
  background-color: #f9f9f9;
}

.full-footer .org-desc {
  margin-top: 20px;
  line-height: 28px;
  flex-grow: 1;
  text-align: center;
}

.full-footer .contact-us {
  text-align: center;
  max-width: 280px;
  flex-grow: 0;
}

.full-footer .logo-wechat {
  height: 120px;
  display: flex;
  align-items: center;
}

.logo-wechat .desc {
  width: 12px;
  height: 100px;
  font-size: 12px;
  margin-right: 8px;
}

.logo-wechat img {
  width: 100px;
  height: 100px;
}

@media (max-width: 900px) {
  .full-footer {
    background: #fff;
    opacity: unset;
    width: 100%;
  }

  .full-footer .org-desc {
    min-width: 100%;
  }
}
