.login-box {
    margin: 5% auto;
}
.login-page .text-system {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 1.75rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.navbar {
    padding: 0.25rem 0.5rem
}

/*.sidebar-dark-primary {
  background: #8f2e14;
}*/
.sidebar-light-primary {
    background: #fff7b3 ;
}
[class*="sidebar-light"] .brand-link {
    border-bottom: 1px solid #4f5962;
}
[class*="sidebar-light"] .user-panel {
    border-bottom: 1px solid #4f5962;
}
.sidebar-light-primary .nav-sidebar>.nav-item.menu-open>.nav-link,
.sidebar-light-primary .nav-sidebar>.nav-item:hover>.nav-link {
    background-color:#ffffff;
    color:#212529;
}
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    color: #fff;
    background-color: #007bff;
}
.brand-link {
    font-size: 1.5rem;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    letter-spacing: 0.1rem;
}

/*.user-panel .info span.my-name,*/
.bg-dark span.my-page {
    color: #fff!important;
}
.user-panel .info span.my-name {
    color: #212529;
}

.sidebar nav:nth-child(n+3):last-child {
    border-top: 1px solid #4f5962;
}

.content-wrapper>.content {
    padding: 0.5rem 0.5rem;
}
h2.ttl-sub {
    font-size: 1rem;
    font-weight: bold;
}

.alert {
    padding: 0.5rem 1.25rem;
    margin-bottom: 0.5rem;
}
/*.navbar-light .navbar-nav .nav-now {
    color: rgba(0,0,0,.5)
}*/
.navbar-expand .navbar-nav .nav-date {
    padding-right: 1rem;
    padding-left: 1rem;
}
.nav-date {
    position: relative;
    height: 2.5rem;
    display: block;
    padding: 0.5rem 1rem;
}

.table-fixed-wrapper {
    max-width: 100%;
    max-height: 420px;
    overflow: scroll;
}
.table-fixed-wrapper2 {
    max-width: 100%;
    max-height: 370px;
    overflow: scroll;
}
.table-fixed-wrapper3 {
    max-width: 100%;
    max-height: 480px;
    overflow: scroll;
}
.table-fixed-wrapper4 {
    max-width: 100%;
    max-height: 460px;
    overflow: scroll;
}
table.table-fixed-month {
    border-collapse:separate;
    border-spacing:0;
}
table.table-fixed-month th,
table.table-fixed-month td {
    max-width: 5rem;
    min-width: 5rem;
    padding: 0.3rem;
    max-height: 2rem;
    min-height: 2rem;
    line-height: 1rem;
    text-align: center;
    vertical-align: middle;
}
table.table-fixed-month th:nth-child(3) {
    max-width:  11rem;
    min-width: 11rem;
}
table.table-fixed-month th {
    font-size: 0.875rem;
}
table.table-fixed-month td {
    font-size: 0.9375rem;
}
table.table-fixed-month th span {
    display: block;
    margin-top: 8px;
    font-size: 0.8125rem;
}
table.table-fixed-month tbody tr th:nth-child(1),
table.table-fixed-month tbody tr th:nth-child(2),
table.table-fixed-month tbody tr th:nth-child(3),
table.table-fixed-month tbody tr td:nth-child(1),
table.table-fixed-month tbody tr td:nth-child(2),
table.table-fixed-month tbody tr td:nth-child(3) {
    color: #495057;
    border-color: #dee2e6;
}
table.table-fixed-month tbody tr.service1 th:nth-child(1),
table.table-fixed-month tbody tr.service1 th:nth-child(2),
table.table-fixed-month tbody tr.service1 th:nth-child(3),
table.table-fixed-month tbody tr.service1 td:nth-child(1),
table.table-fixed-month tbody tr.service1 td:nth-child(2),
table.table-fixed-month tbody tr.service1 td:nth-child(3) {
    background-color: #e1f4e1;
}
table.table-fixed-month tbody tr.service2 th:nth-child(1),
table.table-fixed-month tbody tr.service2 th:nth-child(2),
table.table-fixed-month tbody tr.service2 th:nth-child(3),
table.table-fixed-month tbody tr.service2 td:nth-child(1),
table.table-fixed-month tbody tr.service2 td:nth-child(2),
table.table-fixed-month tbody tr.service2 td:nth-child(3) {
    background-color: #ffe6ec;
}
table.table-fixed-month tbody tr.service3 th:nth-child(1),
table.table-fixed-month tbody tr.service3 th:nth-child(2),
table.table-fixed-month tbody tr.service3 th:nth-child(3),
table.table-fixed-month tbody tr.service3 td:nth-child(1),
table.table-fixed-month tbody tr.service3 td:nth-child(2),
table.table-fixed-month tbody tr.service3 td:nth-child(3) {
    background-color: #dee6f9;
}
table.table-fixed-month thead tr th:nth-child(1),
table.table-fixed-month thead tr th:nth-child(2),
table.table-fixed-month thead tr th:nth-child(3),
table.table-fixed-month thead tr td:nth-child(1),
table.table-fixed-month thead tr td:nth-child(2),
table.table-fixed-month thead tr td:nth-child(3),
table.table-fixed-month tbody tr th:nth-child(1),
table.table-fixed-month tbody tr td:nth-child(1),
table.table-fixed-month tbody tr th:nth-child(2),
table.table-fixed-month tbody tr td:nth-child(2),
table.table-fixed-month tbody tr th:nth-child(3),
table.table-fixed-month tbody tr td:nth-child(3) {
    position: sticky;
    position: -webkit-sticky;
    z-index: 1;
}
table.table-fixed-month thead tr th:nth-child(1),
table.table-fixed-month thead tr td:nth-child(1),
table.table-fixed-month tbody tr th:nth-child(1),
table.table-fixed-month tbody tr td:nth-child(1) {
    left: 0;
}
table.table-fixed-month thead tr th:nth-child(2),
table.table-fixed-month thead tr td:nth-child(2),
table.table-fixed-month tbody tr th:nth-child(2),
table.table-fixed-month tbody tr td:nth-child(2) {
    left: 5rem;
}
  table.table-fixed-month thead tr th:nth-child(3),
  table.table-fixed-month thead tr td:nth-child(3),
  table.table-fixed-month tbody tr th:nth-child(3),
  table.table-fixed-month tbody tr td:nth-child(3) {
    left: 10rem;
}
table.table-fixed-month thead tr:nth-child(1) th, 
table.table-fixed-month thead tr:nth-child(1) td {
    position: sticky;
    position: -webkit-sticky;
    z-index: 2;
}
table.table-fixed-month thead tr:nth-child(1) th, 
table.table-fixed-month thead tr:nth-child(1) td {
    top: 0;
}
table.table-fixed-month thead tr th:nth-child(1),
table.table-fixed-month thead tr th:nth-child(2),
table.table-fixed-month thead tr th:nth-child(3) {
    z-index: 3;
}
table.table-fixed-month .label-allset {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.75rem;
    line-height: 0.8rem;
}
table.table-fixed-month .btn-allset, 
table.table-fixed-month .btn-allreset {
    margin-top: 0;
    padding: 0.3rem 0.3rem;
    margin-left: 3px;
}
table.table-fixed-month tbody td .form-control, 
table.table-order tbody td .form-control {
    text-align: right;
}
table.table-fixed-month tbody td.lock {
    background-color: #e9ecef;
}
table.table-fixed-month tbody td.lock .form-control {
    color: #a3a9a9;
}
table.table-lock thead tr th.sun, 
table.table-fixed-month thead tr th.sun, 
table.table-order thead tr th.sun {
    color: #d32535;
}
table.table-lock thead tr th.sat, 
table.table-fixed-month thead tr th.sat, 
table.table-order thead tr th.sat {
    color: #007bff;
}
table.table-order {
    border-collapse:separate;
    border-spacing:0;
}
table.table-order th,
table.table-order td {
/*    max-width: 5rem;
    min-width: 5rem;*/
    padding: 0.3rem;
  /*  max-height: 2rem;
    min-height: 2rem;*/
    line-height: 1rem;
    text-align: center;
    vertical-align: middle;
}
table.table-order th {
    font-size: 0.875rem;
}
table.table-order td {
    font-size: 0.9375rem;
}
table.table-order thead {
    position: sticky;
    top: 0;
}
table.table-order td iframe {
    width: 520px;
    height: 140px;
    /*overflow: scroll;*/
    border: none;
    /*background-color: #dee2e6;*/
}
.signing {
    display: block;
    /*margin-right: 5px;*/
    margin-bottom: 0.25rem;
}
.form-control.txt-ordernum {
    display: inline-block;
    width: 80%;
}
/*@media (max-width: 991px) {
    .form-control.txt-ordernum {
        width: 90%;
    }
}*/
/*.iframe-past {
    background-color: #dee2e6;
}*/
table.table-past {
    width: 35%;
    margin-bottom: 0;
}
table.table-past th {
    background-color: #e1f4e1;
}
table.table-past th,
table.table-past td {
    padding: 0.2rem;
    line-height: 1rem;
    vertical-align: middle;
    font-size: 0.9375rem;
}
table.table-past td .num {
    display: block;
    font-weight: bold;
    margin-top: 5px;
}

table.table-lock {
    border-collapse:separate;
    border-spacing:0;
}
table.table-lock th,
table.table-lock td {
    padding: 0.5rem 0.3em;
    text-align: center;
    vertical-align: middle;
}
table.table-lock th {
    line-height: 1.5rem;
}
table.table-lock td {
    line-height: 1.5rem;
}
table.table-lock td.delivery span {
    margin-right: 3px;
}
table.table-lock span.d_lock{
    color: #a3a9a9;
}
table.table-lock span:not(:last-child):not(.next-day)::after {
/*table.table-lock span:not(:first-child)::before {*/
    content: ", ";
}
table.table-lock span.next-day::before {
    content: " | ";
    color: red;
    line-height: 2px;
}
table.table-lock tbody tr.service1 th:nth-child(1),
table.table-lock tbody tr.service1 th:nth-child(2) {
    background-color: #e1f4e1;
}
table.table-lock tbody tr.service2 th:nth-child(1),
table.table-lock tbody tr.service2 th:nth-child(2) {
    background-color: #ffe6ec;
}
table.table-lock tbody tr.service3 th:nth-child(1),
table.table-lock tbody tr.service3 th:nth-child(2) {
    background-color: #dee6f9;
}
table.table-lock tbody td.no_input {
    background-color: #e9ecef;
    border: #dc3545;
    border-top: 3px solid red;
    border-bottom: 3px solid red;
    border-right: 3px solid red;
    border-left: 3px solid red;
}
table.table-lock thead {
    position: sticky;
    top: 0;
}
table.table-lock tfoot {
    position: sticky;
    bottom: 0;
}

table.table-check {
    border-collapse:separate;
    border-spacing:0;
}
table.table-check th,
table.table-check td {
    padding: 0.3rem;
    text-align: center;
    vertical-align: middle;
}
table.table-check th {
    line-height: 2rem;
    font-size: 0.875rem;
}
table.table-check td.delivery span {
    margin-right: 5px;
}
table.table-check td.delivery span:last-child {
    margin-right: 0;
}
table.table-check span:not(:last-child)::after {
    content: ", ";
}
table.table-check div.sum{
    font-size: 1.4rem;
}
table.table-check td.delivery span:first-of-type::before {
    content: "(";
}
table.table-check td.delivery span:last-of-type::after {
    content: ")";
  }

table.table-check tbody tr.service1 th:nth-child(1),
table.table-check tbody tr.service1 th:nth-child(2),
table.table-check tbody tr.service4 th:nth-child(1),
table.table-check tbody tr.service4 th:nth-child(2) {
    background-color: #e1f4e1;
}
table.table-check tbody tr.service2 th:nth-child(1),
table.table-check tbody tr.service2 th:nth-child(2),
table.table-check tbody tr.service5 th:nth-child(1),
table.table-check tbody tr.service5 th:nth-child(2) {
    background-color: #ffe6ec;
}
table.table-check tbody tr.service3 th:nth-child(1),
table.table-check tbody tr.service3 th:nth-child(2),
table.table-check tbody tr.service6 th:nth-child(1),
table.table-check tbody tr.service6 th:nth-child(2) {
    background-color: #dee6f9;
}
table.table-check thead {
    position: sticky;
    top: 0;
    &:before{
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: 100%;
        height: 100%;
        border: 1px solid #dee2e6;
    }
}

.has-error .help-block, .has-error .form-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
    color: #a94442;
}
.has-error .form-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}


.ui-datepicker {
  z-index: 9999 !important;
}

.form-check-input, 
.form-check-label {
  cursor: pointer;
}

legend:not(.form-check-label):not(.custom-file-label) {
  font-weight: 700;
}

.card-header {
  cursor: pointer;
  border-bottom: none;
}
.card {
  border: 1px solid #ddd;
}
.card-body {
  border-top: 1px solid #ddd;
}
.card-header:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
}

@media (min-width:768px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width:1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

body.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

body.login-page footer {
  position: fixed;
  bottom: 0;
  font-size: 0.8rem;
}

a:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
}

table.table tbody td {
  min-width: 74px;
}

.table-striped-columns>:not(caption)>tr>:nth-child(2n) {
  background-color: rgba(0,0,0,.05);
}

span.grip {
  cursor: pointer;
}

input.form-control-range.rev {
  direction: rtl
}

.table.calendar th, 
.table.calendar td {
  width: calc(100% / 7);
}

label.error {
  color: #dc3545!important;
}

.page-break {
  page-break-after: always;
}

.alert-target_info {
    color: #41464b;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}
.alert-target_info span.kind {
    padding: 0.25em 0.5em;
    color: #fff;
    border-radius: 0.25rem;
    background-color: #198754;
    font-size: 1rem;
}
.alert-target_info span.kind:nth-child(n+2) {
    margin-left: 15px;
}

.main-footer {
    padding: 0;
}

/* 縦スクロールのビヨンビヨンを停止 */
html,
body {
  /*overflow-y: hidden;*/
  overscroll-behavior-y: none; 
}

.kobetsu_lock {
    font-size: 0.8em;
	vertical-align: 20%;
    color: #d32535;
    margin-right: 0px !important;
}