.calendar {
	padding: 10px;
	border: 1px solid #989898;
	font-size: 0.8em;
}

@media only screen and (max-width: 700px) {
	#subMenuL {
		display: none;
	}
}

.calendar-weekly {
	display: flex;
	border-left: 1px solid #E0E0E0;
	/* background-color: black; */
}

.calendar-daily {
	flex: 1;
	min-height: 75px;
	border-right: 1px solid #989898;
	border-left: 1px solid #989898;
	border-bottom: 1px solid #989898;
	margin-right: -1px;
	z-index: auto;
	vertical-align: top;
}

.calendar-day {
	text-align: center;
}

.calendar-dayOfWeek {
	flex: 1;
	border-top: 1px solid #989898;
	border-right: 1px solid #989898;
	border-left: 1px solid #989898;
	border-bottom: 1px solid #989898;
	margin-right: -1px;
	text-align: center;
	background-color: #f7f7f7;
}

.calendar-event {
	color: white;
	margin-bottom: 1px;
	height: 25px;
	line-height: 25px;
	position: relative;
	z-index: 1;
	border-radius: 4px;
	padding-left: 4px;
}

.btn_m_r_bootstrap {
	min-width: 80px;
	height: 18px;
	padding: 0px 0px 3px 0px;
	border: none;
	text-align: center;
	float: right;
	font-size: 12px;
}

.btn_m_r_bootstrap_none_float {
	min-width: 80px;
	height: 18px;
	padding: 0px 0px 3px 0px;
	border: none;
	text-align: center;
	font-size: 12px;
}

.outside {
	background-color: #f7f7f7;
	z-index: -999;
}

.nameInWeekly {
	text-align: center;
	font-size: 12px;
	background-color: #f7f7f7;
}

.saturDay {
	background-color: #D6E6FF;
}

.sunDay {
	background-color: #FFD9D9;
}

.ableAllMember {
	background-color: lightgreen;
}

button, input {
	vertical-align: middle
}

/**
* base.css
* ========================== */
a {
	text-decoration: none;
	/* <a>タグで囲まれた文字に下線がついてしまうのでそれを削除 */
	color: #333;
	/* <a>タグで囲まれた文字は青色になってしまうので本文の色と同じにしている */
	display: inline-block;
}

a:hover {
	opacity: 0.6;
	cursor: pointer;
	/* マウスオンすると透過度が60％になる */
}

button:hover {
	opacity: 0.6;
	cursor: pointer;
}

a.btn-primary {
	color: #fff;
}

a.btn-primary:hover {
	color: #fff;
}

[type="button"]:hover {
	cursor: pointer;
	opacity: 0.6;
}

body {
	font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
		"MS Pゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	color: #333;
	padding: 10px;
}

input, select, textarea {
	border: 1px solid #ced4da;
	border-radius: 3px;
	padding: 3px;
}

textarea {
	width: 100%;
}

.main-body {
	border: solid 1px #989898;
	padding: 15px;
	border-radius: 3px;
	padding-top: 0;
}

.header-menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 10px;
	flex-wrap: wrap;
}

.main-menu-area {
	margin: 5px 0;
}

.sub-menu {
	margin-bottom: 5px;
	padding: 3px;
	border: solid 1px #989898;
	border-radius: 3px;
}

.main-menu a {
	font-weight: bold;
}

/*ハンバーガーメニューボタン*/
.hamburger {
	display: none;
	position: fixed;
	z-index: 1001;
	right: 13px;
	top: 12px;
	width: 42px;
	height: 42px;
	cursor: pointer;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.596);
	padding: 10px;
	border-radius: 3px;
}

.hamburger span {
	display: block;
	position: absolute;
	width: 30px;
	height: 2px;
	left: 6px;
	background: #555;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
	top: 10px;
}

.hamburger span:nth-child(2) {
	top: 20px;
}

.hamburger span:nth-child(3) {
	top: 30px;
}

/* メニューが開いてる時のボタン */
.hamburger.active span:nth-child(1), .hamburger.active span:nth-child(3)
	{
	width: 14px;
}

.hamburger.active span:nth-child(1) {
	-webkit-transform: translate(-1px, 5px) rotate(-45deg);
	-moz-transform: translate(-1px, 5px) rotate(-45deg);
	transform: translate(-1px, 5px) rotate(-45deg);
}

.hamburger.active span:nth-child(3) {
	-webkit-transform: translate(-1px, -5px) rotate(45deg);
	-moz-transform: translate(-1px, -5px) rotate(45deg);
	transform: translate(-1px, -5px) rotate(45deg);
}

nav.globalMenuSp {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	color: #000;
	background: darkgrey;
	text-align: center;
	transform: translateX(100%);
	transition: all 0.6s;
	width: 100%;
}

nav.globalMenuSp ul {
	background: #ccc;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

nav.globalMenuSp ul li {
	list-style-type: none;
	padding: 0;
	width: 100%;
	border-bottom: 1px solid #fff;
}

nav.globalMenuSp ul li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

nav.globalMenuSp ul li:hover {
	background: #ddd;
}

nav.globalMenuSp ul li a {
	display: block;
	padding: 10px 0;
	text-decoration: none;
	font-weight: bold;
}

nav.globalMenuSp.active {
	transform: translateX(0%);
}

.icon-btn a {
	margin-left: 10px;
	padding: 30px 5px 0 5px;
	position: relative;
	border-radius: 3px;
	border: solid 1px #989898;
}

.mail-icon::before {
	position: absolute;
	content: '\f0e0';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	font-size: 20px;
}

.address-icon::before {
	position: absolute;
	content: '\f2b9';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	font-size: 20px;
}

.talk-icon::before {
	position: absolute;
	content: '\f086';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	font-size: 20px;
}

.header-logo img {
	width: 300px;
	height: 300px;
}

.main-menu a {
	padding: 3px;
	border: solid 1px #989898;
	border-bottom: none;
	border-radius: 3px 3px 0 0;
}

.sub-menu a {
	margin: 1px;
}

.page-title {
	font-weight: bold;
	background-color: rgb(139, 134, 134);
	padding: 5px;
	color: #fff;
}

.time-area {
	display: flex;
	margin-top: 15px;
	border: solid 1px #989898;
	border-bottom: 0;
	padding: 10px;
	flex-wrap: wrap;
}

.this-month {
	width: 200px;
}

.traffic-form {
	overflow: scroll;
}

.overflow {
	overflow: scroll;
}

table {
	width: 100%;
	border: solid 1px #989898;
}

th {
	background-color: #E0E0E0cc;
	padding: 5px;
	border: solid 1px #989898;
	white-space: nowrap;
}

.main-menu-area {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logout {
	display: flex;
	margin-right: 10px;
	align-items: center;
}

.login-name {
	margin-right: 15px;
}

#traffic-history {
	margin-top: 15px;
}

/* #taraffic-history-data {
    display: none;
} */
.traffic-form {
	margin-top: 15px;
}

.calender input:hover {
	cursor: pointer;
}

.last-month-traffic {
	margin-top: 15px;
	overflow-x: scroll;
}

.btn-area {
	text-align: center;
	margin: 15px 0;
}

.traffic-apply-data {
	display: flex;
	align-items: center;
	margin: 10px 0;
}

.apply-title {
	width: 100px;
	font-weight: bold;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.modal-content {
	position: fixed;
	/*transform: translate(-50%, -50%);*/
	background-color: rgba(0, 0, 0, .5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: white;
	border: 1px #989898 solid;
}
.drag-and-drop {
    cursor: move;
    position: absolute;
    z-index: 1000;
}

.drag {
    z-index: 1001;
}
.modal-header {
	font-weight: bold;
}

.ableSchedule {
	color: red;
	font-weight: bold;
}

.disableSchedule {
	color: blue;
	font-weight: bold;
}

@media only screen and (max-width: 700px) {
	.header-menu {
		justify-content: center;
	}
	.header-menu * {
		margin: 5px 0;
	}
	.main-menu-area {
		justify-content: center;
	}
	.main-menu {
		display: none;
	}
	.sub-menu {
		display: none;
	}
	.hamburger {
		display: block;
	}
	.situation-table tr, .situation-table td {
		display: block;
		width: auto;
	}
	.time-area {
		margin-bottom: 5px;
		border-bottom: 1px solid #989898;
		justify-content: center;
	}
	.situation-table th {
		display: flex;
		justify-content: center;
		border: none;
	}
	.situation-table td {
		border-left: none;
		border-bottom: 1px solid #989898;
	}
	.situation-table td:last-child {
		border-bottom: none;
	}
	.traffic-history-header {
		align-items: center;
		text-align: center;
		display: flex;
		border: none;
		justify-content: center;
	}
}