﻿
/* Header */

	@-moz-keyframes reveal-header {
		0% {
			top: -4em;
			opacity: 0;
		}

		100% {
			top: 0;
			opacity: 1;
		}
	}

	@-webkit-keyframes reveal-header {
		0% {
			top: -4em;
			opacity: 0;
		}

		100% {
			top: 0;
			opacity: 1;
		}
	}

	@-ms-keyframes reveal-header {
		0% {
			top: -4em;
			opacity: 0;
		}

		100% {
			top: 0;
			opacity: 1;
		}
	}

	@keyframes reveal-header {
		0% {
			top: -4em;
			opacity: 0;
		}

		100% {
			top: 0;
			opacity: 1;
		}
	}

	body {
		padding-top: 3.25rem;
	}

		@media screen and (max-width: 736px) {

			body {
				padding-top: 44px;
			}

		}

	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 7rem;
		line-height: 4.80rem;
		background-color: #ffffff;
		box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.125);
		cursor: default;
		z-index: 10000;
	}

		#header a {
			display: block;
			height: inherit;
			line-height: inherit;
			border-bottom: 0;
			font-weight:bold;
			text-decoration:none;
		}

		#header > .logo {
			position: absolute;
			left: 1rem;
			top: 30px;
		}

			#header > .logo strong {
				font-weight: 700;
			}
			
		
		#header > nav {
			position: absolute;
			right: 0;
			top: 60px;
		}

			#header > nav > ul {
				list-style: none;
				padding: 0;
				margin: 0;
			}

				#header > nav > ul > li {
					position: relative;
					display: inline-block;
					margin: 0 1.2rem;
					padding: 0;
					color: #2f4e15;
				}

					#header > nav > ul > li > a {
						overflow: hidden;
						text-decoration:none !important;
					}

						#header > nav > ul > li > a.icon:before {
							float: right;
							margin-left: 0.75rem;
							line-height: inherit;
							color: #acacac;
						}

						#header > nav > ul > li > a.icon:hover:before {
							color: inherit;
							
						}

					#header > nav > ul > li > ul {
						display: none;
					}

					#header > nav > ul > li.current:after {
						content: '';
						display: block;
						position: absolute;
						bottom: 0;
						left: 0;
						width: 100%;
						height: 3px;
						background-color: #1bcea5;
					}

					#header > nav > ul > li.current > a {
						font-weight: 400;
					}

					#header > nav > ul > li.active > a {
						color: #1bcea5;
					}

			.dropotron {
				background-color: #8f759a;
				border-radius: 0.5rem;
				box-shadow: 0 0.075rem 0.75rem 0 rgba(0, 0, 0, 0.125);
				list-style-type: none;
				margin: -0.5rem 0 0 1px;
				min-width: 10rem;
				padding: 0.5rem 0;
			}
			

				.dropotron.level-0 {
					margin-top: -2rem;
					margin-left: 0;
				}

					.dropotron.level-0:before {
						-moz-transform: rotate(45deg);
						-webkit-transform: rotate(45deg);
						-ms-transform: rotate(45deg);
						transform: rotate(45deg);
						background-color: #8f759a;
						box-shadow: -2px -2px 3px -1px rgba(0, 0, 0, 0.1);
						content: '';
						position: absolute;
						top: -0.375rem;
						right: 2rem;
						width: 0.75rem;
						height: 0.75rem;
					}

				.dropotron li {
					border-top: solid 1px #eeeeee;
					padding: 0;
					position: relative;
					list-style:none;
				}

					.dropotron li:first-child {
						border-top: none;
					}

					.dropotron li.active > a {
						color: #1bcea5;
						list-style:none;
					}

				.dropotron a {
					color: #ffffff;
					padding: 0.5rem 1rem;
					text-decoration: none !important;
					border: 0;
				}

					.dropotron a:active, .dropotron a:hover, .dropotron a:focus {
						color: #f3aeda;
					}
					
					


		#header.reveal {
			-moz-animation: reveal-header 0.5s ease;
			-webkit-animation: reveal-header 0.5s ease;
			-ms-animation: reveal-header 0.5s ease;
			animation: reveal-header 0.5s ease;
		}

		#header.alt {
			-moz-animation: none;
			-webkit-animation: none;
			-ms-animation: none;
			animation: none;
			box-shadow: none;
			background-color: transparent;
			position: absolute;
		}

			#header.alt > .logo {
				top: 1rem;
				left: 2rem;
			}

			#header.alt > nav {
				top: 1rem;
				right: 1rem;
			}

			#header.alt > .navPanelToggle {
				top: 1rem;
				right: 1rem;
			}

		#header > .navPanelToggle {
			-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, top 0.2s ease-in-out, right 0.2s ease-in-out;
			-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, top 0.2s ease-in-out, right 0.2s ease-in-out;
			-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, top 0.2s ease-in-out, right 0.2s ease-in-out;
			transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, top 0.2s ease-in-out, right 0.2s ease-in-out;
			text-decoration: none !important;
			display: none;
			position: absolute;
			top: 0;
			right: 0;
			height: inherit;
			line-height: inherit;
			padding: 0 1rem;
			outline: 0;
		}

			#header > .navPanelToggle:before {
			-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			
        	}

			#header > .navPanelToggle:before {
				content: '\f0c9';
				line-height: inherit;
				margin: 0 0 0 0.625rem;
				float: right;
			}

		@media screen and (max-width: 1024px) {

			#header > nav {
				display: none;
			}

			#header > .navPanelToggle {
				display: block;
			}

		}

		@media screen and (max-width: 736px) {

			#header {
				height: 140px;
				line-height: 46px;
			}

				#header > .logo {
					left: 0.5rem;
					top: 30px;
				}

					#header > .logo .extra {
						display: none;
					}

		}
		
		
		
	

		@media screen and (max-width: 480px) {

			#header.alt > .logo {
				top: 0;
				left: 1rem;
			}

			#header.alt > .navPanelToggle {
				top: 0;
				right: 0;
			}

		}
		
		/* Nav Panel */

	#wrapper {
		-moz-transition: opacity 0.5s ease;
		-webkit-transition: opacity 0.5s ease;
		-ms-transition: opacity 0.5s ease;
		transition: opacity 0.5s ease;
	}

	#navPanel {
		-moz-transform: translateX(100%);
		-webkit-transform: translateX(100%);
		-ms-transform: translateX(100%);
		transform: translateX(100%);
		-moz-transition: -moz-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		-webkit-transition: -webkit-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		-ms-transition: -ms-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		transition: transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		-webkit-overflow-scrolling: touch;
		background: #8f759a;
		box-shadow: none;
		color: rgba(255, 255, 255, 0.75);
		height: 100%;
		max-width: 80%;
		overflow-y: auto;
		position: fixed;
		right: 0;
		top: 0;
		visibility: hidden;
		width: 20em;
		z-index: 10002;
	}

		#navPanel nav {
			padding: 3em 2em;
		}

		#navPanel .link {
			-moz-transition: color 0.2s;
			-webkit-transition: color 0.2s;
			-ms-transition: color 0.2s;
			transition: color 0.2s;
			border-top: solid 1px rgba(255, 255, 255, 0.25);
			border-bottom: 0;
			color: inherit !important;
			display: block;
			padding: 0.2em 0;
			text-decoration: none !important;
		}

			#navPanel .link:first-child {
				border-top: 0;
			}

			#navPanel .link.depth-0 {
				color: #ffffff !important;
				font-weight: 400;
			}

			#navPanel .link:active, #navPanel .link:focus, #navPanel .link:hover {
				color: #ffffff !important;
			}

			#navPanel .link .indent-1 {
				display: inline-block;
				width: 1.25em;
			}

			#navPanel .link .indent-2 {
				display: inline-block;
				width: 2.5em;
			}

		#navPanel .close {
			text-decoration: none;
			-moz-transition: color 0.2s ease-in-out;
			-webkit-transition: color 0.2s ease-in-out;
			-ms-transition: color 0.2s ease-in-out;
			transition: color 0.2s ease-in-out;
			-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
			border: 0;
			color: rgba(255, 255, 255, 0.5);
			cursor: pointer;
			display: block;
			height: 3.25em;
			line-height: 3.25em;
			padding-right: 1.25em;
			position: absolute;
			right: 0;
			text-align: right;
			top: 0;
			vertical-align: middle;
			width: 7em;
		}

			#navPanel .close:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			#navPanel .close:before {
				content: '\f00d';
				font-size: 1.25em;
			}

			#navPanel .close:hover {
				color: #ffffff !important;
			}

			@media screen and (max-width: 736px) {

				#navPanel .close {
					height: 4em;
					line-height: 4em;
				}

			}

		@media screen and (max-width: 736px) {

			#navPanel nav {
				padding: 2.5em 1.75em;
			}

		}

	body.is-navPanel-visible #wrapper {
		pointer-events: none;
		cursor: default;
		opacity: 0.25;
	}

	body.is-navPanel-visible #navPanel {
		-moz-transform: translateX(0);
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
		visibility: visible;
	}
