* {
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-family: arial, sans-serif;
	text-align: center;
	box-sizing: border-box;
}

html {
	background: linear-gradient(150deg, steelblue 10%, lightblue 80%);
	height: 100%;
	width: 100%;
}

body {
	height: 100%;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto 1fr;
	overflow: hidden;
}

header {
	padding: 10px;
	grid-column: 1 / 3;
	display: flex;
    justify-content: space-between;
    align-items: center;	
}

#HeadLeft {
	display: flex;
	align-items: center;
}

#Title {
	margin-left: 10px;
	font-size: 2em;
	color: #FFF;
}

#Menu, #Main {
	overflow: auto;
}

#Menu .InputList {
	display: grid;
	grid-template-columns: auto 1fr;
	padding: 10px;
	align-items: center;
}

#Menu > div > label {
	background-color: beige;
	margin: 5px;
	padding: 5px;
}

#Menu > div > div {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.MenuButtons {
    display: flex;
	justify-content: space-evenly;
}

input, select, textarea {
	padding: 2px;
	margin: 2px;
	min-height: 30px;
	border: solid 1px #454545;
	border-radius: 5px;
	background: white;
	user-select: auto;
}

table {
	width: 100%;
	height: 100%;
	background: beige;
	table-layout: fixed;
}

table, td {
	border: solid 1px black;
	border-collapse: collapse;
}

button {
	width: 50px;
	height: 50px;
	color: white;
	background: linear-gradient(0deg, #636363 10%, #454545 80%);
}

#Actions {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	grid-gap: 5px;	
}
.Action {
	background-color: aquamarine;
	border: solid 2px blueviolet;
	border-radius: 5px;
	padding: 20px;
}
#Marker-Old, #Marker-New { 
	position: fixed; 
	z-index: 999;
	font-size: 40px;
	pointer-events: none;
	cursor: pointer;
}
#Marker-Old { color: red; }
#Marker-New { color: green; }

#Table {
	height: 100%;
}
.HoursGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
}
.HoursGrid div {
	border-left: solid 1px #454545;
}

.ShiftHoursBlock {
	position: absolute; 
	top: 0;
	height: 100%;	
}
#GraphTable, #GraphTable td {
	border: 0;
	min-height: 1px;
}
#GraphTable thead th {
	position: static;
	height: 40px;
}
#Graph {
	position: relative;
	height: 100%;
	width: 1440px;
}
.Event {
	position: absolute;
	bottom: 0;
	width: 1px;
	background-color: greenyellow;
}