/**
 * 站点公共CSS
 * @作者 苏相锟 <admin@phpok.com>
 * @主页 https://www.phpok.com
 * @版本 5.x
 * @授权 GNU Lesser General Public License  https://www.phpok.com/lgpl.html
 * @时间 2021年1月8日
**/

:root {
  --blue: #1D5595;
  --darkblue:#093361;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #E77717;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #1D5595;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #E77717;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body{
	font-size:14px;
	font-family:"微软雅黑","宋体","Arial","Arial Narrow","HELVETICA";
	color:#666;
	background: #1C1C1C;
}

a{
	color:var(--blue);
}

a:hover{
	text-decoration: none;
}

li{
	list-style: none;
}

.logo{
	max-width:100%;
}
.btn-primary{
	background-color:var(--blue);
	border:0;
}
.btn-primary:hover{
	background-color:var(--darkblue);
}

.bg-nav{
	background-color:var(--blue) !important;
	height:10px;
}

.border-primary{
	border-color:var(--blue) !important;
}

.border-dotted{
	border-style:dashed;
}

.text-warning{
	color:var(--warning) !important;
}

.list-group-item.active{
	background-color:var(--orange);
	border-color:var(--orange);
	color:var(--light);
}

.list-group-item.active a{
	color:var(--light);
}

/* 单行省略号 */
.crop-text-1 {
  -webkit-line-clamp: 1;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* 两行省略号 */
.crop-text-2 {
  -webkit-line-clamp: 2;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.width_16{
	width:16px;
	height:16px;
}

.hand{
	cursor:pointer;
}

.bg-light-50{
	background-color:rgba(255,255,255,0.5);
}
.border-light-50{
	border-color:rgba(255,255,255,0.5);
}

.page-link{
	color:#ED1C25;
}
.page-item.active .page-link{
	background-color:#ED1C25;
	border-color:#ED1C25;
}

footer{
	border-top:2px solid #ccc;
}

footer ul,footer ol{
	list-style:none;
	margin-left:0;
	padding-left:0;
}

footer ul li,footer ol li{
	line-height:200%;
}

select + select{
	margin-top:0.5em;
}

select + input{
	margin-top:0.5em;
}

/* 独立页面样式 */
.l-height{
	line-height:170%;
}


/* 任意页返回头部 */
.toTop{background:url('../images/to-top.png') center center no-repeat;width:48px;height:48px;border:0;}



.content{ line-height:170%;font-size:1em;font-weight:500;}
.content p{ margin-bottom:1em;}
.content table {border: 1px solid #ddd;border-collapse: collapse;display: table;margin:auto;}
.content table td {border: 1px solid #ddd;padding: 5px 10px;}
.content table th {border: 1px solid #ddd;background-color: #f7f7f7;padding: 5px 10px;}
.content blockquote{
	margin:1em 0;border:1px solid #efefef;background:#fcfcfc;padding:0.5em 1em;
}

/* 管理员回复评论信息 */
fieldset.admin-reply{
	border:1px solid #ccc;
	padding:0.5em;
	background:#fff;
	box-shadow:2px 2px #ddd;
}
fieldset.admin-reply legend{
	width:auto;
	padding:0 1em;
	font-size:0.8em;
	margin-left:2em;
}

fieldset.admin-reply + fieldset.admin-reply{
	margin-top:1em;
}


/* 产品属性 */
div.attr{border:1px solid #ccc;margin-bottom:5px;line-height:26px;padding:3px 10px;cursor:pointer;}
div.attr.selected{border:1px solid var(--orange);background-color:var(--orange);color:var(--white);}

ul.radio li label{
	padding:0.25em 1em;
}

ul.radio li label input[type=radio]{
	margin-left:-1em;
	margin-top:0.1em;
}


.index-search{
	background:var(--primary);
	padding:1em 0;
	color:var(--white);
}

.index-search a{
	color:var(--white);
}

.index-search .bg-orange{
	background-color:var(--orange);
	border-color:var(--orange);
}

.index-search .bg-orange:hover,.index-search .bg-orange:active{
	background-color:var(--orange);
	border-color:var(--orange);
}

.tab-pane img{
	max-width:100%;
	height:auto !important;
}

.bg-default{
	background-image:url('../images/banner-bg.svg');
	background-size:cover;
	background-repeat:no-repeat;
	background-position: center center;
}

.avatar{
	width:50px;
	height:50px;
	border-radius:50%;
	background-color: #fff;
	border: 1px solid #dee2e6;
}

.avatar-small{
	width:26px;
	height:26px;
	border-radius:50%;
	background-color: #fff;
	border: 1px solid #dee2e6;
}

header{width:100%;margin:0; background:rgba(0,0,0, 0.5);list-style:none;position: fixed;top: 0;z-index:1799;}
header .on{ background:rgba(0,0,0, 1)!important;}
header ul{width:800px;list-style:none;margin:0;padding:0;z-index:1800;}
header ul li{height: 115px;}
header ul li a{color:#fff;text-decoration: none;font-size: 16px;}
header ul li a:hover{color: #fff;}
header ul li:hover{border-bottom: 5px solid #f00;color: #fff;transition: all 0.3s ease;}
header ul li.current{border-bottom: 5px solid #f00;}

.banner{width:100%;min-width:1200px;background-position: center;background-size:cover;background-repeat:no-repeat;}
.banner img{width:100%;height:500px;}

h2.title {text-align:center;height:200%;color:#EC1B24;font-size:2.3em;font-weight:400;margin-bottom: 55px;}
h2.title span{color:#fff;}
h3.title{text-align:center;height:200%;color:#EC1B24;font-size:40px;line-height: 24px; font-weight:200;margin: 70px 0 50px;}
h3.title span{color:#999;font-size: 14px;font-weight: bold;}
h3.title em{color:#fff;}

.about{width:100%;background: url(../images/index2.jpg) top center;}
.about h1{font-size: 24px;color: #999;}
.about h1 span{font-size: 16px;font-weight: normal;color:#EC1B24;}
.about p{color: #999;}
.aboutlist{padding-left: 50px;padding-top: 20px;}
.aboutlist li{border: 1px solid #666;}
.aboutlist li:nth-child(2n-1){border: 1px solid #EC1B24;}
.aboutlist li a{font-size: 24px;line-height: 26px;color:#666;padding: 15px;display: block;}
.aboutlist li a span{font-size: 12px;}
.about .catelist{padding: 0;margin-top: 70px;}
.about .catelist li{padding: 3px;}
.about .catelist li:first-child{padding-left: 0;}
.about .catelist li:last-child{padding-right: 0;}
.about .catelist li img{width:295px;}

.product{width:100%;background: url(../images/index3.jpg) top center;}
.product .swiper-slide{margin-top: 20px!important;}
.swiper-grid-column>.swiper-wrapper{flex-direction: row!important;}
.product .swiper-pagination-bullet{width: 30px;height: 5px;background: #aaa;border-radius: 0;}
.product .swiper-pagination-bullet-active{background: #eee;}
.product .imgbox{height: 290px;overflow: hidden;}

.news{width:100%;background: #1C1C1C;}
.newslist li .imgbox{height: 150px;display: flex;align-items: center;overflow: hidden;}
.newslist li .imgbox img{width: 100%;}
.newslist li .textbox{height: 150px;overflow: hidden;}
.newslist li .textbox p{margin-bottom: 12px;font-size: 16px;line-height: 24px;color: #ccc;font-weight: bold;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
.newslist li .textbox span{color: #999;line-height: 24px;}
.news .more{border: 1px solid #EC1B24;background-color: #1C1C1C;color: #EC1B24;padding: 10px 80px;font-weight: bold;font-size: 16px;display: block;width: 240px;}

.foot{ width:100%;color: #999; background:url(../images/index4.jpg) top center no-repeat; padding-top: 95px;}
.contact{font-size: 16px;line-height: 32px;}
.copyright{ margin:0 auto;line-height:24px;text-align:center;}
.copyright a{color: #999;}
.copyright p{margin: 0;}

.paboutlist{justify-content: center;}
.paboutlist li{border: 1px solid #666;}
.paboutlist li:nth-child(2n-1){border: 1px solid #EC1B24;}
.paboutlist li a{font-size: 24px;line-height: 26px;color:#666;padding: 15px;display: block;}
.paboutlist li a span{font-size: 12px;}
.pabout{width: 100%;height: 600px;padding: 50px 0;}
.pabout .content{background: #1C1C1C;height: 500px;width: 80%;margin: 0 auto; padding: 30px;}
.pabout .content .title span{color: #242424;font-weight: bold;font-size: 50px;}
.pabout .content .title em{color: #EC1B24;font-size: 28px;}

.pfac .factit{width: 100%;display: flex;justify-content: start;padding: 0;}
.pfac .factit .swiper-slide{text-align: center;background: #000;padding: 10px 0;}
.mySwiper .swiper-slide-thumb-active {background: #EC1B24 url(../images/sjx.png) bottom center no-repeat!important;color: #fff;}
.pculture li div{width: 100%;background: #fff;text-align: center;}
.pculture li div h1{margin-top: 20px;}
.pculture li div p{color: #EC1B24;margin: 5px;}

.pnews li{background: #1C1C1C;padding: 40px 0!important;}
.pnews li h3{color: #ED1C25;font-size: 20px;}

.pcatelist ul {display: flex;justify-content: space-around;flex-wrap: wrap;}
.pcatelist li{padding: 10px 20px;border: 1px solid #ED1C25;}
.pcatelist li a{color: #ED1C25;}
.pcatelist li a span{font-size: 12px;}
.ppro .pic{border: 1px solid #ED1C25;}
.ppro .wen h5 a{color: #ED1C25;}
.ppro .imgbox{height: 385px;overflow: hidden;}

.slide{position: relative;}
.slide .tit{position: absolute;height: 120px;width: 100%;bottom: 50px;background: url(../images/t.png) center center no-repeat;}
.slidetit{width: 1200px;margin: 0 auto;}
.slidetit a{display: block;width: calc(1200px / 7);height: 120px;}

@media (min-width: 1200px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1200px;
}
}
@media (max-width: 1200px){
	.paboutlist{width: 100%;}
	.paboutlist li{margin-bottom: 1rem;}
	.paboutlist li a{padding: 5px;}
	.pabout{height: auto;}
	.pabout .content{width: 100%;height: auto;padding: 2rem;}
	.slidetit{width: 70%;}
	.slidetit a{height: 70px;}
	.slide .tit{height: 70px;bottom: 10px;background-size: 70% auto;}
	.product .imgbox{height: 190px;}
}


