.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #ddd;
}
.moble-nav{
	line-height: 30px;
	float: left;
}
.page-scroll:hover{
	background: #b90f10;
}
.nav {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.nav-pills>li {
    float: left;
    width: 30%;
    text-align: center;
}
.tab-content>.tab-pane {
    line-height: 36px;
    color: #4a4949;
}
.container {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.row {
    margin-right: 0;
    margin-left: 0;
}
p {
    margin: 10px 0 10px;
}
@media only screen and (min-width: 280px) and (max-width: 450px) {
	header{background: url(../picture/hf.jpg) round;height: 210px;}
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	    border-color: transparent;
	    height: auto;
	    position: absolute;
	    top: 60px;
	    transition: all .5s ease .2s;
	    -webkit-transition: all .5s ease .2s;
	    z-index: 999;
	    opacity: 1;
	    width: 95%;
	    overflow: scroll;
	    margin: 0 auto;
	}
	.navbar-nav {margin: 0;background: #cc3333cc;}
	.navbar-default .navbar-nav>li>a {color: #fff;width: 100%;}
	.navbar-nav>li {float: left;width: 100%;}
	.navbar-nav>li>a {line-height: 45px;padding-top: 0;padding-bottom: 0;}
	.page-scroll{
		list-style: none;
	    float: left;
	    text-align: center;
	    border-radius: 5px 5px 0 0;
	    height: 45px;
	}
	footer{background: url(../picture/foot-bg.png);margin-top: 20px;}
	.foot-con{padding-top: 25px;padding-bottom: 10px;}
	.foot-logo{margin-top: 20px;margin-bottom: 20px;}
	.foot-right{margin-top:25px;}
	.foot-ul{
		color: #fff;
		text-align: left;
		list-style-type: none;
		padding-left: 0;
		margin-top: 20px;
		line-height: 24px;
	}
    .foot-tabList{text-align: center;}
    .foot-leftDiv{width: 35%;float: left;text-align: center;}
    .foot-rightDiv{width: 65%;float: left;}
    .top-back{background-color: #40434a;}
    .name{float: left;padding: 5px 0;}
    .name span{font-weight: bold;font-size: 20px;color: #fff;}
    .name b{font-size: 18px;color: #bdbdbd;margin-left: 24px;}
    .moreLaw{font-size: 14px;color: #888;float: right;padding: 10px 0;}
    .list-ul{
		color: #bdbdbb;
	    margin-top: 10px;
	    float: left;
	    list-style-type: none;
	    padding-left: 0;
	    width: 100%;
	    display: table;
	}
	.list2-ul li{float: left;width: 100%;}
	.mob-colmd9{padding-left: 0;padding-right: 0;}
}
@media only screen and (min-width: 450px) and (max-width: 1000px) {
	header{background: url(../picture/hf.jpg) round;height: 500px;}
	.navbar {top: 70px;}
	.navbar-default .navbar-nav>li>a {color: #fff;}
	.navbar-nav>li {float: left;}
	.navbar-nav>li>a {line-height: 64px;padding-top: 0;padding-bottom: 0;}
	.page-scroll{
		list-style: none;
	    float: left;
	    text-align: center;
	    border-radius: 5px 5px 0 0;
	    height: 60px;
	}
	footer{background: url(../picture/foot-bg.png);margin-top: 50px;}
	.foot-con{padding-top: 50px;padding-bottom: 50px;}
	.foot-logo{margin-top: 20px;}
	.foot-ul{
		color: #fff;
		text-align: left;
		list-style-type: none;
		padding-left: 0;
		margin-top: 30px;
		line-height: 35px;
	}
    .foot-tabList{text-align: center;margin-top: 20px;}
    .foot-leftDiv{width: 35%;float: left;text-align: right;}
    .foot-rightDiv{width: 65%;float: left;}
    .col-md-9{padding-left: 60px;}
    .top-back{background-color: #40434a;height: 220px;}
    .name{float: left;}
    .name span{font-weight: bold;font-size: 26px;color: #fff;}
    .name b{font-size: 22px;color: #bdbdbd;margin-left: 24px;}
    .moreLaw{font-size: 18px;color: #888;float: right;padding: 6px;}
    .list-ul{
		color: #bdbdbb;
	    margin-top: 20px;
	    float: left;
	    list-style-type: none;
	    padding-left: 0;
	    width: 100%;
	    display: table;
	}
	.list2-ul li{float: left;width: 50%;}
}
@media only screen and (min-width: 1000px) and (max-width: 3000px) {
	header{background: url(../picture/hf.jpg) round;height: 780px;}
	.navbar {top: 30px;}
	.navbar-default .navbar-nav>li>a {color: #fff;}
	.navbar-nav>li {float: left;}
	.navbar-nav>li>a {line-height: 64px;padding-top: 0;padding-bottom: 0;}
	.page-scroll{
		list-style: none;
	    float: left;
	    text-align: center;
	    border-radius: 5px 5px 0 0;
	    height: 60px;
	}
	footer{background: url(../picture/foot-bg.png);margin-top: 50px;}
	.foot-con{padding-top: 50px;padding-bottom: 50px;}
	.foot-logo{margin-top: 20px;}
	.foot-ul{
		color: #fff;
		text-align: left;
		list-style-type: none;
		padding-left: 0;
		margin-top: 30px;
		line-height: 35px;
	}
    .foot-tabList{text-align: left;}
    .foot-leftDiv{width: 25%;float: left;text-align: left;}
    .foot-rightDiv{width: 75%;float: left;}
    .col-md-9{padding-left: 60px;}
    .top-back{background-color: #40434a;height: 220px;}
    .name{float: left;}
    .name span{font-weight: bold;font-size: 26px;color: #fff;}
    .name b{font-size: 22px;color: #bdbdbd;margin-left: 24px;}
    .moreLaw{font-size: 18px;color: #888;float: right;padding: 6px;}
    .list-ul{
		color: #bdbdbb;
	    margin-top: 20px;
	    float: left;
	    list-style-type: none;
	    padding-left: 0;
	    width: 100%;
	    display: table;
	}
	.list2-ul li{float: left;width: 50%;}
}
.moble-nav{
	display: block;
    text-align: center;
    Font-weight: 600;
    font-size: 1.8rem;
}
.navbar-default .navbar-nav>li>a:hover {
    color: #fff;
}
.navbar-toggle {
    position: relative;
    float: right;
    margin-right: 15px;
    padding: 6px 8px;
    margin-bottom: 6px;
    background-color: transparent;
    background-image: none;
    border: none;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #5b4c4c;
    width: 30px;
}
.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 6px;
}
.navbar-default {background: #cc3333cc;}
hr{width: 2px;height: 20px;background: #fff;float: left;}
.foot-a{
	color: #fff;
}
.location {
    height: 54px;
    line-height: 48px;
    padding: 0 10px;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    border-bottom: none;
    position: relative;
    margin-top: 10px;
    overflow-x: auto;
}
.lt-w{
	float: left;
	border-bottom: 2px solid #e60000;
	margin: 0;
}
.p1 {
    margin: 0;
    text-overflow: ellipsis;
    text-align: left;
    white-space: nowrap;
}
.ico_home {
    margin-top: -6px;
}
.location a {
    margin: 0 6px;
    color: #fff;
}
.tab-content>.tab-pane {
    line-height: 36px;
    color: #4a4949;
    font-size: 14px;
}
.indent{
	font-size: 16px;
	text-indent: 2em;
	padding-left: 0;
    padding-right: 0;
    text-align: left;
    white-space: pre-line;
}
.t2{
	color: #fff;
    font-weight: normal;
    margin-left: 8px;
    font-size: 20px;
}
h1{
	height: 47px;
    line-height: 45px;
    background: url(../picture/contact_tit.jpg) no-repeat center top;
    font-weight: normal;
    font-size: 24px;
}
.contact-box span{
	padding: 30px 0 20px;
    font-size: 20px;
    color: #444;
    display: block;
}
.contact-box ul{
	color: #333;
    line-height: 30px;
    padding-left: 0;
    list-style-type: none;
    padding-top: 30px;
}

.list-ul li{
	float: left;
	border-left: 1px solid;
    padding: 0 12px;
    margin: 4px 0;
}
h3{
	border-left: 5px solid #dd4f43;
	font-size: 20px;
	font-weight: bold;
	color: #333;
	text-align: left;
    padding: 0 17px;
}
.list2-ul{
	list-style-type: none;
	color: #666;
	width: 100%;
	text-align: left;
	padding-left: 0;
	line-height: 36px;
    margin-top: 20px;
    display: table;
}

.right-content{
	color: #666;
	text-align: left;
	margin-top: 20px;
}
.right-content p{
	line-height: 36px;
	margin: 0;
}
.more{
	float: right;
    font-weight: lighter;
    font-size: 16px;
    color: #757a7e;
    padding: 2px 0;
}
.list3-ul{
	color: #666;
	line-height: 40px;
	margin-top: 20px;
	text-align: left;
    padding-left: 18px;
}
.list3-ul li{
	border-bottom: 1px solid #ddd;
    border-bottom-style: dashed;
}

/* ============================================================
   PbootCMS 站群 移动端适配层（2026-09-27）
   ------------------------------------------------------------
   适用：viplaw.cn 律师站群 705 站 / 59 种模板主题
   机制：追加到各主题 default/css/index.css 末尾（幂等，可重复执行）
   依据：全部主题同源 Bootstrap 3 + 共有类名（container / navbar /
         col-md-* / carousel / swiper / main3-box 等）

   修复的真实缺陷（实测 bjcq.viplaw.cn 390px）：
   1. 折叠菜单展开后 .navbar-collapse 的 max-height 停留在过渡中间值
      （340px），而菜单实际高 510px，overflow:auto 使最后 3 项
      （含「联系我们」）被裁成内部滚动区，用户看不到。
      → 展开态强制 max-height:none; overflow:visible
   2. 主题自带断点只覆盖 280~450px，451~768px 区间无适配。
      → 本层补 768px 断点
   3. 触屏 hover 位移/阴影抖动。
   ============================================================ */

/* ---------- 触屏优化：去掉 hover 位移与阴影抖动 ---------- */
@media (hover: none) {
  .nav-li:hover,
  .main3-box:hover,
  .swiper-slide:hover { transform: none; }
}

@media (max-width: 768px) {
  /* 1. 折叠菜单：展开态必须解除 max-height 限制，否则菜单项被裁切 */
  .navbar-collapse.collapse.in,
  .navbar-collapse.collapsing {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
  }
  .navbar-collapse.collapse.in .navbar-nav,
  .navbar-collapse.collapsing .navbar-nav {
    max-height: none !important;
    overflow: visible !important;
  }

  /* 2. 导航项：整行可点，加大触控热区
     注意：header.css 在 index.css 之后加载，且含
     `.navbar-default .navbar-nav > li > a`（特异性 0,3,1），
     故本层用 `html .navbar-default .navbar-nav > li > a`（0,3,2）压制。 */
  html .navbar-nav { width: 100%; margin: 0; }
  html .navbar-nav > li { float: none; width: 100%; }
  html .navbar-default .navbar-nav > li > a,
  html .navbar-nav > li > a,
  html .nav-a {
    display: block;
    padding: 13px 15px;
    font-size: 16px;
    line-height: 1.4;
  }

  /* 3. 头部：logo 与电话纵向排布，避免挤压 */
  html .navbar-header { width: 100%; margin: 0; }
  html .logo-div { float: none; width: 100%; padding-left: 15px; padding-right: 60px; }
  html .logo-img { float: left; width: 56px; margin: 0 8px 0 0; padding-right: 0; background: none; }
  html .logo-img img { max-width: 100%; height: auto; }
  html .logo-title { text-align: left; }
  html .logo-p1 { font-size: 15px; margin: 0; }
  html .logo-p2 { font-size: 13px; margin: 0; }
  html .key-word h1,
  html .logo-div h1 { float: none; font-size: 20px; margin: 0 0 4px; line-height: 1.3; }
  html .logo-tel { float: none; width: 100%; margin: 6px 0 0; text-align: left; }
  html .tel-p2 { font-size: 18px; height: auto; line-height: 1.4; }
  html .tel-p2 img { width: 22px; vertical-align: middle; }
  html .navbar-toggle { margin-top: 6px; margin-right: 8px; }

  /* 4. 容器与栅格：收窄内边距，栅格在窄屏一律整行 */
  html .container { padding-left: 12px; padding-right: 12px; }
  /* Bootstrap .row 默认 margin: 0 -15px，窄屏容器 padding 只有 10~12px，
     负边距会把内容顶出视口（实测 .row 宽 400px / left -5px 造成 5px 溢出）。 */
  html .row { margin-left: 0; margin-right: 0; }
  html .container > .col-md-6,
  html .container > .col-md-4,
  html .container > .col-md-3,
  html .container > .col-md-8,
  html .container > .col-md-9,
  html .container > .col-md-12 { width: 100%; float: none; }

  /* 5. 轮播：高度自适应，避免固定高导致图片裁切 */
  html .banner-size,
  html .carousel-inner > .item > img { width: 100%; height: auto; }
  html .carousel-inner > .item > img { max-height: 260px; object-fit: cover; }

  /* 6. 首页第三部分（分类宫格）：窄屏单列 */
  html .main3-box { width: 100%; float: none; margin-bottom: 12px; }
  html .main3-ul li { font-size: 14px; line-height: 1.7; }

  /* 7. 首页第一部分：图片与信息纵向 */
  html .main1-img { width: 100%; height: auto; }
  html .main1-left-ul li { font-size: 14px; line-height: 1.8; }
  html .main1-p { font-size: 14px; line-height: 1.8; }

  /* 7b. 图片全局兜底：主题把 .headImg 等尺寸规则只写在 450px+ 断点里，
     导致 390px 手机上按原始尺寸渲染（实测 headImg 311x443 撑满屏、
     列表图 215x180 被放大到 370x310）。此处统一约束。 */
  html img { max-width: 100%; height: auto; }
  html .headImg {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  html .main2-img { width: 90px; height: 65px; object-fit: cover; }
  html .main1-headbox { width: 100%; float: none; }
  html .main2-ul img,
  html .main2-ul .main2-img { max-width: 90px; }

  /* 7c. 移动端轮播：主题给 PC 轮播图写了 height:200px，但移动端轮播图
     只有内联 width:100%，无高度约束，图片按原始比例撑到 370x310。
     此处统一约束高度并裁切，与 PC 端视觉一致。 */
  html .mySwiperMobile .swiper-slide img,
  html .mySwiperMobile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  html .mySwiperMobile .swiper-slide { height: auto; }
  /* PC 轮播在窄屏必须隐藏（主题用 hidden-xs，但 swiper 样式可能覆盖） */
  html .mySwiperPc.hidden-xs { display: none !important; }

  /* 8. 正文/详情：字号与内边距，长表格横向滚动 */
  html .content,
  html .article-content,
  html .main-content { font-size: 15px; line-height: 1.85; }
  html .content p,
  html .article-content p { text-indent: 0; }
  html .content img,
  html .article-content img { max-width: 100%; height: auto; }
  html .content table,
  html .article-content table,
  html .content pre,
  html .article-content pre {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 9. 列表页：标题允许换行，日期块收窄 */
  html .list-title,
  html .article-title { font-size: 17px; }
  html .news_index_date { width: 56px; }

  /* 10. 分页：换行居中 */
  html .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
  html .pagination > li > a,
  html .pagination > li > span { margin: 0; padding: 5px 10px; }

  /* 11. 底部固定拨号条：给正文留出安全间距 */
  html body { padding-bottom: 56px; }
}

@media (max-width: 480px) {
  html .navbar-default .navbar-nav > li > a,
  html .navbar-nav > li > a,
  html .nav-a { font-size: 15px; padding: 12px 12px; }
  html .key-word h1,
  html .logo-div h1 { font-size: 18px; }
  html .tel-p2 { font-size: 16px; }
  html .container { padding-left: 10px; padding-right: 10px; }
  html .carousel-inner > .item > img { max-height: 200px; }
  html .content,
  html .article-content,
  html .main-content { font-size: 14px; }
  html .list-title,
  html .article-title { font-size: 16px; }
  html .news_index_date { width: 48px; }
}
