/*
 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
*/

/* Centet mobile header logo */
#mobile-header {
    position: relative;
    background-color:#1B1B1B!important;
}

#mobile-header .mobile-header-logo {
    margin: unset;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
}

/* Position hamburger on right of screen */
#mobile-header .menu-toggle {
    margin-left: auto;
}
/* header and menu */
.menu-bar-item .cart-contents{display:none;}
.navigation-branding img,
#mobile-header .site-logo.mobile-header-logo img {height:100px;padding:0;}
.inside-navigation.grid-container.grid-parent {max-width:none;}
.slideout-navigation.do-overlay .inside-navigation {max-width:none!important;}
@media (max-width: 781px) {.menu-toggle{line-height:55px;}}
.menu-toggle::before {
    content: "Menu";
    margin-right: 8px;
    /* Add some space between text and icon */
}
#mobile-header {
    position: relative;
    top: 0;
    width: 100%;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

#mobile-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

/* Add padding to the body when header is fixed to prevent content jump */
body.has-fixed-header {
    padding-top: var(--header-height);
}


.blu {color:#00A8E7;}/*#009FE3*/
a { text-decoration: none; font-family: 'PiekosFX Basic BB';}
.wp-block-button a{font-family: 'Bubblegum Sans'}
.nomargin {margin:0!important;}
.titolohome {font-size:clamp(3.375rem, 1.7019rem + 7.4359vw, 10.625rem);margin-bottom:0;}
.subtitlehome {font-size:clamp(3.375rem, 1.7019rem + 2.4359vw, 10.625rem)!important;margin-bottom:1.5rem;}
.home-header-colonna-dx,.bold-header-colonna-dx {padding: calc(20px + 100*((100vw - 360px) / 1560));}
@media screen and (min-width: 782px) {.home-header-colonna-dx {max-width:50%;}}
@media screen and (min-width: 782px) {.bold-header-colonna-dx {max-width:none;}}
:where(.nogap.wp-block-columns.is-layout-flex) {gap: 0;}
.alignfull .is-layout-grid {max-width:none;}
.is-layout-grid h3,.is-layout-grid p  {width:100%;}
.w100 {width:100%;}

.graybox{background-color:rgb(49, 49, 48);padding:70px 120px;}

.light-graybox{background-color:#575757;border-radius:5px;padding:15px;}
.wp-block-group {border-radius:5px;}
@media (max-width: 781px) {
    .separate-containers .site-main{margin:50px;}
h3.has-large-font-size {font-size:32px!important;}
.fs24mob{font-size:24px!important;}
    /* colonne doppie in mobile */
    .mobile2col.wp-block-columns {
        display: grid!important;
        grid-template-columns: repeat(2, 1fr);
        gap: 2em;
    }
    /* Hide empty columns */
    .wp-block-column:empty {
        display: none;
    }
    
    /* Keep columns with images together */
    .wp-block-column:has(img) {
        grid-column: auto;
        order: -1;
    }
    .navigation-branding img, #mobile-header .site-logo.mobile-header-logo img {height:auto;}

    .wp-block-group .wp-block-group-is-layout-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
    .graybox{padding:20px 15px;}
}

h2.wp-block-scroll-text {font-size:clamp(2.625rem, 1.9904rem + 2.8205vw, 5.375rem);}



/* recensioni */
/* recensioni */

.page-id-22993 .wpcf7 {display:none!important;}

/* Hide the title */
.glsr-review-title {
  display: none;
}

/* Set up 3-column layout */
.glsr-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Ensure each review takes full width of its column */
.glsr-review {
  width: 100%;
}

/* Set all text to white color */
.glsr-reviews,
.glsr-review,
.glsr-review * {
  color: white;
}

/* Ensure star ratings remain visible */
.glsr-star-rating .glsr-star {
  color: gold; /* or any color you prefer for stars */
}

/* Style for each review */
.glsr-review {
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Make sure the "Show more" link is visible */
.glsr-read-more a {
  color: lightblue;
  text-decoration: underline;
}

/* Align rating and date inline with consistent height */
.glsr-review-rating,
.glsr-review-date {
  display: inline-block;
  vertical-align: middle;
  height: 30px; /* Adjust this value as needed */
  line-height: 30px; /* Should match the height */
}

/* Add some space between rating and date */
.glsr-review-date {
  margin-left: 10px;
}

/* Ensure content starts at the same height */
.glsr-review-content {
  margin-top: 10px; /* Adjust as needed */
}

/* Author styling */
.glsr-review-author {
  margin-top: 10px; /* Space after content */
}

/* Mobile layout */
@media screen and (max-width: 768px) {
  .glsr-reviews {
    grid-template-columns: 1fr; /* Single column for mobile */
  }

  .glsr-review {
    margin-bottom: 20px; /* Add space between reviews on mobile */
  }
}
/* /recensioni */
/* /recensioni */


/* form */
/* form */
form .wp-block-columns {margin-bottom:0;}
.wp-block-checkbox .wpcf7-not-valid-tip{display:inline;}
.wp-block-input__input,
.wp-block-select__input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--wp--preset--color--contrast);
    border-radius: 4px;
}

.privacy-section {
    margin: 20px 0;
}

.wp-block-button__link {
    position: relative;
    background-color: #FFA500;
    color: black;
    border: 3px solid black;
}


.form-field {
    margin-bottom: 20px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.privacy-field {
    text-align: left;
}

.button {
    position: relative;
    overflow: hidden;
}
input[type="text"],input[type="email"],input[type="date"],select{border: 3px solid black!important;border-radius: 5px!important;}
input[type="checkbox"] {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 10px;
}
/* /form */
/* /form */


/* begin athlete data */
.athlete_data {
    border: none;
    border-collapse: collapse;
    color:black;
}

.athlete_data td {
    border: none;
    font-family:"Bubblegum Sans";
}
.athlete_data td:first-child {padding-left:15px;}
.athlete_data td:last-child {
    padding-right: 15px;
}

.opb_venue {
    font-size: x-small;
}

.opb_dati td {
    padding-bottom: 0;
}

.opb_venue td {
    padding-top: 0;
}

.record {
    font-weight: 900;
}

.table_header_data {
    background: #FFA500;
    color: white;
    display: none;
}

.odd {
    background-color: #eaeaea;
}

.data-left {
    float: right
}


.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
    margin-bottom:15px;
}

.accordion-content h5 {
    font-family: "Bangers";
}

.accordion input[type="checkbox"] {
    display: none;
}

.accordion input[type="checkbox"]:checked+label+.accordion-content {
    max-height: 5000px;
}

.accordion label span {
    float: right;
    font-size: 0.5em;
}

.accordion input[type="checkbox"]:checked+label .expand {
    display: none;
}

.accordion input[type="checkbox"]:not(:checked)+label .deexpand {
    display: none;
}

.accordion label {
    font-size: 2em;
    font-weight: 600;
    width:100%;
    font-family:"Bangers";
    color:black;
}

@media screen and (max-width: 768px) {
    .accordion label {
        font-size: 1em;
    }
}

.accordion label:hover {
    cursor: pointer;
    color: #FFA500;
}

.accordion{background-color: white; padding:1em;border: 15px solid gray;    border-radius: 5px;}

/* end athlete data */

/* athlete news */
h3.athlete-news-h3 {
    font-family: 'PiekosFX Basic BB'!important;
    color: #FFFFFF !important;
    font-size:2em;
}
@media screen and (max-width: 768px) {
    ul.athlete-news{margin-left:0;}
}
/* end athlete news*/

/* parlano di noi */
.page-id-22613 .content-area a{font-family: 'PiekosFX Basic BB' !important;}
/* end parlano di noi */

/* blocchi società */
.gap15{gap: 15px;}
.parent-societa-amiche .site-main .wp-block-group__inner-container{padding: 15px;}
@media screen and (max-width: 768px) {.parent-societa-amiche .inside-article{padding:0;}}
/* eng blocchi società */

/* footer società */
@media screen and (max-width: 768px) {
.footer-societa-p {font-size:1em!important;}
.footer-societa-button a{font-size: 0.5em!important;}
}
/* end footer società */

h1 .scroll-text {font-size:84px;}
@media screen and (max-width: 768px) {h1 .scroll-text {font-size: 42px;}}

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