/********** Start RESET **********
	AUTHOR: Osvaldas Valutis, www.osvaldas.info
*/
@import url('https://fonts.googleapis.com/css?family=Varela+Round');

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
 *behavior: url( '/theme/js/boxsizing.htc' );
	-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
	-webkit-overflow-scrolling: touch;
}
html, body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sup, sub, tt, var, b, u, i, center, ul, ol, li, dl, dt, dd, table, tr, th, td, thead, tbody, tfoot, caption, form, fieldset, legend, input, textarea, select, label, applet, object, iframe, audio, video, canvas, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	font-size: 100%;
	font-family: inherit;
	font-weight: inherit;
	font-style: inherit;
	line-height: inherit;
	vertical-align: baseline;
	border: 0;
	outline: 0;
	padding: 0;
	margin: 0;
}
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	font-family: 'Varela Round', sans-serif;
	line-height: 1;
	color: #000;
	background-color: #fff;
}
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display: block;
}
audio, canvas, video {
	display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
	display: none;
}
canvas {
	-ms-touch-action: double-tap-zoom;
}
 [hidden] {
display: none;
}
a {
	text-decoration: underline;
	color: #D75A0F;
}
a:hover {
	text-decoration: none;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
sup, sub {
	font-size: 75%;
	line-height: 0;
}
sup {
	vertical-align: super;
}
sub {
	vertical-align: sub;
}
pre {
	display: block;
	overflow: auto;
}
code {
	font-family: 'Courier New', Courier, monospace;
}
ul, ol {
	list-style: none;
}
table {
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0;
	empty-cells: hide;
}
img {
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
}
svg:not(:root) {
	overflow: hidden;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
input, textarea {
	-webkit-appearance: none;
}
button, input, select, textarea {
	vertical-align: baseline;
*vertical-align: middle;
	-webkit-border-radius: 0;
}
button, input {
	line-height: normal;
*overflow: visible;
}
table button, table input {
*overflow: auto;
}
button, input[type='button'], input[type='reset'], input[type='submit'] {
	cursor: pointer;
	-webkit-appearance: button;
}
textarea {
	overflow: auto;
	vertical-align: top;
}
input[type='search']::-webkit-search-decoration, input[type='search']::-webkit-search-cancel-button, input[type='search']::-webkit-search-results-button, input[type='search']::-webkit-search-results-decoration {
display: none;
}
input[type='search'] {
	-webkit-appearance: textfield;
}
input[type='radio'] {
	-webkit-appearance: radio;
}
input[type='checkbox'] {
	-webkit-appearance: checkbox;
}
input::-ms-clear {
display: none;
}
input[type='password']::-ms-reveal {
display: none;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .clearfix {
	zoom: 1;
}
*:first-child+html .clearfix {
	zoom: 1;
}
.cleaner {
	height: 0;
	line-height: 0;
	clear: both;
}

/********** End RESET **********/



html {
	font-size: 100%;
}
body {
	
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	background-color: #FFFFFF;
	padding: 1.25em; /* 20 */
	color: #000;
}
body, a, a:hover {
	color: #111;
}
a {
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}
a, a:hover {
	text-decoration: none;
}

 

#nav {
	/* 1000 */
	font-weight: 300;
	position: absolute;
	top: 0px;
	right: 0em;
	margin-right: 0em;
	width: 40%; /* 30 480 */
	height: 40px;
	/*background-color: #382517;*/
	z-index: 10;
	
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
}
#nav li a {
	color: #D75A0F;
	display: block;
}
#nav li a:active {
	background-color: #000 !important;
}
#nav span:after {
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #DF5D10;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}
/* first level */

#nav > ul {
	height: 40px;
	width: 100%;
	z-index: 10;
	right: 0em;
	top: 0em;
}
#nav > ul > li {
	width: 20%;
	height: 100%;
	float: left;
	padding-top: 5px;
	margin-top: 5px;
}
#nav > ul > li.mas {
	width: 24%;	
	
}
#nav > ul > li.menos10 {
	width: 8%;	
	
}
#nav > ul > li.intermedio16 {
	width: 17%;	
	
}
#nav > ul > li > a {
	height: 100%;
	font-size: 17px; /* 24 */
	line-height: 2em; /* 60 (24) */
	text-align: center;
	padding-top: 0px;
	position: relative;
       
        
        
}
#nav > ul > li > a:after {
	/*height: 100%;
	font-size: 17px;  24 */
	/*line-height: 2em;  60 (24) */
	/*text-align: center;
	padding-top: 5px;
	position: relative;
        font-weight:bold;
        color:#0E83CD;
        margin: 0px 15px;*/
		
	position: absolute;
	bottom: 15px;
	left: 0px;
	width: 100%;
	height: 4px;
	background-color: #D75A0F;
	content: "";
	opacity: 0;
	transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
	transform: translateY(25px);		
		
}
#nav > ul > li >  a:hover:after{
        opacity:1;
        transform: translateY(15px)  
		
		
}

#nav > ul > li:not( :last-child ) > a {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #D75A0F;
}


    
#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a {
	background-color: #FFFFFF;
}
/* second level */

#nav li ul {
	background-color: #D1692A;
	display: none;
	position: absolute;
	top: 100%;
	width: 200px;
}
#nav li:hover ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul {
	left: -1px;
}
#nav li ul a {
	font-size: 16px;
	padding: 0.75em; /* 15 (20) */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D75A0F;
	color: #FFF;
}
#nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
	background-color: #F49F6C;
}

@media only screen and (max-width:1440px) {
	
	#nav {z-index: 10;width:50%;
		
}
/*primer nivel*/
	#nav > ul {z-index: 100;}
	#nav > ul > li {width: 20%;}
	#nav > ul > li.mas {width: 28%;}
	#nav > ul > li.intermedio16 {width: 18%;}
	#nav li ul {z-index: 100;}
	#nav > ul > li > a  {font-size: 14px; /* 24 */}
	#nav li ul a {font-size: 14px;}

}




@media only screen and (max-width: 1024px) {
	
	#nav {z-index: 10;width:50%;
		
}
/*primer nivel*/
	#nav > ul {z-index: 100;}
	#nav > ul > li {width: 20%;}
	#nav > ul > li.mas {width: 28%;}
	#nav > ul > li.intermedio16 {width: 18%;}
	#nav li ul {z-index: 100;}
	#nav > ul > li > a  {font-size: 14px; /* 24 */}
	#nav li ul a {font-size: 14px;}

}




@media only screen and (max-width: 840px) {
html {
	font-size: 75%; /* 12 */
}
#nav {
	position: absolute;
	top: 5%;
	right: 1%;
	
	height: 40px; /* 50 */
	width: 100%;
	z-index: 100;
				
}
#nav > a {
	width: 35px; /* 50 */
	height: 35px; /* 50 */
	text-align: left;
	background-color: #ffffff;
	position: absolute;
	right: 5px;
	font-size:14px;
}
#nav > a:before, #nav > a:after {
	position: absolute;
	font-size:14px;
	top: 35%;
	left: 25%;
	right: 25%;
	content: '';
}
#nav > a:after {
	top: 50%;
}
#nav:not( :target ) > a:first-of-type, #nav:target > a:last-of-type {
	display: block;
}
/* first level */

#nav > ul {
	height: auto;
	display: none;
	position: absolute;
	top:35px;
	right: 0px;
	width: 100%;
	float: ;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	z-index: 100;
	float: right;
}
#nav:target > ul {
	display: block;
	background-color: #FFFFFF;
	width: 30%;
}
#nav > ul > li {
	width: 100%;
	float: none;
}
#nav > ul > li.mas {
	width: 100%;
	float: none;
	
}
#nav > ul > li.intermedio16 {width: 100%;float: none;}
#nav > ul > li.menos10 {width: 100%;float: none;}
#nav > ul > li > a {
	height: auto;
	text-align: left;
	padding: 0 0.833em; /* 20 (24) */
	font-size:14px;
	
}
#nav > ul > li:not( :last-child ) > a {
	border-bottom-width: 1px;
	border-right-style: none;
	border-bottom-style: solid;
	border-bottom-color: #D75A0F;
}
/* second level */

#nav li ul {
	position: static;
	/*padding: 1.25em;  20 */
	padding-top: 0;
	width: 100%;
	margin-left: 10px;
}
#nav li ul a {
	font-size: 13px;
	padding: 0.80em; /* 15 (20) */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #fff;
}	
#nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
	height: 100%;
	background-color: #F17C36;
}
	
}

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

#nav:target > ul {
	display: block;
	background-color: #FFFFFF;
	width: 40%;
}

	
}
@media only screen and (max-width: 380px) {

#nav:target > ul {
	display: block;
	background-color: #FFFFFF;
	width: 50%;
}

	
}
