/*desktop*/
@media only screen and (min-aspect-ratio: 13/9)
{
	#schedule
	{
		width:70%;
		padding:0;
		position:absolute;
		top:0;
		left:0;
	}
	#calendar
	{
		width:30%;
		position:absolute;
		top:0;
		right:2px;
	}
	.dateStrCover div div,
	.textStrCover div div{
		width:12em;
	}

	.dateStrCover div,
	.textStrCover div{
		width:25em;
		position:absolute;
	}
}
/*mobile*/
@media only screen and (max-aspect-ratio: 13/9)
{
	#schedule
	{
		position:relative;
		width:100%;
		padding:0;
		margin:0;
		font-size:1.5em;
	}
	#calendar
	{
		position:relative;
		width:100%;
		padding:0;
		margin:0 0 30px 0;
	}
	#calendar_nav
	{
		clear:right;
	}
	#calendar_nav li
	{
		font-size:1.3em;
	}
	.dateStrCover div div,
	.textStrCover div div{
		width:6em;
	}

	.dateStrCover div,
	.textStrCover div{
		width:16em;
		position:fixed;
	}
	.dateStrCover #dateStrSpan{
		display:none;
	}
}

#schedule
{
	outline:none;
}
#calendarTable
{
	outline:none;
	width:100%;
	border:1px solid black;
	border-collapse:separate;
	background-color:#c0ffa4;
}
#calendarTable.editHolidays{
	background-color:#a8a8a8;
}
#calendarTable:hover
{
	cursor:default;
}
#calendarTable caption
{
	background-color:#f4fc64;
	font-size:1.5em;
	font-weight:bold;
}
#calendarTable.editHolidays caption{
	background-color:#a8a8a8;
	color:white;
}
#calendarTable th
{
	border:1px solid black;
	border-bottom:3px double black;
	font-weight:bold;
	font-size:1em;
	text-align:center;
}
#calendarTable td
{
	border:1px dashed black;
	text-align:center;
	font-size:1.5em;
}
#calendarTable td:empty
{
	border:0px;
}
#calendarTable td.schedule_holiday
{
	color:red;
}
#calendarTable td.schedule_selected
{
	background-color:lightblue;
}
#calendarTable td.today{
	text-decoration:underline;
	font-weight:bold;
}
#calendarTable td.other_month{
	color:#c9c9c9;
	background-color:#dedede;
}
#calendarTable td.other_month.schedule_holiday{
	color:pink;
	background-color:#dedede;
}
#calendarTable td.canselect:hover
{
	cursor:pointer;
}
#calendarTable td.canselect:not(.schedule_selected):hover
{
	background-color:#ffff99;
}
#calendarTable.editHolidays td.canselect:hover
{
	background-color:lightblue;
}
#scheduleTable
{
	width:calc(100% - 10px);
	margin-left:5px;
	border-collapse:collapse;
	background-color:#fff56b;
	cursor:default;
}
#scheduleTable.historyNA .area0,
#scheduleTable.historyNA .area1,
#scheduleTable.historyNA .area2,
#scheduleTable.historyNA .area3{
	background-color:#fff56b;
	background-color:lightgray;
}
#scheduleTable.editHolidays, #scheduleTable.editHolidays th{
	background-color:#a8a8a8;
}
#scheduleTableTitle
{
	font-size:1.5em;
	width:100%;
	text-align:center;
}
#scheduleTableTitle.editHolidays{
	color:gray;
}
#scheduleTableTitle.editHolidays input[type="button"],
#scheduleTableTitle.editHolidays ~ div.scheduleModifiedTime,
#scheduleTableTitle.editHolidays ~ a.editSchedule{
	visibility:hidden;
}
#scheduleTableTitle div
{
	cursor:default;
	text-align:center;
}
#yesterdayBtn, #tomorrowBtn
{
	border-radius:3px;
	margin-top:0.3em;
	margin-bottom:0.3em;
	font-size:0.6em;
}
#yesterdayBtn:not([disabled]):hover, #tomorrowBtn:not([disabled]):hover
{
	cursor:pointer;
	filter:brightness(120%);
	-webkit-filter:brightness(120%);
}
#yesterdayBtn
{
	float:left;
	margin-left:5%;
}
#tomorrowBtn
{
	float:right;
	margin-right:5%;
}
#scheduleTable th, #scheduleTable td
{
	border-right: 1px solid gray;
	border-left: 1px solid gray;
}
#scheduleTable th
{
	text-align:center;
	background-color:#ffe949;
	border-bottom: 3px solid black;
}
#scheduleTable td
{
	border-bottom: 1px solid gray;
	height:1.5em;
}
#scheduleTable td:nth-of-type(even):not(:last-child), #scheduleTable th:nth-of-type(even):not(:last-child)
{
	border-right:3px double black;
}
#scheduleTable th:nth-of-type(odd)
{
	width:13%;
}
#scheduleTable th:nth-of-type(even)
{
	width:20%;
}
#scheduleTable .workarea
{
	text-align:right;
	padding-right: 0.3em;
	position:relative;
}
#scheduleTable .workperson,
.worktype
{
	text-align:center;
}
#scheduleTable .sna_text{
	color:#777777;
}
#schedule .editSchedule
{
	font-size:1.5em;
	display:inline-block;
	margin:5px;
	margin-bottom:10px;
	color:gray;
}
#schedule .editSchedule:hover
{
	cursor:pointer;
	color:black;
	background:yellow;
}
#scheduleNote{
	text-align:center;
	padding:0.2em 0.5em 0.2em 0.5em;
}
#schedule .scheduleModifiedTime
{
	font-style:italic;
	font-size:0.8em;
	text-align:right;
	margin-right:10px;
}
#schedule .scheduleModifiedTime span{
	margin:0 5px 0 5px;
}
#schedule .scheduleModifiedTime span.clickable:hover{
	color:#003d9e;
	cursor:pointer;
}

#calendar_nav
{
	height:3em;
	list-style-type:none;
	margin:0;
	padding:0;
	overflow:hidden;
	background-color:#90EE90;
	border:none;
}
#calendar_nav li
{
	float:left;
	width:33%;
	height:100%;
}
#calendar_nav li a
{
	display:block;
	color:white;
	text-align:center;
	height:100%;
	padding-top: 0.7em;
}
#calendar_nav li a:hover
{
	background-color:#90EE00;
}
#calendarDateInputForm
{
	border:none;
	height:2em;
	text-align:center;
}
#setHolidaysHint{
	background-color:red;
	color:yellow;
	font-weight:bold;
	height:5em;
}
#setHolidaysHint span{
	position: relative;
	top: 25%;
	display:block;
	text-align:center;
}
#calendarDateInputForm input[type="number"],#calendarDateInputForm input[type="text"]
{
	text-align:center;
	margin:2px;
	font-size:1em;
}
#calendarDateInputForm input[type="number"]:first-child,
#calendarDateInputForm input[type="text"]:first-child{
	width:4em;
}
#calendarDateInputForm input[type="number"]:not(:first-child),
#calendarDateInputForm input[type="text"]:not(:first-child){
	width:3em;
}
#schedule .dateStrCover,
#schedule .textStrCover{
	width:100%;
	height:100%;
	background-color:rgba(128,128,128,0.35);
}
#schedule .dateStrCover div,
#schedule .textStrCover div{
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin: 10em auto auto auto;
	height:10em;
	background-color:rgba(59, 204, 229,0.5);
	border-radius:20px;
}
#schedule .dateStrCover div div,
#schedule .textStrCover div div{
	background-color:rgb(59, 204, 229);
	text-align:center;
	position:absolute;
	top:0;
	bottom:0;
	margin:auto;
	padding:0.5em;
	font-size:2em;
	font-weight:bold;
	height:50%;
}
#schedule td.workarea > span.hint{
	width: 5.8em;
	padding: 0.15em 0.5em;
	position: absolute;
	right: -6em;
	bottom: 0em;
	background:#ffffcc;
	font-weight:bold;
	-webkit-box-shadow: 0 0 50px 0 rgba(0,0,0,0.3);
	border-radius:1em;
	text-align:center;
	z-index:1;
	display:none;
}
#schedule td.workarea > span.hint.assigned{color:#207beb;}
#schedule td.workarea:hover > span.hint{
	display:block;
}
#schedule td.workarea:hover > span.workarea.hashint{
	text-decoration:underline;
	color:#494949;
}

