body {
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    overflow: hidden;
}
/* MainLayout */
.gims-layout {
}

.gims-layout-header {
    background: #003087;
    padding: 0 20px;
    /*background-image: url(../Images/header_bg.jpg);
    background-size: cover;*/
}

.gims-layout-header-qa {
    background: #e7a622;
    padding: 0 20px;
    /*background-image: url(../Images/header_bg.jpg);
    background-size: cover;*/
}

.gims-layout-header-dev {
    background: #3e7e1e;
    padding: 0 20px;
    /*background-image: url(../Images/header_bg.jpg);
    background-size: cover;*/
}

.gims-site-layout {
    min-height: calc(100vh - 54px);
}

.gims-site-layout-background {
    margin: 4px;
    padding: 10px 24px;
}

.gims-site-layout .gims-site-layout-background {
    background: #fff;
    overflow-y: auto;
    height: calc(100vh - 100px);
}

.gims-layout-footer {
    text-align: center;
}

/* GimsHeader */
#gims-logo {
    width: 400px;
    height: 48px;
    background-image: url(../Images/gims_logo.png);
    background-size: contain;
    float: left;
    margin-top: 10px;
    background-repeat: no-repeat;
}

#nykjp-logo {
    width: 100px;
    height: 54px;
    background-image: url(../Images/NYKgroup_logo.png);
    background-size: contain;
    float: right;
    margin-left: 20px;
}

#gims-signin-user {
    float: right;
    display: inline-block;
    color: white;
    font-size: 18px;
}

    #gims-signin-user > a {
        color: yellowgreen;
    }

#gims-login {
    /*    background-color: #003087;
*/ /*background-color: rgba(255, 255, 255, 0);*/
    color: white;
    padding-top: 7px;
}

#gims-login-user:hover {
    background-color: #1890ff;
    padding: 0 20px 0 4px;
}

#gims-env {
    color: greenyellow;
    padding-top: 7px;
    float: left;
}

/* SideMenu */
.ant-layout-sider-children ul {
    font-family: az_ea_font,"Segoe UI",az_font,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
    font-size: 16px;
}

.gims-menu {
}

/* BodyWithDrawer & Modal */
/* PageHeader */
.ant-page-header {
    padding: 0;
}

.ant-menu-horizontal {
    line-height: 38px;
}

.ant-page-header-heading-left {
    align-items: normal;
}

.ant-layout-footer {
    padding-top: 0px;
    padding-bottom: 10px;
}
/* 検索領域 */
.gims-search {
    margin-bottom: 10px;
    background: #fbfbfb;
    border: 1px solid #d9d9d9;
    padding: 14px 20px 6px;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

    .gims-search label {
        font-weight: bold;
    }

    .gims-search .ant-radio-group {
        margin-right: 20px;
    }

.gims-search-input {
    border-bottom: 1px solid lightgray;
    margin-bottom: 8px;
}
/* 検索項目 */
.ant-form-vertical .ant-form-item {
    margin: 0 0 14px;
}
/* 検索結果件数 */
.gims-list-count {
    color: red;
    font-weight: normal;
}

/* Drawer */
.ant-drawer-header {
    height: 64px;
}

.gims-form-normal, .gims-form-small {
    padding: 0 10px;
}

    .gims-form-normal .ant-form-item-label,
    .gims-form-small .ant-form-item-label {
        display: inline-block;
        flex-grow: 0;
        overflow: hidden;
        text-align: left;
        vertical-align: middle;
    }

        .gims-form-normal .ant-form-item-label > label,
        .gims-form-small .ant-form-item-label > label {
            font-size: 15px;
            white-space: initial;
            height: auto;
            padding-top: 4px;
            min-width: 26px;
        }

    .gims-form-small .ant-form-item {
        margin-bottom: 12px;
    }

    .gims-form-normal .ant-input[disabled], .gims-form-normal .ant-input[readonly],
    .gims-form-small .ant-input[disabled], .gims-form-small .ant-input[readonly],
    .gims-search-input .ant-input[disabled], .gims-search-input .ant-input[readonly] {
        background-color: #f5f5f5;
        border-color: #d9d9d9;
        box-shadow: none;
        opacity: 1;
        color: #726f6f;
        cursor: not-allowed;
        resize: vertical;
    }

.ant-drawer-title {
    font-size: 20px;
}

.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
    display: initial;
    margin-right: initial;
    color: initial;
    font-size: initial;
    font-family: initial;
    line-height: initial;
    content: initial;
}

.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::after {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun,sans-serif;
    line-height: 1;
    content: '*';
}

.gims-required-clear .ant-form-item-label > label::after {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun,sans-serif;
    line-height: 1;
    content: initial;
}

.gims-required-clear .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::after {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun,sans-serif;
    line-height: 1;
    content: initial;
}

.ant-form-item-label > label::after {
    content: initial;
    position: relative;
    top: -.5px;
    margin: 0 8px 0 2px;
}

.gims-sub-label label {
    font-size: 13px;
}

.gims-cannot-be-changed label {
    color: #003087;
    font-weight: bold;
}

.gims-action-button {
    float: right;
}

.ant-modal-footer, .ant-drawer-footer {
    padding: 10px 0;
}

    .ant-modal-footer button, .ant-drawer-footer button {
        margin: 0 0 15px 8px;
        width: 100px;
    }
/* AntDesign */
/* 共通 */
/* 選択ダイアログボタン */
.gims-select-button, .gims-clear-button {
    height: 30px;
    width: 30px;
}

.gims-clear-button {
    width: 32px;
    height: 32px;
    padding: 2.4px 0;
    font-size: 16px;
    border-radius: 2px;
    vertical-align: -3px;
    border: 1px solid lightgray;
}

/* 補助アクションボタン（事前チェック等） */

.gims-info-button {
    background-color: #faad14;
    color: white;
    border: none;
}

    .gims-info-button:focus, .gims-info-button:hover {
        background-color: #fbc861;
        color: white;
        border: none;
    }

    .gims-info-button svg, .gims-check-button-ok svg {
        width: 28px;
        height: 28px;
    }

.gims-check-button-ok {
    background-color: #24c524;
    color: white;
    border: none;
}

.gims-with-check-button span {
    background-color: initial;
    border: initial;
    padding: 0;
}

.gims-check-button-ok:focus, .gims-check-button-ok:hover {
    background-color: #4edd4e;
    color: white;
    border: none;
}

.gims-setting-button {
    background-color: gray;
    color: white;
    border: none;
}

    .gims-setting-button:focus, .gims-setting-button:hover {
        background-color: lightgray;
        color: white;
        border: none;
    }
/* タブ */
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab, .ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab {
    background: #EEE;
}

.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab-active, .ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-tab-active {
    background: #fff;
}

/* テーブル */
.ant-table.ant-table-small .ant-table-footer, .ant-table.ant-table-small .ant-table-tbody > tr > td, .ant-table.ant-table-small .ant-table-thead > tr > th, .ant-table.ant-table-small .ant-table-title, .ant-table.ant-table-small tfoot > tr > td, .ant-table.ant-table-small tfoot > tr > th {
    padding: 4px 8px;
}

.ant-table-pagination .ant-pagination {
    margin-top: 15px;
    margin-bottom: 10px;
}
/* アラートメッセージ */
.ant-alert-message {
    white-space: pre-wrap;
}
/* メニュー */
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu {
    padding: 0 20px 0 4px;
}

/* ページ固有 */
/* メンバー選択ダイアログ */
.gims-card-container {
    background-color: #d9d9d9;
    padding: 8px;
}

.gims-background-white {
    background-color: white;
    padding: 14px 14px 0px;
    float: left;
}

.gims-card-container .ant-tabs-bottom > .ant-tabs-nav, .ant-tabs-bottom > div > .ant-tabs-nav, .ant-tabs-top > .ant-tabs-nav, .ant-tabs-top > div > .ant-tabs-nav {
    margin: 0 0 0 0;
}

.gims-card-container .gims-tab-margin {
    margin: 0px 0px 0px 2px;
}
/* ライセンス変更 */
.gims-user-license-drawer .ant-drawer-body {
    padding: 6px 24px;
}

.gims-drawer-license-tree {
    float: left;
    padding: 10px 0;
    height: 100%;
    width: 50%;
}

.gims-modal-license-tree {
    float: left;
    padding: 10px 0;
    height: 100%;
    width: 50%;
}

.gims-drawer-tree {
    border: 1px solid lightgrey;
    overflow: auto;
    height: 67vh;
    padding: 6px;
}

.gims-modal-tree {
    border: 1px solid lightgrey;
    overflow: auto;
    height: calc(100vh - 340px);
    padding: 6px;
}

.gims-display-username {
    font-size: 24px;
    font-weight: bold;
}

#gims-departmentTree {
    padding: 10px 0;
    clear: both;
    overflow: auto;
    height: 40vh;
    border: solid 1px lightgray;
    height: calc(100vh - 250px);
}

.gims-expandBtn {
    float: left;
}

.gims-langRadio {
    float: right;
    padding: 4px 0px;
}

.gims-obi {
    padding: 10px 0px 40px;
    height: 30px;
}

.gims_hidden {
    display: none
}

/* テーブルで、カーソルを当てた時に太くなる */
.gims-text-bold .ant-table-row:hover {
    font-weight: 600;
}

select {
    border-color: lightgray;
    padding: 4px 10px;
}

.gims-table-row-disabled {
    /* cursor: not-allowed; */
    pointer-events: none;
    opacity: 0.7;
}

/*ページング*/
.ant-table-pagination.ant-pagination {
    margin: 6px 0;
}

.ant-layout-header {
    height: 54px;
}

.ant-col-24.ant-form-item-label, .ant-col-xl-24.ant-form-item-label, .ant-form-vertical .ant-form-item-label {
    padding: 0;
}

.gims-table-row-disabled {
    /* cursor: not-allowed; */
    pointer-events: none;
    opacity: 0.7;
}

/* Modalのcss  */
.gims-card-container .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab, .ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab {
    padding: 4px 16px;
}

.ant-modal-header {
    padding: 9px 20px;
}

.ant-modal-close-x {
    display: block;
    width: 56px;
    height: 40px;
    font-size: 16px;
    font-style: unset;
    line-height: 40px;
    text-align: center;
    text-transform: none;
    text-rendering: auto;
}

.ant-modal-footer {
    padding: 5px;
}

.ant-modal-body {
    padding: 5px 20px 0px 20px;
    font-size: 14px;
    line-height: 1.5715;
    word-wrap: break-word;
}

.ant-picker-now-btn {
    display: none;
}

.gims-table-no-scroll {
    overflow: hidden;
}

    .gims-table-no-scroll table {
        table-layout: fixed;
    }
/* テーブルの最小サイズ指定 */
.ant-table-body {
    min-height: 145px;
}

/* AddOnボタンのpadding無効化 */
.ant-input-group-addon {
    padding: 0px;
}

/* ReadOnly入力ボックスエラー時のスタイル */
.ant-form-item-has-error :not(.ant-input-group-wrapper).ant-input:read-only {
    background-color: #f5f5f5;
    border-color: #ff4d4f;
}

.gims-treenode-readonly .ant-tree-checkbox {
    cursor: not-allowed;
    background-color: lightgray;
    border-color: gray;
}

.gims-treenode-readonly .ant-tree-node-content-wrapper {
    cursor: not-allowed;
    user-select: none;
}

.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
    background-color: initial;
}

.ant-tree .ant-tree-node-content-wrapper:hover {
    background-color: initial;
}

.gims-treenode-readonly .ant-tree-title {
    background-color: #EEE;
}

.gims-color-red {
    color: red;
}

.gims-modal-tree .anticon-check-circle,
.gims-drawer-tree .anticon-check-circle {
    color: green;
    font-size: 120%;
    vertical-align: -.2em;
}

.gims-drawer-tree .anticon-stop {
    color: red;
}

.gims-modal-expand {
    margin-bottom: 10px;
}

.ant-tree-node-content-wrapper > .ant-tree-title {
    margin-left: 28px;
}

.ant-tree-node-content-wrapper > .ant-tree-iconEle ~ span {
    margin-left: 0px;
    color: black;
}

.gims-modal-tree .ant-tree-node-content-wrapper > .ant-tree-iconEle ~ span:hover {
    color: blue;
}


/* ライセンスツリー */
.gims-node-disabled {
    cursor: not-allowed;
}

.gims-drawer-tree .ant-tree-title {
    margin-left: 0px;
}

.gims-node-disabled .ant-tree-title {
    background-color: lightgray;
    cursor: not-allowed;
}

.gims-node-disabled .ant-tree-checkbox-inner {
    cursor: not-allowed;
}

    .gims-node-disabled .ant-tree-checkbox-inner:hover {
        border-color: lightgray;
    }



.gims-node-disabled > .ant-tree-checkbox-checked .ant-tree-checkbox-inner {
    background-color: lightgray;
    border-color: lightgray;
    cursor: not-allowed;
}

    .gims-node-disabled > .ant-tree-checkbox-checked .ant-tree-checkbox-inner:hover {
        border-color: lightgray;
    }

.gims-node-disabled > .ant-tree-checkbox-checked::after {
    cursor: not-allowed;
}

.gims-drawer-tree .ant-tree-title {
    padding: 0 4px;
}

select:disabled {
    color: rgba(0,0,0,.25);
    background: #f5f5f5;
    cursor: not-allowed;
    color: rgba(0,0,0,.85)
}

.ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {
    white-space: pre-wrap;
}

.ant-tree .ant-tree-treenode {
    display: flex;
    align-items: flex-start;
    padding: 0 0 4px 0;
    outline: 0;
}

.gims-node-hide {
    display: none;
}

.ant-select-selection-item {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 400;
}

.gims-label-wide .ant-form-item-label {
    flex: 0 0 60%;
    min-width: 60%;
}

.gims-menu-item {
    white-space: pre-line;
}

#resultMessage {
    white-space: pre-line;
}

.ant-menu-inline.ant-menu-root .ant-menu-item > *, .ant-menu-inline.ant-menu-root .ant-menu-submenu-title > * {
    line-height: 1.2;
    padding-bottom: 2px;
}

.ant-select-disabled .ant-select-selection-item,
.ant-radio-disabled + span,
.ant-input-number-disabled input,
.ant-picker-input > input[disabled] {
    color: #726f6f;
}

.ant-table-pagination {
    justify-content: flex-end;
}

.ant-progress-text {
    padding-left: 8px;
    vertical-align: baseline;
}

.ant-form-item-explain, .ant-form-item-extra {
    margin-bottom: 24px;
}

.ant-form-horizontal .ant-form-item-control {
    flex: auto;
}

.gims-menu-collapsed-icon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* =============================================
AntDesign v0.16.3 RadioGroup不具合対応
ラジオボタンをクリックして選択変更した場合
デフォルトONの選択状態の表示が消えない。
値は切り替わるが表示が複数選択状態になる。
ラベルをクリックした場合は問題なし。
修正される可能性が高いので不要になった場合は
次の注釈まで削除。
============================================= */
.ant-radio-input:checked + .ant-radio-inner::after {
    display: none;
}

.ant-radio-checked .ant-radio-input + .ant-radio-inner::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    background-color: #1890ff;
    border-top: 0;
    border-left: 0;
    border-radius: 16px;
    content: ' ';
}

.ant-radio-input:checked + .ant-radio-inner {
    border-color: lightgray;
}

.ant-radio-checked .ant-radio-input + .ant-radio-inner {
    border-color: #1890ff;
}
.gims-NumberLicense-checked .ant-tree-node-content-wrapper {
    cursor: not-allowed;
    color: rgba(0, 0, 0, 1) !important;
    opacity: 1 !important;
}
.gims-NumberLicense-checked .ant-tree-checkbox-inner::after {
    border-color: #fff !important;
}
.gims-NumberLicense-checked .ant-tree-checkbox-inner {
    border-color: black !important;
    background-color: #ffffff;
}
/* ========================================== */