@import url("css/bootstrap.css?v4.0.0-beta.2");
@import url("css/font-awesome.css?4.70");
@import url("css/theme.css?v=20261117g");
@import url("css/carousel.css?v=20261117h");
@import url("css/animate.css");

/*  
Theme Name: 简站主题For2196
Theme URI: http://www.jianzhanpress.com
Description: 本主题为简站主题为www.jianzhanpress.com定制.
Version: 1.0
Author: 简站主题
Author URI: http://www.jianzhanpress.com
*/

.topbar {
	background:#f3f3f3;
	margin:0px;
	padding:0px;
}

@media (max-width: 767px) {
.topbar {
	display:none;
}
}
.topbar ul{
	margin:0px;
	padding:0px;
}
.topbar ul li{
	display:inline;
	line-height:45px;
	margin-right:15px;
}
.topbar ul li i{
	color:#666;
}
header.topbar {
	display: none !important;
}
.fixed-back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 1150;
  background: #feb420; 
  color: rgb(255, 255, 255); 
  border-radius: 50%; 
  width: 50px; 
  height: 50px; 
  text-align: center; 
}
.fixed-back-to-top i {
  font-size:2rem; 
  line-height: 3rem; 
}
.fixed-back-to-top:hover {
	background: #000; color: rgb(255, 255, 255); text-decoration: none;
}
.fixed-back-to-top:focus {
	color: rgb(255, 255, 255);
}
.active.fixed-back-to-top {
	transform: translateY(0px); -webkit-transform: translateY(0);
}
html.mobile .fixed-back-to-top {
	display: none !important;
}
html.tablet .fixed-back-to-top {
	display: none !important;
}
@media all and (min-width:480px)
{
.fixed-back-to-top {
	right: 40px; bottom: 40px;
}
}

/* ===== 顶部下拉联系信息条：黑底金字，默认藏在视口上方，到顶继续下拉时滑出 ===== */
.top-reveal-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1031; /* 紧贴导航(1030)之上，滑出时盖在导航顶部 */
	height: 40px;
	background: #000;
	color: #feb420;
	box-shadow: 0 2px 10px rgba(0,0,0,.45);
	transform: translateY(-100%);
	transition: transform .28s ease;
}
body.reveal-open .top-reveal-bar {
	transform: translateY(0);
}
/* 信息条滑出时把 sticky 导航整体下推 40px，二者上下衔接而非覆盖 */
header .navbar-customer {
	transition: transform .28s ease;
}
body.reveal-open header .navbar-customer {
	transform: translateY(40px);
}
.reveal-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	height: 40px;
	gap: 1.6em;
	font-size: .88em;
	line-height: 1;
}
.reveal-item {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	white-space: nowrap;
	color: #feb420;
}
.reveal-item i {
	color: #feb420;
	opacity: .9;
}
.reveal-item a {
	color: #ffd27a;
	font-weight: 600;
	border-bottom: 1px solid rgba(254,180,32,.5);
}
.reveal-item a:hover {
	color: #fff;
	text-decoration: none;
	border-bottom-color: transparent;
}
@media (max-width: 767px) {
	.top-reveal-bar, .reveal-inner { height: auto; min-height: 40px; }
	.reveal-inner { gap: .3em 1em; padding: 6px 0; font-size: .78em; }
	.reveal-addr { display: none; }
}

/* 品牌 Logo：跟随后台站点图标，替换主题自带的天平图标 */
.navbar-brand img.brand-logo {
	display: inline-block;
	width: 2.3em;
	height: 2.3em;
	object-fit: contain;
	vertical-align: middle;
	position: relative;
	top: -0.16em;
	margin: -0.5em 0.3em -0.5em 0;
	background: transparent;
}
@media (max-width: 767px) {
.navbar-brand img.brand-logo {
	width: 1.95em;
	height: 1.95em;
	top: -0.12em;
	margin: -0.4em 0.25em -0.4em 0;
}
}

/* 桌面端悬停展开二级菜单（主题原本仅支持点击展开） */
@media (min-width: 768px) {
header .navbar-customer ul.navbar-nav > li.dropdown:hover > ul.dropdown-menu {
	display: block;
	margin-top: 0;
}
}

/* ===== 顶部滚动防护 =====
   不再给 html/body 涂黑或加黑白渐变（滚动时会形成黑带/白带分层）。
   统一为干净白底 + 禁止滚动链/橡皮筋；顶部继续上滚由 header.php 的脚本拦截。 */
html, body {
	overscroll-behavior: none;
	overscroll-behavior-y: none;
	background-color: #fff;
	/* 覆盖 WordPress 登录态给 html 注入的 margin-top:32px（管理栏占位残留），
       否则导航会被整体下推、顶部露出白边 */
	margin-top: 0;
}

/* ===== 二级下拉菜单：统一为黑底白字 + 橙色悬停，呼应黑金主题 ===== */
header .navbar-customer ul.navbar-nav > li > ul.dropdown-menu {
	background: #000;
	border: 0;
	border-top: 3px solid #feb420;
	border-radius: 0;
	padding: 0;
	margin: 0;
	text-align: center;
	box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
header .navbar-customer ul.navbar-nav > li > ul.dropdown-menu li {
	background: #000;
	border-top: 1px solid #2a2a2a;
	line-height: 2.6em;
	font-size: .95em;
	padding: 0;
	margin: 0;
}
header .navbar-customer ul.navbar-nav > li > ul.dropdown-menu li a {
	color: #fff;
	font-weight: normal;
	display: block;
}
header .navbar-customer ul.navbar-nav > li > ul.dropdown-menu li:hover,
header .navbar-customer ul.navbar-nav > li > ul.dropdown-menu li:hover a {
	background: #feb420;
	color: #000;
}

/* ===== 导航高度：主题原生 line-height:7em 把导航撑到约115px（过高）。
   桌面端设为 84px：菜单上下留白各约 32px，舒展居中；body 让位高度同步。
   选择器不依赖 .fixed-top，避免主题脚本摘掉该类后行高塌掉。 ===== */
@media (min-width: 62em) {
header .navbar-customer ul.navbar-nav > li {
	line-height: 84px;
}
header {
	position: sticky;
	top: 0;
	z-index: 1030;
}
header .navbar-customer {
	position: static;
	/* 黑色导航区上方加高 20px、下方加高 10px */
	padding-top: 20px;
	padding-bottom: 10px;
}
body {
	padding-top: 0;
}
/* 公司名称金色，覆盖主题原生的白色 */
header .navbar-brand,
header .navbar-brand:hover,
header .navbar-brand:focus { color: #feb420 !important; }
.navbar-brand { font-size: 1.5rem; }
.navbar-brand img.brand-logo {
	width: 1.9em;
	height: 1.9em;
	top: -0.12em;
	margin: -0.3em 0.28em -0.3em 0;
}
}

/* ===== 一级菜单箭头：提亮为橙色、与文字拉开间距；一级项间距微调 ===== */
header .navbar-customer ul.navbar-nav > li i.fa {
	color: #feb420;
	margin-left: .4em;
	font-size: .85em;
}
@media (min-width: 62em) {
header .navbar-customer ul.navbar-nav > li {
	margin-left: 1.15em;
	margin-right: 1.15em;
}
/* 防止一级菜单文字与下拉箭头被挤到两行 */
header .navbar-customer ul.navbar-nav > li > a {
	white-space: nowrap;
}
}