.main {
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  box-sizing: border-box;;
}

.main_left {
  width: 200px;
  background: white;
  border-radius: 5px;
  box-sizing: border-box;
  height: 100vh;  /* 调整todo */
  max-height: 100vh;
  overflow-y: auto;
}

.main_right {
  -webkit-box-flex: 1;
  flex-grow: 1;
  margin-left: 20px;
  max-width: calc( 100% - 220px );
}

.menu-nav {
  padding: 20px 0;
}

.menu-nav-top .al-iconfont{
  font-size: 16px;
  position: relative;
  left: -20px;
}

.logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  margin-bottom: 12px;
}

.logo > img {
  width: 80px;
  height: 80px;
}

.nav {
  display: block;
  font-size: 16px;
  padding: 10px;
  text-align: center;
}

.nav.active {
  background: rgb(245, 93, 84);
  color: white;
}

.main_right {
  

}

.main_right_top {
  background: #eaeaea;
  height: 80px;
  line-height: 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

.header {
  height: 100%;
}

.header h2 {
  color: rgb(245, 93, 84);
  font-size: 22px;
  line-height: 80px;
}

.logout-box  {
  height: 100%;
}

.user-info {
  height: 100%;
  width: auto;
}

.user-info span.avatar {
  display: inline-block;
  font-size: 26px;
  margin-right: 12px;
}

.user-info.logout span.avatar {
  margin-right: 0;
}

.logout {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  margin-left: 20px;
  color: rgb(255, 87, 34);
}

.user-info h3 {
  font-size: 16px;
}

.main_content {
  margin-top: 20px;
  height: 100%;
  max-height: calc( 100vh - 100px );
  overflow-y: auto;
}

.menu-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.menu-block .menu-title {
  margin-left: 32px;
  margin-bottom: 6px;
}

.menu-block .menu-title span {
  font-size: 16px;
  color: #707070;
}

.menu-block .menu-title span.al-iconfont {
  margin-right: 15px;
}


.menu-con > ul > li > a.nav {
  font-size: 14px;
}

.j-tab {
  border: 1px solid rgb(0, 118, 255);
  height: 32px;
  border-radius: 3px;
  font-size: 0;
}

.j-tab-item {
  display: inline-block;
  line-height: 30px;
  padding: 0 12px;
  font-size: 14px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.j-tab-item.active {
  background: rgb(0, 118, 255);
  color: white;
}

/* 自定义popver */
.popver-con {
  width: 370px; 
  background-color: rgb(255, 255, 255);
  border-color: rgb(255, 255, 255);
  border-width: 1px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px 0px;
  color: rgb(89, 89, 90);
  border-radius: 5px;
  font-size: 14px;
  padding: 7px;
  text-align: left;
  position: fixed;
  top: 0;
}

.popver-con.width-auto {
  width: auto!important;
}

.popver-con .flag {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin-bottom: 2px;
}

.popver-con .flag input[type="radio"] {
  margin: 0!important;
  width: 14px;
  height: 14px;
}
.popver-con .flag .al-iconfont {
  margin: 0 4px;
}

.popver-con .left {
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

.popver-con .right {
  padding-right:15px;
}

.pop-btns {
  text-align: right;
  margin-top: 12px;
}

.textarea-box {
  border: 1px solid rgba(187, 187, 187, 0.75);
  border-radius: 8px;
}

.textarea-box textarea {
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 8px;
}

.pop-btns #popConfirm {
  color: rgba(0, 122, 255, 1);
  margin-right: 8px;
}


.pop-btns #popCancel {
  color: rgb(255, 23, 68);
}

.comm-top-tips {
  padding: 8px 20px;
  border: 1px solid rgb(252, 202, 0);
  background: white;
  border-radius: 4px;
  margin-bottom: 20px;
}

.comm-top-tips p {
  line-height: 24px;
  color: rgb(255, 37, 37);
}

a.link {
  color: rgba(50, 145, 248, 1);
}

a.red {
  color: rgba(255, 37, 37, 1);
}

.status-prosessing{
  color: rgba(50, 145, 248, 1)!important;
}

.status-compelete{
  color:  rgba(39, 177, 72, 1)!important;
}

.status-preparing {
  color: rgb(16, 16, 16)!important;
}


.status-error {
  color: rgba(255, 37, 37, 1)!important;
}

.upload-box, .pre-list .preview-li {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
    overflow: hidden;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    user-select: none;
}

.upload-box, .pre-list .preview-li image, .upload-box, .pre-list .preview-li img {
    width: 80px;
    height: 80px;
}

.pre-list {
  display: inline-block;
}

.del-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  text-align: center;
  display: none;
}

.del-mask .del-icon {
  line-height: 80px;
  color: white;
  font-size: 14px;
}

.del-mask .view-icon {
  line-height: 80px;
  color: white;
  font-size: 16px;
  margin-right: 8px;
  position: relative;
  top: 2px;
}

.del-mask .al-iconfont:last-of-type {
  margin-right: 0!important;
}

.pre-list .preview-li:hover .del-mask{
    display: block;
}

.upload-box input[type="file"] {
  font-size: 999px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.upload-text {
  font-size: 12px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.upload-text .plus-icon {
  font-size: 18px;
}
.fake-btn {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.tabs > a {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: rgba(16, 16, 16, 1);
  height: 40px;
  line-height: 40px;
  margin-right: 20px;
  position: relative;
  padding: 0 6px;
}

.tabs > a.active {
  color: rgba(50, 145, 248, 1);
} 

.tabs > a.active:after {
  content: '';
  display: block;
  width: calc( 100% + 12px );
  height: 1px;
  background: rgba(50, 145, 248, 1);
  position: absolute;
  left: -6px;
  bottom: -1px;
}

/* 自定义弹窗 */
#j-modal {
  display: none;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px 0px;
  min-width: 460px;
  background: white;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 9999;
}

.j-modal-header {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.j-modal-header .avatar-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(245, 93, 84);
  color: white;
  text-align: center;
  line-height: 32px;
  display: inline-block;
}

.j-modal-header .title {
  display: inline-block;
  line-height: 32px;
  margin-left: 20px;
  font-size: 16px;
  font-weight: bold;
}

.j-modal-body {
  padding-top: 20px;
}

.j-modal-footer {
  padding: 20px;
  background: white;
  text-align: right;
}

.j-modal-footer > button.red-btn {
  margin-right: 16px;
}

.hide {
  display: none;
}

/* 通用开关 */
.switch {
  position: relative;
  display: inline-block;
  width: 65px;
  height: 30px;
  border-radius: 16px;
  line-height: 32px;
  -webkit-tap-highlight-color: transparent;
  background: rgb(88, 207, 117);
}

.switch.off {
  background: rgb(255, 37, 37);
  text-align: right;
}

.switch .switch-txt {
  color: white;
  font-size: 14px;
  padding: 0 5px;
  display: inline-block;
}

.switch .switch-circle {
  display: block;
  position: absolute;
  display: inline-block;
  width: 25px;
  height: 25px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
  border-radius: 50%;
  right: 2px;
  top: 2px;
  cursor: pointer;
  -webkit-transition: all ease .3s;
  transition: all ease .3s;
}

.switch.off .switch-circle{
  right: unset;
  left: 2px;
}

.comiseo-daterangepicker, .ui-datepicker{
  z-index: 10000!important;
}

input[type=checkbox] {
  margin: 0;
}

.pre-mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .6);
  z-index: 99;
}

.pre-mask img {
  user-select: none;
  width: 48%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.shopinfo-wrap {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ddd;
}

.shopinfo-wrap:last-of-type {
  padding-bottom: 0;
  border: none;
  margin-bottom: 16px;
}

.info-modal-body {
  max-height: 45vh;
  overflow-y: auto;
}

/* 统一上下居中 */
.table td{
  vertical-align: middle!important; 
}

.select2-container .select2-choice {
  height: 34px!important;
}

.select2-container .select2-choice > .select2-chosen {
  line-height: 34px!important;
}


/* table 行 hover */
table > tbody > tr:hover > td {
  background: #eeffee;
}

.select2-container {
  width: 220px!important;
}