/*
  * 集合 bbs 帖子详情页 插卡模块 公共样式相关  - wap
*/

/******     m_gameBox  游戏插卡   ******/
.m_gameBox {
    width:254px;
     height:74px;
    background:#fafafa;
    position: relative;
    border-radius:4px;
    margin:8px 0;
    text-align: left;
    padding: 0 12px 0 74px;
}
.m_gameBox .pic {
    position: absolute;
    width:50px;
    height:50px;
    top: 50%;
    left: 12px;
    margin-top:-25px;
}
.m_gameBox .pic  img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}
.m_gameBox .info {
padding-top:15px;
}

.m_gameBox .title {
    color: #333;
    font-size:14px;
    font-weight: bold;
    line-height:24px;
}
.m_gameBox .info_m {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 44px;
}
.m_gameBox .info .view,.m_gameBox .info .title{
    width: 72%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.m_gameBox .info .view,.m_gameBox .time{
    line-height: 20px;
    font-size:12px;
}
.m_gameBox .info .view {
    color: #999;
}
.m_gameBox .time,.m_gameBox .info_yuyue .view  {
    color: #ffa92d;
}
.m_gameBox .btn,.m_gameBox .btn_yuyue,.m_gameBox .btn_hui{
    color: #fff;
    font-size:12px;
    text-align:center;
    width: 56px;
    height: 28px;
    line-height: 28px;
    position: absolute;
    right: 12px;
    border-radius:4px;
    top:50%;margin-top:-14px;
}
.m_gameBox .btn {
    background: #54ba3d;
}
.m_gameBox .btn_yuyue {
    background: #ffa92d;
}
.m_gameBox .btn_hui {
    background: #C3C3C3;
}

/******     newActCard  活动插卡   ******/
.newActCard{
    background-color: #fff;
    border-radius: 8px;
    height: 240px;
    max-width: 328px;
    /*max-width: 100%;*/
    box-shadow: 0 0 10px rgba(95, 95, 110, 0.12);
    overflow: hidden;
    margin:0 auto;position: relative;
}
.newActCard .photo{
    height: 184px;display: block;
    /*max-width: 328px !important;*/
}
.newActCard .info{
    height: 29px;
    padding:15px 12px 0;
    position: relative;
}
.newActCard .info .title{display: none;height: 0;margin:0;padding:0;}
.newActCard .actBar{
    position: relative;
    display: inline-block;
    padding-right:9px;
    padding-left:32px;
    height: 38px;
    transform: scale(0.67);
    transform-origin: left top;
}
.newActCard .actBar:before,.newActCard .actBar:after{
    position: absolute;
    content: '';
}

.newActCard .actBar:after{
    left:0;right:0;bottom:0;
    height: 16px;
    border-radius: 3px;
    background-color: #FF6600;
    opacity: 0.3;
}
.newActCard .actBar .in{
    padding-top: 10px;display: inline-block;
    position: relative; z-index: 200;
}
.newActCard .actBar:before,.newActCard .actBarGry:before,
.ico-long,.ico-end,.ico-day,.ico-nday,.ico-start,.ico-gry{background:url(../images/sprites-hd_a.png) no-repeat;background-size:113px 232px; display:inline-block;}


.ico-day{background-position:0 0px;width:43.5px;height:20px;}
.ico-end{background-position:0 -26px;width:76px;height:21px;}
.ico-gry{background-position:0 -53px;width:95.5px;height:21px;}
/*.ico-huo{background-position:0 -80px;width:30px;height:33px;}*/
/*.ico-huo_gry{background-position:0 -119px;width:30px;height:33px;}*/
.ico-long{background-position:0 -158px;width:75px;height:21px;}
.ico-nday{background-position:0 -185px;width:39px;height:20px;}
.ico-start{background-position:0 -211px;width:113px;height:21px;}

.ico-txt{color: #FF6600;font-size:18px;font-weight: bold; vertical-align: top;}

.newActCard .actBar:before{
    background-position:0 -80px;
    width:30px;height:33px;
    left: 2px;bottom:4px;
    z-index: 100;
}
.newActCard .actBarGry{}
.newActCard .actBarGry:before{
    background-position:0 -119px;
}
.newActCard .actBarGry:after{
    background-color: #999;
}

.newActCard .btn,.mod_postlist .post_main .newActCard .btn{
    position: absolute;
    right: 12px;
    background: url(../images/act-btn.png) no-repeat 100%;
    background-size: contain;
    width: 88px;
    height: 31px;text-indent: -9999px;
    top:50%;margin-top:-11px;
    padding:0;
}

/*.mod_postlist .post_main .newActCard .btn{*/
/*    top: inherit;margin-top:0;*/
/*    bottom:13px;*/
/*}*/

/******     m-bx_tool  工具插卡   ******/
.m-bx_tool{
    border-radius: 4px;
    background: #FAFAFA;padding:12px 80px 12px 124px;position:relative;
    margin:15px auto 0;
    width:130px;min-height:50px;
}
.m-bx_tool .img{
    width: 100px;
    height: 50px;border-radius: 4px;
    position: absolute;left: 12px;top:12px;
}
.m-bx_tool .bxVer{
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    text-align: left;
    height: 50px;

}

.m-bx_tool .tit,
.m-bx_tool .txt{
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 24px; /* height: 24px; */}
.m-bx_tool .txt{
    color: #999;
    font-size: 12px;
    margin-left: -112px;
    width: 310px;
    margin-top: 5px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    word-break: break-all;
}
.m-bx_tool .tit{
    position: relative;
    color:#333;font-size:14px; width: 137px;
    margin-top:3px;
    top:50%;
    -webkit-transform:translate(0,-50%);
    transform:translate(0,-50%);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: block;
    display: -webkit-box;
    line-height: 21px;
    max-height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}
.m-bx_tool .btn{
    border-radius: 4px;width:54px;height:26px;line-height: 26px;color:#333;font-size: 12px;
    border: 1px solid #D4D4D4;text-align: center;position: absolute;right:12px;
    /*top:50%;margin-top:-14px;*/ top:22px;
}
.m-bx_tool a{
    display: block;
}
.m-bx_tool a:hover{
    text-decoration: none;
}
.m-bx_tool a:hover .btn{
    border-color: #78C664; color: #78C664;
}

/******     m_goods  福利商品插卡   ******/
.m_goods{
    padding:10px 0;
}
.m_goods .m_goods-in .title{display: none;height: 0;margin:0;padding:0;}
.m_goods .tip{
    color: #FFA92D;line-height: 40px;font-size:12px;background: #F8F5F1;border-radius: 4px;padding:0 10px 0 35px;position: relative;
}
.m_goods .tip:before{
    background: url(../images/dialog_a.png) 0 -76px no-repeat;
    position: absolute;    content:'';
    height: 18px;
    width: 18px;
    left: 10px;
    top: 50%;
    margin-top: -9px;
}
