/* 로그인 페이지 (#login_box) — sj_header(fro_end) 환경에서 base.css 미로드 보완 */
#sub-container {
	width: 100%;
	clear: both;
}
#sub-container .section.sub-body {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
	padding: 20px 12px 60px;
	box-sizing: border-box;
}
#sub-container .sub-title {
	margin: 40px auto 30px;
	text-align: center;
}
#sub-container .sub-title h3.subject,
#sub-container .sub-title h3.tit_center {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #222;
	text-align: center;
	letter-spacing: -0.5px;
}

#login_box {
	width: 100%;
	max-width: 1100px;
	padding: 20px 12px 40px;
	border-radius: 10px;
	position: relative;
	margin: 0 auto 40px;
	border: 1px solid #d2d2d2;
	box-sizing: border-box;
	background: #fff;
}
.login_sbox {
	width: 310px;
	margin: 0 auto;
	text-align: center;
}
.login-title {
	color: #0265cd;
	font-size: 34px;
	font-weight: 500;
	margin: 20px auto;
	line-height: 1.2;
	width: 255px;
	text-align: center;
}
.login-title > div {
	color: #000 !important;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 6px;
	line-height: 1.4;
}

.sns_login {
	margin: 10px 0 0;
}
.naverlogin {
	width: 250px;
	height: 50px;
	background: url(/files/default-img/login_naver.png) no-repeat top center;
	color: #1dc700;
	padding-left: 67px;
	margin: 2px 0;
	border: 0;
	cursor: pointer;
}
.kakaologin {
	width: 250px;
	height: 50px;
	background: url(/files/default-img/login_kakao.png) no-repeat top center;
	color: #412e34;
	padding-left: 67px;
	margin: 2px 0;
	border: 0;
	cursor: pointer;
}

.loginForm {
	display: table;
	margin: 30px auto;
	width: 100%;
	position: relative;
	box-sizing: border-box;
}
.login_sbox .box_id {
	float: left;
	width: 230px;
}
.login_sbox .box_id input.form-control.web_login,
.login_sbox .web_login {
	display: block;
	margin-bottom: -1px;
	width: 230px;
	height: 40px;
	padding: 0 10px;
	font-size: 14px;
	border: 1px solid #ddd;
	box-sizing: border-box;
	background: #fff;
}
.login_sbox .box_id input.form-control.web_login:focus,
.login_sbox .web_login:focus {
	border-color: #0265cd;
	outline: none;
}
.login_sbox .box_btn {
	width: 85px;
	float: left;
	position: absolute;
	top: 1px;
	right: 0;
}
.box_btn > button {
	background: #222222;
	width: 85px;
	height: 80px;
	color: #fff;
	border: 0;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
}
.box_btn > button:hover {
	background: #0265cd;
}

.check-id {
	clear: both;
	text-align: left;
	padding-top: 10px;
}
.check-con {
	text-align: left;
	display: inline-block;
	position: relative;
	padding-left: 22px;
	padding-top: 0;
	cursor: pointer;
	font-size: 14px;
	-webkit-user-select: none;
	user-select: none;
	max-width: 100%;
	font-weight: bold;
	white-space: nowrap;
	color: #333;
}
.check-con input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	margin: 4px 0 0;
}
.check-con input:checked ~ .marking {
	background-color: #2196F3;
}
.marking {
	position: absolute;
	top: 2px;
	left: 0;
	height: 15px;
	width: 15px;
	background-color: #ddd;
}
.check-con input:checked ~ .marking:after {
	display: block;
}
.check-con .marking:after {
	left: 5px;
	top: 1px;
	width: 4px;
	height: 9px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.marking:after {
	content: "";
	position: absolute;
	display: none;
}

.box_member {
	display: table;
	width: 100%;
	margin: 0 auto;
	clear: both;
}
.box_member button.joinFind,
.box_member button.joinCode,
button.joinFind,
button.joinCode {
	width: 150px;
	text-align: center;
	float: left;
	height: 35px;
	font-size: 14px;
	letter-spacing: -1px;
	border: 1px solid #ddd;
	background: #fff;
	color: #000;
	margin-left: 2px;
	border-radius: 3px;
	cursor: pointer;
	box-sizing: border-box;
}
.box_member button.joinFind:hover,
.box_member button.joinCode:hover {
	border-color: #0265cd;
	color: #0265cd;
}

/* ===== 로그인 화면 (#login_box.login-page) ===== */
#login_box.login-page {
	max-width: 900px;
	margin: 60px auto;
	padding: 20px 10px 30px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}
#login_box.login-page .login_sbox {
	width: 390px;
	max-width: 100%;
}
#login_box.login-page .login-title {
	width: auto;
	margin: 30px auto;
	color: #337bd5;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
}
#login_box.login-page .loginForm {
	display: block;
	margin: 30px auto 0;
}
#login_box.login-page .box_id {
	float: none;
	width: 100%;
}
#login_box.login-page .box_id input.form-control.web_login {
	width: 100%;
	height: 50px;
	margin-bottom: 10px;
	padding: 5px 10px;
	border: 1px solid #1e90d6;
	border-radius: 5px;
	font-size: 14px;
}
#login_box.login-page .box_id input.form-control.web_login:focus {
	border-color: #1677b8;
	box-shadow: 0 0 0 2px rgba(30,144,214,.18);
	outline: none;
}
#login_box.login-page .checkin_box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0 18px;
}
#login_box.login-page .check-id {
	padding: 0;
	color: #666;
	font-size: 15px;
}
#login_box.login-page .check-con {
	color: #666;
	font-size: 14px;
	font-weight: 500;
}
#login_box.login-page .wrapper button.joinFind {
	float: none;
	width: auto;
	height: 35px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 2px;
	background: #fff;
	color: #666;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: normal;
}
#login_box.login-page .wrapper button.joinFind:hover {
	color: #337bd5;
	text-decoration: underline;
}
#login_box.login-page .box_btn {
	position: static;
	float: none;
	width: 100%;
}
#login_box.login-page .box_btn > button {
	width: 100%;
	height: 50px;
	border-radius: 5px;
	background: #337bd5;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}
#login_box.login-page .box_btn > button:hover {
	background: #2a6cc0;
}
#login_box.login-page .box_member {
	display: block;
	margin-top: 10px;
}
#login_box.login-page .box_member button.joinCode {
	float: none;
	width: 100%;
	height: 50px;
	margin: 0;
	border: 1px solid #787dff;
	border-radius: 2px;
	background: #fff;
	color: #787dff;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: normal;
}
#login_box.login-page .box_member button.joinCode:hover {
	border-color: #787dff;
	background: #f5f5ff;
	color: #787dff;
}

@media (max-width: 834px) {
	#login_box.login-page {
		margin: 0 auto 20px;
	}
	#sub-container .section.sub-body {
		width: 96%;
		padding: 10px 0 40px;
	}
	#sub-container .sub-title {
		margin: 20px auto 16px;
	}
	#sub-container .sub-title h3.subject {
		font-size: 22px;
	}
	#login_box {
		max-width: none;
		padding: 10px 8px 20px;
		margin: 0 auto 10px;
	}
	.login_sbox {
		width: 100%;
		max-width: 310px;
	}
}
