/**
 * 신규 로그인을 위한 스타일.
 */

/** 랩탑,데스크탑,태블릿 등 */
@media all and (min-width: 1024px) {
  .new-login-wrap { height: 700px; place-content: flex-start; }

  .new-login-join-area,
  .new-login-notice-area,
  .new-login-tab-box { width: 600px; }

  .new-login-credential-input-wrap { width: 70%;}
  .new-login-credential-common-width { width: 70%;}

  .new-login-simple-button { height: 80px; flex-direction: row; gap: 10px; }

  .new-login-join-area-pc { display: flex; padding: 15px 0 15px; }
  .new-login-join-area-mobile { display: none; }

  .tab-icon { width: 22px; height: 22px; }
}

/** 중대형 모바일(갤럭시s20) */
@media all and (min-width: 577px) and (max-width: 1023px) {
  .new-login-wrap { height: 700px; place-content: flex-start; }

  .new-login-join-area,
  .new-login-notice-area,
  .new-login-tab-box { width: 570px; }

  .new-login-credential-input-wrap { width: 70%;}
  .new-login-credential-common-width { width: 70%;}

  .new-login-simple-button { height: 80px; flex-direction: row; gap: 10px; }

  .new-login-join-area-pc { display: flex; padding: 15px 0 15px; }
  .new-login-join-area-mobile { display: none; }

  .tab-icon { width: 22px; height: 22px; }
}

/** 소형 모바일(아이폰se) */
@media all and (max-width: 576px) {
  .new-login-wrap { height: max-content; width: 100%; padding: 15px 3px 15px; }

  .new-login-join-area,
  .new-login-notice-area,
  .new-login-tab-box { width: 100%; padding: 0 10px; }

  .new-login-credential-input-wrap { width: 90%;}
  .new-login-credential-common-width { width: 90%;}

  .new-login-tab-area .tab-button-label-span { display: none; }

  .new-login-simple-button { height: 100px; flex-direction: column; }

  .simple-cert-guide span { font-size: 13px; }

  .new-login-join-area-pc { display: none; }
  .new-login-join-area-mobile { display: flex; padding: 15px 13px 15px; flex-direction: column; }
  .new-login-join-area-mobile div { width: 60%; justify-content: space-between; flex-wrap: wrap; gap: 5px; }

  .tab-icon { width: 25px; height: 25px; }
}


.log-header { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; margin-top: 10px; margin-bottom: 40px; }
.log-header .sec-title { display: block; font-size: 2.5rem; font-weight: 500; letter-spacing: -0.05em; color: #222; padding: 10px 0 0; text-align: center }

.login-flex { display: flex; }

.login-flex.flex-row { flex-direction: row; }
.login-flex.flex-col { flex-direction: column; }

.login-flex .grow { flex-grow: 1; }

/*.new-login-area { background-color: #fafbfc; }*/
.new-login-tab-area { flex-basis: 70px; }

.vertical-bar { width: 30px; }
.vertical-bar:before { content: "|"; position: relative; top: -1px; left: 14px; }

.new-login-tab-box { height: 400px; }

.height-content { height: max-content; }

.new-login-content-box { background-color: white; flex-basis: 330px; border-radius: 0px 0px 15px 15px; border: 1px solid #DDD; border-top: none; }

.new-login-tab-content { display: none; }
.new-login-tab-content.active { display: flex; width: 100%; }

.new-login-tab-button { border-radius: 15px 15px 0px 0px; border: 1px solid #DDD; background: #F5F6F8; color: #747580; background-clip: padding-box; -webkit-background-clip: padding-box; cursor: pointer; }
.new-login-tab-button .icon-active { display: none; }
.new-login-tab-button .icon-inactive { display: block; }

.new-login-tab-button.active { border-bottom: none; background: #FFF; }
.new-login-tab-button.active span { color: #285FBA; font-weight: 700; }
.new-login-tab-button.active .icon-active { display: block; }
.new-login-tab-button.active .icon-inactive { display: none; }

.transparent-input { background-color: transparent !important; border-color: transparent !important; outline: transparent !important; align-self: stretch; line-height: 1; width: 100%; }

/**
 * prevent chrome browser fill background when autofill password.
 */
.transparent-input:focus,
.transparent-input:-webkit-autofill { background-color: transparent !important; }
.transparent-input:-webkit-autofill,
.transparent-input:-webkit-autofill:hover,
.transparent-input:-webkit-autofill:focus,
.transparent-input:-webkit-autofill:active { transition: background-color 99999s ease-in-out 0s; }

.new-login-credential-input-wrap { height: 50px; background-color: #F5F6F8; align-items: center; padding: 0px 15px; gap: 0px 5px; }

.new-login-credential-id { border-top-left-radius: 8px; border-top-right-radius: 8px; outline: 1px #DDD solid; }
.new-login-credential-id .id-icon-active { display: none; }
.new-login-credential-id:focus-within { outline: 2px #285FBA solid; z-index: 10; }
.new-login-credential-id:focus-within .id-icon-active { display: block; }
.new-login-credential-id:focus-within .id-icon-inactive { display: none; }

.new-login-credential-password { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; outline: 1px #DDD solid; }
.new-login-credential-password .password-icon-active { display: none; }
.new-login-credential-password:focus-within { outline: 2px #285FBA solid; }
.new-login-credential-password:focus-within .password-icon-active { display: block; }
.new-login-credential-password:focus-within .password-icon-inactive { display: none; }

.new-login-credential-input-area { align-self: center; }
.new-login-credential-button-area { padding: 25px 0 30px; }

.new-login-credential-button { background: #285FBA; border-radius: 5px; height: 60px; cursor: pointer; }
.new-login-credential-button span { font-size: 20px; font-weight: 500; color: white; }
.new-login-credential-button:hover { background: #1c4281; transition-duration: 200ms; }

.cert-button-container { gap: 15px; }
.new-login-cert-button { background: #415767; border-radius: 5px; height: 80px; cursor: pointer; gap: 5px; }
.new-login-cert-button span { font-size: 20px; font-weight: 500; color: white; }
.new-login-cert-button:hover { background: #364854; transition-duration: 200ms; }

.new-login-fincert-button { background: #285FBA; border-radius: 5px; height: 80px; cursor: pointer; gap: 5px; }
.new-login-fincert-button span { font-size: 20px; font-weight: 500; color: white; }
.new-login-fincert-button:hover { background: #1c4281; transition-duration: 200ms; }

.new-login-simple-button { background: #285FBA; border-radius: 5px; height: 80px; cursor: pointer; }
.new-login-simple-button span { font-size: 20px; font-weight: 500; color: white; }
.new-login-simple-button:hover { background: #1c4281; transition-duration: 200ms; }

.new-login-join-area-mobile div { display: flex; align-items: center; }

.new-login-area .link-arrow:focus,
.new-login-area .link-arrow:hover { text-decoration: underline }
.new-login-area .link-arrow { position: relative; display: inline-block; font-size: 16px; color: #333; box-sizing: border-box; padding: 0 30px 0 0; margin: 0; transition: all .3s ease; cursor: pointer; }
.new-login-area .link-arrow:after { content: ""; display: block; position: absolute; width: 13px; height: 13px; right: 5px; top: 50%; transform: translateY(-50%); -ms-transform: translateY(-50%); background: url(/_res/kibo/_share/img/login_icon.png) no-repeat 0 -62px; transition: all .3s ease }
.new-login-area .link-arrow:focus:after,
.new-login-area .link-arrow:hover:after { right: 0 }

.login-notice ul li { position: relative; padding: 0 0 0 12px; margin: 0 0 7px; font-size: 13px; color: #555; line-height: 1.5; font-weight: 400 }
.login-notice ul li:last-child { margin: 0 }
.login-notice ul li:before { position: absolute; top: 10px; left: 0; content: ""; display: block; width: 4px; height: 4px; background: #404b57; border-radius: 50% }

.text-hover:hover { font-weight: 500; }

span:hover + p.arrow-box { display: block; }

.info-ex-txt { position:relative; display:inline-block; }

/* 말풍선 적절한 top 과 margin-left 로 위치조정 */
.arrow-box { display: none; position: absolute; width: 260px !important; margin-top: 7px; padding: 8px; right : -154%; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; border: 1px solid #cdcbd0; background: #fff; color: #333; font-size: 14px; z-index : 999; }
.arrow-box:after { position: absolute; bottom: 100%; left: 50%; width: 10px; height: 10px; top: -6px; margin-left: 14px; background-color: white; border-top: 1px solid #cdcbd0; border-left: 1px solid #cdcbd0; transform: rotate(45deg); pointer-events: none; content: ' '; }

.login-wr { position: relative; padding: 50px 0 }
.login-wr .login-box { position: relative; width: 49%; border: 1px solid #ddd; background: #fff; display: inline-block; vertical-align: top; box-sizing: border-box; margin: 0 1.6% 0 0; padding: 50px 7%; min-height: 400px }
.login-wr .login-box:nth-child(2) { margin: 0; padding: 40px 6% 33px; }
.login-wr .login-box .ptit { position: relative; font-size: 1.563em; color: #222; padding: 70px 0 0; text-align: center; margin: 0 0 50px }
.login-wr .login-box .ptit:after { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; width: 60px; height: 60px; background: url(/_res/kibo/_share/img/login_icon.png) no-repeat; z-index: 1 }
.login-wr .login-box input.text { border-radius: 5px; border: none; background: #f5f6f8; width: 100%; height: 45px; line-height: 45px; font-size: 1em; padding: 0 1% 0 20px; margin: 0 0 8px }
.login-wr .login-box ul > li:nth-child(2) input.text { margin-bottom: 0; }
