/*!
Theme Name: Aquagranda
Theme URI: https://www.alea.pro/
Author: Alea Pro
Author URI: https://www.alea.pro/
Description: Tema creato per Aquagranda
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aquagranda
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

aquagranda is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@import "assets/css/style.css";
@import "assets/css/style_addon.css?v=0.3";

:root {
  --color_red: #e4032e;
}


.display_none {
  display: none !important;
}

span.price_discount {
  /*transform: rotate(0.1rad);*/
  text-decoration: none !important;
  /* opacity: 0.5; */
  /*padding: 5px;*/
  /*color: white !important;*/
  /*background: red;*/
  /*
    left: -73px;
    top: -8px;
    */
  /*position: absolute;*/
  /*filter: drop-shadow(2px 4px 6px rgba(0,0,0,.6));*/
}

.productbox {
  display: flex;
}

.productbox span {
  font-size: 12px;
  /*du89UyWhqu*/
}

span.price_original,
div.price_original {
  color: var(--color_red);
  text-decoration: line-through !important;
  /*left: -23px;*/
  position: relative;
  /*top: 10px;*/
}

div.page-realta-virtuale-in-piscina .c-ajax-tableTicket td {
  text-align: center;
}

/*prezzo scontato*/
.cart-box__content__main__content--price del bdi {
  color: var(--color_red);
  font-size: 14px;
  font-weight: normal;
  /*white-space:nowrap; */
}

.cart-box__content__main__content--price ins {
  text-decoration: none;
  /*white-space:nowrap; */
}

.forceNoPaddingBottomSlideb {
  padding-bottom: 0 !important;
}

.prod-top-desc p {
  /*product description auto-linebreaks with paragraphs*/
  margin-bottom: 15px !important;
}

/*lang selector on main button list*/
.site-header_btn li.wpml-ls-slot-shortcode_actions a {
  text-decoration: none !important;
}

.site-header_btn li.wpml-ls-slot-shortcode_actions a,
.site-header_btn li.wpml-ls-slot-shortcode_actions a:visited {
  color: #f0f1f3 !important;
}

.site-header_btn li.wpml-ls-item-it a::before {
  content: "IT";
}

.site-header_btn li.wpml-ls-item-en a::before {
  content: "EN";
}

.site-header_btn li.wpml-ls-current-language {
  opacity: .7;
}

.site-header_btn li.wpml-ls-item a::before {
  color: #f0f1f3 !important;
}

/*change color during scrolling*/
.site-header.-scroll .site-header_btn li.wpml-ls-item a::before,
.site-header.-scroll-forced .site-header_btn li.wpml-ls-item a::before {
  color: #39464e !important;
}

.site-header.-scroll .site-header_btn li.wpml-ls-slot-shortcode_actions a,
.site-header.-scroll .site-header_btn li.wpml-ls-slot-shortcode_actions a:visited,
.site-header.-scroll-forced .site-header_btn li.wpml-ls-slot-shortcode_actions a,
.site-header.-scroll-forced .site-header_btn li.wpml-ls-slot-shortcode_actions a:visited {
  color: #39464e !important;
}


/*aufguss*/
.__table_view.__ttop {
  margin-top: 50px;
}

.__table_view.__padd_content .c-row_content {
  padding-bottom: 40px;
}

.__table_view .text {
  width: 100%;
}

.__table_view .c00 {
  font-weight: bold;
}

.__table_view .cb {
  font-weight: bold;
}


.__table_view .c-list-infoFeature.ctable li {
  white-space: nowrap;
  /*background: red;*/
  display: grid;
  grid-template-columns: 0.8fr 5fr 1fr;
  gap: 30px;
}

.__table_view.__img_on_right .c-contentCol-grid-top div:nth-child(1) {
  order: 2;
}

.__table_view.__img_on_right .c-contentCol-grid-top div:nth-child(2) {
  order: 3;
}

.__table_view.__img_on_right .c-contentCol-grid-top div:nth-child(3) {
  order: 5;
}

.__table_view.__img_on_right .c-contentCol-grid-top div:nth-child(4) {
  order: 1;
}

.__hot3 {
  font-weight: 800;
  /*color:#e4032e;*/
}

.__hot2 {
  font-weight: 600;
  /*color:#ec6608;*/
}

.__hot1 {
  font-weight: 500;
  /*color:#ca5f14;*/
}


.__table_view img {
  max-height: 700px;
}

._minimini .o-card_imageBox img {
  object-fit: scale-down !important;
  width: 100% !important;
  max-height: 125px !important;
  max-width: 190px !important;
}

._minimini .c-row_content_slide {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

._minimini .o-card_imageBox {
  padding: 0;
  background: transparent;
}

._minimini .o-imageBox_6-5:before {
  background: none !important;
}

/*---*/
/*tennis page*/
._mini_table {
  /*background:#dedede;*/
}

._mini_table tr>td:nth-of-type(1) {
  width: 20%;
}

/*
table.first-column > tbody > tr > td:nth-of-type(1) { font-size: larger; color: red;
*/

.pum-container p strong,
.pum-container p bold {
  color: #364451;
}

.pum-container p {
  color: #6f7b87;
  font-family: "Jost", sans-serif;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*fix home card hidden text*/
.o-card_header p {
  min-height: 6em !important;
  height: auto;
}


/* form black friday */
.form_black_friday {
  padding-top: 50px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: 400px;
}

.form_black_friday ._fsep {
  margin-bottom: 30px;
}

.form_black_friday ._fsend input {
  background-color: #364451 !important;
  color: #F0F1F3;
}

.form_black_friday .wpcf7-not-valid-tip {
  color: red;
}

.form_black_friday .wpcf7-list-item input[type=radio],
.form_black_friday .reg_check_label input[type=radio],
.form_black_friday .wpcf7-list-item input[type=checkbox],
.form_black_friday .reg_check_label input[type=checkbox] {
  position: relative;
}

.form_black_friday select {
  background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
  background-position: calc(100% - 1.50rem) center !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-right: 2rem !important;
}

.form_black_friday ::-webkit-input-placeholder {
  opacity: 0;
}

.form_black_friday :-moz-placeholder {
  /* Firefox 18- */
  opacity: 0;
}

.form_black_friday ::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 0;
}

.form_black_friday :-ms-input-placeholder {
  opacity: 0;
}

.cart-box-loading.cart_limit_error h4 {
  margin-right: 20px;
  color: var(--color_red);
}

.cart_limit_error {
  margin-bottom: 50px;
  font-size: 16px;
  border-top: 1px solid rgba(111, 123, 135, 0.25) !important;
  border-bottom: 1px solid rgba(111, 123, 135, 0.25) !important;
  padding-top: 20px;
  padding-bottom: 20px;
}

.home-event-img {
  background-size: cover !important;
  width: 100%;
  height: 100%;
  background-position-x: center !important;
  background-position-y: center !important;
  background-repeat: repeat-x;
  /* Repeat horizontally */
}

.page-template-homepage .c-block-headerPageHome .c-block-headerPageHome_background.disable_before:before {
  display: none;
}

/*makes homepage properly responsive*/
.page-template-homepage .c-block-headerPageHome .c-block-headerPageHome_background {
  display: flex !important;
  align-content: stretch !important;
  align-items: stretch !important;
  flex-direction: column !important;
}

.home_event_slide {
  height: 100%;
  width: 100%;
}

.c-block-listCategory.event_on {
  position: inherit !important;
}

.c-ajax-tableTicket span.price_original,
.c-ajax-tableTicket div.price_original {
  position: absolute;
  top: -17px;
}

.aq_form .wpcf7-textarea {
  width: 100% !important;
  border-radius: 23px !important;
  border: solid 2px rgba(111, 123, 135, 0.25) !important;
  padding: 9px 22px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0);
  display: block;
  width: -webkit-fill-available !important;
  height: unset !important;
  background-color: unset !important;
}


.ajax-productFilter .no_carosello_card>div.medium {
  width: calc(100% / 3 - 41px);
  margin: 16px 15px;
}

.multicat .c-filterList .o-filter {
  margin: 0;
}

.multicat button {
  margin: 0 !important;
}


/*
@media screen and (min-width: 320px) {
  .cart-box__content{
    height: unset !important;
  }
}
.c-user-login-header .cart-step-2 .access-box__content__main{
  height: unset !important;  
}
*/

._hide_main_category .o-filter_btn[data-depth="0"] {
  display: none !important;
}

/*sport week*/
.ticket_table_single_product .___keymap_main.blank {
  text-align: left;
}

.ticket_table_single_product .__keymap_leaf span {
  text-align: left;
  width: auto;
}

.ticket_table_single_product .c-tableTicket td:last-child:nth-child(2) div {
  justify-content: left;
}

.ticket_table_single_product .c-tableTicket .o-tdNameProduct-cell {
  width: 47%;
}

.ticket_table_combo_label {
  padding-right: 10px;
}

.c-block-listCategory-new {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #f0f1f3;
  z-index: 99;
}

/*home25*/
/* ========================================================================== */

.home25 .c-block-listCategory-new .c-row {
  padding-top: 40px;
  padding-bottom: 40px;
}

.c-contentCol.col-2.cl25 {
  grid-template-columns: 2.5fr 1fr;
  /*grid-template-rows: minmax(0, 300px);*/
  margin-top: 0;
  margin-bottom: 0;
}

/*main single slider alpine wellness*/
.swiper-slide.cl25,
.swiper-slide.cl25 .o-card_imageBox {
  max-height: 700px;
}

.home25 .c-row h6 {
  margin-top: 15px;
  margin-bottom: 10px;
}

.home25 .o-btn-ul {
  text-decoration: underline;
}

/*home slogan*/
.page-template-homepage.home25 .c-sloganHome {
  font-size: 33px;
  line-height: 37px;
}

.home25 .block_lista_icone {
  background: rgba(111, 123, 135, 0.1);
}

.home25 .block-newsletter {
  background: #707b88;
}

.o-card_header_home25 {
  max-width: 90%;
}

/* add gap before aq1816 */
.home25 .page_cards25 {
  margin-bottom: 30px;
}

/*to any screen of 1920 or less*/
@media screen and (max-width: 1920px) {
  .page-template-homepage.home25 .c_row_slogan{
    margin-top:0px;
    margin-bottom:0px;
    padding-top:20px;
    padding-bottom:20px;
  }  

  .page-template-homepage.home25 .c_row_slogan .c-row_content .c-btn{
    padding-top:0;
  }

  .page-template-homepage.home25 .c-sloganHome {
    font-size: 28px;
    line-height: 32px;
    max-width:500px;
  }

  /*main single slider alpine wellness*/
  .swiper-slide.cl25,
  .swiper-slide.cl25 .o-card_imageBox {
    max-height: 500px;
  }

}

@media screen and (max-width: 992px) {
  .page-template-homepage.home25 .c-sloganHome {
    font-size: 23px;
    line-height: 27px;
  }

  .c-contentCol.col-2.cl25 {
    grid-template-columns: 1.5fr 1fr;
  }

}

@media screen and (max-width: 768px) {
  .swiper-slide.cl25, .swiper-slide.cl25 .o-card_imageBox{
    max-height:unset;
  }
  .show-fifth-card > .c-row_content .c-row_content{
    padding-left:0;
    padding-right:0;
  }
  .home25 .homeCarousel .swiper-wrapper{
    display:block;
  }
  .home25 .homeCarousel .swiper-slide{
    width:100% !important;
  }
  .home25 .card_page_twocolumns{
    padding-bottom:0;
  }

  .home25 .page_cards25{
    padding-bottom:0;
    margin-bottom:0;
  }

  .home25 .show-fifth-card > .c-row_content .swiper{
    padding-left:15px !important;
    padding-right:15px !important;
  }

  .home25 .o-imageBox_1-1{
    max-height:400px;
  }

  .home25 .homeCarousel .o-card{
    margin-bottom:25px;
  }

  .c-contentCol.col-2.cl25 {
    display: flex !important;
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  .page-template-homepage.home25 .c-sloganHome {
    font-size: 18px;
    line-height: 22px;
  }  
}

.bfradio label input{
  display:none !important;
}

.blackfridaypage .wpcf7-response-output{
  color:red;
}

/*2025-11-19 18:52:54 slider home*/
.page-template-homepage .c-block-headerPageHome.slider_block_on{
margin-bottom:0;  
}
.c-block-listCategory.slider_block_on{
margin-bottom:70px; /*move margin-bottom from hero to block here*/
}

.c-block-listCategory.slider_block_on.slider_block_on_fullscreen_disabled{
position:absolute !important;
bottom:-70px !important;
}

.page-template-homepage .c-block-headerPageHome.slider_block_on.slider_block_on_fullscreen_disabled{
  margin-bottom:70px;
}

@media screen and (max-width: 2000px) {
  .c-block-listCategory.slider_block_on.slider_block_on_fullscreen_disabled{
  position:inherit !important;
  bottom:0px !important;
  }
  .page-template-homepage .c-block-headerPageHome.slider_block_on.slider_block_on_fullscreen_disabled{
    margin-bottom:0px;
  }
}

/*respect fullscreen option*/

/*ignore portrait slider resizing*/


@media (max-width: 768px) and (orientation: portrait) {
  .home-event-img.slider_block_on{    
  background-size: cover !important;
  width: 100%;
  height: 100%;
  background-position-x: center !important;
  background-position-y: center !important;  
  /*
  background-position-y: 73px !important;
  background-color: currentcolor !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-size: contain !important;
  */
  }
}

@media screen and (max-width: 950px) {
.page-template-homepage .c-block-headerPageHome.slider_block_on .c-block-headerPageHome_background .c-block-headerPageHome_text h2{
  font-size:27px;
  line-height:27px;
}

.page-template-homepage .c-block-headerPageHome.slider_block_on .c-block-headerPageHome_background .c-block-headerPageHome_text p{
  font-size:17px !important;
  line-height:17px;
}

}


@media screen and (max-width: 655px) {
.page-template-homepage .c-block-headerPageHome.slider_block_on .c-block-headerPageHome_background .c-block-headerPageHome_text h2{
  font-size:22px;
  line-height:22px;
}
.page-template-homepage .c-block-headerPageHome.slider_block_on .c-block-headerPageHome_background .c-block-headerPageHome_text p{
  font-size:12px !important;
  line-height:12px;
}
}

@media screen and (max-width: 500px) {

.site-header .o-action-btn{
width:20px;
height:20px;  
}

.c-block-headerPageHome_text{
padding-top:16px;
}
.page-template-homepage .c-block-headerPageHome.slider_block_on .c-block-headerPageHome_background .c-block-headerPageHome_text p{
  font-size:12px !important;
  line-height:12px;
  display:none;
}
}

@media screen and (max-width: 389px) {
.page-template-homepage .c-block-headerPageHome.slider_block_on .c-block-headerPageHome_background .c-block-headerPageHome_text h2{
  display:none;
}
}
/*remove filter effect on the right*/
.c-block-listCategory.slider_block_on::after{
display:none;  
}

/*swiper arrows*/

/* 1. Container */
.c-block-headerPageHome {
    position: relative;
}

/* 2. Base Styles for Hero Arrows */
.sliderhome.swiper-button-next-hero,
.sliderhome.swiper-button-prev-hero {
    z-index: 100; 
    color: #ffffff; 
    background-color: rgba(0, 0, 0, 0.3); 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;     /* Center the icon */
    justify-content: center; /* Center the icon */
    cursor: pointer;
    transition: background-color 0.3s ease;
    
    /* Absolute positioning */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* 3. Draw the Arrows (Since we removed the default swiper class) */
.sliderhome.swiper-button-next-hero::after,
.sliderhome.swiper-button-prev-hero::after {
    font-family: 'swiper-icons'; /* Uses Swiper's default font */
    font-size: 20px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.sliderhome.swiper-button-next-hero::after {
    content: 'next'; /* internal swiper font code */
}

.sliderhome.swiper-button-prev-hero::after {
    content: 'prev'; /* internal swiper font code */
}

/* If the font above doesn't load, use simple arrows: */
/* .sliderhome.swiper-button-next-hero::after { content: '>'; }
.sliderhome.swiper-button-prev-hero::after { content: '<'; }
*/

/* 4. Hover Effects */
.sliderhome.swiper-button-next-hero:hover,
.sliderhome.swiper-button-prev-hero:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 5. Positioning */
.sliderhome.swiper-button-next-hero {
    right: 20px;
}

.sliderhome.swiper-button-prev-hero {
    left: 20px;
}

/* 6. Mobile Handling */
@media (max-width: 768px) {
    .sliderhome.swiper-button-next-hero,
    .sliderhome.swiper-button-prev-hero {
        display: none;
    }
}

