@charset "utf-8";

/*weight*/

.font-300 {
    font-weight: 300;
}

.font-400 {
    font-weight: 400;
}

.font-500 {
    font-weight: 500;
}

.font-600 {
    font-weight: 600;
}

.font-700 {
    font-weight: 700;
}

.font-800 {
    font-weight: 800;
}


/* Default CSS */
/* Mobile - Portrait 575px 이하 */

body .dim-popup div, h1, h2, h3, h4, input, button, p, span {
	letter-spacing: -0.2px;
}

.member-wrap div,
.member-wrap h1,
.member-wrap h2,
.member-wrap h3,
.member-wrap h4,
.member-wrap input,
.member-wrap button,
.member-wrap textarea,
.member-wrap p,
.member-wrap span {
	font-family: 'Pretendard', 'Noto Sans KR';
}

.member-wrap #memberJoinForm, #memberJoinForm2 {
	height: calc(100vh - 70px);
	position:relative;
}

.member-wrap .box-container {
	height: 100%;
/*	height: 630px;*/
	position:relative;
}

.dimbg {
    /*display: none;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 998;
/* 	z-index: -1; */
}

.dim-popup-mjoin > .member-wrap label.error {
	margin-top: 0;
}

.dim-popup {
    /*display: none;*/
    position: fixed;
    _position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.dim-popup .member-wrap {
	position: absolute;
    display: flex;	
    flex-direction: column;
	top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    padding: 20px;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.scroll-box {
	overflow-y: scroll;
	width: 100%;
	height: 88%;
/*	min-height: 560px;*/
}


.scroll-box-policy {
	overflow: scroll;
	width: 100%;
}

/* 스크롤바 설정*/
.scroll-box::-webkit-scrollbar,
.scroll-box-policy::-webkit-scrollbar,
.select-option::-webkit-scrollbar {
    width: 6px;
}

/* 스크롤바 막대 설정*/
.scroll-box::-webkit-scrollbar-thumb,
.scroll-box-policy::-webkit-scrollbar-thumb,
.select-option::-webkit-scrollbar-thumb  {
    background: rgba(0, 0, 0, 0.1);
    /* 스크롤바 둥글게 설정    */
    border-radius: 10px;    
}

/* 스크롤바 뒷 배경 설정*/
.scroll-box::-webkit-scrollbar-track,
.scroll-box-policy::-webkit-scrollbar-track,
.select-option::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0);
}


.top-btn {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
}
/*
.top-btn>div {
	cursor: pointer;
}
*/
.top-btn .fa-arrow-left, .top-btn .fa-xmark {
	cursor: pointer;
}
.top-btn .resize {
	font-size: 2.4rem;
	color: #999;
}

/*
.top-bnn {
	display: grid;
	grid-template-columns: 1fr 150px;
	margin-top: 10px;
	width: 100%;
	height: 100px;
	min-height: 100px;
	align-items: center; 
	background: url(../images/common/bg-tophnn01.png) -20px 80px, url(../images/common/bg-tophnn02.png) 250px -20px, #D9EEFF;
	background-repeat: no-repeat;
	background-size: 70px, 80px, 100%;
	border-radius: 15px;
}

.top-bnn .left {
	padding-left: 30px;
}

.top-bnn .left>p {
	display: block;
	padding: 0;
	margin-bottom: 5px;
	font-size: 1.4rem;
	font-weight: 400;
}

.top-bnn .left>h3 {
	display: block;
	padding: 0;
	margin: 0;
	font-size: 2rem;
	font-weight: 800;
	line-height: 2.3rem;
	word-break: keep-all;
	color: #31A5FF;
}

.top-bnn .right {
	object-fit: contain;
}
*/

.top-bnn {
	margin-top: 10px;
	width: 100%;
	height: 100px;
	min-height: 100px;
	border-radius: 15px;
	overflow: hidden;
}

.newmember-img-no-copy {
	pointer-events: none;
}


.member-wrap h1 {
	margin: 0;
	padding: 20px 0 10px 0;
	display: inline-block;
	text-align: left;
	font-size: 2.8rem;
	font-weight: 800;
}
/*
.member-wrap h2 {
	margin: 0;
	padding: 20px 0;
	display: inline-block;
	text-align: left;
	font-size: 2.6rem;
	line-height: 3.4rem;
	font-weight: 800;
}
*/

.member-wrap h2 {
	margin: 0;
	padding: 20px 0;
	display: inline-block;
	width: 100%;
	text-align: center;
	font-size: 2.6rem;
	line-height: 3.4rem;
	font-weight: 800;
}

.member-wrap h3 {
	margin: 0;
	padding: 20px 0;
	display: inline-block;
	text-align: left;
	font-size: 2.4rem;
	line-height: 3.2rem;
	font-weight: 700;
}

.member-wrap h4 {
	margin: 0px 0px 5px 0;
	padding: 0;
	display: inline-block;
	text-align: left;
	font-size: 1.8rem;
	font-weight: 400;
}

.member-wrap .subtxt1 {
	margin: 5px 0 5px 0;
}

.member-wrap .subtxt1 .resize {
	font-size: 1.3rem;
	color: #999;
}

.member-wrap .subtxt1 > span {
	font-size: 1.3rem;
	color: #999;
}

.member-wrap .subtxt2 {
	font-size: 1.5rem;
	line-height: 2rem;
}

section.email-box,
section.phone-box,
section.name-box,
section.age-box,
section.radio-box {
	position: relative;
}

section.email-box select,
section.phone-box select,
section.name-box select,
section.age-box select,
section.radio-box select {
	padding-left: 10px;
	width: 100%;
	height: 50px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	color: #666;
	font-size: 1.6rem;
    margin-bottom: 5px;
}

section.email-box select:focus,
section.phone-box select:focus,
section.name-box select:focus,
section.age-box select:focus,
section.radio-box select:focus {
	border: 3px solid #31A5FF;
	outline: none;
	box-shadow: none;
}



section.email-box .select-wrap {
	display: grid;
	grid-template-columns: 1fr 30px 1fr;
}

section.email-box .select-wrap .mail-choice {
	grid-column: span 3;
}

section.phone-box .select-wrap {
	display: grid;
	grid-template-columns: 80px 1fr 1fr;
	gap: 10px;
}

section.radio-box .select-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
	margin-bottom: 5px;
}

/*
section.email-box input[type="text"] {
	ime-mode: inactive !important;
}
*/

section.email-box .select-wrap input,
section.phone-box .select-wrap input,
section.name-box input {
	padding: 0 10px;
	width: 100%;
	height: 50px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 1.6rem;
	margin-bottom: 5px;
}

section.email-box .select-wrap input::placeholder,
section.phone-box .select-wrap input::placeholder,
section.name-box input::placeholder {
	color: #999;
}
/*
section.name-box input:first-child {
	margin-bottom: 5px;
}
*/
section.name-box div:first-child {
	margin-bottom: 5px;
}

section.email-box .select-wrap input:focus,
section.phone-box .select-wrap input:focus,
section.name-box input:focus {
	border: 3px solid #31A5FF;
	outline: none;
}

section.email-box .select-wrap p,
section.phone-box .select-wrap p,
section.age-box .select-wrap p {
	display: inline-block;
	padding: 0;
	margin: 0;
	text-align: center;
	line-height: 50px;
	font-size: 1.6rem;
}

section.email-box .emailView{
	grid-column: span 3;
}
section.email-box .emailView .alert {
	padding: 7px 7px;
	margin: 0;
	border: 1px solid transparent;
	font-size: 13px;
	line-height: 1.9;
}

section.email-box .emailView2{
	grid-column: span 3;
}
section.email-box .emailView2 .alert {
	padding: 7px 7px;
	margin: 0;
	border: 1px solid transparent;
	font-size: 13px;
	line-height: 1.9;
}



section.policy .policy-cell {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 3px 0;
}

section.policy .policy-cell>p {
	display: inline-block;
	padding: 0;
	margin: 0;
	font-size: 13px;
	color: #777;
}

section.policy .policy-cell> button.policy-view {
	padding: 3px 10px;
	background-color: #D9EEFF;
	border: none;
	border-radius: 30px;
	color: #31A5FF;
	font-size: 1.2rem;
	font-weight: 500;
}

.radio-box input[type="radio"]{
    display: none;
}

.radio-box input[type="radio"] + label {
    display: inline-block;
    margin: 0;
    width: 100%;
    height: 50px;
	line-height: 50px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 10px;
    cursor: pointer;
	color: #999;
	font-size: 1.4rem;
	font-weight: 400;
	object-fit: contain;
}

.radio-box input[type="radio"]:checked + label {
	border: 3px solid #31A5FF;
	color: #31A5FF;
	font-weight: 700;
}

.radio-box input[type="radio"] + label img {
	width: 30px;
	vertical-align: middle;
}

.member-wrap .finish-img {
	padding: 20px 50px;
	object-fit: contain;
}

section.finish-benefit ul li {
	margin-bottom: 5px;
	padding: 6px 0 5px 10px;
	width: 100%;
	background-color: #F1F9FF;
	border: 1px solid #31A5FF;
	border-radius: 10px;
	color: #31A5FF;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 2.4rem;
}

section.finish-benefit ul li img {
	margin-right: 5px;
	width: 16px;
}


.member-wrap .btn-box {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
/*	padding: 0 20px;*/
	width: 100%;
}

.btn-box button {
	width: 100%;
	height: 50px;
	line-height: 50px;
	background-color: #A1D6FF;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1.8rem;
	color: #fff;
	text-align: center;
}

.btn-box button.active {
	background-color: #31A5FF;
}


.member-wrap .btn-box-success {
	position: absolute;
	left: 0;
	bottom: 20px;
	margin: 0;
	padding: 0 20px;
	width: 100%;
}

.btn-box-success button {
	width: 100%;
	height: 50px;
	line-height: 50px;
	background-color: #A1D6FF;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1.8rem;
	color: #fff;
	text-align: center;
}

.btn-box-success button.active {
	background-color: #31A5FF;
}



.policy-box {
	padding-top: 30px;
}

.policy-box>h4 {
	padding: 0;
	margin: 0;
	font-size: 1.6rem;
	font-weight: 600;
}

.policy-box>p {
	padding: 5px 0;
	font-size: 1.4rem;
	line-height: 2.2rem;
	font-weight: 400;
}

.personal-table {
	padding: 10px 0;
	width: 100%;
}

.personal-table table {
	box-sizing: border-box;
	border-collapse: collapse;
	width: 100%;
	border: 1px solid #ddd;
}

.personal-table table tr td,
.personal-table table tr th {
	padding: 10px 5px;
	border: 1px solid #ddd;
}

.personal-table table tr th {
	background-color: #fafafa;
	font-weight: 600;
}

/*rulru moving*/
.end-message {
	width: 100%;
	height: 60%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.speech-wrap {
	position: relative;
	width: 100%;
	display: flex;
    justify-content: center;
	align-items: center;
}

.speech-wrap div {
    display: inline-block;
	-webkit-animation: slide-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate forwards;
	animation: slide-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate forwards;
}

.rulru-wrap {
	width: 100%;
	text-align: center;
}

.rulru-wrap img {
	width: 81%;
}

@-webkit-keyframes slide-bottom {
	0% {
	  -webkit-transform: translateY(0);
			  transform: translateY(0);
	}
	100% {
	  -webkit-transform: translateY(20px);
			  transform: translateY(20px);
	}
  }
  @keyframes slide-bottom {
	0% {
	  -webkit-transform: translateY(0);
			  transform: translateY(0);
	}
	100% {
	  -webkit-transform: translateY(20px);
			  transform: translateY(20px);
	}
}

.speech-bubble {
	position: relative;
	width: 55%;
	left: 70px;
	top: 110px;
}


/* 569px 이상 */
@media (min-width: 569px) {
	.dim-popup {
		/*display: none;*/
		position: fixed;
		_position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 480px;
		height: 670px;
	}

	.dim-popup .member-wrap {
		border-radius: 20px;
		box-shadow: 0 0 10px -4px;
	}	

	.scroll-box {
		height: 555px;
	}

	.member-wrap .box-container .scroll-box {
		height: 580px;
	}
	
	.member-wrap #memberJoinForm, #memberJoinForm2 {
		height: 100%;
		position:relative;
	}
} 



/*캘린더 내 강사이름*/

.chgtt-cal-name {
	overflow: hidden;
	text-overflow: ellipsis;
}