* {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: arial, sans-serif;
	text-align: center;
	box-sizing: border-box;
	overflow: hidden;
}

html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto 1fr auto;
	background: linear-gradient(150deg, steelblue 10%, lightblue 80%);
}

header {
	width: 100%;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	color: white;
}

h1 {
	padding: 10px;
	font-size: 40px;
}

button {
	cursor: pointer;
}

input, select, textarea {
	width: 100%;
	border: solid 1px black;
	border-radius: 5px;
}

input, select {
	height: 28px;
}

input[type="checkbox"], input[type="radio"] {
	width: 25px;
	height: 25px;
	margin: 0 10px;
	vertical-align: middle;
}

li {
	text-align: left;
}

footer p {
	padding: 20px;
	background: aqua;
}

.del, .add {
	width: 30px;
    height: 30px;
    border-radius: 15px;
    margin: 5px;
}
.del { background: url('/img/del.png') no-repeat #636363 center; background-size: 20px; }
.add { background: url('/img/add.png') no-repeat #636363 center; background-size: 20px; }

table input, table select {
	border-radius: 0;
}

.nav {
	display: flex;
}

.nav button {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	background: none;
	margin: 5px;
	color: white;
}

.menubutton {
	width: 150px;
	height: 40px;
	background: linear-gradient(0deg, #636363 10%, #454545 80%);
	color: white;
}

.flex, .logins {
	display: flex;
	flex-wrap: wrap;
}

.flex > div {
	flex:  1 1;
}

.logins form {
	flex: 1 1 auto;
}

#FormsMenu {
	display: flex;
	flex-wrap: wrap;
}

.FormSelect {
    flex: 1 1 auto;
    display: grid;
    align-items: center;
    padding: 10px;
    margin: 10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(150deg, #ffc107, #f9d361);
    box-shadow: 5px 5px 3px 1px #c8d4de;
    border: solid 1px darkslategrey;
	border-radius: 5px;
    color: darkslategrey;	
}

.FormSelect:hover {
    box-shadow: 5px 5px 3px 1px #42494e;
}

table, th, td {
	border: solid 1px grey;
	border-collapse: collapse;
}

.row:nth-child(even) { background: grey; }
.row:nth-child(odd) { background: lightgrey; }

.TH1 {
	background: khaki;
	height: 40px;
}

.SmallTable {
	flex: 1 1 auto;
	justify-content: space-between;
	background: white;
	margin: 10px;
	border: solid 1px #656565;
	border-radius: 5px;
}

.SmallTable td { padding: 3px; border:  solid 1px #656565; }
.SmallTable thead td { background: #8fbc8f; }
.SmallTable thead td:first-child { border-radius: 5px 0 0 0; }
.SmallTable thead td:last-child { border-radius: 0 5px 0 0; }
.SmallTable tfoot td:first-child { border-radius: 0 0 0 5px; }
.SmallTable tfoot td:last-child { border-radius: 0 0 5px 0; }
.SmallTable input { border: 0; }

#PersonalInfo {
    display: flex;
	flex-wrap: wrap;
	overflow: auto;
}

.InputButton {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
}

.InputLabel {
	flex: 1 1 150px !important;
	display: flex;
	flex-flow: column;
	margin: 5px;
	background: white;
	border: solid 1px #656565;
	border-radius: 5px;
}

.InputLabel > label {
	text-align: left;
	background: #8fbc8f;
	padding: 3px;
	transition: 0.3s;
}

.InputLabel:focus-within > label, .SmallTable:focus-within > thead td {
	background: #26c6da;
	color: white;
}

.InputLabel input, .InputLabel select { 
	border: 0; 
    border-top: solid 1px #656565;
    border-radius: 0;
}

.container {
	display: grid;
    grid-template-rows: 1fr auto;
	height: 100%;
}

.main {
    display: flex;
    flex-wrap: wrap;
	overflow: auto;
}

.menu {
	padding: 10px;
}

.B { display: none; }

.sequential {
	overflow: auto;
    flex: 1 1 auto;
    margin: 10px;
    background: khaki;
    border-radius: 5px;
    border: solid 2px #454545;
}

.sequential p:not(.fieldboxtitle) {
	text-align: left;
	padding: 10px;
	max-width: fit-content;
}

.fieldbox {
	padding: 5px;
}

.fieldboxtitle {
	background: linear-gradient(0deg, #636363 10%, #454545 80%);
	color: #FFF;
	padding: 10px;
	text-align: left;
	font-weight: bold;
}

ol li {
	list-style-position: inside;
	padding: 5px 10px;
}

.CheckList, .YesNoList {
    display: grid;
    grid-gap: 5px;
	align-items: center;
	justify-items: left;
}
.CheckList {
	grid-template-columns: auto 1fr;
}
.YesNoList {
	padding: 10px;
	grid-template-columns: 1fr auto auto;
}
.CheckList label, .YesNoList label {
	text-align: left;
}

.columns {
	column-count: 3;
}
