.dn {
  display: none;
}

/* tabs */
.m-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #f5f6f8;
  padding: 0;
  margin: 0;
  list-style: none;
}

.m-tabs.bb0 {
  border-bottom: 0;
}

.m-tabs .item a {
  position: relative;
  display: block;
  padding: 0 18px;
  min-width: 100px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 14px;
  color: #666;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

.m-tabs .item a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #3678f2;
  opacity: 0;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

.m-tabs .item.active a:after {
  opacity: 1;
}

.m-tabs .item.active a,
.m-tabs .item a:hover {
  color: #3678f2;
}

/* 以下表单公用样式 */
.m-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.m-layout-hd {
  padding: 0 24px;
}

.m-layout-bd {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.m-layout-bd .card {
  max-width: 720px;
}

.m-layout-fd {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  min-height: 64px;
  border-top: 1px solid #d2d4db;
}

.m-layout-fd .btn {
  margin: 0 8px;
  padding: 0;
  width: 120px;
  height: 36px;
  line-height: 34px;
  border-radius: 32px;
  border: 1px solid #3678f2;
}

.m-layout-fd .btn.return {
  border-color: #d2d4db;
  color: #333;
}

input[type="text"],
.form-control {
  max-width: 720px;
  width: 100%;
  padding: 0 10px !important;
  height: 32px !important;
  line-height: 32px !important;
  background: #f0f2f5;
  /* border-radius: 8px !important; */
  border: 1px solid #f0f2f5;
  border-color:#f0f2f5;
  border-radius: 8px !important;
  overflow: hidden;
}


select.form-control{
  padding: 6px 10px !important;
  height: auto !important;
}
/* .form-control.border{
  border-radius: 8px;
} */

.form-control.border-btn{
border-radius: 8px 0 0 8px !important;
}

.form-control.border-none{
  border-radius: 0  !important;
}

.input-group-addon.br0{
  border-right: 0 !important;
  color:#999;
}

.form-control[type="file"] {
  display: none;
}

textarea.form-control {
  height: auto;
  line-height: 1.5;
  resize: none;
}

label.required:before {
  position: static !important;
  margin-right: 5px;
}

.text-danger {
  color: #ff0000 !important;
}

.input-group {
  max-width: 720px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  /* overflow: hidden; */
}

select.form-control{
  border-radius: 8px;
  overflow: hidden;
}

.input-group .form-control {
  max-width: 100%;
  flex: 1;
}

.m-form-check {
  padding: 10px 0 0;
  max-width: 750px;
}

.m-title {
  padding-bottom: 20px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.m-des {
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.short-row,.maxWidth {
  max-width: 720px;
}

.m-layout-hd .m-title {
  padding: 10px 0;
}

.m-layout-hd.bb {
  border-bottom: 1px solid #eee;
}

.m-layout-hd.pad0 {
  padding: 0;
}

.input-group-addon:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.modal-dialog .panel-header {
  padding: 15px;
}

.m-flex-jcsb {
  justify-content: space-between;
}
.m-flex-aic {
  align-items: center;
}

.m-flex {
  display: flex;
}

.m-flex1 {
  flex: 1;
}

.m-file-box {
  display: flex;
  align-items: center;
}

.m-file-box label {
  margin: 0 10px 0 0;
}

.m-file-box .filenames {
  flex: 1;
  overflow: hidden;
  height: 40px;
  line-height: 40px;
}

.m-file-btn {
  display: block;
  padding: 0 15px;
  border: 1px solid #e3e2e8;
  border-radius: 32px;
  height: 40px;
  line-height: 38px;
  cursor: pointer;
  transition: 0.3s linear;
}

.m-file-btn:hover {
  border-color: #3678f2;
  color: #fff;
  background: #3678f2;
}

/* 以下是列表搜索 */
.m-search {
  padding: 0 0 10px;
}

.m-search.pb0{
  padding-bottom: 0;
}

.m-search .form-search{
  border:0;
  min-width: 40px;
  text-align: center;
  height: 32px;
  cursor: pointer;
}

.m-search .form-search img{
  display: block;
  margin:0 auto;
  width: 14px;
  height: 14px;
}

.m-search .btn {
  padding: 0 1.4rem;
  height: auto !important;
  /* line-height: 1.25; */
  border-radius: 32px;
  cursor: pointer;
}

.m-search .input-group {
  background: #f0f2f5;
  border-radius: 8px;
  overflow: hidden;
}

table.m-table-list {
  padding: 0;
  width: 100%;
}

.m-table-list tr td,
.m-table-list tr th{
  border-top: 0;
}

.m-table-list tr td {
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
  text-align: center;
}

.m-table-list .hd td,
.m-table-list .hd th {
  border-bottom: 0;
  font-size: 14px;
  color: #333;
  font-weight: bold;
  text-align: center;
  min-height: 42px;
}

.m-table-list .hd {
  background: #f0f2f5;
}

.m-table-list .tl,
.m-table-list .hd td.tl,
.m-table-list .hd th.tl {
  text-align: left;
}

.m-table-list .btn{
  color:#0275d8;
}

.m-table-list .btn-info,
.m-table-list .btn-primary,
.m-table-list .btn-danger{
  color:#fff;
}

.m-table-list .btn:hover{
  text-decoration: underline;
}
/* .input-group .input-group-addon{
    background: #F0F2F5;
    border-color:#F0F2F5;
} */

/* .input-group.focus{
    border-color:#216BEF;
    background: #fff !important;
} */

input[type="text"]:focus,
.form-control:focus,
input[type="text"]:hover,
.input-group:hover .form-control,
.form-control:hover {
  border-color: #216bef;
  background: #fff !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
  -webkit-appearance: none;
}

.input-group.focus input.form-control {
  border-color: #216bef;
  background: #fff !important;
}

.input-group.focus .input-group-addon,
.input-group:hover .input-group-addon  {
  background: #fff;
  border-color: #216bef;
  height: 32px;
}

.input-group-addon {
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  height: 32px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 8px;
}

.input-group-btn .btn,
.input-group .video-picker-btn{
    background: #216BEF;
    border-color: #216BEF;
    color:#fff;
    border-radius: 0 8px 8px 0 !important;
}

.input-group .btn-radius0,
.btn-radius0{
  border-radius: 0 !important;
}

.input-group .btn-radius1,
.btn-radius1{
  border-radius: 0 8px 8px 0 !important;
}

.input-group .btn-radius2,
.btn-radius2{
  border-radius:8px !important;
}

/* .btn{

} */

.video-picker-btn{
  height: 32px !important;
}

.input-group-btn .btn:hover,
.m-layout-fd .btn:hover,
.input-group .video-picker-btn:hover{
    background: #004CD5;
}

.input-group-btn .btn-danger{
    background: #c9302c;
    border-color: #c9302c;
    color:#fff
}

.input-group-btn .btn-danger:hover{
    background: #c9302c;
}

.m-layout-fd .btn-default:hover,
.m-layout-fd .return:hover{
    background: none;
}

.upload-preview .upload-preview-img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}


input::-webkit-input-placeholder {  /* WebKit browsers*/
  color: #999 !important;
}
input:-moz-input-placeholder {   /* Mozilla Firefox 4 to 18*/
  color: #999 !important;
}
input::-moz-input-placeholder {  /* Mozilla Firefox 19+*/
  color: #999 !important;
}
input:-ms-input-placeholder { /* Internet Explorer 10+*/
  color: #999 !important;
}

.mr10{
  margin-right: 10px;
}

.modal-footer .btn{
  border-radius: 32px;
  cursor: pointer;
  padding: 0 16px;
}

.text-muted{
  padding-top: 10px;
}

.text-muted.tc{
  text-align: center;
}

.goods-pic {
  margin: 0 auto;
  width: 3rem;
  height: 3rem;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.badge {
  /* border-radius: 1.25rem; */
  border: 1px solid #E3E2E8;
  /* padding: 6px; */
  color: #333333;
  /* width: 14rem; */
  color:#fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* .badge-info {
  background: #FFF;
} */

td.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis p {
  text-overflow: ellipsis;
  overflow: hidden;
  border: 1px solid #E3E2E8;
  border-radius: 15px;
  padding: 0 14px;
  box-sizing: border-box;
}


/* m-tag */
.m-tag{
  display: inline-block;
  padding:1px 7px;
  border-radius: 32px;
  font-size: 12px;
}

.m-tag.success{
  color:#32C325;
  background: #E8F9E8;
}

.m-tag.success{
  color:#32C325;
  background: #E8F9E8;
}

.m-tag.primary{
  color:#3678F2;
  background: #EBF3FF;
}

.m-tag.error{
  color:#FA9D30;
  background: #FEECE4;
}

.m-layout-fd .pagination{
  padding: 5px 0 !important;
}

.m-layout-fd .text-muted{
  padding: 5px 0;
}


.m-goods{
  display: flex;
  padding: 18px 0;
}

.m-goods .img{
  width: 68px;
  height: 68px;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: center;
  /* background-color: #000; */
  -webkit-background-size: cover;
  background-size: cover;
}

.m-goods .txt{
  flex:1;
  overflow: hidden;
  margin-left: 10px;
  text-align: left;
}

.m-goods .txt h3{
  font-size: 14px;
  color:#333;
  line-height: 22px;
  height: 44px;
  display: -webkit-box;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow: hidden;
}


.m-goods .tag{
  padding-top: 8px;
  color:#999;
  font-size: 12px;
}

.m-goods2 .txt h3{
  font-size: 12px;
  line-height: 18px;
  height: 36px;
  color:#3678F2;
}

.m-goods2 .tag{
  padding-top: 0;
}


.m-goods .tag em{
  margin-right: 10px;
  font-style: normal;
}

.m-table-action .btn{
  font-size: 12px;
  cursor: pointer;
  line-height: 14px;
  height: 14px;
}

.m-table-action .dropdown-toggle::after{
  margin-top: 1px !important;
  border-color:#3678F2 !important;
}

.m-table-action .dropdown-menu{
  left: auto;
  right: 0;
  border-radius: 9px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12);
}

.m-table-list.goods tr:not(.hd):hover{
  background: #f4f7ff;
}

.m-table-list.goods tr:not(.hd) td{
  font-size: 14px;
}

.m-table-list.goods tr .action{
  font-size: 12px !important;
}

.m-table-list.goods tr:not(.hd):hover .m-goods-edit:after{
  opacity: 1;
}

.m-goods-edit{
  position: relative;
  padding-right: 25px;
  color:#333;
}

.m-goods-edit:after{
  content:"";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 20px;
  height: 20px;
  background: url('../../images/edit-icon.png') no-repeat center;
  cursor: pointer;
  opacity: 0;
  transition: .3s all;
}

.m-goods-pop .modal-header{
  border-bottom: 0;
}

.m-goods-pop .modal-dialog{
  border-radius: 8px;
  overflow: hidden;
}

.m-goods-pop .modal-content{
  padding: 0 9px;
}

.m-pop-title{
  font-size: 16px;
  font-weight: bold;
  color:#333;
}

.pop-btn{
  text-align: right;
}

.pop-btn .btn{
  margin-left: 12px;
  padding: 0 16px;
  min-width: 60px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 32px;
}

.m-goods-pop-attr{
  padding-top: 6px;
  text-align: left;
}

.m-goods-pop .table,
.m-goods-pop th,
.m-goods-pop td{
  border:0 !important;
}


.m-search-select .dropdown-toggle{
  padding: 0 14px;
  width: 100%;
  border-radius: 8px;
  background: #f0f2f5;
  border-color:#f0f2f5;
  color:#333;
  height: 32px;
  line-height: 32px;
}

.m-search-select:hover .dropdown-toggle{
    border-color: #216bef;
    background: #fff;
}

.m-search-select .dropdown-toggle:after{
  position: relative;
  left: 8px;
  border-color:#222 !important;
}

/* 订单 */
.m-order-hd{
  text-align: left;
  display: flex;
  color:#333;
  font-size: 14px;
}

.m-order-hd .name{
  color:#3678F2;
}

.m-order-toggle{
  position: relative;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.m-order-toggle img{
  display: block;
  width: 100%;
  height: 100%;
}

.m-order-toggle .img2{
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.m-table-list.order.on .m-order-toggle .img2{
  opacity: 1;
}


.m-table-list.order:hover{
  background: #F0F6FF;
}

.m-table-list.order .m-goods{
  padding: 8px 10px 8px 0;
}

.por{
  position: relative;
}

.m-order-fd{
  text-align: left;
  padding:0 5%;
}

.m-order-m .badge{
  margin:4px 0;
}


.order .m-goods2{
  display: none;
}

.order.on .m-goods2{
  display: flex;
}
.order .m-goods2:first-of-type{
  display: flex;
}



/* .on .m-goods2{} */

/* .por .m-order-m{
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
} */

/* 商品详情选项卡 */
/* .m-subnav-tit{
  font-size: 14px;
  font-weight: bold;
  color:#333;
}

.m-subnav-con{
  padding:20px 0 0 30px;
}

.m-subNav{
  margin-bottom: 18px;
  border-bottom: 1px solid #F0F2F5;
  height: 44px;
  overflow: hidden;
}

.m-subNav .item{
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.m-subNav .item a{
  display: block;
  width: 100px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  overflow: hidden;
  background: #F0F2F5;
  border-radius: 5px 5px 0px 0px;
  border: 1px solid #F0F2F5;
  font-size: 14px;
  color:#666;
}

.m-subNav .active a{
  background: #fff;
  color:#3678F2;
  font-weight: bold;
}

.createCat{
  display: inline-block;
  margin-left: 10px;
  text-align: center;
  width: 74px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  font-size: 12px;
  color:#262626;
}

span.createCat{
  border-color:#fff;
}

.attr-item{
  position: relative;
  display: inline-block;
  min-width: 74px;
  padding: 0 24px 0 12px;
  height: 34px;
  line-height: 34px;
  border:1px solid #D9D9D9;
  border-radius: 8px;
}

.attr-item-first{
  background: #fff;
}

.attr-item a{
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: #F83A31 !important;
  border-radius: 50%;
  overflow: hidden;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center;
  font-weight: normal !important;
}

.attr-item .attr-name{
  padding: 0 !important;
}

.attr-group{
  border-radius:8px ;
} */

/* 商品分类 */
.m-table-list.cat th,
.m-table-list.cat td{
  text-align: left !important;
}


.catImgTxt{
  display: flex;
}

.catImgTxt .img{
  margin-right: 8px;
  width: 30px;
  height: 30px;
}

.catImgTxt .img img{
  border-radius: 2px;
  width: 100%;
  height: 100%;
}

.catImgTxt .txt{
  flex:1;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size: 14px;
  color:#3678F2;
}

.table.tableTwo,
.table.tableThree {
  display: none;
}

.m-orderdetail-box{
  overflow: hidden;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
}

.m-orderdetail-hd{
  display: flex;
}

.m-orderdetail-hd .price h3{
  padding-bottom: 10px;
  color: rgba(0,0,0,0.45);
  font-size: 14px;
}

.m-orderdetail-hd .price strong{
  color: rgba(0,0,0,0.85);
  font-size: 20px;
}

.m-orderdetail-hd .m-orderdetail-list{
  flex:1;
  overflow: hidden;
}

.m-orderdetail-hd .price{
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.m-orderdetail-list{
  display: flex;
  flex-wrap: wrap;
  color: rgba(0,0,0,0.85);
  line-height: 22px;
}

.m-orderdetail-list .item{
  width: 33.33%;

}

.m-orderdetail-list .item .txt{
  display: flex;
  padding: 5px;
}


.m-orderdetail-list .item .let{
  width: 100px;
  text-align: right;
  overflow: hidden;
}

.m-orderdetail-list .item .rig{
  overflow: hidden;
  flex:1;
  padding-left: 10px;
}

.m-orderstatus-list{
  display: flex;
  position: relative;
}

.m-orderstatus-list li{
  position: relative;
  flex:1;
  /* overflow: hidden; */
}

.m-orderstatus-list .icon{
  position: relative;
  z-index: 3;
  margin:0 auto;
  width:14px;
  height:14px;
  border-radius: 50%;
  border:4px solid #fff;
  background: #BFBFBF;
}

.m-orderstatus-list .hover .icon{
  background: #1890FF;
}

.m-orderstatus-list h3{
  padding: 16px 0 12px;
}

.m-orderstatus-list h3,
.m-orderstatus-list .time{
  color: rgba(0,0,0,0.45);
  font-size: 14px;
}

.m-orderstatus-list .hover h3{
  color: rgba(0,0,0,0.85);
  font-size: 14px;
}

.m-orderstatus-list li:after{
  content:"";
  position: absolute;
  /* left: 0; */
  left: 50%;
  width: 100%;
  top: 6px;
  height: 2px;
  background: #e9e9e9;
}

.m-orderstatus-list li:last-of-type:after{
  width: 0;
}

.m-orderstatus-list li.hover:after{
  background: #1890FF;
}

/* 临时样式 */
.alert-info{
  margin:10px;
}

.nav-tabs,
.mobile-box{
  margin:0 10px;
}


#bargain{
  margin:0 0.5%;
}



.upload-preview img[src=""],
.upload-preview img:not([src]) {
  opacity: 0;
}
/* /web/cyy/mch/images/default.png */
.upload-preview{
  background: url('/web/cyy/mch/images/default.png') no-repeat !important;
  -webkit-background-size: cover !important;
  background-size: cover !important;
}
