html {
	margin: 0;
	padding: 0;
}

body {
	font-family: -apple-system, arial, sans-serif;
	font-weight: normal;
	margin: 0;
	padding: 0;
	color: #555;
}

/* ---------------------------------------------------------------- navigation */

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

#navHeader {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	opacity: 1.0;
	border-bottom: 1px solid #eee;
	background-color: #fcfcfc;
}

#navHeader:hover {
	opacity: 1.0;
	transition: opacity 0.2s ease-in-out;
}

#navHeader ul.home {
	margin-left: 1rem;
	background-image: url("images/ozateLogo.svg");
	background-size: 2.2rem 1.46rem;
	background-repeat: no-repeat;
	background-position: left center;
}

#navHeader ul.home a {
	padding-left: 3rem;
}

#navHeader ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#navHeader ul li a {
	display: inline-block;
	margin: 0;
	padding: 1rem;
	text-decoration: none;
	color: #777;
}

#navHeader ul li a:hover {
	color: #3af;
}

#navHeader li.selected {
	background: green;
}

#navHeader label {
	width: 3rem;
	height: 3rem;
	margin: 0.1rem 1rem 0 0;
	background-image: url("images/showMenu.png");
	background-size: 24px 18px;
	background-position: center;
	background-repeat: no-repeat;
}

div.spacer {
	flex-grow: 1;
}

#navHeader label {
	display: none;
}

#navHeader input[type="checkbox"] {
	display: none;
}

@media only screen and (max-width: 36rem) {
	#sections {
		display: none;
	}

	#navHeader label {
		display: block;
	}

	#navHeader input[type="checkbox"] + label + ul {
		display: none;
	}

	#navHeader input[type="checkbox"]:checked + label + ul {
		display: block;
		position: absolute;
		right: 1rem;
		top: 4rem;
		padding: 0;
		background-color: #fafafa;
		border: 1px solid #eee;
		border-radius: 0.5rem;
		box-shadow: 0 2px 8px 1px #eee;
	}

	#navHeader input[type="checkbox"]:checked + label + ul li a {
		display: block;
		color: #3af;
	}

	#navHeader input[type="checkbox"]:checked + label {
		background-image: url("images/hideMenu.png");
	}
}

/* ---------------------------------------------------------------- calendar */

table.calendarMonth {
	border: 1px solid #ccc;
	border-collapse: collapse;
	margin: 0 -1rem 0 -1rem;
	width: calc(100% + 2rem);
}

table.calendarMonth th {
	font-weight: normal;
	color: #666;
}

table.calendarMonth td {
	position: relative;
	width: 14%;
	height: 100px;
	border: 1px solid #ccc;
	font-size: 0.8em
}

div.dayNumber {
	position: absolute;
	top: 0.1rem;
	left: 0.1rem;
}

table.calendarMonth td strong {
/* 	font-weight: normal; */
}

table.calendarMonth a {
	text-decoration: none;
	color: #3af;
}



/* ---------------------------------------------------------------- content */

h1 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 1.5rem;
}

h2 {
	margin: 0.75rem 0 0 0;
	padding: 0;
	font-weight: normal;
	font-size: 1.1rem;
}

#content {
	display: flex;
	flex-flow: row wrap;
	clear: both;
	margin: 4rem 0 0 0;
	padding: 0;
	font-size: 0.9rem;
}

article a {
	text-decoration: none;
	color: #3af;
}

div.home a {
	font-size: 1rem;
	text-transform: uppercase;
}

article ul {
	list-style: none;
}

article li {
	padding: 0 0 0 1rem;
	text-indent: -3rem;
	line-height: 1.5rem;
	text-wrap: nowrap;
}

article li:before {
	content: "・";
	color: #777;
}

#content article.wide {
	max-width: 100%;
	width: 100%;
}

article.general h1 {
	color: #f70;
}

article.development h1 {
	color: #0c0;
}

article.training {
/* 	width: calc(50% - 1em); */
}

article.training h1 {
	color: #e6a;
}

article.events {
/* 	width: calc(50% - 1em); */
}

article.events h1 {
	color: #b6f;
}

h1.clients {
	padding: 1rem 0 0 2rem;
	border-top: 1px solid #ddd;
	color: #999;
}

#clients {
	display: flex;
	overflow: auto;
	align-items: center;
	-webkit-overflow-scrolling: touch; /* ios */
	scrollbar-width: none; /* firefox */
	padding: 0;
}

#clients::-webkit-scrollbar {
    display: none;
}


#clients div {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem 2rem 1rem 2rem;
}

#clients div img {
	max-height: 4rem;
}

#clients div img:hover {
	filter: none;
	opacity: 1;
}

#clients div img:active {
	filter: none;
	opacity: 1;
}

p.note {
	font-size: 0.8rem;
	color: #f77;
}

/* ---------------------------------------------------------------- main */

main {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 2rem 3rem;
	padding: 2rem;
}

main h1 {
	color: #f70;
}

main a {
	color: #3af;
	text-decoration: none;
}

main.events {
	display: block;
}

main.events h2 {
	text-align: center;
	margin: 3rem 0 1rem 0;
	font-size: 1.5rem;
}

/* ---------------------------------------------------------------- footer */

footer {
	right: 0;
	bottom: 0;
	left: 0;
	margin: 2rem 0 0 0;
	padding: 0.5rem 0 0.5rem 0;
	text-align: center;
	font-size: 0.8rem;
	color: #888;
	border-top: 1px solid #ddd;
}

footer a {
	text-decoration: none;
	color: #3af;
}
