/****
	用途：自定义样式
	创建时间：2018-05-29
****/

/***常用样式***/


.b-l {
    border-left: 1px solid #e7eaec;
}

.b {
    width: 100%;
    height: 1px;
    padding: 0;
    margin: 20px 0;
    border-bottom: 1px dashed #ccc;
}

.tips {
    height: 34px;
    line-height: 34px;
}

.pay_price {
    font-family: fantasy;
    font-size: 18px;
    color: red;
}

.hand{cursor: pointer;}

/**颜色**/
.ac-color-red {
    color: red
}

.ac-color-blue {
    color: blue
}

.ac-color-green {
    color: green
}

.ac-color-black {
    color: black
}

.ac-color-orange {
    color: #FFA500 !important
}

.ac-color-disabled {
    color: #C2C2C2
}

/**按钮**/
.btn {
    margin-right: 5px;
}

.btn:last-child {
    margin-right: 0;
}

.btn-disabled,
.btn-disabled:active,
.btn-disabled:hover {
    border-color: #BDBDBD !important;
    background-color: #BDBDBD !important;
    color: #FFFFFF !important;
    cursor: not-allowed !important;
    opacity: 1;
}

/**padding**/
.ac-pt-35 {
    padding-top: 35px
}

.ac-pl-10 {
    padding-left: 10px
}

.ac-pr-10 {
    padding-right: 10px
}

.ac-pb-10 {
    padding-bottom: 10px
}

/**margin**/
.ac-mt-10 {
    margin-top: 10px
}

.ac-mr-10 {
    margin-right: 10px
}

.ac-ml-10 {
    margin-left: 10px
}

.ac-mb-10 {
    margin-bottom: 10px
}

/***后台自带样式的修改***/
.form-group {
    position: relative
}

.form-group label.error {
    position: absolute;
    top: 9px;
    right: 25px
}

.form-group label.error i {
    display: none
}

.form-control.error {
    border: 1px solid #cc5965
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
    color: #676A6C;
    font-weight:initial;
}

.searchForm {
    overflow: hidden;
    margin-left: 30px;
}

#queryform {
    display: flex;
}

.queryform {
    display:flex;
}

.search-formbox{border-bottom: 10px solid #dcdcdc;}
.search-formbox .actionbox{padding: 0;}
.search-formbox .searchbox-left{padding:0;}
.search-formbox .searchbox-right{padding:0;}
.search-formbox .queryforms{display: flex;flex-wrap: wrap; justify-content: flex-start;padding: 10px 0;}
.search-formbox .search-item{width: 150px;margin: 0 10px 10px 0;}
.search-formbox .search-date-range{display: flex; justify-content:center; margin: 0 10px 10px 0;}
.search-formbox .search-date-range .search-label{width:90px;}
.search-formbox .search-date-range .search-date{width: 160px;}
.search-formbox .search-date-range .search-date-interval{display:block; width:10px;height:34px;line-height:34px;text-align:center; background:#EEE;}
.search-formbox .search-atn{display: flex;justify-content:flex-end; margin-bottom: 10px; flex-grow: 1;/*padding: 10px 0;*/}

.queryform {
    display: flex;
    flex-wrap: wrap;
}



#queryform select {
    margin-right: 10px;
    min-width: 100px !important;
}

.search_input {
    width: 200px !important;
    float: left;
    margin-right: 10px;
}

.search_input_long {
    width: 300px !important;
    float: left;
    margin-right: 10px;
}

/*表格头部底色*/
#btTable thead {
    /* background: #b9bdbf; */
    background: #8e91b8;
    color: #fff;
}

thead,
thead tr,
.btTable thead {
    /* background: #b9bdbf; */
    background: #8e91b8 !important;
    color: #fff !important;
}

.myTable thead {
     /* background: #b9bdbf; */
    background: #8e91b8;
    color: #fff;
}
.layui-laydate-content th{
    background: #fff !important;
}


/***后台页面的自定义样式***/

/**system_category页面的样式**/

/*add*/
.star-sign {
    display: inline-block;
    margin-right: 5px;
    font-size: 15px;
    color: red;
    vertiacl-align: middle
}

.check-redio {
    left: 90%;
    top: 15%;
    width: 90%;
    height: 90%;
}



/*商品添加*/
/*开关按钮*/
.onoff {
    font-size: 0;
    position: relative;
    overflow: hidden;
    display: block;
}

.onoff .cb-enable {
    border-width: 1px 0 1px 1px;
    border-radius: 4px 0 0 4px;
}

.onoff .cb-enable.selected {
    color: #FFF;
    background-color: #1BBC9D;
    border-color: #16A086;
}

.onoff .cb-disable.selected {
    color: #FFF;
    background-color: #96A6A6;
    border-color: #808B8D;
}

.onoff .cb-enable,
.onoff .cb-disable {
    color: #777;
    font-size: 12px;
    line-height: 20px;
    background-color: #ECF0F1;
    height: 20px;
    padding: 1px 9px;
    border: 1px solid #BEC3C7;

}

.onoff label {
    vertical-align: top;
    display: inline-block;
    cursor: pointer;
    font-weight: normal;
}

.onoff input[type="radio"] {
    position: absolute;
    top: 0;
    left: -999px;
}

.freight_template {
    font-size: 14px;
    display: inline-block;
    padding: 0px 10px;
}

/*上传图片*/
.input-file-show {
    background-color: rgb(255, 255, 255);
    vertical-align: top;
    display: inline-block;
    padding-left: 6px;
    position: relative;
    z-index: 1;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(215, 215, 215);
    border-image: initial;
    border-radius: 1px;
    width: 800px;
}

.input-file-show span.show {
    width: 22px;
    height: 22px;
    text-align: center;
    position: absolute;
    z-index: 2;
    top: 3px;
    left: 0px;
    padding: 2px;
}

.type-file-button,
.type-file-button:focus {
    background-color: rgb(230, 230, 230);
    display: block;
    width: 99px;
    height: 30px;
    float: left !important;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    border-radius: 0px 3px 3px 0px;
}

.input-file-show input[type="text"] {
    line-height: 20px;
    white-space: nowrap;
    display: inline-block;
    height: 20px;
    cursor: text;
    overflow: hidden;
}

.type-file-text {
    line-height: 30px !important;
    display: block;
    width: 693px;
    height: 30px !important;
    float: left !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none 0 !important;
    border-radius: 0 !important;
}

.type-file-file {
    width: 150px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    filter: alpha(opacity:0);
    opacity: 0;
    cursor: pointer;
}


.type-file-file-header {
    width: 110px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    filter: alpha(opacity:0);
    opacity: 0;
    cursor: pointer;
    z-index: 9999;
}

/*单选框点击 用透明层解决*/
.relative {
    position: relative;
}

.opacity-div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: orange;
    opacity: 0
}

.pagination li span {
    padding: 6px 12px;
    line-height: 1.428571429;
}

.tagitem {
    display: block;
    background-color: #2c8f7b;
    padding: 5px 10px;
    border-radius: 5px;
    float: left;
    margin-right: 15px;
    margin-top: 15px;
    color: #fff;
    position: relative;


}

.tagitem i {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #ff4400;
    font-size: 18px;
    cursor: pointer;
}

.lzuploadimg {
    width: 120px;
    height: 120px;
    border: 1px dashed #ddd;
    text-align: center;
    line-height: 120px;
    margin-right: 15px;
    float: left;
    cursor: pointer;
    position: relative;
    text-align: center;
}

.lzuploadimg img {
    max-width: 115px;
    max-height: 113px;
}

.lzuploadimg i {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #ff4400;
    font-size: 18px;
}


.lzuploadimg2,
.lzuploadimg3 {
    width: 150px;
    height: 150px;
    border: 1px dashed #ddd;
    text-align: center;
    line-height: 120px;
    margin-right: 15px;
    float: left;
    cursor: pointer;
    position: relative;
    text-align: center;
}

.lzuploadimg2 img {
    width: 146px;
    height: 146px;
}

.lzuploadimg3 img {
    max-width: 146px;
    height: 146px;
}

.lzuploadimg i {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #ff4400;
    font-size: 18px;
}

/*素材管理*/
.scmanage {
    margin-bottom: 0;
}

.scmanage label {
    padding-top: 0;
}

.scmanage label p {
    padding: 5px 25px;
    min-width: 90px;
}

.scmanage .row {
    height: 180px;
}

.scmanage .row .quanxian {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 3%;
    height: 100%;
}

.scmanage .row .quanxian .quan {
    background-color: #c2c2c2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.scmanage .row .quanxian .xian {
    background-color: #c2c2c2;
    width: 2px;
    height: 100%;
}

.scmanage:last-child .row .quanxian .xian {
    background-color: unset;
}


.fa-close {
    color: #ff4400;
    font-size: 20px;
}

.padding-lr0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}



/*客户管理 右侧伸缩页面*/
.customershow {
    position: fixed;
    width: 1200px;
    height: 805px;
    background-color: #fff;
    right: -1200px;
    bottom: 0;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    box-shadow: 0 0 10px #ddd;
    transition: .3s;
}

.show {
    right: 0;
}

.el-card__body {
    padding: 0;
    height: 100%;
    width: 100%;
}

.customershow .cus-top {
    position: relative;
    padding: 10px 17px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customershow .cus-top .top-left img {
    width: 35px;
    height: 35px;
}

.customershow .cus-top .top-left span {
    margin-left: 10px;
}

.customershow .fa-close-top {
    font-size: 30px;
}

.customershow .cus-info {
    padding: 8px 17px 15px;
    min-height: 58px;
    display: flex;
}

.customershow .info-item {
    width: 130px;
}

.customershow .info-item .info-title {
    color: #777;
    font-size: 12px;
}

.customershow .info-item .info-value {
    color: #333;
    margin-top: 8px;
}

.panel-body {
    overflow-y: auto;
    overflow-x: hidden;
    height: 625px;
}

.formtitle {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.control-label-me {
    padding-right: 0;
}

.tagitem {
    margin-top: 7px;
    padding: 3px 8px;
}

.tagitem span {
    font-size: 12px;
}

.myTable tbody tr {
    height: 45px !important;
}

.myTable thead tr {
    height: 37px !important;
}

.customer {
    padding: 0 20px;
    display: flex;
    margin-left: 72px;
}

.customer .left {
    width: 70%;
}

.customer img {
    max-width: 250px;
    max-height: 250px;
}

.margin-r-10 {
    margin-right: 10px;
}

.bootstrap-switch.bootstrap-switch-focused {
    box-shadow: none;
}

.flex-box{display:flex; align-items: left;}
.flex-box-wrap{display: flex; flex-wrap: wrap; align-items: left;}
.unit span{display:block; margin-left: 10px; line-height: 34px;}

.tips i{color: #CCCCCC;}
.tips .info{display:none;}

.askbox{
    width: fit-content;
    position: relative;
}
.askimg{
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.askitem{
    display: none;
    width: 250px;
    height: auto;
    padding: 10px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
}
.asksan{
    border: 1px solid rgba(0, 0, 0, 0.6);
    height: 0;
    width: 0;
    border-left: 8px solid rgba(0,0,0,0);
    border-right: 8px solid rgba(0, 0, 0, 0);
    border-top: 8px solid rgba(0, 0, 0, 0);
    border-bottom: 8px solid rgba(0, 0, 0, 0.6);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}
input[type='number'] {
    -moz-appearance: textfield;
}

.form-control[disabled],
.form-control[readonly],
.btn-default.disabled,
.btn-default.disabled:hover,
.btn-default.disabled:focus{
    background-color: #eee;
    opacity: 1;
    color: #666;
    border: 1px solid #e5e6e7;
}