/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*********************************************************/
/* GENERAL                                               */
/*********************************************************/

	/* BREADCRUMBS */
	#breadcrumbs a { text-transform: lowercase !important; }
	#breadcrumbs a::first-letter { text-transform: uppercase !important; }
	#breadcrumbs a {
		display: inline-block !important;
		cursor: auto !important;
		pointer-events: none !important;
		
	}
	

/*********************************************************/
/* HOME                                                  */
/*********************************************************/
	
	/* SLIDER */
	.swiper-slide-contents .elementor-slide-button { text-decoration: none !important;}

/*********************************************************/
/* PLANTILLA HEADER                                      */
/*********************************************************/

/* alineació del títol a la dreta (TAMBÉ A LES PÀGINES) */
.elementor-element-populated {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
}

/* tamany submenú (no es modifica amb elementor) */
.elementor-nav-menu--dropdown li a {
    font-size: 16px;
	font-weight: 400 !important;
}


/*********************************************************/
/* PÀGINES LEFT SIDEBAR                                  */
/*********************************************************/

/* imatges "responsives" */
.elementor-widget-sidebar img {
	width: 100% !important;
	padding: 0 0 10px 0;
}


.sticky-column{
position: sticky;
position: -webkit-sticky;
top: 200px;
}
.sticky-parent
.elementor-widget-wrap {
display: block!important; 
}


/*********************************************************/
/* HOTSPOT MAPA COMUNITATS                               */
/*********************************************************/

/* no mostrem el label en el mapa */
.e-hotspot__label {
	display: none !important;
}

/* no mostrem el mapa en el mòbil */
/*@media (max-width: 768px) {
	.mapa-as {
		display: none !important;
	}
}
*/

/*********************************************************/
/* LLISTAT COMUNITATS (SOTA DEL MAPA)                    */
/*********************************************************/

/* estil al llistat de comunitats */
.comunidades a {
	padding: 10px;
}
.comunidades a:hover {
	background: #F49C57;
	color: #fff !important;
}


/******************************************************************/
/* LLISTAT PROVÍNCIES I ASSOCIACIONS D'AQUELLA COMUNITAT          */
/* PlantillaArchiveComunidades (Programat a mà al functions.php)  */
/******************************************************************/

/* estil del llistat */
ul.n_aso { border-bottom: 1px solid #ddd; }

ul.n_aso li {
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 700;
}

ul.n_aso ol li { list-style-type: circle; }

ul.n_aso ol li a { padding: 10px; }
ul.n_aso ol li a:hover {
	background: #F49C57;
	color: #fff !important;
}


/************************************************************/
/* PLANTILLA PÀGINA ASSOCIACIÓ                              */
/************************************************************/

/* no mostrem el nom de la imatge sota la foto (slideshow) */
.elementor-slideshow__title {
	display: none !important;
}

/* al botó volver atrás li posem la icona d'enllaç         */
/* l'he fet amb .js a l'apartat de CustomCode de Elementor */
a#btn-back {
	cursor: pointer;
}


/*********************************************************/
/* BLOG ARCHIVE                                          */
/*********************************************************/

/* amaguem text "LEER MÁS" */
.read-more {
	display:none;
}

/*********************************************************/
/* BLOG SIDEBAR                                          */
/*********************************************************/

/* amaguem paraula "BUSCAR" */
.wp-block-search__label {
	display:none;
}
/* amaguem botó de buscar */
.search-submit {
	display:none;
}
/* modifiquem amplada del cercador */
.widget .search-form {
    display: block;
}
/* modifiquem color de fons del cercador */
.search-field {
	background-color: #fff !important;
}

/* color "ETIQUETAS" */
.wp-block-tag-cloud {
	color: #575760;
}

/* personalitzem títols generals */
.elementor-widget-sidebar .widget_categories h2.widget-title,
.elementor-widget-sidebar .widget_recent_entries h2.widget-title,
.elementor-widget-sidebar .widget_archive h2.widget-title { 
	font-family: "Mitr", Sans-serif;
	color: #575760;
	font-size: 20px;
	background-color: #f1f1f1;
	border-bottom: 1px solid #000;
	padding: 10px;
	margin: 30px 0 10px 0;
	}

/* personalitzem títols dels submenús */	
.elementor-widget-sidebar .widget_categories li,
.elementor-widget-sidebar .widget_recent_entries li,
.elementor-widget-sidebar .widget_archive li { 
    font-size: 14px;
	padding: 10px 0 10px 0;
	border-bottom: 2px solid #ececec;
	}
.elementor-widget-sidebar .widget_categories li:last-child,
.elementor-widget-sidebar .widget_recent_entries li:last-child ,
.elementor-widget-sidebar .widget_archive li:last-child{ 
    border-bottom: none;
	}

.elementor-widget-sidebar .widget_categories li a,
.elementor-widget-sidebar .widget_recent_entries li a,
.elementor-widget-sidebar .widget_archive li a { 
    color: #575760;
	}
.elementor-widget-sidebar .widget_categories li a:hover,
.elementor-widget-sidebar .widget_recent_entries li a:hover,
.elementor-widget-sidebar .widget_archive li a:hover  { 
    color: #ef7c22;
	}
	
	
/*********************************************************/
/* WOOCOMMERCE                                           */
/*********************************************************/
/* eliminem el botó de "volver a la tienda" quan el carrito està buit */
.return-to-shop {
 display: none !important;
}
/* eliminem la categoria dins del detall de la donació (producte) */
.product_meta .posted_in {
 display: none !important;
}
/* eliminem la opció de poder comprar més d'un curs dins del detall del curs i del carrito (camp quantitat del formulari) */
.cart .quantity {
 display: none !important;
}
/* eliminem la paraula "quantitat" de la columna corresponent, dins del carrito */
.product-quantity {
 display: none !important;
}
/* eliminem "informació adicional" dins del carrito */
.woocommerce-additional-fields {
 display: none !important;
}

/* botonets carrito de la capçalera */
.elementor-menu-cart__footer-buttons .elementor-button--view-cart,
.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover,
.elementor-menu-cart__footer-buttons .elementor-button--checkout,
.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    display: var(--view-cart-button-display,inline-block);
    color: var(--view-cart-button-text-color,#fff);
	font-size: 20px !important;
}
.elementor-menu-cart__footer-buttons a:hover .elementor-button-text {
	font-size: 20px !important;
}

/* botonet añadir al carrito del producte */
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    color: #515151 !important;
    background-color: #ebe9eb !important;
}	

/* ocultamos productor relacionados de dentro del carrito */
.cross-sells {
 display: none !important;	
}

