/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 4px solid rgba(0,0,0,0.15);
    margin: 1rem 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Icons font
   ========================================================================== */

@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot?c1vi8');
	src:url('fonts/icomoon.eot?c1vi8#iefix') format('embedded-opentype'),
		url('fonts/icomoon.ttf?c1vi8') format('truetype'),
		url('fonts/icomoon.woff?c1vi8') format('woff'),
		url('fonts/icomoon.svg?c1vi8#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"], #nav_wheel .menu-item, a#read_on span {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-qm-left:before {
	content: "\e907";
}
.icon-qm-right:before {
	content: "\e908";
}
.icon-nav_wheel_community:before, #menu-item-16:before {
	content: "\e903";
}
.icon-nav_wheel_economy:before, #menu-item-17:before {
	content: "\e904";
}
.icon-nav_wheel_food:before, #menu-item-18:before {
	content: "\e905";
}
.icon-nav_wheel_introduction:before, #menu-item-15:before {
	content: "\e906";
}

.icon-close:before {
	content: "\e117";
}
.icon-menu:before {
	content: "\e120";
}
.icon-fb:before {
	content: "\e900";
}
.icon-tw:before {
	content: "\e901";
}
.icon-wp:before {
	content: "\e902";
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
	overflow: hidden;
	height: 100%;
	background: #888;
}

aside {
	width: 320px;
	position: absolute;
	right: -320px;
	height: 100%;
	padding: 0;
	box-sizing: border-box;
	transition: right .25s ease;
}
aside.asideOn {
	right: 0px;
}
	aside #admin_link {
		font-size: 24px;
		line-height: 22px;
		color: #666;
		position: absolute;
		bottom: 0.5rem;
		right: 0.5rem;
		text-decoration: none;
		border-radius: 50%;
	}
	aside #admin_link:hover {
		color: #21759b;
		background: #fff;
	}
	aside #admin_link:after {
		content: "Admin";
		font-family: open-sans;
		font-size: 12px;
		line-height: 22px;
		font-weight: 600;
		background: none;
		position: absolute;
		right: 30px;
		text-decoration: underline;
	}
	aside #admin_link:hover:after {
		color: #333;
	}

	aside nav #lang_select {
		margin-left: 1.5rem;
	}
	aside nav .widget_sidebar {
		margin: 0.5rem 0 4rem;
	}
	aside nav h4 {
		font-family: felt-tip-senior;
		font-size: 32px;
		color: #000;
		margin: 0 0 0.3rem;
		text-align: center;
	}
	aside nav #nav_wheel {
		background: url('../img/graphics/nav_wheel_frame.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center bottom;
		width: 230px;
		height: 230px;
		margin: 0 auto;
		padding-top: 5rem;
		box-sizing:border-box;
		position: relative;
	}
	
	
	aside nav #nav_wheel .current-menu-item a:hover {
		cursor: default;
	}
	aside nav #nav_wheel .menu-item {
		display: block;
		width: 84px;
		height: 84px;
		position: absolute;
		font-size: 84px;
		border-radius: 42px;
		color: #000;
	}
	aside nav #nav_wheel .menu-item.current-menu-item {
		color: #d5d5d5;
	}
	aside nav #nav_wheel .menu-item a {
		display: block;
		width: 84px;
		height: 84px;
		color: transparent;
		font-size: 2px;
		position: absolute;
		top: 0; left: 0;
		border-radius: 42px;
	}
	aside nav #nav_wheel .menu-item:hover {
		color: #fff;
	}
	aside nav #nav_wheel .menu-item.current-menu-item:hover {
		color: #d5d5d5;
	}
	aside nav #nav_wheel .menu-item#menu-item-15 {
		bottom: 146px;
		left: 19px;
	}
	aside nav #nav_wheel .menu-item#menu-item-16 {
		bottom: 130px;
		right: 2px;
	}	
	aside nav #nav_wheel .menu-item#menu-item-18 {
		bottom: 3px;
		right: 19px;
	}
	aside nav #nav_wheel .menu-item#menu-item-17 {
		bottom: 20px;
		left: 3px;
	}

	aside nav #wheel_label {
		display: block;
		font-family: felt-tip-senior;
		font-size: 50px;
		text-align: center;
		text-transform: capitalize;
		color: #fff;
		transform: rotate(6deg);
	}
	aside nav #wheel_label.current {
		color: #d5d5d5;
	}

main {
	width: 100%;
	height: 100%;
	overflow: auto;
	background: url('../img/graphics/concrete_seamless.png') #DBDBDB;
	transition: margin-left .25s ease;
	box-shadow: 0 0 12px rgba(0,0,0,0.7);
	position: relative;
}
main.asideOn {
	margin-left: -320px;
}
main.noScroll {
	overflow: hidden;
}
p.error {
	text-align: center;
	padding: 3rem;
}
.DClogo {
	margin-top: 2rem;
}
main #about_box {
	visibility: hidden;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(0,0,0,0.75);
	z-index: 1000;
	padding: 0 1rem;
	overflow: auto;
}
main #about_box.show_about_box {
	visibility: visible;
}
	#about_box #about_box_canvas {
		max-width: 780px;
		background: url('../img/graphics/linedpaper.png') #ededed;
		margin: 0 auto;
		box-shadow: 1px 4px 8px rgba(0,0,0,0.6), 0 -20px 20px -20px rgba(0,0,0,0.4) inset, 0 20px 20px -20px rgba(0,0,0,0.4) inset;
		position: relative;
		color: #333;
		padding: 0.8rem 2rem 1.5rem;
		box-sizing: border-box;
	}
	#about_box .about_box_close {
		display: block;
		width: 45px;
		height: 45px;
		border-radius: 23px;
		background-color: rgba(0,0,0,0.35);
		color: #ddd;
		font-family: icomoon;
		font-size: 26px;
		line-height: 45px;
		text-align: center;
		text-decoration: none;
		outline: none;
		position: fixed;
		z-index: 1000;
		top: 0.7rem;
		right: 1.5rem;
	}
	#about_box .about_box_close:hover {
		background-color: rgba(0,0,0,0.7);
		color: #fff;
	}
	@media screen and (min-width:700px) {
		main #about_box {
			padding: 0 4rem;
		}
		#about_box #about_box_canvas {
			padding-left: 1rem;
			-o-transform: translateX(45px);
			-ms-transform: translateX(45px);
			-moz-transform: translateX(45px);
			-webkit-transform: translateX(45px);
			transform: translateX(45px);
		}
		#about_box #about_box_canvas:before {
			content: "";
			display: block;
			position: absolute;
			top: 0; left: -91px; bottom: 0;
			height: 100%;
			width: 91px;
			background: url('../img/graphics/linedpaper_holes.png');
			box-shadow: 0 -20px 20px -20px rgba(0,0,0,0.4) inset, 0 20px 20px -20px rgba(0,0,0,0.4) inset;
		}
		#about_box .about_box_close {
			right: 0.7rem;
		}
	}
	#about_box_canvas h4 {
		font-family: felt-tip-senior;
		font-size: 60px;
		line-height: 50px;
		color: #333;
		margin: 57px 0 18px;
	}
	#about_box_canvas h4:first-of-type {
		margin-top: 11px;
	}
	#about_box_canvas p {
		font-family: chaparral-pro;
		font-size: 21px;
		line-height: 25px;
		margin: 0 0 25px;
	}

header {
	position: relative;
	width: 100%;
	height: 800px;
	border-bottom: 5px solid #BA5045;
	background-color: #9C9C9C;
	overflow: hidden;
}
	header #header_bg {
		position: absolute;
		top: 0; right: 0; left: 0;
		height: 100%;
		z-index: 5;
		background-position: center top;
		background-repeat: no-repeat;
	}
	@media screen and (min-width: 1801px) {
		header #header_bg {
			-webkit-background-size: cover;
			-moz-background-size: cover;
			-ms-background-size: cover;
			-o-background-size: cover;
			background-size: cover;
		}
	}
	
	header #topbar {
		height: 100px;
		background: url('../img/graphics/aguayo_green.png') #163B37;
		background-size: 200px;
		border-bottom: 1px solid #000;
		padding-top: 1rem;
		position: relative;
		z-index: 10;
		
		box-sizing: border-box;
	}
	header #DClogo {
		margin: 20px;
		opacity: 0.85;
	}
	header h1, header h2, .tagline {
		font-family: felt-tip-senior;
		font-weight: 400;
		color: rgba(255,255,255,0.85);
		margin: 0;
	}
	header h1 {
		font-size: 50px;
		line-height: 40px;
		padding-left: 1.5rem;
		padding-right: 4rem;
	}
	header h1 a#info_link {
		display: inline-block;
		color: rgba(255,255,255,0.85);
		font-family: Georgia;
		font-style: italic;
		font-weight: 700;
		font-size: 24px;
		line-height: 38px;
		text-align: center;
		text-decoration: none;
		width: 36px;
		height: 36px;
		background-color: rgba(0,0,0,0.35);
		border-radius: 17px;
		margin-left: 0.8rem;
		position: relative;
		transition: background-color .15s ease;
	}
	header h1 a#info_link:hover {
		color: rgba(255,255,255,1);
		background-color: rgba(0,0,0,0.6);
	}
	header .tagline { display: none; }
	@media screen and (min-width: 645px) {
		header h1 {
			line-height: 70px;
		}
	}
	@media screen and (min-width: 840px) {
		header h1 {
			line-height: 40px;
		}
		header .tagline {
			display: inline-block;
			font-size: 26px;
			line-height: 26px;
			margin-top: 0.1rem;
			margin-left: 1rem;
			padding: 0.2rem 0.5rem 0;
			background: url('../img/graphics/tagline_border_new.png') no-repeat;
			background-size: contain;
		}
	}

	header h2 {
		height: 200px;
		font-size: 60px;
		line-height: 54px;
		background: url('../img/graphics/aguayo_flip.png');
		background-size: contain;
		background-repeat: repeat-x;
		position: absolute;
		left: 0; right: 0; bottom: 0;
		padding-left: 2rem;
		padding-top: 1rem;
		padding-right: 4rem;
		box-sizing: border-box;
		z-index: 10;
	}
	header h2.title_community, header h2.title_comunidad {
		font-size: 50px;
		line-height: 46px;
	}
	header h2 .generic_title {
		display: block;
		font-size: 52px;
		line-height: 52px;
		margin-bottom: 0.4rem;
		text-transform: uppercase;
	}
	header h2 .generic_title:after {
		content: ":";
	}
	header #arrow_scroll {
		display: block;
		font-family: felt-tip-senior;
		font-size: 28px;
		line-height: 12px;
		text-decoration: none;
		color: rgba(255,255,255,0.75);
		outline: none;
		position: absolute;
		bottom: 1.2rem;
		right: 1.2rem;
		transition: color .15s ease;
		z-index: 20;
	}
	header #arrow_scroll #scroll_label {
			display: none;
		}
	@media screen and (min-width:650px) {
		header #arrow_scroll #scroll_label {
			display: inline;
		}
		header h2.title_community, header h2.title_comunidad {
			padding-right: 20%;
		}
	}
	@media screen and (min-width:850px) {
		header h2 {
			font-size: 8vw;
			line-height: 120px;
		}
		header h2.title_community, header h2.title_comunidad {
			font-size: 6vw;
			line-height: 5.5vw;
			padding-right: 30%;			
		}
	}
	@media screen and (min-width:1200px) {
		header h2 {
			font-size: 110px;
		}
		header h2.title_community, header h2.title_comunidad {
			font-size: 72px;
			line-height: 60px;
			padding-right: 50%;
		}	
	}
	header #arrow_scroll img {
		margin-top: -18px;
		margin-left: -16px;
		opacity: 0.8;
		transition: opacity .15s ease;
	}
	header #arrow_scroll:hover {
		color: rgba(255,255,255,1);
	}
	header #arrow_scroll:hover img {
		opacity: 1;
	}

a#asideTgr {
	display: block;
	width: 45px;
	height: 45px;
	border-radius: 23px;
	font-size: 30px;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	color: rgba(255,255,255,0.75);
	background-color: rgba(0,0,0,0.35);
	outline: none;
	position: fixed;
	z-index: 1000;
	top: 0.7rem;
	right: 0.7rem;
	transition: background-color .15s ease;
}
a#asideTgr:hover {
	background-color: rgba(0,0,0,0.6);
	color: rgba(255,255,255,0.9);
}

main p a, main figcaption a {
	color: #B03620;
	text-decoration: underline;
}
main p a:visited, main figcaption a:visited {
	color: #9A2E1B;
}
main p a:hover, main figcaption a:hover {
	color: #CF3F25;
}

article {
	padding: 2rem 1rem 3rem;
	max-width: 620px;
	box-sizing: border-box;
	margin: 0 auto;
}
	article h3 {
		font-family: felt-tip-senior;
		font-size: 66px;
		line-height: 60px;
		font-weight: 700;
		color: rgba(176,54,32,0.80);
		text-shadow: 1px 1px 2px #ececec,
						 0 0 0 #000;
		margin-top: 12rem;
		margin-bottom: 3rem;
	}
	article h3:before {
		content: "";
		height: 90px;
		background: url('../img/graphics/aguayo_divider.png');
		background-size: contain;
		position: absolute;
		left: 0; right: 0;
		margin-top: -100px;
	}
	article p, article blockquote {
		font-family: chaparral-pro;
		line-height: 29px;
	}
	article p {
		font-size: 22px;
		color: #333;
	}
	article blockquote {
		font-size: 23px;	
		font-style: italic;
		color: #555;
		position: relative;
		margin: 2.2rem auto 3.5rem;
		padding: 0 3rem;
	}
	article blockquote .quoteby {
		display: block;
		font-size: 21px;
		color: #777;
		position: absolute;
		right: 6rem;
		bottom: 0.4rem;
	}
		article blockquote:before, blockquote:after {
			font-family: icomoon;
			font-size: 40px;
			line-height: 40px;
			margin: 0;
			font-style: normal !important;
			color: rgba(200,200,200,0.7);
			text-shadow: 1px 1px 2px #ECECEC, 0 0 0 rgba(0,0,0,0.7);
			display: block;
		}
		article blockquote:before {
			content: "\e907";
			margin-bottom: -1.1rem;
		}
		article blockquote:after {
			content: "\e908";
			text-align: right;
			margin-top: -1.2rem;
		}
	article > p:first-of-type:first-letter {
		font-family: felt-tip-senior;
		float: left;
		font-size: 125px;
		line-height: 0.7em;
		padding: 0 0.1em 0 0.05em;
		color: rgba(176,54,32,0.80);
		text-shadow: 1px 1px 2px #ececec,
						 0 0 0 #000;
	}

figure {
	width: auto;
	max-width: 450px;
	margin: 0.5rem auto 1rem;
	position: relative;
}
@media screen and (min-width: 930px) {
	figure {
		float: right;
		margin-left: 1.5rem;
		margin-right: -30%;
	}
}
@media screen and (min-width: 1150px) {
	figure {
		max-width: 570px;
		margin-right: -50%;
	}
}
figure .close { display: none; }
figure img {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 480px;
	border: 10px solid #fdfdfd;
	border-radius: 2px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.25);
}
figure img:hover {
	cursor: -moz-zoom-in; 
   cursor: -webkit-zoom-in; 
   cursor: zoom-in;
}
/*figure:not(.lightbox):hover:before {
	display: block;
	width: 40px;
	height: 40px;
	content: "\e112";
	font-family: icomoon;
	font-size: 24px;
	line-height: 40px;
	text-align: center;
	background: rgba(0,0,0,0.4);
	color: rgba(255,255,255,0.9);
	border-radius: 50%;
	position: absolute;
	top: 1rem; right: -0.2rem;
}*/
figure figcaption {
	font-family: open-sans;
	font-size: 14px;
	line-height: 20px;
	font-style: normal;
	color: #666;
	margin-top: 0.5rem;
}
figure figcaption .photo_by {
	font-weight: bold;
	color: #888;
}
figure.lightbox {
	position: fixed;
	max-width: 100%;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 5000;
	margin: 0;
	background: rgba(0,0,0,0.9);
	overflow:hidden;
	float: none;
}
figure.lightbox img {
	display: block;
	width: auto;
	height: auto !important;
	max-width: calc(100% - 2rem);
	max-height: calc(100% - 2rem);
	margin: 1rem auto;
	box-shadow: 0 2px 12px rgba(0,0,0,0.8);
	border-radius: 0;
	border: none;
}
figure.lightbox img:hover {
	cursor: -moz-zoom-out; 
   cursor: -webkit-zoom-out; 
   cursor: zoom-out;
}
figure.lightbox figcaption { display: none; }
@media screen and (min-width: 900px) {
	figure.lightbox img {
		max-width: calc(100% - 340px);
		-o-transform: translateX(-155px);
		-ms-transform: translateX(-155px);
		-moz-transform: translateX(-155px);
		-webkit-transform: translateX(-155px);
		transform: translateX(-155px);
		position: relative;
		z-index: 6000;
	}
	figure.lightbox:before {
		content:"";
		display: block;
		width: 60px;
		height: 60px;
		background: url('../img/graphics/img-loader.gif');
		background-size: contain;
		position: absolute;
		z-index: 5500;
		top: 5rem;
		left: 50%;
		-o-transform: translateX(-185px);
		-ms-transform: translateX(-185px);
		-moz-transform: translateX(-185px);
		-webkit-transform: translateX(-185px);
		transform: translateX(-185px);
	}
	figure.lightbox figcaption {
		display: block;
		width: 320px;
		position: absolute;
		top: 5rem;
		right: 0;
		padding: 1rem;
		box-sizing: border-box;
		color: #bbb;
	}
	figure.lightbox figcaption a {
		color: #eee;
	}
	figure.lightbox figcaption .photo_by {
		display: block;
		margin-top: 0.5rem;
	}
	figure.lightbox .close {
		display: block;
		width: 45px;
		height: 45px;
		line-height: 45px;
		text-align: center;
		font-family: icomoon !important;
		font-size: 26px;
		background: rgba(255,255,255,0.2);
		color: #bbb;
		border-radius: 23px;
		position: absolute;
		top: 0.7rem; right: 0.7rem;
		transition: all .15s ease;
	}
	figure.lightbox .close:hover {
		cursor: pointer;
		color: #ddd;
		background: rgba(255,255,255,0.35);
	}
}

footer {
	min-height: 400px;
	background: rgba(0,0,0,0.25);
	border-top: 5px solid #BA5045;
	padding: 1rem 2rem 3rem;
}
	footer h4 {
		max-width: 680px;
		font-family: felt-tip-senior;
		font-size: 52px;
		line-height: 52px;
		color: #333;
		margin: 0.5rem auto;
	}
	footer p {
		max-width: 680px;
		font-family: chaparral-pro;
		font-size: 20px;
		line-height: 26px;
		color: #333;
		margin: 0.5rem auto 1rem;
	}
	footer a#read_on {
		display: inline-block;
		height: 94px;
		font-family: felt-tip-senior;
		font-size: 40px;
		line-height: 84px;
		color: rgba(255,255,255,0.9);
		text-decoration: none;
		background-color: rgba(176,54,32,0.85);
		border-radius: 50px;
		padding: 5px 1.5rem 0 5px;
		box-sizing: border-box;
		margin: 1rem auto 0;
	}
	footer a#read_on:hover {
		background-color: rgba(176,54,32,0.95);
		box-shadow: 0 1px 5px rgba(0,0,0,0.3);
		color: rgba(255,255,255,1);
	}
	footer a#read_on span {
		font-size: 84px;
		margin-right: 1rem;
		float: left;
	}
	footer hr {
		margin: 3rem auto;
		max-width: 580px;
	}






/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 910px) {
	article {
		margin-left: 9rem;
	}
	article h3 {
		margin-right: -150px;
	}
}
@media only screen and (min-width: 1200px) {
	article h3 {
		margin-right: -220px;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.aligncenter {
	display: block;
	margin: 0 auto;
}

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}