
@import url('../icon/fontawesome-webfont.woff');
@import url('noto-sans-korean.css');
*{font-family: "Noto Sans Korean", sans-serif;}
.login-pf{
    background:linear-gradient(to right,#26262a, #35363a) !important;
    overflow-y: hidden;
    
}
.login-pf body {
   background:rgba(0, 0, 0, 0);
  /* The image used */
  background-image: url("../img/bg__dark.png");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
    
}
.login-pf-page .form-control::placeholder {
    font-style:inherit;
    font-size:14px;
}
:-ms-input-placeholder.form-control{
    font-style: normal;
}
.login-pf-page .login-pf-settings{margin:0;}
span.label_icon_area {
    background: #0d2557;
    width: 42px;
    height: 40px;
    position: absolute;
}
span.label_icon_area i{
    color: #dfe6f5;
    font-size: 22px;
    line-height: 1.8;
    padding-left: 12px;
}
.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}
label.control-label{
    font-size: 14px;
    color: #474747;
    font-weight: bold;
    display: none;
}
.login-pf-page .form-control{
    background-color:#f7fcff;
    padding-left:50px;
    height:40px;
    margin-bottom:30px;
    line-height:1;
}
h1#kc-page-title{margin:30px 0;font-size:3.15rem;font-weight:900;color:#dfe6f5; opacity: 0.8;}
#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;

}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

/* a#kc-current-locale-link:hover {
    background-color: rgba(0,0,0,0.2);
} */

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

.login-pf .container {
    padding-top: 40px;
}

.login-pf a:hover {
    color: #0099d3;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo-2.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;
    
}

#kc-header-wrapper {
}

#kc-attempted-username{
    font-size: 20px;
    font-family:inherit;
    font-weight: normal;
    padding-right:10px;
}

#kc-username{
    text-align: center;
}

#kc-webauthn-settings-form{
    padding-top:8px;
}

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

#kc-terms-text {
    margin-bottom: 20px;
}

#kc-registration {
    margin-bottom: 15px;
}

/* TOTP */

.subtitle {
    text-align: right;
    margin-top: 30px;
    color: #909090;
}

.required {
    color: #CB2915;
}

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width:150px;
    max-height:150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.kc-login-tooltip{
    position:relative;
    display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text{
    top:-3px;
    left:160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width:130px;
    text-align: center;
    border-radius: 2px;
    box-shadow:0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity:0;
    transition:opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity:0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before{ content: "\f15d"; }
.zocial.stackoverflow:before{ color: inherit; }



.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

#kc-form-buttons {

}

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.card-pf {
    min-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:linear-gradient(to top, rgba(45, 92, 198, 0.4), rgba(70, 125, 247, 0.7) 80%);    
    box-shadow:0 4px 20px 0 rgb(0 0 0 / 30%), 0 4px 40px 0 rgb(0 0 0 / 19%);
    padding: 40px 115px;
    padding-top: 31px;
}



.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}


.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}
.login-pf-page .login-pf-social-link a {
  padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}



.login-pf-page input[type="submit"].btn-primary {
    padding:10px;
    background: #142c61;   
    border:0; 
    font-size: 16px;
    margin-top:0;
    line-height: unset;
    text-transform: uppercase ;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;        
  }

.login-pf-page input[type="submit"].btn-primary:hover{background-color:#05163a}  

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
    width: 100%;
}

.login-pf-page .card-pf{
  margin-bottom: 10px;
  padding: 10px 40px 10px 40px;  
  min-height:590px;
  min-width: 530px;
  border-radius: 10px;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
    margin-bottom: 0px;
}

#kc-back {
    margin-top: 5px;
}

form#kc-select-back-form div.login-pf-social-section {
    padding-left: 0px;
    border-left: 0px;
}

/* JSB */

#kc-form h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    padding-top: 14px;
    margin: 10px 0;
}

input[type=text]{margin-bottom:7px;}
input[type=text], input[type=password]{font-size:14px; padding:10px 16px;}
button#btnLogin{font-size:1rem;margin-left:10px;float:left;border-radius:5px;background:#3869d4;color:white;padding:32px 32px;border-color:unset;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19)}
button#btnLogin:hover{background:#2f5bbb}

div.labelArea{
    margin-top: 20px;
    margin-bottom: 30px;
    min-width: 402px;
    font-size:14px;
    color:whitesmoke;    
}
.labelArea > label span{font-weight: 300;position: relative; left:5px;}
.labelArea > label span:hover{font-weight: bold;}
.labelArea i{color:whitesmoke; padding-left: 16px; font-size: 14px;}
.labelArea label{position: relative;cursor: pointer;}
/* label[for=saveId]{font-weight:normal;}
label:hover{font-weight: bold;} */
label > input[type=checkbox]{position:absolute; top:1px; font-size:0.8rem;}
label[for=saveId] span{padding-left:18px;}
.labelArea > label .newPass{left:9px}
.labelArea .mailTo{color:#39a0ff}
.labelArea .mailTo:hover{font-weight:bold}
.labelArea label.mail a:hover{ color: #00659c}
span.iconPw, span.newPass:hover, span.mailTo:hover{font-weight:bold;}

h3{
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
    border-top: 1px solid #cecece;
    padding-top: 20px;
    color:#ee7421;
    font-weight: bold;
    padding-left: 25px;
}
table{text-align:center; width: 100%;border-spacing: 0px;}
th{text-align:center; font-weight: bold; background-color: #e6ecf9;border:1px solid #d9d9d9 !important; border-bottom:0;}
td{background-color:white;border: 1px solid #d3d3d3}
ul.warring{
    padding-left: 0;
    border-bottom: 1px solid #cecece;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
ul.warring li{font-weight:300; list-style: none;padding-left: 35px;font-weight: 300;color:#c7c7c7}
.warring span{font-weight:bold;}

/* jsb 모달 */
.modalNewPass{
width:500px;
  display: none; 
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 200px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}   
.modalNewPass .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  width: 500px;
}
.modal-content h3{color: #1c2a72;font-size:2rem;font-weight:bold;margin:0;padding:0 0 20px 0;border:0}
.modal-content h4{font-size: 1.4rem !important; font-weight: bold; padding-top: 10px;}
.modal-content input{width:96%; padding: 1px; border: 1px solid #ececec;}
.modal-content input[type=text], .modal-content input[type=password]{margin:0;border-radius:2px;padding: 0 8px}/* 간격 수정*/
.modal-content table{text-align: center; width: 100%; font-size:14px;border-spacing: 0px;}
.modal-content td:first-child, .modal-content th:first-child{padding:4px;}
.modal-content th{text-align:left;padding-left:15px;font-weight: bold; background-color: #e6ecf9;border: 1px solid #d3d3d3;border-bottom:0;border-right:0;}
.modal-content td{background-color:white;border: 1px solid #d3d3d3;border-bottom:0;}
.lastLine th, .lastLine td{border-bottom:1px solid #d3d3d3;}

/* The Close Button */
.modalNewPass .close {
  color: #aaaaaa;
  float: right;
  font-size:20px !important;
  font-weight: bold;
}

.modalNewPass .close:hover,
.modalNewPass .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.pwRule ul{padding:0;}
.pwRule li{font-size: 1.2rem !important;margin-left:26px;}

.pwInvalid {
	color: #ff0d0d;
}
.pwValid {
	color: #3a7d34;
}


.pwRule li span{color:#ff0d0d;}
.btnArea{text-align: center;padding-top:20px;}
.btnReg{margin-right:5px;color:white;border-radius:5px;background:#3869d4;color:white;padding:5px 10px;border-color:unset;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2), 0 4px 10px 0 rgba(0,0,0,0.19)}
.btnCan{color:white;border-radius:5px;background:#BABABA;color:white;padding:5px 10px;border-color:unset;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2), 0 4px 10px 0 rgba(0,0,0,0.19)}
.copyArea{text-align: center;    padding-bottom:30px;}
.copyRight{
    position: relative;
    text-align: right;
    display: inline-block;
    width: 210px;
    left: -30px;
    color: #b9b9b9;
    font-size: 11px;
    font-weight: 300;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
}
.logoImg{
    position: absolute;
    right: -70px;
    top: 3px;
    width: 60px;
    height: 30px;
    background: url(../img/logo_skcnc.png) no-repeat;
    filter:drop-shadow(2px 2px 2px #192c5a);
}

/* 상단 텍스트 링크 */
.bgText{position:absolute;top:50px;left:60px;opacity:0.9}
.bgText:hover{opacity: 1;}
.bgText:hover::after{color:rgb(252, 252, 252);}
.bgText span{display: block;font-size:32px;font-weight:bold;line-height: 3.5rem; color:white; text-shadow: 2px 2px 15px #55a9ea;}
div.bgText:hover span {color: #FFFFFF; text-decoration: underline;}
div.bgText:hover::after{content:'포탈로 이동';font-size: 1.75rem; word-break:keep-all;}
.bgText span > span{color:rgb(0, 149, 255) !important;display: inline-block;}

#modalOpen2 span.newPass{color: #ff8400;left:5px;}
#modalOpen2 span.newPass:hover{font-weight:bold}

div.btnArea button{width:30%;display: inline-block;margin:0 !important;}

@media all and (max-width: 380px){
    .copyRight{
        width:100%;
        left:0;right:0;
    }
    .logoImg{
        right: 0;
        top: 45px;
    }
    .bgText{display: none;}
    #kc-content h3{padding-left:0}
    ul.warring{padding-left:0}
    ul.warring li{padding-left:0}
}

@media (max-width: 550px){
    .login-pf-page .card-pf{
        width:calc(100% - 20px);
        min-width:unset;
    }
}
/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 20px;
      margin-right: 20px;
      padding: 20px 20px 30px 20px;
    }
}
@media (max-width: 767px) {

    .login-pf-page .card-pf{
      max-width: none;
     
      margin-left: 0;
      margin-right: 0;
      padding-top: 0;     
    }
    label > input[type=checkbox]{
        top:1;
    }
    .card-pf.login-pf-accounts{
      max-width: none;
    }
}

@media (min-width: 768px) {
    .login-pf-page .login-pf-social-section:first-of-type {
        padding-right: 39px;
        border-right: 1px solid #d1d1d1;
        margin-right: -1px;
      }
      .login-pf-page .login-pf-social-section:last-of-type {
        padding-left: 40px;
      }
      .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
        margin-bottom: 0;
      }
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }

}

@media (max-width: 767px) {
    .bgText{top:15px; left:20px;display:none;}
    .bgText > span{display: inline-block;padding-right:10px;}    
    label{width:100%;font-size:14px;}
    label i{font-size:14px;}
    label[for=saveId]{
        padding-left:14px;
    }
    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: left;
    }

    #kc-header-wrapper {
      font-size: 16px;
      font-weight: bold;
      padding: 20px 60px 0 0;
      color: #72767b;
      letter-spacing: 0;
    }

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #kc-form {
        float: none;
    }

    #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 15px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

    .login-pf .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #kc-locale {
        position: absolute;
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        width: 100px;
        margin: 20px 0 0 20px;
    }

}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}