/*
	Theme Name: Close·marketing
	Theme URI: https://close.marketing
	Description: Tema realizado creado a medida en WordPress.
	Author: closemarketing
	Author URI: https://close.marketing

	Version: 1.0

	Template: generatepress

	License: GPL-2.0+
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * # Tipografías
 * ---------------------------------------------------------------------------------------------------- */
/* noto-sans-regular - latin */
@font-face {
	font-family: 'Noto Sans';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/noto-sans-v21-latin-regular.eot'); /* IE9 Compat Modes */
	src: local(''),
	     url('fonts/noto-sans-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('fonts/noto-sans-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
	     url('fonts/noto-sans-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
	     url('fonts/noto-sans-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
	     url('fonts/noto-sans-v21-latin-regular.svg#NotoSans') format('svg'); /* Legacy iOS */
}
/* noto-sans-italic - latin */
@font-face {
	font-family: 'Noto Sans';
	font-style: italic;
	font-weight: 400;
	src: url('fonts/noto-sans-v21-latin-italic.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('fonts/noto-sans-v21-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('fonts/noto-sans-v21-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
		url('fonts/noto-sans-v21-latin-italic.woff') format('woff'), /* Modern Browsers */
		url('fonts/noto-sans-v21-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
		url('fonts/noto-sans-v21-latin-italic.svg#NotoSans') format('svg'); /* Legacy iOS */
}
/* noto-sans-700 - latin */
@font-face {
	font-family: 'Noto Sans';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/noto-sans-v21-latin-700.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('fonts/noto-sans-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('fonts/noto-sans-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		url('fonts/noto-sans-v21-latin-700.woff') format('woff'), /* Modern Browsers */
		url('fonts/noto-sans-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
		url('fonts/noto-sans-v21-latin-700.svg#NotoSans') format('svg'); /* Legacy iOS */
}
/* noto-sans-700italic - latin */
@font-face {
	font-family: 'Noto Sans';
	font-style: italic;
	font-weight: 700;
	src: url('fonts/noto-sans-v21-latin-700italic.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('fonts/noto-sans-v21-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('fonts/noto-sans-v21-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
		url('fonts/noto-sans-v21-latin-700italic.woff') format('woff'), /* Modern Browsers */
		url('fonts/noto-sans-v21-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
		url('fonts/noto-sans-v21-latin-700italic.svg#NotoSans') format('svg'); /* Legacy iOS */
}

/**
 * # Paleta de colores
 * ---------------------------------------------------------------------------------------------------- */
.has-azul-oscuro-background-color {
	background-color: #a5c652;
}

.has-azul-background-color {
	background-color: #5ab992;
}

.has-azul-claro-background-color {
	background-color: #c0d786;
}

.has-gris-background-color {
	background-color: #565D67;
}

.has-negro-background-color {
	background-color: #222222;
}

.has-blanco-background-color {
	background-color: #FFFFFF;
}

.has-azul-oscuro-color {
	color: #a5c652;
}

.has-azul-color {
	color: #5ab992;
}

.has-azul-claro-color {
	color: #F3FAFD;
}

.has-gris-color {
	color: #565D67;
}

.has-negro-color {
	color: #222222;
}

.has-blanco-color {
	color: #FFFFFF;
}

/**
 * # Animaciones scroll
 * ---------------------------------------------------------------------------------------------------- */
 .js-scroll {
	opacity: 0;
	transition: opacity 1000ms;
}
    
.js-scroll.scrolled {
	opacity: 1;
}

.scrolled.fade-in {
	animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
	animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
	animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
	animation: slide-in-right 1s ease-in-out both;
}

.scrolled.flipInY {
	animation: flipInY 1s ease-in-out both;
}

.scrolled.zoomIn {
	animation: zoomIn 1s ease-in-out both;
}

.scrolled.zoomReverseIn {
	animation: zoomReverseIn 1s ease-in-out both;
}

.scrolled.difusion {
	animation: difusion 2s ease-in-out both;
}

.js-scroll-2 {
	opacity: 0;
	transition: opacity 1000ms;
}

.js-scroll-2.scrolled {
	opacity: 1;
}

.js-scroll-3 {
	opacity: 0;
	transition: opacity 1000ms;
}

.js-scroll-3.scrolled {
	opacity: 1;
}

@keyframes slide-in-left {
	0% {
		-webkit-transform: translateX(-100px);
		transform: translateX(-100px);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slide-in-right {
	0% {
		-webkit-transform: translateX(100px);
		transform: translateX(100px);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 2;
	}
}

@keyframes fade-in-bottom {
	0% {
		-webkit-transform: translateY(50px);
		transform: translateY(50px);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes flipInY {
	0% {
		opacity: 0; 
		transform: rotateY(90deg);
	}
	100% {
		opacity: 1; 
		transform: none;
	} 
}

@keyframes zoomIn {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}
	100% {
		opacity: 1; 
		transform: none;
	}
}
@keyframes zoomReverseIn {
	0% {
		opacity: 0;
		transform: scale(1.5);
	}
	100% {
		opacity: 1; 
		transform: none;
	} 
}
@keyframes difusion {
	0% {
		opacity: 0.0;
	}
	5% {
		opacity: 0.05;
	}
	10% {
		opacity: 0.1;
	}
	15% {
		opacity: 0.15;
	}
	20% {
		opacity: 0.2;
	}
	25% {
		opacity: 0.25;
	}
	30% {
		opacity: 0.3;
	}
	35% {
		opacity: 0.35;
	}
	40% {
		opacity: 0.40;
	}
	45% {
		opacity: 0.45;
	}
	50% {
		opacity: 0.50;
	}
	55% {
		opacity: 0.55;
	}
	60% {
		opacity: 0.60;
	}
	65% {
		opacity: 0.65;
	}
	70% {
		opacity: 0.70;
	}
	75% {
		opacity: 0.75;
	}
	80% {
		opacity: 0.80;
	}
	85% {
		opacity: 0.85;
	}
	90% {
		opacity: 0.90;
	}
	95% {
		opacity: 0.95;
	}
	100% {
		opacity: 1.0;
	}
  }

/* Home */
/* Bloque ¿Que nos diferencia? */
bloque-diferencia.ul {
	list-style: none !important; /* quitamos el marcador por defecto */
	padding-left: 1.2em; /* espacio para el nuevo marcador */
  }

bloque-diferencia.li::marker {
	content: "■" !important;              /* cuadrado sólido */
	color: #b7cb14 !important;           /* color personalizado */
	font-size: 0.7em;         /* más pequeño que el texto */
	display: inline-block;
	width: 1em;               /* espacio fijo */
	margin-left: -1.2em;      /* lo movemos a la izquierda */
  }

/* Blog */
/* ------------------------------------ */
.dnt-noticias-item-full {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	grid-row: auto;
	height: auto;
	margin-bottom: 30px;
}

.dnt-noticias-item-full-image,
.dnt-noticias-item-full-content {
	max-width: 100%;
	width: 100%;
}

.dnt-noticias-item-full-content {
	position: relative;
}

.dnt-noticias-item-full-image img {
	border-radius: 15px;
	object-fit: cover;
}

.dnt-noticias-item-full-content h2 {
	color: #000;
	font-size: 27.303px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;

	margin-bottom: 1rem;
}

.dnt-noticias-item-full-content p {
	color: #565D67;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;

	margin-bottom: 1rem;
}

.dnt-noticias-item-full-content .read-more-container a {
	position: absolute;
	bottom: 0;

	margin-top: 1rem;
	padding: .5rem 2rem;

	border-radius: 59px;
	background: #68A4DF;
}

@media screen and ( width < 768px ){
	.dnt-noticias-item-full-content .read-more-container a {
		position: initial;
	}
}

.dnt-noticias-item-full-content .read-more-container a {
	border: none !important;
	border-color: none !important;
	color: #FFF;
	font-family: Helvetica;
	font-size: 19.771px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.dnt-noticias-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: 1fr;
	grid-row-gap: 20px;
	align-items: stretch; 
}

.dnt-noticias-container > * {
	grid-area: auto;
}

.dnt-noticias-item {
	position: relative;
	margin-bottom: 1rem;

	height: 100%;
}

.dnt-noticias-item .dnt-noticias-item-image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	background: rgba(0, 0, 0, .3);
	border-radius: 15px;

	z-index: 99;
}

.dnt-noticias-container .dnt-noticias-item .dnt-noticias-item-image {
	position: relative;
	height: 100%;
}

.dnt-noticias-container .dnt-noticias-item .dnt-noticias-item-image img {
	height: 100%;
	object-fit: cover;
}

.dnt-noticias-item .dnt-noticias-item-content {
	position: absolute;
	bottom: 0;

	padding: 2rem;
	z-index: 100;
}

.dnt-noticias-item .dnt-noticias-item-content h2 {
	color: #FFF;
	font-size: 27.303px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;

	margin-bottom: 10px;
}

.dnt-noticias-item .dnt-noticias-item-content a {
	color: #FFF;
	text-shadow: 0px 4px 44.1px rgba(0, 0, 0, 0.25);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

@media( min-width: 768px ) {
	.dnt-noticias-item-full-image,
	.dnt-noticias-item-full-content {
		max-width: 48%;
	}

	.dnt-noticias-item-full-image,
	.dnt-noticias-item-full-image img {
		min-height: 318px;
		max-height: 318px;
	}

	.dnt-noticias-item-full-content h2 {
		margin-bottom: 2rem;
	}

	.dnt-noticias-container .dnt-noticias-item .dnt-noticias-item-image img {
		border-radius: 15px;
		object-fit: cover;

		max-height: 318px;
		height: 100%;
	}

	.dnt-noticias-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
	}

	.dnt-noticias-container .dnt-noticias-item {
		max-height: 308px;
	}

	.dnt-noticias-container .dnt-noticias-item .dnt-noticias-item-image,
	.dnt-noticias-container .dnt-noticias-item img {
		height: 100%;
	}

	.dnt-noticias-container > :nth-child(1) {
		grid-area: 1 / 1 / 2 / 4;
	}

	.dnt-noticias-container > :nth-child(2) {
		grid-area: 2 / 1 / 3 / 3;
	}

	.dnt-noticias-container > :nth-child(3) {
		grid-area: 2 / 3 / 3 / 4;
	}

	.dnt-noticias-container > :nth-child(4) {
		grid-area: 3 / 1 / 5 / 2;
	}

	.dnt-noticias-container > :nth-child(4) .dnt-noticias-item-image img {
		max-height: 644px;
		min-height: 644px;
	}

	.dnt-noticias-container > :nth-child(4) {
		max-height: 644px;
		min-height: 644px;
	}

	.dnt-noticias-container > :nth-child(5) {
		grid-area: 3 / 2 / 4 / 4;
	}

	.dnt-noticias-container > :nth-child(5) .dnt-noticias-item-image img {
		width: 100%;
	}

	.dnt-noticias-container > :nth-child(5) {
		max-height: 100%;
	}

	.dnt-noticias-container > :nth-child(6) {
		grid-area: 4 / 2 / 5 / 3;
	}

	.dnt-noticias-container > :nth-child(7) {
		grid-area: 4 / 3 / 5 / 4;
	}
}

/* Estilos noticias individuales grid */
.dnt-noticias-item::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    border-radius: 15px;
}

/* Colores para cada columna */
.dnt-noticias-item:nth-child(2)::before {
    background: rgba(0, 142, 169, 0.50);
}

.dnt-noticias-item:nth-child(3)::before {
    background: rgba(177, 34, 108, 0.50);
}

.dnt-noticias-item:nth-child(4)::before {
    background: rgba(169, 150, 0, 0.50);
}

.dnt-noticias-item:nth-child(5)::before {
    background: rgba(165, 76, 78, 0.50);
}

.dnt-noticias-item:nth-child(6)::before {
    background: rgba(104, 164, 223, 0.50);
}

.dnt-noticias-item:nth-child(7)::before {
    background: rgba(0, 142, 169, 0.50);
}

/* Eliminar margen inferior elemento 4*/
.dnt-noticias-item:nth-child(4) {
	margin-bottom: 0;
}

/* Hover enlace noticia principal */
.dnt-noticias-item-full-content .read-more-container a {
	text-transform: initial !important;
}

.dnt-noticias-item-full-content .read-more-container a:hover {
	background-color: #a5c652 !important;
	color: white !important;
	border-radius: 59px;
}

/* Paginación blog */
@media screen and ( width < 768px) {
	.dnt-noticias-paginacion {
		flex-direction: column;
		row-gap: 25px;
	}
}

.dnt-noticias-paginacion {
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
    margin: 50px 0;
}

.dnt-noticias-paginacion a {
    color: #FFF;
    font-family: Helvetica;
    font-size: 19.771px;
	font-weight: 700;
	padding: .5rem 2rem;
    border-radius: 59px;
    background: #68A4DF;
}

.dnt-noticias-paginacion a {
    color: #FFF;
    font-family: Helvetica;
    font-size: 19.771px;
	font-weight: 700;
	padding: .5rem 2rem;
    border-radius: 59px;
    background: #68A4DF;
}

.dnt-noticias-paginacion a:hover {
    background-color: #a5c652 !important;
	color: white !important;
	border-radius: 59px;
}

/* Responsive lista entradas */
@media screen and ( width < 767px ) {
	.dnt-noticias-container {
		grid-auto-rows: auto;
		row-gap: 30px;
	}

	.dnt-noticias-item {
		max-height: 380px;
		margin-bottom: 0;
	}

	.dnt-noticias-container .dnt-noticias-item .dnt-noticias-item-image img {
		border-radius: 15px;
	}
}

/* Espaciado superior blog */
body.category div.site-content {
	padding-top: 200px;
}
