/* /////////////// GENERAL \\\\\\\\\\\\\\\ */
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	height: 100%; /*fixed footer*/
}

body {
	position: relative; /*fixed footer*/
  	min-height: 100%; /*fixed footer*/
	background-color: #F2F3F4;
	padding-bottom: 200px; /*fixed footer*/
}

header, nav, section, article, footer {
	display: block;
}

/* /////////////// ETIQUETAS \\\\\\\\\\\\\\\ */

section {
	overflow: hidden;
	padding-bottom: 50px;
}

/* /////////////// ID'S \\\\\\\\\\\\\\\ */

/* --------------- HEADER --------------- */
#cabecera {
	width: 100%;
	overflow: hidden;
	
	background-color: #FFFF00;
	border-top: 4px solid #5F021F;
	
	background: -webkit-linear-gradient(bottom, #FFFF71, #FFFF00);
	background: -moz-linear-gradient(bottom, #FFFF71, #FFFF00);
	background: -o-linear-gradient(bottom, #FFFF71, #FFFF00);
	background: -ms-linear-gradient(bottom, #FFFF71, #FFFF00);
	background: linear-gradient(bottom, #FFFF71, #FFFF00);
	
	-webkit-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
}

#idiomas {
	float: right;
	margin-right: 20px;
	border-radius: 0 0 5px 5px;
	background-color: #F2F3F4;
	padding: 2px 5px;
	
	-webkit-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
}

#idiomas ul {
	list-style: none;
}

#idiomas li {
	display: inline;
	padding-left: 2px;
	padding-right: 5px;
}

#idiomas li a {
	text-decoration: none;
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	color: black;
}

#logo {
	float: left;
	padding: 10px;
}

#logo img {
	width: 100%;
	max-width: 400px;
	height: auto;
	border-radius: 20px;
}

/* --------------- SECTION --------------- */
#acerca {
	font-family: "Open Sans", sans-serif;
	font-size: 1em;
	text-transform: uppercase;
	border-bottom: 2px solid #5F021F;
	padding: 30px 0 10px;
}

#acerca h1 {
	font-size: 1.2em; /* IE fix*/
}

#contenido {
	padding: 30px 10px;
	
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	
	-webkit-column-gap: 50px;
	-moz-column-gap: 50px;
	column-gap: 50px;
	
	-webkit-column-rule: 2px dotted black;
	-moz-column-rule: 2px dotted black;
	column-rule: 2px dotted black;
	
	font-family: "Open Sans", sans-serif;
	font-size: 0.95em;
	text-indent: 1em;
}

#titulo {
	font-family: "Open Sans", sans-serif;
	font-size: 0.8em;
	text-transform: uppercase;
	border-bottom: 2px solid #5F021F;
	padding: 20px 0 10px;
}

#titulo h1 {
	font-size: 1.5em; /* IE fix */
}

#titulo .fa {
	padding-right: 10px;
}

#infoContacto {
	float: left;
	width: 50%;
}

#infoContacto header {
	margin-right: 10px;
}

#infoContacto h1{
	font-family: "Open Sans", sans-serif;
	text-transform: uppercase;
	border-bottom: 2px solid #5F021F;
	padding: 20px 0 10px;
}
	
#infoContacto header h1 {
	font-size: 1.2em; /* IE fix */
}

#infoContacto h1 .fa {
	padding-right: 10px;
}

#infoContacto ul {
	padding: 20px 0;
}

#infoContacto li, .fa {
	padding: 5px;
	font-family: "Open Sans", sans-serif;
	font-size: 0.9em;
}

#formulario {
	float: right;
	width: 50%;
}

#formulario h3 {
	font-family: "Open Sans", sans-serif;
	text-transform: uppercase;
	border-bottom: 2px solid #5F021F;
	padding: 20px 0 10px;
	margin-left: 10px;
}

#formulario h3 .fa {
	padding-right: 10px;
}

#formulario ul {
	list-style: none;
	padding-top: 20px;
	padding-left: 15px;
}

#formulario li {
	padding: 5px; 
}

#formulario label {
	float: left;
	width: 150px;
	font-family: "Open Sans", sans-serif;
	font-size: .9em;
}

#formulario input {
	height: 30px; 
	width: 220px; 
	padding: 5px;
}

#formulario textarea {
	padding: 5px; 
	width: 100%;
	max-width: 300px;
	height: 250px;
}

#formulario button {
	margin-left: 150px;
}

#formulario input, #formulario textarea {
	font-family: "Open Sans", sans-serif;
	border: 1px solid #aaa;
	color: black;
	font-size: 0.8em;
	
	-webkit-box-shadow: 0px 0px 3px #ccc, 0 2px 5px #eee inset;
	-moz-box-shadow: 0px 0px 3px #ccc, 0 2px 5px #eee inset;
	box-shadow: 0px 0px 3px #ccc, 0 2px 5px #eee inset;
}

#formulario input:focus, #formulario textarea:focus {
	background: #fff; 
	border:1px solid #555; 
	-webkit-box-shadow: 0 0 3px #aaa;
	-moz-box-shadow: 0 0 3px #aaa;
	box-shadow: 0 0 3px #aaa;
}

#formulario input:required:valid, #formulario textarea:required:valid {
	-webkit-box-shadow: 0 0 3px #5cd053;
	-moz-box-shadow: 0 0 3px #5cd053;
	box-shadow: 0 0 3px #5cd053;
	border-color: #28921f;
}

#formulario input:focus:invalid, #formulario textarea:focus:invalid {
	-webkit-box-shadow: 0 0 3px #d45252;
	-moz-box-shadow: 0 0 3px #d45252;
	box-shadow: 0 0 3px #d45252;
	border-color: #b03535
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: 0 !important;
}

button.submit {
	padding: 5px 20px;
	border: 2px solid #5A036C;
	background: #5F021F;
	-webkit-box-shadow: 0px 1px 4px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px 1px 4px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px 1px 4px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	font-size: .9em;
	font-weight: bold;
	color: white;
	border-radius: 5px;
	margin-bottom: 15px;
}
	
button.submit:hover {
	-webkit-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
}

button.submit:active {
	-webkit-box-shadow: 0px 1px 12px rgba(000,000,000,0.9), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px 1px 12px rgba(000,000,000,0.9), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px 1px 12px rgba(000,000,000,0.9), inset 0px 0px 0px rgba(255,255,255,0);
}

/* --------------- FOOTER --------------- */
#pie {
	position: absolute; /*fixed footer*/
	left: 0; /*fixed footer*/
	right: 0; /*fixed footer*/
	bottom: 0; /*fixed footer*/
	clear: both; /*fixed footer*/
	background-color: #5F021F;
	padding: 20px 0;
	/*border-top: 5px solid #5A036C;*/
	
	-webkit-box-shadow: 0px -2px 12px rgba(000,000,000,0.75), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px -2px 12px rgba(000,000,000,0.75), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px -2px 12px rgba(000,000,000,0.75), inset 0px 0px 0px rgba(255,255,255,0);
}

#mapa {
	text-align: center;
	padding: 0 20px 20px;
}

#mapa ul {
	list-style: none;
}

#mapa li {
	display: inline;
	padding: 0 5px;
	font-family: "Open Sans", sans-serif;
	color: #E5E5E5;
}

#mapa li a {
	text-transform: uppercase;
	text-decoration: none;
	font-family: "Open Sans", sans-serif;
	font-size: .9em;
	font-weight: bold;
	color: #E5E5E5;
}

#mapa li a:hover {
	text-decoration: underline;
}

#mapa .img_inicio:hover {
	-webkit-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	-moz-box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
	box-shadow: 0px 1px 12px rgba(000,000,000,0.5), inset 0px 0px 0px rgba(255,255,255,0);
}

#mapa li:nth-child(2) {
	padding-left: 10px;
}

#mapa li:first-child {
	padding-left: 0;
}

#mapa li:last-child {
	padding-right: 0;
}

#institucional {
	width: 90%;
	margin: 0 auto;
	border-top: 2px solid #E5E5E5;
	font-family: "Open Sans", sans-serif;
	text-align: left;
	font-size: 1.5em;
	padding: 20px;
	color: #E5E5E5;
}

#institucional a {
	text-decoration: none;
	color: #E5E5E5;
}

#institucional .fa {
	padding-right: 5px;
}

/* /////////////// CLASES \\\\\\\\\\\\\\\ */
.contenedor {
	width: 90%;
	max-width: 1000px;
	margin: auto;
}

.flags {
	vertical-align: middle;
	padding-right: 5px;
}

.img_inicio {
	width: 90px;
	border-radius: 10px;
	vertical-align: middle;
}

.cop {
	float: right;
}

.scrollup{
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
	color: #FFFF00;
	text-shadow: 0px 1px 12px rgba(000,000,000,0.5);
}

.especialidades {
	float: left;
	padding: 20px;
}

.servicios {
	float: right;
	padding: 20px;
}

.lista {
	font-family: "Open Sans", sans-serif;
	font-size: .9em;
}

.lista header h1 {
	font-size: 1.3em; /*IE fix*/
}

.lista li {
	cursor: default;
}

.lista header {
	font-family: "Eurostar Black Extended";
	padding-left: 12px;
	padding-bottom: 15px;
}

.contacto {
	position: absolute;
	left: 180px;
}

.contacto a {
	text-decoration: none;
}

/* --------------- GALERÍA --------------- */
.fotos {
	padding-top: 20px;
}

.fotos div {
	display: table-cell;
}

.galeria {
	margin: 5px;
	border: 2px solid #F2F3F4;
	width: 100%;
	max-width: 190px;
	height: auto;
}

/* /////////////// MEDIA QUERIES \\\\\\\\\\\\\\\ */

@media screen and (max-width: 890px) {
	#infoContacto, #formulario {
		float: none;
		width: 100%;
	}
	
	#formulario h3 {
		margin-left: 0;
	}
}

@media screen and (max-width: 800px) {
	#cabecera {
		-webkit-box-shadow: none;
		border: none;
	}
	
	#idiomas {
		display: block;
		width: 100%;
		margin: auto;
		border-radius: 0;
		text-align: right;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background-color: #023859;
	}
	
	#idiomas li a{
		color: white;
	}
	
	#contenido {
		-webkit-column-count: auto;
		-moz-column-count: auto;
		column-count: auto;
	}
	
	#mapa li {
		display: block;
		text-align: center;
	}
	
	#mapa li:nth-child(odd) {
		display: none;
	}
	
	#institucional h6 {
		text-align: center;
		font-size: .5em;
	}
	
	.cop {
		float: none;
		padding-left: 30px;
	}
	
	.lista {
		float: none;
	}
}

@media screen and (max-width: 400px) {
	.contenedor {
		width: 100%;
	}
	
	#logo {
		display: block;
		width: 100%;
	}		
	
	#acerca {
		text-align: center;
	}
	
	.cop {
		padding-left: 0;
		padding-top: 5px;
		display: block;
	}
	
	.contacto {
		position: relative;
		left: 5px;
	}
	
	#titulo h1 {
		text-align: center;
	}
	
	#infoContacto h1 {
		text-align: center;
	}
	
	#formulario h3 {
		text-align: center;
	}
	
	#formulario button {
		margin-left: 0;
	}
}

/* /////////////// FONT-FACE \\\\\\\\\\\\\\\ */

@font-face {
	font-family: "Eurostar Black Extended";
	src: url(../fonts/eurostar-black-extended.ttf) format("truetype"),
		 url(../fonts/eurostar-black-extended.otf) format("opentype"),
		 url(../fonts/eurostar-black-extended.eot); /* format(IE) */
}