
html,
body {
    width: 100%;
    height: 100%;
}
.detaile-wrapper {
    width: 100%;
    min-width: 1256px;
    max-width: 1920px;
    min-height: 100%;
    margin: 0 auto;
    background: #F7F7F7;
    color: #333333;
    font-size: 12px;
    position: relative;
}
.main{
    padding-bottom: 30px;
}

.clearfix::after {
    display: block;
    content: "";
    clear: both;
}


.detail-header-wrapper {
    padding: 0;
    width: 100%;
    background: #fff;
    color: #333;
}


.user-info-wrapper {
    width: 100%;
    border-bottom: 1px solid rgba(216, 216, 216, 1);
    line-height: 30px;
    background: #ffffff;
}

.tm-user-info-container {
    width: 1256px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.tm-user-info-left {
    float: left;
}

.tm-user-info-right {
    float: right;
}

.tm-user-info-container ul {
    overflow: hidden;
}

.tm-user-info-container ul li {
    float: left;
    margin-right: 15px;
    color: #909399;
    font-size: 14px;
    cursor: pointer;
    font-size: 12px;
    color: #555555;
    box-sizing: border-box;
}
.el-dropdown{
    font-size: 12px;
}


/*商品详情*/

.p-detaile-wrapper {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 32px;
    box-sizing: border-box;
    padding:0 15px;

}
.p-detaile-box{
    width:100%;
    position:relative;
    padding-right:350px
}
.p-detaile-container {
    width: 100%;
    background:#FFFFFF;
    padding:24px;
}

.p-detaile-container .p-left {
    float: left;
    width: 350px;
    margin-right: 30px;
}

.p-detaile-container .p-left .p-left-top {
    width: 100%;
    height: 350px;
    background: rgba(247, 247, 247, 1);
    text-align: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.p-detaile-container .p-left .p-left-top img {
    width: 100%;
    height: 100%;
}

.p-detaile-container .p-left .p-left-bottom li {
    float: left;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    text-align: center;
    margin-right: 8px;
    overflow: hidden;
    cursor: pointer;
}

.p-detaile-container .p-left .p-left-bottom li:last-child {
    margin-right: 0;
}

.p-detaile-container .p-left .p-left-bottom li img {
    width: 100%;
    height: 100%;
}

.p-detaile-container .p-left .p-left-bottom li.activity {
    border-color: #D01126;
}

.p-detaile-container .p-right {
    float: left;
    width: 442px;
}

.p-right .p-right-title {
    font-size: 24px;
    font-weight: 600;
    color: rgba(51, 51, 51, 1);
    line-height: 33px;
    margin-bottom: 12px;
}

.p-right .el-form-item__label {
    /*color: #999999;*/
    font-size: 14px;
    padding-right:0;
}

.p-right .sell-price {
    font-size: 22px;
    font-weight: 500;
    color: #D01126;
}

.el-form-item {
    margin-bottom: 0px;
    padding:0px;
}
.el-form-item__content{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.add-shop-btn {
    width: 140px;
    height: 40px;
    margin-top: 24px;
}

.consult {
    background: #fff !important;
    color: #D01126 !important;
    border: 1px #D01126 solid !important;
    font-weight: 400 !important;
}

.consult-dialog {
    width: 940px;
}

.consult-dialog .el-dialog__header {
    padding: 0px 0px 0px !important;
}
.consult-dialog .el-dialog__header .el-dialog__headerbtn {
    margin-top: -13px;
}
.consult-dialog .title {
    width: 90px;
    height: 22px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.consult-dialog .title .vertical-bar {
    width: 6px;
    height: 22px;
    background: #D01126;
    border-radius: 3px;
}
.consult-dialog .title .font {
    width: 84px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #D01126;
}

.consult-dialog .consult-form {
    width: 900px;
    height: 505px;
}

.consult-dialog .consult-form .el-form-item__label {
    color: #606266 !important;
}

.consult-dialog .consult-form .el-input.is-disabled .el-input__inner {
    color: #606266 !important;
}


.consult-dialog .consult-form .el-row {
    margin-bottom: 20px;
}

.consult-dialog .consult-form .el-row .submit {
    width: 100px;
    height: 40px;
}

.consult-dialog .consult-form .el-row-height {
    height: 40px;
}



.consult-dialog .consult-form .el-row .textareaSty {
    width: 800px;
    height: 175px;
    border: 1px #E4E7ED solid;
    word-wrap: break-word; /* 允许在长单词或URL地址内部进行换行 */
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.consult-dialog .consult-form .el-row .textareaSty textarea {
    width: 798px;
    height: 175px;
    line-height: 20px !important;
    word-wrap: break-word; /* 允许在长单词或URL地址内部进行换行 */
    overflow-y: auto;
    cursor: pointer;
    padding: 10px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    outline-color: #E4E7ED;
}


/*-----------------------------------------------好看的滚动条样式 START-----------------------------------------------*/
/*滚动条样式*/
.consult-dialog .consult-form .el-row .textareaSty textarea::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
.consult-dialog .consult-form .el-row .textareaSty textarea::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);
    border-radius: 10px;
}

/* Handle */
.consult-dialog .consult-form .el-row .textareaSty textarea::-webkit-scrollbar-thumb {
    background: rgba(201, 201, 202, 0.5);
    border-radius: 10px;
}

/* Handle on hover */
.consult-dialog .consult-form .el-row .textareaSty textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 201, 202, 0.5);
    border-radius: 10px;
}
/*-----------------------------------------------好看的滚动条样式 END-----------------------------------------------*/

.consult-dialog .consult-form .el-row .textareaSty .modal-overlay {
    width: 800px;
    height: 220px;
    overflow: auto;
}

/*-----------------------------------------------好看的滚动条样式 START-----------------------------------------------*/
/*滚动条样式*/
.consult-dialog .consult-form .el-row .textareaSty .modal-overlay::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Track */
.consult-dialog .consult-form .el-row .textareaSty .modal-overlay::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);
    border-radius: 12px;
}

/* Handle */
.consult-dialog .consult-form .el-row .textareaSty .modal-overlay::-webkit-scrollbar-thumb {
    background: rgba(201, 201, 202, 0.5);
    border-radius: 12px;
}

/* Handle on hover */
.consult-dialog .consult-form .el-row .textareaSty .modal-overlay::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 201, 202, 0.5);
    border-radius: 12px;
}
/*-----------------------------------------------好看的滚动条样式 END-----------------------------------------------*/

.consult-dialog .consult-form .el-row .textareaSty .modal-overlay .img-content {
    width: 266px;
    height: 100px;
    float: left;
    cursor: pointer;
    position: relative;
}

.consult-dialog .consult-form .el-row .textareaSty .modal-overlay .grayscale {
    opacity: 0.5;
    z-index: 2;
}

.consult-dialog .consult-form .el-row .textareaSty .modal-overlay .img-content .el-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.consult-dialog .consult-form .el-row .upload-file {
    width: 890px;
}

.consult-dialog .consult-form .el-row .upload-file .button-title {
    width: 890px;
    height: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;

}

.consult-dialog .consult-form .el-row .upload-file .button-title .reserve-seat {
    width: 90px;
}

.consult-dialog .consult-form .el-row .upload-file .button-title .add {
    width: 100px;
    height: 40px;
    background: #fff !important;
    color: #D01126 !important;
    border: 1px #D01126 solid !important;
    font-weight: 400 !important;
}

.consult-dialog .consult-form .el-row .upload-file .button-title .desc {
    width: 700px;
    height: 40px;
    line-height: 40px;
    color: #BEBEBE;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}

.consult-dialog .consult-form .el-row .upload-file .file-list {
    width: 800px;
    height: 80px;
    padding: 10px 10px;
    margin-left: 90px;
}

.consult-dialog .consult-form .el-row .upload-file .file-list .item {
    width: 115px;
    height: 30px;
    float: left;
    margin-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.consult-dialog .consult-form .el-row .upload-file .file-list .item .icon {
    width: 20px;
    height: 13px;
    display: flex;
    justify-content: center;
}

.consult-dialog .consult-form .el-row .upload-file .file-list .item .name {
    width: 95px;
    height: 20px;
    line-height: 20px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.consult-dialog .consult-form .el-row .upload-file .file-list .item .grayscale {
    opacity: 0.5;
    z-index: 2;
}

.consult-dialog .consult-form .el-row .upload-file .file-list .item .name .del {
    width: 95px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    background: #606266;
    color: #fff;
}

.consult-dialog .consult-form .el-row .el-form-item__error {
    position: relative !important;
    font-size: 14px !important;
}


/*-----------------------------------------------添加联系方式 START-----------------------------------------------*/

.contact-dialog {
    width: 940px;
}

.contact-dialog .el-dialog__header {
    padding: 0px 0px 0px !important;
}
.contact-dialog .el-dialog__header .el-dialog__headerbtn {
    margin-top: -13px;
}
.contact-dialog .title {
    width: 90px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-dialog .contact-form {
    width: 900px;
    height: 260px;
}

.contact-dialog .contact-form .el-row {
    margin-bottom: 20px;
}

.contact-dialog .contact-form .el-row .el-form-item__error {
    position: relative !important;
    font-size: 14px !important;
}

/*-----------------------------------------------添加联系方式 END-----------------------------------------------*/
.el-tabs__content{
    padding:28px !important;
}
.el-tabs__content img {
    max-width: 100%;
}


.detail-comment-wrapper,.related-product-content {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
    margin-bottom: 24px;
}

/*.detail-comment-left {
    float: left;
    width: 300px;
    padding: 0 24px;
    box-sizing: border-box;
    background: #fff;
}*/

.detail-comment-left-title {
    height: 48px;
    border-bottom: 1px solid #D8D8D8;
    line-height: 48px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 24px;
}

.detail-comment-left dl {
    margin-bottom: 24px;
}

.detail-comment-left dl dt {
    width: 100%;
    height: 252px;
    background: #F7F7F7;
    margin-bottom: 12px;
}

.detail-comment-left dl dt img {
    width: 100%;
    height: 100%;
}

.detail-comment-left dl dd.name {
    width: 100%;
    line-height: 20px;
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
}

.detail-comment-left dl dd.price {
    width: 100%;
    line-height: 25px;
    font-size: 18px;
    color: #D01126;
}

.detail-comment-right {
}

/*.detail-comment-right {
    width: 890px;
}*/

.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
    background-color: #D01126;
    color: #FFFFFF;
}

.el-tabs__item.is-active:hover {
    color: #fff !important;
}

.el-tabs--border-card>.el-tabs__header {
    border-bottom-color: #D01126;
    background-color: #ffffff;
}


/*元素周期表*/
.element-table-dialog .el-dialog__body {
    padding-top: 10px;
}

.element-table-dialog .element-title {
    text-align: center;
}

.element-table-dialog .element-title h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 56px;
    color: #333333;
}

.element-table-dialog .element-title span {
    font-size: 14px;
    line-height: 20px;
}

.element-table-dialog .element-container table {
    margin: 0 auto;
}

.element-table-dialog .element-container .element-item {
    position: relative;
    float: left;
    margin-right: -1px;
    margin-bottom: -1px;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    padding: 2px;
    border: 1px solid #E0E0E0;
    box-sizing: border-box;
}

.element-table-dialog .element-container .element-item .item-top {
    line-height: 14px;
    margin-bottom: 4px;
}

.element-table-dialog .element-container .element-item .item-top .e_id {
    float: left;
    font-size: 12px;
}

.element-table-dialog .element-container .element-item .item-top .symbol {
    float: right;
    font-size: 12px;
}

.element-table-dialog .element-container .element-item .name {
    display: inline-block;
    font-size: 20px;
    font-weight: 400;
}

.element-table-dialog .element-container .element-item.activity {
    background: #D01126;
    color: #ffffff;
}

.element-table-dialog .element-container .element-item.activity1 {
    background: #D01126;
    color: #ffffff;
}

.element-table-dialog .element-container .td_2 {
    margin-left: 784px;
}

.element-table-dialog .element-container .td_5,
.element-table-dialog .element-container .td_13 {
    margin-left: 490px;
}

/*面包屑*/
.tm-breadcrumb-wrapper {
    width: 1256px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.tm-breadcrumb-wrapper .el-breadcrumb {
    /*height: 20px;*/
    /*line-height: 20px;*/
    margin: 10px 0;
    line-height: 1.5;
    word-break: break-all;
}

.el-breadcrumb__item {
    font-weight: normal;
    color: #606266;
    font-size: 14px;
    cursor: pointer;
    float: none;
}
/* 详细信息里的表格 */
.layui-table{
    width:100%;
    color:#666;
    border-collapse: collapse;
    border-spacing: 0;
}

.layui-table thead tr{
    background-color:#f2f2f2
}
.layui-table th{
    font-weight:600;
}
.layui-table td,.layui-table th{
    padding:12px 10px;
    min-height:20px;
    line-height:20px;
    font-size:14px;
    text-align:left;
    border: 1px solid #ccc;
    min-width: 105px;
}
/*相关产品推荐*/
.card-header-left{
    color:#333333;
}
.related-product-content{
    display:flex;
    justify-content:space-between;
    overflow: hidden;
    margin-bottom: 20px;
}
.related-product-content .related-item{
    float:left;
    width:390px;
    background: #FFFFFF;
    padding:0 24px;
    margin-right:24px;
}

.related-product-content .related-item ul{
    border-top:1px solid #D8D8D8;
    padding-top:20px;
}
.related-product-content .related-item:last-child{
    margin-right:0;
    float:right;
}
.related-product-content .related-item li{
    position:relative;
    padding-left:16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom:20px;
}
.related-product-content .related-item li:before{
    content: "";
    width: 6px;
    height: 6px;
    background: #333333;
    border-radius: 1px;
    display:inline-block;
    vertical-align: middle;
    position:absolute;
    left:0;
    top:6px;
}
.related-product-content .related-item .name{
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 22px;
}
.related-product-content .related-item p{
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    line-height: 20px;
    font-family:none;
    margin-top:10px;
}
/*最新产品和常见问题*/
.p-news-container{
    width:330px;
    position:absolute;
    right:0;
    top:0;
    bottom:0;
    padding-bottom:233px;
}
.p-news-container .newest{
    height:100%;
    overflow-y: auto;
}
.p-news-container .problem{
    position:absolute;
    width:100%;
    bottom:0;
    left:0;
}
.p-news-container .newest,.p-news-container .problem{
    padding: 0 20px;
    background:#FFFFFF;
}
.p-news-container .my-card-header{
    border-bottom:1px solid #D8D8D8;
}
.p-news-container .my-card-header .card-header-left{
    font-size: 18px;
    font-weight: 500;
    color: #333333;
}
.p-news-container .my-card-header .card-header-left::before{
    height:18px
}

.newest-ul, .problem-ul{
    padding:10px 0;
}
.problem-ul{
    height:180px;
    overflow-y:auto;
}
.newest-ul li,.problem-ul li{
    height:32px;
    line-height:32px;
    font-size: 12px;
    color: #333333;
}
.problem-ul li{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position:relative;
    padding-right:126px;
}
.problem-ul li span{
    position:absolute;
    right:0;
    text-align:right;
}
.problem-ul li:before{
    content: "";
    width: 4px;
    height: 4px;
    background: #D01126;
    margin-right: 14px;
    display:inline-block;
    vertical-align: middle;
}
.problem-ul li a{
    vertical-align: middle;
}
.newest-ul li .name{
    float:left;
    width:62%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.newest-ul li .code{
    float:right;
    width:30%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align:right;
}
/*收藏按钮*/
.el-button.collect-btn{
    color: #606266;
    border-color: #DCDFE6;
    border:none;
}
.el-button.collect-btn:focus, .el-button.collect-btn:hover{
    color: #606266;
    border-color:#DCDFE6;
    background-color: #FFF;
}
.el-button.collect-btn:hover{
    color: #F59A23;
}
.el-button.collect-btn.active{
    color:#F59A23;
    border-color:#F59A23;
}
.el-button.collect-btn.active:focus,el-button.collect-btn.active:hover{
    color: #F59A23;
    border-color:#F59A23;
}
.el-button.collect-btn i{
    font-size:18px;
    vertical-align: middle;
}
.el-button.collect-btn i.el-icon-star-on{
    font-size:20px;
}
.el-button.collect-btn span{
    vertical-align: middle;
    margin-left:0;
}
.el-radio-group{
    white-space: normal;
}
.el-radio{
    margin-bottom: 5px;
    margin-left: 0 !important;
}

@media (max-width: 1280px) {
    .detaile-wrapper,
    .tm-user-info-container,
    .detail-comment-wrapper,
    .related-product-content {
        width: 100% !important;
    }
    .related-product-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    .related-product-content .related-item {
        margin-bottom: 20px;
    }
}

@media (min-width: 1600px) {
    .detaile-wrapper,
    .tm-user-info-container,
    .detail-comment-wrapper,
    .related-product-content {
        width: 100%;
    }
    .related-product-content .related-item {
        width: 490px;
    }
}


