/*********************************************/

body {
	width: unset;
	margin: 10px;
	padding: 0px;
	background-image: none;
}
.body-container {
	padding: 0px;
	width: 100%;
}
#header {
	width: 100%;
}
#body-columns {
	width: 100%;
	margin: 0px;
}

/*********************************************/

#menu {
	top: 10px;
	justify-content: space-around;
}
.menu-item {
	margin-left: -20px;
	font-size: 1.75rem;
	line-height: 50px;
}
.menu-item-sub {
	top: 50px;
	left: 3px;
}
.menu-item-left,
.menu-item-right {
	width: 20px;
}
.menu-item-selected .menu-item-left {
	background-size: 150px 50px;
	background-position: 0px 0px;
	background: none;
}
.menu-item-selected .menu-item-mid {
	background-size: 150px 50px;
	background-position: -20px 0px;
	background: none;
}
.menu-item-selected .menu-item-right {
	background-size: 150px 50px;
	background-position: -130px 0px;
	background: none;
}

@media screen and (max-width: 900px) {
	#header-title {
		top: 25px;
		right: 25px;
		width: 270px;
		height: 55px;
	}
	#menu {
		top: 0px;
		margin-left: 30px;
		flex-direction: column;
	}
	#menu-compact-header {
		display: inline-block;
	}
	#menu-compact-table {
		display: table;
		width: 100%;
	}
	#menu-compact-button {
		display: table-cell;
		width: 30px;
		padding-right: 20px;
	}
	.menu-item {
		display: none;
		width: 140px;
		font-size: 1.5em;
		line-height: 1.8em;
		margin-left: -30px;
		padding-left: 30px;
		border-width: 0px 4px;
		border-color: white;
		border-style: solid;
		background-color: var(--bg-color-light);
	}
	.menu-item:last-child {
		border-radius: 0px 0px 15px 15px;
		border-bottom-width: 4px;
		overflow: hidden;
	}
	.menu-item:hover {
		background-color: var(--menu-bg-color);
	}
	.menu-item-sub div:hover {
		background-color: var(--bg-color-light);
	}
	.menu-item-sub {
		top: -40px;
		left: 150px;
		font-size: 1em;
		line-height: 0.4em;
		background-color: var(--menu-bg-color);
	}
	.menu-item-selected div {
		background-image: none !important;
	}
	.menu-item-left,
	.menu-item-right {
		display: none !important;
	}
	.menu-item-shadow {
		-webkit-box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
		-moz-box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
		box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
	}
}

/*********************************************/

@media screen and (min-width: 801px) {
	#main-column {
		width: auto;
		max-width: 718px;
		margin: 20px 20px 10px 0px;
	}
	#side-column {
		width: auto;
		margin: 0px;
		min-width: 300px;
	}
	.side-column-item {
		width: auto;
		margin: 20px 0px 0px 0px;
	}
}

/*********************************************/

@media screen and (max-width: 800px) {
	#menu-search-dummy {
		display: table-cell;
	}
	#menu-search {
		display: none;
		width: 100%;
		font-size: 1rem;
	}
	#menu-search-spacer {
		display: table-cell;
		width: 30px;
	}
	#body-columns {
		margin: 0px;
		padding: 0px;
		flex-wrap: wrap;
	}
	#main-column {
		width: auto;
		margin: 10px 0px 0px 0px;
	}
	#side-column {
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	.side-column-item {
		width: auto;
		margin: 10px 0px 0px 0px;
	}
	#on-this-page {
		display: block;
	}
	#on-this-page-side {
		display: none;
	}
	.compact-hide ,
	.compact-hide div{
		display: none;
		flex: 0;
	}
}

/*********************************************/

@media screen and (max-width: 500px) {
	body {
		font-size: 14px;
		line-height: 1.687em;
	}
	#header {
		padding-bottom: 125px;
	}
	#header-title {
		top: 15px;
		right: 15px;
		width: 200px;
		height: 41px;
	}
	.mmenu-item {
		font-size: 1.4em;
		line-height: 1.4em;
	}
}

/*********************************************/
