/*------------로그인_main  Start-----------*/
html { height: 100%; }

.login_box {
	width: 500px;
	position: absolute; top: 50%; left: 50%;
	margin-left: -250px; margin-top: -154px;
	display: none; z-index: 10;
	background-color: #1f1f1f;
}
.login_box.active { display: block; }
.login_dim.active {
	position: fixed; z-index: 9;
	top: 0; right: 0; left: 0; bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}
.login_logo { 
	background-repeat: no-repeat; 
	background-position: center; 
	background-image: url('/s/front/images/logo_rs.png');
	background-size: 144px;
	width: 100%; height: 117px;
}

.login_tit {
	text-align: center;
	width: 100%; height: 60px; position: relative; margin: 0;
}
.login_tit:before {
	content: '';
	display: block;
	width: 100%; height: 60px; opacity: 0.5;
	position: absolute; top: 0; left: 0;
	background-image: linear-gradient(45deg, #34398e 0%, #733fa9 25%, #ba3f8a 50%, #ff0965 75%, #f35234 100%);
	z-index: 3;
}
.login_tit p { line-height: 60px; z-index: 4; position: relative; font-weight: normal; font-size: 1.6rem; }
.login_tit .btn {
	position: absolute; top: 50%; right: 20px; margin-top: -20px; z-index: 4;
	outline: none; border: none; color: #fff; background-color: transparent;
	display: block; width: 40px; height: 40px; cursor: pointer;
}

.loginInpW { padding: 20px; box-sizing: border-box; width: 100%; background-color: rgba(0, 0, 0, 0.5);}
.loginInp { width: 100%; overflow: hidden; margin-bottom: 5px; }
.loginInp label { box-sizing: border-box; width: 20%; float: left; height: 60px; line-height: 60px; text-align: center; color: #fff; display: block; font-size: 16px; font-size: 1.6rem; }
.loginInp input { font-family: 'TimeLineR'; vertical-align: middle; padding: 0 20px; width: 80%; font-size: 16px; font-size: 1.6rem; border: none; border-radius: 5px; background-color: #222; color: #fff; height: 60px; line-height: 60px; ime-mode: inactive; outline:none; }
.loginInp input:focus { color: #fff; background: #444; }

.loginInp img {margin: 5px 0; float:left; display: block; width: 100px; height: 50px; }
.loginInp input.capcha { box-sizing: border-box; float: right; display: block; width: calc(100% - 160px); }
.loginInp .capcha-refresh { float: left; width: 60px; height: 60px; text-align: center; }
.loginInp .capcha-refresh i { line-height: 60px; font-size: 18px; font-size: 1.8rem; }


.loginBtn_wrap { overflow: hidden; width: 100%; padding: 10px 0 0 0; }
.loginBtn_wrap a { font-size: 16px; font-size: 1.6rem; float: right; text-align: center; border-radius: 5px; width: 49%;  height: 60px; line-height: 60px; }
.loginBtn_wrap a:first-child { float: left; }
.loginBtn_wrap a.loginBtnL { background: #ddd; color: #000; }
.loginBtn_wrap a.loginBtnJ { background: #ddd; color: #000; }
.loginBtn_wrap a.loginBtnL:hover { background: #810185; color: #fff; }
.loginBtn_wrap a.loginBtnJ:hover { background: #810185; color: #fff; }

.main_recomCodeD { z-index: 100; display:none; width: 100%; height: 100%; position:fixed; top:0; left:0; background:rgba(0, 0, 0, 0.3); }
.recomCodeW {
	text-align: center;
	z-index: 50; box-sizing: border-box;
	width: 500px; height: 500px; padding: 115px 30px;
	position: fixed; top: 50%; left: 50%; margin-top: -250px; margin-left: -250px;
	background-color: #111; color:#666;
}
.recomCodeW h2 { color: #fff; font-size: 30px; font-size: 3.0rem; font-weight: bold; margin-bottom: 30px; }
.recomCodeW input {
	color: #fff; outline: none; display: block; box-sizing: border-box;
	width: 100%; height: 80px; line-height: 80px; font-size: 36px; font-size: 3.6rem;;
	padding: 0 14px; border: none; border-radius: 5px;
	background: #222; text-align: center;
}
.recomCodeW p { font-size: 14px; padding: 15px 0; }

.recomBtnW { width: 100%; padding:15px 0; overflow:hidden; }
.recomBtnW a { font-size: 16px; font-size: 1.6rem; border-radius: 5px; display: inline-block; width: 130px; height: 50px; line-height: 50px; text-align: center;}
.recomBtnW a.recomBtn { background: #ddd; color: #000; }
.recomBtnW a.recomClose { background: #ddd; color: #000;}
.recomBtnW a.recomBtn:hover { background: #810185; color: #fff; }
.recomBtnW a.recomClose:hover { background: #810185; color: #fff; }
/*------------로그인_main  end-----------*/

@media all and (max-width:640px){
	.login_box {
		height: auto; width: 100%; padding: 0; margin: 0;
		position: absolute; left: 0;
		top: 50%; margin-top: -265px;
	}
	.login_logo { 
		background-size: 100px;
		width: 100%; height: 80px;
	}
	.loginInpW { margin-top: 0; }
	.loginInp img { height: 40px; }
	.loginInp .capcha-refresh { width: 50px; height: 50px; }
	.loginInp .capcha-refresh i { line-height: 50px; }
	.loginInp label,
	.loginInp input { height: 50px; line-height: 50px; }

	.recomCodeW { width: 100%; padding: 30px; position: fixed; top: 200px; left: 0; bottom: 0; margin: 0; }
}

/* ip_check layer */
@-webkit-keyframes ip_check_dim_move {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes ip_check_dim_move {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@-webkit-keyframes ip_check_move {
	from {
		-webkit-transform: translate3d(0,-50%,0);
		opacity: 0;
	}
	to   {
		-webkit-transform: translate3d(0,0,0);
		opacity: 1;
	}
}

@keyframes ip_check_move {
	from {
		transform: translate3d(0,-50%,0);
		opacity: 0;
	}
	to   {
		transform: translate3d(0,0,0);
		opacity: 1;
	}
}
#ip_check_dim.dim {
	opacity: 1;
	display: none;
}
#ip_check_dim.dim.active {
	animation: ip_check_dim_move 0.3s linear;
	display: block;
}
#ip_check_box {
	position: absolute;
	width: 340px;
	top: 50%; margin-top: -60px;
	left: 50%; margin-left: -170px;
	background-color: #111;
	border: 2px solid #810185;
	text-align: center;
	padding: 20px 0;
	z-index: 200;
	box-sizing: border-box;
	transform: translate3d(0,0,0);
	opacity: 1;
	display: none;
}
#ip_check_box.active {
	animation: ip_check_move 0.3s linear;
	display: block;
}
#ip_check { margin-bottom: 15px; font-size: 1.4rem; line-height: 2rem; }