/* //////////////// modal //////////////////// */
.modal-img-wrapper{
    text-align: center;
}
.price{
    margin:0 auto;
}
.ncon_tit{
    margin-top: 24px;
}

.detail-modal-background{
    width: 100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    position:fixed;
    top: 0;
    left: 0;
    z-index:9999; display: none;
}
.detail-modal-background .layerpop_buy{
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    width:100%;
    max-width:400px;
    padding:30px 0;
    background:#fff;
    z-index:11;
    position:relative;
}
.detail-modal-background .layerpop_buy .pop_tit{
    font-size:20px;
	font-weight: bold;
    line-height: 22px;
    border-bottom: 1px solid #ddd;
    position:relative;
    padding-bottom:36px;
    margin:0 30px 0;
}
.detail-modal-background .layerpop_buy a.btn_layer_close{
    display:block;
    width:20px;
    height:20px;
    background: url(/img/new/openstore/v2/close_x.png) no-repeat center;
    background-size:22px;
    position:absolute;
    top:0;
    right:0;
}
.detail-modal-background .layerpop_buy .pop_contents{
    padding:20px 30px 0;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_thumb{
    float:left;
    margin:0 20px 30px 0;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_info{
    float:left;
    width: 100%;
    text-align: center; 
    margin-bottom: 20px;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_info p.ncon_tit{
    font-size:18px;
	font-weight: bold;
	padding-top: 10px;
	border-top: 1px solid #ddd;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_info p.novel_tit{
    font-size:16px;
    color: #666;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
    margin-bottom:10px;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_info p.price{
    background: url(/img/new/openstore/v2/icon_coin.png) no-repeat 10px center #f1eeff;
    border: 1px solid #dae0f1;
    background-size:22px;
    width: 90px;
    height: 32px;
    line-height:32px;
    border-radius:20px;
    color:#000;
    text-align:center;
    padding-left:25px;
    font-weight:bold;
    font-size:14px;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_thumb img{
    width:90px;
}
.detail-modal-background .layerpop_buy .buy_notice{
    clear:both;
    font-size:14px;
    color:#999;
    padding:10px 15px;
    background:#fff;
    margin-bottom:0px;
}
.detail-modal-background .layerpop_buy .pop_btn_area {
    text-align: center;
}
.detail-modal-background .layerpop_buy .pop_btn_area a.popbtn_buy{
    width: 340px;
    height:50px;
    line-height:45px;
    background: #704bfa;
    color: #fff;
    display:inline-block;
    margin: 0 auto;
    text-align: center;
}
.detail-modal-background .layerpop_buy .pop_btn_area a.close_btn{
    width: 160px;
    height: 45px;
    line-height: 45px;
    background: #eee;
    color: #999;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

@media screen and (max-width: 891px) {

.ncon_tit{
    margin-top: 22px;
}

.detail-modal-background .layerpop_buy .pop_btn_area a.popbtn_buy{
    width: 297px;
    height:50px;
    line-height:45px;
    background: #704bfa;
    color: #fff;
    display:inline-block;
    margin: 0 auto;
    text-align: center;
}
.detail-modal-background .layerpop_buy{
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    width:92%;
    max-width:400px;
    padding:24px 0;
    background:#fff;
    z-index:11;
    position:relative;
}
.detail-modal-background .layerpop_buy .pop_tit{
    font-size:18px;
	font-weight: bold;
    line-height: 22px;
    border-bottom: 1px solid #ddd;
    position:relative;
    margin:0 24px 0;
}
.detail-modal-background .layerpop_buy a.btn_layer_close{
    display:block;
    width:18px;
    height:18px;
    background: url(/img/new/openstore/v2/close_x.png) no-repeat center;
    background-size:22px;
    position:absolute;
    top:0;
    right:0;
}
.detail-modal-background .layerpop_buy .pop_contents{
    padding:20px 24px 0;
}
.detail-modal-background .layerpop_buy .pop_contents .buy_con_info p.ncon_tit{
    font-size:18px;
	font-weight: bold;
	padding-top: 10px;
	border-top: 1px solid #ddd;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}
}