@charset "utf-8";
@import url(reset.css);


/*팝업*/
.popupBg {
	background: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
}
.modal {
	z-index: 99999 !important;
}

.modal_50vh{
	max-height:50vh;
	overflow-y:scroll;
}

.modal-backdrop {
	z-index: 99995;
}
.popupBox {
	top: 50%;
	margin: -92px auto 0 auto;
	position: relative;
	width: auto;
	max-width: 500px;
}
.normal_btn > button {
	width: 100%;
	letter-spacing: 1px;
	background:#3385ff;
	border:1px solid #3385ff;
	color: #fff;
	font-size: 1.5rem;
	line-height: 44px;
	margin-top: 15px;
	font-weight: 500;
	border-radius: 8px;
}
.normal_btn .left {
	line-height: 44px;
	width: 49%;
	background: #fff;
	border:1px solid #ddd;
	color: #8e959e;
	float: left;
}
.normal_btn .right {
	line-height: 44px;
	width: 49%;
	float: right;
}
.modal-info-p {
	font-size: 14px;
	text-align: center;
	margin: 10px;
	line-height: 1.4;
}
.modal-info-p strong {
	font-size: 20px;
	margin: 10px 0;
	display: block;
	color: #333a40;
}
.modal .modal-content{
	position:fixed;
	border:none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-height: 85%;
    overflow-y: auto;
    border-radius: 16px;
}
.modal-title {
    font-size: 1.6rem;
    font-weight: 500;
}
.payment-header{
	display:flex;
	justify-content: flex-start;
	height: 55px;
    line-height: 55px;
    background: #fff;
}
.payment-header .menuBtn{
	position:absolute;
	left:20px;
	padding:0;
	background:transparent;
}
.payment-header-tit{
    font-size: 16px;
    font-weight: 500;
    color: #333a40;
    line-height: 55px;
    padding-left: 55px;
}
/* 100% 창*/
.modal .modal-dialog.ver4{
	margin:0;
}
.modal .modal-dialog.ver4 .modal-content{
	position:fixed;
	border:none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
	max-width: 100%;
	min-height: 100vh;
    overflow-y: auto;
    border-radius: 0;
}
.modal .modal-dialog.ver4 .modal-content .modal-body{
	min-height:calc(100vh - 150px);
	overflow-y: scroll;
	padding:0;
}

.modal .modal-dialog .modal-content .modal-body .con-box{
	padding:15px;
}
.modal-header{
	padding:15px;
	background:#Fff;
	border:0;
}
.modal-header .close{
	padding:1rem;
}
.modal-header .terms-tit{
	font-size: 1.3rem;
}
.modal-header .close img{
	width:15px;
}

/*버튼 3개시*/
.normal_btn li{
	width:32%;
	float:left;
	margin-right:2%;
}
.normal_btn li:last-child{
	margin-right:0;
}
.normal_btn li button.fullBtn{
	display: inline-block;
	background:#18c9ba;
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,.1), -4px -1px 6px 4px rgba(255,255,255,0.17);
	width: 100%;
	margin-top: 10px;
	line-height: 40px;
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	text-align: center;
}
.normal_btn li button.fullBtn2 {
	display: inline-block;
	width: 100%;
	line-height: 40px;
	color: #fff;
	background: #888b92;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	text-align: center;
	margin-top: 10px;
	border: 1px solid #888b92;
	padding: 0;
}
.normal_btn li button.fullBtn3 {
	display: inline-block;
	width: 100%;
	line-height: 40px;
	color: #18c9ba;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	text-align: center;
	margin-top: 10px;
	border: 1px solid #18c9ba;
	padding: 0;
}


.modal-body{
	padding: 0 1.5rem 1.5rem;
}
/* The Modal (background) */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1050;
	display: none;
	width: 100%;
	height: 100%;
	overflow: hidden;
	outline: 0;
}
.modal.modal-bg {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

/* Modal Content/Box */
.modal.modal-bg .modal-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	width: 85%;
	max-width:500px;
	max-height: 85%;
	overflow-y: auto;
	border-radius:10px;
}

/*modal 좌측 타이틀*/
.modal.modal-bg p.title-left{
	padding:2rem 2rem 0;
	font-weight: 400;
	font-size: 1.5rem;
}
/**/
.modal.modal-bg .con-title {
	text-align: center;
	font-size: 1.6rem;
	font-weight: 400;
	padding:2rem 2rem 0;
	color: #333a40;
	line-height:1.5;
}
.modal.modal-bg .con-title + .con-title-txt{
	margin-top:1rem;
}
.modal.modal-bg .modal-content .content-box{
	padding:1.5rem 1.5rem 2rem;
}
/* Modal Content/Box */
.modal.modal-bg .modal-bottom {
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: #fff;
	width: 100%;
	border-radius:20px;
	border-bottom-left-radius:0;
	border-bottom-right-radius:0;
}

/*밑에서 나타나는 modal*/
.modal.modal-bg .modal-content.form-group .form-box .control {
	padding: 0 1.5rem;
}
.modal.modal-bg .modal-content.form-group .form-box .control .control-indicator {
	position: inherit;
}
.modal.modal-bg .modal-content .content-box .modal-bottom-btn {
	margin: 3rem auto;
	width: 51%;
	overflow: hidden;
}
.modal.modal-bg .modal-content .content-box .btn-bottom {
	display: block;
	float: left;
	width: 100%;
}
.modal .bottom-content{
	padding: 2rem;
}
.modal.modal-bg .modal-content .content-box .btn-bottom .modal-bottom-btn li {
	width: 50%;
	text-align: center;
	float: left;
	padding-right: 5px;
}


/* The Close Button */
.modal.modal-bg .modal-content .close,
.modal.modal-bg .modal-bottom .close{
	color: #aaa;
	float: right;
	font-size: 1.5rem;
	line-height: 1.5rem;
	padding-right:2rem;
	padding-top:2rem;
}
.modal.modal-bg .modal-content .close:hover,
.modal.modal-bg .modal-content .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}



/*하단 버튼*/
.modal .modal-content .txt-center {
	text-align: center;
	padding: 3rem 1.5rem;
	font-size:1.4rem;
	line-height:1.5;
}

.modal .modal-content p.con-title-txt{
	text-align:center;
	font-weight:200;
	font-size: 1.4rem;
	color: #343a48;
}
.modal.modal-bg .modal-content .bx-payment{
	padding:0;
	margin:0;
	box-shadow:none;
}
.modal.modal-bg .modal-content .text-box{
	overflow-y:scroll;
	max-height:300px;
	width:100%;
	font-size:1.3rem;
	font-weight:200;
	line-height:1.5;
}
.modal .modal-content p.modal-point-guide{
	font-size:1.3rem;
	font-weight:200;
	line-height:1.5;
	text-align:center;
	margin-top:1rem;
	padding-bottom:0;
}

/*결제비밀번호설정*/
.modal .modal-bottom .passwordForm {
	text-align: center;
	padding-top: 1rem;
}
.modal .modal-bottom .fixed-bottom {
	position:relative;
}

.modal-dialog.ver2{
	margin:0;
	position:absolute;
	border-radius:0;
	width:100%;
	max-width:100% !important;
	bottom:0;
}
.modal-dialog.ver2 .modal-content{
	border-radius:0;
	border:0;
	border-top-left-radius:25px;
	border-top-right-radius:25px;
	width:100% !important;
	bottom:0;
	transform: translate(0, 0);
	left:0;
	top:auto;
}
.modal-tit{
	font-size:16px;
	font-weight:600;
	display:inline-block;
	margin-bottom:10px;
}
.modal-close-btn{
	float:right;
	background:none;
	font-size:16px;
}
.modal-footer li.col1{
	width:100%;
}
.modal-footer li.col1 button{
	width:100%;
	text-align:center;
	display:inline-block;
	line-height: 40px;
	color: #fff;
	background: #888b92;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	text-align: center;
	border: 1px solid #888b92;
	padding: 0;
}

@media screen and (max-width: 280px) {
	.modal .modal-content{
		width:90%;
	}
	.modal-join-confirm p.confirm{
		font-size:1.4rem;
	}
	.modal-dialog.ver2 .modal-content .modal-body{
		padding:1.5rem 1rem;
	}
}

.modal.show .modal-dialog.ver2 .modal-content{
	transform: translateY(0%);
	transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.modal .modal-dialog.ver2 .modal-content{
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
	border-radius: 8px 8px 0px 0px
}

/* modal ver2의 새로운 닫기 버튼 */
.modal-dialog.ver2 .modal-content .modal-close-rectangle {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	background:transparent;
}

/* modal radio list*/
.modal-sort-list li{
	padding:16px 0 14px;
}
.modal-sort-list li + li{
	border-top:1px solid rgb(245, 246, 248);
}

/* modal 선택 라디오 커스텀 */
.modal-sort-radio input[type=radio] {
	display: none;
}
.modal-sort-radio input[type=radio] + label {
	display: block;
	font-size: 1.4rem;
	font-weight:500;
	color:#919fa0;
	width:100%;
	text-align:left;
	position:relative;
}
.modal-sort-radio input[type=radio]:checked + label{
	color:#333a40;
}
.modal-sort-radio>input[type=radio]:checked + label:after,
.modal-sort-radio>input[type=radio]:checked + label::after{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 10px;
	width: 6px;
	height: 10px;
	border: 2px solid #333a40;
	border-left: none;
	border-top: none;
	transform: translate(7.75px,4.5px) rotate(45deg);
	-ms-transform: translate(7.75px,4.5px) rotate(45deg);
}

/* modal form 여백 */
.form-box.modal-form{
	padding:20px 0 10px;
}

.modal-body .form-box{
	padding: 0;
}

.modal-body .form-box .form-item:last-child{
	margin-bottom:1rem;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
	}
}

/* 팝업 고도화 */
.popup-banner{
	width:100%;
	overflow:hidden;
}
.popup-banner img{
	display: block;
	width: 100%;
}
.popup-banner .banner-slider{
	width:100%;
}
.popup-banner .swiper-pagination {
	text-align: center;
	padding: 3px 8px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	display: inline-block;
	width: 50px;
	left: 50%;
	border-radius:20px;
	margin-left: -25px;
	bottom: 60px;
}