@charset "utf-8";
@import url(../css/noto.css);

.login_type_a {
    --background: url('../images/login/bg_a.png'); 
}
.login_type_b {
    --background: url('../images/login/bg_b.png');
    --ip_background: url('../images/login/ip_bg_b.png');
}

.login_type_c { 
    --background: url('../images/login/bg_c.png');
    --ip_background: url('../images/login/ip_bg_c.png');
}


/* reset style */
html,body{width:100%;height:100vh;}
html{font-size:10px;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,form,fieldset,p,button{box-sizing: border-box; margin:0;padding:0;}
body,h1,h2,h3,h4,input,button{font-family:"Noto Sans KR","Malgun Gothic",sans-serif, Helvetica; }
* {font-family:'Noto Sans KR'; margin: 0; padding: 0;}

body, body[class ^= egate_]{margin:0;padding:0;width:100%;overflow:hidden;font-size:14px; word-break:break-all;background: var(--background); background-repeat: no-repeat;background-position: center; background-size: cover; -ms-word-break:break-all;
--border-n:#ccc;

}

form{margin-bottom:0;}
img,fieldset,iframe{border:0;}
li{list-style:none}
input,select,button{vertical-align:middle;}
input[type = 'checkbox'], input[type = 'radio'] {cursor:pointer;}
input[type = 'checkbox']:disabled, input[type = 'radio']:disabled {cursor:default;}
i,em,address{font-style:normal}
button{margin:0;padding:0;border: 0; background: none;cursor:pointer}
button *{position:relative}
button img{left:-3px;left:auto;}
a{color:#666;text-decoration:none}
option{padding-right:6px}
hr{display:none}
legend{width:0;display:none;}
table{font-size:12px;border-collapse:collapse;border-spacing:0;border:none;}
table th, table td {word-break:break-all;box-sizing:border-box;}
caption {display:none;}
input {margin: 0; padding: 0; overflow: visible;}
input::-ms-clear{display:none}


/* login_style */

.login_container {position:absolute; top:50%;left: 50%;transform: translate(-50% , -50%);display: flex; border-radius: 24px; width:893px;height: 550px;box-shadow: 5px 5px 30px 0px rgba(0,0,0,0.2); -webkit-box-shadow: 5px 5px 30px 0px rgba(0,0,0,0.2); -moz-box-shadow: 5px 5px 30px 0px rgba(0,0,0,0.2);overflow:hidden;}

.login_ip_bg { width: 100%;height: 100%; background: var(--ip_background); background-repeat: no-repeat;background-size: cover;}

.login_logo {display: block; background: url('../images/login/cordial_ci.svg')no-repeat left; width: 130px;height: auto; margin: 80px 0 34px; font-size: 30px; line-height: 1; text-indent: -999em;}

.login_container .login_frm_area{flex-shrink: 0; width: 360px;height: auto; top: 0;left: 0; padding:0 50px; background: #fff}
.login_container .login_frm_area .login_title{font-size: 18px; color: #000; margin-bottom: 20px; line-height: 1.8rem;}

.login_container .login_frm_area .login_inp_area .login_inp{margin-bottom: 10px}
.login_container .login_frm_area .login_inp_area .login_inp:nth-child(2) {margin-bottom: 20px}
.login_container .login_frm_area .login_inp_area .login_inp label{display: inline-block;position: relative;width: 100%;}


.login_container .login_inp input{width:100%;height: 46px; border:1px solid #DCDCDC;border-radius: 6px;font-size: 14px;box-sizing: border-box;padding: 0 14px;}
.login_container .login_inp input:focus{outline:1px solid #3391FF; color:#3391FF;}
.login_container .login_inp input::placeholder {color: #9e9e9e;text-transform:uppercase;}
.login_container .login_img .visual_slide{position: relative;height:100%;}
.login_container .login_img .visual_slide .login_slogan{display: block;position: absolute;left: 50%;top: 80px;transform: translateX(-50%);font-size: 30px;color:#333;text-align: center;width: inherit;font-weight: bold;}
.login_container .login_img .visual_slide .login_slogan b{}
.login_container .login_img .visual_slide img{width: 100%;height: 670px;margin: 0 auto;}


.login_inp_chk {margin-top: 20px; height:20px;font-size: 12px;font-weight: 300;display:flex;justify-content: space-between;}
.login_inp_chk input {display:none;}
.login_inp_chk span {display:inline-block;vertical-align:middle;cursor:pointer;}
.checkbox {display: inline-block;height: 24px;;margin-right: 10px;}
.checkbox ~ label{float: right;margin-right: 0;}
.checkbox:hover .icon{border-color: #3391FF}
.checkbox .icon {position:relative;width: 16px;height: 16px;border: 2px solid #E9EAEE;border-radius: 2px;transition: background 0.1s ease;margin: 2px 0;}

.checkbox .icon::after {content: '';position: absolute;top: 0px;left: 5px;width: 5px;height: 11px;border-right: 2px solid #fff;border-bottom: 2px solid #fff;transform: rotate(45deg);transition: all 0.3s ease;transition-delay: 0.15s;opacity: 1;}
.checkbox .text {margin-left: 2px;font-size: 13px;line-height: 24px;color: #9E9E9E;font-weight: 400;}
.checkbox input:checked ~ .icon {border-color: transparent;background: #3391FF;-webkit-animation: jelly 0.6s ease;animation: jelly 0.6s ease;}
.checkbox input:checked ~ .icon::after {opacity: 1;transform: rotate(45deg) scale(1);}
.password_int{display: inline-block}
.password_int:hover{font-weight: 400;color: #bbb}
.login_btn {display: inline-block;width: 100%;height: 46px; }
.login_btn > button { display:block;width:100%;height:46px;line-height:46px;color:#fff;background-color: #3391FF;text-transform:uppercase;border:none;border-radius:6px;font-size: 14px;font-weight: 300}
.login_btn > button:hover {font-weight:bold ;}
.login_btn > button:focus{border: none}



/* Oauth 로그인 */
.login_oauth_wrap .text{display:block; text-align: center; color: #222;margin-block: 25px;}
.login_oauth_wrap .text::before,.login_oauth_wrap .text::after{content: '';display: inline-block; width: calc((100% - 46px)/2); height: 1px; background-color: #DCDCDC;vertical-align: middle;}
.login_oauth_wrap .text::before{margin-right: 10px;}
.login_oauth_wrap .text::after{margin-left: 10px;}
.login_oauth_wrap ul {display: flex; gap: 10px; justify-content: center;}
.login_oauth_wrap li {display: flex;align-items: center; gap: 12px; border: 1px solid #DCDCDC; padding: 10px; border-radius: 6px;cursor: pointer;}
.login_oauth_wrap figure {display: block; background: url('../images/login/oauth_logos.png')no-repeat; width: 24px; height: 24px;}
.login_oauth_wrap li:nth-child(2) figure{background-position: -24px 0;}
.login_oauth_wrap li:nth-child(3) figure{background-position: -48px 0;}



/* Login footer */
.login_footer{width:100%;position: absolute;bottom: 32px}
.login_footer>p{text-align: center;font-size: 12px;color:#767678;font-weight: 300}


.login_visual{display: none;}


/* 인증에러 */
.egate_error{ display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    padding:0 20px;
    box-sizing:border-box;
    word-break:keep-all;}
.egate_error_area{
    text-align: center;
    padding-top: 220px;
    background: url(../images/login/m_error.png)no-repeat center top /auto 200px;
    }
    
.egate_error_con h2{font-size: 24px;color: #333;padding-bottom: 10px;}
.egate_error_con .txt{font-size: 16px;color: #666;}

.txt_btn{display: inline-block; padding: 10px;border: 1px solid #333;margin-top:20px;width: 130px;border-radius: 20px;cursor: pointer;color:#333;}

/*아이디 패스워드 에러*/
.loginDiv-group {margin: 9px auto; color:#FF606D; font-weight: 400; font-size: 13px;text-align: center;}
.login_type_a .loginDiv-group {margin:20px auto;}
.loginDiv-group .error {color:#FF606D;}

/*언어 선택*/
.lang_select{display:inline-flex;justify-content: flex-end;gap:5px;}
.lang_select select[name="language"]{width:130px;height:28px;border:1px solid #e5e5e5;cursor:pointer;}
.lang_select select[name="language"]:focus{border-color: #4166c4;outline-color: #4166c4;}
.lang_i {display:none;width:28px; height:28px;background: url(../images/ico/lang.svg)no-repeat 6px center /20px;}
.sel_arr_custom { padding-right: 20px !important; padding-left: 5px; -webkit-appearance: none; -moz-appearance: none; appearance: none; display: inline-block; border: 1px solid var(--border-n); background: url(../images/ico/ico_option_add.svg) no-repeat center right 10px / 8px; border-radius: 4px; }

@keyframes jelly{
  from{transform: scale(1,1);-webkit-transform: scale(1,1);}
  30%{transform: scale(1.25,0.75);-webkit-transform: scale(1.25,0.75);}
  40%{transform: scale(0.75,1.25);-webkit-transform: scale(0.75,1.25);}
  50%{transform: scale(1.15,0.85);-webkit-transform: scale(1.15,0.85);}
  65%{transform: scale(0.95,1.05);-webkit-transform: scale(0.95,1.05);}
  75%{transform: scale(1.05,0.95);-webkit-transform: scale(1.05,0.95);}
  to{transform: scale(1,1);-webkit-transform: scale(1,1);}
}
@-webkit-keyframes jelly{
  from{transform: scale(1,1);-webkit-transform: scale(1,1);}
  30%{transform: scale(1.25,0.75);-webkit-transform: scale(1.25,0.75);}
  40%{transform: scale(0.75,1.25);-webkit-transform: scale(0.75,1.25);}
  50%{transform: scale(1.15,0.85);-webkit-transform: scale(1.15,0.85);}
  65%{transform: scale(0.95,1.05);-webkit-transform: scale(0.95,1.05);}
  75%{transform: scale(1.05,0.95);-webkit-transform: scale(1.05,0.95);}
  to{transform: scale(1,1);-webkit-transform: scale(1,1);}
}

/******************
  로그인 화면 Type (A,B,C)
********************/
/* TYPE A */
.login_type_a .login_container{width: auto;height: auto; box-shadow: none;}
.login_type_a .login_ip_bg {display: none;}
.login_type_a .login_container .login_frm_area {width: 440px; padding: 20px;}
.login_type_a .login_logo {display: block; width: 180px; height: auto; margin-inline: auto;margin-block:30px 60px; text-indent: -999em; background-position: center; background-size: contain;}
.login_type_a .login_title {display: none;}

.login_type_a .login_oauth_wrap figure + span {display: none;}

@media screen and (min-width:881px) {
  .login_type_a .login_oauth_wrap ul {flex-direction: column;}
  .login_type_a .login_oauth_wrap li {padding: 13px 17px;}
  .login_type_a .login_oauth_wrap figure + span {display: inline;}

}

.login_type_a .pwd-button {
  background: none;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #475467;
  cursor: pointer;
}
.login_type_a .pwd-button:hover {
  background: #f9fafb;
}

/* TYPE B */
.login_type_b .login_container{ box-shadow: none;}
.login_type_b .login_oauth_wrap figure + span {display: none;}

/* TYPE C */
.login_type_c .login_oauth_wrap figure + span{display: none;}



/************************
  모바일
*************************/ 

@media screen and (max-width:880px){
	 body, body[class ^= egate_]{    background: var(--background)}
	#login_wrap{height:100%}
	.login_logo {display: block; width: 100%; height: 45px; margin-inline: auto;margin-block:30px 68px!important; }
	.login_type_a .login_container,
	.login_container{border-radius:0; box-shadow:10px 10px 30px 0px rgba(30, 81, 157, 0.2);background:none;align-items: center;justify-content: center; transform: translate(-50%, -50%);position: relative;left: 50%;width: fit-content; height: auto;padding: 30px;background: #fff;border-radius: 20px;}
    .login_container .login_frm_area, 
    .login_type_a	.login_container .login_frm_area {width: 320px; padding: 0 20px;}
	.login_container .login_ip_bg{display: none;}

  
  .login_container .login_frm_area .login_inp_area .login_inp{margin-bottom: 20px;}
  .login_container .login_frm_area .login_inp_area .login_inp:nth-child(2){margin-bottom: 30px;}
  .login_container .login_frm_area .login_title {display: none;}

  .login_logo{width: 100%; margin: 0 auto 10px;background-position: center;}
  .login_desc {display: none;}
  .login_btn { margin-top: 0px;} 

  /* #nameResult {display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; float: left; color: #000;margin: 10px 25px;   text-overflow: ellipsis; overflow: hidden;} */

  .login_logo {display: block; width: 180px; height: auto; margin-inline: auto;margin-block:30px 60px; text-indent: -999em; background-position: center; background-size: contain;}
  .login_footer {display: none;}
}

