/*******************************/
/* Generales
/*******************************/

body {
	font-family: "lato",sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 130%;
 	color: #231F20;
 	background-color: #FFF;
}

h1,
h2,
h3 {
	margin: 0 0 25px 0;
	font-size: 20px;
	text-transform: uppercase;
}

h3 {
	font-size: 18px;
}

@media (min-width: 768px) {
	body {
		font-size: 17px;
	}
	h1, h2 {
		font-size: 22px;
	}
}

a {
	font-weight: 400;
	color: #f05644;
}

a:hover,
a:focus {
  color: #c13f39 !important;
  text-decoration: none;
}

.btn-gde {
	display: inline-block;
	padding: 15px 70px;
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	text-transform: uppercase;
	color: #FFF !important;
	border: 0;
	background-color: #f05644;
}

.btn-gde:hover {
	color: #FFF !important;
	background-color: #c13f39;	
}


.btn-bde {
	border: 1px solid #f05644;
	color: #f05644 !important;
	background-color: #FFF !important;
}

.btn-bde:hover {
	border-color: #c13f39;
	color: #c13f39 !important;
}

.sm {
	margin-bottom: 0 !important;
}

.bloque {
	padding-top: 40px;
	padding-bottom: 40px;
}

.emb {
	margin-bottom: 40px;
}

.imgmb {
	margin-bottom: 30px;	
}

.nmb {
	margin-bottom: 0 !important;
}

.npb {
	padding-bottom: 0 !important;
}

.lista,
.lista-estilizada {
	margin: 0;
	padding: 0 15px;
	font-size: 16px;
	list-style-type: none;
 	list-style-position: outside;
 	list-style-image: url(../img/comunes/vineta-lista.jpg);
}

.lista-estilizada {
	margin-bottom: 30px;
}

	.lista-estilizada li {
		margin-bottom: 7px;
	}

	.lista-estilizada li:last-child {
		margin-bottom: 0;
	}

.espacio {
	margin-top: 40px;
}

	@media (min-width: 768px) {
		.espacio {
			margin-top: 0;
		}
	}

hr {
	margin-top: 40px;
	margin-bottom: 40px;
	border-color: rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
	.bloque {
		padding-top: 70px;
		padding-bottom: 70px;
	}
	.emb {
		margin-bottom: 70px;
	}
	.imgmb {
		margin-bottom: 0;
	}
}

/* Slide */
.carousel-indicators {
	bottom: -40px;
}

	.carousel-indicators li {
		border: 0;
		background: #f05644;
	}

	.carousel-indicators li.active {
		border: 1px solid #f05644 !important;
		background: transparent;
	}

/* Grid */
.grid {}

.grid .item {
	margin-bottom: 40px;
	font-size: 20px;
}

	.grid .item img {
		margin-bottom: 15px;
	}

	.grid .item span {}

	.grid .item .link-ficha {
		display: block;
		padding-left: 24px;
		border-bottom: 2px dotted rgba(0,0,0,0.15);
		line-height: 180%;
		background: url(../img/comunes/ico-pdf.png) no-repeat left center;
	}

	.grid .item .link-ficha:last-child {
		margin-bottom: 0;
		border-bottom: 0;
	}

@media (min-width: 768px) {
	.grid .item {
		margin-bottom: 0;
		line-height: 100%;
	}
}


/* Elemento */
/*	.elemento {
		margin-bottom: 40px;
		text-align: center;
	}

		.elemento span {
			font-size: 14px;
		}

	.grupo-elementos > [class*="col-"]:nth-last-child(1) .elemento {
		margin-bottom: 0;
	}

	@media (min-width: 768px) {
		.grupo-elementos > [class*="col-"]:nth-last-child(1) .elemento,
		.grupo-elementos > [class*="col-"]:nth-last-child(2) .elemento,
		.grupo-elementos > [class*="col-"]:nth-last-child(3) .elemento {
			margin-bottom: 0;
		}
	}*/





/*******************************/
/* Top
/*******************************/

.top {
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
	background: url(../img/comunes/fondo-header.jpg) no-repeat 50% 50%;
	-webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
    		background-size: cover;
}

@media (min-width: 992px) {
	.top {
		text-align: right;
	}
}

	/* Logo */
	.top .logo img {
		margin: 0 auto;
	}

	@media (min-width: 992px) {
		.top .logo img {
			margin-bottom: 0;
			margin-left: 0;
		}
	}

	/* Datos */
	.top span.dato {
		display: block;
		margin-top: 10;
		line-height: 150%;
		font-size: 14px;
	}

		.top span.dato:first-child {
			margin-top: 15px;
		}

@media (min-width: 768px) {
	.top span.dato {
		font-size: inherit;
	}
		.top span.dato:first-child {
			margin-top: 0;
		}
}


/*******************************/
/* Header
/*******************************/

.header {
	position: relative;
	padding: 15px 0;
	background-color: #c13f39;
}

	@media (min-width: 768px) {
		.header {
			padding: 0;
		}	
	}

/* Menu */
.contenedor-menu-principal {
	display: block;
	text-align: center;
}

	.header a.btn-menu {
		display: block;
	  	padding: 10px;
	  	font-size: 30px;
	  	color: #FFF;
	}

	.header a.btn-menu:hover,
	.header a.btn-menu:focus {
		color: #FFF !important;
	}

	.header ul.menu {
		display: none;
		margin: 0;
		padding: 0;
		list-style-type: none;
		font-size: 0;
		background-color: #c13f39;
	}

	.header ul.menu.visible {
		display: block;
	}

	.header ul.menu > li {
		display: block;
		text-align: left;
	}

	.header ul.menu > li > a {
		display: block;
		margin: 0;
		padding-left: 10px;
		padding-right: 10px;
		font-size: 14px;
		line-height: 35px;
		color: rgba(255,255,255,1);
		text-transform: uppercase;
	}

	.header ul.menu > li:hover > a,
	.header ul.menu > li > a:focus {
		color: rgba(255,255,255,0.5) !important;
	}

	.header ul.menu > li.active > a,
	.header ul.menu > li.current-menu-item a,
	.header ul.menu > li.current-menu-parent > a,
	.header ul.menu > li.current_page_parent > a {
		color: #FFF !important;
		background-color: rgba(0,0,0,0.3);
	}

	/* Segundo nivel */ 

	/**/
	.header ul.menu > li > ul.row,
	.header ul.menu > li.menu-mercados > ul.sub-menu {
		margin-left: 5px;
		padding: 0;
	}
	/**/

	.header ul.menu > li > ul {
		display: block;
		margin-left: 12px;
		padding: 0 10px;
		text-align: left !important;
	}

	.header ul.menu > li > ul > li {
		display: block !important;
		margin: 0;
		text-align: left !important;
	}

	.header ul.menu > li > ul > li > a {
		display: block;
	  	padding: 5px 0; 
	  	font-size: 15px;
	  	font-weight: 200;
	  	color: #FFF;
	}

	ul.menu > li > ul > li > a:hover,
	ul.menu > li > ul > li.active > a,
	ul.menu > li > ul.sub-menu > li.current-menu-item > a {
		color: rgba(255,255,255,0.3) !important;
	}

	@media (min-width: 768px) {
		.header .contenedor-menu-principal {
			margin-bottom: 0;
		}
		.header a.btn-menu {
			display: none;
		}
		.header ul.menu {
			display: block;
			margin: 0;
			border: 0;
			text-align: center !important;
			background-color: transparent;
		}
		.header ul.menu > li {
			display: inline-block;
			position: relative;
			vertical-align: middle;
			text-align: center;
		}
		.header ul.menu > li:first-child {
			margin-left: 0;
		}
		.header ul.menu > li > a {
			padding-left: 8px;
			padding-right: 8px;
			line-height: 50px;
		}
		.header ul.menu > li:hover > a,
		.header ul.menu > li > a:focus {
			background-color: rgba(0,0,0,0.15);
		}
		.header ul.menu > li.active > a,
		.header ul.menu > li.current-menu-item a,
		.header ul.menu > li.current-menu-parent > a,
		.header ul.menu > li.current_page_parent > a {
			color: #f05644 !important;
			background-color: transparent;
		}
		/* Segundo nivel */

		/**/
		.header ul.menu > li > ul.row,
		.header ul.menu > li.menu-mercados > ul.sub-menu {
			min-width: 680px;
		}
		.header ul.menu > li > ul.row > li.col-sm-6,
		.header ul.menu > li.menu-mercados > ul.sub-menu > li.col-sm-6 {
			padding: 0;
		}
		/**/

		.header ul.menu > li > ul {
			display: none;
			padding: 0;
			margin-top: -3px;
			margin-left: 0;
			min-width: 250px;
			border-top: 3px solid #f05644;
			background-color: #c13f39;
		}
		.header ul.menu > li > ul > li > a {
			padding: 10px;
			color: #FFF !important;
			border-bottom: 1px solid rgba(255,255,255,0.1);
		}
		/*.header ul.menu > li > ul > li:first-child > a {
			border-top: none;
		}*/
		.header ul.menu > li > ul > li:hover > a,
		.header ul.menu > li > ul > li.active > a,
		ul.menu > li > ul.sub-menu > li.current-menu-item > a {
			background-color: rgba(0,0,0,0.15);
		}
		.header ul.menu > li:hover > ul {
			display: block;
			position: absolute;
			left: 0;
			z-index: 150;
		}
	}

	@media (min-width: 992px) {
		.header ul.menu {
			text-align: right;
		}
		.header ul.menu > li > a {
			padding-left: 7px;
			padding-right: 7px;
			line-height: 68px !important;
		}
		.header ul.menu > li.active > a,
		.header ul.menu > li.current-menu-item a,
		.header ul.menu > li.current-menu-parent > a,
		.header ul.menu > li.current_page_parent > a {}
	}

	@media (min-width: 1200px) {
		.header ul.menu > li > a {
			padding-left: 15px;
			padding-right: 15px;
			line-height: 83px !important;
		}
	}


/*******************************/
/* Middle
/*******************************/

.middle {
	background: url(../img/comunes/fondo-middle.jpg) no-repeat 50% 50%;
	-webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
    		background-size: cover;
}

	.middle p.destacado {
		margin-top: 30px;
		padding: 20px;
		color: #31708f;
  		background-color: #d9edf7;
  		border: 1px solid #bce8f1;
	}

	/* Galeria */
	.middle .galeria {}

		.middle .galeria .foto {
			margin-bottom: 30px;
		}

		@media (min-width: 768px) {
			.middle .galeria .foto {
				margin-bottom: 0;
			}
		}

	.middle .galeria-2-col {}

		.middle .galeria-2-col .foto {
			margin-bottom: 30px;
		}

/* Banner adorno secciones */
.banner-principal .adorno {
	padding: 0;
}

	.adorno.adorno-texto {
		position: relative;
	}

	.adorno.adorno-texto .texto {
		position: absolute;
		top: 0; left: 0; bottom: 0; right: 0;
		margin: auto;
		width: 100%;
  		height: 35%;
  		overflow: hidden;
		text-align: center;
	}

	.adorno.adorno-texto .texto h1 {
		margin: 0;
		padding: 0;
		font-size: 15px;
		font-weight: 700;
		text-transform: uppercase;
		color: #FFF;
	}

	.adorno.adorno-texto .texto h1 span {
		display: inline-block;
		padding: 4px 15px 7px 15px;
		background-color: rgba(0,0,0,0.7);
	}


	@media (min-width: 768px) {
		.adorno.adorno-texto .texto {
			height: 20%;
		}
		.adorno.adorno-texto .texto h1 {
			font-size: 35px;	
		}
	}

	@media (min-width: 992px) {
		.adorno.adorno-texto .texto {
			height: 17%;
		}
	}

	@media (min-width: 1200px) {
		.adorno.adorno-texto .texto {
			height: 15%;
		}
	}

/* Intro */
.middle .intro {
	font-weight: 400;
}
	.middle .intro .breadcrumbs {
		display: inline-block;
		margin-bottom: 20px;
		font-size: 14px;
		text-transform: uppercase;
	}

/* Galería fotos */
.middle ul.galeria-fotos {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

	.middle ul.galeria-fotos li {
		margin-bottom: 30px;
	}

/* Grupo elementos */
.grupo-elementos {
	margin-top: 40px;
}

	/* Elemento */
	.elemento {
		margin-bottom: 40px;
		text-align: center;
	}

	.elemento a {
		position: relative;
		display: inline-block;
		color: #FFF;
	}

	.elemento a span {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 6px;
		text-align: left;
		background-color: rgba(0,0,0,0.6);
	}

	@media (min-width: 768px) {
		.elemento {
			margin-bottom: 0;
		}
	}

/* Casos de éxito */
#forma .form-group {
	margin: 20px 0 0 0;
}


/*******************************/
/* Footer
/*******************************/

.footer {
	font-weight: 200;
	color: #FFF;
	-webkit-font-smoothing: antialiased;
	line-height: 120%;
	background: #231F20;
}

	.footer .btn-gde {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.footer span.tel {
		display: block;
		margin-top: 10px;
		margin-bottom: 0;
	}

	.footer .telefono {
		display: inline-block;
		font-weight: 600;
		font-size: 22px;
		line-height: 130%;
	}

	.footer .copy {
		font-size: 13px;
		line-height: 400%;
	}

@media (min-width: 768px) {
	.footer .btn-gde {
		margin: 0;
	}	
}


/*******************************/
/* Contacto
/*******************************/

/* Forma */
#forma {}

/* Datos */
.gm {}

	.gm iframe {
		width: 100%;
		height: 450px;
		margin-bottom: -7px !important;
		pointer-events: none;
		border: 0;
	}


/* Mapa */
.gm iframe {
	margin-top: 20px;
	padding: 10px;
	background: #FFF;
}

/* CF7 */
div.wpcf7-response-output {
  margin: 35px 0 0 0 !important;
  padding: 0 !important;
  background: #F00;
}

span.wpcf7-not-valid-tip {
  font-size: 11px;
  font-style: italic;
}

div.wpcf7-validation-errors {
    border: 2px solid #FAEBCC;
    background: #FCF8E3;
    color: #8A6D3B;
    font-size: 16px;
    line-height: 140%;
}

div.wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 10px !important;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #D6E9C6;
    color: #3C763D;
    background: #DFF0D8;
}


/*******************************/
/* Mapa
/*******************************/

#map_wrapper {
	margin-top: 40px;
    height: 500px;
}

#map_canvas {
    width: 100%;
    height: 100%;
}

.detalle_punto h3 {
	font-size: 11px;
}

.detalle_punto h3 span {
	display: block;
	margin-top: 5px;
	margin-bottom: 10px;
	font-size: 17px;
}

.detalle_punto p {
	margin-bottom: 0 !important;
}

.detalle_punto p span {
	font-size: 17px;
}


/*******************************/
/* Formularios
/*******************************/
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select[multiple] {
	-webkit-appearance: none;
	   -moz-appearance: none;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	     -o-border-radius: 2px;
			border-radius: 2px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	margin-bottom: 0px !important;
	font-weight: normal;
	font-size: 15px;
}

.form-control {
	height: 50px;
	border: 2px solid #F1F1F1;
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
			box-shadow: none;
}

.form-control:focus {
	border-color: #CCC;
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
			box-shadow: none;
}

select.form-control {
	border-width: 2px;
}

select.form-control:focus {
	border-color: #CCC;
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
			box-shadow: none;
}

.checkbox label {
	margin-bottom: 15px;
}

label span.requerido {
	color: #F00;
}

button.btn-gde {
	color: #B25900;
	background: none !important;
}

button.btn-gde:hover {
	color: #6F3975 !important;
}


/*******************************/
/* Intro portada
/*******************************/

.intro-portada {}

.intro-portada .row {
	background: rgba(0,0,0,0.03);
}

/* Noticia */
.noticia {
	padding: 15px;
	overflow: hidden;
	text-align: left;
}

	.noticia p {
		overflow: hidden;
		font-size: 20px;
		line-height: 130%;
		text-align: left;
	}

	.noticia a.btn-continuar {
		display: inline-block;
		padding: 10px 15px 15px 15px;
		margin-top: 20px;
		font-weight: 200;
		font-size: 15px;
		color: #FFF;
		background: #203780;
	}

	.noticia a.btn-continuar:hover {
		color: #FFF !important;
		background-color: #95AE3F;
	}