@import url('button.css');
@import url('slider.css');
@import url('works.css');
@import url('fonts.css');
/* RESET */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, form, label, legend, table, caption, tbody, tr, th, td, article, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, section, time, mark, audio, video { padding: 0; border: 0; vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q {	quotes: none; }
blockquote:before, blockquote:after { content: ''; content: none; }
table {	border-collapse: collapse; border-spacing: 0; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
:hover, :focus, :active { outline: none; }
html, button, input, select, textarea {
	font-family: "Open sans", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	font-weight: 400; /* normal */
	color: #555; 
	font-smooth:always;
	/*-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;*/
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
	font-size: 100%; 
	-webkit-text-size-adjust: 100%; 
	-ms-text-size-adjust: 100%; 
	-moz-text-size-adjust: 100%; }
body { margin: 0; font-size: 14px; letter-spacing: 0.05rem; line-height: 1.6; width:100%; background:url(../imgs/portada.jpg); background-size:100%; }
a { color: #0078CF; font-weight: normal; cursor: pointer;  text-decoration: none; transition:color 0.2s ease; -moz-transition:color 0.2s ease; -webkit-transition:color 0.2s ease; -o-transition:color 0.2s ease;}
a:hover { color: #2a2a2a; text-decoration: none; /*background: rgba(0, 0, 0, .025);*/} 
::-moz-selection { background: #0078CF; color: #fff; text-shadow: none; }
::selection { background: #0078CF; color: #fff; text-shadow: none; }	
p{margin: 0 0 .5em; padding: 0px 18px;}
p:last-child {margin-bottom: 2em;}
a:visited{opacity:0.9;}
a:active, a:focus{position:relative;top:1px;}
hr{display:block; height:1px; border:0; border-top:1px solid #ddd; margin:1em 0; padding:0}
blockquote { margin: 1em 1em 1em 0; padding: 1em; border-left: 1px solid #DDD; font-style: italic; color: #999;}
blockquote p {font-size: 1.1em;line-height: 2em;margin-bottom: 0;}
blockquote small {display: block;font-size: 1em;line-height: 1.6em;color: #bfbfbf; text-align: right;}
blockquote small:before {content: '\2014 \00A0';}
ul, ol{list-style:none; list-style-image:none; margin:0; padding:0;}
img{border:0; -ms-interpolation-mode:bicubic; vertical-align:middle}
figure{margin:0}
button, input, select, textarea{font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle}
button, input{line-height:normal; *overflow:visible}
table button, table input{*overflow:auto}
table{border-collapse:collapse; border-spacing:0}
td{vertical-align:top}
/* CONTAINER */
.container {width: 100%; margin: 0em auto; /*max-width: 1280px;*/ min-width: 300px;}
.grid-wrap { /*margin-left: -3em; */ overflow: hidden; *zoom:1;}
.grid-wrap:before, .grid-wrap:after{content:""; display:table}
.grid-wrap:after{clear:both}
.grid { float: left; /*padding-left: 3em;*/ width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; *behavior: url(/js/boxsizing.htc); }
/* HEADER */
/*header#navtop { margin-bottom: 0em; clear: both; overflow: hidden; padding: 2em 3em 0em 3em; background:#CCCCCC; }*/
header#navtop { margin-bottom: 0em; clear: both; overflow: hidden; padding: .5em 0em 0em 0em;/*background:url("../imgs/bg_header.jpg") repeat; *//*background:rgba(255,255,255,1);*/ position:fixed; width:100%; /*box-shadow:0px 0px 10px 1px rgba(0,0,0,0.1);*/ z-index:900; }
header nav ul { float: left; overflow: hidden; font-size: 13px; padding: 0rem 0em 0 0em; color: #FFF; line-height: 1.5em; border-right: 1px solid #FFF; /* background:#f1f1f1;*/ /*border-radius:16px; */}
header nav ul:last-child { border-right: 0px solid #FFF; }
header nav ul:hover {color: #3bb70b; background:#f6f6f6; /*border-radius: 16px; */}
nav a, menu a { text-decoration: none; color: #FFF; }
.navactive { color: ##0e0e0e; }
.logo { margin: -1em 1em 1em 1em; margin-bottom: 1em;}
.logo:hover {background: none;}
.main > section { margin-bottom: 0em; padding:0 4em; }
.main header{ color: #555; margin-bottom: 3em; }
.main header hr{border-top-color:#999;}
.arrow:after {content:" \27F6"; } 
header .arrow {color: #999; font-style: italic;}
.arrow:hover {color: #0078CF; }
.col-full {width: 100%; }
.col-un-medio {width: 50%; }
.col-un-tercio {width: 33.333%; }
.col-dos-tercios {width: 66.666%; }
.col-un-cuarto {width: 25%; }
.col-tres-cuartos {width: 75%; }
.col-un-quinto {/*width: 19.2%; margin:0 .35em;*/ width: 18.5%; margin: 0.54em; box-shadow:0px 0px 10px 1px rgba(0,0,0,0.1); }
.mright{ margin-right: 3em;}
.mleft{ margin-left: 3em;}
.mtop{ margin-top: 3em;}
.mbottom{ margin-bottom: 3em;}
.fright, .fleft{display:block; overflow:hidden}
.fright{float:right}
.fleft{float:left}
figure { max-height: 100%; overflow: hidden;}
figure figcaption { }
img { max-width: 100%; height: auto; width: auto; }
a img {
    -webkit-transition: opacity 1s ease;
    -moz-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
    transition: opacity 1s ease; }
a img:hover {}
h1,h2,h3,h4,h5,h6{margin:0 0 .2em; font-weight: normal; padding: 10px 18px; }
h1 {font-size: 4.1em; 
	letter-spacing: -0.075em; 
	text-transform: uppercase; 
	line-height: 0.9; 
	color: #555;
	margin: 0 0 0.5em; 
	font-weight: normal; }
h2 { font-size: 2.5em; margin: 0 0 10px; letter-spacing: -0.05em; color: #555; line-height: 1; }
h3 { font-size: 1.65em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1em; text-transform: uppercase; margin: 0; margin-top:12px; color: #FD771E; }
h6 { font-size: 1em; margin-bottom: 2px; font-weight: 700; }
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:#333; text-decoration: none;}
h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{color:#0078CF;text-decoration: underline;}
/* FOOTER */
footer  { color: #a3a3a3; padding-top: 2em; margin-bottom: 0em; padding:.5em 2em; }
footer nav ul { float: right; overflow: hidden; }
footer a {color: #999;}
footer a:hover {color: #666;}
footer li { float: left; margin-right: 1em; padding-right: 1em; border-right: 1px solid #DDD; font-size: 0.8em; }
footer li:last-child { margin-right: 0; padding-right: 0; border-right: none; }
.up a { display: block; text-align: center; margin: 0 auto; }
.main aside{margin-bottom: 3em}
.main aside menu{padding: 0 0 0 1em; line-height: 2em;}
.main aside menu a{color: #999;}
.main aside menu .buttonactive {color: #0078CF }
.main:not(.home-page) > section article h2 { margin-top: 1em; padding-top: 1em; border-top: 1px solid #DDD; }
.main:not(.home-page) > section article:first-child h2 { margin-top: 0;}
.center{ text-align: center; }
.lt-ie9 .container {min-width: 780px;}
.lt-ie8 .container {width: 960px;}
.lt-ie8 .grid-wrap {margin-left: 0; }
.lt-ie8 .grid {padding: 0;margin-left: 5%; }
.lt-ie8 .grid:first-child {margin-left: 0; }
.lt-ie8 .col-full {width: 99.95%; }
.lt-ie8 .col-full + .grid {margin-left: 0; }
.lt-ie8 .col-un-medio {width: 47.45%; }
.lt-ie8 .col-un-tercio {width: 29.55%; }
.lt-ie8 .col-dos-tercios {width: 64.95%; }
.lt-ie8 .col-un-cuarto {width: 19.95%; }
.lt-ie8 .col-tres-cuartos {width: 74.95%; }
.lt-ie8 .col-un-quinto {width: 14.95%; }
@media only screen and (min-width: 1024px) { 
.OpenMenu { display:none;}
}
@media only screen and (max-width: 1024px) { 
.OpenMenu { }
.col-un-quinto { width: 18%; }
}
@media only screen and (max-width: 60em) { /* 960 */
	.mq1-col-full {width: 100%; }
	.mq1-col-un-medio {width: 50%; }
	.mq1-col-un-tercio {width: 33.333%; }
	.mq1-col-dos-tercios {width: 66.666%; }
	.mq1-col-un-cuarto {width: 25%; }
	.mq1-col-tres-cuartos {width: 75%; }
	.mq1-col-un-quinto {width: 19%; }
	h1{font-size: 3.1em;}
	.slide figcaption{ width: 80%;}
	footer li { float: left; margin-right: 0.5em; padding-right: 0.5em; border-right: 1px solid #DDD;} 
}
@media only screen and (max-width: 48em) {  /* 768 */
	.mq2-col-full {width: 100%;}
	.mq2-col-un-medio {width: 50%; }
	.mq2-col-un-tercio { width: 33.333%; }
	.mq2-col-dos-tercios {width: 66.666%; }
	.mq2-col-un-cuarto {width: 25%; }
	.mq2-col-tres-cuartos {width: 75%; }
	.mq2-col-un-quinto {width: 19%; }
	header nav { width: 100%; }
	header nav ul {  padding: 2px 0; border-left:none; line-height: 2em; width:50% !important; border-bottom: 1px solid #b7e5a3; border-radius: 0px; }
	header nav ul:hover { border-radius: 0px; }
	header nav ul:last-child {  border-bottom: 0px solid #999999; margin-bottom:0em; border-bottom: 1px solid #b7e5a3; }
	header nav ul li { padding: 0 0.5em ; }
	.slider { margin-top: 3em; }
	.main > section { margin-bottom: 0em; padding:0 1em; }
	.logo { max-width: 150px;   margin-bottom: 0em; }
	.col-un-quinto { width: 19%; }
}
/*@media only screen and (max-width: 47em) { 
	.OpenMenu { display:block;}
}*/
@media only screen and (max-width: 30em) { /* 480px */
	.main header{ color: #555; margin-bottom: 0em; }
	.mq3-col-full { width: 100%; }
	.mq3-col-un-medio { width: 50%; }
	.mq3-col-un-tercio { width: 33.333%; }
	.mq3-col-dos-tercios { width: 66.666%; }
	.mq3-col-un-cuarto { width: 25%; }
	.mq3-col-tres-cuartos { width: 75%; } 
	.mq3-col-un-quinto {width: 19%; }
	.mq3-none {display: none;}
	footer li { float: none; margin-right: 0em; padding-right: 0em; border-right: none; line-height: 2em;}
	.services article {	margin-top: 2em;} .services article:first-of-type {	margin-top: 0;}	
	header nav { width: 100%; }
	header nav ul {  padding: 2px 0; border-left:none; line-height: 2em; width:50% !important; border-bottom: 1px solid #666666; }
	header nav ul:last-child {  border-bottom: 0px solid #666666; margin-bottom:0em; border-bottom: 1px solid #666666; }
	header nav ul li { padding: 0 0.5em ; }
	/*.OpenMenu { display:block;}*/
}
