﻿@charset "utf-8";

body,html{background: #fff;}

.header-nav ul li.miniweb-on a::before {width: 100%;}

.banners::after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .35);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 4;
    display: none;
}

.com_button{padding: 20px 0 0;}
.com_button span{ display: inline-block; width:235px; margin-bottom:5px; position: relative;}
.com_button span:hover .altList{
      -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}
.com_button .cur2 {border: 1px solid #1398FD;color: #1398FD;}
.com_button a {display: inline-block;zoom: 1;padding: 5px;border: 1px solid #FFF;border-radius: 4px;color: #333;font-size: 14px; font-weight: 200;}
.altList{position: absolute; z-index: 12; top:40px; 
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: center top;
    -ms-transform-origin: center top;
    transform-origin: center top;
    transition: opacity .3s, visibility .3s, -webkit-transform .3s;
    -webkit-transition: opacity .3s, visibility .3s, -webkit-transform .3s;
    -o-transition: transform .3s, opacity .3s, visibility .3s;
    transition: transform .3s, opacity .3s, visibility .3s;
    transition: transform .3s, opacity .3s, visibility .3s, -webkit-transform .3s;
}
.altList dl{background-color: #fff; box-shadow: 0 0 10px 0 #ccc; overflow: hidden; width: 220px; padding:10px; border-radius: 5px; position: relative;z-index: 13;}
.altList dl dd{float: left; background-color: #fff; position: relative; z-index: 1; width: 50%;}
.altList dl dd a{ overflow: hidden; }
.altList dl dd a:hover{ 
    color: #007eff; 
}
.altList em{position: absolute; top:-10px; left:20px; display: block; width:0; height: 0; border-style: solid; border-width: 10px; border-color: #fff #fff transparent transparent; box-shadow: 0 0 5px #ccc; transform: rotate(-45deg);}


.com_list1 ul li {
	width: 15%;
	position: relative;
	display: inline;
	margin-top: 25px;
    padding:10px 0 15px; box-sizing:border-box;
    margin-right: 2%;
}
.com_list1 ul li:nth-child(6n) {
    margin-right:0;
}
.com_list1 ul li span {
	width: 137px;
	height: 205px;
	display: block;
	padding: 18px  6px 26px 6px;
	background: url(/images/com_bg1.png);
	margin: 0 auto;
}
.com_list1 ul li .pic_area {
    width: 137px;
    height: 205px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.com_list1 ul li .pic_area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}
.com_list1 ul li p {
	width: 137px;
	height: 205px;
	opacity: 0.7;
	background-color: #000;
	position: absolute;
	left: 50%;
	margin-left: -68px;
	top: 30px;
}
.com_list1 ul li .temtit {
    text-align: center;
    padding: 5px;
    margin: 0 auto;
    display: block;
    line-height: 2.25;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 200;
}

.li_com_con1 {
	width: 161px;
	overflow: hidden;
	margin: 0 auto;
	padding-top: 10px;
    font-weight: 200;
}
.li_com_con1 .li_a1 {
	display: block;
	width: 68px;
	height: 33px;
	line-height: 33px;
	text-align: center;
	float: left;
	margin-right: 20px;
	border: 1px solid #1398FD;
	color: #1398FD;
	font-size: 14px;
	border-radius: 4px;
}
.li_com_con1 .li_a2 {
	display: block;
	width: 70px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	float: left;
	color: #FFF;
	background-color: #1398FD;
	font-size: 14px;
	border-radius: 4px;
}
.zhezhao1 {
    width: 60%;
    position: absolute;
    z-index: 10;
    /* top: 48px; */
    top: 0;
    bottom: 0;
    margin: auto 0;
    text-align: center;
    left: 20%;
    height: 205px;
}

.zhezhao1 em {
	display: block;
	text-align: center;
	color: #FFF;
	font-size: 12px;
    font-weight:400;
}

.zhezhao1 strong {
	display: block;
	width: 79px;
	height: 79px;
	margin: 15px auto;
     font-weight:400;
     font-size: 12px;
}

@media screen and (max-width: 1280px) {
    .com_button span{
        width: 230px;
    }
}
@media screen and (max-width: 1200px) {
    .com_button span{
        width: auto;
        margin-right: 15px;
    }
    .com_list1 ul li{
        width: 18.4%;
    }
    .com_list1 ul li:nth-child(6n) {
        margin-right: 2%;
    }
    .com_list1 ul li:nth-child(5n) {
        margin-right: 0;
    }
    .com_button{
        overflow: initial;
    }
    .banners::after{
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    .com_list1 ul li{
        width: 23.5%;
    }
    .com_list1 ul li:nth-child(5n) {
        margin-right: 2%;
    }
    .com_list1 ul li:nth-child(4n) {
        margin-right: 0;
    } 
}

@media screen and (max-width: 960px) {
    .com_button span {
        margin-right: 12px;
    }
}

@media screen and (max-width: 750px) {
    .com_list1 ul li {
        width: 49%;
        margin-top: 0;
    }
    .com_list1 ul li:nth-child(4n) {
        margin-right: 2%;
    }
    .com_list1 ul li:nth-child(2n) {
        margin-right: 0;
    } 


    /* 手机端分类新添加 */
    .com_button{
        display: flex;
        flex-wrap: wrap;
    }
    .com_button span {
        margin-bottom: 0;
        margin-right: 4%;
        width: 48%;
        margin-top: 5px;
    }
    .com_button span>a{
        overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
        padding: 0 5px;
        margin: 5px 0;
    }
    .com_button span:nth-child(2n){
        margin-right: 0;
    }
    .com_button span:nth-child(2n) .altList{
        transform: translateX(-55%);
    }
    .altList{
        left: 50%;
        transform: translateX(-35%);
    }
    .altList dl {
        width: 170px;
    }
    .altList dl dd a{
        overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
        padding: 0;
        margin: 5px 0;
        text-align:center;
    }
    .altList em{
        margin-left: -10px;
        left: 50%;
    }
}