/* コンポーネント */
.cm-circulate-timeline-cmp-inputicon .form {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    cursor: pointer;
}

.cm-circulate-timeline-cmp-inputicon .form::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-size: .8rem;
    font-weight: 900;
    margin-left: auto;
}

.cm-circulate-timeline-cmp-inputicon .form.focus {
    border-color: #197aff;
    box-shadow: 0 0 0 .2rem rgba(0, 64, 152, 0.25);
}

.cm-circulate-timeline-cmp-inputicon .pulldown {
    position: absolute;
    transform: translate(0, .2rem);
    width: 120px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, .25);
    background-color: #fff;
    z-index: 1100;
    outline: none;
}

.cm-circulate-timeline-cmp-inputicon .pulldown > ul {
    margin: 0;
    padding: 0;
}

.cm-circulate-timeline-cmp-inputicon .pulldown > ul > li {
    list-style: none;
    padding: .25rem .5rem;
    border-radius: .25rem;
    text-align: center;
    cursor: pointer;
}

.cm-circulate-timeline-cmp-inputicon .pulldown > ul > li.active,
.cm-circulate-timeline-cmp-inputicon .pulldown > ul > li:hover {
    background-color: #555;
    color: #fff;
}

.cm-circulate-timeline-cmp-inputicon .pulldown-overlay {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1099;
    width: 100%;
    height: 100%;
}

.cm-circulate-timeline-cmp-inputicon .pulldown-overlay > label {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cm-circulate-timeline-cmp-inputrerecord button,
.cm-circulate-timeline-cmp-inputisdisplaytime button {
    background-color: #fff;
}

.cm-circulate-device-cmp-inputtimeline {
    width: fit-content;
}

.cm-circulate-device-cmp-inputtimeline:focus-visible {
    outline: none;
}

.cm-circulate-device-cmp-inputtimeline:focus > button.focus {
    box-shadow: 0 0 0 .2rem rgba(0, 64, 152 .5);
}

.cm-circulate-cmp-tablepreview th.header-item {
    max-width: calc(var(--width) * 1rem + 1rem + 2px); /* 設定幅 + padding + border */
    min-width: calc(var(--width) * 1rem + 1rem + 2px); /* 設定幅 + padding + border */
    overflow-x: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.cm-circulate-cmp-tablepreview table.grouped-row tr.row-header {
    background-color: #e9ecef;
    border-top: 2px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

/* 画面固有 */
#cm-circulate-record-record .dropdown-menu {
    left: -326px;
    z-index: 1100;
}

#cm-circulate-recordlog-recordlog .dropdown-menu {
    left: -107px;
    z-index: 1100;
}

#cm-circulate-record-record .dropdown-menu-overlay,
#cm-circulate-recordlog-recordlog .dropdown-menu-overlay {
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1099;
    width: 100%;
    height: 100%;
}

#cm-circulate-record-record .dropdown-menu-overlay .popup-trigger,
#cm-circulate-recordlog-recordlog .dropdown-menu-overlay .popup-trigger {
    position: absolute;
    width: 100%;
    height: 100%;
}

#cm-circulate-record-record th.sunday {
    color: red;
}

#cm-circulate-record-record th.saturday {
    color: blue;
}

#cm-circulate-record-record th.header-item {
    max-width: calc(var(--width) * 1rem + 1rem + 2px); /* 設定幅 + padding + border */
    min-width: calc(var(--width) * 1rem + 1rem + 2px); /* 設定幅 + padding + border */
    overflow-x: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

#cm-circulate-record-record table.grouped-row tr.row-header {
    background-color: #e9ecef;
    border-top: 2px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

#cm-circulate-record-record .table-filter-wrapper {
    overflow-x: visible;
    padding-top: .25rem;
}

#cm-circulate-record-record .table-filter-wrapper .aa-cmp-loading .spinner-border {
    width: 1.25rem;
    height: 1.25rem;
}

#cm-circulate-device-devices tr.warning {
    background-color: var(--warning);
}

#cm-circulate-device-devices tr.warning .ping-status::before {
    margin-right: .5rem;
    font-family: 'Font Awesome 5 Free';
    content: '\f071';
    font-weight: 900;
    color: #cda618;
}
