/* 清除浏览器差异 */
* {margin: 0;padding: 0;border: none;outline: none;resize: none;}
body {margin: 0 auto;font-family: "微软雅黑";}
img {vertical-align: middle;}
a {text-decoration: none;}
li {list-style: none;}
/* 公共部分 */
.center {min-width: 320px;max-width: 750px;}
.clear:after {content: "";display: block;clear: both;}
.table-q:before {content: "";display: table;}
.table-h:after {content: "";display: table;}
/* 头部 */
#header-box {height: 1.2rem;font-size: 0;}
#header {width: 100%;height: 1.2rem;line-height: 1.2rem;background: #2962ff;position: fixed;top: 0;z-index: 999;}
.header-left {float: left;}
.header-right {float: right;}
/* 菜单栏 */
.menu-bar {float: left;padding: 0 0.32rem;}
.menu-bar img {width: 0.5466666666666667rem;position: relative;}
/* 选择地区 */
.region {float: left;padding: 0 0.2rem;}
.region-name {color: #fff;font-size: 0.4266666666666667rem;vertical-align: middle;line-height: 1;display: inline-block;margin-right: 0.2rem;}
.region img {width: 0.2133333333333333rem;}
/* 搜索框 */
.header-center {float: right;display: none;position: relative;margin-right: 0.2rem;}
.header-center form input {width: 5.8rem;height: 0.8rem;border-radius: 0.8rem;box-sizing: border-box;padding-left: 0.4rem;vertical-align: middle;font-size: 0.4rem;}
.header-center form input::-webkit-input-placeholder {color: #D5D8DA;font-size: 0.4rem;}
.header-center form input::-moz-placeholder {color: #D5D8DA;font-size: 0.4rem;}
.header-center form input:-moz-placeholder {color: #D5D8DA;font-size: 0.4rem;}
.header-center form input::-ms-input-placeholder {color: #D5D8DA;font-size: 0.4rem;}
/* 搜索下拉 */
#suggest2 {z-index: 999;top: 1rem;left: 0;background: #fff;border: 1px solid #d8d8d8;width: 270px;position: absolute;display: none;font-size: 15px;}
#suggest2 li {list-style: none;line-height: 30px;padding-left: 0.4rem;}
#suggest2 li:hover {cursor: pointer}
#suggest2 strong {color: #179df2;}
/* 搜索 */
.search {float: left;padding: 0 0.2rem;}
.search img {width: 0.4533333333333333rem;}
/* 取消搜索 */
.no-search {float: left;padding: 0 0.2rem;display: none;}
.no-search img {width: 0.4533333333333333rem;}
/* 用户 */
.person {float: left;padding: 0 0.32rem;}
.person img {width: 0.4133333333333333rem;}
/* 数据中心 */
#data-center {background: url(../images/data-bg.jpg) no-repeat;background-size: 100% auto;background-color: #fff;padding-bottom: 0.36rem;}
/* logo */
.logo {height: 1.9733333333333334rem;text-align: center;line-height: 1.9733333333333334rem;}
.logo img {width: 3.6533333333333333rem;height: 0.9866666666666667rem;}
/* 猪价详情 */
#pig-price-details {background: #eef5f9;padding-top: 0.6933333333333334rem;}
/* 全国生猪 & 仔猪价格查询 */
.price-inquiry {width: 9.36rem;margin: 0 auto;background: #fff;border-radius: 0.13333333333333333rem;box-shadow: 0 0 0.48rem rgba(211,215,221,0.6);}
.price-inquiry p {background: #77a8ff;border-radius: 0.13333333333333333rem 0.13333333333333333rem 0 0;height: 1.2533333333333334rem;line-height: 1.2533333333333334rem;padding-left: 0.26666666666666666rem;font-size: 0;}
.price-inquiry p span {font-size: 0.4rem;color: #fff;vertical-align: middle;}
.price-inquiry p img {width: 0.3466666666666667rem;margin-right: 0.16rem;}
.price-inquiry ul {padding: 0.10666666666666667rem 0.4266666666666667rem;}
.price-inquiry ul li {border-top: 1px solid #e5e2e2;}
.price-inquiry ul li:nth-child(1) {border-top: none;}
.price-inquiry ul li a {font-size: 0.32rem;color: #4a5a7f;margin: 0 0.56rem;height: 1rem;line-height: 1rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block;}
/* 底部 */
#footer-box {height: 1.5333333333333334rem;}
#footer {background: #fff;height: 1.5333333333333334rem;position: fixed;bottom: 40px;z-index: 999;width: 100%;padding: 0.26666666666666666rem 0;box-sizing: border-box;box-shadow: 0 0 0.48rem rgba(211,215,221,0.6);}
#footer li {width: 25%;float: left;text-align: center;line-height: 0.4266666666666667rem;}
#footer li a span {font-size: 0.32rem;color: #666;display: block;}
#footer li a span.active {color: #3f79e2;}
#footer li a img {height: 0.5733333333333334rem;}
/* 悬浮球 */
#suspended-ball {position: fixed;right: 0.32rem;bottom: 3rem;border-radius: 50%;z-index: 10002;}
#suspended-ball img {width: 1.5rem;}
/* 悬浮球对应内容 */
#suspended-ball-detail {position: fixed;top: 0;background: rgba(0,0,0,0.5);width: 100%;height: 100vh;z-index: 10000;display: none;}
.tools {position: fixed;top: 0;right: 0;width: 6.533333333333333rem;height: 100vh;background: #edf5f8;z-index: 10001;-webkit-transform: translateX(180%);-o-transform: translateX(180%);-ms-transform: translateX(180%);-moz-transform: translateX(180%);transform: translateX(180%);}
.tools h2 {height: 1.2rem;line-height: 1.2rem;color: #fff;font-size: 0.4rem;padding-left: 0.5333333333333333rem;}
.tools h2:nth-of-type(1) {background: #76a8ff;}
.tools h2:nth-of-type(2) {background: #f89657;}
.tools ul {background: #fff;padding: 0.6666666666666666rem 1.0666666666666667rem;box-sizing: border-box;margin-bottom: 0.4rem;}
.tools ul li {float: left;margin: 0 1.12rem 0.4rem 0;}
.tools ul li:nth-child(2n) {margin-right: 0;}
.tools ul li:nth-child(3) {margin-bottom: 0;}
.tools ul li:nth-child(4) {margin-bottom: 0;}
.tools ul li a img {border-radius: 50%;width: 1.64rem;}
.tools ul li a span {font-size: 0.32rem;color: #4a5980;display: block;text-align: center;margin-top: 0.16rem;}
/* 更多详情 */
#more-detail {position: fixed;right: 0.26666666666666666rem;bottom: 2.7rem;width: 2.6666666666666665rem;background: #4079e2;padding: 0.29333333333333333rem 0 0.13333333333333333rem;border-radius: 0.06666666666666667rem;z-index: 100000;display: none;}
#more-detail li {width: 2.2rem;height: 0.5066666666666667rem;line-height: 0.5066666666666667rem;border-radius: 0.5066666666666667rem;text-align: center;background: #fff;margin: 0 auto 0.16rem;}
#more-detail li a {font-size: 0.29333333333333333rem;color: #307cde;display: block;}
#more-detail:after {content: "";position: absolute;bottom: -0.24rem;right: 0.5333333333333333rem;border-top: 0.24rem solid #4079e2;border-bottom: none;border-left: 0.24rem solid transparent;border-right: 0.24rem solid transparent;}
/* 模态框 */
#mask {position: fixed;top: 1.2rem;background: rgba(0,0,0,0.5);width: 100%;height: calc(100vh - 1.2rem);z-index: 100001;display: none;}
/* 侧边栏 */
#sidebar {background: #76a8ff;width: 4.4rem;height: calc(100vh - 1.2rem);z-index: 100002;padding-top: 0.6rem;box-sizing: border-box;position: fixed;top: 1.2rem;-webkit-transform: translateX(-280%);-o-transform: translateX(-280%);-ms-transform: translateX(-280%);-moz-transform: translateX(-280%);transform: translateX(-280%);}
#sidebar li {width: 3.533333333333333rem;height: 1rem;line-height: 1rem;border-radius: 1rem;text-align: center;background: #4079e2;margin: 0 auto 0.26666666666666666rem;}
#sidebar li a {color: #fff;font-size: 0.4rem;display: block;}
/* 动画特效 */
.time {-webkit-transition: all 0.5s ease-out;-o-transition: all 0.5s ease-out;-ms-transition: all 0.5s ease-out;-moz-transition: all 0.5s ease-out;transition: all 0.5s ease-out;}
.rotate45 {-webkit-transform: rotate(45deg);-o-transform: rotate(45deg);-ms-transform: rotate(45deg);-moz-transform: rotate(45deg);transform: rotate(45deg);}
.rotate180 {-webkit-transform: rotate(180deg);-o-transform: rotate(180deg);-ms-transform: rotate(180deg);-moz-transform: rotate(180deg);transform: rotate(180deg);}
.tools.translatex,#sidebar.translatex {-webkit-transform: translateX(0%);-o-transform: translateX(0%);-ms-transform: translateX(0%);-moz-transform: translateX(0%);transform: translateX(0%);}
/* 模态框 */
#region-mask {position: fixed;top: 1.2rem;height: calc(100% - 1.2rem);width: 100%;background: rgba(0,0,0,0.5);z-index: 10003;display: none;}
.time_color {color: #fff;font-size: 0.4266666666666667rem;text-align: center;}
.bold {font-weight: bolder;}
/* 养猪宝下载 */
.yzb_div_box {height: 40px;}
.yzb_div{width: 100%;height: 40px;background: #ffffff;position: fixed;bottom: 0;box-shadow:0 -2px 3px -1px #dfdfdf;z-index: 999;}
.yzb_div p {width: 4.2rem;float: left;line-height: 42px;font-size: 15px;text-align: center;color: #666;}
.yzb_img{float: left;width: 2.2rem;margin:7px 0 0 10px;}
.yzb_img img {display: block;}
.yzb_xz{float: right;width: 2.2rem;height:25px;line-height:25px;background: #30993a;border-radius: 15px;text-align: center; color: #fff;margin:7px 10px 0 0;}
.yzb_xz a{color: #ffffff;font-size: 14px;display: block;}
/* 隐私政策 模态框 */
.privacy-mask {position: fixed;top: 0;left: 0;background: rgba(0,0,0,0.5);width: 100%;height: 100vh;z-index: 100001;display: none;}