/*pad*/

img {
    max-width: 100%;
}

.gh {
    height: 24px;
    width: 24px;
    position: absolute;
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    -webkit-transition: all 0.5s cubic-bmezier(0.7, 0, 0.3, 1) 0s;
    -ms-transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    cursor: pointer;
    z-index: 9999;
    display: none;
}

.selected .gh {
    transform: rotate(90deg);
}

.gh a {
    background-color: #111;
    display: block;
    margin: 0 auto;
    height: 2px;
    margin-top: -1px;
    position: relative;
    top: 50%;
    transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    -webkit-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    -ms-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    width: 100%;
    border-radius: 2px;
}

.gh a:after {
    width: 100%;
}

.gh a:before {
    width: 100%;
}

.gh a:after,
.gh a:before {
    background-color: #111;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    -webkit-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
    -ms-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
}

.gh a:after {
    top: 7px;
}

.gh a:before {
    top: -7px;
}

.selected .gh a:after,
.selected .gh a:before {
    top: 0;background: #111;
}

.selected .gh a:before {
    transform: translateY(0px) rotate(-45deg);
    -webkit-transform: translateY(0px) rotate(-45deg);
    -ms-transform: translateY(0px) rotate(-45deg);
    width: 100%;
}

.selected .gh a:after {
    transform: translateY(0px) rotate(45deg);
    -webkit-transform: translateY(0px) rotate(45deg);
    -ms-transform: translateY(0px) rotate(45deg);
    width: 100%;
}

.selected .gh a {
    /* background-color: transparent !important; */
	background: #111;
}
html{
	font-size: 19.2px;
}

@media only screen and (max-width:1580px) {
	html{
		font-size: 15.8px;
	}
	
}
@media only screen and (max-width:1280px) {
	html{
		font-size: 12.8px;
	}
	
}
@media only screen and (max-width:1040px) {
	h2{
		font-size: 20px !important;
	}
	h3{
		font-size: 18px !important;
	}
	h4{
		font-size: 16px !important;
	}
	p,
	h5,
	h6{
		font-size: 14px !important;
	}
	
	.wrap {
		width: auto;
		padding: 0 15px;
	}	
	html{
		font-size: 16px;
	}
	.gh{
		display: block;
		position: static;
		margin-left: 20px;
	}
	.naver{
		position: absolute;
		left: 0;right: 0;top: 100%;
		background: #fff;
		display: none;
	}
	.naver ul{
		display: block;
	}
	.naver li{
		margin: 0;
		border-bottom: 1px solid #f1f1f1;
	}
	.naver li h3 a{
		font-size: 16px;
		line-height: 46px;
		padding: 0 15px;
	}
	.header .phone{
		border: none;
	}
	.header .wrap{
		height: 60px;
	}
	.layout{
		padding-top: 60px;
	}
	.banner{
		height:40vw;
	}
	.about .wrap{
		display: block;
	}
	.about .pic{
		width: 100%;
	}
	.about .text{
		width: auto;
		margin: 20px 0 0;
	}
	.hban{
		height: 30vw;
	}
	.crumbs ul li a{
		font-size: 14px;
	}
	.hsty .flex{
		padding: 10px 0;
	}
	.hsty .flex{
		display: block;
	}
	.hsty .tab ul li{
		margin-right: 20px;
		display: inline-block;
	}
	.hsty .tab ul{
		white-space: nowrap;
		overflow-x: scroll;
	}
	.hsty .tab ul li a{
		padding-bottom: 15px;
	}
	
	.naver ul li i{
		position: absolute;right: 0;top: 0;width: 46px;height: 46px;
		background: url(../images/hico5.png) no-repeat center;
		transition:all 0.3s;
		-ms-transition:all 0.3s;  /* IE 9 */
		-moz-transition:all 0.3s;     /* Firefox */
		-webkit-transition:all 0.3s; /* Safari 和 Chrome */
		-o-transition:all 0.3s;
	}
	.naver ul li i.on{
		transform: rotate(90deg);
	}
	.naver li dl{
		position: static;
		transform:translateX(0%);
		border-radius: 0;
		box-shadow: none;
	}
	
}
@media only screen and (max-width:768px) {
	.product_detail .tb{
		display: block;
		padding-bottom: 0;
	}
	.product_detail .text{
		margin-top: 10px;font-size: 14px;
	}
	.product_detail .tb .pics{
		width: auto;margin: 0;
	}
	.product_detail .hotlist ul{
		display: block;
	}
	.product_detail .hotlist ul li{
		width: auto;
		margin: 0 0 10px 0;
	}
	.header{
		box-shadow: 0 0 10px 0 rgba(80,80,80,0.2);
	}
	.flexprevnext{
		display: block;margin: 15px 0;
	}
	.flexprevnext a{
		max-width: 100%;
		font-size: 16px;
	}
	.casedetail .th h1{
		font-size: 20px;
	}
	.pages dd a{
		font-size: 16px;
	}
	.pages dd{
		margin: 0 2px;
	}
	.caselist2 li{
		width: auto;
		margin: 0 0 10px 0;
	}
	.caselist2 .pic img{
		height: auto;
	}
	.caselist2,
	.caselist ul{
		display: block;
	}
	.hotcase .caselist2 li,
	.caselist ul li{
		width: auto;margin: 0 0 10px 0;
	}
	.caselist li p{
		transform:translateY(0%);
	}
	.caselist li img{
		height: auto;
	}
	.hpad{
		padding: 30px 0;
	}
	.tit{
		margin-bottom: 20px;
	}
	.footer{
		padding: 20px 0;
	}
	.footer .flex .ftab{
		display: none;
	}
	.hmore a,
	.footer .flex a{
		font-size: 16px;
	}
	.footer .flex{
		display: block;
	}
	.header .phone{
		font-size: 16px;
	}
	.contact .text{
		padding: 30px 0;
	}
	.form ul{
		display: block;
	}
	.form li{
		width: auto;
		margin: 0 0 10px 0;
	}
	.form li .txt{
		height: 40px;font-size: 16px;
	}
	.form li .txt1{
		height: 120px;
	}
	.form .btn{
		margin-top: 15px;
	}
	.productlist ul{
		display: block;
	}
	.productlist ul li{
		width: auto;
		margin: 0 0 10px 0;
	}
	.tab2 dl{
		flex-wrap: wrap;
	}
	.tab2 dd{
		font-size: 16px;
		margin-right: 20px;
	}
	
}