@charset "utf-8";

* {
   -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
   margin: 0px;
   padding: 0px;
   -webkit-text-size-adjust: 100%;
   font-family: -apple-system, "PingFang SC","Helvetica Neue", Helvetica, STHeiTi, sans-serif;
   -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
   font-size: 62.5%;
    background: transparent;
}

body {
    width: 100%;
    height: 100%;
   -webkit-overflow-scrolling: touch;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, sumary {
    margin: 0;
    padding: 0;
}

input, select,textarea {
    border: 0;
    -webkit-appearance: none;
    appearance:none;
}

ol, ul {
    list-style: none;
}

*:not(input, select, textArea) {
    -webkit-user-select: none;
}

img,a{
    -webkit-touch-callout:none;
}

a,a:active,a:hover {
    text-decoration: none;
}

a,button,input,textarea{ 
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
/*css reset end*/

.body_bg{
    background: url('../img/home-bg.jpg') repeat-y;
    background-size: contain;
}
.banner img{
    width: 100%;
}
.home_nav{
    display: flex;
    justify-content:space-around;
    padding: 15px 0;
}
.nav_list{
    width: 160px;
    height: 40px;
    background: #fff;
    padding: 3px;
    border-radius: 20px;
}
.nav_list span{
    display: block;
    height: 100%;
    line-height: 36px;
    background: #00b4c7;
    border-radius: 20px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    font-weight: bold
}
.nav_list.current span{
    background: url('../img/home-nav-hover.png') no-repeat;
    background-size: cover;
    color: #dcf3cb;
}
.work_box ul{
    display: flex;
    flex-wrap: wrap;
    padding-left:10px;
}
.work_list{
    width: 49%;
    padding-right: 10px;
    margin-bottom: 10px;
}
.work_info{
    background: #fff;
    height: 100%;
    padding: 5px 5px 10px;
}
.work_pic_box{
    width: 100%;
    height: 110px;
    overflow: hidden;
    position: relative;
}
.work_pic_box img{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}
.work_name{
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #5a5a5a
}
.work_info_mid{
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    padding: 10px 0;
}
.work_info_mid {
    display: flex;
    justify-content: space-between;
    margin: 0 15px;
}
.work_info_btn{
    /* width: 50%; */
    color: #666;
    font-size: 14px;
}
.work_author{
    margin-top: 10px;
    color: #999;
    font-size: 14px;
}
.share_icon,.arrow_icon{
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: cover;
    vertical-align: middle;
    margin-left: 3px;
}
.share_icon{
    background-image: url('../img/share.png');
}
.arrow_icon{
    background-image: url('../img/arrow-right.png');
}


/*ranking*/
.ranking_box{
    position: relative;
    border: 2px solid #cae3e2;
    border-radius: 5px;
    margin: 30px 10px;
    padding: 20px 20px;
    background: #fff;
}
.ranking_title{
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -66px;
    height: 40px;
    width: 132px;
    border-radius: 20px;
    border: 3px solid #fff;
    text-align: center;
    box-shadow: 0px 0px 3px 2px #c8def0;
}
.ranking_title span{
    display: block;
    height: 100%;
    line-height: 36px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: url('../img/ranking-title-bg.png') no-repeat;
    background-size: cover;
}
.ranking_list{
   
}
.ranking_list li{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #d6d6d6;
    font-size: 14px;
}
.ranking_list li:nth-child(-n+3) .ranking_num{
    background: #f94b86;
    color: #fff;
}
.ranking_list li:nth-child(-n+3) .user_name{
    color: #f94b86
}
.ranking_num{
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #e1e1e1;
    color: #666;
    border-radius: 50%;
    vertical-align: middle;
}
.user_info{
    margin-left: 10px;
}
.avatar{
    width: 40px;
    border-radius: 50%;
    vertical-align: middle;
}
.user_name{
    color: #111;
    margin-left: 10px;
}
.user_num{
    color: 666;
    margin-left: 10px;
}
.vote_num{
    flex: 1;
    text-align: right;
    color: #4e94d1
}
/*ranking end*/

/*投票规则*/
.rule_content{
    margin-top: 20px;
}
.rule_content p{
    font-size: 14px;
    color: #61809b;
    line-height: 26px;
}