﻿label {
	display: block;
	font-weight: bold;
	/*border: solid black 1px;*/
	padding: 0.3em;
}

	label input,
	label select {
		display: block;
		font-weight: normal;
	}

		label input[type="text"],
		label input[type="password"] {
			min-width: 400px;
		}

	label.checkbox {
		font-weight: normal;
	}

		label.checkbox input {
			display: inline-block;
			margin-right: 0.5em;
		}

	label button {
		margin-left: 1em;
	}

.error-message {
	display: inline-block;
	border: solid yellow 1px;
	border-radius: 1em;
	padding: 1em;
	color: red;
}

.tabs {
	display: block;
	margin-left: 0;
	margin-top: 5px;
	margin-bottom: 5px;
}

	.tabs div.tab {
		display: inline-block;
		padding-left: 7px;
		padding-right: 7px;
		cursor: pointer;
		color: gray;
		border-right: solid lightgray 1px;
		border-bottom: solid rgb(239, 239, 239) 1px;
		font-size: 1.1em;
		/*margin-right: 2px;*/
	}

		.tabs div.tab:last-of-type {
			border-right: none !important;
		}

		.tabs div.tab.active {
			font-weight: bold;
			color: black;
			background-color: white;
			border: solid gray 1px;
			border-top-left-radius: 5px;
			border-top-right-radius: 5px;
			box-shadow: 0 -2px 4px 3px lightgray;
		}

ul {
	padding: 0;
	margin: 0;
	list-style: none outside;
}

.left-menu {
	display: inline-block;
	position: fixed;
	top: 3em;
	left: 1em;
	height: 100%;
	max-width: 18em;
	min-width: 14em;
	overflow: auto;
	background-color: #f7f7f7;
	padding: 0.3em;
}

	.left-menu li.active {
		font-weight: bold;
	}

.edit-container {
	vertical-align: top;
	display: inline-block;
	margin-left: 18em;
}

button.action-button.small {
	padding: 0;
	padding-left: 2px;
	padding-right: 2px;
}

button.action-button i.fal {
	margin-right: 0.3em;
	font-weight: bold;
	color: black;
}
/*button.edit-button i.fal.fa-edit {
	color: black;
}*/
button.save-button,
button.cancel-button {
	margin-right: 0.3em;
}
/*button.save-button i.fal.fa-save {
	color: black;
}*/
button.delete-button {
	color: white;
}
/*button.cancel-button i.fal.fa-ban,
button.delete-button i.fa-trash-alt {
	color: black !important;
}*/
#top-banner {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1em;
	height: 3em;
	color: white;
	background-color: #6c757d;
}
.content {
	margin-top: 3em;
	padding: 1em;
}
	.content div {
		display: inline-block;
		vertical-align: top;
		margin-right: 1em;
	}
	.content .food-log-form {
		display: inline-block;
		background-color: #c8c8c8;
		padding: 1em;
		border: solid gray 1px;
		border-radius: 0.5em;
		font-size: 1.5em;
	}
	.content table th,
	.content table td {
		padding-right: 0.5em;
		padding-left: 0.5em;
	}
table.styled-table {
	border: solid darkgray 1px;
	border-radius: 3px;
	/*width: 100%;*/
}

table.styled-table th, table.styled-table td {
	padding-left: 1em;
	padding-right: 2em;
	text-align: left;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
}

table.styled-table th:first-child, table.styled-table td:first-child {
	padding-right: 0;
}

table.styled-table th {
	background-color: #757575;
	color: white;
	font-weight: bold;
}

table.styled-table.light th {
	background-color: lightgray;
	color: #333333;
}

table.styled-table td {
	border-top: solid darkgray 1px;
	vertical-align: middle;
}

table.styled-table.td-center td {
	text-align: center;
}

table.styled-table tr:nth-child(odd) {
	background-color: #f5f5f5;
}

table.styled-table tr:not(.no-hover-highlight):hover {
	background-color: darkgray;
}

table.styled-table.light tr:not(.no-hover-highlight):hover {
	background-color: oldlace;
}

table.styled-table tr.no-hover-highlight table tr:hover {
	background-color: inherit;
}
