﻿/**
 *   ================================================
 *             公共样式库  
 *                                ——V1.0
 *   ================================================
 * 
 */

body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
ol,
dl,
dd,
p,
input,
i,
small,
a {
  padding: 0;
  margin: 0;
  border：0;
}
/* 隐藏滚动条 */
body{     
  /* overflow-x: hidden;     
  overflow-y: auto;    */
  overflow-y: scroll; 
  scrollbar-arrow-color:#f2f2f3;  /*上下箭头*/
    scrollbar-track-color:#1589ce;  /*底层背景色*/
    scrollbar-face-color:#27aeff;   /*滚动条前景色*/
    scrollbar-Shadow-color:#1589ce; /*滚动条边线色*/
  
}  
/*chrome滚动条颜色设置*/
body::-webkit-scrollbar {width:10px; height:10px; background-color:transparent;} /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
body::-webkit-scrollbar-track {background-color:#ccc; border-radius:10px; -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);} /*定义滚动条轨道 内阴影+圆角*/
body::-webkit-scrollbar-thumb {background-color:#555; border-radius:10px; -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);} /*定义滑块 内阴影+圆角*/

a {
  outline: none;
}
a {
  text-decoration: none;
  border: 0;
}
ul,
li {
  list-style: none;
}
img {
  border: 0;
  display: block;
  width: 100%;
}
span{
  border: 2px solid #023;

}

/*自适应根*/
html {
  font-size: 10vw;
}
body {
  font-family: "Microsoft YaHei", arial, helvetica, sans-serif;
  font-size: 14px;
  min-height:100vh;
  background-color: #a5b0ca;
  max-width: 750px;
  margin: 0 auto;
  /* background: url(../images/bjs_02.jpg) no-repeat center/100% 100%; */
}
@media screen and (max-width: 320px) {
  body{font-size:12px;}
}

/*膜态层样式*/
.model {
  width: 0;
  height: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin:auto;
  z-index: 1000;
  transition: 0.3s ease;
}
/*我的福袋*/
.fudai_box{
  border-radius: 5px;
  position: absolute;
  top:0.4rem;
  left:0.84rem;
  width:1.4rem;
  height: 1.4rem;
  background: url(../images/zml_fudai.png) no-repeat center/100% 100%;
}
.fudai_num{
  display: block;
  position: absolute;
  top:0rem;
  right:0rem;
  background-color: #fad24c;
  color:#851d1a;
  width:0.44rem;
  height:0.44rem;
  border-radius: 50%;
  text-align: center;
  line-height:0.44rem;
  font-size:0.8em;
  border:2px solid #851d1a;
}
/*寻宝规则*/
.rules{
  font-style:normal;
  color:#fff;
  font-weight: 500;
  font-size:1.1em;
  line-height:0.7rem;
  padding:0 0.2rem;
  position: absolute;
  bottom:0.3rem;
  right:0.6rem;
}

/*规则弹框*/
.rules_alert_box{
  background: url(../images/rules_bg_02.jpg) no-repeat center/100% 100%;
}
.rules_alert{
  padding:15vh 0 20vh;
  width:6.46rem;
  margin:0 auto;
  max-height:50vh;
  position: relative;
}
.rules_alert .alert_title{
  color:#851d1a;
  text-align: center;
  font-size:1.4em;
  line-height: 0.8rem;
  padding-bottom:0.4rem;
}
.rules_alert .alert_rules_txt{
  font-size:1em;
  line-height:0.56rem;
  color:#851d1a;
}
.alert_rules_btn{
  width:4.2rem;
  height:1.4rem;
  background: url(../images/alert_ok_btn.png) no-repeat center/100% 100%;
  margin:1rem auto 0;
}
/**
    信息弹框样式
*/
.alert_box{
  width:6.9rem;
  min-height:3.4rem;
  background: url(../images/alert_bg.png) no-repeat center/100% 100%;
  transform: translate(-50%,-50%);
  position: absolute;
  top:50%;
  left:50%;
  padding:2.1rem 1rem 2.5rem;
}
.alert_box .alert_close{
  width:1rem;
  height:1rem;
  border-radius: 50%;
  position: absolute;
  top: -0.05rem;
  right: 0.22rem;
}
.alert_title{
  line-height:1rem;
  font-size:1.2em;
  font-weight: 800;
  text-align: center;
}
.alert_txt{
  padding:0.1rem 0.4rem 0.4rem;
  text-align: center;
  font-size:1.1em;
  line-height:0.68rem;
}  
.alert_txt span{
  color:red;
}
.alert_btn{
  position: absolute;
  bottom:1rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width:4rem;
  height:1.5rem;
  background: url(../images/alert_share_btn.png) no-repeat center/100% 100%;
}
