	@font-face {
    font-family: 'AvenirNextBold';
    src: url('fonts/avenirnext.eot');
    src: url('fonts/avenirnext.eot') format('embedded-opentype'),
         url('fonts/avenirnext.woff') format('woff'),
         url('fonts/avenirnext.ttf') format('truetype'),
         url('fonts/avenirnext.svg#AvenirNextBold') format('svg');
		 
}

@font-face {
    font-family: 'AvenirNextRegular';
    src: url('fonts/AvenirNextRegular.eot');
    src: url('fonts/AvenirNextRegular.eot') format('embedded-opentype'),
         url('fonts/AvenirNextRegular.woff') format('woff'),
         url('fonts/AvenirNextRegular.ttf') format('truetype'),
         url('fonts/AvenirNextRegular.svg#AvenirNextRegular') format('svg');
		 
}


@font-face {
    font-family: 'AvenirNextDemi';
    src: url('fonts/avenirnextdemi.eot');
    src: url('fonts/avenirnextdemi.eot') format('embedded-opentype'),
         url('fonts/avenirnextdemi.woff') format('woff'),
         url('fonts/avenirnextdemi.ttf') format('truetype'),
         url('fonts/avenirnextdemi.svg#avenirnextdemi') format('svg');
		 
}

html{
	width: 100%;
	height: 100%;
}

body
{
    margin: 0 auto 30px auto;
    width: 100%;
    height: 100%;
}

header
{
	width: 90%;
	height:120px;
	background: white;
	margin: 0 auto;
	max-width: 1216px;
	z-index:1;
}

nav
{
    float:right;
	width:24%;
	margin-left: 2%;
}

section
{
    float:left;
    width:100%;
	height:auto;
	margin-top:40px;
}

footer
{
}

#proyectos{
	position: relative;
	width: 90%;
	max-width: 1216px;
	margin: 0 auto 0 auto;
}
#proyectos-home{
	position: relative;
	width: 90%;
	max-width: 1216px;
	margin: 0 auto 0 auto;
}

#cabecera
{
	position: fixed;
	max-width: 1216px;
	margin:0 auto 0 auto;
	width:90%;
	background-color:#FFF;
	padding-top:40px;
	height:90px;
	z-index:1;
	background: url(img/bg-header.png) 0 0 repeat-x;
}

#idiomas
{
	float:right;
	text-decoration:none;
	width: 50%;
	margin-top:-9px;
}

#menu
{
	float:left;
	text-decoration:none;
	width:50%;
	margin-top:-9px;
}

#marca
{
	float:left;
	margin-top:0;
	width: 74%;
	height: auto;
}

a
{
	text-decoration:none;
	border:0;
}

a img
{
	text-decoration:none;
	border:0;
}

h1
{
	font-family: AvenirNextBold;
	font-size:26px;
	color:#000;
	font-weight:bold;
}


h2
{
	font-family: AvenirNextBold;
	font-size:15px;
	line-height:16px;
	color:#000;
}

h3
{
	font-family: AvenirNextDemi;
	font-size:13px;
	line-height:18px;
	color:#000;
}

h3 a:visited
{
	text-decoration:none;
}


h4
{
	font-family: AvenirNextRegular;
	font-size:13px;
	line-height:18px;
	font-weight:100;
	color:#000;
}

h5
{
	font-family: AvenirNextRegular;
	font-size:15px;
	line-height:20px;
	color:#000;
}

nav ul
{
         list-style-type:none;
         margin: 0px;
         padding: 0px;        
}

nav ul li 
{
	text-decoration:none;
   text-transform:capitalize; font-size: 20px;
}

nav ul li a 
{
	color:#000;
	line-height:5px;
    text-decoration: none;
}

article
{
    margin-bottom:5px; padding: 10px;
    border-radius: 10px 10px 10px 10px;
    border-style: solid;
    border-width: 2px;
    border-color:#ffffff;
}

nav ul li 
{
    text-transform:capitalize; font-size: 16px;
   
}
 
.activado
{
	color:#999;
}

.activadoIdioma
{
	color:#999;
}

a:link 
{
	color:black;
}

a:active
{
	color:#6F0;
}
a:hover
{
	color:#6F0;
}

.proyectoThumb
{
	width:290px;
	height:280px;
	margin: 7px;
	float:left;
}


.foto
{
	width:74%;
	float:left;
	margin-bottom:15px;
}
.foto img{
	max-width: 100%;
}



.descripcion
{
	float:right;
	width:24%;
	margin-bottom:20px;
	margin-left: 2%;
	margin-top:-16px;
	
}

.texto
{
	font-weight:200;
	color:#000;
}

.info
{
	font-family:AvenirNextRegular;
	font-size:22px;
	line-height:30px;
	width:593px;
	margin-bottom:20px;
}

.direccion
{
	width: 100%;
	max-width: 289px;
	float:left;
	margin-top:-17px;
	margin-left:7px;
}

.mapa
{
	width:897px;
	float:left;
	margin-bottom:20px;
}

.blanc
{
	color:#FFF;
}

.titulo
{
}

.descripcio
{
	margin-top:-15px;
}

.cliente
{
	margin-top:-15px;
}


/* PERE */
.proyectoThumb img{
	z-index: 0;
	max-width: 100%;
}

.hover-thumb{
	z-index: 1;
	width: 100%;
	height: 100%;
	margin-top: -280px;
	background:#6F0;
	text-align: left;
	filter: alpha(opacity=0);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	opacity: 0;
	-moz-opacity: 0;
	zoom: 1;
/*	-moz-transition-property: opacity;
	-moz-transition-duration: 0.5s;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 500ms;
	transition-property: opacity;
	transition-duration: 0.5s;*/
}
.hover-thumb h3{
	padding: 20px;
	margin: 0;
}
.proyectoThumb a, .proyectoThumb a:hover, .proyectoThumb a:active{
	color: #000;
}

.hover-thumb:hover{
	filter: alpha(opacity=100);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
	opacity: 0.99;
	-moz-opacity: 1;
	zoom: 1;
/*	-moz-transition-property: opacity;
	-moz-transition-duration: 0.5s;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 500ms;
	transition-property: opacity;
	transition-duration: 0.5s;*/
}

.show-on-min{
	display: none;
	
}
.hide-on-min{
	display: block;
	height:100%;
}

#descripcion-container{
	position: fixed;
	width:19%;
	max-width: 292px;
}

/* LOG IN */
#login-user{
	position: relative;
	margin: 50px auto 0 auto;
	width: 300px;
	text-align: center;
}
#login-user img{
	margin-bottom: 20px;
}
#login-user label{
	font-family: AvenirNextDemi;
	font-size: 13px;
	color: #999;
	float: none;
	text-align: left;
}
#login-user input[type=text], #login-user input[type=password]{
	padding: 6px;
	border: 1px #999 solid;
}
#login-user input[type=submit]{
	background: #999;
	border:none;
	cursor: pointer;
	padding: 10px 20px;
	color: #fff;
}


/* UPLOAD FORM */
.container-upload{
	position: relative;
	width: 90%;
	max-width: 1000px;
	height: 90%;
    margin: 0 auto;
}
.container-upload h1{
	text-align: center;
}
.upload-1{
	position: relative;
	width: 500px;
    margin: 20px auto;
}
#logo-upload{
	width: 300px;
	position: relative;
	margin: 50px auto 0 auto;
	text-align: center;
}
.upload-1 label{
	font-family: AvenirNextDemi;
	font-size: 13px;
	color: #999;
	float: none;
	text-align: left;
}
.upload-1 input[type=text], .upload-1 textarea{
	font-family: AvenirNextDemi;
	color: #999;
	padding: 6px;
	border: 1px #999 solid;
	margin-bottom: 10px;
	width: 100%;
}
.upload-1 input[type=submit]{
	background: #999;
	border:none;
	cursor: pointer;
	padding: 10px 20px;
	color: #fff;
	font-weight: bold;
}
input[type=file]{
	background: #eee;
	border:none;
	cursor: pointer;
	padding: 10px 20px;
	color: #999;
	width:460px;
	float:left;
	margin-bottom:30px;
}

#borrar_img{
	font-family: AvenirNextDemi;
	margin:-71px 0 30px 414px;
	float:left;
	background: #999;
	padding: 11px 20px;
	color: #FFF;
	font-weight: bold;
	z-index:3;
}
td{
	border:1px solid #fff;
}
.imagen img{max-width: 100%}

#fletxes{
	margin-top: 15px;
}

#fletxes a{
	font-family: AvenirNextRegular;
	font-size: 13px;
	line-height: 18px;
	font-weight: 100;
	color: #000;
}
.direccion p{
	font-family: AvenirNextRegular;
	font-size:15px;
	line-height:20px;
	color:#000;
}

.trabajo-delete{font-family: AvenirNextBold; font-size:15px; line-height:16px; color:#000;}

.aloha-textarea{font-family: Arial, Helvetica, Sans-serif;font-size:12px;}

/* RESPONSIVE */

@media screen and (max-width: 1229px) {
#proyectos{
    float:left;
	margin-left: 5%;
	margin-right: 5%;
	width: 90%;
}
#proyectos-home{
	max-width:912px;
	margin: 0 auto;
	width: 90%;
	height: auto;
}
#cabecera{
	width: 90%;
	height:65px;
}
  


section
{
	width:100%;
}

.mapa
{
	width:100%;
	float:left;
	margin-bottom:20px;
}

.mapa img
{
	max-width:100%;
}

}

/* TABLET */
/* ---- VERTICAL ----- */
@media screen and (max-width: 830px) {

.info
{
	font-family:AvenirNextRegular;
	font-size:22px;
	line-height:30px;
	width:90%;
	margin-bottom:20px;
}

.mapa
{
	width:100%;
	float:left;
	margin-bottom:20px;
}

.mapa img
{
	max-width:100%;
}

.foto{
	width:100%;
}

.foto img{
	max-width: 100%;
}


}


/* ---- HORIZONTAL ----- */

@media screen and (max-width: 930px) {
#proyectos-home{
	max-width:608px;
	width: 100%;
}
#proyectos{
	max-width:100%;
	margin-top: -40px;
}
#descripcion-container{
	position: relative;
	width:100%;
	max-width: 100%;
}

.descripcion{
	position:relative;
	float:left;
	top:0;
	left:0;
	width:100%;
	margin-left:0;
}
#fletxes{
	position: fixed;
	margin-top: -40px;
	z-index: 3;
}
.foto{
	width:100%;
}

.foto img{
	max-width: 100%;
}
header{
	margin: 0 5%;
}

}
/* MOBIL */
@media screen and (max-width: 628px) {

#proyectos-home{
	max-width: 95%;
	margin-left:5%;
}
.proyectoThumb{
	width:95%;
	height: auto;
}
.proyectoThumb img{
	max-width: 100%;
	float: left;
}

.show-on-min{
	display: block;
}
.hide-on-min{
	display: none;
}

.foto{
	width:100%;
}

.foto img{
	max-width: 100%;
}


.info{
	font-family:AvenirNextRegular;
	font-size:22px;
	line-height:30px;
	width:100%;
	margin-bottom:20px;
}

.mapa{
	width:100%;
	float:left;
	margin-bottom:20px;
}

.mapa img
{
	max-width:100%;
}

#marca{
	width: 50%;
}
nav{
	width: 50%;
	margin-left: 0;
}
#descripcion-container{
	position: static;
	width:100%;
}
.foto
{
	width:100%;
}

}

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

.proyectoThumb{
	width:90%;
}
.proyectoThumb img{
	max-width: 100%;
}

.foto
{
	width:100%;
}

.foto img
{
	max-width: 100%;
}


#idiomas
{
	/*display:none;*/
	margin-right: 0;
}

#descripcion-container{
	/*float:left;*/
	position: relative;
	width:100%;
}


.info
{
	font-family:AvenirNextRegular;
	font-size:16px;
	line-height:24px;
	width:100%;
	margin-bottom:20px;
}

.mapa
{
	width:100%;
	float:left;
}

.mapa img
{
	max-width:100%;
}
}

@media screen and (min-width:629px) and (max-width: 1229px){
#proyectos-home{
	width: 90%;
	margin: 0 5%;
}
}

/* DARRERS CANVIS 04/12/2014 */

#proyectos .foto:last-child {display: none;}
.foto iframe{width: 100%;height: 602px;}
.upload-1 input[type=text], .upload-1 textarea, .aloha-textarea{width: 470px !important;}
#youtube-span{display: block;float: left;vertical-align: middle;margin-top: 7px;margin-right: 5px;font-family: AvenirNextDemi;color: #999;font-size: 13px;}
#youtube-id{width: 246px;float: left;margin-bottom: 20px;}
.upload-1 label{display: block;}

@media screen and (max-width: 1024px){
.foto iframe{height: 448px;}
}

@media screen and (max-width: 640px){
.foto iframe{height: 387px;}
}

@media screen and (max-width: 400px){
.foto iframe{height: 242px;}
}