html,
body {
	height: 100%;
}

* {
	box-sizing: border-box;
}

body {
	font-family: Quicksand, Verdana, Geneva, Tahoma, sans-serif;
	margin: 0;
	opacity: 1;
	transition: all 1s;
	background-color: #000;
}

.loading body {
	opacity: 0;
	dbackground-color: #fff;
}

.header {
	background-color: #000;
	color: #fff;
	padding: 4px 12px;
	height: 36px;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
}

.header .name {
	font-size: 1.4em;
	cursor: pointer;
	white-space: nowrap;
	max-width: calc(100% - 160px);
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header .name i {
	opacity: 0.4;
	transition: opacity 333ms;
}

.header .name:hover i {
	opacity: 1;
}

.header .week {
	float: right;
	margin-left: 12px;
	padding: 4px;
	font-weight: bold;
	width: 30px;
	text-align: center;
	line-height: 19px;
}

.header .week.W2 {
	background-color: blue;
}

.header .week.W1 {
	background-color: red;
}

.header .date {
	float: right;
	font-family: "Roboto Mono";
	text-align: right;
	font-size: 11px;
	line-height: 14px;
	white-space: nowrap;
	overflow: hidden;
	display: inline-block;
}

.group {
	padding: 12px;
	/* text-align: center; */
	min-height: 100px;
}



.group > h1 {
	color: #fff;
	margin: 0;
	font-size: 30px;
	text-align: left;
}

.group > h1 > i {
	color: #ccc;
	font-size: 0.7em;
	cursor: pointer;
}

.group > h1 > i:hover {
	font-weight: bold;
	color: #fff;
}

html.Edit .group > h1 > i {
	font-weight: bold;
	color: #fff;
}

.group > a {
	vertical-align: top;
	position: relative;
	display: inline-block;
	width: 120px;
	height: 120px;
	border-radius: 20%;
	background-color: rgba(255, 255, 255, 0.42);
	padding: 12px;
	color: #fff;
	text-align: center;
	margin: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.group > a > i {
	font-size: 50px;
}

.group > a > img {
	height: 50px;
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
	mix-blend-mode: hard-light;
	-o-object-fit: cover;
	object-fit: cover;
	width: 50px;
}

.group > a > p {
	height: 48px;
	overflow: hidden;
	position: absolute;
	text-align: center;
	bottom: 5px;
	left: 8px;
	right: 8px;
	margin: 0;
	font-size: 15px;
	line-height: 1.05em;
}

.group > a > p > span {
	top: 50%;
	position: absolute;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	text-align: center;
}

.group > a > span {
	display: block;
	position: absolute;
	top: -8px;
	right: -8px;
	background-color: red;
	color: #fff;
	border-radius: 18px;
	padding: 1px 4px;
	text-align: center;
	font-size: 18px;
	border: 3px solid #fff;
	min-width: 30px;
}

.group > a > b {
	display: block;
	position: absolute;
	background-color: #000;
	color: #fff;
	padding: 1px 4px;
	border: 2px solid #fff;
	border-radius: 8px;
	transform: rotateZ(-30deg);
	transform-origin: top;
	bottom: -6px;
	right: -6px;
}

html.Edit .group:not(:last-of-type) > a:hover,
html.Edit .group:last-of-type > a:last-of-type:hover,
html:not(.Edit) .group > a:hover {
	background-color: rgba(255, 255, 255, 0.75);
	color: #333;
	mix-blend-mode: luminosity;
	box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.5);
}

html.Edit .group:not(:last-of-type) > img,
html:not(.Edit) .group > a:hover > img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
	mix-blend-mode: unset;
}

.group > a > u {
	pointer-events: auto;
	text-decoration: none;
	position: absolute;
	top: -12px;
	right: -12px;
	background-color: #000;
	color: #fff;
	font-size: 20px;
	padding: 7px;
	border-radius: 50%;
	height: 40px;
	width: 40px;
	border: 2px solid #fff;
}

html.Edit .group:last-of-type > a:not(:last-of-type) {
	pointer-events: none;
}

html.Edit .group > a > u:hover {
	color: #000;
	background-color: #fff;
	border-color: #000;
}

html.Edit .group > a > textarea {
	cursor: auto;
	-webkit-user-select: auto;
	-moz-user-select: auto;
	-ms-user-select: auto;
	user-select: auto;
	pointer-events: auto;
	max-height: 40px;
	display: block;
	overflow: hidden;
	position: absolute;
	text-align: center;
	bottom: 10px;
	left: 8px;
	right: 8px;
	margin: 0;
	font-size: 15px;
	width: calc(100% - 16px);
	resize: none;
	background-color: rgba(0, 0, 0, 0.25);
	color: #fff;
	font-family: Quicksand, Verdana, Geneva, Tahoma, sans-serif;
	border: 1px dotted #000;
	border-radius: 8px;
	line-height: 17px;
}

.footer {
	color: #fff;
	font-size: 18px;
	padding: 8px;
	display: block;
	text-align: right;
	Xmargin: 40px 20px;
}

@media (max-width: 500px) {
	.group > a {
		zoom: 0.75;
	}
	.group > a > i,
	.group > a > img {
		zoom: 0.9;
	}
	.group > a > p {
		max-height: 48px;
		zoom: 1.15;
	}

	.group > a > span {
		zoom: 1.2;
		font-weight: bold;
	}
}

@media (max-width: 400px) {
	.group {
		text-align: center;
	}
}
