/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* ---------------------------------------------------- */
/* ----------	COLORES PRINCIPALES		--------------- */
/* ---------------------------------------------------- */
:root {
  --main-color: #BB0B0B;
}


/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

.elementor-progress-wrapper {
    height: auto !important;
}
.anwp-pg-wrap .my-auto {
    margin-top: none !important;
    margin-bottom: none !important;
}

.topbar-transparente {
    background-color: transparent !important;
    position: absolute;
    z-index: 1;
    width: 100%;
    border-bottom: solid 1px rgba(255,255,255,0.5);
    height: 60px;
    margin-top:10px;	
}

.header-transparente {
   background-color: transparent !important;
    position: absolute;
    z-index: 1;
	margin-top:50px;
    width: 100%;	
}

/* Imágenes del menú */
.menu-image-title-below.menu-image-not-hovered > img {
	width: 60px !important;
}

/* SIDEBAR BLOG */

.sidebar-recientes .elementor-post__text {
	margin-top:20px;
}

.sidebar-categorias h5 {
    display: none;
}
.sidebar-categorias ul {
    list-style-type: none;
    padding: 0px;
}
.sidebar-categorias li {
    padding: 15px 0px;
    font-family: "Poppins";
    border-bottom: solid 1px #f0f0f0;
    
}
.sidebar-categorias li a {
    color: #000;
}
.sidebar-categorias li a:hover {
    color: var(--main-color);
}

.elementor-widget-posts .elementor-post__title, .elementor-widget-posts .elementor-post__title a:hover {
    color: var(--main-color);
}


/* BLOG */
.blog-grid .elementor-pagination {
	background-color:var(--main-color);
	width:fit-content;
	padding:12px 20px;
}
.comments-area a {
	color:var(--main-color) !important;
}
.comments-area .submit {
	color:#fff !important;	
	background-color: var(--main-color) !important;		
	border-bottom-color: var(--main-color) !important;
}

/* Tienda */
.woocommerce-ordering {
	float: left !important;
}
select.orderby {
	font-size:12px;
}
.tienda-categorias li img,
.tienda-categorias mark {
	display:none !important;
}

/* Fuente Poppins en Carrito */
.elementor-widget-woocommerce-cart .woocommerce,
.elementor-widget-woocommerce-checkout-page {
	font-family: "Poppins", "Sans-serif" !important;
}



/* Mini Carrito, al pinchar el botón del menú */
/*.elementor-menu-cart__subtotal {
	color: #b0b0b0 !important;
}*/

/* Carrusel */
.n2-ss-text {
	padding: 0px 40px;
    white-space: normal !important;
    /*width: 100% !important;    
    margin: 0 auto !important;*/
}

/* PRODUCTOS. Mostrar etiqueta "Agotado" dentro del artículo. Comentar todo para aparezca "Agotado" debajo, fuera del libro */
.woocommerce-LoopProduct-link{
  position: relative;
}

.woocommerce-LoopProduct-link .agotado{
  position: absolute;
	background: var(--main-color);
  color:white !important;
  padding:4px 10px;
  right: 0;
  top:0;
  font-family: "Poppins", Sans-serif;
 font-weight:500;
}

/* Botón Ver Carrito */
.added_to_cart {
	color: var(--main-color);
    /*background-color: #FFFFFF;*/
    border: solid 1px var(--main-color);   
	border-radius: 3px;
	padding: 5px 18px !important;
	margin:5px;
}
.added_to_cart:hover {
	background-color: var(--main-color);
    color: #ffffff !important;
}

/* Texto adicional en productos */
.woocommerce-product-attributes-item__value {
	text-align: center !important;
}

/* Mensaje superior al añadir al carrito */
.woocommerce-message {
    border-top-color: var(--main-color) !important;
    max-width: 1200px;	/* Este ancho debe ser el mismo que está establecido en los ajustes del sitio */ 
    margin: 0 auto;
}
.woocommerce-message::before {    				/* Este es el icono que aparece en el mensaje */
    color: var(--main-color) !important;
}


.color-icono-svg svg {
	fill: #3C4E2F !important;
}

#flags {
    width: fit-content !important;
    /*text-align: center;*/
    margin: 0 auto;
}


/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/*							RESPONSIVE								*/
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
	.topbar-transparente {
    	height: 105px;
	    margin-top:0px;
  	}
	.header-transparente {   		
		margin-top:90px;    	
	}
}