.form-control {
	min-height: calc(2.25rem + 2px);
	height: auto;
}

.nav-sidebar,
.user-panel {
    border-bottom: 1px solid gray;
}

.main-sidebar {
	background-color: #fff;
}
.brand-link {
	border-bottom: 1px solid gray;
}

.brand-link:hover {
	color: #007bff;
}

.sidebar {
	background-color:#B8FFEE;
}

table tr.disabled {
	background-color: #BBB !important;
}

.card-footer.fixed-bottom {
	background-color: rgba(0,0,0,.6);
}

.alert-fixed {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.upload-file {
	position: relative;
	display: inline-block;
	width: 100%;
	height: calc(2.25rem + 2px);
	margin-bottom: 0;
}
  
.upload-file-input {
	position: relative;
	z-index: 2;
	width: 100%;
	height: calc(2.25rem + 2px);
	margin: 0;
	opacity: 0;
}

.upload-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: none;
}

.upload-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: 2.25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "参照";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0;
}

.printarea #print_list {
	width: 210mm;
}
.printarea #print_list .print_item{
	flex: auto;
    border: 1px solid #ced4da;
    width:70mm;
    height:38.1mm;
}

.ground_my_schedule {
	background-color:#ce9be2 !important;
}

.ground_schedule_color_not {
	background-color:#5a5a5a !important;
}

.ground_schedule_color_select {
	background-color:#da1a1a !important;
}

.ground_schedule_color_normal {
	background-color:#ffd1e8 !important;
}
.ground_schedule_color_hold {
	background-color:#ffc107 !important;
}
.ground_schedule_color_regularly {
	background-color:#dbedff !important;
}
.ground_schedule_color_tnm_default {
	background-color:#ffdbff !important;
}
.ground_schedule_color_tnm_1 {
	background-color:#d1ffff !important;
}
.ground_schedule_color_tnm_2 {
	background-color:#d1ffd1 !important;
}
.ground_schedule_color_tnm_3 {
	background-color:#ffffd1 !important;
}
.ground_schedule_color_tnm_4 {
	background-color:#e8d1ff !important;
}
.ground_schedule_color_tnm_5 {
	background-color:#ffd1d1 !important;
}
.ground_schedule_color_tnm_6 {
	background-color:#ffe8d1 !important;
}

tr.is-invalid {
	background-color:#da1a1a !important;
}


.schedule_rooms_title {
    background-color: #007bff;
	margin-bottom: 0;
	padding: .3rem;
	color: #FFF;
}

.schedule_rooms th{
	background-color: skyblue;
}



#ground_popup {
	overflow:scroll;
	position: relative;
}
#ground_popup .schedule {
	width:  100rem;
}

#ground_popup thead th,
#ground_popup tfoot th {
	text-align: center;
	padding: .3rem .1rem;
	background-color: skyblue;
	position: sticky;
	top: 0;
	left: 0;
}

#ground_popup .schedule thead th:first-child:before,
#ground_popup .schedule tfoot th:first-child:before,
#ground_popup .schedule thead th:last-child:before,
#ground_popup .schedule tfoot th:last-child:before,
#ground_popup .schedule tbody th:before {
	  content: "";
	  position: absolute;
	  top: -1px;
	  left: -1px;
	  width: 100%;
	  height: 100%;
	  border: 1px solid #ccc;
}

#ground_popup .schedule tbody td {
	padding: .3rem .1rem;
}
#ground_popup .schedule td:hover,
#ground_popup .schedule .cellselect {
	background-color: #CEF9DC;
}

.control-sidebar {
	overflow: scroll;
	background-color: #FFF;
}
.sidebar-btn {
	display: none;
}

.control-sidebar-slide-open {
	overflow: hidden;
}

@media (max-width: 992px) {
	body > .wrapper {
		padding-top: 3rem;
	}
	.main-header.scroll_fixed {
		position: fixed; top: 0;
		width: 100%;
	}

	.main-header .nav-link {
		padding: 0.4rem 0.8rem !important;
	}
	.modal-dialog {
	    max-width: 90% !important;
	}
}

.fixed-header.fixed {
	position: fixed;
	top: 0;
	background-color: #fff;
	z-index: 100;
}

.input-date-area {
	flex: 0 0 15rem;
    max-width: 15rem;	
}

.text-xxs {
    font-size: .65rem!important;
}

.h16px {
	height: 16px !important;
}

/* 強制置き換え */
.modal-title {
    line-height: 1.2 !important;
}

.h4, h4 {
    font-size: 1.2rem !important;
}
.modal-header {
    padding: 0.5rem !important;
}
.modal-tools {
	position: absolute;
    right: 2rem;
}