/* BODY */
body {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: #5a5a5a;
	padding-bottom: 40px;
	position: relative;
}
/* OUTLINE */
a, a:active, a:focus, a:hover,
button:focus {
	outline: 0;
}

.btn.focus, .btn:focus {
    outline: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
}

:focus {
	outline: none;
}
::-moz-focus-inner {
	border: 0;
}
/* H1, H2, H3, H4, H5 */
h2 {
	border-bottom: 1px solid #d1d1d1;
	margin-bottom: 20px;
}

.contacto h2 {
	margin-bottom: 0;
}

h2::after {
	content: "\e114";
}
h2::after {
	font-family: 'Glyphicons Halflings';
	float: right;
	font-size: 18px;
	line-height: 40px;
	color: #ccc;
}
h2 > .section-title {
	border-bottom: 1px solid #ababab;
	color: #7E0227;
}
/* BOTONES */
.btn-primary {
	background-color: #02657E;
	border-color: #02657E;
}
.btn-primary:hover {
	background-color: #004D60;
	border-color: #004D60;
}
/* FORM ELEMENTS */
textarea {
	resize: none;
}
/* all */
::-webkit-input-placeholder, 
::-moz-placeholder , 
:-ms-input-placeholder, 
input:-moz-placeholder { 
	font-family: 'Open Sans', sans-serif;
	color: #5a5a5a; 
	font-size: 10px;
}
/* MISC */
.rgb-7E0227 {
	color: #7E0227;
}
.divisor {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 2px solid #CCC;
}
.ornamento-1 {
	width: 100%;
	height: 20px;
	margin: -6px auto 0;
	background: url('../images/ornamento_1.gif') bottom center no-repeat;
	margin-bottom: 20px;
	clear: both;
}
.row.final {
	margin: 20px 0;
	border-top: 2px solid #CCC;
}

/* NAV BAR */
.fixed-top {
	background: #FFF;
	padding: 10px 0 18px;
}
.navbar-nav li > a:focus { 
	background: #FFF; 
	color: #000; 
}
.navbar-nav li > a { 
	color: #000 !important; 
	font-weight: 700; 
	padding: 7px 15px !important; 
	margin-right: 1px; 
}
.navbar-nav li > a:hover,
.navbar-nav li > a.active,
.navbar-nav li > a.active:focus { 
	background: #7E0227; 
	color: #FFF!important; 
	border-radius: 4px; 
}

.sombra-bordes .sombra-izq {
	float: left;
	width: 195px;
	height: 25px;
	background: url('../images/sombra_menu_izq.png') no-repeat bottom left / cover;
}
.sombra-bordes .sombra-der {
	float: right;
	width: 195px;
	height: 25px;
	background: url('../images/sombra_menu_der.png') no-repeat scroll bottom right / cover;
}

.navbar {
	border-bottom: 1px solid #7E0227;
}
/* LOGO */
.navbar-brand {
	width: 200px;
	height: 79px;
	background: url('../images/logo.jpg') top left no-repeat;
        background-size: cover;
	margin: 5px 0;
	padding: 0;
}
/* MENU PRINCIPAL */
.navbar-nav{
	margin: 30px 0 0;
	padding: 0;
	color: #000;
}
/* DISPARADOR MENU MOBILE */
.navbar-light .navbar-toggler {
	border: 0;
}

/* CAROUSEL */
.carousel {
	padding-top: 118px;
}

.carousel .carousel-inner {
	background-color: #7E0227;
}

.carousel .carousel-indicators {
	bottom: 10px;
}

/* NAVEGACION PRINCIPAL */
.navbar-inverse .navbar-nav > li > a {
	font-weight: 700;
	color: #FFF;
}
/* ESTUDIO */
.seccion.estudio {
	margin: 50px auto;
}
.seccion.estudio .row {
	margin-bottom: 20px;
}
.diferencial {
	margin-top: 20px;
	border-bottom: 2px solid #CCC;
}
.diferencial h3 {
	border-bottom: 1px dashed #CCC;
	padding: 10px 0;
	font-family: 'Courgette', cursive;
	font-size: 30px;
	color: #bbb;
}
.diferencial p {
	margin: 30px 0px 30px;
	padding: 0 0 0 25px;
	font-family: 'Merriweather', serif;
	border-left: 10px solid #02657E;
}
/* SERVICIOS */
.seccion.servicios {
	margin-bottom: 60px;
}
.seccion.servicios ul {
	margin: 20px 0;
	padding: 0 0 20px;
	list-style-type: none;
}
.seccion.servicios ul  li {
	position:relative;
	padding-bottom: 15px;
}
.seccion.servicios ul  li:before {
	content: '\e080';
}
.seccion.servicios ul  li:before {
	font-family: 'Glyphicons Halflings';
	font-size: 9px;
	font-weight: 500;
	position: absolute;
	top: 3px;
	color: #02657E;
}
.seccion.servicios ul  li span {
	padding: 0px 0px 0px 15px;
	display: inline-block;
}
.seccion.servicios .row {
	margin-bottom: 20px;
}
.seccion.servicios 
/* CONTACTO */
.seccion.contacto .row {
	margin-bottom: 20px;
}
.mapas iframe {
	
}
.seccion.contacto .row.urgencias {
	margin: 20px 0;
}

.seccion.contacto .urgencias .jumbotron p {
	font-size: 16px;
}

.seccion.contacto .urgencias .jumbotron p:last-child{
	margin: 0;
}

.seccion.contacto .urgencias .jumbotron {
	padding: 30px;
	margin: 15px 0;
	background: #FFF;
	border: 5px solid #EEE;
	border-radius: 0;
}

.contacto-header h3,
.urgencias-header h3 {
	font-size: 24px;
	font-weight: 700;
	color: #02657E;
}
.urgencias-header h3:before {
	content: '\e023';
}
.urgencias-header h3:before {
	font-family: 'Glyphicons Halflings';
	display: inline-block;
	position: relative;
	top: 2px;
	margin: 0 10px 0 0;
	font-weight: 500;
}

.contacto-header p {
	margin-bottom: 0;
}
.contacto-form {
	padding: 0 0 0 15px;
}
.contacto-form .form-control {
    border: 0;
	-webkit-box-shadow: none;
	        box-shadow: none;
}
.contacto-form .form-control:focus {
	outline: 0;
	-webkit-box-shadow: none;
	        box-shadow: none;
}
.contacto-wrapper {
	height: 100%;
	padding: 10px 25px 25px; 
	background-color: #111;
	border-bottom: 5px solid #7E0227;
	
}
.contact-header {
	margin: 0px 0px 20px;
	padding-bottom: 9px;
	border-bottom: 1px solid #7E0227;
}	
.contact-header h4 {
	font-size: 22px;
	font-weight: 700;
	color: #FFF;
	margin-top: 15px;
}

.contact-header small {
	color: #FFF;
}

.contacto-image {
	padding: 0 15px 0 0;
}
.image-wrapper{
	height: 100%;
	background: #ccc url('../images/bg_formulario.jpg') top center no-repeat;
	background-size: cover;
}
/* ELEMENTOS FORMULARIO */

/* BOTON ENVIAR */
.submit,
.submit:hover,
.submit:focus{
	background: #7E0227;
	color: #FFF;
	outline: 0;
	border: 0;
	font-size: 16px;
}
.submit:hover {
	background-color: #184094;
}

.ui-dialog {
	background: #fff;
	border-radius: 5px;
	padding: 25px;
}
/* PANEL CONTENEDOR BOTON CERRAR DIALOGO */
.ui-dialog .ui-dialog-buttonpane {
	margin: 0;
	padding: 0;
}
/* BOTON OK DIALOG CONFIRMACION EMAIL ENVIADO*/
.ui-dialog .ui-dialog-buttonpane button {
	background: #02657E;
	color: #FFF;
	border: 0;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px;
        margin-top: 10px;
}
/* DIV QUE RECIBE LA RESPUESTA POR AJAX DEL FORM */
.response {
	font-size: 14px;
	font-weight: 700;
}

/* SPAN METIDO DESDE contact.js	DENTRO DEL DIV response QUE CONTIENE EL PNG LOADING */
span.loading {
	display: inline-block;
	margin-left: 10px;
}
span.loading img {
	width: 65%;
}
.required {
	float:right; 
	color: #fff;
	font-size: 12px;
}
.input-required {
	font-size: 16px;
	color: #7E0227;
}


/* FOOTER */
footer .logo {
	display: block;
	background: url('../images/logo.jpg') top left no-repeat;
        background-size: cover;
	width: 200px;
	height: 79px;
	margin-right: 20px;
	
}
footer p,
footer strong {
	font-size: 14px;
	vertical-align: middle;
	margin: 10px 0 0 10px;
	padding: 0;
}
footer #back {
	font-size: 20px;
}

@media (max-width: 575px) {
	.navbar-nav {
		padding-right: 15px;
		padding-left: 15px;
	}
}

@media (min-width: 640px) and (max-width: 768px) {
	.sombra-bordes .sombra-izq,
	.sombra-bordes .sombra-der 	{
		width: 117px;
		height: 15px;
	}
}
@media (min-width: 320px) and (max-width: 480px) {
	.sombra-bordes .sombra-izq,
	.sombra-bordes .sombra-der 	{
		width: 78px;
		height: 10px;
	}
	
	.navbar-nav li {
		float: none;
	}
	
	.navbar-nav li > a {
		display: block;
	}
}

@media (max-width: 768px) {
	h2 {
		font-size: 26px;
	}

	.seccion.estudio,
	.seccion.servicios {
		margin-bottom: 15px;
	}

	.contacto-form	{
		padding: 0 15px;
	}

	.contacto-image {
		display: none;
	}

	.seccion.servicios ul {
		margin: 0;
		padding-bottom: 0;
	}
}