/*
Theme Name:   Twenty Seventeen - Can Bonico
Description:  Tema hijo de Twenty Seventeen con el diseño del Blog del Hotel Can Bonico. Contiene todas las personalizaciones que antes estaban hechas directamente en Twenty Seventeen, para poder actualizar el tema base sin perderlas.
Template:     twentyseventeen
Version:      1.0.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain:  twentyseventeen-child
*/

/* -------------------------------------------------------------
 * Cambios que antes estaban DENTRO de style.css de Twenty Seventeen
 * ------------------------------------------------------------- */

/* Tipografías: Poppins para el texto, Julius Sans One para títulos (incluido el título del blog) */
body,
button,
input,
select,
textarea {
	font-family: "Poppins", "Helvetica Neue", helvetica, arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Julius Sans One", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-webkit-input-placeholder {
	font-family: "Poppins", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
	font-family: "Poppins", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
	font-family: "Poppins", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-ms-input-placeholder {
	font-family: "Poppins", "Helvetica Neue", helvetica, arial, sans-serif;
}

/* Imagen de cabecera fija.
 * Va aquí (y no en un style="" en el HTML) para que EWWW no añada una segunda
 * capa .webp: con background-blend-mode: multiply las dos capas se multiplicaban
 * entre sí y la foto salía mucho más oscura. Ruta relativa a este archivo:
 * wp-content/themes/twentyseventeen-child/ -> wp-content/uploads/ */
.custom-header-media {
	background-image: url("../../uploads/2017/02/cropped-8_1_Piscina.jpg");
}

/* Menú superior por encima de la cabecera */
.navigation-top {
	z-index: 3;
}

@media screen and (min-width: 48em) {

	/* Contenido a ancho completo (sin barra lateral) */
	.has-sidebar:not(.error404) #primary {
		width: 100%;
	}

	/* Menú arriba del todo en lugar de abajo de la imagen */
	.navigation-top {
		bottom: auto;
		top: 0;
	}
}

/* -------------------------------------------------------------
 * Estilos propios añadidos al final del tema original
 * ------------------------------------------------------------- */

/*stay creative*/
.home.blog.has-header-image .custom-header-media{height: 50vh !important;background-attachment: initial;background-position: center;background-size: cover;background-color: rgba(48,45,45,0.5);background-blend-mode: multiply;}
.home #content .wrap{padding: 0;max-width: 1200px;border:10px solid white;}
#site-navigation{width: calc(100% - 255px);display: inline-block;margin-top: 20px;margin-left: 20px;}
.main-navigation a {padding: 1em 0.7em;}
.single #masthead .custom-header{display: none;}
.single .byline{display: none;}
.header-logo{width: 50%;max-width: 200px;padding: 10px;display: inline-block;float: left;}
.navigation-top .wrap{max-width: none;}
.navigation-top a{color: #c09759;}
.navigation-top a:hover{color: #967448;}
.one-third{width: calc(100% * 1/3);float: left;border:10px solid white;}
.blog-grid{position: relative;}
.blog-grid .post-thumbnail{position: relative;background-position: center;background-size: cover;padding: 20px;}
.bg-text{position: absolute;top: 20px;bottom:0;left: 20px;right: 0;width: calc(100% - 40px);height:100%;}
.blog-grid h3{position: relative;z-index: 2;color: white;min-height: 94px;margin-top: 20%;-webkit-transition: ease-in-out, all .35s ease-in-out; transition: ease-in-out, all .35s ease-in-out;padding-top: 20%;}
.blog-grid:hover h3{margin-top: 0;}
.blog-grid span.bg-date{position: relative;z-index: 2;color: white;font-size: 0.8rem;-webkit-transition: ease-in-out, all .35s ease-in-out; transition: ease-in-out, all .35s ease-in-out;opacity: 0;}
.blog-grid:hover span.bg-date{opacity: 1;}
.blog-grid p{position: relative;z-index: 2;color: white;min-height: 140px;font-size: 0.9rem;-webkit-transition: ease-in-out, all .35s ease-in-out; transition: ease-in-out, all .35s ease-in-out;opacity: 0;}
.blog-grid:hover p{opacity: 1;}
.overlay{background-color: rgba(112,140,135,0.55);position: absolute;top: 0;left:0;width: 100%;height: 100%;z-index: 1;-webkit-transition: ease-in-out, all .35s ease-in-out; transition: ease-in-out, all .35s ease-in-out;}
.blog-grid:hover .overlay{background-color: rgba(112,140,135,0.8);}
.footer-menu {float: right;}
.footer-menu ul{margin-bottom: 0;padding-top: 0.7em;}
.footer-menu li{display: inline-block;list-style-type: none;}
.footer-menu li:after{content: " · ";margin: 0 5px 0 8px;display: inline-block;}
.footer-menu li:last-child:after{display: none;}
.footer-menu li a{font-size: 0.8rem;}

@media screen and ( max-width: 768px ) {
	.one-third{width: 100%;}
}
