@charset "UTF-8";
/* Medios fluidos sencillos
   Nota: Los medios fluidos exigen la eliminación de los atributos de altura y anchura de los medios del código HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 no admite max-width (anchura máxima), por lo que usa de manera predeterminada una anchura del 100% */
.ie6 img {
	width:100%;
}

/*
	Propiedades de cuadrícula fluida de Dreamweaver
	----------------------------------
	dw-num-cols-mobile:		5;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	10;
	dw-gutter-percentage:	25;
	
	Inspiración obtenida de "Responsive Web Design" de Ethan Marcotte 
	http://www.alistapart.com/articles/responsive-web-design
	
	y Golden Grid System de Joni Korpi
	http://goldengridsystem.com/
*/

/* Diseño móvil: 480 px e inferior. */

.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 98%;
}

#header{
	z-index: 120;
	padding-left: 1.8%;
	padding-right: 1.8%;
}

#logo img{
	display: block;
	margin-left: auto;
	margin-top:25px;
	float: left;
	z-index:1;
	clear: both;
	max-width:40px;
}

#idiomes{
	position: relative;
	/*z-index:-100;*/
}

#idiomes img{
	max-height: 20px;
}

#social{
	margin-top: 15px;
	position: relative;
	float: right;
	/*z-index:-100;*/
}

#social img{
	max-width: 25px;
}

#projectes{
	position:relative;
}

#projectes{
	margin-bottom: 20px;
	z-index: 1;
	height: auto;
	clear: right;
}

#projectes td{
	padding-top: 5px;
	padding-bottom:5px;
}

#projectes img{
	width: 200px;
	opacity:0.5;
	margin:0;
	padding:0;
}

#projectes img:hover{
	opacity: 1;
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
}

#td_grafic{
	border: 1px solid /*#e55a61*/ #8561A8;
	border-radius: 8px;
}

#td_web{
	border: 1px solid /*#eda156*/ #8561A8;
	border-radius: 8px;
}

#td_3d{
	border: 1px solid /*#6cb1ea*/ #8561A8;
	border-radius: 8px;
}

#td_video{
	border: 1px solid /*#d3cc53*/ #8561A8;
	border-radius: 8px;
}


#fotoabout{
	max-width: auto;
	position:relative;
	max-height: 200px;
	z-index:0;
	float: right;
	
}



#portada {
	background-image: url(../images/portada.jpg);
	background-repeat: no-repeat;
	margin-bottom: 20px;
	padding-bottom: 180px;
	padding-top:150px;
	max-width: 100%;
	opacity: 0.7;
	margin-top: 90px;
	z-index:-10;
	clear: both;
	position:relative;
}



#portada a {
	background-color: white;
	clear: both;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	color: #666;
	padding: 5px 10px;
	font-weight:200;
	text-align: center;
	text-decoration:none;
	border-radius: 5px;
	z-index: 100;
	position:relative;
	}
	
#portada a:hover {
	background-color: #666;
	color: white;
	-webkit-transition: color 0.5s;
	border-radius: 5px;
	transition: background-color 1.5s;
	-webkit-transition: background-color 1.5s;
}
	

/*MENÚ*/

#m_principal{
	z-index: 10;
	
}

.menu{
	
	float:none;
	z-index: 100;
	}
	
.mobile-menu{display:none;
width:100%;
padding:0px;
background:#ffffff;
color:#ffffff;
text-transform:uppercase;

}
 /*FI MENÚ*/
 
 #footer{
	 margin-top: 20px;
	display: block;
	max-width:100%;
	clear: both;
	
}

#contingut img{
	max-width: 100%;
	height: auto; /*CODI PER FIREFOX*/
}

#contingut{
	z-index: 0;
	clear: both;
	padding-top: 15px;
	padding-left: 1.8%;
	padding-right: 1.8%;
}
 
#cv{
	margin-bottom: 20px;
	z-index: 1;
	height: auto;
	clear: right;
} 

#cv td{
	padding: 1.2%;
}

#serveis{
	margin-bottom: 0px;
	z-index: 1;
	height: auto;
	clear: right;
} 

#serveis td{
	padding: 1.2%;
}
 
 @media (max-width: 904px) {
	
	
#cv td{
	margin-bottom: 5px;
	min-width: 100%;
	float: left;
	padding-bottom: 5px;
}

#serveis td{
	margin-bottom: 10px;
	min-width: 100%;
	float: left;
	padding-bottom: 5px;
}	
	
.menu{
display:none;
/*border-bottom: 1px solid #999;*/
margin-top: 0px;
margin-right: 0;

}

 
.mobile-menu{display:block;
margin-top: /*30px*/ 15px;
margin-right: auto;
width: 32px;
float: right;
z-index:100;
clear:right;
margin-right: 10px;
}
 
nav{
margin-top: 90px;
background:white;
position:absolute;
width: 20%;
right: 5px;		/*POSICIÓ DESPLEGABLE MÒBIL. Era 35*/
}

 
.menu li{display:block;
/*border-top: 1px solid #ccc;*/
padding-top: 10px;
margin-top: 10px;
margin-bottom: 10px;
text-align: right;
}
 
.menu li a {background:#ffffff;
color:#666;
text-decoration: none;
margin-left: 10px;
margin-right: 10px;
font-size: 16px;
font-variant: small-caps;
font-weight: 300;
}
 
.menu li a:hover, .menu li:hover > a{
background:white;
padding: 5px;
color: #fff;
transition: color 0.5s;
-webkit-transition: color 0.5s;
background-color: #666;
border-radius: 5px;
transition: background-color 1.5s;
-webkit-transition: background-color 1.5s;
}
 
.menu ul {display:none; 
position:relative;
top:0;
left:0;
width:100%;
}

.menu ul li a{
	font-weight: normal;
}
 
.menu ul ul {left:0;}
  
#projectes td{
	margin-bottom: 5px;
	min-width: 100%;
	float: left;
	padding-bottom: 5px;
}  
  
}


/* Diseño tableta: de 481 px a 768 px. Hereda estilos de: Diseño móvil. */

@media only screen and (min-width: 481px) {
.gridContainer {
	width: 100%;
}

#logo img{
	max-width:50px;
}

#nav{
	width: 20%;
	margin-left: 80%;
}	

#contingut img{
	height:auto;	
}

#projectes{

	border-collapse: separate;
    /*border-spacing: 0.5em;*/

}

#projectes td{
	margin: 1%;
	
	padding: 5px;
}

}

/* Diseño escritorio: de 769 px hasta un máximo de 1232 px.  Hereda estilos de: Diseño móvil y Diseño tableta. */

@media only screen and (min-width: 905px) {

#fotoabout{
	max-height: 280px;
}	
	
.gridContainer {
	width: 100%;
	max-width: 1500px;
	margin: auto;
}

#logo img{
	max-width:60px;
}

#contingut img{
	max-width: 100%;
	height:auto;
}

#cv{

	border-collapse: separate;
    border-spacing: 0.5em;

}

#serveis{

	border-collapse: separate;
    border-spacing: 1em;

}

#projectes{

	border-collapse: separate;
    border-spacing: 0.5em;

}

#projectes td{
	margin-bottom: 5px;
	min-width: 30%;
	padding-bottom: 5px;
} 


/*MENÚ*/

#nav{
	float: right;
	margin-right: 20%;
	}

.menu{
	float: right;
	margin-top: -25px;
	clear:both;
	z-index: 3;
	display: block;
	list-style: none;
	font-family: 'Roboto', sans-serif;
	font-variant: small-caps;
	position:relative; /*PROVA*/
	font-weight:300;
	margin-right: 15%;
	}
	
.menu li {
	float: left;
	padding: 5px;
}

.menu li:hover{
	position: relative;
	/*text-decoration: underline;
	background-color: white;
	color: #333;*/
	background-color: #666;
	border-radius: 5px;
	transition: background-color 1.5s;
	-webkit-transition: background-color 1.5s;
	
}


.menu li a{
	display:block;
	text-decoration: none;
	font-size: 18px;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0x;
	padding-left: 20px;
	color: #666;
}

.menu li a:hover{
	color: #fff;
	transition: color 0.5s;
	-webkit-transition: color 0.5s;
}

.menu li ul{
	margin-top: 0px;
	display: none;
	list-style: none;
	background-color: white;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 0px;
	position:absolute; /*prova*/
}

.menu li:hover ul{
	display: block;
	position: absolute;
}

.menu li ul li a{
	width:/*120px*/ 165px; /*amplada desplegable*/
	text-decoration: none;
	margin-bottom: 0px;	
	clear:both;
}

.menu li ul li ul li{
	display: none;
}

/*FI MENÚ*/

#footer{
	width: 100%;
	clear: both;
}

}

li{
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #666666;
	line-height:1.8;
	list-style: none;
}

p{
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #666666;
	line-height:1.8;
}

h1{
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	color: #999;
	font-weight:200;
	font-variant:small-caps;
	text-align: center;
}

h2{
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	color: #666;
	font-weight:200;
	font-variant:small-caps;
}

h3{
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: #666;
	font-variant:small-caps;
}

h2 a{
	
	font-size: 40px;
	color: #666;
	font-weight:200;
	font-variant:small-caps;
	margin: 20px;
}

h2 a:hover{
	
	font-size: 40px;
	color: #333;
	font-weight:200;
	font-variant:small-caps;
	margin:20px;
	transition: color 0.5s;
	-webkit-transition: color 0.5s;
	
}

h4{
	font-family: 'Roboto', sans-serif;
	font-size: 80px;
	color: #666000;
	font-weight:200;
	font-variant:small-caps;
	text-align: center;
	line-height:0px;
}


#link_index{
		background:#b3ac2f;
		color:white;
text-decoration: none;
margin-top: 20px;
margin-left: 10px;
margin-right: 10px;
padding: 10px;
font-size: 18px;
font-weight: 300;
border-radius: 5px;
}

#link_index:hover{
	color:#fff;
	transition: color 0.5s;
-webkit-transition: color 0.5s;
background-color: #666;

transition: background-color 1.5s;
-webkit-transition: background-color 1.5s;
}