/*
Theme Name: Bahamas
Theme URI: https://www.emmepubblicita.com/
Author: Web Agency Emmè
Author URI: https://www.emmepubblicita.com/
Description: Starter Theme Wordpress
Version: 2.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bahamas

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

/* ! Reset */
body, html{ font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; box-sizing: border-box;margin: 0;padding: 0;}
*,*:before,*:after{ box-sizing: border-box; }
h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0;padding: 0;}
ol,ul{padding-left: 20px;}
img{height: auto;}
a{text-decoration: none;}
hr{border:none; border-bottom: 1px solid #000}


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.46;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  color: var(--site-text-color);
  font-family: var(--body-font);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6,.main-title,.sub-title,.title, .tit, .h1, .has-h-1-font-size, .h2, .has-h-2-font-size, .h3, .has-h-3-font-size, .h4, .has-h-4-font-size, .h5, .has-h-5-font-size, .h6, .has-h-6-font-size{
  line-height: 1.2;
  color: var(--site-title-color);
  font-family: var(--heading-font);
  font-weight: 700;
  position: relative;
}

/* ! Title System */
h1, h2, h3, h4, h5, h6, p, ol, ul{margin-bottom: 1rem;}

h1, .main-title, .h1, .has-h-1-font-size {font-size: 70px;  }
h2, .sub-title, .h2, .has-h-2-font-size{font-size: 62px;}
h3, .title, .h3, .has-h-3-font-size{font-size: 41px;}
h4, .tit, .h4, .has-h-4-font-size{font-size: 30px;}
h5, .h5, .has-h-5-font-size{font-size: 24px;}
h6, .h6, .has-h-6-font-size{font-size: 20px;}


@media (max-width: 768px) {
  h1, .main-title, .h1, .has-h-1-font-size {font-size: 34px; }
  h2, .sub-title, .h2, .has-h-2-font-size{font-size: 30px;}
  h3, .title, .h3, .has-h-3-font-size{font-size: 26px;}
  h4, .tit, .h4, .has-h-4-font-size{font-size: 22px;}
  h5, .h5, .has-h-5-font-size{font-size: 18px; }
  h6, .h6, .has-h-6-font-size{font-size: 16px; }
}


/* Link color */
a { color: var(--link-color); }
a:hover { color: var(--link-color-hover); text-decoration: none; }

.clearfix, .cleared {
  clear: both;
}

ul {
  list-style-position: outside;
  padding-left: 20px;
}


.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 60px;
  border: 2px solid transparent;
  padding: 7px 28px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wp-block-buttons .wp-block-button.is-style-outline a.wp-block-button__link {
  background-color: transparent;
  color: #fff;
  border-color: inherit;
}

.btn:hover, .form .btn:hover, .wp-block-buttons .wp-block-button a.wp-block-button__link:hover, .wp-block-buttons .wp-block-button.is-style-outline a.wp-block-button__link:hover, input[type="submit"]:hover {
  background: #000 !important;
  border-color: #000 ;
  color: #fff ;
}


.wp-block-button__link.has-link-color-hover-background-color.has-background.wp-element-button:hover,
.servizi .item .btn:hover{
  background: #FF7700 !important;
  border-color: #F70 !important;
}

.wp-block-buttons .wp-block-button .wp-block-button__link.has-white-color.has-text-color.has-background.has-link-color.has-border-color.has-white-border-color.wp-element-button:hover,
.wp-block-buttons .wp-block-button .wp-block-button__link.has-black-color.has-text-color.has-background.has-link-color.has-border-color.has-black-border-color.wp-element-button:hover,
.wp-block-button__link.has-white-color.has-text-color.has-link-color.wp-element-button:hover{
  background: #4F9F40 !important;
	  border-color: #fff ;
  color: #fff ;

}





.icon-btn a:after {
  content: "";
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none"><path d="M16.9194 1L16.9194 17.3877L0.99996 17.3877M16.9194 17.3877L1.31724 1.32661" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
width: 16.388px;
height: 15.919px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
	transition:all 0.3s ease-in-out;
}
.icon-btn a {
  display: flex !important;
  align-items: center;
  gap: 16px;
}

.icon-people-check a::after{
  width: 31px;
height: 31px;

  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="31" height="31" viewBox="0 0 31 31" fill="none"><g clip-path="url(%23clip0_58146_72)"><path d="M13.0781 19.375C17.0908 19.375 20.3438 16.1221 20.3438 12.1094C20.3438 8.09668 17.0908 4.84375 13.0781 4.84375C9.06543 4.84375 5.8125 8.09668 5.8125 12.1094C5.8125 16.1221 9.06543 19.375 13.0781 19.375Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.90625 24.2188C5.39473 21.258 8.90766 19.375 13.0781 19.375C17.2486 19.375 20.7615 21.258 23.25 24.2188" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M24.2188 17.4375L26.1562 19.375L30.0312 15.5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_58146_72"><rect width="31" height="31" fill="white"/></clipPath></defs></svg>');
}

.icon-btn a:hover::after {
  transform: rotate(45deg);
}



input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], textarea, select {
  border: none;
  background-color: transparent;
  padding: 0 15px;
  height: 44px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0;
  font-family: var(--body-font);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #17151B;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 1px solid;
  padding: 0;
}

textarea {
  height: 80px;
  line-height: 1.6;
  padding: 10px;
}

select {
  background-image: url('data:image/svg+xml,<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 6L8.5 10L12.5 6" stroke="%231E1E1E" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position-x: calc(100% - 15px);
  background-position-y: 15px;
}

input:focus, textarea:focus {
  outline: none;
}

input[type="search"] {
  width: auto;
}

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

span.wpcf7-list-item {
  display: inline-block;
  margin: 0;
}

.wpcf7-spinner {
  position: absolute;
}

.wpcf7-form-control-wrap.privacy label,
.wpcf7-form-control.wpcf7-acceptance {
  font-size: 17px;

}

.wpcf7-not-valid-tip{
  z-index: 1;
  font-size: 10px;
  text-align: left;
  position: absolute;
  bottom: -12px;
  left: 15px;
  background: transparent;
  right: 15px;
  box-sizing: border-box;
  padding: 0.5px;
}

.privacy{
	margin: 10px 0;
  font-weight: 400;
  color: var(--site-text-color);

}

.privacy a {
  color: var(--site-text-color);
  text-decoration: underline;
}

.privacy .wpcf7-not-valid-tip {
  position: relative;
  top: 0;
  bottom: 0;
  left: auto;
  right: auto;
  text-align: inherit; 
}
.wpcf7-form-control-wrap label {
  font-weight: 400;
  color: var(--site-text-color);
}

.wpcf7-not-valid {
  border: 1px solid red !important;
  display: inline-block;
}

.wpcf7-form-control.wpcf7-acceptance.wpcf7-not-valid {
  border: none !important;
}

.wpcf7-response-output {
  max-width: 868px;
  margin: 30px auto 0 !important;
  border: none !important;
  color: red;
  text-align: center;
}

label {
  color: var(--site-title-color);
  font-family: var(--body-font);
  font-size: 16px;
  font-style: normal;
  display: block;
  margin: 0 0 5px;
  font-weight: 600;
  line-height: normal;
}



.dis, .privacy label {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}
.privacy label a {
  color: #000;
}



.wpcf7-not-valid {
  border: 1px solid red !important;
  display: inline-block;
}

/* Per Webkit (Chrome, Safari, Edge) */
::-webkit-input-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per Mozilla Firefox */
::-moz-placeholder {
  color: #17151B;
  opacity: 0.7;
}

/* Per Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: #17151B;
  opacity: 0.7;
}

/* Per Microsoft Edge (Legacy) */
::-ms-input-placeholder {
  color: #17151B;
  opacity: 0.7;
}

/* Per i browser più moderni */
::placeholder {
  color: #17151B;
  opacity: 0.7;
}






.header {
  position: sticky;
  z-index: 100;
  top:0;
  border-bottom: 2px solid #296118;
transition: all 1s cubic-bezier(.215, .61, .355, 1);

}

.admin-bar .header{
  top:32px;
}

.page-template-menu-trasparent .header {
  background: transparent !important;
  position: fixed;
  left: 0;
  right: 0;
}


.page-template-menu-trasparent:not(.scroll-down) .header {
  left: 15px;
  right: 15px;
  top: 70px;
  max-width: var(--corp);
  margin: auto;
  border: none;
}

.page-template-menu-trasparent:not(.scroll-down) .header::before {
  content: "";
  position: absolute;
  inset: 0;
	  background: rgba(41, 97, 24, 0.40) !important;

  backdrop-filter: blur(9.4px);
  -webkit-backdrop-filter: blur(9.4px);
  z-index: -1;
  pointer-events: none;
  border: 1px solid #FFF;
  border-radius: 10px;
  border: 1px solid #FFF;
}


.page-template-menu-trasparent:not(.scroll-down) .header .wp-block-buttons .wp-block-button a.wp-block-button__link,
.page-template-scuola-tennis .header .wp-block-buttons .wp-block-button a.wp-block-button__link {
	color:#fff !important;
	border-color:#fff !important;
}

.scroll-down .header{
  background: var(--site-bg) !important;
}


.page-template-scuola-tennis .header,
.page-template-scuola-tennis.scroll-down .header {
  background: var(--link-color) !important;
}




#logo {
  position: relative;
  z-index: 250;
}

#logo img {
  padding: 20px 0;
  height: 70px;
  width: auto;
  display: block;
  box-sizing: content-box;
}

.page-template-menu-trasparent:not(.scroll-down, .visible) .header #logo img {
  content: url("../../uploads/logo.png");
  height: 125px;
  margin-top: -40px;
  margin-bottom: -40px;
}

.page-template-scuola-tennis .header #logo img{
    content: url("../../uploads/logo-scuola-tennis.png");
  height: 86px;
  padding: 10px 0;

}

.header .corp {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.navigator {
  margin-left: 40px;
  margin-right: auto;
}

.navigator .menu {
  margin: 0;
  padding: 0;
  z-index: 110;
  position: relative;
}

.navigator .menu li {
  display: inline-block;
  position: relative;

}

.navigator .menu li a {
  padding: 0 20px;
  line-height: 40px;
  color: var(--site-body-color);
  display: block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.page-template-menu-trasparent:not(.scroll-down) .navigator .menu li a,
.page-template-scuola-tennis .header { 
  color: #fff;
}

.navigator .menu li a:hover,
.navigator .menu li.current_page_item>a {
  font-weight: 700;

}


.navigator .menu ul {
  display:none;
  position: absolute;
  padding: 0;
  left:0;
  width: 200px;
  transition: all 0.6s cubic-bezier(.215, .61, .355, 1);
  box-shadow: 0 9px 68px 0 rgba(38, 43, 43, 0.1);
  background: #fff;
  top: 40px;
}
.navigator .menu li:hover ul,
.navigator .menu li:focus-within ul {
  display:block;
  z-index: 300;
}
.navigator .menu ul li { 
  width: 100%;
  display:block;	
}

.navigator .menu ul li a {
  line-height: 20px;
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--site-title-color) !important;
  text-align: left;
}

.navigator .menu ul li a:hover{
  background-color: #f5f5f5;
}


.navigator .menu > li.menu-item-has-children > a {
  position: relative;
   padding-right: 28px;
}
.navigator .menu > li.menu-item-has-children > a::after {
  content: " ";
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
    right: 11px;
  transform: translateY(-50%);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M10.998 5.35043L5.78943 10.7955L0.499967 5.73567M5.78943 10.7955L5.7102 0.499999" stroke="black" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}
@media (min-width: 1025px) {

.page-template-menu-trasparent:not(.scroll-down) .menu > li.menu-item-has-children > a::after,
  .page-template-scuola-tennis .header .menu > li.menu-item-has-children > a::after {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M10.998 5.35043L5.78943 10.7955L0.499967 5.73567M5.78943 10.7955L5.7102 0.499999" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
}

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  color: #fff;
}

.footer h4, .footer .tit {
  font-size: 21px;
  margin: 0 0 15px;
  text-transform: uppercase;
  color: #fff;
}

.footer a {
  color: #fff;
}

.footer a:hover, 
.credit a:hover {
  color: #eee;
}

.footer ul {
  padding-left: 10px;
}

.credit {
  color: #fff;
  text-align: center;
  padding: 15px 0 10px;
  font-size: 11px;
}

.credit a{
  color: #fff;
}

.credit p {
  margin: 0;
}

.contenuto img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-hero {
  padding: 150px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
}
.page-hero .main-title {
  margin: 0;
}

.whatsapp-button {
  background: #42e35f;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  border-radius: 100%;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} 
.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}


/* ! Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 500;
  display: none;
  border-radius: 65px;
  border: 1px solid #FFF;
  background: #FFF;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
  align-items: center;
  justify-content: center;
}


.wp-block-group {
  scroll-margin-top: 100px;
}



.call-bar {
  position: relative;
  z-index: 250;

}

.call {
  background: var(--link-color);
  box-shadow: 0px 0px 20.032px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 16px 10px;
  position: fixed;
  left: auto;
  right: 85px;
  bottom: 10px;
  border-radius: 0;
  width: 128px;
  }
.call a {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}


.call-bar-back-to-top {
  background: var(--link-color);
  box-shadow: 0px 0px 20.032px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 20px 10px;
  position: fixed;
  left: auto;
  right: 20px;
  bottom: 10px;
  border-radius: 0px;
  width: 63px;
}


.team .item {
  display: none;
}
.team .item:nth-child(1), .team .item:nth-child(2), .team .item:nth-child(3) {
  display: block;
}


/* Floating label CF7 */

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

.floating-form .floating-field label {
  position: absolute;
  top: 14px;
  left: 0;
  z-index: 2;
  margin: 0;
  color: #2A292970;
  font-family: var(--body-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* input, select, date e textarea */
.floating-form .floating-field input[type="text"],
.floating-form .floating-field input[type="email"],
.floating-form .floating-field input[type="tel"],
.floating-form .floating-field input[type="date"],
.floating-form .floating-field select,
.floating-form .floating-field textarea {
  padding: 16px 0 0;
}

/* utile per select/date: evita che il testo stia troppo attaccato alla label */
.floating-form .floating-field select,
.floating-form .floating-field input[type="date"] {
  min-height: 48px;
}

/* textarea coerente con la tua base */
.floating-form .floating-field textarea {
  height: 100px;
  padding-top: 24px;
  padding-bottom: 10px;
}

/* stato attivo o compilato */
.floating-form .floating-field.is-active label,
.floating-form .floating-field.is-filled label {
  top: 6px;
  font-size: 10px;
  color: var(--site-text-color);
  font-family: var(--heading-font);
}

/* wrapper CF7 */
.floating-form .floating-field .wpcf7-form-control-wrap {
  display: block;
}

/* errore CF7: mantiene il tuo bordo rosso */
.floating-form .floating-field .wpcf7-not-valid {
  border: 1px solid red !important;
}

/* posizione errore sotto al campo */
.floating-form .floating-field .wpcf7-not-valid-tip {
  bottom: -15px;
  left: 15px;
  right: 15px;
}


/* Nasconde testo placeholder select/date quando la label è dentro al campo */
.floating-form .floating-field select,
.floating-form .floating-field input[type="date"] {
  color: transparent;
  border-color: #17151B;

}

/* Mostra il testo quando il campo è attivo o compilato */
.floating-form .floating-field.is-active select,
.floating-form .floating-field.is-filled select,
.floating-form .floating-field.is-active input[type="date"],
.floating-form .floating-field.is-filled input[type="date"] {
  color: var(--site-text-color);
}

/* Nasconde il placeholder interno della data su Chrome/Safari/Edge */
.floating-form .floating-field input[type="date"]::-webkit-datetime-edit {
  color: transparent;
  border-color: #17151B;
}

/* Lo mostra quando attivo o compilato */
.floating-form .floating-field.is-active input[type="date"]::-webkit-datetime-edit,
.floating-form .floating-field.is-filled input[type="date"]::-webkit-datetime-edit {
  color: var(--site-text-color);
}

.wpcf7-checkbox label {
  margin-right: 16px !important;
}



.servizi .item {
  background: var(--link-color);
  border-radius: 20px;
  color: #fff;
}
.servizi .item .tit a {
  color: #fff;
}
.servizi .item .tit {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  font-family: var(--body-font);
  margin-bottom: 20px;
}
.servizi .item .intro {
  font-size: 15px;
}
.servizi .item .text {
  padding: 30px;
}
.servizi .item figure {
  margin: 0;
}
.servizi .item figure img {
  aspect-ratio: 400/296;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}


.servizi .item .btn {
  background: var(--link-color-hover);
  margin-top: 20px;
}



.tablist {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 0px;
  margin-top: -105px;
  margin-left: -14px;
}
.tablist li {
  display: block;
}
.tablist li a {
  background: transparent;
  color: var(--link-color);
  padding: 10px 20px;
  display: block;
  border: 1px solid var(--link-color);
  border-radius: 10px 10px 0 0;
}
.tablist li.active a {
  background: var(--link-color);
  color: #fff;
}



.interclub .item {
  border-radius: 20px;
  border: 1px solid #000;
  background: #FFF;
  color: #000;
}
.interclub .item .tit {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
}
.interclub .item .tit a{
	  color: #000;

}
.interclub .item .text {
  padding: 30px 30px 50px;
}

.servizi:not(.interclub) .item:hover {
  background: #000;
}



.social {
  display: flex;
  gap: 10px;
}
.social svg {
  width: 24px;
  height: 24px;
}


.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title {
  color: #000;
}
.wp-block-accordion-panel {
  margin-top: 1px;
}
.wp-block-accordion-heading__toggle-icon {
  background: var(--link-color);
  color: #fff;
  border-radius: 100%;
  font-weight: 300;
  width: 30px;
  height: 30px;
  font-size: 24px;
}


.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title:before{
  content: "• "
}





.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-content span {
  display: inline-block;
  padding-right: 2rem; /* Spazio tra le scritte duplicate */
}




.marquee {
  color: #FFF;
font-size: 18px;
font-style: normal;
font-weight: 600;
  line-height: 100%;
  background: #000;
  padding: 15px 0;
  width: auto;
  z-index: 20;
  position: relative;
}


.marquee.lime {
  border-top: 3px solid #000;
  background: #CF0;
  color: #000;
  transform: rotate(-2.35deg);
  z-index: 10;
  position: relative;
  margin-bottom: -50px;
  margin-top: 40px;
  border-bottom: 3px solid #000;
  overflow: visible;
}

.marquee.lime:before {
  content: "";
  background: #fff;
  display: block;
  height: 40px;
  position: absolute;
  top: -43px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.marquee-content svg {
  margin-bottom: -2px;
  display: inline-block;
  margin-left: 20px;
  margin-right: -10px;
}

.contenuto:has(.password-page-title) {
  padding: 150px 0;
}


@media screen and (min-width: 1100px) {

body:has(.password-page-title) .footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
	
}

.page-id-239 .team .item {
  display: block;
}




.bhm-timeline-section {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.bhm-timeline-swiper {
  width: 100%;
  position: relative;
  padding-bottom: 110px;
}

.bhm-timeline-item {
  display: flex;
  flex-direction: column;
}

.bhm-timeline-year {
  color: #000;
  padding: 0 40px 32px;
  border-bottom: 2px solid #e4e4e4;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.bhm-timeline-content {
  padding: 44px 42px 0;
  color: #a8a8a8;
}

.bhm-timeline-content h3,
.bhm-timeline-content .title {
  color: #9c9c9c;
  /*! font-family: Montserrat; */
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 16px;
}

.bhm-timeline-content p {
  margin: 0;
  max-width: 560px;
  /*! font-size: 18px; */
  font-weight: 400;
  color: #ababab;
  line-height: normal;
}

.bhm-timeline-nav {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 60px;
  margin-right: 8vw;
}

.bhm-timeline-prev,
.bhm-timeline-next {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #422d2d;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  box-shadow: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bhm-timeline-next {
  border-color: var(--link-color);
  background: var(--link-color);
}

.bhm-timeline-prev svg,
.bhm-timeline-next svg {
  display: block;
  width: 20px;
  height: 20px;
}


.bhm-timeline-prev.swiper-button-disabled,
.bhm-timeline-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}





.bhm-timeline-item .bhm-timeline-year span {
    padding: 0px 15px;
  border-radius: 30px;

}
.bhm-timeline-item:hover .bhm-timeline-year span {
  background: var(--link-color);
  color: #fff;
}
.bhm-timeline-item:hover .title{
  color: #000;
}


.bhm-timeline-item:hover p{
  color: #555;
}
.bhm-timeline-item:hover .bhm-timeline-year{
  border-bottom-color: var(--link-color);
}







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

.header-widget .wp-block-buttons .wp-block-button a.wp-block-button__link {
  padding: 7px 20px;
  font-size: 16px;
}
.navigator .menu li a {
  padding: 0 15px;
}
.navigator {
  margin-left: 30px;
}
	
}



.season-block .wp-block-group .wp-block-group .wp-block-group {
  padding-top: 0 !important;
}

.season-block .wp-block-group .wp-block-group {
  gap: 0;
}








/*--------------------------------------------------------------
# Breakpoint (1024px)
--------------------------------------------------------------*/

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

  .top-bar {
    display: none;
  }

  .resmenu {
    display: block;
	order: 3;
  }
	
  .header-widget{
	margin-left:auto; 
	margin-right:40px;
  }


  .navigator {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    transform: translateX(100%);
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    bottom: 0;
    padding-top: 80px;
    background-color: #fff;
    z-index: 200;
    margin:0;
    overflow: scroll;
    padding-left: 30px;
    padding-right: 30px;
  }

  .visible {
    overflow: hidden;
  }

  .visible .navigator {
    transform: translateX(0%);
    -moz-transform: translateX(0%);
    -webkit-transform: translateX(0%);
  }

  .navigator .menu {
    display: block;
    width: 100%;
    margin: 40px auto 0;
    position: relative;
  }

  .navigator .menu li {
    display: block;
  }

  .navigator .menu li a {
    line-height: 50px;
    background-color: transparent;
	color: var(--site-title-color) !important;
    font-size: 22px;
  }
	
 .navigator .menu .sub-menu {
    position: relative;
    width: 100%;
    opacity: 1;
    top: auto !important;
    visibility: visible;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    margin: 0;
	padding: 0px;
    display: block;
  }

  .navigator .menu .open-dropdown .sub-menu {
    max-height: 980px;
  }

  .menu > li.menu-item-has-children.open-dropdown > a::after{
	transform: rotate(-90deg);
  }
	

  .page-template-menu-trasparent:not(.scroll-down, .visible) #nav-icon2 span,
	.page-template-scuola-tennis:not(.visible)  #nav-icon2 span{
	background: #fff;
  }
	
	
	

}

/*--------------------------------------------------------------
# Breakpoint (768px)
--------------------------------------------------------------*/

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

	
  .credit {
   padding-bottom: 100px;
  }
	
.page-template-menu-trasparent:not(.scroll-down) .header {
  top: 40px;
}	
.visible .header {
  top: 0 !important;
}


.tablist {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: auto;
  margin-top: -96px;
}
.tablist li a {
  font-size: 10px;
  padding: 10px;
}
	

.hero-pagine {
  min-height: 400px !important;
}
.hero-pagine.wp-block-cover .wp-block-cover__background {
  background: linear-gradient(180deg,rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.1) 100%) !important;
}	

.brand {
  display: grid !important;
  grid-template-columns: repeat(2,1fr);
}
	

.header-widget .wp-block-buttons .wp-block-button a.wp-block-button__link {
  font-size: 13px;
  padding: 8px 10px;
}
.header-widget {
  margin-right: 13px;
	z-index:250;
}	
	
	
.contenuto:has(.password-page-title) {
  padding: 90px 0;
}
	
	
.footer {
  padding-bottom: 90px;
}
	
.cl-price td:first-child {
  min-width: 60px;
}
.cl-price  .wp-block-group {
  padding: 10px !important;
  border-radius: 10px !important;
}
.cl-price .wp-block-column {
  border-radius: 10px !important;
}
	
.swiper.bhm-timeline-swiper {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}
.bhm-timeline-nav {
  margin-top: 0;
}
	

.cl-price p:first-child {
  min-width: 60px;
}	
	
	
.season-block {
  display: flex;
  flex-direction: column;
}
.season-toggle {
  order: 1;
  margin-top: 0;
  margin-bottom: 29px !important;
}
.cl-price {
  order: 2;
}
	
	
}
