@charset "UTF-8";
/* ==========================================================================
   hn-footer.css —— 湖南省人民政府门户网站「公用底部」在专题页中的适配样式
   ==========================================================================
   底部 HTML 使用官网原样代码（见 index.html 内 <!--foot begin--> 区块），
   class 名、DOM 结构、pc_show / wap_show 显隐机制均与官网保持一致，
   本文件只做三件事：① 移动端 rem 单位换算；② 补齐项目缺失的官网规则；③ 全局复位。

   【单位换算依据】（详见文件末尾说明）
   官网：html 字号 = screen.width / 12.42  → 1242 设计稿，1rem = 100px（js.js，仅 screen.width < 768 时）
   项目：html 字号 = 视口宽 / 7.5          → 750 设计稿，1rem = 100px（js/rem-adapter.js）
   换算系数 = 750 / 1242 ≈ 0.604，即：官网 rem 值 × 0.604 = 本项目 rem 值
   例：官网 .footer.wap_show{height:5.8rem} → 本项目 3.5rem（375px 屏下两者都是 175px）
   官网只在移动端用 rem，桌面端全部为 px，故本文件桌面部分沿用 px、不做换算。

   【官网底部样式的分布与本文件对应关系】
   ① footer.css                    → 项目已通过 <link> 引入（桌面 px 样式），无需重复
   ② dj2019_self_adapter.css 移动端底部规则 → 本文件「二、移动端」段落，rem × 0.604
      （该文件还含全局 *{box-sizing}、body/a/p 规则，直接引入会污染专题页，故不引）
   ③ 文章页内联 <style> 中的底部样式  → 本文件「一、桌面端」段落 + 移动端补丁
   ========================================================================== */


/* ==========================================================================
   全局复位：抵消项目全局规则对官网底部的影响
   （项目 *{box-sizing:border-box}、img{display:block} 与官网桌面端默认值不同）
   ========================================================================== */
.footer img {
	display: inline;
	/* 项目全局 img{display:block}，官网为行内（备案号图标、微博/微信图标等需与文字同行） */
	vertical-align: baseline;
	/* 项目全局 img{vertical-align:bottom} */
}


/* ==========================================================================
   一、桌面端（> 1200px）：官网页内联 <style> 中的底部样式，px 原样搬运
   ========================================================================== */
@media screen and (min-width: 1201px) {

	/* 官网桌面端未做 border-box 重置，复位项目全局 *{box-sizing:border-box}，
	   否则 .footer-links li（width:188px + padding 15px + border 1px）宽度会与官网不一致 */
	.footer,
	.footer * {
		box-sizing: content-box;
	}

	.footer {
		min-width: 1200px;
	}

	/* --- 底部链接区 --- */
	.footer .footer-links li a {
		display: block;
		width: 100%;
	}

	/* --- 桌面版权信息（footer-info）--- */
	.footer .footer-info table {
		width: 580px;
	}

	.footer .footer-info .address {
		width: 585px;
		margin-left: 20px;
	}

	.footer .footer-info .address li {
		line-height: 21px;
	}

	/* --- 底部二维码 / 微博跳转确认弹层（官网页内联样式）--- */
	.footer .dsfewmdiv {
		width: 200px;
	}

	.footer .dsfewmdiv li {
		line-height: 47px;
		margin-top: 15px;
		margin-right: 20px;
		height: 40px;
		border: 1px solid #74ACD6;
		text-align: left;
		padding: 0 10px;
	}

	.footer .dsfewmdiv img {
		margin: 0;
		border: 0;
		position: relative;
		top: 5px;
	}

	.footer .dsfewmdiv span {
		font-size: 14px;
		color: #fff;
		margin-left: 10px;
		position: relative;
		top: -3px;
	}

	.footer .ewmqh {
		display: none;
		position: absolute;
		top: 0;
		right: 145px;
	}

	.footer .maskdiv {
		display: none;
		z-index: 10000;
		position: fixed;
		background-color: #000;
		opacity: 0.7;
		filter: alpha(opacity=70);
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.footer .aTips {
		position: fixed;
		z-index: 10001;
		width: 480px;
		height: 170px;
		top: 50%;
		margin-top: -85px;
		left: 50%;
		margin-left: -240px;
		background-color: #fff;
		display: none;
	}

	.footer .aTips .text {
		position: relative;
		font-size: 14px;
		padding: 20px;
		line-height: 24px;
		word-break: break-all;
		overflow: hidden;
		overflow-x: hidden;
		overflow-y: auto;
		text-align: center;
		margin-top: 30px;
	}

	.footer .layui-layer-btn {
		text-align: right;
		padding: 0 10px 12px;
		pointer-events: auto;
		user-select: none;
		-webkit-user-select: none;
		margin-top: 30px;
		display: block;
	}

	.footer .layui-layer-btn div {
		height: 28px;
		line-height: 28px;
		margin: 6px 6px 0;
		padding: 0 15px;
		font-size: 16px;
		border: 1px solid #dedede;
		background-color: #f1f1f1;
		color: #333;
		border-radius: 2px;
		font-weight: 400;
		cursor: pointer;
		text-decoration: none;
		display: inline-block;
		float: right;
	}

	.footer .layui-layer-btn .layui-layer-btn0 {
		border-color: #4898d5;
		background-color: #2056a0;
		color: #fff;
		font-size: 16px;
	}
}


/* ==========================================================================
   二、移动端（≤ 1200px）：官网 dj2019_self_adapter.css 底部规则 + 内联样式，
       所有 rem 值已按 ×0.604 换算（括号内为官网原值）
   ========================================================================== */
@media screen and (max-width: 1200px) {

	/* 官网 dj.css 在移动端对全站做 border-box 重置，这里只作用于底部 */
	.footer,
	.footer * {
		box-sizing: border-box;
	}

	.footer {
		margin-top: .2rem;
		background: none;
		min-width: 0;
		line-height: 1.42857143;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		height: 3.8rem !important;
	}

	/* base.css 的 .wrap 为 1200px 定宽，移动端需铺满 */
	.footer .wrap {
		width: 100%;
	}

	/* --- 显隐：官网靠 dj.css 控制，项目未引入该文件，此处按官网规则补齐 --- */
	.footer .pc_show {
		display: none !important;
	}

	.footer div.wap_show,
	.footer ul.wap_show,
	.footer li.wap_show,
	.footer iframe.wap_show {
		display: block;
	}

	.footer span.wap_show,
	.footer font.wap_show {
		display: inline;
	}

	.footer .pc_hide {
		display: block !important;
	}

	/* --- 顶部：适配版 / 电脑版切换 + 回到顶部 --- */
	.footer .pc-mob-links {
		display: none;
	}

	.footer .pc-mob-links a {
		font-size: .29rem;
		/* 官网 .48rem */
		color: #333;
		padding: 0 .3rem;
		/* 官网 0 .5rem */
	}

	.footer .top {
		position: fixed;
		bottom: .09rem;
		/* 官网 .15rem */
		right: .09rem;
		display: none;
		line-height: 0;
	}

	.footer .top img {
		width: .72rem;
		/* 官网 1.2rem */
		height: auto;
	}

	/* --- 底部链接区（2 行 × 3 个）--- */
	.footer .footer-links {
		background-color: #2a64a4;
		height: 1.7rem;
		/* 官网 2.8rem ÷ 2 行 = 1.4rem/行 */
		text-align: center;
		padding: 0;
		overflow: hidden;
	}

	.footer .footer-links li {
		width: 33.3333%;
		height: .85rem;
		/* 官网 1.4rem */
		background: url(https://www.hunan.gov.cn/hnszf/xhtml/img/wap_links_line_bg.png) right no-repeat;
		padding: 0;
		border: none;
		border-bottom: 1px solid #437dbc;
		margin: 0;
	}

	.footer .footer-links li:not(.pc_show):nth-child(n+4) {
		border-bottom: none;
	}

	.footer .footer-links li a {
		display: inline;
		line-height: .85rem;
		/* 官网 1.4rem */
		font-size: .29rem;
		/* 官网 .48rem */
		color: #fff;
		padding: 0 .48rem;
		/* 官网 0 .8rem */
	}


	.footer .copyRight>div:nth-child(1) {
		height: 1.2rem !important;
	}

	.footer .copyRight>div:nth-child(2) {
		margin: 0 clamp(.2rem, 3vw, .2rem) !important;
		font-size: .24rem !important;
		line-height: 0.4rem !important;
	}

	.footer #imgConac {
		height: 1.09rem !important;		
	}

	/* 纠错图标（官网页内联 #_span_jiucuo img，rem 已换算；!important 便于官网代码重贴后依然生效） */
	.footer #_span_jiucuo img {
		display: block;
		height: .72rem !important;
		/* 官网 1.2rem */
		margin: .12rem 0 !important;
		/* 官网 .2rem 0 */
		position: relative;
		top: .18rem;
		/* 官网 .3rem */
	}

	.footer .footer-info {
		padding: 0;
		height: 2.23rem !important;
		/* 官网 3.7rem */
		background: #10568a;
		border: none;
	}

	.footer .footer-info table {
		width: 100%;
		margin-left: 0 !important;
		margin-top: 0 !important;
	}

	.footer .footer-info table td {
		width: 100%;
	}

	.footer .footer-info .address {
		width: 100% !important;
		text-align: center;
		padding-top: .17rem;
		/* 官网 .28rem */
		margin: 0;
		margin-left: 0 !important;
	}

	.footer .footer-info .address li {
		line-height: .43rem;
		/* 官网 .72rem */
		font-size: .22rem;
		/* 官网 .36rem */
		color: #67a3cf;
	}
}


/* ==========================================================================
   三、换算说明（维护备忘）
   --------------------------------------------------------------------------
   官网 js.js：
       var desinWidth = 1242;
       if (screen.width < 768) { docEl.style.fontSize = 100 * screen.width / 1242 + 'px'; }
   本项目 js/rem-adapter.js：
       var rem = min(视口宽, 750) / 7.5;  docEl.style.fontSize = rem + 'px';

   ⇒ 二者比值恒定 = (750/7.5) ÷ (1242/100) = 100 ÷ 12.42 → 官网 rem = 本项目 rem × 0.604
   （换算表）5.8→3.50  3.7→2.23  2.8→1.69  2.5→1.51  2.1→1.27  1.8→1.09  1.4→.85
             1.2→.72   0.8→.48  0.72→.43  0.6→.36  0.48→.29  0.4→.24  0.36→.22
             0.3→.18  0.28→.17  0.2→.12  0.15→.09

   还原方式：官网 rem 值 = 本文件/HTML 中的值 ÷ 0.604（例如 3.5rem ÷ 0.604 ≈ 5.8rem）
   注意：视口 > 750px 时项目 rem 被 rem-adapter 封顶在 100px，而官网仍线性增长，
        因此 750~1200px 区间底部尺寸不再继续放大（与专题页其余移动端样式表现一致）。
   ========================================================================== */