* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}
body {
  font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  width: 100%;
  height: 100%;
  color: #666;
  background-color: #F5F6F8;
  --color: #165dff;
}
button,
input,
select,
option,
textarea {
  outline: none;
  background: none;
  border: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
}
::-webkit-input-placeholder {
  color: #babbc3;
}
:-moz-placeholder {
  color: #babbc3;
}
::-moz-placeholder {
  color: #babbc3;
}
:-ms-input-placeholder {
  color: #babbc3;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(144, 146, 152, 0.3);
}
ul,
li {
  list-style: none;
}
em,
i {
  font-style: normal;
}
textarea {
  resize: none;
}
a,
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}
.left {
  display: flex;
  flex-wrap: wrap;
}
.right {
  display: flex;
  justify-content: flex-end;
}
.between {
  display: flex;
  justify-content: space-between;
}
.around {
  display: flex;
  justify-content: space-around;
}
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.centerT {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cut {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cutTwo {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
/*修改layui样式 start*/
.layui-form-item {
  display: flex;
  margin-bottom: 16px;
}
.layui-form-item .layui-form-label {
  float: none;
}
.layui-form-item .layui-input-block {
  margin-left: 0;
  min-height: auto;
}
.layui-form-item .layui-input {
  padding: 0 10px;
}
.layui-form-item .layui-input:hover,
.layui-form-item .layui-textarea:hover,
.layui-form-item .layui-input:focus,
.layui-form-item .layui-textarea:focus {
  border-color: #d2d2d2 !important;
  box-shadow: none;
}
.layui-form-item .layui-form-select dl dd.layui-this {
  color: var(--color) !important;
}
.layui-form-item .layui-form-radioed,
.layui-form-item .layui-form-radioed > i,
.layui-form-item .layui-form-radio:hover > * {
  color: var(--color);
}
.layui-laydate .layui-laydate-content .layui-this,
.layui-laydate .layui-laydate-content .layui-this > div {
  background: var(--color) !important;
}
.layui-btn {
  background-color: var(--color);
}
.layui-btn.layui-btn-primary {
  background-color: #2faf6e;
}
.layui-btn.layui-btn-warm {
  background-color: #f49539;
}
.layui-btn.layui-btn-danger {
  background-color: #ff4949;
}
.layui-btn.layui-btn-checked {
  background-color: #2faf6e;
}
.layui-btn.layui-btn-normal {
  color: #5F5F5F;
  background: none;
  border-color: #d2d2d2;
}
.layui-tab {
  margin-top: 0;
  transform: translateY(-10px);
}
.layui-tab-brief > .layui-tab-title .layui-this a {
  color: var(--color);
}
.layui-tab-brief > .layui-tab-title .layui-this:after,
.layui-tab-brief > .layui-tab-more li.layui-this:after {
  border-color: var(--color);
}
.layui-form-select dl dd.layui-this {
  color: var(--color);
}
.layui-input:focus,
.layui-textarea:focus {
  border-color: #eee !important;
  box-shadow: none;
}
.layui-form-checkbox[lay-skin="primary"]:hover > i {
  border-color: var(--color);
}
.layui-form-checked[lay-skin="primary"] > i {
  border-color: var(--color) !important;
  background-color: var(--color);
}
.layui-form-checkbox[lay-skin="primary"] > .layui-icon-indeterminate {
  border-color: var(--color);
}
/*修改layui样式 end*/
/*登录*/
.loginWrap {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url(../images/admin-bg.jpg) center;
}
.loginWrap .login {
  width: 1200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loginWrap .layui-form {
  display: block;
  width: 420px;
  border-radius: 6px;
  background: #fff;
  padding: 40px 40px 50px;
  margin-left: 780px;
}
.loginWrap .name {
  font-size: 28px;
  color: #1e2633;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 30px;
}
.loginWrap .layui-form-item {
  height: 42px;
  line-height: 42px;
  margin-bottom: 20px;
  position: relative;
}
.loginWrap .icon {
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}
.loginWrap .layui-icon {
  font-size: 22px;
  color: #babbc3;
}
.loginWrap .layui-input {
  height: 42px;
  line-height: 42px;
  padding-left: 42px;
}
.loginWrap .code {
  width: 128px;
  height: 42px;
  border: 1px solid #e5e6eb;
  border-radius: 4px;
  margin-left: 16px;
  cursor: pointer;
}
.loginWrap .code img {
  display: block;
  height: 40px;
  cursor: pointer;
}
.loginWrap .layui-btn {
  font-size: 16px;
  color: #fff;
  width: 100%;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 4px;
  margin-top: 10px;
}
/*头部*/
.header {
  width: 100%;
  height: 50px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
}
.header .logo {
  width: 200px;
  height: 50px;
  padding: 10px 0;
  line-height: 30px;
  text-align: center;
  background-color: #fff;
  -webkit-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.header .logo .img {
  width: 30px;
  height: 30px;
  background: url(../images/logo.png) no-repeat;
  background-size: 30px;
}
.header .logo .text {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  padding-left: 10px;
}
.header .navbar {
  flex: 1;
}
.header .shrinkBtn {
  height: 50px;
  line-height: 50px;
  text-align: center;
  margin-left: 16px;
  cursor: pointer;
}
.header .shrinkBtn .iconfont {
  font-size: 24px;
  color: #666;
}
.header .shrinkBtn .text {
  width: 100%;
}
.header .user {
  height: 50px;
  padding: 0 16px;
  position: relative;
}
.header .user:hover .sub {
  display: block;
}
.header .username {
  color: #000;
  line-height: 50px;
  padding: 0 4px;
}
.header .username .iconfont {
  font-size: 18px;
  color: #666;
}
.header .icon-admin {
  font-size: 20px;
  margin-right: 4px;
}
.header .sub {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;
  width: 98px;
  padding: 5px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  border: 1px solid #d2d2d2;
  background-color: #fff;
  z-index: 100;
  border-radius: 2px;
  white-space: nowrap;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: upbit;
  animation-name: upbit;
}
.header .sub li {
  height: 36px;
  line-height: 36px;
}
.header .sub li a {
  display: block;
  color: #333;
  padding: 0 20px;
}
.header .sub li a:hover {
  background-color: #f2f2f2;
  color: #000;
}
.header .layui-breadcrumb {
  flex: 1;
  height: 50px;
  line-height: 50px;
  margin-left: 20px;
}
.header .layui-breadcrumb a,
.header .layui-breadcrumb span {
  color: #606266 !important;
}
/*侧边栏*/
.sidenav {
  width: 200px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 112;
  overflow: auto;
  -webkit-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.sidenav::-webkit-scrollbar {
  display: none;
}
.sidenav .nav {
  padding-top: 54px;
}
.sidenav a {
  display: block;
  overflow: hidden;
  color: #333;
  padding: 0 24px;
  height: 48px;
  line-height: 48px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
}
.sidenav a:hover {
  color: var(--color);
}
.sidenav .item {
  margin-bottom: 4px;
}
.sidenav .item .item-a .text {
  font-size: 15px;
  padding-left: 30px;
}
.sidenav .item.show .sub {
  display: block;
}
.sidenav .item.show .item-a {
  color: var(--color);
}
.sidenav .item .icon {
  font-size: 20px;
  position: absolute;
  top: 0;
}
.sidenav .item .icon-arrow-down {
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 20px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.sidenav .item .sub {
  display: none;
  padding: 0 4px;
}
.sidenav .item .sub .sub-a {
  height: 40px;
  line-height: 40px;
}
.sidenav .item .sub .sub-a.active {
  color: var(--color);
  background-color: #F5F6F8;
}
.sidenav .item .sub .text {
  padding-left: 26px;
}
/*正文区域*/
.content {
  width: calc(100% - 232px);
  min-height: 100%;
  margin-left: 216px;
  padding-top: 66px;
  position: relative;
  -webkit-transition: width 0.3s ease, margin 0.3s ease;
  -o-transition: width 0.3s ease, margin 0.3s ease;
  transition: width 0.3s ease, margin 0.3s ease;
}
.content::-webkit-scrollbar {
  display: none;
}
.shrink .header .logo {
  width: 60px;
}
.shrink .header .text {
  display: none;
}
.shrink .sidenav {
  width: 60px;
  overflow: visible;
}
.shrink .sidenav .nav .item-a {
  padding: 0 0 0 20px;
}
.shrink .sidenav .nav .icon-arrow-down,
.shrink .sidenav .nav .text,
.shrink .sidenav .nav .sub {
  display: none;
}
.shrink .nav_popup {
  display: block;
  position: absolute;
  border: 3px solid rgba(60, 71, 76, 0);
}
.shrink .nav_popup div {
  border-radius: 5px;
  overflow: hidden;
  background-color: #20222a;
}
.shrink .nav_popup div a {
  color: rgba(255, 255, 255, 0.7);
}
.shrink .nav_popup div .icon-arrow-down {
  transform: rotate(0);
}
.shrink .nav_popup .item-a {
  padding-left: 56px;
}
.shrink .nav_popup.second {
  left: 60px;
}
.shrink .nav_popup .sub {
  width: 180px;
}
.shrink .nav_popup .sub .sub-li {
  width: 180px;
  background-color: rgba(0, 0, 0, 0.6);
}
.shrink .nav_popup .sub .sub-li a {
  padding-left: 56px;
}
.shrink .nav_popup .sub .sub-li a.active {
  background-color: #2e3c4d;
}
.shrink .nav_popup .icon {
  display: none;
}
.shrink .content {
  width: calc(100% - 92px);
  margin-left: 76px;
}
/*正文区域*/
.wrap {
  padding: 16px 20px;
  border-radius: 2px;
  background-color: #fff;
  position: relative;
}
.checkBox {
  width: 16px;
  height: 16px;
}
.checkBox input[type="checkbox"] {
  display: none;
}
.checkBox input[type="checkbox"]:disabled + span {
  background-color: #dadde7 !important;
  background-image: none !important;
}
.checkBox span {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  cursor: pointer;
}
.checkBox input[type="checkbox"] + span {
  background-color: #fff;
  border: 1px solid #dadde7;
  border-radius: 2px;
}
.checkBox input[type="checkbox"]:checked + span {
  border: none;
  background: url(../images/check.png) no-repeat;
  background-size: 16px;
}
/*工具栏*/
.tools {
  width: 100%;
  border-radius: 2px;
  background-color: #fff;
  padding: 16px 20px 0;
  margin-bottom: 10px;
}
.tools .layui-form-item:not(:last-of-type) {
  margin-right: 16px;
}
.tools .layui-form-label {
  width: auto;
  padding: 6px 12px 6px 0;
}
.tools .layui-input {
  height: 32px;
  line-height: 32px;
}
.tools .input,
.tools .classify,
.tools .time {
  width: 208px;
}
.tools .select {
  width: 142px;
}
.tools .time .layui-input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
}
.tools .time .icon-calendar {
  font-size: 18px;
  height: 32px;
  line-height: 32px;
  position: absolute;
  top: 0;
  right: 6px;
  z-index: 10;
}
.tools .el-cascader {
  line-height: 32px;
}
.tools .el-cascader .el-input__inner {
  font-size: 13px;
  height: 32px;
  line-height: 32px;
}
.tools .add {
  padding-bottom: 16px;
}
.tools .add .layui-form-item {
  margin: 0 16px;
}
.tools .layui-form .add {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e9edef;
}
.tools .layui-form.between .add {
  padding-bottom: 0;
  border-bottom: none;
}
.tools .layui-btn {
  padding: 0 14px;
  height: 32px;
  line-height: 32px;
}
.sequence {
  width: 48px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border: 1px solid #dcdee2;
  border-radius: 3px;
  color: #333;
}
.layui-table {
  margin: 0;
}
.layui-table thead tr {
  background-color: #f9f9f9;
}
.layui-table th {
  padding: 10px;
  min-height: 24px;
  line-height: 24px;
  text-align: center;
}
.layui-table td {
  padding: 10px 8px;
  min-height: 22px;
  line-height: 22px;
  text-align: center;
}
.layui-table td > a {
  color: #666;
}
.layui-table td p {
  line-height: 18px;
}
.layui-table .state {
  display: inline-block;
  font-size: 12px;
  color: #fff !important;
  height: 24px;
  line-height: 24px !important;
  padding: 0 8px;
  border-radius: 3px;
}
.layui-table .state.green {
  background-color: #2faf6e;
}
.layui-table .state.blue {
  background-color: var(--color);
}
.layui-table .state.red {
  background-color: #ff4d4f;
}
.layui-table .state.yellow {
  background-color: #f49539;
}
.layui-table .state.orange {
  background-color: #ff5722;
}
.layui-table .state.gray {
  background-color: #999ea7;
}
.layui-table .state.purple {
  background-color: #748fe6;
}
.layui-table .check_box {
  width: 50px;
}
.layui-table .num {
  color: var(--color);
}
.layui-table .title {
  max-width: 240px;
  min-width: 120px;
  line-height: 18px;
}
.layui-table .title p {
  max-width: 240px;
  min-width: 120px;
}
.layui-table .banner img {
  width: 132px;
  height: 48px;
  border-radius: 4px;
}
.layui-table .logo img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}
.layui-table .layui-form-switch {
  margin-top: 0;
  min-width: 40px;
  height: 20px;
  line-height: 20px;
  border: none;
  background-color: #dcdfe6;
}
.layui-table .layui-form-switch i {
  top: 2px;
  left: 2px;
  background-color: #fff;
}
.layui-table .layui-form-switch.layui-form-onswitch {
  border-color: var(--color);
  background-color: var(--color);
}
.layui-table .layui-form-switch.layui-form-onswitch i {
  margin-left: 0;
  left: 22px;
}
.layui-table .noData td {
  text-align: center;
  padding: 20px 0;
}
/*操作按钮*/
.operate a {
  height: 24px;
  line-height: 24px;
  display: block;
  margin: 0 4px;
}
.operate a:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.operate a .layui-icon-down {
  font-size: 10px;
  padding-left: 2px;
}
.operate span {
  padding-right: 2px;
}
.operate .green {
  color: #2faf6e;
}
.operate .blue {
  color: #2d6df2;
}
.operate .red {
  color: #ff4949;
}
.operate .yellow {
  color: #f49539;
}
.operate .orange {
  color: #ff5722;
}
.operate .gray {
  color: #999ea7;
}
.operate .purple {
  color: #748fe6;
}
/*编辑*/
.edit_wrap {
  width: 100%;
  height: calc(100vh - 126px);
  padding: 20px;
  border-radius: 2px;
  overflow-y: auto;
  background-color: #fff;
  position: relative;
}
.edit_wrap .title {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  line-height: 36px;
  padding-left: 28px;
  background-color: #f4f6f8;
  border-radius: 2px;
  position: relative;
  margin-bottom: 16px;
}
.edit_wrap .title:after {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--color);
  position: absolute;
  top: 11px;
  left: 16px;
}
.edit_wrap .layui-form-item + .title {
  margin-top: 20px;
}
.edit_wrap .layui-form-label {
  width: 120px;
  height: 36px;
  padding: 0 12px 0 0;
  line-height: 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.edit_wrap .layui-input-block {
  display: flex;
  width: 388px;
}
.edit_wrap .layui-input-block .layui-input,
.edit_wrap .layui-input-block .layui-textarea,
.edit_wrap .layui-input-block .layui-form-select {
  flex: 1;
}
.edit_wrap .layui-input-block .unit {
  width: 42px;
  height: 36px;
  line-height: 36px;
  background-color: #f4f8f9;
  text-align: center;
  border: 1px solid #e6e6e6;
  margin-left: -1px;
}
.edit_wrap .layui-input-block.time {
  width: 388px;
  position: relative;
}
.edit_wrap .layui-input-block.time .layui-input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
.edit_wrap .layui-input-block.time .icon-calendar {
  font-size: 18px;
  height: 36px;
  line-height: 36px;
  position: absolute;
  top: 0;
  right: 6px;
  z-index: 9;
}
.edit_wrap .layui-input-block.file {
  height: 36px;
}
.edit_wrap .layui-input-block.file + .layui-btn {
  margin: 2px 0 0 16px;
}
.edit_wrap .layui-input-block.file a {
  display: block;
  width: 100%;
  line-height: 36px;
  color: var(--color);
  border-width: 1px;
  border-style: solid;
  color: rgba(0, 0, 0, 0.85);
  border-radius: 2px;
  border-color: #eee;
  padding: 0 10px;
}
.edit_wrap .layui-input {
  height: 36px;
}
.edit_wrap .xmSelect {
  width: 388px;
  min-height: 36px;
}
.edit_wrap .layui-video {
  width: 352px;
  height: 206px;
}
.edit_wrap .layui-video video {
  width: 100%;
  height: 100%;
}
.edit_wrap .layui-form-upload {
  position: relative;
  border: 1px solid #eaeaea;
  box-sizing: unset;
}
.edit_wrap .layui-form-upload a {
  display: block;
  width: inherit;
  height: inherit;
}
.edit_wrap .layui-form-upload.logo {
  width: 100px;
  height: 100px;
}
.edit_wrap .layui-form-upload.banner {
  width: 386px;
  height: 130px;
}
.edit_wrap .layui-form-upload .uploadBtn {
  width: inherit;
  height: inherit;
  border-radius: 2px;
  background: url(../images/uploadBtn.png) no-repeat center;
  cursor: pointer;
}
.edit_wrap .layui-form-upload .uploadBtn img {
  display: block;
  width: inherit;
  height: inherit;
}
.edit_wrap .layui-upload-list {
  min-height: 160px;
  width: 762px;
  padding: 10px 10px 0 10px;
  margin: 10px 0 0;
  border: 1px dotted #aeaeae;
  border-radius: 2px;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.edit_wrap .layui-upload-list .img {
  width: 140px;
  height: 140px;
  margin: 0 10px 10px 0;
  position: relative;
}
.edit_wrap .layui-upload-list .img img {
  width: 140px;
  height: 140px;
  border-radius: 2px;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
}
.edit_wrap .layui-upload-list .img:hover .close {
  display: block;
}
.edit_wrap .layui-upload-list .img:nth-child(5n) {
  margin-right: 0;
}
.edit_wrap .layui-upload-list .img .close {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.edit_wrap .layui-upload-list .img .close span {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 24px;
  color: #ee0a24;
  border-radius: 50%;
  cursor: pointer;
}
.edit_wrap .edit_table {
  margin-bottom: 16px;
}
.edit_wrap .tip {
  font-size: 12px;
  line-height: 18px;
  color: #999;
  margin-top: -14px;
  padding-left: 120px;
  margin-bottom: 12px;
}
.edit_wrap .layui-preview {
  background-color: #2faf6e;
  margin-left: 10px;
}
.edit_wrap .editor {
  width: 908px;
  border: 1px solid #e6e6e6;
}
.edit_wrap .layui-form-item .layui-btn {
  height: 32px;
  line-height: 30px;
  padding: 0 14px;
}
.edit_wrap .layui-wrap {
  margin-left: 120px;
  width: 800px;
}
.edit_wrap .layui-wrap .layui-input {
  text-align: center;
}
/*详情页*/
.detail_wrap {
  width: 100%;
  height: calc(100vh - 126px);
  overflow-y: auto;
  position: relative;
}
.detail_wrap .white {
  width: 100%;
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 16px;
  padding: 16px 24px 6px;
}
.detail_wrap .title {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  line-height: 36px;
  padding-left: 28px;
  background-color: #f4f6f8;
  border-radius: 2px;
  position: relative;
  margin-bottom: 16px;
}
.detail_wrap .title:after {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--color);
  position: absolute;
  top: 11px;
  left: 16px;
}
.detail_wrap .item {
  width: 25%;
  padding-right: 10px;
  margin-bottom: 8px;
}
.detail_wrap .item .label {
  font-size: 14px;
  color: #666;
  line-height: 20px;
}
.detail_wrap .item .val {
  font-size: 15px;
  color: #000;
  line-height: 20px;
  padding: 4px 0 8px;
}
.layui-form-btns {
  width: 100%;
  height: 60px;
  padding: 14px 0 14px 140px;
  background-color: #fff;
  border-top: 1px solid #e9edef;
}
.layui-form-btns .layui-btn {
  height: 32px;
  line-height: 32px;
  padding: 0 22px;
}
.popUp {
  display: none;
  padding: 20px 20px 0;
}
.popUp .layui-form-item {
  margin-bottom: 12px;
}
.popUp .layui-input-block {
  display: flex;
  width: 300px;
}
.popUp .layui-input-block .layui-input,
.popUp .layui-input-block .layui-textarea,
.popUp .layui-input-block .layui-form-select {
  flex: 1;
}
.popUp .layui-input-block .unit {
  width: 42px;
  height: 36px;
  line-height: 36px;
  background-color: #f4f8f9;
  text-align: center;
  border: 1px solid #e6e6e6;
  margin-left: -1px;
}
.popUp .layui-form-label {
  width: 120px;
  height: 36px;
  padding: 0 12px 0 0;
  line-height: 18px;
  color: #333;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.popUp .layui-input {
  height: 36px;
}
.popUp .xmSelect {
  width: 300px;
  min-height: 36px;
}
.popUp .tip {
  font-size: 12px;
  line-height: 18px;
  color: #999;
  margin-top: -10px;
  padding-left: 120px;
  margin-bottom: 12px;
}
.popUp .layui-form-upload {
  position: relative;
  border: 1px solid #eee;
  box-sizing: unset;
}
.popUp .layui-form-upload.logo {
  width: 100px;
  height: 100px;
}
.popUp .layui-form-upload.banner {
  width: 300px;
  height: 150px;
}
.popUp .layui-form-upload .uploadBtn {
  width: inherit;
  height: inherit;
  border-radius: 2px;
  background: url(../images/uploadBtn.png) no-repeat center;
  cursor: pointer;
}
.popUp .layui-form-upload .uploadBtn img {
  display: block;
  width: inherit;
  height: inherit;
}
.popUp .layui-btns {
  border-top: 1px solid #eee;
  padding: 15px 0;
  margin-top: 16px;
}
.popUp .layui-btn {
  height: 32px;
  line-height: 32px;
  padding: 0 14px;
}
.popUp .layui-table .layui-input {
  width: 120px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin: 0 auto;
}
/*分页*/
.pages {
  height: 70px;
  padding: 30px 0 10px;
}
.pages .total {
  color: #333;
  height: 30px;
  line-height: 30px;
  margin: 0 10px;
}
.pages .pagination {
  display: inline-block;
  padding-left: 0;
  border-radius: 4px;
}
.pages .pagination li {
  display: inline;
}
.pages .pagination li > a,
.pages .pagination li > span {
  position: relative;
  float: left;
  padding: 0 10px;
  height: 30px;
  margin-right: 4px;
  line-height: 28px;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
}
.pages .pagination li:first-child > a,
.pages .pagination li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pages .pagination li > a:hover,
.pages .pagination li > span:hover,
.pages .pagination li > a:focus,
.pages .pagination li > span:focus {
  z-index: 2;
  color: #fff;
  background-color: #165dff;
  border-color: #165dff;
}
.pages .pagination .active > a,
.pages .pagination .active > span,
.pages .pagination .active > a:hover,
.pages .pagination .active > span:hover,
.pages .pagination .active > a:focus,
.pages .pagination .active > span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #165dff;
  border-color: #165dff;
}
.pages .pagination .disabled > span,
.pages .pagination .disabled > span:hover,
.pages .pagination .disabled > span:focus,
.pages .pagination .disabled > a,
.pages .pagination .disabled > a:hover,
.pages .pagination .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pages .layui-input-block {
  width: 98px;
  margin-left: 0;
  min-height: 30px;
}
.pages .layui-input {
  height: 30px;
  line-height: 30px;
}
.pages select[lay-ignore] {
  height: 30px;
  padding: 3px 5px;
  border-radius: 2px;
  border: 1px solid #eee;
  cursor: pointer;
}
/*三级分类*/
.sort .show_sub {
  padding-left: 6px;
}
.sort .iconfont {
  font-size: 13px;
  color: #666;
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
}
.sort .iconfont.rotate {
  transform: rotate(90deg);
}
.sort .sort_info {
  cursor: pointer;
}
.sort .hr {
  height: 24px;
}
.sort .sortTwo .hr {
  width: 32px;
}
.sort .sortThree .hr {
  width: 64px;
}
/*权限*/
.authority {
  margin-left: 120px;
}
.authority .collapse-item {
  border: 1px solid #e9edef;
  margin-bottom: 20px;
}
.authority .collapse-title {
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  color: #333;
  background-color: #f4f6f8;
  overflow: hidden;
}
.authority .collapse-title .layui-checkbox-disabled[lay-skin=primary] div {
  color: #666 !important;
}
.authority .collapse-content {
  display: none;
}
.authority .collapse-content.show {
  display: block;
}
.authority .collapse-li {
  border-bottom: 1px solid #e9edef;
}
.authority .collapse-li:first-of-type {
  border-top: 1px solid #e9edef;
}
.authority .collapse-li:last-of-type {
  border-bottom: none;
}
.authority .collapse-li .collapse-name {
  width: 192px;
  padding: 10px 20px;
  border-right: 1px solid #e9edef;
  display: flex;
  align-items: center;
}
.authority .collapse-li .collapse-checks {
  flex: 1;
  padding: 4px 15px;
}
.authority .collapse-li .collapse-checks .layui-form-checkbox[lay-skin="primary"] {
  width: 22%;
  margin: 6px 0;
}