/* Body */
html,
body {
	width: 100%;
	height: 100%;
}

body {
	font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

section {
	padding: 50px 0 100px 0;
}

hr.small {
	border-width: 3px;
	border-color: #337AB7;
	max-width: 300px;
	margin-bottom: 100px;
}

h2,h3,h4 {
	color: #337AB7;
}

p {
	font-size: 16px;
}

.bg-primary h2,.bg-primary h3,.bg-primary h4 {
	color: #eee;
}

.bg-primary hr.small {
	border-color: #eee;
}

/* Navbar */
.navbar-fixed-top {
	height: 50px;
	background-color: #337ab7 !important;
	transition: background-color 400ms linear;
}

.navbar-fixed-top a {
	color: white;
	text-shadow: 1px 1px black;
	font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	font-weight: 700;
}

.navbar-fixed-top-scrolled {
	background-color: #337ab7 !important;
	transition: background-color 400ms linear;
	border-bottom: 1px white;
}


#mainNav button {
	color: #fff;
}

header {
	margin-top: 50px;
}

/* Name Header */
.text-vertical-center {

	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-family: 'Merriweather';
}

.text-vertical-center h1 {
	margin: 0;
	margin-top: -65px;
	padding: 0;
	font-size: 4.5em;
	font-weight: 700;
	text-shadow: 2px 2px #ddd;
	height: 40%;
}

.header {
	display: table;
	position: relative;
	width: 100%;
	height: 100%;
	background: url(../img/header_720.jpg) no-repeat center center scroll;
	color: black;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}

/* Buttons */
.btn-dark {
	border-radius: 0;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.4);
	text-shadow: 2px 2px black;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.7);
}

.btn-light {
	border-radius: 0;
	color: #333;
	background-color: rgb(255, 255, 255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
	color: #333;
	background-color: rgba(255, 255, 255, 0.8);
}

#services button {
	width: 200px;
}

.service-item {
	margin-bottom: 30px;
}

.productCss-item {
	margin-bottom: 30px;
	cursor: pointer;
}

.img-productCss {
	margin: 0 auto;
}

.img-productCss:hover {
	opacity: 0.8;
}

.img-portfolio {
	border: 3px solid #eee;
}

/* Equipa */
.img-thumbnail {
    border-color: #337AB7;
    padding: 0;
    border-width: 3px;
    border-radius: 0;
}

/* Modals */
.item-active>img {
	border: none;
}

/* Contactos */
.form-group {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

.form-btn {
	width: 200px;
	border-radius: 300px;
	font-weight: 700;
	text-transform: uppercase;
	color: #040707;
	background-color: #fff;
	border: 1px solid #fff;
	padding: 10px 30px;
	transition: all 0.3s ease-in-out;
}

.form-btn:hover {
	color: #FFF;
	background: transparent;
	border: 1px solid #FFF;
}

.form-btn:active {
	color: #040707;
	background-color: #fff;
	border: 1px solid #fff;
}

.form-btn:focus,
.form-btn:active {
	outline: none !important;
}

.mapa {
	height: 350px;
	width: 100%;
	margin: 0 0 20px 0;
}

.social {
	margin-top: 20px;
	margin-bottom: 20px;
}

.social div {
	margin-bottom: 10px;
}

.social a {
	text-decoration: none;
	color: #fff;
}

.social p {
	color: #fff;
	margin-top: 12px;
	margin-bottom: 60px;
}

form legend {
	border: none;
	text-transform: uppercase;
	margin: -5px 0;
	font-size: 25px;
	font-weight: bold;
	color: #fff;
}

form hr {
	margin: 12px auto -8px auto;
	min-width: 280px;
	border-color: #fff;
	border: 0;
	border-top: 1px solid #fff;
}

form div:nth-of-type(6) {
	margin-top: 38px;
}

form textarea {
	resize: none;
}

/* Footer */
footer {
	padding-bottom: 50px;
}

/* Media Queries */
@media (max-width: 768px) {
	.img-responsive {
		display: inline-block;
		height: 256px;
		width: 354px;
	}

	#services>.container>.row .row>div:nth-child(2),
	#services>.container>.row .row>div:nth-child(3) {
		margin-top: 20px;
	}
}

.contactform {
	margin-right: 8%;
	margin-left: 8%;
}

.navbar-header,
.navbar-collapse {
	background: #337ab7;
}

.navbar-collapse {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
}

@media (max-device-width:768px) and (orientation: portrait){
	#carousel img{
		width: auto;
		height: 50vh;
		margin-left: -140px;
		max-width: unset;
	}
}

@media (max-device-width:641px) and (orientation: portrait){
	#carousel img{
		margin-left: -230px;
	}
}

@media (max-device-width:480px) and (orientation: portrait){
	#carousel img{
		margin-left: -350px;
	}
}
@media (max-device-width:375px) and (orientation: portrait){
	#carousel img{
		margin-left: -300px;
	}
}

@media (max-device-width:320px) and (orientation: portrait){
	#carousel img{
		margin-left: -250px;
	}
}


.box-picture {
	display: block;
	width: 100%;
	height: 18rem;
	overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	/*background-color: #337AB7;
    border: 3px solid #337AB7;*/
}

.contact-section-margin{
	margin-bottom:-90px;
}

.contact-label-size{
	font-size:11px;
}

.contact-label-position{
	position:absolute;
}

.contact-label-margin{
	margin-top: -55px;
	margin-left: -79px;
}