/**
 * 站点公共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: #005CAA;
  --darkblue:#093361;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #EB3D00;
  --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;
  --border:#ECECEC;
  --dark: #343a40;
  --bg-blue:#145589;
}

a{
	color:var(--blue);
	text-decoration:none;
}

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

.btn-link{
	color:var(--blue);
}

.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;
}


.more{
	font-size:1rem;
	float:right;
}
.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:var(--blue);
}
.page-item.active .page-link{
	background-color:var(--darkblue);
	border-color:var(--darkblue);
}

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%;
}






.content{ line-height:170%;font-size:1em;font-weight:500;}
.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{
	margin-top:1em;
}
.content p{ margin-bottom:1em; text-indent:2em}
.content img{
	max-width:100% !important;
	height:auto;
}
.content table {border: 1px solid #ddd;border-collapse: collapse;display: table;margin:auto;}
.content table p{text-indent:0;margin-bottom:0}
.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;
}

header .topnav{
	line-height: 40px;
	border-bottom:1px solid #eee;
    background:#FEFEFE;
    color:var(--dark);
}
header .topnav a{
    color:var(--dark);
}

.menu{
	background-color:var(--light) !important;
	border-top:1px solid var(--border);
	border-bottom:1px solid var(--border);
}

header .menu a{
	font-size:1rem;
	color:var(--blue);
}

header .menu .nav-item:hover{
	background-color:rgba(255,255,255,0.2) !important;
}

header .menu .dropdown-menu a{
	color:var(--blue);
}

header .weixin{
	position:relative;
	cursor:pointer;
}

header .weixin div{
	display:none;
	left:0;
	top:30px;
	position:absolute;
	z-index:999;
	border:1px solid #ccc;
}

header .weixin div img{
	width:100%;
}

header .weixin:hover div{
	display:block;
}

.topmenu{
	top:0;
	left:0;
	width:100%;
	height:40px;
	position:fixed;
	z-index:99999;
}
.topmenu-bar{
	position:relative;
	height:40px;
	width:100%;
}

.breadcrumb{
	background-color:#f8f9fa;
}

.jumbotron{
	background-color:#f8f9fa;
}

.headnav{
	background:#fff;
	background:relative;
	width:100%;
	margin:0 auto;
	z-index:99999;
}

.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('../image/banner-bg.jpg');
	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;
}

.list-group-item:last-child{
	border-bottom-right-radius:0;
	border-bottom-left-radius:0;
}


/* 在线客服 */
.kfonline{
	position: fixed;
	bottom: 60px;
	right: 15px;
	z-index: 999999;
}

.kfonline .card-header{
	cursor: pointer;
}

.kfonline-icon{
	width:40px;
	height:40px;
	cursor: pointer;
	color:var(--white);
	border:1px solid var(--white);
	line-height:36px;
	text-align:center;
	background:var(--blue);
	margin-top:-4px;
	position:relative;
}
.kfonline-icon.cart sup{
	position:absolute;
	top:2px;
	right:2px;
	font-size:60%;
}
.kfonline-icon.weixin div{
	display:none;
	position:absolute;
	right:40px;
	top:0;
	width:120px;
}
.kfonline-icon.weixin div img{
	width:100%;
}
.kfonline-icon.weixin:hover div{
	display: block;
}

.kfonline-icon a .fa{
	color:var(--white);
}

.kfonline-icon.tel div{
	display:none;
	position:absolute;
	right:40px;
	top:0;
	color:var(--dark);
	font-size:bold;
	padding:5px 10px;
	width:180px;
}

.kfonline-icon.tel:hover div{
	display: block;
}

.kfonline-icon.qq div{
	display:none;
	position:absolute;
	right:40px;
	top:0;
	color:var(--dark);
	font-size:bold;
	padding:5px 10px;
	width:180px;
}

.kfonline-icon.qq:hover div{
	display: block;
}

/* 任意页返回头部 */
.toTop{
	border:1px solid var(--white);
	line-height:36px;
	text-align:center;
	color:var(--white);
	background:var(--blue);
	cursor: pointer;
	width: 40px;
	bottom: 23px;
	right:15px;
	position:fixed;
	cursor:pointer;
	z-index:999999;
	font-size:20px;
}


/* 子级菜单 */
.cateinfo .subinfo{
	position:absolute;
	left:254px;
	top:-1px;
	width:855px;
	min-height:420px;
	display: none;
	background:#CCDEEE;
	z-index:999
}

.cateinfo .list-group-item.hover{
	background:#CCDEEE;
}
