
@import url('bootstrap.min.css');
@import url('font-awesome.min.css');
@import url('http://fonts.googleapis.com/css?family=Titillium+Web');
@import url('http://fonts.googleapis.com/css?family=Roboto:400,300,700');

/*Css Hover Imatges (portfolio, etc)*/
@import url('hover/style_common.css');
@import url('hover/style_hover.css');

/*
READ ME

Important:

1- Slide dels icones del menu Inici venen controlats per:
#home-row-2 .col-3 .home-hover (ln 282), anar al tanto amb el Height.	
 */


 /***************  GENERAL ************************************/
 
.font-thin {
	font-family:'Roboto', sans-serif;
	font-weight: 300;
}

.font-semibold {
	font-family:'Titillium Web', sans-serif;
	font-weight: 700;
}

.font-light {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

* {
	position: relative;
}

.breaker {
	clear: both;
	font-size: 1px;
	line-height: 1px;
	height: 1px;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	background-color: #2f2f2f;
	font-family: "Titillium Web", sans-serif;
	font-weight: normal;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased !important;
}

.justify-text {
	text-align: justify;
}

.navbar {
	background-color: #e4e6e5;
	background-color: rgba( 228, 230, 229, .85 );
	border-bottom: 0 none;
	font-size: 12px;
	transition: .25s all linear;
}
.navbar .col-12 .icon{
	font-size: 2em;
}

.navbar.inv {
	background-color: rgba( 0, 0, 0, .5 );
	border-bottom: 1px solid #bfbfbf;
}

.navbar .nav a {
	color: #5f5f5f;
	font-family: "Titillium Web", sans-serif;
	font-weight: 600;
	transition: all .5 linear;
}

.navbar.inv a {
	color: #e4e6e5;

}

.navbar-responsive-collapse {
	margin: 0 auto;
	width: 80%;
}

.nav li {
	text-align: center;
	white-space: nowrap;
}

.nav > li > a:hover,
.nav > li > a:focus {
	background-color: inherit;
	outline: none;
}

.navbar-brand {
	padding: 8px;
}

.active-menu {
	background-color: #4e4e4e;
	content: '.';
	display: block;
	height: 5px;
	left: 0;
	position: absolute;
	top: 0;
	transition: all .5 linear;
	width: 1%;
	z-index: 9;
}

.inv .active-menu {
	background-color: #e4e6e5;
}

.special-active-menu {
	z-index: 10;
}

#special-active-menu-1,
#special-active-menu-6 {
	background-color: #4e4e4e !important;
}

#special-active-menu-2 {
	background-color: #1abc9c !important;
}

#special-active-menu-3 {
	background-color: #e74c3c !important;
}

#special-active-menu-4 {
	background-color: #34495e !important;
}

#special-active-menu-5 {
	background-color: #e67e22 !important;
}
.idioma p a {
	color: white !important;
	font-size: 1.3em;
	float: right;
}
.title-row {
		font-size: 45px;
		padding-bottom: 50px;
	}
	
	.line-row .hr {
		background-color: #e4e6e5;
		height: 5px;
		margin: 0 auto;
		width: 33%;
	}
	
	.subtitle-row {
		font-size: 35px;
		padding-bottom: 40px;
		padding-top: 40px;
	}
	
	.content-row {
		padding-top: 45px;
	}
	
	.content-row i,
	#about-row-5 i {
		margin: 0 auto;
		max-height: 100%;
		max-width: 100%;
	}
	
	.content-row h2 {
		font-size: 28px;
		padding-bottom: 10px;
	}
	
	.content-row h4 {
		font-family: 'Roboto',"Titillium Web", sans-serif;
		font-size: 21px;
		font-weight: 300;
		margin-bottom: 40px;
	}

	.content-row h3 {
		font-size: 22px;
		padding-bottom: 10px;
		padding: 0% 4% 0% 4%;
	}
	
	i {
		padding-top: 15px;
		font-size: 60px;
		color: white;
	}

.with-hover-text span {
	display: none;
}

:focus {outline:none;}
::-moz-focus-inner {border:0;}

.slide {
	background-position: center center;
	background-repeat: no-repeat;
	padding-bottom: 65px;
	padding-top: 50px;
	text-align: center;
}


/******* ARROWS ******************/
#arrows {
	bottom: 5%;
	height: 80px;
	position: fixed;
	right: 10%;
	width: 80px;
	z-index: 1000;
	display:none;
}

#arrows div {
	background-image: url('../images/website-arrows.png');
	cursor: pointer;
	height: 30px;
	position: absolute;
	width: 30px;
}

#arrows div.disabled {
	cursor: default;
}

#arrow-up {
	background-position: 30px 0;
	left: 25px;
	top: 0;
}

#arrow-up.disabled {
	background-position: 0 0;
}

#arrow-down {
	background-position: 30px -30px;
	left: 25px;
	bottom: 0;
}

#arrow-down.disabled {
	background-position: 0 -30px;
}

#arrow-left {
	background-position: 30px -60px;
	left: 0;
	top: 25px;
}

#arrow-left.disabled {
	background-position: 0 -60px;
}

#arrow-right {
	background-position: 30px -90px;
	right: 0;
	top: 25px;
}

#arrow-right.disabled {
	background-position: 0 -90px;
}

.navigation-slide {
	cursor: pointer;
}

.panel-footer h2{padding-left: 0px; padding-right: 0px;}
.panel-footer .social p {width: 50%; float: left; text-align: center;}

/******** Contact Form *********/

/* AJAX Gif y mensajes de exito o fracaso */
.hide{display: none;}
.ajaxgif{position: absolute;right: 150px;top: 5px;}
.msg{color: white;font-weight: bold;height: 32px;line-height: 32px;padding: 0 10px;position: absolute;right: -155px;text-transform: uppercase;min-width: 121px;}
.msg_ok{background: #589D05;}
.msg_error{ background: red;}

/* Estilos del formulario */
form.contacto {margin: 25px auto 0;}
form.contacto fieldset {background: white;border: 1px solid #E1E1E1;box-shadow: 0 0 10px #DADADA;-webkit-box-shadow: 0 0 10px #DADADA;-moz-box-shadow: 0 0 10px #DADADA;padding: 25px;}
form.contacto fieldset > div {clear: both;margin-bottom: 20px;overflow: hidden;}
form.contacto fieldset div label {display: block;margin-right: 15px;margin-top: 5px;text-align: center;text-transform: uppercase;width: 100%;}
form.contacto input, form.contacto textarea {background: #F5F5F5;border: 1px solid #E8E8E8;color: #626262;display: block;float: left;padding: 8px;resize: none;width: 100%;-webkit-transition: all 0.1s linear;-moz-transition: all 0.1s linear;}
form.contacto input:focus, form.contacto textarea:focus {background: #F9F9F9;border: 1px solid #D3D3D3;outline: none;}

form.contacto .ultimo{margin-bottom: 0;position: relative}
form.contacto button {background: #444444;border: 0 none;color: #FFFFFF;float: right;font-weight: bold;height: 32px;padding: 0 10px;position: relative;text-transform: uppercase;-webkit-transition: all 0.2s linear;-moz-transition: all 0.2s linear;}
form.contacto button:hover{background: #6A6A6A;}
 
/* AJAX Gif y mensajes de exito o fracaso */
.hide{display: none;}
.ajaxgif{position: absolute;right: 150px;top: 5px;}
.msg{color: white;font-weight: bold;height: 32px;line-height: 32px;padding: 0 10px;position: absolute;right: -155px;text-transform: uppercase;min-width: 121px;}
.msg_ok{background: #589D05;}
.msg_error{background: red;}

form.contacto input.label_error:focus{border: 1px solid red;}

/******** SPACERS *********/
@media (min-width: 401px){

/* Actuen després de la versió de mbl.*/
.spacer5 { height: 5px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer10 { height: 10px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer15 { height: 15px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer20 { height: 20px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer25 { height: 25px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer30 { height: 30px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer35 { height: 35px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer40 { height: 40px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer45 { height: 45px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer50 { height: 50px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer100 { height: 100px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
.spacer200 { height: 200px; width: 100%; font-size: 0; margin: 0; padding: 0; border: 0; display: block; }
}

/******** Aviso IE *********/
#aviso-navegador {visibility:hidden;}


/***************  GENERAL max 400px  Movil************************************/
@media (max-width: 400px){

	.title-row{
		font-size: 34px;
	}
	
	.subtitle-row {
		font-size: 26px;
		padding-bottom: 20px;
		padding-top: 22px;
	}
	.col-12 .icon{
		font-size: 3em;
	}
	.content-row h2 {
		font-size: 22px;
		padding-bottom: 10px;
	}

	.content-row h3 {
		font-size: 18px;
		padding-bottom: 10px;
		padding: 0% 4% 0% 4%;
	}
	.content-row h4 {
		font-family: "Titillium Web", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
		font-size: 16px;
		font-weight: 300;
		margin-bottom: 60px;
	}
	.spacer30{
		height: 0px;
	}
	.thumbnail{
		margin-bottom:15px;
	}
	.contact-row-4 h3{
		font-size: 18px
	}

	.nav li {
		text-align: left;
		white-space: nowrap;
	}
	
	.navbar-responsive-collapse  {
		width: 100%;
	}
	
	.active-menu {
		display: none !important;
	}
	
	.navbar-toggle {
		margin-right: 10px;
	}
	
	.navbar {
		background-color: #e4e6e5 !important;
		padding: 0;
	}
	.navbar .col-12 .icon{
		font-size: 1em;
	}
	
	.navbar .nav a {
		color: #e4e6e5;
		font-size: 16px; 
		padding-left: 0;
	}
	
	.iconh {
		margin-right: 12px;
	}
			
	.nav li[data-slide="1"],
	.nav li[data-slide="6"] {
		background-color: #2f2f2f;
	}
	
	.nav li[data-slide="2"] {
		background-color: #1abc9c;
	}
	
	.nav li[data-slide="3"] {
		background-color: #e74c3c;
	}
	
	.nav li[data-slide="4"] {
		background-color: #34495e;
	}
	
	.nav li[data-slide="5"] {
		background-color: #e67e22;
	}
	
	.navbar-brand {
		margin: 0;
		text-align: left;
	}
}


/***************  GENERAL max 767px ************************************/

@media (min-width:401px) and (max-width: 767px) {
	.content-row h4 {
		width: 70%;
		margin-left: 15%;
	}

	.title-row{
		font-size: 34px;
		padding-bottom: 20px;
	}
	
	.subtitle-row {
		font-size: 26px;
		padding-bottom: 20px;
		padding-top: 26px;
	}

	.col-12 .hi-icon .icon{
		font-size:60px;
	}
	.col-12 .icon{
		font-size: 4em;
	}

	.nav li {
		text-align: left;
		white-space: nowrap;
	}
	
	.navbar-responsive-collapse  {
		width: 100%;
	}
	
	.active-menu {
		display: none !important;
	}
	
	.navbar-toggle {
		margin-right: 10px;
	}
	
	.navbar {
		background-color: #e4e6e5 !important;
		padding: 0;
	}
	.navbar .col-12 .icon{
		font-size: 1em;
	}
	
	.navbar .nav a {
		color: #e4e6e5;
		font-size: 16px;
		padding-left: 0;
	}
	
	.iconh {
		margin-right: 12px;
	}
			
	.nav li[data-slide="1"],
	.nav li[data-slide="6"] {
		background-color: #2f2f2f;
	}
	
	.nav li[data-slide="2"] {
		background-color: #1abc9c;
	}
	
	.nav li[data-slide="3"] {
		background-color: #e74c3c;
	}
	
	.nav li[data-slide="4"] {
		background-color: #34495e;
	}
	
	.nav li[data-slide="5"] {
		background-color: #e67e22;
	}
	
	.navbar-brand {
		margin: 0;
		text-align: left;
	}


	
	.content-row {
		padding-top: 29px;
	}
	
	.content-row h2 {
		font-size: 24px;
		padding-bottom: 26px;
	}
	
	.content-row h4 {
		font-size: 20px;
	}
	.with-hover-text{
		/*
		margin-bottom: 2em;
		margin-top: 1em;
		*/
	}
}



 
 /*************** SLIDE 1 INICIO ************************************/

#slide-1 {
	background-image: url('../images/bg1.jpg');
	color: #ffffff;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
	background-attachment: relative;
	background-position: center center;
}

#slide-1 h1 {
	padding-top: 130px;
}

#home-row-1,
#home-row-2 {
	padding-top: 5px;
}
	
#home-row-1 h1 {
	font-size: 54px;
}

#home-row-1 h4 {
	font-size: 32px;
}

#home-row-2 {
	font-size: 25px;
}
	
#home-row-2 .col-3 { 
	height: 232px;
	padding-top: 30px;
}

#home-row-2 .col-3 .home-hover { 
	height: 100px;
	overflow: hidden;
	padding-top: 26px;
	transition: all ease-in .5s;
}
	
#home-row-2 .col-3 .home-hover:hover {
	height: 100px;
	padding-top: 0;
}

@media (max-width: 767px) {

	.title-row h1{
		font-size: 30px
	}	
	#slide-1 h1 {
	padding-top: 60px;
	}

	#home-row-1,
	#home-row-2 {
		padding-top: 16px;
	}
	
	#home-row-1 h1 {
		font-size: 35px;
	}
	
	#home-row-1 h4 {
		font-size: 21px;
	}
	
	#home-row-2 {
		font-size: 16px;
	}
}

@media (max-width: 600px){
	#slide-1 h1{
		padding-top: 0px;
	}

}
@media (max-width: 400px){
	#home-row-1 h1{
		font-size: 24px;
	}
	#home-row-1 h4{
		font-size: 15px;
	}
	#home-row-2 {
		font-size: 14px;
	}
}


 /***************  SLIDE 2 SOBRE MI ************************************/
#slide-2 {
	background-color: #148f77;
	color: #e4e6e5;
	padding-top: 70px;
}
#slide-2 h2{
	margin-top: 28px;
}

#slide-2 p{
	margin-bottom: 0px;
}


#slide-2 a{
	color: #ffffff;
}



@media (min-width:401px) and (max-width: 767px){

	#slide-2 h4{
		font-size: 20px;
	}
	#slide-2 h2{
		padding: 0px;
	}
	#slide-2 .col-12{
	margin-bottom:30px;	
	}
	#slide-2 h2{
		font-size: 23px;
	}	
}


@media (max-width: 400px){
	#slide-2 h1{
		font-size: 22px;
	}
	.col-12 .hi-icon .icon{
		font-size:60px;
	}
	#slide-2 h2{
		font-size: 23px;
	}

}
 /***************  SLIDE 3 PORTFOLIO ************************************/
#slide-3 {
	background-color: #2f2f2f;
	color: #e4e6e5;
	padding-top: 90px;

}


#slide-3 img {
	display: inline-block;
	width: 101%;
	margin: 0 auto;
	
}

#slide-3 .view {margin: 0 auto;}

#slide-3 .row.portfolio{max-width: 965px; margin: 0 auto;}

#slide-3 .empreses strong {color: #148f77;}

@media (max-width: 1200px) {

}
	
@media (max-width: 767px) {
	#slide-3 .row {
		text-align: center;
		
}
	.thumbnail{
		margin-left: 20%;
		margin-right: 20%;
	}
	.thumbnail img {
		height:auto;
		max-height: 40%;
		max-width: 90%;
		width: aut;}
	
    
	#slide-3 .col-4 .thumbnail{ /*working on*/
		margin: 0%;
		margin-bottom: 10px;
	}
}

@media (max-width: 700px) {  /*Alerta: Canvi de caracterísitques de col-4*/
	#slide-3 .content-row {
		text-align: center;

	}
	#slide-3 .col-4{/*working on*/
		width: 100%;
		max-height: 60%;
		padding-left: 15%;
		padding-right: 15%;
	}
	.thumbnail{
		width: 50%;
		margin-left: 10%;
		margin-right: 10%;
		font-size: 12px;

	}
	.thumbnail h3{
		font-size: 18px;
	}

	#slide-3 .view {float: none;}
}

@media (max-width: 472px) {
	#slide-3 .content-row {
		text-align: center;
		left: 0px !important;
	}
}
 /***************  SLIDE 4 SERVICIOS ************************************/

#slide-4 {
	background-color: #34495e;
	color: #e4e6e5;
	padding-top: 90px;
	width: 100%;

}
#slide-4 .content-row {
		padding-top: 20px;
}

#slide-4 ul{
	font-size: 20px;
	margin-right: 30px;
	margin-left: 30px;
	margin-top: 30px;
	margin-bottom: 30px;

}

 /***************  SLIDE 5 CONTACTO ************************************/

#slide-5 {
	background-color: #e4e6e5;
	color: #2f2f2f;
	padding-top: 200px;
	padding-bottom: 200px;
}

#slide-5 .content-row {
	padding-top: 50px;
	color:#666666;
	padding-bottom: 50px;
}

#slide-5 .content-row h2 { font-size: 26px;}

#slide-5 .content-row p {
	color: #148f77;
}

.panel-footer { 
  margin: 35px 55px 35px 55px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
}

.panel-footer p {
 font-size: 18px;

}

#slide-5 .social {width: 60%; display: inline-block; margin-top: 4px;}

.panel-footer i {
 font-size: 37px;
 color: #B7B7B7;
 text-align: right;
}

.panel-footer .social .col-sm-6:first-child p {
	text-align: right;
}
.panel-footer .social .col-sm-6{
	text-align: left;
}

.panel-footer a:hover{
	text-decoration: none;
} 
.panel-footer i:hover {
 font-size: 37px;
text-decoration: none;
color: #f39c12;
transition: ease-in 0.2s
}


.contact-row-4 {
	padding-top: 0px;
}


.contact-row-4 .col-12 {
	height: 150px;
	overflow: hidden;
	padding-top: 20px;
	transition: all ease-in .5s;
}

	
.contact-row-4 img {
	display: block;
	margin: 0 auto;
	max-height: 100%;
	max-width: 100%;
}
	
/*
.contact-row-4 .col-12:hover {
	height: 175px;
	padding-top: 30px;
}
*/	
.contact-row-4 .col-12 .hover-text {
	display: none;
	font-size: 20px;
}

@media (max-width: 767px) {  
	#slide-5  h2 {
		font-size: 24px;

	}
	#slide-5 .social .col-12 p{
		smargin-bottom: 20px;
	}
	.navbar-fixed-top {display: none;}

	#home-row-2 .col-3{padding:0;}
	#home-row-2 .col-3 .home-hover {height: 70px;}

}

@media (max-width: 550px) {  

	.panel-footer {margin: 30px auto;}

}




 /***************  SLIDE 6 FOOTER ************************************/


#footer{
	background-color: #148f77;
	color: #e4e6e5;
	padding-bottom:20px; 	
}

.