/* kpsm-edu index.css + sr_style.css + common.css 기준 */

@font-face {
	font-family: 'SBAggro';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroL.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

/* 슬라이드 배너 문구 (kpsm-edu .sec01_con .main_banner_text) */
body.page-main .main_banner .banner-contents-html .main_banner_element {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	pointer-events: none;
}
body.page-main .main_banner .banner-contents-html .main_banner_element.flex {
	display: flex;
}
body.page-main .main_banner .banner-contents-html .main_banner_element.pd {
	padding: 0 100px 0 100px;
}
body.page-main .main_banner .banner-contents-html .main_banner_text {
	width: auto;
}
body.page-main .main_banner .banner-contents-html .main_banner_element.jc_sb {
	justify-content: flex-start;
}
body.page-main .main_banner .banner-contents-html .main_banner_element.al_ct {
	align-items: center;
}
body.page-main .main_banner .banner-contents-html .main_banner_text {
	font-size: 16px;
}
body.page-main .main_banner .banner-contents-html .main_banner_text h2 {
	margin: 0;
	padding: 0;
	font-weight: 500;
	font-family: 'SBAggro', sans-serif;
	font-size: 4.38em;
	color: #fff;
	line-height: 1.3;
	letter-spacing: -0.02em;
}
body.page-main .main_banner .banner-contents-html .main_banner_text h2 > b {
	font-weight: 500;
	color: #00e165;
	font-family: 'SBAggro', sans-serif;
}
body.page-main .main_banner .banner-contents-html .main_banner_text h3 {
	margin: 0.2em 0 0;
	padding: 0;
	font-weight: 300;
	font-family: 'SBAggro', sans-serif;
	font-size: 2.75em;
	color: #fff;
	line-height: 1.35;
	letter-spacing: -0.02em;
}
@media screen and (max-width: 1440px) {
	body.page-main .main_banner .banner-contents-html .main_banner_text h2 {
		font-size: 4em;
	}
	body.page-main .main_banner .banner-contents-html .main_banner_text h3 {
		font-size: 2.5em;
	}
}
@media screen and (max-width: 1200px) {
	body.page-main .main_banner .banner-contents-html .main_banner_element.pd {
		padding: 0 20px;
	}
	body.page-main .main_banner .banner-contents-html .main_banner_text h2 {
		font-size: 3.5em;
	}
	body.page-main .main_banner .banner-contents-html .main_banner_text h3 {
		font-size: 2.2em;
	}
}
@media screen and (max-width: 875px) {
	body.page-main .main_banner .banner-contents-html .main_banner_text h2 {
		font-size: 3.1em;
	}
	body.page-main .main_banner .banner-contents-html .main_banner_text h3 {
		font-size: 2em;
	}
}
@media screen and (max-width: 480px) {
	body.page-main .main_banner .banner-contents-html .main_banner_text h2 {
		font-size: 2.8em;
	}
	body.page-main .main_banner .banner-contents-html .main_banner_text h3 {
		font-size: 1.85em;
	}
}
@media screen and (max-width: 400px) {
	body.page-main .main_banner .banner-contents-html .main_banner_text h2 {
		font-size: 2.2em;
	}
	body.page-main .main_banner .banner-contents-html .main_banner_text h3 {
		font-size: 1.55em;
	}
}

/* PC: 상단 로그인 아이콘 숨김 */
body.page-main .main_menu .top-login .right {
	display: none;
}

/* 배너 로그인 오вер레이 — 자주찾는 서비스 영역 제외한 높이의 중앙(+오프셋) */
body.page-main .main_banner > .min768 > .main_banner_element {
	width: 100%;
	position: absolute;
	z-index: 10;
	top: calc((100% - var(--main-servic-nav-h, 90px)) / 2 + var(--main-banner-center-offset, 42px));
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.main_banner .main_banner_element_box {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	width: 100%;
	padding: 0 100px;
	box-sizing: border-box;
	pointer-events: none;
}

/* utility (sr_style.css / common.css) */
.main_banner .login_banner_box .flex {display: flex;}
.main_banner .login_banner_box .jc_sb {justify-content: space-between;}
.main_banner .login_banner_box .al_ct {align-items: center;}
.main_banner .login_banner_box .mt-1 {margin-top: 8px;}
.main_banner .login_banner_box .mt-2 {margin-top: 16px;}

.main_banner .login_banner_box {
	width: 350px;
	max-width: 350px;
	flex-shrink: 0;
	pointer-events: auto;
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: -0.5px;
}
.main_banner .login_banner_box .logout_box,
.main_banner .login_banner_box .login_box {
	padding: 24px 16px 16px;
	background-color: #00000085;
	border-radius: 10px;
	box-sizing: border-box;
}
.main_banner .login_banner_box h3 {
	color: #fff;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 1.12em;
	font-weight: bold;
	margin: 0;
	line-height: 1.45;
	letter-spacing: -0.5px;
}
.main_banner .login_banner_box h3 > span {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-weight: bold;
	font-size: 1em;
	line-height: 1.45;
	letter-spacing: -0.5px;
}

/* kpsm-edu style.css: text/password input·placeholder → Pretendard */
.main_banner .login_banner_box input[type="text"],
.main_banner .login_banner_box input[type="password"],
.main_banner .login_banner_box input[type="text"]::placeholder,
.main_banner .login_banner_box input[type="password"]::placeholder {
	font-family: 'Pretendard', sans-serif !important;
}

/* logout_box - kpsm-edu index.css nth-child 구조 */
.main_banner .logout_box ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main_banner .logout_box ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	float: none;
	vertical-align: middle;
}
.main_banner .logout_box > div:nth-child(2) input[type="text"],
.main_banner .logout_box > div:nth-child(2) input[type="password"] {
	outline: none;
	vertical-align: middle;
}
.main_banner .logout_box > div:nth-child(2) input[type="text"],
.main_banner .logout_box > div:nth-child(2) input[type="password"],
.main_banner .logout_box > div:nth-child(2) input[type="button"] {
	width: 100%;
	padding: 14px 15px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	height: auto;
	font-weight: normal;
	vertical-align: middle;
}
.main_banner .logout_box > div:nth-child(2) input[type="text"],
.main_banner .logout_box > div:nth-child(2) input[type="password"] {
	border: 2px solid transparent;
	border-radius: 5px;
	background: #fff;
	color: #111;
	transition: border-color 0.2s ease;
}
.main_banner .logout_box > div:nth-child(2) input[type="text"]:focus,
.main_banner .logout_box > div:nth-child(2) input[type="password"]:focus {
	border-color: #019142;
	outline: none;
}
.main_banner .logout_box > div:nth-child(2) input[type="button"] {
	background-color: #00C056;
	color: #fff;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif !important;
	font-size: 1em;
	border-radius: 5px;
	border: 1px solid #00c056;
	cursor: pointer;
}
.main_banner .logout_box > div:nth-child(2) input[type="button"]:hover {
	background-color: #019142;
	border: 1px solid #019142;
	font-weight: 600;
	transition: all 0.3s;
}
.main_banner .logout_box p,
.main_banner .logout_box p > span {
	color: #fff;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-weight: 300;
	font-size: 1em;
	line-height: 1.6;
	letter-spacing: -0.5px;
	cursor: pointer;
	margin: 0;
}
.main_banner .logout_box p > span:nth-child(1) {margin-right: 5px;}
.main_banner .logout_box p > span:nth-child(2) {margin-left: 5px;}
.main_banner .logout_box > div:nth-child(3) {
	width: 100%;
}
.main_banner .logout_box > div:nth-child(3) input[type="button"] {
	border: 1px solid #D4D4D4;
	background-color: #fff;
	padding: 8px 23px;
	border-radius: 3px;
	font-size: 1em;
	color: #888;
	cursor: pointer;
	width: auto;
	height: auto;
	margin: 0;
	font-family: 'Pretendard', 'Pretendard Variable', sans-serif !important;
	font-weight: normal;
	line-height: 1.6;
	letter-spacing: -0.5px;
	flex-shrink: 0;
}

/* ============================================================
   login_box (로그인 후) — 전용 수정 영역
   HTML: public/awsHtml/common/main_login_banner.html (#login_box)
   ============================================================ */

/* 카드 전체 */
body.page-main .main_banner .login_banner_box #login_box {
	border: none;
}

/* 상단: 인사말 + 로그아웃 */
body.page-main .main_banner .login_banner_box #login_box > div:nth-child(1) {
}

body.page-main .main_banner .login_banner_box #login_box > div:nth-child(1) h3 {
}

body.page-main .main_banner .login_banner_box #login_box > div:nth-child(1) > i#logout_btn {
}

/* 수강 목록 영역 */
body.page-main .main_banner .login_banner_box #login_box > div:nth-child(2) {
}

body.page-main .main_banner .login_banner_box #login_box #education_wrap {
}

body.page-main .main_banner .login_banner_box #login_box #education_wrap li {
}

body.page-main .main_banner .login_banner_box #login_box #education_wrap li.none > p {
}

/* 내 강의실 바로가기 버튼 */
body.page-main .main_banner .login_banner_box #login_box > div:last-child > input[type="button"] {
}

/* login_box (로그인 후) */
.main_banner .login_box > div {overflow: hidden; border-radius: 10px; margin-bottom: 10px;}
.main_banner .login_box > div:nth-child(1) {position: relative; overflow: visible; margin-bottom: 12px; padding-top: 2px;}
.main_banner .login_box > div:nth-child(1) > i {
	display: block;
	cursor: pointer;
	width: 20px;
	height: 24px;
}
.main_banner .login_box > div:nth-child(1) > i img {
	width: 100%;
	height: auto;
	display: block;
}
.main_banner .login_box > div:nth-child(2) {
	overflow-y: auto;
	height: 140px;
	margin-bottom: 12px;
}
.main_banner .login_box > div:nth-child(2) > ul {
	background-color: #fff;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.main_banner .login_box > div:nth-child(2) li {border-bottom: 1px solid #eee;}
.main_banner .login_box > div:nth-child(2) .none {text-align: center; height: 100%;}
.main_banner .login_box > div:nth-child(1) h3 {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-weight: bold;
	line-height: 1.6;
	letter-spacing: -0.5px;
}
.main_banner .login_box > div:nth-child(2) .none > p {
	display: block;
	padding: 44px 0;
	color: #999;
	margin: 0;
	font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
	font-size: 15px;
	font-weight: normal;
}
.main_banner .login_box > div:last-child {margin-bottom: 0; overflow: visible;}
.main_banner .login_box > div li {padding: 13px 12px; background-color: #fff; cursor: pointer;}
.main_banner .login_box > div li > div {
	display: flex;
	align-items: center;
	position: relative;
}
.main_banner .login_box > div li > div::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url(/files/images/login_banner/ic_list_arrow.png);
	background-repeat: no-repeat;
	background-size: cover;
}
.main_banner .login_box > div li > div > p {display: block; margin: 0;}
.main_banner .login_box > div li > div > p:nth-child(1) > span {
	display: inline-block;
	width: 60px;
	padding: 4px 6px 3px;
	background-color: #FF841A;
	color: #fff;
	border-radius: 50px;
	font-size: 12px;
	text-align: center;
}
.main_banner .login_box > div li > div > p:nth-child(2) {
	width: calc(100% - 74px);
	overflow: hidden;
	text-wrap: nowrap;
	text-overflow: ellipsis;
	margin-left: 8px;
	font-size: 14px;
	font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
	font-weight: normal;
	line-height: 1.45;
}
.main_banner .login_box > div > input[type="button"] {
	width: 100%;
	padding: 13px;
	border: 1px solid #00C056;
	background-color: #00C056;
	border-radius: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif !important;
	line-height: 1.6;
	letter-spacing: -0.5px;
	transition: all 0.3s;
	box-sizing: border-box;
	margin: 0;
	height: auto;
}
.main_banner .login_box > div > input[type="button"]:hover {
	background-color: #019142;
	border: 1px solid #019142;
	font-weight: 600;
	transition: all 0.3s;
}

/* mypage_box */
.main_banner .login_banner_box .mypage_box {
	display: none;
	height: 65px;
	padding: 15px;
	transition: all 0.3s;
	background-color: #00000085;
	border-radius: 10px;
	cursor: pointer;
	box-sizing: border-box;
}
.main_banner .mypage_box:hover {
	background-color: #ffffff7e;
	transition: all 0.3s;
}
.main_banner .mypage_box_left {gap: 15px;}
.main_banner .mypage_box p {
	display: block;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 1em;
	font-weight: bold;
	color: #fff;
	margin: 0;
	line-height: 1.6;
	letter-spacing: -0.5px;
}
.main_banner .my-ic-wrap {
	display: block;
	width: 24px;
	height: 24px;
}
.main_banner .my-ic-go {
	display: block;
	width: 18px;
	height: 18px;
	overflow: hidden;
}
.main_banner .my-ic-wrap > img,
.main_banner .my-ic-go > img {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 1660px) {
	.main_banner .main_banner_element_box {padding: 0 40px;}
}
@media screen and (max-width: 1200px) {
	.main_banner .main_banner_element_box {justify-content: center; padding: 0 20px;}
	.main_banner .login_banner_box {display: none;}
}
@media screen and (max-width: 834px) {
 body.page-main .main_menu .top-login .right {display: block;}
 body.page-main .main_banner > .min768 > .main_banner_element {display: none;}
}
