/* ======== */
/* WEBFONTS */
/* ======== */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Regular.eot');
  src: url('../fonts/open-sans/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/open-sans/OpenSans-Regular.woff') format('woff'),
       url('../fonts/open-sans/OpenSans-Regular.ttf') format('truetype'),
       url('../fonts/open-sans/OpenSans-Regular.svg#OpenSansRegular') format('svg');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Light.eot');
  src: url('../fonts/open-sans/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/open-sans/OpenSans-Light.woff') format('woff'),
       url('../fonts/open-sans/OpenSans-Light.ttf') format('truetype'),
       url('../fonts/open-sans/OpenSans-Light.svg#OpenSansLight') format('svg');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-LightItalic.eot');
  src: url('../fonts/open-sans/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/open-sans/OpenSans-LightItalic.woff') format('woff'),
       url('../fonts/open-sans/OpenSans-LightItalic.ttf') format('truetype'),
       url('../fonts/open-sans/OpenSans-LightItalic.svg#OpenSansLightItalic') format('svg');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Bold.eot');
  src: url('../fonts/open-sans/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/open-sans/OpenSans-Bold.woff') format('woff'),
       url('../fonts/open-sans/OpenSans-Bold.ttf') format('truetype'),
       url('../fonts/open-sans/OpenSans-Bold.svg#OpenSansBold') format('svg');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-BoldItalic.eot');
  src: url('../fonts/open-sans/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/open-sans/OpenSans-BoldItalic.woff') format('woff'),
       url('../fonts/open-sans/OpenSans-BoldItalic.ttf') format('truetype'),
       url('../fonts/open-sans/OpenSans-BoldItalic.svg#OpenSansBoldItalic') format('svg');
  font-weight: 700;
  font-style: italic;
}

/* ============= */
/* COMMON STYLES */
/* ============= */
body {
	margin-top: 90px;
	background-color: #e3e3e3;
	color: #09304f;
	font-size: 16px;
	line-height: 24px;
	font-family: "Open Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
}
h1 {
	font-size: 85px;
	line-height: 1;
	font-weight: 300;
	text-transform: uppercase;
}
h2 {
	padding-bottom: 50px;
	font-size: 50px;
	line-height: 1;
	color: #09304F;
	text-align: center;
	text-transform: uppercase;
}
h3 {
	font-size: 36px;
	line-height: 1;
	font-weight: 300;
	text-align: left;
	margin: 20px 0 30px 0;
}
h4 { 
	font-size: 28px;
	line-height: 1.3;
}
hr {
	border-top: 1px solid #09304f;
	border-bottom: 1px solid white;
}
input, button, select, textarea {
	font-family: "Open Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
}
.btn {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.muted {color: #a2b6c8; }
.col-centered {
	margin: 0 auto !important;
	float: none !important;
}

/* GALLERIA OVERRIDING STYLES */
/* ========================== */
.blueimp-gallery {
	background: #09304F !important;
}
.blueimp-gallery > .prev, .blueimp-gallery > .next {
	font-family:  "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 40px !important;
	color: #3C74B7 !important;
	background: #ffffff !important;
	opacity: 1 !important;
}
.blueimp-gallery > .close {
	font-size: 60px !important;
	color: #CE0011 !important;
	text-shadow: none !important;
}

/* CUSTOM CONTAINER */
/* ================ */
.container {
	margin: 0 auto;
	max-width: 1000px;
}
.container > hr {
	margin: 40px 0;
}

/* NAVBAR */
/* ====== */
a.brand { text-transform: uppercase; }
.navbar, .navbar-inverse, .navbar a, .navbar-inverse a,
.navbar a::before, .navbar-inverse a::before,
.navbar a::after, .navbar-inverse a::after {
	font: 18px/70px 800 "Open Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
}
.navbar-inverse .brand, .navbar-inverse .nav > li > a {
	/*font: 18px/70px bold "Museo Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;*/
	font-size: 18px;
	line-height: 70px;
	color: #ffffff;
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}
.navbar-inverse .nav > li > a::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 2px;
	background: #CE0011;
	content: '';
	opacity: 0;
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	transform: translateY(-30px);
}
.navbar-inverse .nav > li > a:hover::after,
.navbar-inverse .nav > li > a:focus::after {
	height: 2px;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}
.navbar .nav > li > a {	padding: 10px 42px 10px; transition: .7s; }
/*.navbar .nav > li > a:hover { text-decoration: underline; border-bottom: 2px solid #CE0011; }*/

.navbar-inverse .btn-navbar{
	background: #174b79;
}
.navbar-inverse .btn-navbar:hover{
	background: #133d63;
}
/* Fix para el hover negro en hamburguesa mobile */
.navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .nav > li > a:focus, .navbar-inverse .nav-collapse .dropdown-menu a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:focus {
	background: #133d63 !important;
}

.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus {
	background-color: #264B78;
	/*text-decoration: underline;*/
	/*box-shadow: none;*/
	border-bottom: 2px solid #CE0011;
}
.navbar.navbar-inverse.navbar-fixed-top .navbar-inner {
	background-color: #3C74B7;
	border-color: transparent;
	background-image: none;
	border-bottom: none;
	text-transform: uppercase;
}

/* FOOTER */
/* ====== */
.row-fluid.footer { background-color: #254b78; padding: 30px 0; font-size: 14px; }
.row-fluid.footer a { color: #a2b6c8; }
.row-fluid.footer > .row-fluid.container > .span8 a { margin: 0 30px; }
.row-fluid.footer > .row-fluid.container > .span8 a.brand > img.logo { margin-right: 20px; max-width: 85px;}
.row-fluid.footer > .row-fluid.container > .span6 a { margin: 0 5px; line-height: 30px; }
.row-fluid.footer > .row-fluid.container > .span6 p { line-height: 30px; }

/* ============ */
/* SECCION HOME */
/* ============ */
.jumbotron {
	height: 500px;
	text-align: center;
	background: #ffffff url('../img/martin_head-alt.jpg') center center fixed;
	background-size: 100%;
	background-repeat: none;
	/*position: static;*/
	top: 0;
	left: 0;
	min-width: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	overflow: hidden;

	-webkit-box-shadow: inset 0px 0px 20px 00px #000;
	box-shadow: inset 0px 0px 20px 00px #000;
}
.jumbotron h1 {
	padding-top: 125px;
	/*font-size: 85px;*/
	line-height: 1;
	color: #ffffff;
}
.jumbotron .lead {
	color: #ffffff;
	font-size: 24px;
	line-height: 1.25;
}
.jumbotron .btn {
	font-size: 21px;
	padding: 14px 24px;
}
.isologo {
	position: relative;
	top: -50px;
}
.isologo img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
	padding-right: 0;
	padding-left: 0;
}
img.img-rounded.thumbnail {
	margin: 0 auto;
	border: none;
	-webkit-border-radius: none;
	-moz-border-radius: none;
	border-radius: none;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.clientes img { margin: 0 7px 20px 7px; }
.links { padding-top: 60px; padding-bottom: 4px; }
#links.links a img { width: 100px; height: 65px; margin-top: 4px; float: none; }

/* ================= */
/* SECCION SERVICIOS */
/* ================= */
body.servicios { background-color: #254b78; color: #ffffff; }
.servicios > .jumbotron { 
	height: 500px;
	text-align: center;
	background: #254b78 url('../img/martin_head-serv3.jpg') center top fixed;
	background-size: 100%;
	background-repeat: none;
	/*position: static;*/
	top: 0;
	left: 0;
	min-width: 100%;
	margin-bottom: 70px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	overflow: hidden;

	-webkit-box-shadow: inset 0px 0px 20px 00px #000;
	box-shadow: inset 0px 0px 20px 00px #000;
}
.servicios h1 { margin: 45px 0; }
.servicios h3 { text-align: left; }
.servicios h4 {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.servicios p { line-height: 1.5; font-size: 16px; font-weight: 300; }
/*.servicios img { width: 100%; }*/
/*.servicios .container .row-fluid { margin-top: 60px; margin-bottom: 30px; }*/
.servicios .well {
	padding-top: 120px;
	padding-bottom: 120px;
	border: 0;
	-webkit-border-radius: 0px;
	    border-radius: 0px;
}
.servicios .span12.well.inverse {
	margin-top: 60px;
	background: #da4f49 url('../img/martin_serv.jpg') no-repeat center center fixed;
	color: #ffffff;
	text-shadow: 0px 3px 3px #000000;
    	filter: dropshadow(color=#000000, offx=0, offy=3);
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.servicios .container .row-fluid.negative15 { margin-top: 15px; }
.servicios .links {
	padding-top: 0px;
}
.cbp-so-side.cbp-so-side-left.martin-serv-m {
	margin-left: 0;
	padding-left: 0;
}
.cbp-so-side.cbp-so-side-left.martin-serv-m img {
	
}
.servicios p.lead {
	font: 2em "Open Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
	font-weight: 300;
	margin-bottom: 80px;
}

.cbp-so-scroller {
	margin-top: 3em;
	overflow: hidden;
}

.cbp-so-section {
	margin-bottom: 5em;
}

/* Clear floats of children */
.cbp-so-section:before,
.cbp-so-section:after {
	content: " ";
	display: table;
}

.cbp-so-section:after {
	clear: both;
}

/* Text styling */
.cbp-so-section h2 {
	font-size: 5em;
	font-weight: 300;
	line-height: 1;
}

.cbp-so-section p {
	font-size: 2em;
	font-weight: 300;
}

/* Sides */
.cbp-so-side {
	width: 40%;
	float: left;
	margin: 0;
	padding: 3em 4%;
	overflow: hidden;
	min-height: 12em;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	-moz-transition: -moz-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

/* Clear floats of children */
.cbp-so-side:before,
.cbp-so-side:after {
	content: " ";
	display: table;
}

.cbp-so-side:after {
	clear: both;
}

.cbp-so-side-right {
	text-align: left;
}

.cbp-so-side-left {
	text-align: right;
}

.cbp-so-side-right img {
	float: left;
}

.cbp-so-side-left img {
	float: right;
}

/* Initial state (hidden or anything else) */
.cbp-so-init .cbp-so-side {
	opacity: 0;
}

.cbp-so-init .cbp-so-side-left {
	-webkit-transform: translateX(-80px);
	-moz-transform: translateX(-80px);
	transform: translateX(-80px);
}

.cbp-so-init .cbp-so-side-right {
	-webkit-transform: translateX(80px);
	-moz-transform: translateX(80px);
	transform: translateX(80px);
}

/* Animated state */
/* add you final states (transition) or your effects (animations) for each side */
.cbp-so-section.cbp-so-animate .cbp-so-side-left,
.cbp-so-section.cbp-so-animate .cbp-so-side-right {
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
	opacity: 1;
}

 /*For example, add a delay for the right side:*/
.cbp-so-section.cbp-so-animate .cbp-so-side-right {
	-webkit-transition-delay: 0.2s;
	-moz-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/* ================== */
/* SECCION LOCACIONES */
/* ================== */

/* RESPONSIVE MAP FIX FOR BOOTSTRAP */
/* ================================ */
#map-canvas {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
#map-canvas iframe,   
#map-canvas object,  
#map-canvas embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#map-canvas img { max-width: none !important; }
#map-canvas .foto {
	width: 200px;
	height: 200px;
	background: lightgrey;
	position: absolute;
	right: 0;
	top: 20px;
	overflow: hidden;
}
#map-canvas .foto img {
	max-height: 200px;
}

#map-canvas .caracteristicas{ 
	position: relative; 
	min-height:200px;
	margin-top: 20px;
	padding: 20px 0 5px;
	border-top: 1px solid #09304F;
	min-width: 630px;
}

#map-canvas .map-content ul{ max-width: 420px; list-style: none; margin: 0;}
#map-canvas .map-content ul li{	margin-top: 8px; }

/* CUSTOM INFOWINDOW */
/* ================= */
#map-canvas h3 { font-size: 28px; font-weight: bold; }
#map-canvas h4, #map-canvas .medidas { display: inline; }
/*#map-canvas, #map-canvas p { font-family: "Museo Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif; }*/
#map-canvas p { font-size: 13px; }
#map-canvas .medidas { font-size: 18px; }
#map-canvas sup { top: -25px; font-size: 13px;}
#map-canvas i { margin-right: 5px; }
#map-canvas i.icon-location-arrow { color: red; }
#map-canvas i.icon-lightbulb { color: #c09853; }
#map-canvas i.icon-check { color: #468847; }
#map-canvas img.auto, #map-canvas img.peaton {
	width: 18px;
	height: 18px;
	vertical-align: middle;
	padding-bottom: 10px;
}

/* ================ */
/* SECCION CONTACTO */
/* ================ */
.container > .well{
	overflow: hidden;
	position: relative;
}
.container > .well h3,
.container > .well p.lead{
	margin-left: 30px;
}
.container > .well .status{
	color: #3C74B7;
	display: none;
	font-size: 26px;
	line-height: 28px;
	margin: 12% auto 0;
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	max-width: 540px;
}
.container > .well .span9 > .row > .btn.btn-success.pull-right {
	font-size: 21px;
	padding: 14px 24px;
}
.container > .span4 > address > p.tel {
	font-family: "Open Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
	font-size: 100px;
	line-height: 1;
	margin: 10px 0;
	font-weight: 700;
	color: inherit;
	text-rendering: optimizelegibility;
}
.container .llamar.btn {
	margin: 0 auto;
	left: 0;
	right: 0;
	display: none;
	visibility: hidden;
}
.form-contacto{
	position:relative;
	
}
.form-contacto .span4.left,
.form-contacto .span5{
	position:relative;
}
.error {
	font-family: sans-serif;
	font-size: 14px;
	background: #FFF;
	padding: 5px 10px;
	position: absolute;
	right: 0;
	border: 1px solid #CCC;
	-webkit-box-shadow: 0px 1px 3px #999;
	-moz-box-shadow: 0px 1px 3px #999;
	box-shadow: 0px 1px 3px #999;
	margin-top: -5px;
	margin-right: 15px;
	
}
.error:after,
.error:before {
	content: "";
	width: 0px;
	height: 0px;
	display: block;
	position: absolute;
	top: -11px;
	left: 10px;
	border-bottom: 10px solid #CCC;
	border-left: 10px solid rgba(0, 0, 0, 0);
	border-right: 10px solid rgba(0, 0, 0, 0);
}
.error:before {
	border-bottom: 10px solid #FFF;
	z-index: 5;
	top: -10px
}


/* ============ */
/* MEDIAQUERIES */
/* ============ */
@media (max-width: 767px) {
	.btn.btn-success.pull-right {
		display: block;
		width: 100%;
		padding-right: 0;
		padding-left: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}
@media (max-width: 760px) {
	.span6.spacer img {
		margin-top: 25px;
	}
	.servicios p.lead {
		font-size: 1.5em;
	}
	.martin-serv-m {
		display: none;
		overflow: hidden;
	}
	.cbp-so-section figure {
		display: none;
		overflow: hidden;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	h1, .container > .span4 > address > p.tel { font-size: 65px; }
	.jumbotron { 
		height: 580px;
		box-shadow: none;
	}
}
@media (max-width: 979px) {
	h1, .container > .span4 > address > p.tel { font-size: 48px; }
	h2 {
		font-size: 32px;
		line-height: 1.3;
		padding: 40px 0;
	}
	.navbar .btn-navbar { margin: 30px 30px 0 0; }
	.jumbotron { 
		height: 580px;
		box-shadow: none;
	}
	.jumbotron h1 { 
		padding-top: 170px;
	}
	.row-fluid.footer {
		width: auto;
	}
	.row-fluid.footer > .row-fluid.container > .span8 {
		margin: 20px 0;
	}
	.row-fluid.footer > .row-fluid.container > .span8 a {
		margin: 0 10px;
	}
	.row-fluid.footer > .row-fluid.container > .span4 p.pull-right {
		float: left;
	}
	.row-fluid.footer > .row-fluid.container > .span4 a i {
		font-size: 2em;
	}
	.row-fluid.footer > .row-fluid.container > .span4 a:hover {
		text-decoration: none;
	}
	.servicios { margin-top: 0px; }
	.martin-serv-m {
		position: relative;
		width: 70%;
	}

	.cbp-so-scroller {
		margin-top: 0;
	}
	.cbp-so-side {
		width: 92%;
		min-height: 0;
		padding: 0;
		padding-bottom: 20px;
		-webkit-transition: none;
		-moz-transition: none;
		-ms-transition: none;
		-o-transition: none;
		transition: none;
	}
	.cbp-so-section {
		margin-bottom: 0;
	}
	.cbp-so-section p {
		font-size: 1em;
	}
	.cbp-so-side-left {
		text-align: left;
	}
}
@media (max-width: 480px) {
	h1, .container > .span4 > address > p.tel { 
		font-size: 36px;
		font-weight: normal; 
	}
	h2 { 
		font-size: 24px; 
	}
	.brand img {
		max-width: 80%;
	}
	.isologo {
		top: 30px;
	}
	.isologo img {
		max-width: 50%;
	}
	.navbar .btn-navbar {
		margin: 30px 0 0;
	}
	.jumbotron { 
		height: auto;
	}
	.jumbotron h1 {
		padding: 60px 0;
	}
	.jumbotron .lead {
		font-size: 21px;
	}
	.jumbotron .btn {
		margin-bottom: 40px;
	}
	.servicios-head h3 {
		font-size: 36px;
	}
	.servicios > .jumbotron {
		height: auto;
	}
	.btn.btn-success.pull-right {
		display: block;
		width: 100%;
		padding-right: 0;
		padding-left: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.row-fluid.footer > .row-fluid.container > .span8 a {
		clear: both;
		float: left;
		padding: 10px;
	}
	.row-fluid.footer > .row-fluid.container > .span4 {
		clear: both;
		padding: 20px;
	}
	.row-fluid.footer > .row-fluid.container > .span4 p {
		margin-right: 30px;
	}
	.row-fluid.footer > .row-fluid.container > .span4 p.pull-right {
		float: left;
	}
	#map-canvas { 
		height: 190px; 
	}
	.container .llamar.btn {
		display: inline;
		visibility: visible;
		font-size: 30px;
	}
	.container > .span4 > address > p.tel { display: block; visibility: hidden; }

}