/*
 * INTER-Mediator
 * Copyright (c) INTER-Mediator Directive Committee (http://inter-mediator.org)
 * This project started at the end of 2009 by Masayuki Nii msyk@msyk.net.
 *
 * INTER-Mediator is supplied under MIT License.
 * Please see the full license for details:
 * https://github.com/INTER-Mediator/INTER-Mediator/blob/master/dist-docs/License.txt
 */

/* Styles for Generic Elements */
* {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
}

h1 {
    color: #333;
    border-bottom: 1px solid #999;
    padding: 20px 0;
    font-size: 1.6em;
    margin-bottom: 20px;
}

h2 {
    color: #333;
    border-bottom: none;
    padding: 20px 0 8px 0;
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: bold;
}

h3 {
    color: #333;
    border-bottom: none;
    padding: 8px 0 0 0;
    font-size: 1.2em;
}

h4 {
    color: #555;
    border-bottom: none;
    padding: 0;
    font-size: 1.0em;
    font-weight: bold;
}

p {
    text-indent: 1em;
}

ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

ol {
}

li {
    margin-left: 2.5em;
}

hr {
    margin: 10px 0;
}

/* Styles for tables */
table {
    border-collapse: collapse;
    font-size: 11pt;
    margin-bottom: 20px;
    border-top: 3px solid #9b9bcc;
}

table._im_index {
    float: left;
}

td, th {
    padding: 10px 20px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;

}

th {
    background-color: #EEEEEE;
    text-align: left;
}

td {
}

.align_top {
    vertical-align: top;
}

/* Styles for Form elements */
input {
    font-size: 11pt;
    padding: 2px;
}

textarea {
    font-size: 11pt;
}

option {
    font-size: 11pt;
}

select {
    font-size: 11pt;
}

button {
    font-size: 11pt;
    padding: 2px 10px;
}

label {
    padding-right: 10px;
}

select[type="text"] {
    font-size: 11px;
    color: red;
}

/* Other style definitions */

p.logo {
    background: #333;
    padding: 10px 20px 5px;
    border-left: 30px solid #9b9bcc;

}

#wrapper {
    width: 1024px;
    margin: auto;
}

.sub_title {
    font-size: 1.2em;
    padding: 20px 0 5px;

}

.back_btn {
    padding-bottom: 10px;
}

.memo {
    padding: 10px;
}

footer {
    border-top: 1px solid #9b9bcc;
    padding: 10px 20px;
    color: #999;
    text-align: right;
    font-size: 0.8em;
}

/* INTER-Mediator specific style definitions === Repeat Controls */

.IM_Button_Delete, .IM_Button_Copy {
    /*margin-bottom: 10PX;*/
    /*margin-left: 10PX;*/
}

/* INTER-Mediator specific style definitions === Navigation */
.IM_NAV_panel {
    background-color: #9b9bcc;
    padding: 4px;
    margin: 4px 0 4px 0;
}

.IM_NAV_JUMP {
    width: 50px;
    text-align: right;
}

span.IM_NAV_info {
    font-size: 9pt;
    color: #333333;
}

span.IM_NAV_button {
    padding: 2px 4px 2px 4px;
    margin: 2px 6px 2px 6px;
    border-radius: 3px;
    background-color: #6161ae;
    color: #eeeeee;
    cursor: pointer;
    display: inline-block;
}

span.IM_NAV_disabled {
    background-color: #666666;
    color: #eeeeee;
}

/* INTER-Mediator specific style definitions === Credit at the bottom of page */
div.IM_CREDIT {

}

div.IM_CREDIT ._im_credit1 {
    background-color: #F6F7FF;
    height: 2px;
    margin: 0;
    padding: 0;
}

div.IM_CREDIT ._im_credit2 {
    background-color: #EBF1FF;
    height: 2px;
    margin: 0;
    padding: 0;
}

div.IM_CREDIT ._im_credit3 {
    background-color: #E1EAFF;
    height: 2px;
    margin: 0;
    padding: 0;
}

div.IM_CREDIT ._im_credit4 {
    background-color: #D7E4FF;
    margin: 0;
    padding: 0;
    text-align: right;
    color: #666666;
    font-size: 7pt;
    line-height: 120%;
}

div.IM_CREDIT ._im_credit_mark {
    color: red;
    margin: 0;
    cursor: help;
}

div.IM_CREDIT ._im_socket_mark {
    color: red;
    margin-right: 2em;
    cursor: help;
}

div.IM_CREDIT ._im_credit_ssstatus {

}

div.IM_CREDIT ._im_credit_vstring {

}

/* INTER-Mediator specific style definitions === Message with Post-Only Mode */
span.IM_POSTMESSAGE {
    color: #7c7caa;
}

/* INTER-Mediator specific style definitions === Progress panel on the left-top corner */
#_im_logo {
    width: 40px;
    height: 40px;
    background-image: url(logo.gif);
    display: inline-block;
    margin-right: 8px;
}

#_im_animatedimage {
    width: 40px;
    height: 40px;
    background-image: url(inprogress.gif);
    display: inline-block;
    margin-left: 8px;
}

#_im_progress {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    color: #9b9bcc;
    z-index: 555555;
    /*transition-property: opacity;*/
    /*transition-duration: 0.2s;*/
    /*pointer-events: none;*/
}

/* INTER-Mediator specific style definitions === Authentication Panel and background */
#_im_authpanel, #_im_authpanel_2FA {
    width: 500px;
    background-color: rgba(51, 51, 51, 0.7);
    color: #eeeeee;
    margin: 150px auto 0 auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    font-weight: bold;
    z-index: 777777;
}

#_im_authpanel INPUT, #_im_authpanel_2FA INPUT {
    color: black;
}

#_im_authpanel BUTTON, #_im_authpanel_2FA BUTTON {
    color: #50506c;
}

#_im_authpback, #_im_authpback_2FA {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    padding: 50px 0 0 0;
    z-index: 777777;
    background-image: url(background.gif);
}

#_im_autherrorback {
    height: 100%;
    width: 100%;
    background-image: url(background-error.gif);
    position: absolute;
    padding: 50px 0 0 0;
    top: 0;
    left: 0;
    z-index: 777777;
}

#_im_autherrormessage {
    width: 240px;
    background-color: #333333;
    color: #DD6666;
    font-size: 16pt;
    margin: 50px auto 0 auto;
    padding: 20px 4px 20px 4px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

._im_authlabel, ._im_authlabel_2FA {
    text-align: right;
    float: left;
    color: #bdbdee;
    font-weight: normal;
    font-size: 1em;
}

._im_authlabel {
    width: 120px;
}

._im_authlabel_2FA {
    width: 180px;
}

._im_authlabel_pwchange {
    width: 120px;
    text-align: right;
    float: left;
    color: #bdbdee;
    font-size: 0.75em;
    padding-top: 4px;
}

#_im_password {
    margin-bottom: 15px;
}

#_im_username {
    margin-bottom: 15px;
}

#_im_code_2FA {
    margin-bottom: 15px;
}

._im_explain_2FA {
    color: #bdbdee;
    font-weight: normal;
    font-size: 1em;
}

#_im_authbutton {
}

#_im_changebutton {
}

#_im_oauthbutton {
}

#_im_enrollbutton {
}

#_im_resetbutton {
}

#_im_login_message {
    text-align: center;
    font-size: 1em;
    color: #e89da8;
    line-height: 180%;
}

#_im_newpass_message {
    text-align: center;
    font-size: 1em;
    color: #e89da8;
    line-height: 180%;
}

._im_alertmessage {
    color: red;
}

._im_auth_exp_2fa, ._im_auth_exp {
    font-size: 85%;
}

#_im_oauthbutton_mynumbercard-sandbox {
    padding: 0.75em 1em;
    margin: 0.5em;
    display: inline;
    color: #0017C1 !important;
    background: #FFFFFF;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #0017C1;
    border-radius: 0.5em;
    text-align: center;
    cursor: pointer;
}

#_im_oauthbutton_mynumbercard-sandbox::before {
    content: "";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0.75em 0 0;
    background: url(MyNumberCard-Icon_Blue.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

#_im_oauthbutton_mynumbercard-sandbox:hover {
    background: #C5D7FB;
    color: #00118F
}

#_im_oauthbutton_mynumbercard {
    padding: 0.75em 1em;
    margin: 0.5em;
    display: inline;
    color: #0017C1 !important;
    background: #FFFFFF;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #0017C1;
    border-radius: 0.5em;
    text-align: center;
    cursor: pointer;
}

#_im_oauthbutton_mynumbercard::before {
    content: "";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0.75em 0 0;
    background: url(MyNumberCard-Icon_Blue.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

#_im_oauthbutton_mynumbercard:hover {
    background: #C5D7FB;
    color: #00118F
}

#_im_oauthbutton_google {
    padding: 0 12px;
    margin: 0.5em;
    display: inline;
    color: #1F1F1F !important;
    background: #FFFFFF;
    font-size: 16px;
    border: 1px solid #747775;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    height: 40px;
}

#_im_oauthbutton_google::before {
    content: "";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 10px 0 0;
    background: url(Google-Logo.svg) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

#_im_oauthbutton_google:hover {
    background: #DDDDDD;
}

#_im_oauthbutton_facebook {
    padding: 0 12px;
    margin: 0.5em;
    display: inline;
    color: #FFFFFF !important;
    background: #1877F2;
    font-size: 16px;
    border: none;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    height: 40px;
}

#_im_oauthbutton_facebook::before {
    content: "";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 15px 0 0;
    background: url(Facebook_Logo_Small.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

#_im_oauthbutton_facebook:hover {
    background: #135ab6;
}
/* Widget Pop-up Panel */
._im_widget_popup_panelback {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 8000;
}

._im_widget_popup {
    padding-right: 20px;
    position: relative;
}

._im_widget_popup_panel {
    display: none;
    position: absolute;
    top: 24px;
    left: 10px;
    max-height: 300px;
    overflow: scroll;
    background-color: #dbdbdb;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
    z-index: 9001;
}

._im_widget_popup_value {
    display: inline-block;
    border: 1px solid lightslategray;
    border-radius: 5px;
    padding: 3px 6px;
    background-color: #f0f0f0;
    cursor: pointer;
    position: relative;
}

._im_widget_popup_close {
    float: right;
    width: 30px;
    text-align: center;
    border-bottom-left-radius: 50%;
    background-color: #323246;
    color: #ffffff;
    z-index: 9002;
    cursor: pointer;
}

._im_widget_popup_value:after {
    content: " ⊕";
}

._im_widget_popup_selection {
    display: block;
    margin: 4px;
    cursor: pointer;
}

._im_widget_popup_selected {
    background-color: #7c7caa;
}
