@import url("../webfonts/Mission_Gothic/stylesheet.css");
/* -------------------------------------------------------------
PORTFOLIO JOAN RIOS
http://www.joanrios.com/
Gracias a Sylvain Lafitte, autor Designa 2.01
Thanks to Sylvain Lafitte, author Designa 2.01 theme
/* -------------------------------------------------------------
======	RESET
------------------------------------------------------------- */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block}
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
:hover, :focus, :active { outline: none; }



html, button, input, select, textarea {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400; /* normal */
	color: #000;
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
	
	
	
	
	
	
	

body { margin: 0; font-size: 14px; line-height: 1.6; background: #FFF;}

a {
	color: #999;
	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: #555;
	text-decoration: underline;
	background: rgba(0, 0, 0, .025);
} 

::-moz-selection { background: #FF675C; color: #fff; text-shadow: none; } 
::selection { background: #FF675C; color: #fff; text-shadow: none; }	

p{margin: 0 0 1em;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;} /* ESTILO PÁRRAFOS */
p:last-child {
	margin-bottom: 0;
	color: #555;
	font-size: 14px;
	font-family: 'Montserrat', sans-serif;
}

a:visited{opacity:0.9;}
a:active, a:focus{
	position: relative;
	top: 1px;
	color: #999;
}
abbr[title]{border-bottom:1px dotted}
dfn{font-style:italic}
hr{display:block; height:1px; border:0; border-top:1px solid #ddd; margin:1em 0; padding:0}
pre, code, kbd, samp{font-family:monospace,monospace; _font-family:'courier new',monospace; font-size:1em}
q{quotes:none}
q:before, q:after{content:""; content:none}
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';}
b, strong{font-weight:700}
small{font-size:85%; color: #999;}
sub, sup{font-size:75%; line-height:0; position:relative; vertical-align:baseline}
sup{top:-0.5em}
sub{bottom:-0.25em}
dd{margin:0 0 0 40px} dt{font-weight: 700;}
ul, ol{list-style:none; list-style-image:none; margin:0; padding:0;}
img{border:0; -ms-interpolation-mode:bicubic; vertical-align:middle}
svg:not(:root){overflow:hidden}
figure{margin:0}
form{margin:0}
fieldset{border:0; margin:0; padding:0}
label{cursor:pointer}
legend{border:0; *margin-left:-7px; padding:0;white-space: normal;}
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}
button, input[type="button"], input[type="reset"], input[type="submit"]{cursor:pointer; -webkit-appearance:button}
input[type="checkbox"], input[type="radio"]{box-sizing:border-box}
input[type="search"]{-webkit-appearance:textfield; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box}
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner, input::-moz-focus-inner{border:0; padding:0}
textarea{overflow:auto; vertical-align:top; resize:vertical}
table{border-collapse:collapse; border-spacing:0}
td{vertical-align:top}
.chromeframe { margin: 1em 0; background: red; color: black; padding: 1em; }



/* -------------------------------------------------------------
======	ESTILOS
------------------------------------------------------------- */

/* -- FORMS 
------------------------------------------------------------- */
form{margin-top: 2em;}
form li{margin-bottom: 1.5em;}
label{display: block; margin-bottom:1em; font-weight: 700;}
input, select, textarea {
	border: 1px solid #DDD;
	color: #777;
	font-size: 1em;
	padding: 1em;
	width:60%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	*behavior: url(/js/boxsizing.htc); }
textarea{padding: 1em; min-height:15em; height: auto; width: 100%; }
input, textarea {
 -moz-transition: border .25s;
 -webkit-transition: border .25s;
 -o-transition: border .25s;
 transition: border .25s;}
input:hover, textarea:hover, input:focus, textarea:focus,input:active, textarea:active { border: 1px solid #999;}
input[type="text"],textarea{cursor: text;}
input[type="radio"], input[type="checkbox"] { display: inline; width:auto; height: auto; margin-right: 1em; }
input[type="checkbox"] + label, input[type="radio"] + label { display: inline;}
input[type="file"]{ border: none;}
input[type="date"]{ width: auto;}
select {height: auto;}
/* Placeholders */
::-webkit-input-placeholder { color: #BBB;}
:-moz-placeholder {color: #BBB;}
:-ms-input-placeholder {color: #BBB;}
/* validate.js */
label.error { color: #FF675C; margin: 0.5em 0 0 0.5em; font-weight: normal; font-style: italic; }



/* -- BOTYONERA Y BOTONES
------------------------------------------------------------- */
.button, input[type="submit"], button, .toggle-title {
	color: #555;
	font-size: 1.1em;
	font-weight: normal;
	padding: 0.6em 1.2em;
	text-shadow: 0 1px 0 #fff;
	border: solid 1px #ddd;
	text-decoration: none;
	cursor: pointer;
	
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top,  #f6f6f6 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f6f6f6 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f6f6f6 0%,#efefef 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f6f6f6 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f6f6f6 0%,#efefef 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
		
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	
	-webkit-transition: 0.1s linear all;
	-moz-transition: 0.1s linear all;
	-ms-transition: 0.1s linear all;
	-o-transition: 0.1s linear all;
	transition: 0.1s linear all; }
.button:hover, input[type="submit"]:hover, button:hover, .toggle-title:hover {
	color: #555;
	text-decoration: none;
	border-color: #BBB;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	background: 0 100%;}
.button:focus, input[type="submit"]:focus, button:focus, .toggle-title:focus {
	color: #333;
	border-color: #BBB;}
.button:active, input[type="submit"]:active, button:active, .toggle-title:active {
	color: #000;
	background: #FF675C;
	border-color: #FF675C;
	position: relative; top:1px;}



/* -- TIPOS
------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6{margin:0 0 1em; font-weight: normal;}

h1 {
	font-size: 6.1em;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
	letter-spacing: -0.075em;
	text-transform: none;
	line-height: 1;
	color: #555;
	margin: 0 0 0.5em;
	font-weight: normal;
}
h2 {
	font-size: 2.5em;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
	margin: 0 0 20px;
	letter-spacing: -0.05em;
	color: #000;
	line-height: 1;
}
h3 { font-size: 1.75em;
     line-height: 1.1; }
h4 { font-size: 1.5em; }
h5 {
	font-size: 1.17em;
	text-transform: uppercase;
	margin: 0;
	color: #555; 
}
h6 { font-size: 1em; margin-bottom: 2px; font-weight: 700; }

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:#999; text-decoration: none;}
h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{color:#fff;}



/* -- GRIDSS
------------------------------------------------------------- */
body{width:100%; background:#f2f2f2;/*url(../img/stripes.png)*/ no-repeat 40% 0;}
.container {width: 90%; margin: 5em auto; max-width: 1200px; min-width: 300px;}
 
.grid-wrap {
   /* the same as your gutter */ 
  overflow: hidden;
  *zoom:1;}
  .grid-wrap:before, .grid-wrap:after{content:""; display:table}
  .grid-wrap:after{clear:both}
  
.grid {
	float: left; /* CUIDADO QUE ESTO MODIFICA EL ORDEN DE LOS TRABAJOS*/
	 /* este es el gutter entre columnas OJO */
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  *behavior: url(/js/boxsizing.htc); }
  
.half-gutter {margin-left: -1.5em; }
  .half-gutter .grid-col {padding-left: 1.5em; }
  
.col-full {width: 100%;
color:#FF4337; }
.col-one-half {width: 55%; } 
.col-one-half2 {width: 40%;
 text-align:right;
 float:right; }
 .col-one-third {
	width: 33.333%;
 }
.col-one-third1 {
	width: 33.333%;
	padding-right: 1em;
 }
.col-two-thirds {width: 33.333%; }
.col-one-quarter {width: 25%;
color:#FF4337;
 }

.col-three-quarters {width: 75%; }

.divide-top{border-top: 1px solid #ccc;padding-top: 2em;margin-top: 1.5em; }

.mright{ margin-right: 3em;}
.mleft{ margin-left: 3em;}
.mtop{ margin-top: 3em;}
.mbottom{ margin-bottom: 3em;

}
.halfmright{ margin-right: 1.5em;}
.halfmleft{ margin-left: 1.5em;}
.halfmtop{ margin-top: 1.5em;
color:#FF4337;}
.halfmbottom{ margin-bottom: 1.5em;}


.fright, .fleft{display:block; overflow:hidden}
.fright{float:right}
.fleft{float:left}

.alignleft{float: left;clear: left;margin: 0.38em 1.62em 0.38em 0;}
.alignright {float: right;clear: right;margin: 0.38em 0 0.38em 1.62em;}
.aligncenter {margin: 0 auto 1.62em;display: block;}

/* FOTOS
------------------------------------------------------------- */
figure {max-height: 100%; /* ¡¡ojo!!!! */ overflow: hidden;}
figure figcaption { }
img { max-width: 100%; height: auto; width: auto; }
a img {
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease; }
a img:hover { /* parametrso opacidad foto*/
	*zoom: 1;
	opacity: 0.7;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 90);
	filter: alpha(opacity = 90);}
    
    
/* -- HEADER
------------------------------------------------------------- */
header#navtop { margin-bottom: 5em ; 
    clear: both; 
    overflow: hidden; }/* navegador menú*/ 
    header nav ul {
	float: left;
	overflow: hidden;
	padding: 2em /* separacion HORIZONTAL OJO*/ 0em /* flotar izda o dcha menu*/ 0 3em; /* separacion HORIZONTAL OJO*/ 5em /* flotar izda o dcha menu*/ 0 1em;
	/*border-left: 1px solid #ddd;  linea vertical menu*/
	line-height: 2em; /* alineacion vertical menu*/
	color: #000; /* color over botones*/
}
nav a, menu a {
	text-decoration: none;
	color: #000;
} /* color botones en negro sin hidden*/
.navactive { color: #999 } /* color menu over head*/
.logo {margin-bottom: none;}
.logo:hover {background: none;}




		
		
/* -- GENERAL 
------------------------------------------------------------- */
.main > section {
	margin-bottom: 7em;
	margin-top: 7em;
}
.main header{ color: #fff; margin-bottom: 3em; }
.main header hr{border-top-color:#999;}
.arrow:after {content:" \27F6"; /* html unicode: &#10230; */ } 
header .arrow {color: #999; font-style: italic;}
.arrow:hover {
	color: #FF675C;
	font-weight: bold;
} /* COLOR OVER BOTONES Y FLECHAS JERARQUIA DIOSES */


/* -- FOOTER
------------------------------------------------------------- */
footer  {
	color: #000;
	margin-bottom: 7em;
}
footer nav ul { float: right; overflow: hidden; }
footer a {
	color: #000;
}
footer li { float: left; margin-right: 1em; padding-right: 1em;  font-size: 1em; }
footer li:last-child { margin-right: 0; padding-right: 0; border-right: none; }
.up a { display: block; text-align: center; margin: 0 auto; }
.rights {
	font-size: 0.9em;
}

/* -- INDEX
------------------------------------------------------------- */
/* Services */
.services aside { color: #999; padding-top: 1em; border-top: 1px solid #DDD;}
.services aside:after, .services h5:after { content: ""; display: block; height: 1px; width: 1em; background: #DDD; margin: 1em 0; }

/* Slider 
	/* Browser Resets 
.flex-container a:active,.flexslider a:active,.flex-container a:focus,.flexslider a:focus  {outline: none;}
.slides,.flex-control-nav,.flex-direction-nav {margin: 0; padding: 0; list-style: none;} */


	/* FlexSlider styles  
.flexslider {margin: 0; /* height: 516px; Y ASI SE HACE TAN GRANDE COMO GRID COL ONE   padding: 0;  position: relative;}
.flexslider .slides > .slide {display: none; -webkit-backface-visibility: hidden;}
.flexslider .slides img {width: 100%;  display: block;} /* slide index
.flex-pauseplay span {text-transform: capitalize;}
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: inherit;} 
* html .slides {height: 1%;}


.slide figcaption div { text-align: right; display: block; /*border-right: 1px solid #fff;   padding: 0 1em 0 0; margin: auto 5em  auto 0; }
.slide figcaption div p { margin: 0 }
.flex-direction-nav{ position: absolute; top: 15em;  right: 1.5em; z-index: 10;}
.flex-direction-nav li {display: inline;}
.flex-prev, .flex-next{ text-decoration: none; color: #000;	margin-left: 1em; }
.flex-prev:hover, .flex-next:hover{ color: #fff} */




/* -- Trabajos
------------------------------------------------------------- */
.works figure > a{ 
	display: block; 
	
	height: 100%; width: 100%; 
	overflow: hidden; 
	position: relative;
	border-top: 0 solid #DDD; padding-top: 2em; } /*linea gris titulo trabajos margin*/  
 	
.works figure .zoom{ 
	display: block; 
	position: absolute; top: 1px; left: 0; 
	background: /*url(../img/zoom.png)*/ no-repeat center; 
	width: 100%; height: 100%; 
	*zoom: 1;
	opacity: 0;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 0);
	filter: alpha(opacity = 0); }

.works figure figcaption{ margin-top: 1em; /* espacio horizontalentre miniaturas*/ padding: 0 0.5em; white-space: nowrap;; }
.works figure figcaption a{line-height:1em; /* espacio horizontal títulos miniaturas y miniaturas*/ color: #FF675C; font-weight: 700; }
.works figure figcaption p{
	margin: 0;
	
} /* margensubtitulos trabajos index*/

.works-page .works figure { margin-bottom: 2em;} 

.main aside{
	margin-bottom: 3em;
	padding-top: 7em;
}
.main aside menu{
	padding: 0 0 0 0em;
	line-height: 3em;
}
.main aside menu a{color: #666;}
.main aside menu .buttonactive {color: #000 } 

/* */


/* -- PÁGINAS 
------------------------------------------------------------- */
/*Separaciones entre miniaturas y fotos*/
.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;}

/*  miniaturas */
.work-page figure {margin-bottom: 3em;}
.work-page figcaption {text-align: center; margin-top: -1em;}

/* Parábolas */
.warning { 
	display: block; 
	background: #F5F5F5; 
	border: 1px solid #DDD; border-left: none; border-right: none; 
	text-align: center; 
	padding: 20px; margin: 20px 0px; }


	/* - Tabs */
.tabs {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: solid 1px #ddd; }
.tabs li {
    display: inline-block; margin-bottom: -1px; }
.tabs li a {
    display: block; 
    text-decoration: none;
    line-height: 3em;
    color: #555; 
    padding: 0 2em; 
    margin: 0;
    background: #f5f5f5;
    font-size: 1.1em;}
.tabs li a:hover{color: #000;}
.tabs li.active a{
	background: #fff;
	position: relative;
	border: 1px solid #DDD;
	border-bottom-color: #FFF;
	color: #111;
	-moz-border-radius-topleft: 2px;
	-webkit-border-top-left-radius: 2px;
	border-top-left-radius: 2px;
	-moz-border-radius-topright: 2px;
	-webkit-border-top-right-radius: 2px;
	border-top-right-radius: 2px; }

.tab_container { margin-bottom: 1em; display: block; border-left: 1px solid #ddd; padding: 15px 15px 0;}
.tab_container > article { display:none; }
.tab_container > article:first-child { display: block; }




/* -------------------------------------------------------------
======	DIFERENTES MISC.
------------------------------------------------------------- */

.ir{display:block; border:0; text-indent:-999em; overflow:hidden; background-color:transparent; background-repeat:no-repeat; text-align:left; direction:ltr; *line-height: 0;}
.ir br{display:none}
.hidden{display:none !important; visibility:hidden}



/* -------------------------------------------------------------
======	IE Fix
------------------------------------------------------------- */
.lt-ie9 .works figure a, .lt-ie9 .works figure a img { filter:inherit} 
/* jquery filter opacity issue IE8 */

.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-one-half {width: 47.45%; }
.lt-ie8 .col-one-third {width: 29.55%; }
.lt-ie8 .col-two-thirds {width: 64.95%; }
.lt-ie8 .col-one-quarter {width: 19.95%; }
.lt-ie8 .col-three-quarters {width: 74.95%; }



/* -------------------------------------------------------------
======	MEDIA QUERIES
------------------------------------------------------------- */

/* -- Media query 1 (mq1)
------------------------------------------------------------- */
@media only screen and (max-width: 60em) { /* 13 / 780 */
	.mq1-col-full {width: 100%; }
	.mq1-col-one-half {width: 50%; }
	.mq1-col-one-third {width: 33.333%; }
	.mq1-col-two-thirds {width: 66.666%; }
	.mq1-col-one-quarter {width: 25%; }
	.mq1-col-three-quarters {width: 75%; }
	/**/
	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 query 2 (mq2)
------------------------------------------------------------- */
@media only screen and (max-width: 48em) { /* 13 / 624 */
	.mq2-col-full {width: 100%;}
	.mq2-col-one-half {width: 50%; }
	.mq2-col-one-third { width: 33.333%; }
	.mq2-col-two-thirds {width: 66.666%; }
	.mq2-col-one-quarter {width: 25%; }
	.mq2-col-three-quarters {width: 75%; }
	/**/
	header nav { width: 100%; }
	header nav ul {  padding: 0 ; border-left:none; line-height: 2em; }
	header nav ul li { float: left;  padding: 0 1em ; border-left:1px solid #fff; } /* linea gris versión mvl*/
	.slider { margin-top: 3em; }
}
    
/* -- Media query 3 (mq3)
------------------------------------------------------------- */
@media only screen and (max-width: 30em) { /* 13 / 390 */
	.mq3-col-full { width: 100%; }
	.mq3-col-one-half { width: 50%; }
	.mq3-col-one-third { width: 33.333%; }
	.mq3-col-two-thirds { width: 66.666%; }
	.mq3-col-one-quarter { width: 25%; }
	.mq3-col-three-quarters { width: 75%; } 
	.mq3-none {display: none;}
	/**/
	header nav ul li { padding: 0 0.5em ; }
	footer li { float: none; margin-right: 0em; padding-right: 0em; border-right: none; line-height: 2em;}
	.services article {	margin-top: 3em;} .services article:first-of-type {	margin-top: 0;}	
}

/* -- ESTILOS POR SI LAS MOSCAS
------------------------------------------------------------- */
@media print{ 
	*{background:transparent !important; color:black !important; text-shadow:none !important; filter:none !important; -ms-filter:none !important}
	abbr[title]:after{content:"("attr(title) ")"}
	pre, blockquote{page-break-inside:avoid}
	thead{display:table-header-group}
	tr, img{page-break-inside:avoid}
	img{max-width:100% !important}
	p, h2, h3{orphans:3; widows:3}
	h2, h3{page-break-after:avoid} 
}
 
 
 
/* -------------------------------------------------------------
======	FIN
------------------------------------------------------------- */.no-js body .container .home-page.main .works.grid-wrap .grid.col-full {
	color: #000;
}
.no-js body .container .home-page.main .grid-wrap .grid.col-full .fleft {
	color: #000;
}
.no-js body .container .home-page.main .grid-wrap .grid.col-full .fleft {
	color: #333;
}
.no-js body .container .work-page.main.grid-wrap .grid.col-one-quarter.mq2-col-one-third.mq3-col-full {
}
