@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body, div {
    font-family: ExFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.content {
    overflow-y: auto;
    /*height: calc(100vh - 57px);*/
    padding-top: 0px;
    padding-bottom: 10px;
}
.content > div {
    padding-top: 0.5rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkw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0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "エラーが発生しました"
    }

.comMsg {
    z-index: 9999 !important;
}

/*明細にFormItemを設定する場合用*/
.detail-form-item {
    margin-bottom: 0px !important;
}

/*商品パネルボタン用*/
.btn-item-panel {
    border: 1px solid;
    width: 120px;
    height: 50px;
    font-size: 0.9em;
    line-height: 1em;
    padding: 3px;
}

/*入居者顔写真用*/
.face-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    object-fit: contain;
}
/*
********************
    定数[COM_CST]
********************
*/
/*フォントサイズ(小)*/
.com-fontsize-small {
    font-size: 0.8rem !important;
}

/*フォントサイズ(中)*/
.com-fontsize-medium {
    font-size: 1.25rem !important;
}

/*フォントサイズ(大)*/
.com-fontsize-large {
    font-size: 1.8rem !important;
}

/*フォント*/
.com-fontfamily {
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', Osaka, 'MS PGothic', arial, helvetica, sans-serif !important;
}

/*カラー（黒）*/
.com-color-black {
    color: #222222 !important;
}

/*カラー（赤）*/
.com-color-red {
    color: #FF3333 !important;
}

/*カラー（青）*/
.com-color-blue {
    color: #3366CC !important;
}

/*カラー（緑）*/
.com-color-green {
    color: #339966 !important;
}

/*カラー（灰色）*/
.com-color-gray {
    color: #C0C0C0 !important;
}

/*カラー（白）*/
.com-color-white {
    color: #FFFFFF !important;
}

/*noticeの背景色設定*/
.notice-info {
    background-color: #e6f7ff !important;
}
.notice-success {
    background-color: #f6ffed !important;
}
.notice-warn {
    background-color: #fffbe6 !important;
}
.notice-error {
    /*background-color: rgba(255,192,192,0.9) !important;*/
    background-color: #fff2f0 !important;
}

/*noticeのアイコン位置を設定*/
.ant-notification-notice-icon {
    margin-top: -10px;
}

/*ボタンのアイコン位置を設定*/
.anticon {
    vertical-align: 0em !important;
}
.anticon.anticon-login {
    vertical-align: 0.1em !important;
}

/*UI対応　===============================================================================================--*/
/*
    ベースカラー　　：#DEF7F1
    メインカラー　　：#007FE0
    　　サブメニュー：#121755
    アクセントカラー：#fffacd
    文字色          ：#333333
*/
/*リンクの文字色*/
    a {
        color: #333333 !important;
    }
/*背景色*/
main {
    background: #DFFFFD !important;
    /*background: linear-gradient(to bottom, #F0F8FF 0%, #DEF7F1 100%) !important;*/
    color: #333333 !important;
}
/*サイドバーの背景色*/
    .sidebar {
        background: #007FE0 !important;
        color: #f0f0f0 !important;
        z-index: 30 !important;
    }
/*ヘッダーの背景色*/
    .top-row {
        background: #ffffff !important;
        color: #333333 !important;
        z-index: 30 !important;
    }
/*ロゴの背景色*/
    .logo {
        background: #ffffff !important;
        color: #333333 !important;
    }
/*メニューの背景色*/
    .ant-menu, .ant-menu-sub, .ant-menu-submenu, .ant-menu-item {
        background: #007FE0 !important;
        color: #f0f0f0 !important;
    }
/*サブメニューの背景色*/
        .ant-menu-submenu .ant-menu-sub, .ant-menu-submenu .ant-menu-sub .ant-menu-item {
            background: #318CE7 !important;
            color: #f0f0f0 !important;
        }
/*メニューの矢印の文字色*/
    .ant-menu-submenu-arrow {
        color: #f0f0f0 !important;
    }
/*カーソルが当たっているメニューの背景色*/
    .ant-menu-item:hover, .ant-menu-submenu-title:hover, .ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {
        background: #007FE0 !important;
        color: #f0f0f0 !important;
    }
/*選択されているメニューの背景色*/
    .ant-menu-item:active, .ant-menu-submenu-selected, .ant-menu-item-selected, .ant-menu-submenu-title:active {
        background: #007FE0 !important;
        color: #f0f0f0 !important;
    }
/*選択されているサブメニューの背景色*/
    .ant-menu-light .ant-menu-item:hover, .ant-menu-light .ant-menu-item-active, .ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, .ant-menu-light .ant-menu-submenu-active, .ant-menu-light .ant-menu-submenu-title:hover {
        background: #007FE0 !important;
        color: #f0f0f0 !important;
    }
/*選択されているメニューのボーダー*/
    .ant-menu-item::after {
        border: 0 !important;
    }
/*サブメニューの横幅がなぜか+1pxされているので調整*/
    .ant-menu-inline .ant-menu-item, .ant-menu-inline .ant-menu-submenu-title {
        width: 100% !important;
    }
    .ant-menu-inline .ant-menu-item::after {
        border: 0 !important;
    }
/*サブメニューのボーダー削除*/
.ant-menu-inline, .ant-menu-vertical, .ant-menu-vertical-left {
    border: 0 !important;
}
/*タブコンポーネントの背景色*/
.ant-tabs {
    background: #f8f8f8 !important;
    border-top: 0 !important;
    box-shadow: 0px 2px 2px 0px gray !important;
}
/*タブコンポーネントのタブリストのボーダー*/
    .ant-tabs-top > .ant-tabs-nav::before {
        border-bottom: 0 !important;
    }
.ant-tabs-tabpane > div {
    background: #f8f8f8 !important;
}
/*タブコンポーネントの両端の余白*/
.ant-tabs-content-holder {
    margin-right: 10px;
    margin-left: 10px;
}
/*タブコンポーネントのタブの丸み*/
.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab {
    border-radius: 2px 2px 0 0 !important;
}
/*タブコンポーネントのタブリストの余白*/
.ant-tabs-top > .ant-tabs-nav {
    margin: 0 0 0 0;
}
/*タブコンポーネントのアクティブのタブの色*/
.ant-tabs-nav .ant-tabs-tab-active {
    background: #007FE0 !important;
    color: #f0f0f0 !important;
}
/*タブコンポーネントのタブの文字色*/
.ant-tabs-tab-btn {
    color: #333333 !important;
}
/*タブコンポーネントのタブの文字色*/
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    color: #f0f0f0 !important;
}
/*タブコンポーネントの使用不可タブの文字色*/
.ant-tabs-tab.ant-tabs-tab-disabled {
    background: #dddddd !important;
}
/*タブコンポーネントのタブリストの背景色*/
/*縦並びのタブにも影響があるためコメント化*/
/*.ant-tabs > .ant-tabs-nav .ant-tabs-nav-wrap {
    background: #DFFFFD !important;
}*/
/*タブコンポーネント内のタブコンポーネントには影を表示しない*/
.ant-tabs .ant-tabs {
    box-shadow: none !important;
}
/*カードコンポーネントの背景色*/
.ant-card {
    background: #f8f8f8 !important;
    color: #333333 !important;
    box-shadow: 0px 2px 2px 0px gray !important;
}
/*カードコンポーネントのヘッダーの背景色*/
.ant-card-head {
    background: #007FE0 !important;
    color: #f0f0f0 !important;
}
/*カードコンポーネントのヘッダーのボタンの文字色*/
.ant-card-extra i {
    color: #f0f0f0 !important;
}
/*カードコンポーネントのボディの背景色*/
.ant-card-body {
    background: #f8f8f8 !important;
    color: #333333 !important;
}
/*カードコンポーネント内のタブコンポーネントの背景色*/
.ant-tabs-card > .ant-tabs-nav {
    background: #f8f8f8 !important;
    color: #333333 !important;
}
/*カードコンポーネント内の選択されているタブコンポーネントの背景色*/
.ant-tabs-card > .ant-tabs-tab-active {
    background: #f8f8f8 !important;
    color: #333333 !important;
}

/*グリッドが直接画面に配置されている場合は影を表示*/
.ant-table-wrapper {
    box-shadow: 0 3px 4px gray !important;
    border-radius: 4px;
    border: solid #c7c7c7 1px !important;
}
/*カード内のグリッドは影を表示しない*/
.ant-card .ant-table-wrapper {
    box-shadow: none !important;
}
.ant-tabs .ant-table-wrapper {
    box-shadow: none !important;
}
/*モーダル内のグリッドは影を表示しない*/
.ant-modal-body .ant-table-wrapper {
    box-shadow: none !important;
}
/*グリッドのヘッダーの背景色*/
.ant-table-thead > tr > th {
    background: #007FE0 !important;
    color: #f0f0f0 !important;
}
/*グリッドの背景色*/
.ant-table {
    background: #ffffff !important;
}
    /* 奇数行のスタイル */
    .ant-table tr:nth-child(odd) {
        background-color: #fcfcfc;
    }
    /* 偶数行のスタイル */
    .ant-table tr:nth-child(even) {
        background-color: white;
    }
/*グリッドの選択された行の背景色*/
.ant-table-tbody > tr.ant-table-row:hover > td, .ant-table-tbody > tr > td.ant-table-cell-row-hover {
    background: #fffacd !important;
    color: #333333 !important;
}

.ant-table-pagination.ant-pagination {
    margin: 0 !important;
    padding: 7px 0 !important;
    background: #f8f8f8 !important;
}

[class*="right, right"] {
    justify-content: flex-end;
}

/*ネストされたグリッドのアイコン*/
.ant-table-expand-icon-col {
    width: 30px !important;
}
/*ネストされたグリッドの背景色*/
tr.ant-table-expanded-row > td, tr.ant-table-expanded-row:hover > td {
    background: #989898 !important;
}
/*ネストされたグリッドのヘッダーの背景色*/
.ant-table-expanded-row .ant-table-thead > tr > th {
    background: #003262 !important;
    color: #f0f0f0 !important;
}
/*ネストされたグリッドの位置*/
.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table {
    margin: -8px -8px 22px 25px !important;
}
/*ネストされたグリッドの枠ではボーダーを非表示にし、影を表示しない*/
.ant-table-expanded-row > .ant-table-cell > .ant-table-wrapper {
    border: 0 !important;
    box-shadow: none !important;
}
/*グリッドのスクロールバーの白線を非表示*/
.ant-table-cell-scrollbar:not([rowspan]) {
    box-shadow: 0 0 0 0 !important;
}
/*FullCalendarの対応*/
/*カレンダーの背景色*/
.fc-view {
    background: #fff !important;
}
/*カレンダーの文字色*/
.fc-day > div > a {
    color: #333333 !important;
}

.fc-daygrid-day-number {
    color: #333333 !important;
}
/*セルの背景色*/
.fc-day {
    background: #fff !important;
}
/*特定の曜日の背景色*/
.fc-day-sat {
    background: #f0f2fe !important;
}

.fc-day-sun {
    background: #ffeded !important;
}
/*特定の曜日の文字色*/
.fc-view > .fc-day-sat > a {
    color: blue !important;
}

.fc-view > .fc-day-sun > a {
    color: red !important;
}
/*ヘッダー行の背景色・文字色*/
.fc-col-header-cell {
    background: #ededed !important;
}
    /*特定の曜日のヘッダー行の背景色・文字色*/
    .fc-col-header-cell.fc-day-sat {
        background: #dbe0ff !important;
        color: blue !important;
    }

    .fc-col-header-cell.fc-day-sun {
        background: #fee3e3 !important;
        color: red !important;
    }
/*Todayの背景色*/
.fc-day-today {
    background: #cadce9 !important;
}
/*予定の文字色・余白*/
.fc-h-event .fc-event-main {
    margin: 2px !important;
    color: #ffffff !important;
}
/*予定の背景色・線・余白*/
    .fc-h-event {
        /*background: #007FE0 !important;*/
        border: 0 !important;
        margin: 2px;
    }

    .fc-event {
        color: #333333 !important;
    }
/*カレンダーの文字のサイズ*/
    .fc .fc-toolbar-title {
        font-size: 1.75em !important;
    }
/*カレンダーのボタンの色*/
    .fc .fc-button-group > .fc-button {
        background: #007FE0 !important;
        color: #f0f0f0 !important;
        border: 0 !important;
    }
/*カレンダーのアクティブのボタンの色*/
    .fc .fc-button-group > .fc-button.fc-button-active, .fc .fc-button-group > .fc-button:active, .fc .fc-button-group > .fc-button:focus, .fc .fc-button-group > .fc-button:hover {
        background: #0047AB !important;
        color: #f0f0f0 !important;
        border: 0 !important;
    }
/*ボタンの対応*/
/*デフォルトのボタン*/
    .btn {
        margin-bottom: 0.2rem;
    }

    .btn:hover {
    }
/*ant designのボタン*/
    .ant-btn-default {
    }

/*登録ボタンやメイン処理のボタン*/
.btn-primary {
    background: #0047AB !important;
    color: #f0f0f0 !important;
}
    .btn-primary:hover {
        background: #246BCE !important;
        color: #f0f0f0 !important;
    }
.ant-btn-primary {
    background: #0047AB !important;
    color: #f0f0f0 !important;
    border: 0 !important;
}
    .ant-btn-primary:hover {
        background: #246BCE !important;
        color: #f0f0f0 !important;
        border: 0 !important;
    }
    .ant-btn-primary[disabled] {
        background: #376ab2 !important;
        color: #f0f0f0 !important;
    }
    /*サブ処理のボタン*/
    .btn-secondary {
    }
/*帳票ボタン*/
.btn-success {
}
/*削除系ボタン*/
.btn-danger {
}
/*クリア系ボタン*/
.btn-warning {
}
/*リンクの文字*/
.ant-btn-link {
    color: #333333 !important;
}
/*施設名の色*/
@media (min-width: 1280px) {
    .senior-home-color {
        color: #0047AB !important;
    }
    .trigger {
        margin-right: 0.5em !important;
        color: #0047AB !important;
        font-size: x-large !important;
    }
}

@media (max-width: 1279px) {
    .senior-home-color {
        color: #f0f0f0 !important;
    }
}
/*お気に入りメニューのアイコンの色*/
.senior-icon-color {
    color: #0047AB !important;
}
    .senior-icon-color:hover {
        color: #007FE0 !important;
    }

/*お気に入りメニューの文字の色*/
.senior-icon-name-color {
    color: #0047AB !important;
}
    .senior-icon-name-color:hover {
        color: #007FE0 !important;
    }

/*メニューの文字の色*/
.senior-menu-color {
    color: #f0f0f0 !important;
}
/*通知のベルアイコン用*/
@media (min-width: 1280px) {
    .senior-bell-color {
        color: #0047AB !important;
    }
    .senior-bell-color:hover {
        color: #007FE0 !important;
    }
}

@media (max-width: 1279px) {
    .senior-bell-color {
        color: #f0f0f0 !important;
    }
    .senior-bell-color:hover {
        color: #f0f0f0 !important;
    }
}
/*モーダルのヘッダー*/
.ant-modal-header {
    background: #007FE0 !important;
    color: #f0f0f0 !important;
}
/*モーダルのヘッダーの文字色*/
.ant-modal-title {
    color: #f0f0f0 !important;
}
/*モーダルの背景色*/
.ant-modal-body {
    background: #f8f8f8 !important;
    color: #333333 !important;
}
/*モーダルの最大化ボタン*/
.ant-modal-max-btn {
    right: 2px !important;
}
/*ログイン画面には影響がないようにする*/
.senior-frame .ant-card, .senior-frame .ant-card-head {
    background: #ffffff !important;
}
/*ログアウトボタン代わりのアイコンの調整*/
.ant-avatar {
    margin-top: 0 !important;
    background: #0047AB !important;
}
/*区切りの濃さ*/
.ant-divider-horizontal.ant-divider-with-text {
    border-top-color: rgba(0, 0, 0, 0.70) !important;
}
/*区切りの文字*/
.ant-divider-inner-text {
    font-weight: 700
}
/*ホーム画面の背景*/
/*.senior-bg-main {
    position: relative;
    background-color: rgba(0,0,0,0) !important;
    z-index: 20;
}
.senior-bg-img {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: -10;
}
.senior-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
    background-image: url('../img/main_bg2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}*/

/*BootStarpのカードの背景色*/
.card-body {
    background: #f8f8f8 !important;
    color: #333333 !important;
}
/*利用者情報画面の状態区分の背景色*/
.senior-user-tag-bg {
    background: #0047AB !important;
    color: #f0f0f0 !important;
}
/*白抜きボタンに色を付ける*/
.senior-btn-color {
    background: #fffacd !important;
    color: #333333 !important;
}
/*モバイル専用画面の背景の大きさ*/
@media (max-width: 599px) {
    .page {
        height: 100%;
    }
}
/*テーブルのヘッダーのアイコン（フィルター等）*/
.anticon-filter > svg {
    color: #f0f0f0 !important;
}
/*なぜかテーブルのフィルターの条件追加ボタンの文字色が反映されないので追加*/
.ant-btn-icon-only.ant-btn-sm {
    color: #f0f0f0 !important;
}


/** 非活性時の文字色変更 */
.ant-input[disabled] {
    color: #808080 !important;
}
.ant-input[disabled]::placeholder {
    color: #808080 !important;
}

.ant-input[disabled]::-ms-input-placeholder {
    color: #808080 !important;
}
.ant-picker.ant-picker-disabled {
    color: #808080 !important;
}
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    color: #808080 !important;
}
.ant-picker-input > input[disabled] {
    color: #808080 !important;
}
.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after {
    border-color: #808080 !important;
}

.ant-row{
    min-width:100% !important;
}

.ant-modal-content {
    overflow: unset !important;
}

.ant-table-resizable-handle{
    height:100% !important;
}

.ant-modal-max-btn{
    color:white !important;
}

.ant-modal-max {
    margin-top: 0 !important;
}

/*エラーのメッセージが他項目と被るため追加*/
.ant-form-item-control > div:not([class])[style*="display: flex"] {
    display: block !important;
}
.ant-form-item-control:has(> div:not([class])[style*="display: flex"]:nth-child(n+2 of div:not([class])[style*="display: flex"])) > div:not([class])[style*="display: flex"]:not(:last-child) > div[style*="width: 0px; height: 24px;"] {
    height: 0 !important;
}
