/*
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.7
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: 400 !important;
  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: 36px;  }
h2, .sub-title, .h2, .has-h-2-font-size{font-size: 34px;}
h3, .title, .h3, .has-h-3-font-size{font-size: 28px;}
h4, .tit, .h4, .has-h-4-font-size{font-size: 24px;}
h5, .h5, .has-h-5-font-size{font-size: 20px;}
h6, .h6, .has-h-6-font-size{font-size: 18px;}


@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"], body .um .um-form a.um-request-button, body .um input[type="submit"].um-button, .um a.um-button {
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 25px;
    border: 1px solid transparent;
  padding: 10px 25px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  font-family: var(--body-font);
}

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

.wp-block-button.is-style-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--link-color);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent;
  color: var(--link-color);
  padding: 0;
}

.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: var(--link-color-hover);
  border-color: var(--link-color-hover);
  color: #fff;
}
/*
.wp-block-buttons .wp-block-button a.wp-block-button__link{
	display:flex;
	gap:16px;
	align-items:center;
}

.wp-block-buttons .wp-block-button a.wp-block-button__link::after {
  content: "";
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M1.41418 1.00002L13.4142 1L13.4142 13M13.4142 1L1.4142 13" stroke="white" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"/></svg>');
  width: 12px;
  height: 12px;
  display: block;
  background-size: contain;
  background-position: center;
}

.wp-block-buttons .wp-block-button a.wp-block-button__link.has-white-background-color::after{
	  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M1.41418 1.00002L13.4142 1L13.4142 13M13.4142 1L1.4142 13" stroke="black" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"/></svg>');

}

.wp-block-buttons .wp-block-button.icon-arrow-down a.wp-block-button__link::after{
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M1.41418 13.4142L13.4142 13.4142L13.4142 1.41418M13.4142 13.4142L1.4142 1.4142" stroke="black" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"/></svg>');
}

.wp-block-buttons .wp-block-button.icon-arrow-right a.wp-block-button__link::after{
	  width: 26px;
  height: 26px;

	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="27" viewBox="0 0 26 27" fill="none"><ellipse cx="13" cy="13.0188" rx="13" ry="13.0188" fill="white"/><path d="M16.6943 16.3749L19.1527 13.9166L16.6943 11.4583" stroke="%23AA51F0" stroke-linecap="round" stroke-linejoin="round"/><path d="M8.5 9V10.6389C8.5 11.5082 8.84534 12.3419 9.46004 12.9566C10.0747 13.5713 10.9085 13.9167 11.7778 13.9167H19.1528" stroke="%23AA51F0" stroke-linecap="round" stroke-linejoin="round"/></svg>')
}

*/




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-radius: 4px;
	border: 1px solid #31C8F7;
	background: #F0F2F5;
  padding: 0 15px;
  height: 44px;
  box-sizing: border-box;
  width: 100%;
  font-family: var(--body-font);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #2A292970;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
	border: 1px solid var(--link-color);
}

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

select {
  appearance: none;

}

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

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

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

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: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per Microsoft Edge (Legacy) */
::-ms-input-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per i browser più moderni */
::placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}






.header {
  position: sticky;
  z-index: 100;
  top:0;
}

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

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

.scroll-down .header{
   background-color: #18202c;
}

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

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


.logo-white {
    display: none !important;
}

.page-template-menu-trasparent #logo .logo-normal {
    display: none;
}

.page-template-menu-trasparent #logo .logo-white {
    display: block !important;
}

body.scroll-down #logo .logo-normal {
    display: block;
}

body.scroll-down #logo .logo-white {
    display: none !important;
}


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

.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 12.5px;
  line-height: 40px;
  color: #fff;
  display: block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

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

.navigator .menu li a:hover,
.navigator .menu li.current_page_item>a {
  color: #fff;
  font-weight: bold;}



.navigator .menu li a::after {
  content: "";
  border-radius: 6px;
  opacity: 0;
  border-bottom: 2px solid var(--link-color);
  padding-bottom: 5px;
  width: 100%;
  height: 1px;
  margin-top: -14px !important;
  display: block;
}

.navigator .menu li a:hover:after,
.navigator .menu li.current_page_item>a:after{
	opacity:1;
}


.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: 30px;
  height: 30px;
  background-size: 30px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: rotate(90deg);
  margin-top: -17px;
  background-size: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
}

.page-template-menu-trasparent:not(.scroll-down) .menu > li.menu-item-has-children > a::after{
	background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
}

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

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

.footer a {
  color: #fff;
}

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

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

.credit {
  color: #A2ACAF;
  text-align: center;
  padding: 0 0 25px;
}

.credit a{
  color: #A2ACAF;
}

.credit p {
  margin: 0;
}

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


.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: 25px;
  width: 55px;
  height: 55px;
  cursor: pointer;
  z-index: 500;
  display: none;
  border-radius: 65px;
  border: 1px solid #000;
  background: #000;
  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: 25px 0px 0 25px;
  width: 128px;
  background: var(--wp--preset--gradient--agile) !important;
  }
.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 25px 25px 0px;
  width: 63px;
  background: var(--wp--preset--gradient--agile) !important;
}



.form-btn {
  justify-content: center;
  background: var(--link-color);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  transition: all .3s ease-in-out;
  border-radius: 25px;
  border: none !important;
  padding: 10px 25px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  align-items: center;
  display: inline-flex;
  gap: 16px;
}
.form-btn .btn {
  padding: 15px 60px 15px 20px;
  background: transparent !important;
  margin-top: -15px;
  margin-bottom: -15px;
  margin-left: -20px;
  margin-right: -60px;
}




.dataevento, .luogoevento {
  text-align: center;
  display: block;
  margin: 0;
}


.postmetaevento {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.postmetaevento .itm {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
}
.postmetaevento .icon svg {
  display: block;
}



.agilelab-add-calendar__title {
  color: #000;
  font-family: var(--body-font);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.agilelab-add-calendar svg {
  width: 25px;
  height: 25px;
}
.agilelab-add-calendar__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}
.agilelab-add-calendar__link {
  display: flex;
  gap: 10px;
  color: #000;
  font-family: var(--body-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;
  align-items: center;
}
.agilelab-add-calendar__icon {
  display: flex;
  align-items: center;
}




/* ==========================================================
   FILTRI CATEGORIE
========================================================== */

.eventi-filtri {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 12px;
    margin: 0 0 60px;
    justify-content: flex-start;
    padding-bottom: 30px;
  position: relative;
}

.eventi-filtri:before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  background: #F0F2F5;
  width: 100%;
  height: 1px;
  bottom: 0;
    margin-left: calc(-100vw/2 + 100%/2);
  margin-right: calc(-100vw/2 + 100%/2);
  max-width: 100vw;
  width: auto;
}

.eventi-filtro {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border: 1px solid #F0F2F5;
    border-radius: 30px;
    background: transparent;
    text-align: center;
    cursor: pointer;
    transition:
        color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    color: #4E4E4E;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    font-family: var(--body-font);
}

.eventi-filtro:hover,
.eventi-filtro:focus-visible {
    color: #18202c;
}

.eventi-filtro.is-active {
    /*! color: #25baf2; */
    background: #18202c;
    color: #fff;
}

.eventi-filtro:focus-visible {
    outline: 2px solid #25baf2;
    outline-offset: 4px;
}


/* ==========================================================
   LOADER AJAX
========================================================== */

.eventi-loader {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-top: 80px;
    background: rgba(255, 255, 255, 0.78);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.eventi-loader__spinner {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 4px solid rgba(37, 186, 242, 0.25);
    border-top-color: #25baf2;
    border-radius: 50%;
    animation: bahamas-eventi-spinner 0.8s linear infinite;
}

.eventi-loader__text {
    align-self: center;
    font-size: 15px;
    font-weight: 500;
    color: #444;
}

.js-eventi-archive.is-loading {
    cursor: progress;
}

.js-eventi-archive.is-loading .eventi-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.js-eventi-archive.is-loading .eventi-grid {
    opacity: 0.35;
    filter: blur(1px);
    pointer-events: none;
}

.js-eventi-archive.is-loading .eventi-filtro {
    opacity: 0.65;
    pointer-events: none;
}

@keyframes bahamas-eventi-spinner {
    to {
        transform: rotate(360deg);
    }
}





.eventi-sezione__titolo {
  text-align: left;
  color: #4E4E4E;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 35px;
}
.eventi-sezione.eventi-sezione--passati {
  margin-top: 45px;
}




.eventi-archive .item {
  border: 1px solid #F0F2F5;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
}
.eventi-archive .item .image {
  margin: 0;
}
.eventi-archive .item .image img {
  aspect-ratio: 347/196;
  object-fit: cover;
  border-radius: 4px;
}
.eventi-archive .item .luogoevento.itm {
  max-width: 174px;
  text-align: left;
  align-items: flex-start;
}
.eventi-archive .item .postmetaevento {
  align-items: flex-start;
  margin: 15px 0;
  flex-wrap: nowrap;
  font-size: 14px;
}
.eventi-archive .item .dataevento.itm {
  text-align: left;
  font-weight: bold;
}
.eventi-archive .item .postmetaevento .itm {
  gap: 6px;
  font-family: "Geist Mono";
}


.eventi-archive .item .tit {
  font-size: 18px;
  font-family: var(--body-font);
}

.eventi-archive .item .tit a{
  color:var(--site-title-color);
}

.eventi-archive .item .text {
  gap: 15px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.read-more {
  display: flex;
}

.read-more.btn{
  display: block;
  text-align: center;
  border: 1px solid #18202C;
  
}

.eventi-archive .item .inner-content {
  display: flex;
  flex-direction: column;
  min-height: 197px;
}


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


.sidebar-evento {
  position: sticky;
  top: 120px;
}

.admin-bar .sidebar-evento {
  top: 152px;
}


}


.grid-event-info .item {
  box-shadow: 11px 5px 15px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid transparent !important;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #31c8f7, #6f8bf3, #aa51f0) border-box;
}



.swiper-card .eventi-archive .item {
  max-width: 100%;
  flex: 100%;
  width: 100%;
}




/**
 * Navigazione dello slider eventi (.swiper-card).
 */

.eventi-swiper-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}

.eventi-swiper-nav .swiper-button-prev,
.eventi-swiper-nav .swiper-button-next {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	margin-top: 0;
	width: 47px;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.eventi-swiper-nav .swiper-button-prev::after,
.eventi-swiper-nav .swiper-button-next::after {
	content: none;
}

.eventi-swiper-nav svg {
	display: block;
	width: 100%;
	height: 100%;
}

.eventi-swiper-nav .swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}
.swiper-button-prev,
.swiper-button-next{
	color: transparent !important;
} 


.bahamas-prossimi-eventi .eventi-swiper-nav:has(.swiper-button-next.swiper-button-disabled) {
  display: none;
}



.swiper-card .blog-archive {
  margin: 0 !important;
  display: flex !important;
  flex-wrap: nowrap;
}

.swiper-blog .eventi-swiper-nav {
  justify-content: flex-end;
  margin-top: 60px;
}

.allblog {
  margin-top: -50px !important;
  z-index: 1;
  position: relative;
  max-width: 270px;
  margin-left: 0 !important;
}



.blog-archive .item .image img {
  aspect-ratio: 387/218;
  object-fit: cover;
    border-radius: 12px 12px 0 0;
	width:100%;
}


.blog-archive .item .image {
  margin: 0;
}



.blog-archive .item {
  border-radius: 12px;
  background: #18202C;
}

.blog-archive .item .inner-content{
  padding: 20px 20px 30px 20px;
    color: #fff;
}


.blog-archive .item .tit {
  color: #FFF;
  font-family: var(--body-font);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.blog-archive .item .tit a {
  color: #fff;
}


.post-meta {
  flex-direction: column;
  align-items: flex-start;
    margin-bottom: 12px;
}

.post-meta svg {
  display: none;
}
.category.post-meta-item {
  background: #18212C;
  padding: 5px;
  border-radius: 5px;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
.category.post-meta-item a {
  color: #fff;
}
.post-meta .post-meta-item svg {
  height: 32px;
  width: 32px;
}
.date.post-meta-item {
  gap: 15px;
  font-family: var(--body-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;
  color: var(--link-color);
}

.blog-archive .item .text {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
    min-height: 50px;
}

.single .date.post-meta-item svg {
  filter: invert();
}

.brand-grid {
  flex-wrap: nowrap;
}


.brand-swiper .eventi-swiper-nav {
  margin-top: 60px;
  justify-content: flex-end;
}

.evento-template-default h1 {
  font-size: 20px !important;
}




.come-lavoriamo .item {
  border: 1px solid transparent !important;

  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #31c8f7, #6f8bf3, #aa51f0) border-box !important;
}



.mailfix {
  position: fixed;
  right: 25px;
  bottom: 80px;
}


.inner-newsletter {
  display: grid;
  grid-template-columns: 222px auto;
  gap: 10px;
}

.inner-newsletter input[type="email"] {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.inner-newsletter input[type="email"]::placeholder {
  color: #fff;
  opacity: 1;
}
.newsletter-form .privacy span {
  color: #fff !important;
}
.newsletter-form.form.row {
  margin: 0;
}


.coverHome {
  min-height: calc(100vh - 100px) !important;
}






/* CF7 - contenitore checkbox */
.footer .wpcf7-checkbox .wpcf7-list-item,
.footer .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

/* Label */
.footer .wpcf7-checkbox .wpcf7-list-item label,
.footer .wpcf7-acceptance .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Nascondo la checkbox originale */
.footer .wpcf7-checkbox input[type="checkbox"],
.footer .wpcf7-acceptance input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

/* Testo/elemento generato da CF7 */
.footer .wpcf7-checkbox .wpcf7-list-item-label,
.footer .wpcf7-acceptance .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Cerchio */
.footer .wpcf7-checkbox .wpcf7-list-item-label::before,
.footer .wpcf7-acceptance .wpcf7-list-item-label::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;

  border: 2px solid #fff;
  border-radius: 50%;

  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;

  box-sizing: border-box;
  transition:
    background-color .2s ease,
    border-color .2s ease;
}

/* CHECKED */
.footer .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::before,
.footer .wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background-color: #fff;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cpath d='M14 29 L24 39 L43 18' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Focus da tastiera */
.footer .wpcf7-checkbox input[type="checkbox"]:focus-visible + .wpcf7-list-item-label::before,
.footer .wpcf7-acceptance input[type="checkbox"]:focus-visible + .wpcf7-list-item-label::before {
  outline: 2px solid #fff;
  outline-offset: 4px;
}



.sidebar-evento .wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link{
  justify-content: center;
}

.sidebar-evento .wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link:after{
  filter: invert();
}






/* ==========================================================
   FILTRI EVENTI - SELECT MOBILE
   ========================================================== */


.eventi-filtri-mobile {
	display: none;
}


@media (max-width: 767px) {

	.eventi-filtri {
		display: none !important;
	}
	.eventi-filtri-mobile {
		display: block;
		width: 100%;
		margin-bottom: 30px;
	}

}






.single-evento p[style="margin-bottom:5px"] {
  margin-top: 30px;
}



.pacchetti .item {
  display: flex;
  flex-direction: column;
  justify-content: ;
  align-items: ;
}
.pacchetti .item .footer-card {
  margin-left: 0 !important;
  width: 100%;
  margin-top: auto;
}
.pacchetti .item .footer-card .wp-block-button a {
  justify-content: center;
}

.eventi-sezione.eventi-sezione--passati .swiper-card .swiper-slide {
  width: 282px !important;
}




/*--------------------------------------------------------------
# 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: #18202c;
    z-index: 200;
    margin:0;
    overflow: scroll;
    padding-left: 40px;
    padding-right: 40px;
  }

  .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: 60px;
    background-color: transparent;
	color: #fff !important;
  }
	
 .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 {
	background: #fff;
  }

  #nav-icon2 span {
  background: #fff;
}
	

}

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

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

  .header-widget { display:none; }
	
  .credit {
   padding-bottom: 100px;
  }

  .brand-grid figure {
  width: 100% !important;
  height: auto !important;
  flex-basis: 130px;
}

.wp-block-cover__inner-container {
  padding: 0 !important;
}
.hero-pagine {
  min-height: 300px !important;
}

.inner-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
	
.coverHome {
  padding-top: 30px !important;
  min-height: 100vh !important;
}
	

.border-sm-none {
  border: none;
}	
	
	.order-sm-1{
		order:1;
}
	
	
	
	
.inner-newsletter .form-btn {
  position: absolute;
  bottom: 0;
}
	
	
	.page-id-6303 .brand-grid {
  flex-wrap: wrap !important;
}
	
}


.eventi-term-description {
	margin: 30px auto 45px;
}

.eventi-term-description:empty {
	display: none;
}

.eventi-term-description p:last-child {
	margin-bottom: 0;
}





.category.post-meta-item {
  display: none;
}










/* =========================================================
   AGILELAB TICINO
   Ultimate Member custom style
   ========================================================= */


/* =========================================================
   COLORI UM
   ========================================================= */

.um,
.um-account,
.um-profile {
    --alt-dark: #17181c;
    --alt-text: #24252a;
    --alt-muted: #777a83;
    --alt-border: #e8e8ec;
    --alt-bg-soft: #f7f7f9;
    --alt-white: #ffffff;

    --alt-cyan: #08bceb;
    --alt-blue: #5489ed;
    --alt-purple: #bd3cf2;

    --alt-gradient: linear-gradient(
        100deg,
        #0076fb 0%,
        #0076fb 52%,
        #0076fb 100%
    );

    --alt-radius: 16px;
    --alt-radius-small: 10px;

    --alt-shadow:
        0 14px 45px rgba(24, 24, 35, 0.07);
}


/* =========================================================
   BASE
   ========================================================= */

.um,
.um-account,
.um-profile {
    color: var(--alt-text);
    font-family: inherit;
}

.um *,
.um-account *,
.um-profile * {
    box-sizing: border-box;
}


/* =========================================================
   LOGIN
   REGISTRAZIONE
   PASSWORD DIMENTICATA
   ========================================================= */

.um.um-login,
.um.um-register,
.um.um-password {
    width: 100%;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Card form */

.um.um-login .um-form,
.um.um-register .um-form,
.um.um-password .um-form {

    position: relative;

    padding: 42px 40px;

    background: var(--alt-white);

    border: 1px solid var(--alt-border);
    border-radius: var(--alt-radius);

    box-shadow: var(--alt-shadow);

    overflow: hidden;
}


/* Riga gradient superiore */

.um.um-login .um-form::before,
.um.um-register .um-form::before,
.um.um-password .um-form::before {

    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--alt-gradient);
}


/* =========================================================
   CAMPI
   ========================================================= */

.um .um-field {
    margin-bottom: 10px;
}


/* Label */

.um .um-field-label {
    margin-bottom: 8px;
}

.um .um-field-label label {

    color: var(--alt-text) !important;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1.4;
}


/* Input Ultimate Member */

.um .um-form .um-field-area input.um-form-field,
.um .um-form .um-field-area textarea.um-form-field,
.um .um-form .um-field-area select.um-form-field {

    width: 100%;

    min-height: 50px !important;

    padding: 12px 15px !important;

    background: #fff !important;

    border: 1px solid var(--alt-border) !important;
    border-radius: var(--alt-radius-small) !important;

    color: var(--alt-text) !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400;

    box-shadow: none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


/* Textarea */

.um .um-form .um-field-area textarea.um-form-field {
    min-height: 130px !important;
    resize: vertical;
}


/* Placeholder */

.um .um-form .um-field-area input.um-form-field::placeholder,
.um .um-form .um-field-area textarea.um-form-field::placeholder {

    color: #a0a1a8 !important;
    opacity: 1;
}


/* Focus */

.um .um-form .um-field-area input.um-form-field:focus,
.um .um-form .um-field-area textarea.um-form-field:focus,
.um .um-form .um-field-area select.um-form-field:focus {

    outline: none !important;

    border-color: var(--alt-blue) !important;

    box-shadow:
        0 0 0 4px rgba(84, 137, 237, 0.10) !important;
}


/* =========================================================
   SELECT2 DI ULTIMATE MEMBER
   ========================================================= */

.um .select2-container {
    width: 100% !important;
}

.um .select2-container .select2-selection {

    min-height: 50px !important;

    background: #fff !important;

    border: 1px solid var(--alt-border) !important;
    border-radius: var(--alt-radius-small) !important;

    box-shadow: none !important;
}

.um .select2-container .select2-selection__rendered {

    min-height: 48px;

    padding-left: 15px !important;
    padding-right: 35px !important;

    color: var(--alt-text) !important;

    line-height: 48px !important;
}

.um .select2-container .select2-selection__arrow {
    height: 48px !important;
}


/* =========================================================
   PULSANTI ULTIMATE MEMBER
   ========================================================= */

.um input[type="submit"].um-button,
.um a.um-button {


    background: var(--alt-gradient) !important;

    border: 0 !important;
    border-radius: 50px !important;

    
}





/* Pulsante secondario */

.um a.um-button.um-alt,
.um input[type="submit"].um-button.um-alt {

    background: var(--alt-white) !important;

    border: 1px solid var(--alt-border) !important;

    color: var(--alt-dark) !important;

    box-shadow: none !important;
}





/* =========================================================
   LINK INTERNI UM
   ========================================================= */

.um .um-form a {

    color: var(--alt-blue);

    text-decoration: none;

    transition: color .2s ease;
}


.um .um-form a:hover {
    color: var(--alt-purple);
}


/* Registrati / password dimenticata */

.um .um-col-alt-b {

    margin-top: 22px;

    color: var(--alt-muted);

    font-size: 14px;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.um .um-field-checkbox-option,
.um .um-field-radio-option {

    color: var(--alt-text) !important;

    font-family: inherit;
    font-size: 14px;
}


.um .um-field-checkbox-state i,
.um .um-field-radio-state i {

    color: var(--alt-blue) !important;
}


/* =========================================================
   ERRORI
   ========================================================= */

.um .um-field-error {

    margin-top: 7px !important;

    padding: 9px 12px !important;

    background: #fff4f4 !important;

    border: 1px solid #ffd8d8 !important;
    border-radius: 8px !important;

    color: #ba3838 !important;

    font-size: 13px !important;

    box-shadow: none !important;
}


.um .um-field-error .um-field-arrow {
    color: #fff4f4 !important;
}


/* =========================================================
   MESSAGGI ULTIMATE MEMBER
   ========================================================= */

.um .um-message {

    padding: 15px 18px !important;

    border: 0 !important;
    border-radius: var(--alt-radius-small) !important;

    font-family: inherit;
    font-size: 14px !important;

    box-shadow: none !important;
}


/* =========================================================
   PAGINA ACCOUNT
   ========================================================= */

.um-account {

    width: 100%;
    max-width: 1180px !important;

    margin: 40px auto !important;
}


/* Sidebar */

.um-account .um-account-side {

    padding-right: 30px !important;
}


/* Voce menu */

.um-account .um-account-side li {

    margin-bottom: 7px !important;
	  border-radius: 10px;
}


.um-account .um-account-side li a {

    position: relative;

    display: flex !important;
    align-items: center;

    min-height: 50px;

    padding: 12px 16px !important;

    background: transparent;

    border-radius: 10px;

    color: var(--alt-text) !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* Hover sidebar */

.um-account .um-account-side li a:hover {

    background: var(--alt-bg-soft) !important;

    color: var(--alt-dark) !important;

    transform: translateX(3px);
}


/* Voce attiva */

.um-account .um-account-side li a.current {

    background: var(--alt-gradient) !important;

    color: #fff !important;

    box-shadow:
        0 7px 18px rgba(84, 137, 237, 0.16);
}


/* Icona voce sidebar */

.um-account .um-account-side li a span.um-account-icon,
.um-account .um-account-side li a.current span.um-account-icon {

    color: inherit !important;
}


/* Contenuto account */

.um-account .um-account-main {

    position: relative;

    padding: 38px 40px !important;

    background: #fff;

    border: 1px solid var(--alt-border);
    border-radius: var(--alt-radius);

    box-shadow: var(--alt-shadow);

    overflow: hidden;
}


/* Riga superiore gradient */

.um-account .um-account-main::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--alt-gradient);
}


/* =========================================================
   TITOLO ACCOUNT
   ========================================================= */

.um-account .um-account-heading {

    margin: 0 0 28px !important;

    padding: 0 0 20px !important;

    border-bottom: 1px solid var(--alt-border) !important;

    color: var(--alt-dark) !important;

    font-family: inherit !important;
    font-size: clamp(22px, 2vw, 28px) !important;
    font-weight: 600 !important;

    line-height: 1.2 !important;
    letter-spacing: -0.02em;
}


/* =========================================================
   PROFILO
   ========================================================= */

.um-profile {

    background: #fff;

    border: 1px solid var(--alt-border);
    border-radius: var(--alt-radius);

    box-shadow: var(--alt-shadow);

}


/* Header profilo */

.um-profile .um-header {

    position: relative;

    padding: 30px !important;

    border-bottom: 1px solid var(--alt-border) !important;

    background: #fff;
}


/* Piccolo dettaglio gradient */

.um-profile .um-header::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--alt-gradient);
}


/* Avatar */

.um-profile .um-profile-photo img {

    border: 4px solid #fff !important;

    box-shadow:
        0 8px 25px rgba(20, 20, 30, 0.12) !important;
}


/* Nome */

.um-profile .um-name a {

    color: var(--alt-dark) !important;

    font-family: inherit;
    font-weight: 600 !important;
}


/* Meta */

.um-profile .um-meta-text,
.um-profile .um-profile-meta {

    color: var(--alt-muted) !important;
}


/* =========================================================
   NAVIGAZIONE PROFILO
   ========================================================= */

.um-profile .um-profile-nav {

    background: #fff !important;

    border-bottom: 1px solid var(--alt-border) !important;
}


.um-profile .um-profile-nav-item a {

    color: var(--alt-muted) !important;

    font-family: inherit;
    font-weight: 500 !important;

    transition:
        color .2s ease,
        background-color .2s ease;
}


.um-profile .um-profile-nav-item a:hover {

    color: var(--alt-blue) !important;
}


.um-profile .um-profile-nav-item.active a {

    color: var(--alt-blue) !important;
}


/* =========================================================
   MODALE ULTIMATE MEMBER
   ========================================================= */

.um-modal {

    border-radius: 16px !important;

    box-shadow:
        0 20px 60px rgba(20, 20, 30, 0.18) !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .um.um-login .um-form,
    .um.um-register .um-form,
    .um.um-password .um-form {

        padding: 32px 22px;
    }


    .um-account {

        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }


    .um-account .um-account-side {

        padding-right: 0 !important;
        margin-bottom: 25px !important;
    }


    .um-account .um-account-main {

        padding: 30px 22px !important;
    }


    .um-account .um-account-heading {

        font-size: 22px !important;
    }


    .um-profile .um-header {

        padding: 24px 20px !important;
    }

}


.um-profile-nav-item span.title {
  font-size: 14px;
}

.um-account-side li a.current span.um-account-title{
	color:#fff;
}

body:not(.logged-in) .account-icon {
  display: none !important;
}


.single-eventi-row .item {
  border-radius: 12px !important;
}



.eventi-sezione.eventi-sezione--passati .swiper-pagination {
  bottom:  60px !important;
  display: block !important;
}
.eventi-sezione.eventi-sezione--passati .eventi-swiper-nav {
  display: none;
}
.swiper-pagination {
  display: none !important;
}
.swiper-pagination-bullet-active {
  background: #18202c !important;
}





.single-evento.evento-passato #contatti {
  display: none;
}


.single-evento.evento-passato .wp-block-buttons:has(.wp-block-button__link[href="#contatti"]) {
display: none;
}