/**
Theme Name: ABN Nichos GeneratePress Adsense
Theme URI: https://www.abinternet.es/
Author: Actualidad Blog
Author URI: https://www.abinternet.es/
Template: generatepress
Description: GeneratePress child theme for ABN Nichos Adsense, with setup page for slider and product values.
Version: 1.5.7
Text Domain: abn-generatepress-adsense
Domain Path: /lang

GitHub Theme URI: https://github.com/miguelgaton/abn-generatepress-adsense
GitHub Branch: master
 **/

/*import url(https://fonts.googleapis.com/css?family=Dosis:700);*/

.value {
	text-align: center;
	font-weight: bold;
	font-size: 10em;
	width: 90%;
	height: 90px;
	line-height: 60px;
	margin: 40px auto;
	letter-spacing: -0.07em;
	text-shadow: white 2px 2px 2px;
}

input[type="range"] {
	display: block;
	--webkit-appearance: none;
	background-color: #bdc3c7;
	width: 90%;
	height: 5px;
	border-radius: 5px;
	margin: 0 auto;
	outline: 0;
}

input[type="range"]::-webkit-slider-thumb {
	--webkit-appearance: none;
	background-color: #0090ff;
	background-image: url( "./img/arrow.png" );
	background-position: center;
	background-size: 20px 20px;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid white;
	cursor: pointer;
	transition: 0.3s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
	background-color: white;
	border: 2px solid #0090ff;
}

input[type="range"]::-webkit-slider-thumb:active {
	transform: scale( 1.6 );
}

input[type="submit"] {
	--webkit-appearance: none;
}

table ul {
	list-style: disc;
	text-align: left;
	margin-left: 20px;
}

table {
	border: 1px solid #ccc;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	width: 100%;
	table-layout: fixed;
}

table caption {
	font-size: 1.5em;
	margin: 0.5em 0 0.75em;
}

table tr {
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	padding: 0.35em;
}

table th,
table td {
	padding: 0.625em;
	text-align: center;
}

table th {
	font-size: 0.95em;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: #2080ec;
	color: white;
}

.grecaptcha-badge {
	display: none !important;
}

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.el-mejor {
	background: #81d742 !important;
	color: white !important;
	font-weight: bold;
}

.calidad-precio {
	background: #1e73be !important;
	color: white !important;
	font-weight: bold;
}

.nuestra-favorita {
	background-color: #d33 !important;
	color: white !important;
	font-weight: bold;
}

.aawp-tb-product-0.aawp-tb__data--highlight {
	border-right-color: #81d742;
	border-left-color: #81d742;
	background-color: rgb( 131 218 68 / 10% );
}

.aawp-tb-product-1.aawp-tb__data--highlight {
	border-right-color: #1e73be;
	border-left-color: #1e73be;
	background-color: rgba( 30, 115, 190, 0.1 );
}

.aawp-tb-product-2.aawp-tb__data--highlight {
	border-right-color: #d33;
	border-left-color: #d33;
	background-color: rgba( 221, 51, 51, 0.1 );
}

.aawp-tb__data--type-thumb {
	background-color: white !important;
}

.aawp .aawp-product--widget-vertical .aawp-button + .aawp-button {
	margin-left: 0 !important;
}

@media ( min-width: 800px ) {
	.tabla-movil {
		display: none !important;
	}

	.tabla-escritorio th {
		text-align: center !important;
	}
}

@media ( max-width: 800px ) {
	.tabla-escritorio {
		display: none !important;
	}
}

@media screen and ( max-width: 750px ) {
	table {
		border: 0;
	}

	table caption {
		font-size: 1.3em;
	}

	table thead {
		border: none;
		clip: rect( 0 0 0 0 );
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}

	table tr {
		border-bottom: 3px solid #ddd;
		display: block;
		margin-bottom: 0.625em;
	}

	table td {
		border-bottom: 1px solid #ddd;
		display: block;
		font-size: 0.8em;
		text-align: center;
	}

	table td::before {
		/*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
		content: attr( data-label );
		float: left;
		font-weight: bold;
		text-transform: uppercase;
		width: 100%;
	}

	table td:last-child {
		border-bottom: 0;
	}

	.value {
		font-size: 5em !important;
	}
}

.aawp-button {
	max-width: 300px;
	display: block !important;
	margin: 0 auto !important;
}

.aawp-product--widget-vertical,
.aawp .aawp-product--widget-vertical {
	max-width: 400px !important;
	margin: 0 auto;
	margin-bottom: 35px;
	box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
	-webkit-box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
}

.aawp-widget {
	margin: 0 auto;
}

.aawp-product--horizontal {
	border-width: 3px !important;
	border-style: solid;
	border-color: #ec8e20 !important;
	margin-bottom: 35px;
	box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
	-webkit-box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
}

.aawp-product--widget-vertical {
	border: 0px !important;
}

.aawp-widget .aawp-product__image {
	max-width: 300px;
	max-height: 300px !important;
	height: auto;
}

.aawp-product__title,
.aawp-product__meta,
.aawp-product__pricing,
.aawp-button {
	margin-top: 2px !important;
}

.main-container {
	box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
	-webkit-box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
}

.article {
	width: 100%;
}

.aligncenter {
	margin-left: auto !important;
	margin-right: auto;
	display: block;
}

.aawp-product__ribbon {
	background: #0090ff !important;
	font-weight: bold;
	width: 90%;
	text-align: center;
	line-height: 20px;
	left: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 6px;
	font-size: 13px;
}

.comparador {
	background: #ffffffe0;
	width: 80%;
	margin: 0 auto;
	padding: 20px;
	box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
	-webkit-box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
}

.inner-button {
	width: 80%;
	margin: 0 auto;
}

.comparador-button {
	width: 100%;
	text-align: center;
	background: #0090ff !important;
	color: white;
	font-size: 20px;
	font-weight: bold;
}

.body-comparador {
	background: linear-gradient(
		120grad,
		rgb( 100, 57, 134 ),
		rgb( 152, 174, 213 )
	);
	position: relative;
	width: 100%;
	height: 100%;
	padding-top: 40px;
	padding-bottom: 40px;
	margin-bottom: 50px;
	box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
	-webkit-box-shadow: 0px 9px 24px 0px rgba( 0, 0, 0, 0.12 );
}

#header #s {
	border-width: 1px !important;
	border-style: solid !important;
	border-color: black !important;
	margin: 0 !important;
	padding: 13px 0 13px 10px;
	width: 90% !important;
	height: 16px;
}

#header #searchform .fa-search {
	height: 24px !important;
	background-color: #2080ec;
	color: white !important;
}

.blackfriday {
	background-color: #ff8c00;
}

a {
	font-weight: bold;
}

#toc_container ul,
#toc_container li {
	margin: 0;
	padding: 3px;
}

#toc_container.no_bullets ul,
#toc_container.no_bullets li,
#toc_container.no_bullets ul li,
.toc_widget_list.no_bullets,
.toc_widget_list.no_bullets li {
	background: none;
	list-style-type: none;
	list-style: none;
}

#toc_container.have_bullets li {
	padding-left: 12px;
}

#toc_container ul ul {
	margin-left: 1.5em;
}

#toc_container {
	background: #f9f9f9;
	border-left: 4px solid #282a40;
	padding: 10px;
	margin-bottom: 1em;
	width: 100%;
	display: table;
	font-size: 95%;
	border-width: 0 0 0 4px !important;
}

#toc_container.toc_light_blue {
	background: #edf6ff;
}

#toc_container.toc_white {
	background: #fff;
}

#toc_container.toc_black {
	background: #000;
}

#toc_container.toc_transparent {
	background: none transparent;
}

#toc_container p.toc_title {
	text-align: center;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

#toc_container.toc_black p.toc_title {
	color: #aaa;
}

.related-products {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#toc_container span.toc_toggle {
	font-weight: 400;
	font-size: 90%;
}

#toc_container p.toc_title + ul.toc_list {
	margin-top: 1em;
}

.toc_wrap_left {
	float: left;
	margin-right: 10px;
}

.toc_wrap_right {
	float: right;
	margin-left: 10px;
}

#toc_container a {
	text-decoration: none;
	text-shadow: none;
}

#toc_container a:hover {
	text-decoration: underline;
}

.toc_sitemap_posts_letter {
	font-size: 1.5em;
	font-style: italic;
}

.lcp_catlist {
	background-color: #282a40;
	color: white;
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

.lcp_catlist li {
	margin: 20px;
	width: 150px;
	display: inline-block;
}

.related-products {
	color: white;
	background-color: #282a40;
	padding: 10px 35px;
	position: relative;
	border-top-color: #f62f51;
	border-top-style: solid;
	border-top-width: 5px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 0;
	text-align: center;
	font-size: 20px;
}

#machete_cookie_configbar {
	display: none;
}

.wpfront-close {
	font-size: 15px !important;
	z-index: 999;
}

.aawp .aawp-product--widget-small .aawp-product__title {
	height: auto !important;
}

.aawp .aawp-product--widget-small {
	margin-bottom: 0 !important;
}

#wpfront-notification-bar,
#wpfront-notification-bar-editor {
	box-shadow: rgb( 0 153 255 / 29% ) 0px 13px 21px 0px;
}

.wpfront-message {
	display: block !important;
	font-size: 15px;
}

.grid_blackfriday {
	width: 280px !important;
	height: 370px !important;
	min-height: 350px !important;
	padding-top: 25px !important;
}

.grid_blackfriday .aawp-product__meta {
	display: none;
}

.black-friday > .aawp {
	margin-right: 5px !important;
	margin: 0 auto !important;
}

.grid_blackfriday .aawp-product__footer .aawp-product__price {
	font-size: 15px;
}

.grid_blackfriday .aawp-product__image-link .aawp-product__image {
	/*padding-bottom: px;*/
	height: 200px !important;
}

.blackfridaymenu > a:first-line {
	background: #f52f51 !important;
}

/* Relacionado shotcode styles */
.relacionado-wrapper {
	flex: 0 0 100%;
}

.post-relacionado {
	width: 100%;
	max-width: 550px;
	background: #f7f7f7;
	padding: 1rem;
	margin: 2rem auto;
	display: flex;
	align-items: center;
	text-decoration: none;
	box-shadow: 0 0 7px rgba( 0, 0, 0, 0.2 );
	font-weight: bold;
}

.post-relacionado picture,
.post-relacionado img {
	display: block;
	margin-right: 1.5rem;
	max-width: 150px;
	height: auto;
}

.post-relacionado div:first-child {
	color: #333;
	text-transform: uppercase;
	font-size: 1rem;
	margin-bottom: 0.3rem;
}

.post-relacionado-title {
	display: block;
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
	color: var( --main-color );
}

/* Keypoints */
.abn-keypoints {
	/* background-color: var(--softest-gray); */
	padding: 1rem 0;
	margin: 1rem 0;
	color: #000;
}

.abn-keypoints ul {
	margin: 0;
	padding-left: 1.3rem;
}

.abn-keypoints li:not( :last-child ) {
	margin-bottom: 0.3rem;
}

.abn-keypoints li {
	font-size: var( --f-m );
	line-height: var();
	font-weight: normal;
}

/* 404 */

.page-404-outer-wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 70vh;
	padding: 2rem 1rem;
	box-sizing: border-box;
}

#page-404-wrap,
#page-404,
.page-404-center-wrapper {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: inherit;
}

.page-404-title {
	font-size: 1.8rem;
	margin: 0 auto 2rem;
	color: #333;
	max-width: 800px;
	padding: 0 1rem;
}

.search-container-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 600px;
	margin: 30px auto 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

.search-field-404 {
	flex: 1;
	padding: 0.8rem 1rem;
	font-size: 1rem;
	border: 1px solid #ddd;
	border-radius: 6px 0 0 6px;
}

.search-submit-404 {
	padding: 0.8rem 1.5rem;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 0 6px 6px 0;
	cursor: pointer;
}

.search-submit-404:hover {
	background-color: #555;
}

.related-results-title {
	margin: 3rem 0 1.5rem;
	font-size: 1.4rem;
	color: #333;
}

#page-archive {
	width: 100%;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat( auto-fit, minmax( 300px, 1fr ) );
	padding: 0 1rem;
}

.archive-grid-item {
	background: #fff;
	padding: 1.25rem;
	border-radius: 6px;
	transition: box-shadow 0.3s;
}

.archive-grid-item:hover {
	box-shadow: 0 4px 12px rgba( 0, 0, 0, 0.1 );
}

.archive-grid-thumb {
	margin-bottom: 1rem;
	border-radius: 6px;
	overflow: hidden;
}

.archive-grid-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.archive-grid-title {
	font-size: 1.25rem;
	margin: 0 0 1rem;
	color: #333;
}

.archive-grid-excerpt {
	color: #555;
	margin-bottom: 1rem;
}

.archive-grid-footer a {
	display: inline-block;
	padding: 0.5rem 0.875rem;
	background-color: #333;
	color: white;
	text-decoration: none;
}

.archive-grid-footer a:hover {
	background-color: #555;
}

@media ( max-width: 768px ) {
	.page-404-title {
		font-size: 1.4rem;
	}

	#page-archive {
		grid-template-columns: 1fr;
		max-width: 500px;
	}
}

@media ( max-width: 480px ) {
	.search-container-404 form {
		flex-direction: column;
	}

	.search-field-404 {
		border-radius: 6px;
		margin-bottom: 0.5rem;
	}

	.search-submit-404 {
		border-radius: 6px;
		width: 100%;
	}
}

.site-content {
	display: flex;
	justify-content: center;
}

.main.category-grid.site-content {
	flex-direction: column;
	align-items: center;
}

.page-404-outer-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

#page-404-wrap {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
@media ( max-width: 768px ) {
	.inside-article .entry-header h1 {
		font-size: 25px !important;
	}
}

/* El logo va dentro de un h1: anulamos los estilos de encabezado
   para que la cabecera se vea exactamente igual que antes. */
.site-logo .site-logo-title {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: 0;
}
.site-logo .site-logo-title a {
	display: inline-block;
	line-height: 0;
}
