/*公共样式*/
.sch-errmsg {
    float: left;
    margin: 2px 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    display: none;
    padding: 2px 6px;
    color: #fff;
    border-radius: 3px;
    background-color: #f35101;
}
h4,
p,
.material-list,
.list-title,
.newsBreadcrumb,
.newslist_ul{
    padding: 0;
    margin: 0;
}
.f12{
    font-size: 12px;
}
a {
    text-decoration: none;
}
body .am-menu .navbar-nav li[data-navname=newslist]>a{ background-color: transparent; color: #fff; text-shadow: 0 0 8px #fff;}
/*newslist新闻应用页面*/
div {
    box-sizing: border-box;
}

.newslist,
.newsPage{
    height: auto;
    color: #333333;
}

/*标题分类样式*/
.newslist_ul {
    width: 100%;
    padding: 0px;
    margin-top: 20px;
    overflow: hidden;
}


.newslist_ul li {
    float: left;
    /*height: 38px;*/
    /*width: 150px;*/
    /*line-height: 38px;*/
    list-style-type: none;
    border: 1px solid #dddddd;
    text-align: center;
    border-radius: 4px;
    margin-right: 20px;
    overflow: hidden;
}

.newslist_ul li:hover {
    background-color: #0094d4;
}

.title-active {
    background-color: #0094D4;
    /*border-radius: 10px;*/
    /*height: 36px;*/
    /*width: 149px*/
}

.title-active a {
    color: #ffffff !important;

}

.newslist_ul li a {

    text-decoration: none;
    color: #333333;
    font-size: 16px;
    display: block;
    padding: 6px 14px;
}

.newslist_ul li a:hover {
    color: #ffffff;
}

/*内容样式*/
.newslist .article {
    /*height: 170px;*/
    padding: 20px 20px 20px 0;
    border-bottom: 1px dashed #dddddd;
    display: flex;
}

.article a{
    color: #333333;
    text-decoration: none;
    display: block;
}

.arti_img {
    width: 200px;
    height: 130px;
}

.arti_img img {
    width: 100%;
    height: 100%;
}

.arti_title {
    position: relative;
    margin-top: 2px;
    display: flex;
}

.arti_title h4 {
    font-size: 16px;
    margin: 0;
    padding: 0;
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 18px;
    flex: 1;
}

.arti_sort {
    background: red;
    color: #fff;
    font-size: 12px;
    height: 20px;
    line-height: 19px;
    width: 60px;
    text-align: center;
}

.arti_sort:hover {
    color: #ffffff;
    text-decoration: none;
}

.arti_sort::before {
    border-top: 5px solid transparent;
    border-left: 7px solid red;
    border-bottom: 5px solid transparent;
    bottom: 5px;
    content: "";
    height: 0;
    left: 66px;
    margin-left: -6px;
    position: absolute;
    width: 0
}

.arti_info {
    flex: 1;
    margin-left: 20px;
    overflow: hidden;
}

.arti_desc {
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 20px;
}

.arti_key {
    margin-top: 14px;
}

.arti_ftr {
    display: flex;
    justify-content: space-between;
}

.arti_ftr a {
    color: #333333;
}

.arti_ftr a:hover {
    text-decoration: none;
    color: #0094d4;
}

.arti_ftr,
.arti_key {
    color: #999999;
}

.news_banner {
    height: 270px;
    margin-top: 25px;
    background-color: #0a98d5;
}


/*右侧样式*/
#keyword {
    background: #f8f8f8;
    border-color: #f8f8f8;
    box-shadow: none;
}

#keybtn {
    background: #9b0707;
    border-color: #9b0707;
}

#keybtn:hover {
    z-index: 0;
}

.pubItem {
    margin-top: 20px;
}

.pubTitle {
    background: #f3f3f3;
    height: 36px;
    line-height: 36px;
}

.pubIcon {
    width: 4px;
    height: 18px;
    background: #9b0707;
    display: inline-block;
    vertical-align: -4px;
    margin-right: 7px;
}

.pubBox,
.product-wrap,
.list-switch {
    border: 1px solid #bfbfbf;
    padding: 8px 0;
    overflow: hidden;
}

.product-wrap table tr{
    border-bottom: 1px dashed #dddddd
}
.product-wrap table tr:last-child {
    /*border-left: none !important;*/
    /*border-right: none !important;*/
    border-bottom: none !important;
}

.list-wrap {
    padding: 8px 0;
    overflow: hidden;
}

.product-wrap table a{
    text-decoration: none;
    color: #333333;
}
.product-wrap table a:hover{
    color: #0094d4;
}

.pubBox a,
.hotbox div{
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #bfbfbf;
    color: #333333;
    text-decoration: none;
    border-radius: 4px;
    margin: 6px 4px;
}
.hotbox div {
    cursor: pointer;
}
.hotbox div:hover,
.pubBox a:hover {
    background: #9b0707;
    color: #ffffff;
}


/*一周热料和紧缺物料秒杀*/


.tab-switch {
    margin-top: 20px;
}

.tab-switch .material-list,
.list-switch .list-title {
    overflow: hidden;
}

.list-switch .list-title {
    position: relative;
    overflow: hidden;
    margin-left: 10%;
}

.tab-switch .material-list li {
    width: 50%;
    line-height: 36px;
    text-align: center;
    float: left;
    display: inline;
    background-color: #f3f3f3;
    cursor: pointer;
}

.tab-switch .material-listFr li {
    height: 36px;
    line-height: normal !important;
}

.list-switch .list-title li {
    width: 45%;
    line-height: 36px;
    text-align: center;
    float: left;
    display: inline;
    cursor: pointer;
}

.list-switch .list-title-fr li {
    line-height: 18px !important;
}

.tab-switch .material-list li.on {
    background-color: #9b0707;
    color: #ffffff;
}

.list-switch .list-title li.on {
    border-bottom-color: #9b0707;

}

.list-switch .list-title p {
    position: absolute;
    top: 33px;
    left: 0px;
    width: 45%;
    height: 7px;
    border-top: 3px solid #d70a30;
    overflow: hidden;
    text-align: center;
}

.product {
    position: relative;
    overflow: hidden;
    display: none;
}

.product-wrap .prod-show,
.list-wrap .list-show {
    display: block;
}

.product table {
    font-size: 12px;
}

.product table td,
.product table th {
    padding: 9px 4px;
}

.logo {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.logo a {
    list-style: none;
    width: 20%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    text-align: center;
    display: table;
}
.logo a {
    display: table-cell;
    vertical-align: middle;
}
/*.logo a {*/
/*    width: 20%;*/
/*    height: 40px;*/
/*    line-height: 40px;*/
/*    border-bottom: 1px solid #DDDDDD;*/
/*    border-right: 1px solid #DDDDDD;*/
/*    text-align: center;*/
/*}*/

.logo li:nth-child(5n) {
    border-right: none;
}
.logo a img {
    width: 44px;
}
.logo li:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1) inset;
}
.logoMore,
.logo{
    border: 1px solid #dddddd;
}
.logo{
    border-bottom: none !important;
}
.logoMore{
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-top: none !important;

}
.logoMore a {
    color: #666666;
    text-decoration: none;
}

.logoMore a:hover {
    color: #0a98d5;
}


.list-wrap ul li {
    list-style-type: disc;
    color: #666666;
    margin: 8px 0;
}

.list-wrap ul li a {
    color: #666666;
    text-decoration: none;
}

.list-wrap ul li:hover,
.list-wrap ul li a:hover {
    color: #9b0707;
}

/*关于我们*/
.follow {
    width: 80%;
    height: 46px;
    margin: 0 auto;
    border-top: 1px solid #fe5858;
    margin-top: 20px;
    position: relative;
}

.follow div {
    width: 70%;
    margin: 0 auto;
    background: #fff;
    position: absolute;
    left: 15%;
    top: -9px;
    text-align: center;
}

.follow div p:first-child {
    color: #fe5858;
}

.follow div p:last-child {
    color: #666666;
    font-size: 12px;
}

.wxImg {
    text-align: center;
}

.wxImg img {
    width: 86px;
    margin: 0 30px;
}

.aboutInfo {
    /*text-align: justify;*/
    padding: 20px 12px 10px 12px;
}

.am-item-listnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}




/*详情页*/
.newsBreadcrumb{
    margin-top: 16px;
}
.newsBreadcrumb li{
    list-style-type: none;
    float: left;
}
.newsBreadcrumb li a{
    color: #999999;
    text-decoration: none;
}
.newsBreadcrumb li span,
.newsBreadcrumb li a:hover,
.newsPage .artPage a:hover{
    color: #0094d4;
}
.newsPage .aDetails{
    margin-top: 20px;
}
.newsPage .aDetails h1{
    text-align: center;
    font-size: 18px;
    color: #333333;
    font-weight: bold;
}
.newsPage .artInfo{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 10px auto;
}
.newsPage .notes{
    color: #999999;
}
.newsPage .artPage{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 24px;
}
.newsPage .artPage p{
    width: 300px;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.newsPage .artPage a{
    text-decoration: none;
}
.newsPage .artPage,
.newsPage .artPage a{
    color: #333333;
}
.newsPage .onLine{}
.newsPage .onLine p{
    margin-top: 10px;
    font-size: 16px;
    color: #333333;
    font-weight: bold;
}
.newsPage .onLine p span{
    color: #ed0b0b;
}
.newsPage .onLine form {
    margin-top: 10px;
    background: #f4f4f4;
    padding: 14px 20px;
}
.newsPage .onLine form .fItemBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.newsPage form .fItem{
    border: 1px solid #e3e3e3;
    background: #ffffff;
    width: 49%;
    display: flex;
    /*height: 36px;*/
    align-items: center;
    margin: 6px 0;
}
.newsPage form .fItem label{
    width: 80px;
    border-right: 1px solid #e3e3e3;
    padding-left: 10px;
    color: #666666;
    /*line-height: 36px;*/
    margin: 0 !important;
    word-wrap: break-word;
}
.newsPage form .fItemBoxEn label{
    width: 85px !important;
}
.newsPage form .fItem div label{
    width: 100% !important;
    border-right: none !important;
}
.newsPage form .fItem div{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.newsPage form .fItem div input{
    border: none;
    /*padding: 12px;*/
    line-height: 36px;
}
.newsPage form .fItem input:focus,
.newsPage form textarea:focus{
    outline: none;
}
.newsPage form textarea{
    width: 100%;
    margin-top: 6px;
    height: 70px;
    resize: none;
    padding: 10px;
    border: 1px solid #e3e3e3;
}
.newsPage form .fbtn{
    margin: 10px 0;
    text-align: center;
}
.newsPage form .fbtn button{
    margin: 0 30px;
    padding: 10px 50px;
}
.newsDetails a{
    text-decoration: none;
    color: #333333;
}
.newsDetails a:hover{
    color: #0094d4;
}
.newsDetails .arti_ftr{
    justify-content: normal;
}
.newsDetails .arti_ftr span{
    margin-right: 35px;
}
.artDesc {
    overflow: hidden;
}
.artDesc iframe {
    width: 100%;
}


/*英文页面样式补充*/
.followEn{
    width: 98%;
    height: 46px;
    margin: 0 auto;
    border-top: 1px solid #fe5858;
    margin-top: 20px;
    position: relative;
}
.followEn div {
    width: 89%;
    margin: 0 auto;
    background: #fff;
    position: absolute;
    left: 6%;
    top: -9px;
    text-align: center;
}
.arti_sortEn {
    background: red;
    color: #fff;
    font-size: 12px;
    height: 20px;
    line-height: 19px;
    width: 80px;
    text-align: center;
}
.arti_sortEn::before {
    border-top: 5px solid transparent;
    border-left: 7px solid red;
    border-bottom: 5px solid transparent;
    bottom: 5px;
    content: "";
    height: 0;
    left: 66px;
    margin-left: 14px;
    position: absolute;
    width: 0;
}
orm input.error {
    color: #F00;
}

form label.error {
    color: #F00 !important;
    width: 224px;
}
.formTips{
    color: #F00;
    font-size: 12px;
    padding-left: 30px;
    display: none;
}
.newsHide{
    width: 360px;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.pubFlex{
    display: flex;
    flex-wrap: wrap;
}
.pubFlex a,
.pubFlex div{
    flex-grow: 1;
    text-align: center;
}

/*元器件百科*/
.c-item{
    margin-top: 20px;
}
.c-item a {
    box-shadow: 0px 0px 6px 0px rgba(6,0,1,0.1);
    border-radius: 10px;
    padding: 20px;
    display: block;
    color: #666666;
    text-decoration: none;
}
.c-item a:hover {
    text-decoration: none;
    background-color: #0194D5;
}
.c-item a:hover h4,
.c-item a:hover div {
    color: #FFFFFF;
}
.c-item a h4 {
    color: #333333;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.c-item a div {
    height: 34px;
    color: #666666;
    font-size: 12px;
    margin-top: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.c-details .pubTitle {
    background: none !important;
    font-size: 18px;
}
.c-details .cdBox{
    background: #F3F3F3;
    padding: 14px 20px;
    font-size: 14px;
    color: #333333;
}
