@import url(https://fonts.googleapis.com/css?family=Nunito);
@charset "UTF-8";

body {
    color: rgba(0, 0, 0, 0.72);
    background-color: #FFF;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 14px;
}

a {
    color: #999;
}

a:hover,
a:active {
    color: #000;
    text-decoration: none;
}

h1 {
    font-size: 1.2rem;
    font-weight: bold;
}

h2 {
    color: #666;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: solid 2px #666;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-bottom: 6px;
    line-height: 1.4rem;
}

h3 {
    color: #666;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    padding-bottom: 0;
    line-height: 1rem;
}

nav {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0;
}

nav a {
    color: #000;
}

label em {
    font-size: 0.75rem;
    font-weight: bold;
    font-style: normal;
    color: #700;
}

.table {
    border-collapse: collapse;
    table-layout: fixed;
}

.table td,
.table th {
    vertical-align: middle;
    overflow: scroll;
    -ms-overflow-style: none;
    /* IE, Edge 対応 */
    scrollbar-width: none;
    /* Firefox 対応 */
}

.table td::-webkit-scrollbar,
.table th::-webkit-scrollbar {
    display: none;
}

.custom-file .custom-file-label {
    height: calc(1.75rem + 2px);
    line-height: 1.2;
}

.custom-file .custom-file-label:after {
    height: 1.75rem;
    line-height: 1.2;
}

.custom-file .thumbnail-image {
    margin-top: 5px;
}

.custom-file .thumbnail-image img {
    display: block;
    max-height: 120px;
    background-image: url(/img/check-pattern.png);
}

.btn-light {
    border: 1px solid #ced4da;
}

.dropdown-menu {
    padding: 10px 0;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    cursor: pointer;
}

.form-group label {
    margin: 0;
}

.form-control {
    border-radius: 0.25rem !important;
    padding: 0 0.375rem;
    height: calc(1.75rem + 2px);
}

.form-control.is-invalid,
.form-control:invalid {
    background-image: none;
    padding-right: 0.375rem;
}

select.form-control {
    width: auto;
    min-width: 70px;
    max-width: 100%;
}

.col-form-label {
    line-height: 1;
    padding: calc(0.375rem + 1px) 0;
}

.col-form-label-ml {
    line-height: 1;
    padding: 0;
}

.form-checkbox label {
    padding-right: 10px;
}

.alert {
    cursor: pointer;
    padding: 0.4rem 0.8rem;
}

.wave-dash {
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    padding: 0.6rem 0.1rem;
}

.pre {
    white-space: pre;
}

select.label-div {
    width: 100%;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #FFF;
}

.datetime-control input[type=text] {
    width: 100px;
    display: inline-block;
}

.datetime-control select {
    display: inline-block;
}

.date-control input[type=text] {
    width: 100px;
    display: inline-block;
}

.table-index .table-index-check {
    width: 25px;
}

.table-index .table-index-check input {
    margin: 3px 4px;
    top: 0;
    left: 0;
}

.table-index thead th {
    border-bottom: 1px solid #dee2e6;
}

.table-index thead .table-index-check input {
    margin: 0 4px;
    top: 0;
    left: 0;
}

.table-index thead .code {
    width: 150px;
}

.table-index thead .div-narrow {
    width: 70px;
}

.table-index thead .div {
    width: 90px;
}

.table-index thead .div-wide {
    width: 120px;
}

.table-index thead .date {
    width: 100px;
}

.table-index thead .datetime {
    width: 150px;
}

.table-index thead .control {
    width: 120px;
}

@media (max-width: 1200px) {
    .table-index thead .control {
        width: 80px;
    }
}

.table-index tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

.table-index tbody tr:last-child {
    border-bottom: 1px solid #dee2e6;
}

.table-index .sp-index-label {
    display: none;
}

@media (max-width: 768px) {
    .table-index {
        border-top: solid 1px #999;
    }

    .table-index tr {
        border: none;
        border-bottom: solid 1px #999;
    }

    .table-index thead {
        display: none;
    }

    .table-index tbody td {
        width: 100%;
        display: block;
        border: none;
    }

    .table-index .sp-index-label {
        display: inline-block;
        font-weight: bold;
    }
}

#Header {
    height: 38px;
    line-height: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #222;
    color: #CCC;
}

#Header .btn-link {
    color: #CCC;
}

#Header .btn-link:hover {
    color: #FFF;
    text-decoration: none;
}

#Header a.navbar-brand {
    color: #CCC;
}

#Header a.navbar-brand img {
    height: 28px;
}

#Footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    display: none;
    left: 0;
    bottom: 0;
}

#SideNav {
    background-color: #444;
    z-index: 999;
    height: 100%;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    #SideNav {
        margin-top: 38px;
    }
}

@media (min-width: 992px) {
    #SideNav {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        padding: 38px 0 0 0;
        min-height: 100vh;
    }
}

#SideNav ul li {
    padding: 0;
}

#SideNav ul li a {
    padding: 5px;
    display: block;
    color: #CCC;
}

#SideNav ul li a:hover {
    background-color: #333;
}

#SideNav ul li a.current-menu {
    color: #ff8686;
}

#FormPanel {
    margin-top: 38px;
    padding-top: 10px;
    padding-bottom: 50px;
}

@media (min-width: 768px) {
    #ControlPanel {
        position: fixed;
        top: 0;
        right: 0;
        padding-top: 38px;
    }
}

.modal-dialog {
    width: 95% !important;
}

@media (max-width: 576px) {
    #ModalSubmit a.btn {
        display: block;
        width: 100%;
    }
}

#MenuToggle i {
    color: #CCC;
}

#Loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0009;
    z-index: 9999;
    display: none;
}

#Loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

.pagination .page-item.active .page-link {
    background-color: #343a40;
    border-color: #343a40;
}

.page-link {
    color: #343a40;
}

.page-link:hover {
    color: #626d78;
}

.role-div {
    color: #FFF;
}

.role-div:hover {
    color: #FFF;
}

.role-div:active {
    color: #FFF;
}

.role-div option:active {
    color: #FFF;
}

.module-item {
    background-color: #F0F0F0;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 5px;
}

.module-item .module-editor-type {
    display: none;
}

.select2-container--bootstrap4 .select2-selection--single {
    height: calc(1.75rem + 2px);
    line-height: 1;
    padding: 0.375rem;
    font-size: 0.9rem;
}

.select2-container--bootstrap4 .select2-results__option {
    font-size: 0.9rem;
    padding: 0.1rem 0.375rem;
}

.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    font-size: 0.9rem;
    height: calc(1.75rem + 2px);
    line-height: 1;
    padding: 0.375rem;
}

.message-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.message-list li {
    margin: 0 0 15px 0;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
}

.message-list li.message-item-from {
    background-color: #DDD;
    margin-left: 20%;
}

.message-list li.message-item-to {
    background-color: #DDF;
}

.message-list li img {
    width: 100%;
    max-height: 300px;
    -o-object-fit: contain;
    object-fit: contain;
}

.message-item-unread {
    font-size: 12px;
    background-color: #C00;
    color: #FFF;
    border-radius: 3px;
    padding: 2px 4px;
}

.message-item-read {
    font-size: 12px;
    background-color: #006;
    color: #FFF;
    border-radius: 3px;
    padding: 2px 4px;
}

.cancel-selected-image-multi {
    position: absolute;
    font-size: 20px;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 50%;
    width: 19px;
    height: 19px;
}

.image-gallery-end {
    clear: both;
}

.image-gallery-list {
    width: 100%;
    margin: 0;
    padding: 0;
    clear: both;
}

.image-gallery-item {
    position: relative;
    float: left;
    cursor: move;
    margin: 5px;
}

@media screen and (min-width: 576px) {
    .image-gallery-item {
        margin: 10px;
    }
}

.image-gallery-item img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

@media screen and (min-width: 576px) {
    .image-gallery-item img {
        width: 200px;
        height: 200px;
    }
}

.image-gallery-item-template {
    display: none;
}

.custom-file-label-multi {
    width: 50%;
    height: calc(1.75rem + 2px);
    line-height: 1.2;
}

.custom-file-label-multi:after {
    height: 1.75rem;
    line-height: 1.2;
}

.form-checkbox.is-invalid~.invalid-feedback,
.form-checkbox.is-invalid~.invalid-tooltip,
.was-validated .form-checkbox:invalid~.invalid-feedback,
.was-validated .form-checkbox:invalid~.invalid-tooltip {
    display: block;
}

.general-item-list {
    list-style-type: none;
    padding: 0;
}

.general-item-list li {
    display: flex;
    padding: 5px 0;
    width: 100%;
}

.general-item-list .general-item-index {
    width: 30px;
    line-height: 30px;
    font-weight: bold;
}

.general-item-list .general-item-text {
    width: calc(100% - 30px);
}

.general-item-list .general-item-sort {
    width: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: move;
}

.batch-status-div {
    color: #fff;
    border-radius: 5px;
    padding: 4px 10px;
    width: calc(100% - 20px);
    display: block;
    text-align: center;
}

.batch-status-div1 {
    background-color: lightslategray;
    color: darkslategray;
}

.batch-status-div2 {
    background-color: lightskyblue;
    color: blue;
}

.batch-status-div3 {
    background-color: lightgreen;
    color: green;
}

.batch-status-div8 {
    background-color: lightsalmon;
    color: red;
}

.batch-status-div9 {
    background-color: lightcoral;
    color: darkred;
}
