/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */

/*
VERDE: #169183
LILA: #4e2459
GRIS OSCURO: #535353
GRIS CLARO: #e8ecea
*/

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
	margin: 0;
	padding: 0;
	border: 0;
 }

a:active,
a:hover {
	outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
	list-style: none;
}

.nav-collapse li {
	width: 100%;
	display: block;
}

.js .nav-collapse {
	clip: rect(0 0 0 0);
	max-height: 0;
	position: absolute;
	display: block;
	overflow: hidden;
	zoom: 1;
}

.nav-collapse.opened {
	max-height: 9999px;
}

.disable-pointer-events {
	pointer-events: none !important;
}

.nav-toggle {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
	z-index: 110;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	background:#fff;
}

section {
	width:100%;
	text-align:center;
	background-color:#CCC;
}

.margin-section {margin-top:53px}/*altura del header menos 2px*/

/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
	-webkit-transition: opacity 300ms;
	-moz-transition: opacity 300ms;
	transition: opacity 300ms;
	background: rgba(0,0,0, .5);
	visibility: hidden;
	position: fixed;
	opacity: 0;
	z-index: 2;
	bottom: 0;
	right: 0;
	left: 0;
	top: 0;
}

.android .mask {
	-webkit-transition: none;
	transition: none;
}

.js-nav-active .mask {
	visibility: visible;
	opacity: 1;
}

/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
}

.nav-collapse,
.nav-collapse * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
	list-style: none;
	width: 100%;
	float: left;
}

.nav-collapse li {
	float: left;
	width: auto; /*100%;*/
}

.nav-collapse a {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	/*border-top: 2px solid #e8ecea;*/ /*Lineas entre links*/
	text-decoration: none;
	background: #fff;/*Color de fondo de los links*/
	padding: 1em 1.5em;
	color: #74777b;/*Color del texto de los links*/
	width: 100%;
	float: left;
    font-family: 'Raleway-Medium';
	letter-spacing: 1.5px;
	font-size: 1em;
	text-align:left;
}

.nav-collapse a:hover,
.nav-collapse .hover a {
	background: #4e2459;/*Color de fondo del link activo*/
	color: #e8ecea;/*Color del texto de los links*/
}

.nav-collapse a:active,
.nav-collapse .active a {
	background: #4e2459;/*Color de fondo del link activo*/
	color: #fff;/*Color del texto de los links*/
}

.nav-collapse ul ul a {
	background: #ca3716;
	padding-left: 2em;
}





/*@media screen and (min-width: 40em) {*/
/* Mobil portrait*/ /*320x568px*/
@media only screen and (max-width: 400px) {/*320*/
.ajuste {
	height: 480px;
}

.nav-collapse a {
    /*border-bottom: 1px solid white;*//*border-left*/
    padding: 1.02em 2em;
    text-align: left;/*center*/
    border-top: 0;
    float: left;
    margin: 0;
}

.nav-collapse li {
	float: left;
	width: 100%; 
}
}



/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

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

.nav-toggle {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-decoration: none;
	text-indent: -300px;
	position: relative;
	overflow: hidden;
	width: 60px;
	height: 55px;
	float: left;/*right*/
}

.nav-toggle:before {
	color:#4e2459; /* Edit this to change the icon color */
	font: normal 28px/55px 'responsivenav'; /* Edit font-size (28px) to change the icon size */
	text-transform: none;
	text-align: center;
	position: absolute;
	content: '\2261'; /* Hamburger icon */
	text-indent: 0;
	speak: none;
	width: 100%;
	left: 0;
	top: 0;
}

.nav-toggle.active:before {
	font-size: 24px;
	content: '\78'; /* Close icon */
}