@charset "utf-8";
@import url(../lib/layui/css/layui.css);
body{
    margin: 0;
    padding: 0;
    background-color: #ededed;
    padding-bottom: 80px;
}
.wrap{
    padding: 15px 15px 60px 15px;
}
.head{

}
.head img{
    width: 100%;
}
.list{
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    clear: both;
    justify-content:space-between;
    height: 250px;
    overflow: hidden;
}
.list>div{
    width: 48%;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
}
.list>div div:first-child{
    font-size: 16px;
    line-height: 30px;
    font-weight: bold;
    color: #474747;
    padding: 10px 10px 0 10px;
}
.list>div div:last-child{
    font-size: 14px;
    color: #666;
    padding: 0 10px 10px 10px;
}
.list-on{
    height: auto;
}
.list-more{
    display: flex;
    height: 30px;
    justify-content: center;
    align-items: center;

}


.user{
    display: flex;
    align-items: center;
    background-color: #fff;
    justify-content:space-between;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 6px 15px;
}
.user>div:last-child{
    background-color: #ff4548;
    color: #fff;
    padding: 4px 10px;
    border-radius: 30px;
}
.user-vip{
    display: flex;
    align-items: center;
}
.user-vip>div:first-child{
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 30px;
}
.user-vip>div:first-child img{
    width: 100%;
}
.user-vip>div:last-child{
    padding-left: 10px;
    font-weight: bold;
    font-size: 16px;
}

.msg-list{
    display: flex;
    justify-content: space-between;
}
.msg-list>div:last-child{
    position: absolute;
    bottom: 30px;
    right: 17px;
    background-color: #e3b35f;
    color: #fff;
    border-radius: 3px;
    padding: 0 20px;
    height: 38px;
    line-height: 38px;
}

.msg-box{
    position: fixed;
    z-index: 10000;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f2f2f2;
    padding: 12px 15px 0px 15px;
}

.one{
    width: 100%;
    min-height: 18px;
    line-height: 18px;
    max-height: 300px;//超过最大高度会出现滚动条
border: 1px solid black;
    overflow-x: hidden;
    overflow-y: auto;
    /* outline: 0;定位光标的时候div不需要边框样式 */
    outline: 0;
    padding: 10px;
    text-align: justify;
    background-color: #fff;
    margin-right: 80px;
    border-radius: 3px;
}
/* 输入框为空时显示 placeholder */
.one:empty:before {
    content: attr(placeholder);
    color: #999;
}
/* 输入框获取焦点时移除 placeholder */
.one:focus:before {
    content: none;
}
.smile,.cry,.btn,.refresh{
    background-color: #fff;
    color: #777;
}

.selected{
    color: #ff4548;
}
.selected i{
    color: #ff4548;
}


.my-quest-box{

}
.my-quest-shi{
    color: #777;
    font-size: 16px;
}
.my-quest-shi>div{
    background: #fff;
    margin-bottom: 10px;
    line-height: 35px;
    border-radius: 35px;
}
.my-quest{
    display: flex;
    margin-top: 10px;
}
.my-quest>div:first-child{
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
}
.my-quest>div:first-child img{
    width: 42px;
    height: 42px;
}
.my-quest>div:nth-child(2){
    float: left;
    width: 0;
    height: 0;
    margin-top: 13px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent  #fff transparent transparent ;
}
.my-quest>div:last-child{
    background-color: #fff;
    color: #555;
    border-radius: 4px;
    padding: 10px;
    width: 290px;
    font-size: 16px;
    text-align: justify;
}
.my-quest-fun{
    display: none;
    padding-left: 50px;
    margin-top: 10px;
}
.my-quest-fun>div{
    display: flex;

    align-items: center;
    background-color: #fff;
    /*color: #777;*/
    border-radius: 26px;
    padding: 3px 10px;
    margin-right: 10px;
}

.my-quest-kz{
    display: none;
    flex-direction: column;
    padding-left: 52px;
}
.my-quest-kz>div:first-child{
    height: 46px;
    line-height: 46px;
    color: #555;
    font-size: 16px;
    font-weight: bold;
}
.my-quest-kz>div:nth-child(2) div{
    background: #fff;
    margin-bottom: 10px;
    height: 30px;
    line-height: 30px;
    border-radius: 30px;
    padding-left: 14px;
    color: #777;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.my-quest-kz>div:last-child{

}
.my-quest-kz>div:last-child span{
    float: right;
    padding-right: 10px;
    color: #dedede;
}

.you-quest-box{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin: 15px 0;
}
.you-quest-box>div:first-child{
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
}
.you-quest-box>div:first-child img{
    width: 42px;
    height: 42px;
}

.you-quest-box>div:nth-child(2){
    float: left;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #a8ea7c;
}

.you-quest-box>div:last-child{
    /*background-color: #e3b35f;*/
    background: linear-gradient(to right bottom, #a8ea7c, #a8ea7c 30px);
    border-radius: 4px;
    color: #666;
    padding: 10px;
    max-width: 265px;
    box-shadow: 0px 1px 3px #dedede;
    font-size: 16px;
}

.you-quest{
    padding: 15px 20px;
    white-space: pre-line;
}
.you-btn{
    display: flex;
    border-top: 1px solid #f2f2f2;
}
.you-btn>div{
    margin: 8px 10px;
    padding: 5px 12px;
    border-radius: 40px;
    border: 1px solid #f2f2f2;
}

.reboot-pc{
    display: none;
}


.mask{
    top: 0;
    left: 0;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.mask-box{
    position: relative;
    width: 300px;
    height: 500px;
}
.mask-box>div:last-child{
    display: flex;
    justify-content: center;
}
.mask-box>div:last-child img{
    width: 30px;
}
.mask-top{
    width: 100%;
    height: 450px;
}
.mask-top>div:first-child{
    display: flex;
    justify-content: center;
}
.mask-top>div:first-child img{
    position: absolute;
    z-index: 1000;
    width: 86%;
}
.mask-top>div:nth-child(2){
    position: absolute;
    top: 100px;
    width: 100%;
    background-color: #fff;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 8px 8px 0 0;
}
.mask-top>div:nth-child(2) div{

}
.mask-top>div:nth-child(2) div:first-child{
    font-size: 20px;
    font-weight: bold;
    line-height: 50px;
    color: #666;
}
.mask-top>div:nth-child(2) div:last-child{
    color: #999;
}
.mask-top>div:last-child{
    display: flex;
    position: absolute;
    background-color: #fff;
    height: 80px;
    width: 100%;
    top: 340px;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 8px 8px;
}
.mask-top>div:last-child div{
    width: 150px;
    height: 40px;
    line-height: 40px;
    background-color: #ff4548;
    border-radius: 50px;
    text-align: center;
    color: #fff;
}

.layui-layer-setwin .layui-layer-close2{
    right: -8px;
    top: -8px;
}

/*  布局相关样式  */
.ub {
    display: -webkit-box !important;
    position:relative;
}
.ub-ac {
    -webkit-box-align:center;
}
.ub-ae {
    -webkit-box-align:end;
}
.ub-pc {
    -webkit-box-pack:center;
}
.ub-pe {
    -webkit-box-pack:end;
}
.ub-pj {
    -webkit-box-pack:justify;
}
.ub-ver {
    -webkit-box-orient:vertical;
}
.ub-f1 {
    position:relative;
    -webkit-box-flex: 1;
}
.ub-f2 {
    position:relative;
    -webkit-box-flex: 2;
}
.footer {
    overflow:hidden;
    position:fixed;
    bottom:0px;
    z-index:1000;
    width:100%;
}