/* Hoja de estilos personaliza para la web Marmoles Sanchis
Autor: Apatxe73 @2016 */

body {
	font-family: 'Merriweather', serif;
	font-size: 12px;
	padding-top: 160px;
}

.contenido {
	padding-top: 40px;
}

/* Definicion de las fuentes */
/* merriweather-300 - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/merriweather-v19-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Merriweather Light'), local('Merriweather-Light'),
       url('../fonts/merriweather-v19-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/merriweather-v19-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/merriweather-v19-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/merriweather-v19-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/merriweather-v19-latin-300.svg#Merriweather') format('svg'); /* Legacy iOS */
}
/* merriweather-regular - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/merriweather-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Merriweather Regular'), local('Merriweather-Regular'),
       url('../fonts/merriweather-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/merriweather-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/merriweather-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/merriweather-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/merriweather-v19-latin-regular.svg#Merriweather') format('svg'); /* Legacy iOS */
}

/* Header */
header h1 {
	font-family: 'Merriweather', serif;
	font-weight: 400;
	font-size: 3.55rem;
	color: #448791;
}

#logo {
	padding-top: 10px;
	padding-bottom: 10px;
}

#logo {
	max-width:350px;
}

/***********************************************/
/* Estilo menu principal */

.navbar-brand {
	padding-right: 2rem;
}

.menuPrincipal {
	background-color: #f9fffc;
	border-bottom: #038892 1px solid;
	margin-bottom: 50px;
	height: 160px;
	box-shadow: 0px 6px 14px 2px #efeeee;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .8rem;
    padding-left: .8em;
}

/* Color del texto del menu */
.navbar-light .navbar-nav .nav-link {
    color: #91b2c1;
}

/* Color del elemento activo del menu */
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #038892;
    text-decoration: underline;
}

a.nav-link {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	font-size: 1rem;
	padding-right: 10px;
}

/***********************************************/
/***********************************************/
/***********************************************/
/* Estilos del dropdown del menu */
.dropdown-menu {
	background-color: #038892;
}

.dropdown-item {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	color: #ffffff;
}

.dropdown-item:hover {
    color: #e7ab00;
    background-color: #038892;
}

/**** Media Queries ****/
/* Definición de los estilos de los a para tamaño 450px */
@media (max-width: 450px) {
	#logo {
		max-width: 220px;
		padding-top: 5px;
    	padding-bottom: 5px;
	}

	.menuPrincipal {
		height: auto;
	}
}

/***********************************************/
/* Estilo menu migas de pan */
.breadcrumb {
	background-color: #ffffff;
}

.breadcrumb-item a {
	color: #91b2c1;
	font-size: 1.3rem;
}

li.breadcrumb-item{
	color: black;
	font-size: 1.3rem;
}

/***********************************************/

.gallery-block {
    padding-top: 0px !important;
}

/* Contenido */
p,li {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.3rem;
	color: #2c4e51;
}

li {
	padding-bottom: 20px;
}

h1 {
	font-family: 'Merriweather', serif;
	font-weight: 400;
	font-size: 2.15rem;
	color: #448791;
}

h2 {
	font-family: 'Merriweather', serif;
	font-weight: 400;
	font-size: 1.6rem;
	color: #448791;
}

h5 {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	font-size: 1rem;
	padding-top: 10px;
	color: #2c4e51;
}

.contenido {
	background-color: #90DFE4;
background-image: linear-gradient(0deg, #90DFE4 0%, #8CD18C 100%);
}

/* Localizacíon */
.localizacion {
	padding-bottom: 40px;
}

.localizacion #mapa {
	margin-top: 15px;
}

.map-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

article img {
	-webkit-box-shadow: 0px 26px 32px 1px rgba(0,0,0,0.34);
	-moz-box-shadow: 0px 26px 32px 1px rgba(0,0,0,0.34);
	box-shadow: 0px 26px 32px 1px rgba(0,0,0,0.20);
	margin-bottom: 35px;
}

.localizacion a {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.3rem;
	color: black;
}

a:hover {
	color: #e7ab00;
}

/* Aside */
/* Horario de apertura */
.horarioApertura {
	padding:20px;
	border-style: solid;
	border-width: 1px;
	color: #448791;
}

.horarioApertura h1 {
	font-family: 'Merriweather', serif;
	font-weight: 400;
	font-size: 1.9rem;
	text-align: center;
	color: #448791;
}

.horarioApertura p {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	font-size: 1.4rem;
	line-height: 1.8rem;
	color: #448791;
}

/* Descarga de catalogo */
.descargaCatalogo p {
	font-family: 'Merriweather', serif;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.7rem;
	text-align: right;
	color: #448791;
}

.descargaCatalogo {
	padding:15px;
	color: #448791;
}

/* Descarga de archivos */
a.descarga:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);       /* IE8 and lower */
}

/* Contacto */
.card {
	width: 100% !important;
}

/* footer */
footer {
	background-color: #2c4e51;
	padding-top: 45px;
	padding-bottom: 20px;
}

footer h1 {
	font-weight: 400;
	font-size: 1.6rem;
	text-decoration: underline;
}

footer p,ul,a {
	font-weight: 300;
	font-size: 0.8rem;
	line-height: 1.3rem;
	color: #ffffff;
}

footer li {
	padding-bottom: 0px;
	color: #ffffff;
}

/***********************************************/
/***********************************************/
/***********************************************/

/**** Media Queries ****/
/* Definición de los estilos de los a para tamaño 450px */
@media (max-width: 450px) {
	.map-responsive {
		margin-top: 2rem;
	}

	.horarioApertura {
		margin-top: 2rem;
	}

	.contenido {
		margin-top: -50px;
	}

	footer {
		padding-bottom: 50px;
	}
}