/*全局*/
:root{
	--color:#333;
	--redColor:#D1111C;
}
* {box-sizing: border-box;}
html {overflow-x: hidden;}
body {color: #333;line-height: 2;font-size: 16px;overflow-x: hidden;background-color: #fff;}
a:hover {text-decoration: none;color: #f00;}
.margin-top10 {margin-top: 10px;}
.margin-top15 {margin-top: 15px;}
.margin-top20 {margin-top: 20px;}
.margin-top30 {margin-top: 30px;}
.margin-top40 {margin-top: 40px;}
.margin-top50 {margin-top: 50px;}
.margin-bottom40 {margin-bottom: 40px;}
.relative {position: relative;}
.text-white,.text-white a {color: #fff;}
.overflow2 {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.overflow3 {display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
/*图片父级容器正方形显示*/
.auto-box {position: relative;overflow: hidden; padding-bottom: 100%;border: 0px solid #ddd;background: #f8f8f8;}
.auto-box .auto-flex {position: absolute;width:100%; height: 100%;display: flex;align-items: center;justify-content: center;overflow: hidden;}
.auto-box .auto-flex a {display: block;height: 100%;}
.auto-box .auto-flex img {height:100%;max-width: auto!important;}

/* 首页 */
.layui-container {position: relative;}
.banner-box .swiper-slide {height: 550px;}
#header {background: #fff;}
#header .layui-container {display: flex;justify-content: space-between;align-items: center;height: 100px;}
.nav-box {flex: 1;margin-left: 150px;}
.nav-box >ul {display: flex;justify-content: space-around;}
.nav-box >ul >li {position: relative;}
.nav-box >ul >li >a {display: block;line-height: 97px;font-size: 16px;text-align: center;border-bottom: 3px solid transparent;}
.nav-box >ul >li >a:hover {border-color: #F47502;color: #F47502;}
.submenu {position: absolute;left: 0;z-index: 2;background-color: #F47502;/*min-width: 100%;*/display: none;width: 120px;}
.submenu >ol >li >a {display: block;white-space: nowrap;padding: 0 10px;line-height: 40px;color: #fff;font-size: 14px;border-bottom: 1px solid #F0892E;text-align: center;}
.submenu >ol >li >a:hover {background-color: #F0892E;}

.search-block {background-color: #fff;line-height: 40px;padding-top: 25px;padding-bottom: 25px;box-shadow: 0 3px 10px rgba(0,0,0,0.2);}
.search-box {display: flex;justify-content: space-between;height: 40px;}
.hot-keywords {display: flex;align-items: center;}
.hot-keywords .layui-breadcrumb {height: 40px;}
.hot-keywords:before {content: '';display: inline-block;width: 3px;height: 20px;background-color: #F47502;margin-right: 5px;}

#form-search {background-color: #fff;border-radius: 4px;display: flex;}
#form-search input {background-color: #f9f9f9;height: 40px;padding: 0 10px;border: 1px solid #eee;border-right: none;width: 300px;}
#form-search input::input-placeholder {color: #999;}
#btn-search {background: url(../images/icon-search.png) center no-repeat #F47502;width: 40px;height: 40px;border: none;}

.index-product {margin-top: 60px;}
.product-title-cate {display: flex;align-items: flex-end;justify-content: space-between;line-height: 1.2;}
.product-title-cate .title p {text-transform: uppercase;font-size: 20px;font-weight: 100;}
.product-title-cate .title b {font-size: 40px;font-weight: 600;}
.procate-list a {font-size: 18px;margin-left: 20px;}

.product-list .item {border: 1px solid #eee;margin-bottom: 20px;}
.product-list .item .img {display: flex;height: 210px;justify-content: center;align-items: center;overflow: hidden;}
.product-list .item .img img {height: 100%;}
.product-list .item p {border-top: 1px solid #eee;display: flex;justify-content: space-between;padding: 15px;font-size: 16px;}
.product-list .item:hover {border-color: #F47502;}
.product-list .item:hover p {border-top-color: #F47502;background-color: #F47502;color: #fff;}
.more {display: inline-block;background-color: #254A74;color: #fff;padding: 5px 40px;}
.more:hover {opacity: 0.9;color: #fff;}

.index-youshi {background: url(../images/youshi-block-bg.jpg) center no-repeat;background-size: cover;padding-top: 50px;padding-bottom: 50px;color: #fff;margin-top: 60px;}
.index-youshi .title {text-align: center;line-height: 1.7;}
.index-youshi .title b {font-size: 40px;}
.index-youshi .title p {font-size: 18px;}
.youshi-bg1 {background: url(../images/youshi-bg1.jpg) center no-repeat;background-size: cover;}
.youshi-bg2 {background: url(../images/youshi-bg2.jpg) center no-repeat;background-size: cover;}
.youshi-bg3 {background: url(../images/youshi-bg3.jpg) center no-repeat;background-size: cover;}
.index-youshi .item {padding: 20px;height: 300px;display: flex;align-items: center;flex-direction: column;justify-content: center;}
.index-youshi .item b {font-size: 24px;}
.index-youshi .item p {text-align: center;}
.index-youshi .short-line {width: 80px;height: 3px;background-color: #fff;margin: 10px 0 20px;}

.index-about {margin-top: 60px;background: url(../images/about-block-bg.jpg) right center no-repeat;padding-top: 40px;}
.index-about .layui-container {display: flex;justify-content: space-between;}
.index-about .about-info {max-width: 480px;background-color: #fff;}
.about-info .title {line-height: 1.2;}
.about-info .title p {text-transform: uppercase;font-size: 20px;}
.about-info .title b {font-size: 40px;}
.about-info >p.about-con {height: 260px;}
.comname {margin-top: 20px;font-size: 22px;}
.about-more {position: relative;margin-top: 20px;padding-top: 15px;text-align: right;}
.about-more .line {height: 1px;width: 500px;position: absolute;right: 0;top: 0px;background-color: #ddd;}
.about-more a {display: inline-block;background-color: #F47502;color: #fff;padding: 5px 40px;}
.about-more a:hover {opacity: 0.9;}

.index-zizhi {margin-top: 60px;background: url(../images/zizhi-block-bg.jpg) center no-repeat;background-size: cover;padding-top: 60px;padding-bottom: 70px;}
.index-zizhi .title {text-align: center;line-height: 1.4;}
.index-zizhi .title b {font-size: 40px;}
.index-zizhi .title p {font-size: 18px;}
.zizhi-box {margin-top: 40px;background-color: #fff;padding: 40px 20px;box-shadow: 0 5px 25px rgba(0,0,0,0.1);}
.scroll-zizhi a {display: flex;justify-content: center;align-items: center;height: 260px;overflow: hidden;}
.scroll-zizhi a img {height: 100%;}

.index-news {margin-top: 60px;}
.index-news-title {display: flex;align-items: flex-end;justify-content: space-between;}
.index-news-title .title {line-height: 1.2;}
.index-news-title .title p {text-transform: uppercase;font-size: 20px;}
.index-news-title .title b {font-size: 40px;}
.news-box {margin-top: 20px;display: flex;justify-content: space-between;}
.news-toutiao {flex: 1;background-color: #f5f5f5;padding: 40px;}
.news-list {flex: 1;margin-left: 50px;}
.news-toutiao p {font-size: 14px;margin-top: 10px;line-height: 1.7;color: #777;}
.news-toutiao .news-img {display: flex;justify-content: center;align-items: center;height: 200px;background-color: #fff;margin-top: 20px;overflow: hidden;}
.news-toutiao .news-img a {width: 100%;}
.news-toutiao .news-img img {width: 100%;}
.news-more a {background-color: #1A5CA8;display: inline-block;color: #fff;padding: 5px 40px;}
.news-list .item {border-top: 1px solid #ddd;padding-top: 35px;padding-bottom: 35px;}
.news-info {display: flex;justify-content: space-between;align-items: center;}
.news-info .news-title {font-size: 18px;}
.news-info span {display: inline-block;width: 70px;text-align: right;}
.news-date {display: flex;justify-content: space-between;align-items: center;}
.news-date p {margin-right: 70px;font-size: 14px;color: #777;line-height: 1.7;}
.news-list .item:hover i {color: #F47502;}

.index-link {margin-top: 40px;background-color: #f5f5f5;padding-top: 20px;padding-bottom: 20px;}
.index-link .layui-container {display: flex;justify-content: space-between;}
.index-link .layui-container .layui-breadcrumb {flex: 1;}

.footer {background-color: #254A74;color: #fff;padding-top: 30px;}
.footer a {color: #fff;}
.footer-nav {display: flex;justify-content: space-between;font-size: 14px;line-height: 2.2;margin-right: 30px;}
.footer-nav a {color: #A8B5C8;}
.footer-nav li.active a {font-size: 16px;color: #fff;}
.qrcode {text-align: right;}
.qrcode img {width: 120px;height: 120px;}
.lianxi {font-size: 14px;margin-left: 15px;}
.copyrights {font-size: 14px;border-top: 1px solid #A8B5C8;margin-top: 20px;padding-top: 15px;padding-bottom: 15px;color: #A8B5C8;}
.copyrights a {color: #A8B5C8;}

/* 首页中部样式 */


@media only screen and (min-width: 980px)  {
	.layui-container {width: 1230px;}
	.index-about{background-size:55%;}
}
@media only screen and (min-width: 320px) and (max-width: 640px)  {
	body {font-size: 14px;}
	body:before {content: '';display: block;height: 60px;}
	.banner-box .swiper-slide {height: 4rem;background-size: cover!important;}
	#header {position: fixed;padding-top: 10px;padding-bottom: 10px;z-index: 3;left: 0;right: 0;top:0;height: 60px;box-shadow: 0 0 10px rgba(0,0,0,0.2);background: #fff;}
	#header .layui-container {height: 40px;}
	#header .nav-bar {width: 80px;display: flex;justify-content: flex-end;align-items: center;}
	#header .logo {flex: 1;height: 40px;}
	#header .logo img {height: 100%;object-fit: contain;}
	
	.nav-box {position:fixed;top:0px;left:-140px;width: 140px;bottom:0;background-color: #1A5CA8;z-index: 99;flex: 0%;margin-left: 0;}
	.nav-box >ul {display: flex;flex-wrap: wrap;}
	.nav-box >ul >li {display:block;width: 100%;}
	.nav-box >ul >li >a {color:#fff;border-bottom:1px solid #2967AF;font-size:14px;line-height:50px;}
	.nav-box >ul >li >a:hover {border-color: #2967AF;color: #fff;background: #2967AF;}
	.nav-box >ul >li >a >i {display: none;}
	#btn-navbar .layui-icon {font-size: 30px;color: #1A5CA8;}
	
	.product-title-cate {display: block;}
	.product-title-cate .title p {font-size: 16px;}
	.product-title-cate .title b {font-size: 24px;}
	.procate-list {display: flex;margin-top: 15px;justify-content: space-around;}
	.procate-list a {margin-left: 0;font-size: 16px;}
	.product-list .item .img {height: 2.5rem;}
	.product-list .item p {font-size: 12px;padding: 5px;}
	
	.index-youshi .title b {font-size: 24px;}
	.index-youshi .title p {font-size: 14px;}
	.index-youshi .item {height: 4.6rem;}
	.index-youshi .item b {font-size: 20px;}
	.index-youshi .item p {font-size: 13px;}
	.index-youshi {padding-top: 30px;margin-top: 40px;}
	.about-img {display: none;}
	.index-about .about-info {padding: 15px;background-color: rgba(240,240,240,0.9);}
	.index-about {margin-top: 0;}
	.comname {line-height: 1.3;}
	.about-info >p.about-con {height: auto;font-size: 13px;line-height: 1.8;margin-top: 20px;}
	.about-more .line {display: none;}
	.index-zizhi .title b {font-size: 24px;}
	.index-zizhi .title p {font-size: 14px;}
	.index-zizhi {padding-top: 30px;margin-top: 40px;padding-bottom: 50px;}
	.scroll-zizhi a {height: 3.2rem;}
	.zizhi-box {margin-top: 20px;}
	
	.index-news-title .title p {font-size: 16px;}
	.index-news-title .title b {font-size: 24px;}
	
	.news-box {display: block;}
	.news-toutiao {padding: 15px;}
	.news-toutiao p {font-size: 12px;}
	.news-toutiao .news-img {height: 3.2rem;margin-top: 10px;}
	.news-list {margin-left: 0;}
	.news-info span {width: 50px;}
	.news-date p {margin-right: 30px;font-size: 13px;}
	.news-info .news-title {font-size: 16px;}
	.news-list .item {padding-top: 15px;padding-bottom: 15px;}
	.index-link {display: none;}
	.qrcode {text-align: center;margin-bottom: 10px;}
	.lianxi {margin-left: 0;font-size: 12px;}
	.copyrights {font-size: 12px;}
	.footer {margin-top: 30px;}
	.index-product {margin-top: 20px;}
	
}