@import url('https://fonts.googleapis.com/css?family=Cabin+Condensed:400,700');

#factory p,
#factory span,
#factory a{
	font-family: Arial, sans-serif;
}

#factory h1, 
#factory h2,
#factory h3,
#factory h4,
#factory .nav-tabs > li > a{
	font-family: 'Cabin Condensed', sans-serif;
	color: #003b6a;
}

#factory h4{
	color: #003b6a;
}

#factory h1{
	font-size: 35px;
	font-weight: 700;
}

#factory .carousel .item .carousel-caption{
	top: 5px;
	text-transform: uppercase;
}

#factory h2{
	font-size: 26px;
	font-weight: 700;
	color: #003b6a;
}

#factory h3{
	font-size: 18px;
	font-weight: 700;
}

#factory a{
	color: #4c90cd;
}

#factory a:hover{
	color: #23527c;
	text-decoration: none;
}

#factory .container.border{
	border: 1px solid rgba(0,0,0,0.2);
	box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.1);
    padding-bottom: 40px;
}


/* Header */
#factory .header{
	height:135px;
	margin-top:20px;
}

#factory .logo{
	display: block;
	width: auto;
	height: 103px;
	position: absolute;
	top: 29px;
	left: 32px;
	box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
}

#factory .header > div{
	display: inline-block;
	width: 100%;
	height: 41px;
	margin-top: 27px;

	background: rgb(0,48,75); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(76,144,205,1) -100%, rgba(0,48,75,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, rgba(76,144,205,1) -100%,rgba(0,48,75,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgba(76,144,205,1) -100%,rgba(0,48,75,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c90cd', endColorstr='#00304b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#factory .header > div h2{
	color: white;
	font-weight: 400;
	line-height: 5px;
    margin-left: 196px;
}


/* Slider */
#factory .carousel.slide{
	margin-bottom: 20px; 
}

/* CSS - Tab Menu */





#factory .nav-tabs{
	border-bottom: none;
    border-bottom-color: #257BB3;
}

#factory .nav-tabs > li > a{
    border-radius: 0px;
    /*border: 1px solid #4c90cd;*/
    border: 1px solid rgba(76, 144, 205, 0.8);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-color: none;
    background-color: #4c90cd;
    color: #fff;
    box-shadow: inset 0px -4px 1px 0px rgba(0,0,0,0.2);

}

#factory .nav-tabs > li.active > a,
#factory .nav-tabs > li.active > a:hover,
#factory .nav-tabs > li.active > a:focus{
    /*color: #fff;*/
    /*border-color: #257bb3;
    background-color: #257bb3;*/
    /*border-color: #4c90cd;
    background-color: #4c90cd;*/
    /*border-color: #4c90cd;*/

    border: 1px solid rgba(76, 144, 205, 0.8);
    background-color: #fff;
    border-bottom-color: #fff;
    color:#4c90cd;
    z-index: 5000;
    box-shadow: none;
    font-weight: 700;
}

#factory .nav-tabs > li > a:hover {
	border: 1px solid rgb(76, 144, 205);
	background-color: #fff;
 
    color:#4c90cd;

}

#factory .tab-content p{
	font-size:13px;
}


#factory .tab-content > div{
	/*border: 1px solid #4c90cd;*/
	border: 1px solid rgba(76, 144, 205, 0.5);
	padding: 30px 20px;
}


#factory .imagem-perfil{
	height: 200px;
	overflow: hidden;
}

#equipa ul li h4{
	margin-top: 0px;
	color: #003b6a;
	font-weight: 700;
}

#equipa ul li{
	padding-top: 5px;
	padding-bottom: 5px;
}

#equipa ul li:first-child{
	padding-top: 0px;
	padding-bottom: 15px;
}

#equipa a i, #campanhas a i {
    padding-right: 5px;
    vertical-align: text-top;
}

/*---- Contactos -----*/

#contact .btn-submit {
	background: #4c90cd;
    border: 2px solid #4c90cd !important;
}

#contact .btn-submit:hover {
	color: #4c90cd !important;
    border-color: #4c90cd !important;
}

/*--------------------*/

/*-------- Serviços ---------*/
#factory .image-subtitle{
	margin-top: 10px;
    margin-bottom: 30px;
    font-size: 12px
}

/*-------- Campanhas -------*/
#factory .text-content{
    margin: 20px 0px;
    padding: 0px 10px;
}


#campanhas img{
	border: 1px solid rgba(0,0,0,0.5);
}




#factory .carousel .carousel-control.left,
#factory .carousel .carousel-control.right {
    background: #4c90cd;
    border-color: #4c90cd;
    color: #fff;
}

#factory .carousel .carousel-control.left:hover,
#factory .carousel .carousel-control.right:hover {
    background: #fff;
    color: #4c90cd;
}





#factory .footer {
    color: #808285;
	margin-top: 30px;
}


#factory .footer p,
#factory .footer a,
#factory .footer li,
#factory .footer span{
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 25px;	
}

#factory .footer h1,
#factory .footer h2,
#factory .footer h3,
#factory .footer h4,
#factory .footer h5,
#factory .footer h6{
	font-family: Arial, sans-serif;
	margin-top:0px;
	margin-bottom:10px;
	color: #808285;
	font-size: 14px;
	line-height: 20px;	

}

#factory .footer ul{
	padding-left: 14px;
}

#step-1 a{
	color: #555555;
}

#factory .glyphicon{
	font-family: 'Glyphicons Halflings';
}

#factory .appointment{
	padding-top: 20px;
}



@media screen and (max-width: 991px){
	#servicos img:first-child{
		margin-top: 30px;
	}
}

@media screen and (max-width: 768px){
	.sidebar .appointment textarea{
		margin-bottom: 15px;
	}

	
}