/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_pop .hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff;max-width:100%;box-sizing:border-box;box-shadow:0 8px 24px rgba(0,0,0,.18)}
#hd_pop .hd_pops *, #hd_pop .hd_pops *:before, #hd_pop .hd_pops *:after {box-sizing:border-box;color:white;}
#hd_pop .hd_pops img{max-width:100%;height:auto;display:block}
#hd_pop .hd_pops_con {max-width:100%;height:auto !important;overflow:visible}
#hd_pop .hd_pops_con p {margin:0 !important}
#hd_pop .hd_pops_con > *:last-child {margin-bottom:0 !important}
#hd_pop .hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative;display:flex;align-items:stretch;min-height:44px}
#hd_pop .hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
#hd_pop .hd_pops_footer button {padding:10px 12px;border:0;color:#fff;line-height:1.35;font-size:14px;cursor:pointer}
#hd_pop .hd_pops_footer .hd_pops_reject{background:#000;text-align:left;flex:1;min-width:0;padding-right:76px;word-break:keep-all}
#hd_pop .hd_pops_footer .hd_pops_close{background:#393939;position:absolute;top:0;right:0;height:100%;min-width:64px;white-space:nowrap}

@media screen and (max-width:1024px) {
	#hd_pop .hd_pops {max-width:min(92vw,640px)}
}

@media screen and (max-width:768px) {
	#hd_pop {position:relative;z-index:1100;height:auto}
	#hd_pop .hd_pops {
		position:fixed;
		top:12px !important;
		left:50% !important;
		right:auto !important;
		transform:translateX(-50%);
		width:92vw !important;
		max-width:92vw;
		max-height:calc(100vh - 24px);
		overflow:hidden;
		display:flex;
		flex-direction:column;
	}
	#hd_pop .hd_pops_con {
		width:100% !important;
		height:auto !important;
		max-height:none;
		overflow-y:auto;
		flex:1 1 auto;
		-webkit-overflow-scrolling:touch;
	}
	#hd_pop .hd_pops_con img {
		width:100% !important;
		height:auto !important;
	}
	#hd_pop .hd_pops_footer {
		min-height:48px;
	}
	#hd_pop .hd_pops_footer button {
		font-size:13px;
		padding:10px;
	}
	#hd_pop .hd_pops_footer .hd_pops_reject {
		padding-right:70px;
	}
	#hd_pop .hd_pops_footer .hd_pops_close {
		min-width:60px;
	}
}