* {
    max-height: 1000000px;
}

body {
    position: relative;
}

html,
body {
    background-color: #fff;
    height: 100%;
}

.container {
    /* overflow: scroll; */
    /* IE, Edge 対応 */
    -ms-overflow-style: none;
}

.sidebar-mini .sidebar .sidebar-wrapper {
    overflow-x: hidden;
}

.sidebar .logo a.logo-mini {
    width: 56px;
    margin-left: 14px;
    margin-right: 10px;
}

.main-panel {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.main-panel>.content,
.main-panel>.container {
    position: relative;
    padding: 20px 0;
}

.main-panel>.footer {
    background-color: #000;
    color: #fff;
    position: relative;
    width: 100%;
    bottom: 0;
    padding: 0;
    z-index: 5;
}
.main-panel>.footer a {
    color: #fff;
}

.page-header::before {
    content: none;
}

.page-header::after {
    content: none;
}

.page-header {
    /*  reset   */
    min-height: initial !important;
    max-height: initial !important;
    height: initial !important;
    /*  /reset   */
    color: #333;
    font-size: 30px;
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}

.input-group-btn {
    width: initial;
    padding: initial !important;
}

.input-group-btn button::after {
    content:none;
}

.card {
    margin: 0;
}

.form-group {
    min-height: 65px;
}

#login_form {
    margin-top: 25%;
}

.elements-center {
    position: relative;
    display: block;
    padding: 1.25rem;
}

.sidebar {
    background-color: #fff;
}

@media (max-width: 991px) {
    .sidebar .logo .simple-text,
    .sidebar .user a,
    .sidebar .nav li .dropdown-menu a,
    .sidebar .nav li a {
        color: #fff;
    }
}

@media (min-width: 992px) {
    .sidebar-mini .sidebar {
        display: block;
        font-weight: 200;
        z-index: 1040;
    }
}

.modal-backdrop {
    background-color: #000;
}

.modal-backdrop.show {
    opacity: .5;
}

.modal-dialog .modal-header .close {
    top: auto;
}

.modal-dialog .modal-header,
.modal-dialog .modal-body,
.modal-dialog .modal-footer {
    padding: 16px;
}

.modal-dialog .modal-section {
    height: 20px;
}

.modal-dialog .modal-body+.modal-footer {
    padding-top: 16px;
    margin: 0 auto;
}

.modal-dialog .modal-footer button {
    margin: 10px;
}

.modal-footer{
  justify-content: center;
}

.modal-top-fixed{
  position: sticky;
  top: 0;
}

.modal-bottom-fixed{
  position: sticky;
  bottom: 0;
  background-color: #fff;
  width: 100%;
}

/*
検索フォームのリンクの領域を増やす
*/
.col-lg-12 .panel-heading {
    padding: 0;
}

.col-lg-12 .panel-heading > a {
    display: block;
    width: 100%;
    height: 37px;
    padding: 10px 15px;
}

/*
テーブルの色変
*/
table.table thead tr th:hover{
    background-color: #eee;
    cursor: pointer;
}


#dtHorizontal th,
#dtHorizontal th td,
.dataTable th,
.dataTable th td {
    white-space: nowrap;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
    bottom: .5em;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none!important;
}

#dtHorizontal th img {
    width: 34px;
    height: 34px;
}

.dataTables_scrollHead table.dataTable thead tr th.th_span {
    border-right: 1px solid #fff!important;
    background: #ddd;
}

table tbody tr[data-href] {
    cursor: pointer;
}

table tbody tr[data-href]:hover {
    color: #0a6ebd;
}

select.form-control:not([size]):not([multiple]) {
    padding-top: 15px;
}

.btn a {
    color: #fff;
}

.custom-file {
    max-width: 20rem;
    overflow: hidden;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    padding: 12px 30px;
    margin: .3125rem 1px;
}

.custom-file,
.custom-file-input {
    position: relative;
    width: 100%;
    height: calc(2.4375rem + 2px);
    padding: 0;
}

.custom-file-label {
    white-space: nowrap;
    padding: 0.7rem 1rem;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    padding: 0.6rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    content: "参照";
    background-color: #e9ecef;
    border-left: inherit;
}

.fileinput .thumbnail>img {
    max-height: 100%!important;
}

.reserve-list {
    height: auto;
}

.badge {
    text-transform: none;
}

/* fullcalender start */
/*
.fc-day-grid-container {
    height: 250px!important;
}
*/

.calendar-parent {
    min-height: 60vh;
}

.fc-toolbar {
    height: 24px;
    margin-bottom: 10px;
}

.fc-toolbar h2 {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}

/*
.fc .fc-toolbar .fc-button  {
    font-size: 14px;
    height: 24px;
    width: 24px;
    padding: 0;
}
*/

.fc button .fc-icon {
    margin: 0;
}

/* 日曜日 */
.fc-sun {
    color: red;
}

/* 土曜日 */
.fc-sat {
    color: blue;
}

.fc-event {
    background-color: rgb(255, 152, 0);
}
/* fullcalender end */

button:disabled {
    cursor: default;
}

.custom-control-input:disabled~.custom-control-label,
.readonly {
    color: #bbb;
    opacity: .8;
}

.readonly {
    color: #aaa;
}

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

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
    width: 1.2rem;
    height: 1.2rem;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color:red!important;
}

.fc-body .fc-resource-area .fc-cell-content {
    text-align: center;
    padding-top: 4px!important;
    padding-bottom: 4px!important;
}

.form-check .form-check-input.check-disabled[disabled]~.form-check-sign .check {
    opacity: .5;
    cursor: default;
}

.form-check .form-check-input.check-disabled[disabled]:checked+.form-check-sign .check {
    opacity: 1;
}

.form-check .form-check-label.check-label-disabled {
    cursor: default;
}

.btn_side_text {
    margin-left: 8rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.bg-orange {
    background-color: orange;
}

.scroll-table table {
    width: 100%;
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.scroll-table table .row div {
    width: 200px;
}

.scroll-table .table th,
.scroll-table .table td {
    border: none;
}
