﻿html,
body {
    height: 100%;
    background: #fff;
}

body {
    -webkit-font-smoothing: subpixel-antialiased;
    position: relative;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

.line {
    width: 100%;
    height: .15rem;
    background: #f4f4f4
}


/*攻略列表*/

.content {
    min-height: 100%;
    margin-bottom: .1rem;
}

.list {
    overflow: hidden;
    padding-bottom: 1.5rem;
}

.list li {
    width: 95%;
    margin: 0 auto;
    margin-top: .15rem;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.list .prevImg {
    width: 3.2rem;
    height: 1.8rem;
}

.list .prevImg img {
    width: 3.2rem;
    height: 1.8rem;
}

.list .title {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.list .title h2 {
    font-size: .3rem;
    font-weight: normal;
    text-align: left;
    margin: -.05rem 0 0 .2rem;
    height: 1rem;
    line-height: .5rem;
    overflow: hidden;
}

.list .title h2 a {
    color: #000;
}

.list .title .btns {
    margin-left: .2rem;
    text-align: left;
}

.list .title .btns div {
    display: inline-block;
}


/* 投票列表 */

.lists {
    overflow: hidden;
    /* padding-bottom: 1.5rem; */
}

.lists li {
    width: 95%;
    margin: 0 auto;
    margin-top: .15rem;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.lists .prevImg {
    width: 3.2rem;
    height: 1.8rem;
}

.lists .prevImg img {
    width: 3.2rem;
    height: 1.8rem;
}

.lists .title {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.lists .title h2 {
    font-size: .3rem;
    font-weight: normal;
    text-align: left;
    margin: -.05rem 0 0 .2rem;
    height: 1rem;
    line-height: .5rem;
    overflow: hidden;
}

.lists .title h2 a {
    color: #000;
}

.lists .title .bottom {
    text-align: left;
}

.lists .title .hitCount,
.lists .title .control {
    display: inline-block;
}

.lists .title .hitCount {
    margin-left: .2rem;
    font-size: .28rem;
    color: #e33f3f;
}

.lists .title .control {
    float: right;
    margin-top: .25rem;
}

.lists .title .control p {
    display: inline-block;
    width: 1.15rem;
    height: .5rem;
    background: url(../img/hit.png) no-repeat;
    background-size: 100% 100%;
}


/*倒计时*/

.update {
    font-family: "宋体";
    font-size: .3rem;
}

.end {
    font-family: "宋体";
    font-size: .3rem;
}


/*弹出以及遮罩*/

.mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
}

.maskWrap {
    position: absolute;
    top: 50%;
    left: 50%;
    /* right: 0;
  bottom: 0; */
    width: 80%;
    height: 3.5rem;
    /* margin: auto; */
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.mask p {
    display: inline-block;
    color: #fff;
    font-size: .3rem;
    text-shadow: 0 0 .1rem #fff;
}

.mask .payWay {
    margin-top: .3rem;
    color: #fff;
    font-size: .3rem;
}

.mask .payWay input {
    width: .3rem;
    height: .3rem;
}

.mask .num {
    margin-top: .3rem;
    overflow: hidden;
}

.mask .num span,
.mask .num input {
    display: inline-block;
    width: 1rem;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 5px #fff;
    border-radius: .05rem;
    -webkit-border-radius: .05rem;
    -moz-border-radius: .05rem;
    -ms-border-radius: .05rem;
    -o-border-radius: .05rem;
    font-size: .3rem;
}

.mask .num span {
    /*height: 30px;
line-height: 30px;*/
    height: .5rem;
    line-height: .5rem;
}

.mask .num input {
    /*height: 28px;
line-height: 28px;*/
    height: .5rem;
    line-height: .5rem;
    border: 1px solid #fff;
    vertical-align: top;
    margin: 0 .2rem;
}

.mask .btns {
    margin-top: .3rem;
    overflow: hidden
}

.mask .btns button {
    width: 1.5rem;
    margin-left: .05rem;
    padding: .1rem 0;
    border: none;
    background: #fff;
    font-size: .3rem;
    box-shadow: 0 0 5px #fff;
    border-radius: .05rem;
    -webkit-border-radius: .05rem;
    -moz-border-radius: .05rem;
    -ms-border-radius: .05rem;
    -o-border-radius: .05rem;
}


/* 搜索 */

.search {
    width: 98%;
    margin: 0 auto;
    background-color: white;
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.search div.select_box {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: .6rem;
    line-height: .6rem;
    border: none;
    background: #fff;
    border: 2px solid #326D93;
}

.search input[type="text"] {
    width: 100%;
    height: .5rem;
    line-height: .5rem;
    border: none;
    outline: 0;
    background-color: white;
    font-size: .28rem;
}

.search input[type="button"] {
    width: 1rem;
    height: 0.65rem;
    margin-left: .1rem;
    font-size: .3rem;
    border: none;
    border-radius: .15rem;
    background: #326D93;
    color: #fff;
    cursor: pointer;
}