 /* 
 popup 관련 스타일
  */

/*full screen*/
.full-screen { 
	display: none;
	position: fixed;
	top: 0;
	width: 0;
	height: 0;
	z-index: -1;
	background-color: #EAE6E3;
	overflow: hidden;
}

.full-screen.bg-white { 
	background-color: #fff;
}

.full-screen #fix_bottom { 
	position: absolute;
}

.full-screen.on { 
	display: block;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 400;
	-webkit-overflow-scrolling: touch;
}

.full-screen.on #fix_bottom { 
	position: fixed;
}

.fs_header { 
	position: fixed;
	z-index: 1;
	width: 100%;
	height: 45px;
	padding: 0.8rem;
	left: 50%;
    transform: translateX(-50%);
}

.fs_body { 
    padding-top: 50px;	/*.fs_header와 관계*/
	overflow-y: auto;
}

.full-screen .fs_body { 
	position: absolute;
	top: 45px;	/*.fs_header와 관계*/
	left: 0;
	right: 0;
	padding-top: 0;
}


/*service add page close*/
.pClose-btn { 
	position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    width: 3.5rem;
	line-height: 1;
}


/* dimmer */
.htmlcover { 
	overflow: hidden !important;
	position: relative;
	/*width: 100%;*/
	/*height: 100%;*/
	background: rgba(0,0,0,.8);
}

.htmlcover body { 
	position: relative;
	height: 100%;
	overflow: hidden;
}

#dimmer {
    position: fixed;
    top: -150px;
    left: 0;
	bottom: -100px;
	width: 100%;
	height: 200%;
    background: rgba(0,0,0,.8);
	overflow: hidden;
	z-index: -1;
	opacity: 0;
}

#dimmer.on { 
	 z-index: 400;
	 opacity: 1;
}

/*popup*/
#popup {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 450;
    outline: 0;
    /*height: 200px;*/
    margin: 60px 30px 0;
}

#popup.on {
    display: block;
}

.popup {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 450;
    outline: 0;
    /*height: 200px;*/
    margin: 60px 30px 0;
}

.popup.on {
    display: block;
}

.popup_set {
    height: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    /* border-radius: 0.5em; */
    outline: 0;

}

.popup_header {
    padding-top: 1em;
    text-align: center
}

.popup_header h4 {
	line-height: 1;
}

.popup_body {
    text-align: center;
}

.popup_header.fixed_header { 
	position: fixed;
	top: 1rem;
	left: 1rem;
	right: 1rem;
	height: 3rem;
	background-color: #fff;
	border-top-right-radius: 1rem;
	border-top-left-radius: 1rem;
	z-index: 1;
}

.fixed_header + .popup_body { 
	margin-top: 3rem;
}

/*check reservation*/
#popup.cr_popup { 
	top: 1rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;

    height: auto;
    margin: 0;

	/*.popup_body와 연관*/
	border-radius: 1rem;

	/*for ios*/
	-webkit-overflow-scrolling: touch;
}

.cr_popup .popup_set { 
	position: relative;
	overflow: hidden;
	border: none;
	background-color: transparent;
}

.cr_popup .popup_header { 
	position: relative;
	height: 6rem;
	padding-bottom: 1rem;
	border-bottom: 2px dashed #ddd;
	background-color: #fff;
}

.cr_popup .popup_body {
	background-color: #fff;
	overflow-y: auto;
	max-height: 550px;
	max-height: calc(100% - 6rem);
	text-align: left;

	position: absolute;
	top: 6rem;
	right: 0;
    left: 0;

	/*.cr_popup과 연관*/
	border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.cr_popup .tt_price { 
	margin-top: 2rem;
	padding: 1rem;
}

.cr_popup .popup_header .punch-left,
.cr_popup .popup_header .punch-right { 
	position: absolute;
	bottom: -12.5px;
	width: 25px;
	height: 25px;
	/*dimmer 배경색과 연관*/
	background-color: #333;
	border-radius: 50em;
	z-index: 1;
}

.cr_popup .popup_header .punch-left { 
	left: -12.5px;
}
.cr_popup .popup_header .punch-right { 
	right: -12.5px;
}


/*notice/community study detail popup*/
.popup.nd_popup { 
	top: 1rem;
	bottom: 1rem;
	left: 0;
	right: 0;

    height: auto;
    margin: 0 1rem;
	border-radius: 1rem;
	overflow: auto;
}

.nd_popup .popup_set { 
	height: auto;
	border-radius: 1rem;
}

.nd_popup .popup_header { 
	 margin: 0 auto;
}

.nd_popup .popup_body { 
	padding: 1rem;
	text-align: left;
}


@media screen and (min-width: 500px) {
    #popup {
        margin: 60px auto 0;
        width: 400px;
    }

	#popup.cr_popup { 
		margin: 1rem auto 1rem;
		min-width: 500px;
		width: 500px;
	}

	.popup.nd_popup,
	.nd_popup .popup_header.fixed_header { 
		max-width: 500px;
		width: 500px;
	}

	.popup.nd_popup { 
		margin: 1rem auto;
	}
}


/*event popup*/
#eventpop { 
	display: none;
	overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 450;
    outline: 0;
    margin: 60px auto 0;
    width: 100%;
    max-width: 334px;
}

#eventpop.on { 
	display: block;
}

@media screen and (min-width: 500px) {
    #eventpop { 
        margin: 60px auto 0;
        max-width: 400px;
    }
}

#eventpop .sep_wrap strong {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}



/*for modal*/
.t_modal { 
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
	min-width: 290px;
    height: 312px;
	box-shadow: 2px 2px 16px 3px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	background-color: white;
	overflow: hidden;
}

.t_modal_head { 
    height: 40px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.t_modal_head > h3 { 
	display: inline-block;
    padding: 0.65rem 1rem;
    font-size: 16px;
    font-weight: 400;
}

.t_modal_head > button { 
	float: right;
	padding: 0.4rem;
}

.t_modal_head > button > img { 
	width: 25px;
	height: 25px;
}

.t_modal_body { 
	width: 100%;
    text-align: left;
    height: 270px;
    overflow: auto;
    padding: 1rem;
}

.t_modal_body .staff_card .sc_img { 
	margin: 0;
}

.t_modal_body .staff_card { 
	width: 236px;
	margin-bottom: 0;
}

.t_modal_body > .left { 
	float: left;
}

.history_wrap { 
	margin-top: 3rem;
}

.history_wrap .now { 
	font-size: 16px;
    color: #a73439;
}

.history_wrap .now + span { 
	color: #545454;
	font-weight: 300;
}

.history_wrap .history_list { 
	padding-top: 1rem;
}

.history_wrap .history_list li { 
	margin-bottom: 0.2rem; 
}

/*main swiper & tab new popup */
.st-popup {
	visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 990;
    overflow: hidden;
	background-color: rgba(0, 0, 0, 0.4);
}
.st-popup.on {
	visibility: visible;
    overflow-x: hidden;
    overflow-y: auto;
	z-index: 300;
}
.stp-wrap {
	display: none;
	position: fixed;
    width: 100%;
    max-width: 333px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 100;
    overflow: hidden;
}
.st-popup.on .stp-wrap {
	display: block;
}
.stp-wrap > .swiper-container {
    width: calc(100% + 1px);
    max-width: 334px;
}
.stp-wrap .stp-img a {
	display: block;
	height: 100%;
}
.stp-wrap .stp-img img {
	display: block;
	width: 100%;
	max-width: 334px;
	height: 100%;
    /*height: 513px;*/
    border: 0;
}
.stp-wrap .stp-btn {
	overflow: hidden;
	background-color: #000;
}
.stp-wrap .stp-btn button {
    position: relative;
    float: left;
	width: 50%;
	height: 38px;
	color: #fff;
}
.stp-wrap .stp-btn button:last-child {
	float: right;	
}
/*swiper popup */
.stp-wrap .swiper-pagination {
    bottom: 0;
	padding: 10px 0;
}
.stp-wrap .swiper-pagination-bullet {
    width: 12px;
    height: 3px;
	background: #fff;
	box-shadow: 0 0 4px rgb(0, 0, 0, 0.5);
    border-radius: 0;
	vertical-align: middle;
    opacity: .7;
}
.stp-wrap .swiper-pagination-bullet-active {
	background: #a73439;
    opacity: 1;
}
/*branch event swiper*/
.branch-event-wrap {
	width: 100%;
	min-height: 450px;
    background-color: white;
}
.branch-event-wrap .mp-tit {
    padding: 25px 10px 20px;
    font-size: 1.7rem;
    font-weight: 600;
	text-align: center;
}
.branch-event-wrap .mp-tit span {
    display: block;
	color: #757575;
    padding-top: 5px;
    font-size: 1rem;
    font-weight: 400;
}
.pbe-item .img-box img {
	display: block;
	width: 100%;
	max-height: 188px;
}
.branch-event-wrap .pbe-item .txt-box {
	padding: 1.4rem 1.8rem;
}
.pbe-item .txt-box > strong {
    margin-bottom: 5px;
	font-size: 1.2rem;
    display: block;
}
.pbe-item .txt-box .price-box {
	text-align: right;
}

/*리뉴얼 공지 팝업*/
.notice-popup{
	position: fixed;
	left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
	z-index: 999;
}
.notice-popup .bg__{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
}
.notice-popup .noticeP-wrap{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	max-width: 370px;
    width: 100%;
}
.notice-popup .noticeP-wrap figure{
	width: 100%;
    padding-top: 136.61%;
    overflow: hidden;
}
.notice-popup .noticeP-wrap figure img{
	width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.notice-popup .noticeP-wrap .close-btn{
	position:absolute;
	right: 0;
    bottom: -50px;
	background-color:#000;
	color:#333;
	font-size:15px;
	border-radius: 5px;
}
.notice-popup .noticeP-wrap .close-btn button{
	font-size: 12px;
    padding: 5px 10px;
	color: #fff;
}