/* Header */

	#page-wrapper {
		padding-top: 3em;
	}

	body.landing #page-wrapper {
		padding-top: 0;
	}

	@-moz-keyframes reveal-header {
		0% {
			top: -5em;
		}

		100% {
			top: 0;
		}
	}

	@-webkit-keyframes reveal-header {
		0% {
			top: -5em;
		}

		100% {
			top: 0;
		}
	}

	@-ms-keyframes reveal-header {
		0% {
			top: -5em;
		}

		100% {
			top: 0;
		}
	}

	@keyframes reveal-header {
		0% {
			top: -5em;
		}

		100% {
			top: 0;
		}
	}

	#header {
		background: #444;
		color: var(--color-negro);
		cursor: default;
		height: 7em;
		left: 0;
		line-height: 7em;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 10000;
	}

		#header .logo {
			display: block;
			width: 15em;
			height: 7em;
			overflow: hidden;
			border: 0;
		}

			#header .logo img {
				width: 100%;
				margin-top: -25%;
				margin-left: -10%;
			}

		#header nav {
			height: inherit;
			line-height: inherit;
			position: absolute;
			top: 0;
			vertical-align: middle;
		}

			#header nav > ul {
				list-style: none;
				margin: 0;
				padding-left: 0;
			}

				#header nav > ul > li {
					display: inline-block;
					padding-left: 0;
				}

					#header nav > ul > li > ul {
						display: none;
					}

					#header nav > ul > li a {
						display: inline-block;
						font-size: 0.95em;
						height: 2em;
						line-height: 2em;
						padding: 0 1em;
						border-radius: 6px;
					}

					#header nav > ul > li a:not(.button) {
						color: var(--color-negro);
						text-transform: uppercase;
						font-weight: 400;
						display: inline-block;
						text-decoration: none;
						border: 0;
					}

					#header nav > ul > li a.activo:not(.button) {
						font-weight: 800;
					}

						#header nav > ul > li a:not(.button).icon:before {
							color: #999;
							margin-right: 0.5em;
						}

					#header nav > ul > li:first-child {
						margin-left: 0;
					}

					#header nav > ul > li.active a:not(.button) {
						background-color: rgba(153, 153, 153, 0.25);
					}

					#header nav > ul > li .button {
						margin: 0 0 0 0.5em;
						position: relative;
					}

		#header input[type="submit"],
		#header input[type="reset"],
		#header input[type="button"],
		#header .button {
			background-color: transparent;
			box-shadow: inset 0 0 0 2px #999;
			color: #fff;
		}

			#header input[type="submit"]:hover,
			#header input[type="reset"]:hover,
			#header input[type="button"]:hover,
			#header .button:hover {
				background-color: rgba(153, 153, 153, 0.25);
			}

			#header input[type="submit"]:active,
			#header input[type="reset"]:active,
			#header input[type="button"]:active,
			#header .button:active {
				background-color: rgba(153, 153, 153, 0.5);
			}

		#header .container {
			position: relative;
		}

			#header .container h1 {
				left: 0;
			}

			#header .container nav {
				right: 0;
			}

		#header.reveal {
			-moz-animation: reveal-header 0.5s;
			-webkit-animation: reveal-header 0.5s;
			-ms-animation: reveal-header 0.5s;
			animation: reveal-header 0.5s;
		}

	#header.alt {
		-moz-animation: none;
		-webkit-animation: none;
		-ms-animation: none;
		animation: none;
		background: none;
		color: rgba(255, 255, 255, 0.75);
		position: relative;
	}

		#header.alt nav > ul > li a:not(.button).icon:before {
			color: rgba(255, 255, 255, 0.75);
		}

		#header.alt nav > ul > li.active a:not(.button) {
			background-color: rgba(255, 255, 255, 0.2);
		}

		#header.alt input[type="submit"],
		#header.alt input[type="reset"],
		#header.alt input[type="button"],
		#header.alt .button {
			box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
		}

			#header.alt input[type="submit"]:hover,
			#header.alt input[type="reset"]:hover,
			#header.alt input[type="button"]:hover,
			#header.alt .button:hover {
				background-color: rgba(255, 255, 255, 0.1);
			}

			#header.alt input[type="submit"]:active,
			#header.alt input[type="reset"]:active,
			#header.alt input[type="button"]:active,
			#header.alt .button:active {
				background-color: rgba(255, 255, 255, 0.2);
			}

.dropotron {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.065), inset 0 -1px 0 0 #fff, inset 0 0 0 1px rgba(229, 229, 229, 0.5);
	list-style: none;
	margin: calc(-0.5em + 1px) 0 0 1px;
	padding: 0.5em 0;
	width: 11em;
}

	.dropotron li {
		padding: 0;
	}

		.dropotron li a, .dropotron li span {
			-moz-transition: none;
			-webkit-transition: none;
			-ms-transition: none;
			transition: none;
			border: 0;
			border-top: solid 1px #f2f2f2;
			color: inherit;
			display: block;
			padding: 0.15em 1em;
		}

		.dropotron li:first-child > a, .dropotron li:first-child > span {
			border-top: 0;
		}

		.dropotron li.active > a, .dropotron li.active > span, .dropotron li:hover > a, .dropotron li:hover > span {
			background: #e89980;
			color: #ffffff;
		}

	.dropotron.level-0 {
		font-size: 0.9em;
		margin: 1em 0 0 0;
	}

		.dropotron.level-0:before {
			-moz-transform: rotate(45deg);
			-webkit-transform: rotate(45deg);
			-ms-transform: rotate(45deg);
			transform: rotate(45deg);
			background: #fff;
			border: solid 1px rgba(229, 229, 229, 0.5);
			border-bottom: 0;
			border-right: 0;
			box-shadow: -0.25em -0.125em 0.125em 0 rgba(0, 0, 0, 0.015);
			content: '';
			display: block;
			height: 0.75em;
			position: absolute;
			right: 1.25em;
			top: -0.375em;
			width: 0.75em;
			z-index: 0;
		}

	#navPanel, #navButton {
		display: none;
	}

	@media screen and (max-width: 1280px) {
		
		/* Header */

			.dropotron.level-0 {
				font-size: 1em;
			}

	}

	@media screen and (max-width: 840px) {

		/* Header */

			#header nav {
				display: none;
			}

		/* Nav */

			#page-wrapper {
				-moz-backface-visibility: hidden;
				-webkit-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				padding-bottom: 1px;
			}

			#navButton {
				-moz-backface-visibility: hidden;
				-webkit-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				display: block;
				position: absolute;
				top: 2em;
				right: 0;
				width: 3.5em;
				height: 3.5em;
				z-index: 10001;
			}

				#navButton .toggle {
					position: absolute;
					text-decoration: none;
					width: 100%;
					height: 100%;
					top: 0;
					right: 0;
					border: 0;
					outline: 0;
				}

					#navButton .toggle: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;
					}

					#navButton .toggle:before {
						color: var(--color-negro);
						opacity: 1;
						content: '\f0c9';
						display: block;
						font-size: 2em;
						top: 0;
						right: 0;
						line-height: 1.75em;
						position: absolute;
						text-align: center;
						width: 1.75em;
					}

					#navButton:hover .toggle:before {
						opacity: 0.6;
					}

			#navPanel {
				-moz-backface-visibility: hidden;
				-webkit-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				-moz-transform: translateX(275px);
				-webkit-transform: translateX(275px);
				-ms-transform: translateX(275px);
				transform: translateX(275px);
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				display: block;
				height: 100%;
				right: 0;
				overflow-y: auto;
				position: fixed;
				top: 0;
				width: 275px;
				z-index: 10002;
				background: var(--color-negro-claro);
				color: #ffffff;
			}

				#navPanel .link {
					border-bottom: 0;
					border-top: solid 1px rgba(255, 255, 255, 0.05);
					color: #bbb;
					display: block;
					height: 44px;
					line-height: 44px;
					padding: 0 1em 0 1em;
					text-decoration: none;
				}

					#navPanel .link:first-child {
						border-top: 0;
					}

					#navPanel .link.depth-0 {
						color: #fff;
					}

					#navPanel .link .indent-1 {
						display: inline-block;
						width: 1em;
					}

					#navPanel .link .indent-2 {
						display: inline-block;
						width: 2em;
					}

					#navPanel .link .indent-3 {
						display: inline-block;
						width: 3em;
					}

					#navPanel .link .indent-4 {
						display: inline-block;
						width: 4em;
					}

					#navPanel .link .indent-5 {
						display: inline-block;
						width: 5em;
					}

			body.navPanel-visible #page-wrapper {
				-moz-transform: translateX(-275px);
				-webkit-transform: translateX(-275px);
				-ms-transform: translateX(-275px);
				transform: translateX(-275px);
			}
		
			body.navPanel-visible #navPanel {
				-moz-transform: translateX(0);
				-webkit-transform: translateX(0);
				-ms-transform: translateX(0);
				transform: translateX(0);
			}
	}