@charset "utf-8";
/* CSS Document */


/*------------------------------------*\
	TIPOS
\*------------------------------------*/

/* mirage_gothicregular */
@font-face {
	font-family:'mirage_gothicregular';
	src:url('http://mostracentenaris.diablesdesantquinti.cat/tipos/mirage/mirage_final-webfont.eot');
	src:url('http://mostracentenaris.diablesdesantquinti.cat/tipos/mirage/mirage_final-webfont.eot?#iefix') format('embedded-opentype'),
		url('http://mostracentenaris.diablesdesantquinti.cat/tipos/mirage/mirage_final-webfont.woff') format('woff'),
		url('http://mostracentenaris.diablesdesantquinti.cat/tipos/mirage/mirage_final-webfont.ttf') format('truetype'),
		url('http://mostracentenaris.diablesdesantquinti.cat/tipos/mirage/mirage_final-webfont.svg#mirage_gothicregular') format('svg');
    font-weight:normal;
    font-style:normal;
}


/*------------------------------------*\
	WEB
\*------------------------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, 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, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin:0;
	padding:0;
	font-size:100%;
	font:inherit;
	vertical-align:baseline;
	border:0;
	border:none;
}
header, footer, menu, nav, section, article, aside, details, figcaption, figure, hgroup {
	display:block;
}
html { 
	overflow-y:scroll;
	background:red url("../imgs/fonshtml.jpg") top center no-repeat fixed;
}
body {
	overflow-x:hidden;
	height:5000px;
	color:#FFFFFF;
	background:transparent url("../imgs/fons.png") bottom center no-repeat;
	font-size:18px;
	font-family:'Uncial Antiqua', normal;
	/*line-height:1.5;*/
}
a, a:link, a:active, a:visited {
	color:#fff;
	text-decoration:none;
	outline:none;
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
}
a:hover {
	color:#000000;
}
img {
	display:block;
}
ol, ul {
	list-style:none;
}
h1, h2 {
	color:#FFFFFF;
	font-family:'mirage_gothicregular', Helvetica, Arial, sans-serif;
	-webkit-text-shadow: 0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
	-moz-text-shadow: 0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
	text-shadow: 0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
}
h1 {
	text-transform:uppercase;
}
p {
	font-family:'Uncial Antiqua', normal;
}
p.destacat {
	margin-top:20px;
	margin-bottom:0;
	color:white;
	font-family:'mirage_gothicregular', Helvetica, Arial, sans-serif;
	font-size:30px;
	font-weight:bold;
	-webkit-text-shadow:0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
	-moz-text-shadow:0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
	-o-text-shadow:0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
	text-shadow:0 3px 0 black, 0 -3px 0 black, 3px 0 0 black, -3px 0 0 black;
}
p.explica {
	margin-left:30px;
}

/*------------------------------------*\
	ESTRUCTURA DE LA PAGINA
\*------------------------------------*/

#wrapper {
	position:relative;
}

/* CAP */
header#cap {
	z-index:10;
	position:fixed;
	left:0;
	width:100%;
	height:90px;
	background:transparent url('../imgs/cap.png') bottom repeat-x;
}
header#cap div {
	margin:0 auto;
	padding:0;
	width:1000px;
}
header#cap div h1 {
	width:700px;
	float:left;
}
header#cap div h1 a img {
	margin:10px 0 0 60px;
}
ul#redsSocials{
	list-style:none;
	margin:10px 0 0 0;
	padding:0;
	width:200px;
	height:55px;
	float:left;
}
	ul#redsSocials li{
		display:inline-block;
		margin:0 0 0 5px;
		padding:0;
		width:55px;
		height:55px;
	}
	ul#redsSocials li a{
		text-decoration:none;
	}

/* PEU */
footer.footer{
	position:absolute;
	top:4975px;
	margin:0 auto;
	width:1000px;
	font-size:12px;
	text-align:center;
}
footer.footer p a:hover{
	color:white;
}


/*------------------------------------*\
	Menú
\*------------------------------------*/

nav#primary {
	z-index:5;
	position:fixed;
	top:50%;
	right:16px;
	margin-top:-40px;
}
nav#primary li {
	position:relative;
	margin-top:5px;
	margin-bottom:5px;
	width:16px;
	height:15px;
}
nav#primary a {
	display:block;
	margin-top:5px;
	margin-bottom:5px;
	width:16px;
	height:15px;
	background:transparent url('../imgs/menu.png') top center no-repeat;
	text-indent:-9999px;
}
nav#primary a:hover, nav#primary a.active {
	background-position:bottom;
}
nav#primary h1 {
	position:absolute;
	right:22px;
	top:-7px;
	display:none;
	padding:0 20px 0 0;
	color:white;
	font-size:24px;
	-webkit-text-shadow:0 2px 0 black, 0 -2px 0 black, 2px 0 0 black, -2px 0 0 black;
	-moz-text-shadow:0 2px 0 black, 0 -2px 0 black, 2px 0 0 black, -2px 0 0 black;
	text-shadow:0 2px 0 black, 0 -2px 0 black, 2px 0 0 black, -2px 0 0 black;
	white-space:nowrap;
}


/*------------------------------------*\
	Fletxes
\*------------------------------------*/

nav.fletxes {
	margin:20px auto 0 auto;
	width:40px;
}
a.fletxaAmunt, a.fletxaAbaix {
	display:block;
	width:28px;
	height:39px;
	/*text-indent:-9999px;*/
}
a.fletxaAmunt {
	margin:0 auto -5px 0;
	background:transparent url('../imgs/fletxaAmunt.png') center top no-repeat;
}
a.fletxaAbaix {
	margin:0 auto 0 16px;
	background:transparent url('../imgs/fletxaAbaix.png') center top no-repeat;
}
a.fletxaAmunt:hover, a.fletxaAbaix:hover {
	background-position:bottom;
}


/*------------------------------------*\
	Parallax
\*------------------------------------*/

/* content */
#content {
	z-index:4;
	position:relative;
	max-width:980px;
	padding:0 10px;
	margin:0 auto;
	line-height: 1.7;
}
#seccio1, #seccio2, #seccio3, #seccio4, #seccio5 {
	position:absolute;
}
#seccio1 {
	top:160px;
	width:500px;
}
	#seccio1 h2 {
		font-size:48px;
		text-align:center;
		text-transform:uppercase;
	}
#seccio2 {
	top:1100px;
	left:0;
	padding-top:100px;
	width:1000px;
	text-align:right;
}
	#seccio2 header h1 {
		text-align:left;
	}
	#seccio2 div {
		margin-left:430px;
		width:570px;
		text-align:left;
	}
#seccio3 {
	top:2200px;
	padding-top:120px;
	width:400px;
}
	#seccio3 nav {
		margin-top:-250px;
		margin-right:40px;
		float:right;
	}
#seccio4 {
	top:3300px;
	left:0;
	padding-top:120px;
	width:1000px;
	/*text-align:right;*/
}
	#seccio4 div {
		margin-left:460px;
		width:540px;
		text-align:left;
	}
	#seccio4 header h1 {
		font-size:39px;
	}
	#seccio4 nav {
		font-size:39px;
	}
#seccio5 {
	top:4350px;
	width:1000px;
}
	#seccio5 header h1 {
		width:900px;
		float:left;
	}
	#seccio5 nav {
		float:left;
	}
	#seccio5 p span {
		margin:0 20px 40px 0;
	}
article header h1 {
	margin:0 0 25px 0;
	font-size:48px;
	font-weight:normal;
	line-height:58px;
}

/* fotos parallax */
#parallax-bg3 {
	z-index:3;
	position:fixed;
	top:0;
	left:50%; /* align left edge with center of viewport */
	margin-left:-500px; /* move left by half element's width */
	width:940px;
}
	#bg3-1, #bg3-2, #bg3-3, #bg3-4 {
		position:absolute;
		-moz-box-shadow:0 0 20px black;
		-webkit-box-shadow:0 0 20px black;
		box-shadow:0 0 20px black;
	}
	#bg3-1 {
		top:140px;
		left:550px;
	}
	#bg3-2 {
		top:890px;
		left:0;
	}
	#bg3-3 {
		top:1720px;
		left:420px;
	}
	#bg3-4 {
		top:2735px;
		left:0;
	}
/* flotants parallax front */
#parallax-bg2 {
	z-index:2;
	position:fixed;
	top:0;
	left:50%; /* Alinear el marge esquerra al centre de la pagina */
	margin-left:-600px; /* Moure a l'esquerra segons la mida */
	width:1200px;
}
	#bg2-1, #bg2-2, #bg2-3, #bg2-4, #bg2-5 {
		position: absolute;
	}
	#bg2-2, #bg2-4 {
		-moz-transform:scaleX(-1); /* Firefox */
		-o-transform:scaleX(-1); /* Opera */
		-webkit-transform:scaleX(-1); /* Chrome y Safari */
		transform:scaleX(-1); /* w3org */
		filter:FlipH; /* Internet Explorer */
	}
	#bg2-1 {
		top:0;
		left:100px;
	}
	#bg2-2 {
		top:500px;
		left:800px;
	}
	#bg2-3 {
		top:1000px;
		left:-250px;
	}
	#bg2-4 {
		top:1500px;
		left:850px;
	}
	#bg2-5 {
		top:2000px;
		left:-100px;
	}
/* flotants parallax fons*/
#parallax-bg1 {
	z-index:1;
	position:fixed;
	top:0;
}
	#bg1-1, #bg1-2, #bg1-3, #bg1-4 {
		position:absolute;
	}
	#bg1-1 {
		top:70px;
		left:0;
	}
	#bg1-2 {
		top:360px;
		left:1250px;
	}
	#bg1-3 {
		top:900px;
		left:100px;
	}
	#bg1-4 {
		top:1420px;
		left:1200px;
	}


/*------------------------------------*\
	Preload.js
\*------------------------------------*/

#pane{
	position:relative;
	padding:16px;
	width:640px;
	height:280px;
	border:1px solid #777;
}
#images li{
	margin:0 0 -10px 0;
	font-size:28px;
}
#images li a h2:hover{
	color:black;
	-webkit-text-shadow: 0 2px 0 white, 0 -2px 0 white, 2px 0 0 white, -2px 0 0 white;
	-moz-text-shadow: 0 2px 0 white, 0 -2px 0 white, 2px 0 0 white, -2px 0 0 white;
	text-shadow: 0 2px 0 white, 0 -2px 0 white, 2px 0 0 white, -2px 0 0 white;
}