@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-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:#003f93;
	border:1px solid #003f93;
	color: #fff;
	font-size: 1.5rem;
	line-height: 44px;
	margin-top: 15px;
	font-weight: 500;
	border-radius: 3px;
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,.1), -4px -1px 6px 4px rgba(255,255,255,0.17);
}
.normal_btn .left {
	line-height: 44px;
	width: 49%;
	background: #fff;
	border:1px solid #ddd;
	color: #999;
	float: left;
}
.normal_btn .right {
	line-height: 44px;
	width: 49%;
	float: right;
}
.modal-info-p {
	font-size: 1.4rem;
	text-align: center;
	line-height: 1.4;
}
.modal-info-p strong {
	font-size: 20px;
	margin: 10px 0;
	display: block;
	color: #000;
}
.modal .modal-content{
	position:fixed;
	border:none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
	max-width:500px;
    max-height: 85%;
    overflow-y: auto;
    border-radius: 16px;
}
.modal-title {
    font-size: 1.6rem;
    font-weight: 500;
}
/* 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;
	margin-top:-1px;
}
.modal .modal-dialog.ver4 .modal-content .modal-body{
	min-height:calc(100vh - 150px);
	overflow-y: auto;
	padding:0;
}

.modal .modal-dialog .modal-content .modal-body .con-box{
	padding:15px;
}
.modal-header{
	padding:15px;
	border-bottom:0;
}
.modal-header h3{
	font-size:1.5rem;
}
.modal-header .close{
	padding:10px;
}
.modal-header .close img{
	width:15px;
}

.popupContent {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 94%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	outline: 0;
	padding: 1rem;
	margin: 0 3%;
}
.modal-body{
	padding:20px 15px;
}
.modal-body .form-box{
	padding:0;
}
.modal-body .form-box.p20{
	padding:2rem;
}
.modal-body .terms-wrap {
	max-height: 300px;
	width: 100%;
	font-size: 12px;
	overflow: auto;
}

.modal-body .form-box .form-item:last-child{
	margin-bottom:0;
}


/* 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%);
	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: #000;
	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;
}
.modal.modal-bg .modal-content .content-box .btn-bottom .modal-bottom-btn li button {
	width: 100%;
	height: 50px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	outline:none;
	font-size: 1.8rem;
	font-weight: 700;
	line-height:1;
	border:1px solid #65288c;
	color:#65288c;
	background:#ffffff;
	font-family: "Noto Sans KR", sans-serif;
}
.modal.modal-bg .modal-content .content-box .btn-bottom .modal-bottom-btn li button.color-bg {
	background: #65288c;
	color: #fff;
}

/* 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-body ul.small-guide li {
	position: relative;
	padding-left: 16px;
	color: #888;
	line-height: 1.4;
}
.modal-body ul.small-guide li:before {
	position: absolute;
	top: 0;
	left: 0;
	content: '※';
	display: block;
}

/*하단 버튼*/
.modal .modal-content .bottom_btn_list li {
	width: 100%;
	text-align: center;
	float: left;
}
.modal .modal-content .bottom_btn_list.col2 li{
	width:50%;
}
.modal .modal-content .bottom_btn_list li:last-child,
.modal .modal-content .bottom_btn_list li + li {
	padding-left: 0;
	padding-right: 0;
}
.modal .modal-content .bottom_btn_list li button {
	width: 100%;
	overflow: hidden;
	height: 50px;
	font-size:1.4rem;
}
.modal .modal-content .bottom_btn_list li button.color-bg {
	background: #36b1ff;
	color: #fff;
	border-top:1px solid #36b1ff;
	border-right:1px solid #36b1ff;
	border-bottom:1px solid #36b1ff;
}
.modal .modal-content .bottom_btn_list li button.left {
	background: #fff;
	border-top:1px solid #eee;
}

.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{
	font-size: 1.4rem;
	color: #000;
	margin-bottom:1rem;
	font-weight:500;
}
.text-box + p.con-title-txt{
	margin-top:1.5rem;
}
.modal.modal-bg .modal-content .bx-payment{
	padding:0;
	margin:0;
	box-shadow:none;
}
.modal-content .text-box{
	font-size:1.2rem;
	color:rgba(0,0,0,0.8);
}
.modal-content .text-box.dont{
	padding:1.5rem;
	background:#faebe4;
	margin:1rem 0;
	border-radius:8px;
}
.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-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;
	max-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:15px;
}
.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;
}

/*미리보기팝업 꽉차게*/
.modal-dialog.ver3{
	padding:0;
	margin:0;
}
.modal-content2 {
	top: 0;
	left: 0;
	border-radius: 0;
	border: none;
	transform: none;
	width: 100% !important;
	min-height: 100vh;
	margin-top: 0 !important;
}

/*20220415 사업자등록증 모달*/
.modal-body .img-box{
	max-height: calc(100vh - 135px);
	max-height: -webkit-calc(100vh - 135px);
	overflow-y:scroll;
}
.modal-body .img-box img{
	width:100%;
}

/* 회원가입 안내 */
.modal-join-confirm{
	text-align:center;
	padding:1.5rem 0;
}
.modal-join-confirm img{
	width:75px;
}
.modal-join-confirm p.confirm{
	font-size:1.6rem;
	line-height:1.5;
	padding:1.5rem 0;
}
.modal-join-confirm p.confirm span{
	display:block;
}
.modal-join-confirm .mail{
	border-radius:4px;
	width:100%;
	background:#f4f7f7;
	line-height: 1.3;
	padding:1rem;
	font-size:1.4rem;
	color:#999;
}

@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 밑에서 나오는 버전 아래서 올라오는 효과 */
.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-content {
	background:#f6f8fa;
}

.modal-body .modal-map-area {
    height: 300px;
    width: 100%;
}