body {
	display: grid;
	touch-action: manipulation;
	width:100%;
	height:100vh;
	margin:0;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		'header header'
		'nav main'
		'nav footer';
}
body > header {
	/* background-color: #ff5555; */
	grid-area: header;
	border-bottom: 1px solid black;
}

body > nav {
	/* background-color: #55ff55; */
	grid-area: nav;
	border-right: 1px solid black;
	/* padding: 0.5em; */
}

nav span {
	display: block;
	padding-left: 0.2em;
	padding-right: 0.2em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

nav span:hover {
	background-color: #0004
}
body > #content {
	/* background-color: #5555ff; */
	grid-area: main;
	overflow-y: auto;
	margin: 0.5em;
}

.calendar{
	border-collapse: collapse;
}

.calendar td, .calendar th{
	border: 1px solid black;
	border-collapse: collapse;
	width: 3em;
	height: 3em;
}

.today {
	font-weight: bold;
	text-decoration: underline;
}

tr.selected{
	background-color:#0004;
}

body > footer {
	background-color: #ff5555;
	grid-area: footer;
}

.modal {
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.75;
}
[x-cloak] {
  display: none !important;
}

.model-inner {
  background-color: white;
  visibility: visible;
  border-radius: 0.5em;
  max-width: 600px;
  padding: 2em;
  margin: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid black;
}

td, th {
    border: 1px solid #838383;
}

table {
    border-collapse: collapse;
	margin-top: 1em;
}

th {
    background: #ebebeb;
}


