:root {
	--time-area-width: 350px;
}

#calendar-view-controller {
	background-color: var(--background-color);
}

#calendar-view-controller .dayNameLabel {
	color: var(--design-color);
	font-weight: bold;
	font-size: 15px;
	display: block;
}

#calendar-view-controller .dateLabel {
	font-weight: normal;
	font-size: 15px;
}

day-view {
	display: block;
	text-align: center;
	height: calc(100% - var(--navigation-bar-size));
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
}

day-view time-area {
	display: inline-block;
	max-width: var(--time-area-width);
	width: 100%;
	background-color: #FFFFFF;
	margin-top: 100px;
	margin-bottom: 100px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	border-radius: 5px;
	text-align: left;
	position: relative;
}

day-view time-area .decoration-container {
	width: 100%;
	height: 100%;
}

day-view time-area .periods-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 200;
}

day-view time-area .decoration-container .hour-block {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: visible;
	box-sizing: border-box;
}

day-view time-area .decoration-container .hour-block:last-child {
	height: 0!important;
	border-bottom: none;
}

day-view time-area .decoration-container .hour-block.last {
	border-bottom: none;
}

day-view time-area .decoration-container .hour-block .time-label-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	text-align: right;
	overflow: visible;
}

day-view time-area .decoration-container .hour-block .time-label {
	font-size: 14px;
	color: #AAAAAA;
	margin-top: -9px;
	float: right;
	margin-right: 10px;
}

day-view time-area .decoration-container .current-time-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 0;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.4);
}

.tools-container {
	position: absolute;
	left: 0;
	top: var(--navigation-bar-size);
	padding-left: 20px;
	padding-top: 20px;
	text-align: center;
}

.tools-container .tool {
	border-radius: 100vw;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	background-color: #FFFFFF;
	padding: 8px;
	margin-bottom: 12px;
	position: relative;
}

.tools-container .time-scale-container {
	padding-top: 36px;
	padding-bottom: 36px;
}

.tools-container .time-scale-container:before {
	content: '-';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	font-size: 24px;
	line-height: 36px;
	opacity: 0.3;
}

.tools-container .time-scale-container:after {
	content: '+';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	font-size: 24px;
	line-height: 36px;
	opacity: 0.3;
}

.tools-container .time-scale-slider {
	width: 24px;
	height: 100px;
	-webkit-appearance: slider-vertical;
}

period-view.preview {
	width: var(--time-area-width);
	left: calc(50% - (var(--time-area-width) / 2));
}

period-view {
	display: block;
	background-color: rgba(255, 100, 100, 0.3);
	position: absolute;
	left: 0;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	border-radius: 4px;
	transition: top 0.04s, bottom 0.04s;
}

period-view:hover .movement-notch {
	opacity: 1;
	transition: none;
}

period-view.active-period {
	border-radius: 4px 4px 0 0;
}

period-view.active-period .movement-notch:last-of-type, period-view.overlap-to-next-day .movement-notch:last-of-type, period-view.overlap-from-previous-day .movement-notch:first-of-type {
	display: none;
}

period-view .movement-notch {
	opacity: 0;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.1);
	left: 0;
	width: 100%;
	height: 10px;
	cursor: ns-resize;
	transition: opacity 0.2s;
}

period-view .movement-notch:first-of-type {
	top: 0;
}

period-view .movement-notch:last-of-type {
	bottom: 0;
}