@keyframes appear {
	from {
		opacity: 0;
	}
	
	to {
		opacity: 1;
	}
}

#header {
    border-bottom: 1px solid black;
    vertical-align: bottom;
    padding: 64px 0 48px 0;
	text-align: center;
	background-image: url("./images/mike-aunzo-yYSnv8meSMY-unsplash.jpg");
	background-size: cover;
	background-position-y: 90%;
}

#header p {
    margin: 8px;
}

#header a {
	text-decoration: none;
}

#title {
    vertical-align: bottom;
}

#title h1 {
    display: inline-block;
    font-size: 48pt;
    margin: 0 0 0 16px;
}

#title img {
    height: 80px;
}

#bodyTable {
    display: grid;
    grid-template-columns: 0.25fr 1fr;
}

#navMenu {
    border-right: 1px solid black;
    text-align: center;
    padding: 24px 16px 24px 16px;
    white-space: nowrap;
    background-color: #842c2d;
}

#navMenu div {
    margin-bottom: 32px;
}

#navMenu a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 4px 0 4px 0;
    text-decoration: none;
}

#navMenu h2 {
    border: 1px solid black;
    border-radius: 32px;
    font-size: 20pt;
    margin: 0 0 4px 0;
    background-color: #ffa14a;
	transition: padding 0.3s, opacity 0.3s;
}

#navMenu h2:hover {
    opacity: 0.5;
	padding-top: 4px;
	padding-bottom: 4px;
}

#navMenu h2:focus {
	opacity: 0.5;
	padding-top: 8px;
	padding-bottom: 8px;
}

#navMenu h3 {
    margin: 0;
    font-size: 16pt;
}

#navScroll {
    top: 0;
    position: relative;
}

#content {
    padding: 0 16px 32px 16px;
    overflow: hidden auto;
    background-color: #b64c36;
}

#content * {
	animation-duration: 0.5s;
	animation-name: appear;
}

#searchBar {
    border: 1px solid black;
    width: calc(100% - 46px);
    margin: 0 4px 32px 0;
    height: 32px;
    border-radius: 32px;
    text-align: center;
    background: white;
}

#searchBar::placeholder {
    color: black;
}

#searchButton {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    border: 1px solid black;
    cursor: pointer;
}

#footer {
    border-top: 1px solid black;
    clear: left;
    padding: 8px;
	text-align: center;
	background-color: #5d2c2d;
}

#footer div {
	margin: auto;
    margin-bottom: 16px;
}

#footer div:not(:first-child) {
    margin-left: 32px;
}

#footer a {
    display: block;
    text-decoration: none;
    font-weight: bold;
}

#footer p {
    clear: left;
}

body {
    font-family: Arial;
    font-size: 16pt;
    line-height: 32px;
    padding: 0;
    margin: 0;
	color: white;
	text-shadow: -1px -1px black, 1px -1px black, 1px 1px black, -1px 1px black;
}

h2, h3, h4 {
    margin-bottom: 4px;
}

p {
    margin: 0 0 32px 0;
}

form input, select {
    height: 24px;
    width: 256px;
}

form input[type=submit], input[type=reset] {
    width: 25%;
    height: 48px;
    font-weight: bold;
    font-size: 12pt;
}

form label {
    display: inline-block;
    text-align: right;
    min-width: 148px;
}

fieldset {
    margin-bottom: 16px;
}

a {
	color: white;
}

.rightImage {
	width: 256px;
	padding: 8px;
	float: right;
	clear: both;
}

.brochure {
	text-decoration: none;
	background-color: #842c2d;
	display: block;
	padding: 32px 8px 0 8px;
	outline: 1px solid black;
	margin-bottom: 16px;
	transition: padding 0.3s, opacity 0.3s;
	background-size: cover;
	background-position-x: 50%;
}

.brochure * {
	margin: 0;
}

.brochure:hover {
	opacity: 0.6;
	padding-top: 36px;
	padding-bottom: 4px;
}

.brochure:focus {
	opacity: 0.6
	padding-top: 64px;
	padding-bottom: 16px;
}

.navCurrent {
	background-color: #b64c36 !important;
	padding-top: 4px;
	padding-bottom: 4px;
	opacity: 1 !important;
	transition: none !important;
}

.categorySelectOption {
	display: inline-block;
	border: 1px solid black;
	background-color: #ffa14a;
	width: 200px;
	height: 200px;
	max-height: 200px;
	padding: 16px;
	text-align: center;
	cursor: pointer;
	margin: 4px;
	text-decoration: underline;
	transition: opacity 0.3s;
	vertical-align: top;
}

.categorySelectOption:hover {
	opacity: 0.5;
}

.categoryList {
	display: none;
}

.categoryListItem {
	width: calc(100%-16px);
	min-height: 64px;
	border: 1px solid black;
	position: relative;
	background-color: #ffa14a;
	padding: 8px;
	margin-bottom: 16px;
}

.ratingAge {
	position: absolute;
	bottom: 0;
	right: 8px;
}

.ratingStar {
	position: absolute;
	top: 0;
	right: 8px;
}

.ratingStar h3 {
	display: inline;
	vertical-align: middle;
}

.ratingStar img {
	width: 48px;
	display: inline;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

.referenceContainer {
	position: relative;
}

.reference {
	position: absolute;
	color: black;
	text-decoration: underline;
	font-style: italic;
	bottom: 0;
	right: 0;
	z-index: 100;
	background: white;
	text-shadow: none;
	padding: 2px;
}

.searchResult {
	margin: 0 0 32px 0;
}

.searchResult a {
	font-size: 20pt;
}
