/*
	Filepath:    /var/www/html/src/css/main.css
	Description: Site-wide styling, referenced across the site.
	Author:      bernard
	Last Edited: 2020/09/03
*/

@font-face {
	font-family: Avenir;
	src: url(/src/fonts/avenir-book.ttf);
	font-weight: 400;
}
@font-face {
	font-family: Avenir;
	src: url(/src/fonts/avenir-medium.ttf);
	font-weight: 600;
}
@font-face {
	font-family: Avenir;
	/*src: url(/src/fonts/avenir-heavy.ttf);*/ /* not used because it is missing many characters */
	src: url(/src/fonts/avenir-medium.ttf);
	font-weight: 800;
}
@font-face {
	font-family: Avenir;
	src: url(/src/fonts/avenir-black.ttf);
	font-weight: 1000;
}
:root {
	/*--color-1: #2e66b6;*/
	/*--color-2: #aa0000;*/
	/*--color-3: #fee372;*/
	/*--color-4: #555555;*/
	/*--color-5: #e6e6e6;*/
	/*--text-1: #000000;*/
	/*--text-2: #ffffff;*/
	/*--text-3: #555555;*/
}
html::-moz-selection {
	background: #fee372;
}
html::selection  {
	background: #fee372;
}

@media screen {
	html.skin-theme-clientpref-night::-moz-selection {
		background: #5B4901;
	}

	html.skin-theme-clientpref-night::selection {
		background: #5B4901;
	}
	.site-nav::selection  {
		background: #fee372;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os::-moz-selection {
		background: #5B4901;
	}

	html.skin-theme-clientpref-os::selection {
		background: #5B4901;
	}
	.site-nav::selection  {
		background: #fee372;
	}
}

html, body {
	font-family: 'Avenir', Arial, sans-serif;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}
div, h1, h2, h3, h4, h5, h6, p, b, a, tr, th, td, body:not(.mediawiki) ul, body:not(.mediawiki) ol, li, img {
	margin: 0;
	padding: 0;
	outline: none;
}
b {
	font-weight: 800;
}
.banner,
.container,
.site-footer,
.site-nav {
	padding-left: 100px;
	padding-right: 100px;
}
.banner {
	background: #fee372;
	color: #555555;
	font-size: 15px;
	line-height: 15px;
	padding-top: 14px;
	padding-bottom: 12px;
	position: relative;
	text-align: center;
}
.banner p {
	font-size: 15px;
	line-height: 15px;
	margin-bottom: 0;
}
.banner a {
	color: #555555;
	font-weight: 100;
	text-decoration: none;
}
.site-nav {
	background: #2e66b6;
	height: 50px;
	font-size: 14px;
	line-height: 50px;
	padding-top: 25px;
	padding-bottom: 28px;
	z-index: 43110;
}
.site-nav > a {
	text-decoration: none;
}
.site-nav > a img {
	float: left;
	height: 50px;
	margin-right: 15px;
}
.site-nav > a span {
	float: left;
}
.site-nav .hamburger {
	cursor: hand;
	display: none;
	float: right;
	margin-top: -2px;
}
.site-nav .hamburger,
.site-nav .hamburger > div {
	height: 50px;
	vertical-align: middle;
}
.site-nav .hamburger > div {
	display: table-cell;
	float: none;
}
.site-nav .hamburger > div > div {
	background: #ffffff;
	height: 2px;
	margin: 6px 0;
	width: 25px;
	transition: 0.3s;
}
.site-nav .hamburger-toggle > div > div {
	opacity: 0;
}
.site-nav .hamburger-toggle > div > div:first-child {
	opacity: 1;
	transform: rotate(-45deg) translate(-5.5px, 6px);
	-webkit-transform: rotate(-45deg) translate(-5.5px, 6px);
}
.site-nav .hamburger-toggle > div > div:last-child {
	opacity: 1;	
	transform: rotate(45deg) translate(-5.5px, -6px);
	-webkit-transform: rotate(45deg) translate(-5.5px, -6px);
}
.site-nav > ul {
	float: right;
	list-style: none;
	z-index: 43110;
}
.site-nav > ul > li {
	float: left;
	margin-right: 20px;
}
.site-nav > ul > li:last-child {
	margin-right: 0;
}
.site-nav > ul > li > p > a {
	color: #ffffff;
	letter-spacing: 2px;
	padding: 7px 10px;
	font-weight: 100;
	text-decoration: none;
	text-transform: uppercase;
}
.site-nav > ul > li > p > a.site-nav-notification {
	background-color: #fee372;
	border-radius: 15px;
	color: #555555;
	padding: 2px 5px 1px 7px;
}
.site-nav > ul > li > p > a.site-nav-button {
	background: #fee372;
	border-color: #fee372;
	border-style: solid;
	border-width: 1px;
	color: #555555;
	transition: 0.2s;
}
.site-nav > ul > li > p > a.site-nav-button:hover {
	background: transparent;
	color: #fee372;
}
/*.site-nav > ul > li > ul {
	background: #555555;
	display: none;
	list-style: none;
	margin-top: 10px;
	padding: 5px 10px;
}
.site-nav > ul > li:hover > ul {
	display: block;
}
.site-nav > ul > li > ul > li {
	margin: 5px 0;
}
.site-nav > ul > li > ul > li > p > a {
	color: #000000;
	font-size: 12px;
	letter-spacing: 1px;
	text-decoration: none;
}*/
div#wrap {
	min-height: 100%;
}
.container {
	background: #ffffff;
	padding-top: 25px;
	padding-bottom: 45px;
}
.container h1 {
	margin-top: 15px;
	margin-bottom: 7.5px;
}
.container h2 {
	font-weight: 500;
	margin-top: 15px;
	margin-bottom: 7.5px;
}
.container h3{
	margin-top: 15px;
	margin-bottom: 7.5px;
}
.container p {
	font-size: 14px;
	font-weight: 100;
	margin-top: 15px;
	margin-bottom: 7.5px;
	word-break: break-word;
}
.container a {
	color: #2e66b6;
	text-decoration: none;
}
.container a:hover {
	text-decoration: underline;
}
.container a.site-nav-button {
	background: #fee372;
	border-color: #fee372;
	border-style: solid;
	border-width: 1px;
	color: #000000;
	display: inline-block;
	font-size: 12px;
	margin-top: 15px;
	margin-bottom: 15px;
	margin-right: 7.5px;
	padding: 10px 15px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s;
}
.container a.site-nav-button:hover {
	background: transparent;
	color: #fee372;
}
.container ol,
.container ul {
	font-size: 14px;
	margin-top: 15px;
	margin-left: 15px;
	padding-left: 16px;
}
.container li {
	margin-top: 10px;
	padding-left: 5px;
}
div.tiles,
div.panel {
	clear: both;
	margin: 0 -10px;
}
.tiles > a,
.tiles > div {
	box-sizing: border-box;
	display: inline-block;
	/*float: left;*/
	/*margin: 15px 10px 5px 10px;*/
	margin: 15px 5.5px 5px 10px;
	padding: 15px 20px 22px 20px;
	text-align: center;
	vertical-align: top;
	width: calc(20% - 20px);
	transition: opacity 0.3s;
}
.tiles a.blue,
.tiles div.blue {
	background-color: #2e66b6;
	color: #ffffff;
}
.tiles a.red,
.tiles div.red {
	background-color: #aa0000;
	color: #ffffff;
}
.tiles a.grey,
.tiles div.grey {
	background-color: #555555;
	color: #ffffff;
}
.tiles a.light-grey,
.tiles div.light-grey {
	background-color: #f4f4f4;
	color: #000000;
}
.tiles a.yellow,
.tiles div.yelow {
	background-color: #fee372;
	color: #555555;
}
.panel > div {
	box-sizing: border-box;
	float: left;
	margin: 15px 10px 5px 10px;
	padding: 20px 40px 40px 40px;
	width: calc(50% - 20px);
}
.tiles > a:hover {
	cursor: hand;
	opacity: 0.8;
	text-decoration: none;
}
.tiles p {
	font-size: 15px;
	font-weight: bold;
	margin: 10px 0 15px 0;
	text-transform: uppercase;
}
.tiles i {
	font-size: 80px;
}
.tiles::after,
.panel:after {
	content: "";
	clear: both;
	display: table;
}
.blue {
	background-color: #2e66b6;
	color: #ffffff;	
}
.red {
	background-color: #aa0000;
	color: #ffffff;	
}
.yellow {
	background-color: #fee372;
	color: #555555;	
}
.site-footer {
	background: #f4f4f4;
	padding-top: 20px;
	padding-bottom: 32px;
}
.site-footer .tiles div {
	padding: 0;
}
.site-footer .tiles p {
	text-align: left;
}
.site-footer h4 {
	color: #2e66b6;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 10px;
	text-align: left;
	text-transform: uppercase;
}
.site-footer p,
.site-footer a {
	color: #555555;
	font-size: 13px;
	font-weight: 100;
	line-height: 15px;
	margin: 0 0 3px 0;
	text-decoration: none;
	text-transform: none;
}
@media (max-width: 1200px) {
	.site-nav .hamburger {
		display: table-cell;
	}
	body .site-nav > ul {
		background: #555555;
		display: none;
		margin-top: 78px;
		margin-left: -100px;
		margin-right: -100px;
		position: absolute;
		width: 100%;
	}
	.site-nav > ul > li {
		float: none;
		line-height: 100%;
		margin: 25px 100px;
	}
	.site-nav > ul > li > p > a:not(.site-nav-notification) {
		padding: 0 10px 0 0;
		width: 100%;
	}
	.site-nav > ul > li > p > a.site-nav-button,
	.site-nav > ul > li > p > a.site-nav-button:hover {
		background: none;
		border: none;
		color: #ffffff;
	}
	/*.site-nav > ul > li > ul {
		display: none;
	}*/
	.tiles > div,
	.tiles > a {
		width: calc(25% - 20px);
	}
	.panel > div {
		padding: 10px 30px 30px 30px;
	}
}
@media (max-width: 900px) {
	.banner,
	.container,
	.site-footer,
	.site-nav {
		padding-left: 25px;
		padding-right: 25px;
	}
	body .site-nav > ul {
		margin-left: -25px;
	}
	.site-nav > ul > li {
		margin-left: 25px;
		margin-right: 25px;
	}
	.container {
		padding-top: 10px;
		padding-bottom: 22px;
	}
}
@media (max-width: 800px) {
	.tiles > div,
	.tiles > a {
		width: calc(33.33% - 20px);
	}
}
@media (max-width: 700px) {
	.tiles > div,
	.tiles > a {
		width: calc(50% - 20px);
	}
	.panel > div {
		width: calc(100% - 20px);
	}
}
@media (max-width: 400px) {
	.tiles > div,
	.tiles > a {
		width: calc(100% - 20px);
	}
}
.print-only {
	display: none;
}
@media print {
	.banner, 
	.site-nav,
	.site-footer {
		display: none;
	}
	.container {
		padding-right: 0;
		padding-left: 0;
	}
	.print-only {
		display: block;
	}
}
