/*
Theme Name:   GP - Child
Theme URI:    http://alessioangeloro.it
Description:  Alessio Angeloro Child of Generate Press
Author:       Alessio Angeloro
Author URI:   http://alessioangeloro.it
Template:     generatepress
Version:      2.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  alessioangeloro
*/
:root{
  --heading:#0e1319;
  --paragraph:#0f172b;
  --link:#c90c10;
  --link-hover:#b9060f;
  --btn-primary:#155dfc;
  --btn-primary-hover:#3476f9;
  --btn-secondary:#0f172b;
  --btn-secondary-hover:#2d394d;
  --border-primary:#f0f3f7;
  --border-secondary:#eef4fe;
  --background-default:#f1f5f9;
  --background-primary:#2563ea;
  --background-secondary:#0f172b;
  --border-radius-50:50px;
  --border-radius-4:4px;
  --border: 1px solid rgb(229, 232, 237);
  --box-shadow: 0px 7px 14px 0px rgba(59, 65.00000000000004, 94, 0.1);
}
/*Header*/
.site-header{
  margin-bottom: 30px;
}
/*MainMenu*/
#primary-menu li a{
  font-size: 16px !important;
}
#sticky-navigation li a{
font-size: 15px !important;
}
/*MainMenu - SubMenu Items*/
.inside-header {
  padding: 20px 0px 20px 0px !important;
}
.main-navigation .main-nav ul ul li a {
  border-radius: var(--border-radius-4);
  margin: 10px;
  box-sizing: border-box;
}
.main-navigation ul ul{
  box-shadow: var(--box-shadow);
}
/*Main*/
#main{
  border-radius: var(--border-radius-4);
  box-sizing: border-box;
  overflow: hidden;
}
/* Tablet + Mobile */
@media (max-width: 1024px) {
  #main {
    border-radius: 0 !important;
  }
}
.content{
background: #ffffff;
border-radius: var(--border-radius-4);
padding: 30px;
}
blockquote {
font-size: 1.2rem !important;
}
.elementor-post__read-more-wrapper{
height: 50px;
margin-top: 15px;
}
.elementor-post__read-more{
background: #000000;
padding: 15px 15px 15px 15px;
border-radius: var(--border-radius-4)
}
.elementor-post__read-more:hover{
background: #b9060f;
color: #ffffff !important;
}
.post-type-archive .prev:hover,.post-type-archive .next:hover{
background: #b9060f;
color: #ffffff !important;
border-radius: 4px;
padding: 5px;
margin: 5px 5px 5px 5px;
transition: 0.3s;
line-height: 1em;
font-size: 1.1rem;
}
.post-type-archive-aa_album .page-numbers:not(.prev, .next){
background: #0e1319;
color:#ffffff !important;
border-radius: 4px;
padding: 5px 12px 5px 12px;
cursor: pointer;
}
.post-type-archive-aa_album.page-numbers:not(.prev,.next):hover{
background: #b9060f;
}
.box-shadow{
  box-shadow: var(--box-shadow);
}
/*EventOn Page*/
.tribe-common{
  border-radius: var(--border-radius-4) !important;
}
.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
  border: 1px solid #0f172b !important;
  color: #0f172b !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: #fff !important;
  border: 1px solid #0f172b !important;
  color: #0f172b !important;
}
/* Nasconde la featured image nella List View (TEC v2) */
.tribe-events-calendar-list__event-featured-image{
  display: none !important;
}
/*EventOn - Single*/
#tribe-events-pg-template {
  border-radius: var(--border-radius-4) !important;
  padding: 40px !important;
}
@media only screen and (min-width:767px) {
  .tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container,
  .tec-events-elementor-event-widget__venue .tribe-events-content .tec-events-elementor-event-widget__venue-container {
    max-width:unset !important;
    width: 100% !important;
    padding: 7px;
  }
}
.tec-events-elementor-event-widget__venue-map {
  max-width: unset !important;
  width: 96% !important;
  height: calc( 100% - var(--tec-spacer-2));
}
.tribe-events-widget-countdown{
  margin-bottom: -50px !important;
}
/*Sidebar*/
aside{
  border-radius: var(--border-radius-4);
}
/*Footer*/
.footer h2.elementor-heading-title{
  font-size: 1.1rem !important;
}
.logo-footer{
  width: fit-content;
}
/*WooCommerce Pagination*/
.woocommerce-pagination{
  background: #ffffff !important;
}
.woocommerce nav.woocommerce-pagination ul{
  border: unset !important;
}
.woocommerce-pagination li{
  border: unset !important;
}
  
.post-type-archive-product .woocommerce-pagination .page-numbers{
  margin: 10px !important;
  border-radius: var(--border-radius-4);
  height: 35px !important;
  font-size: 1.1rem !important;
  padding: 8px 10px 10px 10px !important;
}

.post-type-archive-product .woocommerce-pagination .page-numbers .current{
background: #c90c10;
color: #ffffff;
}
.post-type-archive-product .woocommerce-pagination .page-numbers .current:hover{
background: #b9060f;
}
/*Widget Newsletter*/
.tnp-widget-minimal input.tnp-email {
margin-bottom: 20px;
height: 55px;
border-radius: var(--border-radius-4) !important;
}

.tnp-widget-minimal input.tnp-submit {
background: #000000 !important;
color: var(--link) !important;
height: 55px !important;
border-radius: var(--border-radius-4) !important;
text-transform: uppercase !important;
}

.tnp-widget-minimal input.tnp-submit:hover,.tnp-widget-minimal input.tnp-submit:focus {
  background: #b9060f !important;
  color: #ffffff !important;
}

.tnp.tnp-widget-minimal .tnp-form {
  position: relative;
}

/* Nasconde solo il testo dell'input, lasciando intatti stile e click */
.tnp.tnp-widget-minimal input.tnp-submit {
  color: transparent !important;
  text-shadow: none !important;
}

/* Sovrascrive visivamente la label del bottone (emoji lingua U+1F61B) */
.tnp.tnp-widget-minimal .tnp-form::after {
  content: "Iscrivimi ora \01F61C";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: normal;
  font-weight: 600;
}
/*WooCommerce*/
/* Card prodotto come colonna */
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  margin-top: 20px !important;
}

/* Il link principale deve occupare lo spazio sopra */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  display: block !important;
}

/* Bottone sempre in fondo */
.woocommerce ul.products li.product > a.button.product_type_simple, .woocommerce ul.products li.product > a.product_type_variable {
  margin-top: auto !important;
  display: inline-block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/*Checkout*/
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
  width: 500px !important;
}
/*Widget WooCommerce*/
aside .product-categories li,.widget_categories ul li.cat-item{
 list-style: circle !important;
 text-transform: capitalize !important;
 color: #c90c10;
}

.widget_categories ul li.cat-item{
  list-style: circle !important;
  text-transform: capitalize !important;
  color: #000000;
 }

aside .product-categories li:hover,.widget_categories ul li.cat-item:hover{
 color: #b9060f;
}

aside .product-categories a,.widget_categories ul li a{
 text-decoration: none !important;
}

aside .product-categories a,.widget_categories a{
 text-decoration: none !important;
 color: #c90c10;
}

aside .product-categories a:hover,.widget_categories a:hover{
 text-decoration: none !important;
 color: #b9060f;
}
/*Pulsanti*/
.single-product .product_type_simple,.coupon .button, .actions .button,button[name="apply_coupon"],.woocommerce-Button,a.woocommerce-button,a.wc-backward{
  background: #000000 !important;
  color: #c90c10 !important;
  border-radius: var(--border-radius-4) !important;
}

.single-product .product_type_simple:hover,.coupon .button:hover, .actions .button:hover,button[name="apply_coupon"]:hover,.woocommerce-Button:hover,a.woocommerce-button:hover,a.wc-backward:hover{
  background: #b9060f !important;
  color: #ffffff !important;
}

.single_add_to_cart_button{
  margin-top: 10px !important;
  border-radius: 4px !important;
  width: 100%
}

#wc-sticky-cart-panel .button,.checkout-button,#place_order{
  border-radius: 4px !important;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, 
.woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text{
  width: 250px !important;
}

/*EventON Widget Events List*/
.tribe-common .tribe-common-h--alt {
  font-family: Montserrat, sans-serif !important;
  font-weight: 500 !important;
  font-size: 1.1rem !important;
  margin-bottom: 20px !important;
  white-space: nowrap;
}

.tribe-compatibility-container{
background: #ffffff;
margin-bottom: 20px !important;
padding: 20px;
word-wrap: break-word !important;
box-sizing: inherit !important;
border-radius: 4px !important; 
}

.tribe-events-widget .tribe-events-widget-events-list__event-title {
  font-weight: 500 !important;
  line-height: 1rem !important;
}

.tribe-events-widget-events-list__view-more{
background: #000000;
border-radius: 4px;
padding: 10px !important;
font-weight: 500 !important;
text-align: center;
}

.tribe-events-widget-events-list__view-more a:hover{
color: #ffffff !important;
}

.tribe-events-c-view-selector{
  display: none !important;
}

.tribe-events .tribe-events-c-events-bar__search-form {
  width: 97% !important;
}

/*Mobile*/
/*Home*/
/* Mobile only */
/* Mobile only */
@media (max-width: 767px) {

  /* Pulsanti "Ultimo album" e "Date tour" fuori dall'immagine */
  .elementor-element.elementor-element-e70e13b .elementor-widget-button {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Bottone full width */
  .elementor-element.elementor-element-e70e13b .elementor-widget-button .elementor-button {
    display: block !important;
    width: 100% !important;
  }

  /* Distanza dall'immagine al primo pulsante */
  .elementor-element.elementor-element-e70e13b .elementor-widget-button:first-of-type {
    margin-top: 10px !important;
  }

  /* Spazio tra i due pulsanti */
  .elementor-element.elementor-element-e70e13b .elementor-widget-button + .elementor-widget-button {
    margin-top: 10px !important;
  }

  /* Ultimo pulsante: margin-bottom 10px */
  .elementor-element.elementor-element-e70e13b .elementor-widget-button:last-of-type {
    margin-bottom: 10px !important;
  }

  .tribe-events .tribe-events-c-events-bar__search-form {
    width: 90% !important;
}

.tribe-events .tribe-events-c-events-bar__search-button {
  margin-right: 50px !important;
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
  width: 90% !important;
}

.elementor-95895 .elementor-element.elementor-element-97c3594 a.elementor-post__read-more {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
}
.inside-article .entry-title{
  font-size: 1.4rem !important;
}
.woocommerce #content table.cart td.actions .coupon .button, .woocommerce #content table.cart td.actions .coupon .input-text,
 .woocommerce #content table.cart td.actions .coupon input, .woocommerce table.cart td.actions .coupon .button,
  .woocommerce table.cart td.actions .coupon .input-text, .woocommerce table.cart td.actions .coupon input,
   .woocommerce-page #content table.cart td.actions .coupon .button, .woocommerce-page #content table.cart td.actions .coupon .input-text, .woocommerce-page #content table.cart td.actions .coupon input,
    .woocommerce-page table.cart td.actions .coupon .button, .woocommerce-page table.cart td.actions .coupon .input-text, .woocommerce-page table.cart td.actions .coupon input{
width: 100% !important;
margin-top: 10px !important;
}
.woocommerce #content table.cart td.actions .coupon .button, .woocommerce #content table.cart td.actions .coupon .input-text, 
.woocommerce #content table.cart td.actions .coupon input, .woocommerce table.cart td.actions .coupon .button, 
.woocommerce table.cart td.actions .coupon .input-text, .woocommerce table.cart td.actions .coupon input, 
.woocommerce-page #content table.cart td.actions .coupon .button, .woocommerce-page #content table.cart td.actions .coupon .input-text, 
.woocommerce-page #content table.cart td.actions .coupon input, .woocommerce-page table.cart td.actions .coupon .button, 
.woocommerce-page table.cart td.actions .coupon .input-text, .woocommerce-page table.cart td.actions .coupon input{
  width: 100% !important;
}

}

/* Solo mobile (no tablet) */
@media (max-width: 767px) {

  /* Menu in riga come desktop */
  #menu-topmenu-it.secondary-menu.sf-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  #menu-topmenu-it.secondary-menu.sf-menu > li {
    float: none !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #menu-topmenu-it.secondary-menu.sf-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* Icone coerenti e centrate */
  #menu-topmenu-it.secondary-menu.sf-menu > li > a i {
    line-height: 1 !important;
  }
  .secondary-navigation .menu-toggle{
    display: none !important;
  }

  .secondary-nav-aligned-right .secondary-navigation .inside-navigation{
    margin-top: 10px !important;
  }
}
