html {
    width:100%;
    height:100%;
    margin: 0px;
}

body {
    width:100%;
    margin: 0px;
    padding: 0px;
    background-color: #F1F2F4;
    position: relative;
}

div.blocka {
    width: 500px;
    height: 140px;
    position: absolute;
    top: 460px;
    left: 240px;
    margin: 0px;
    padding: 0px;
}

#app-title{
    height: 140px;
    padding: 0px;

    margin: 0px;
}
div.blockb {
    width: 520px;
    height: 810px;
    position: absolute;
    top: 60px;
    background-color: #FFFFFF;
    border-radius: 6px;
    right: 240px;
    margin: 0px;
    padding: 0px;
}

div.blockb-warning {
    width: 520px;
    height: 810px;
    position: absolute;
    top: 135px;
    background-color: #FFFFFF;
    border-radius: 6px;
    right: 240px;
    margin: 0px;
    padding: 0px;
}
.message-block {
    position: absolute;
    top: 8px;
    right: 240px;
    width: 520px;
    height: 43px;
    border-radius: 6px;
    border: 1px solid;
}

.message-block-long-word {
    position: absolute;
    top: 0px;
    right: 240px;
    width: 520px;
    height: 57px;
    border-radius: 6px;
    border: 1px solid;
}

.message-icon {
    vertical-align: middle;
    display: inline-block;
    padding: 10px 0px 10px 6px;
}

.message-icon-long-word{
    vertical-align: top;
    display: inline-block;
    padding: 14px 0px 40px 6px;
}

.message-block-error {
    background-color: #ffe6e6;
    border-color:  #c00;
}

.message-block-warning {
    background-color: #fdf2e5;
    border-color:  #ec7a08;
}

.message-block-success {
    background-color: #e9f4e9;
    border-color:  #3f9c35;
}

.message-block-info {
    background-color: #f5f5f5;
    border-color:  #8b8d8f;
}

.message-line {
    width: 480px;
    display: inline-block;
    margin: 0px;
    padding: 10px 0px 10px 0px;
    font-family: Yu Gothic UI_Bold;
    font-size:  15px;
}

.message-line-long-word {
    width: 480px;
    display: inline-block;
    margin: 0px;
    padding: 6px 0px 6px 0px;
    font-family: Yu Gothic UI_Bold;
    font-size:  15px;
}

.message-line-error {
    color :#a30000;
}

.message-line-warning {
    color :#795600;
}

.message-line-success {
    color :#1e4f18;
}

.message-line-info {
    color :#002952;
}

div.blockc {
    width: 470px;
    height: 45px;
    position: absolute;
    top: 895px;
    right: 3px;
}

div.blockc-warning {
    width: 470px;
    height: 45px;
    position: absolute;
    top: 970px;
    right: 3px;
}

#blockc-p{
    display: inline;
    height: 20px;
    font-family: Yu Gothic UI_Regular;
    font-size:  18px;
    color: #0041C0;
    margin: 0px 25px 0px 0px;

}
.head-border {
    height: 30px;
    display: flex;
    align-items: center;
    margin: 40px 60px 0px 60px;
    color: #707070;
    font-size:  18px;
    font-family: Yu Gothic UI_Regular;
}

.head-border:before,
.head-border:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #707070;
}

.head-border:before {
    margin-right: 1rem;
}

.head-border:after {
    margin-left: 1rem;
}

#social-button-img-field{
    position: relative;
    width: 200px;
    height: 40px;
    text-align: center;
}
#social-button-img{
    position: absolute;
    top: 0px;
    left: 0;
    width: 200px;
    height: 40px;
    text-decoration: underline;
}

#social-button-img:active{
    visibility: hidden;
}

#login-label {
    font-family: Yu Gothic UI_Bold;
    text-align: center;
    height: 40px;
    font-size:  35px;
    padding: 6px 0px 50px 0px;
    margin: 0px;
    color: #191919;
}

#register-label {
      font-family: Yu Gothic UI_Bold;
      text-align: center;
      height: 40px;
      font-size:  35px;
      padding: 6px 0px 50px 0px;
      margin: 0px;
      color: #191919;
  }

#make-account-label {
    height: 25px;
    text-align: center;
    font-size:  18px;
    padding: 0px;
    margin: 30px 60px 0px 60px;
    font-family: Yu Gothic UI_Regular;
    color: #0041C0;
    text-decoration:underline solid #0041C0
}

#not-account-access-label {
    height: 25px;
    text-align: center;
    font-size:  18px;
    padding: 0px;
    margin: 20px 60px 0px 60px;
    font-family: Yu Gothic UI_Regular;
    color: #0041C0;
    text-decoration:underline solid #0041C0
}

#user-name-label {
    height: 30px;
    font-size:  18px;
    margin: 0px 60px 0px 60px;
    font-family: Yu Gothic UI_Bold;
    color: #191919;
}
#user-pw-label {
    height: 30px;
    font-size:  18px;
    margin: 0px 60px 0px 60px;
    font-family: Yu Gothic UI_Bold;
    color: #191919;
}
#regist-username-label, #regist-lastname-label, #regist-firstname-label,
#regist-password-label, #regist-confirm-pw-label, #verify-email-label,
#recoveryCodeInput-label {
    height: 30px;
    font-size:  18px;
    margin: 0px 60px 0px 60px;
    font-family: Yu Gothic UI_Bold;
    color: #191919;
}
#input-box, #username, #password, #emailCode, #password-new,
#password-confirm, #totp, #userLabel, #otp, #firstName, #lastName,
#email_code, #recoveryCodeInput {
    height: 28px;
    width: 366px;
    margin: 0px 60px 0px 60px;
    padding: 5px;
    border-radius: 4px;
    border-color: #B2B2B2;
    border-width: 1px;
    border-style: solid;
}

input::-webkit-input-placeholder {
    font-size:  15px;
    color: #B2B2B2;
    font-family: Yu Gothic UI_Regular;
}
input:-moz-placeholder {
    font-size:  15px;
    color: #B2B2B2;
    font-family: Yu Gothic UI_Regular;
}
input::-moz-placeholder {
    font-size:  15px;
    color: #B2B2B2;
    font-family: Yu Gothic UI_Regular;
}
input:-ms-input-placeholder {
    font-size:  15px;
    color: #B2B2B2;
    font-family: Yu Gothic UI_Regular;
}

#regist-description {text-align:center;}

button.login-button, button.confirm-button {
    height: 50px;
    width: 380px;
    padding: 0;
    border: none;
    margin: 50px 60px 0px 60px;
    cursor: pointer;
}

#kc-form-regist-buttons{text-align:center;}
#kc-form-regist-buttons input{
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 4px; 
    color: #FFFFFF;
    background: #0063CC;    
    border: none;
    margin-top: 32px;
    cursor: pointer;
}

#kc-form-login-buttons, #kc-form-buttons, .kc-select-p-button{text-align:center;}
#kc-form-login-buttons input, #kc-form-buttons input{
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 4px; 
    color: #FFFFFF;
    background: #0063CC;    
    border: none;
    margin-top: 32px;
    margin: 50px 60px 0px 60px;
    cursor: pointer;
}

#rc-form-regist-buttons{text-align:center;}
#rc-form-regist-buttons input{
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 4px; 
    color: #FFFFFF;
    background: #0063CC;    
    border: none;
    margin-top: 32px;
    cursor: pointer;
}

#rc-form-regist-buttons input:disabled {
    background: #A0A0A0;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}


.kc-select-p-button{
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 4px; 
    color: #FFFFFF;
    background: #0063CC;    
    border: none;
    margin: 20px 150px 0 150px;
    cursor: pointer;
}

.rc-recovery-codes-actions{text-align:center;}
.rc-select-p-button{
    height: 30px;
    width: 160px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 4px; 
    color: #FFFFFF;
    background: #0063CC;    
    border: none;
    cursor: pointer;
}

.button-link {
    border:none;
    background-color:transparent;
    color:blue;
    text-decoration:underline;
    font-size:16px;
    cursor: pointer;
}

#kc-webauthn-authenticator {
	margin: 50px 60px 0px 60px;
}

#kc-webauthn-authenticator-label {
    font-weight: bold;
}

form.form-control {
    height: 280px;
    padding: 0px;
    margin: 0px;
}

form.social-form-control {
    height: 220px;
    padding: 0px;
    margin: 0px;
}

.kc-social-item {
    display:inline-block;
    width: 200px;
    height: 40px;
    padding: 0px;
    border: none;
    margin: 20px 150px 0px 150px;
    cursor: pointer;
    background-color: #FFFFFF;
}

.card-pf {
    width: 500px;
    position: absolute;
    top: 60px;
    background-color: #FFFFFF;
    border-radius: 6px;
    right: 240px;
    margin: 0px;
    padding: 0px;
}

.login-pf-page .card-pf {
    padding:0px 10px 0px 10px;
}

.login-pf-page .login-pf-header h1 {
    text-align: center
}

.required {
    margin: 0px 60px 0px 60px;
    color: #a30000;
}

.kc-recovery-codes-list {
    list-style: none;
    columns: 2;
    margin: 16px 0;
    padding: 16px 16px 8px 16px;
    border: 1px solid #D2D2D2;
}

@media (min-width: 768px) {
    div.blocka {
        display: none;
    }

    div.message-block, div.message-block-long-word {
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .card-pf {
        right: 0;
        left: 0;
        margin: 0 auto;
        height: 810px;
    }

    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        padding-top: 11px;
        z-index: 9999;
    }

    #rc-form-regist-buttons input, #kc-form-regist-buttons input, #kc-form-buttons input {
        width: 304px;
    }

    #kc-form-login-buttons input{
        height: 50px;
        width: 380px;
    }
    
    .kc-select-p-button{
        height: 40px;
        width: 200px;
    }
}

@media (max-width: 767px) {
    .login-pf body {
        background: white;
    }

    div.blocka {
        display: none;
    }

    .login-pf-page .card-pf {
        position: static;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
        border-top: 0;
        box-shadow: 0 0;
        margin: 0 auto;
        padding: 0 20px;
    }

    div.message-block, div.message-block-long-word {
        position: static;
        margin: 8px auto 0;
    }

    #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);
        background-color: transparent;
    }

    .login-pf .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #kc-locale {
        position: relative;
        top: 11px;
        text-align: right;
        z-index: 9999;
    }

    #rc-form-regist-buttons input, #kc-form-regist-buttons input, #kc-form-buttons input {
        width: 304px;
    }

    #kc-form-login-buttons input{
        width: 380px;
        height: 50px;
    }
    
    .kc-select-p-button{
        width: 200px;
        height: 40px;
    }
}

#kc-locale .pcoui-dropdown__inner {
    width: 130px;
}

html.login-pf {
    line-height: normal;
}