/*
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: 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: 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"] {
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 30px 30px 30px 0;
  border: 1px solid transparent;
  padding: 15px 25px;
  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;
}

.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;
}



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 {
  background-color: #fff;
  padding: 0 15px;
  height: 50px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 25px;
  font-family: var(--body-font);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: 1px solid #042A24;
  color: #79747E;
}

textarea {
  height: 120px;
  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: 0;
}

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: var(--link-color) !important;
}

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

#logo img {
  padding: 20px 0;
  height: 60px;
  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 25px;
  line-height: 40px;
  color: #fff;
  display: block;
  text-decoration: none;
  font-size: 18px;
  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;
}


.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="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>');
}

.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: 100px;
  padding-bottom: 70px;
  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: 0px 0 25px;
}

.credit a{
  color: #fff;
}

.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: 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;
}
.wp-block-image {
  position: relative;
}



/* Titolo accordion */
.wp-block-accordion-heading {
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

/* Bottone accordion */
.wp-block-accordion-heading__toggle {
  width: 100%;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 0 0 10px 0 !important;
  border: 0;
  border-bottom: 1px solid #1d1d1b;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none !important;
}



.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

/* Icona originale Gutenberg */
.wp-block-accordion-heading__toggle-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: #26979f;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  font-size: 0;
  color: transparent;
  line-height: 0;

  /* Freccia giù */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 6.11621L12 17.884' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16.8142 13.0698L12.0001 17.8839L7.18604 13.0698' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Stato aperto: freccia su */
.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon,
.wp-block-accordion-heading__toggle[aria-expanded="true"] .wp-block-accordion-heading__toggle-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 17.8838L12 6.11602' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.18579 10.9302L11.9999 6.11609L16.814 10.9302' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform:none !important;
}






.servizi .item {
  border-radius: 30px 30px 30px 0;
  border: 1px solid #22949D;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%), #C4C4C4;
  position:relative;
  min-height: 550px;
}
.servizi .item .image img {
  border-radius: 30px 30px 0px 0;
}
.servizi .item .text {
}
.servizi .item .text {
  padding: 45px 30px 45px;
}
.servizi .item .image {
  margin: 0;
}
.servizi .item .text .tit {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}






/* ! Tabs Ambienti */

.ambienti-tabs .tabs {
  display: grid;
  grid-template-columns: 30% auto;
  margin-top: 80px;
}
.ambienti-tabs .tabs .tablist {
  padding: 0;
  list-style-type: none;
  margin: 0;
}
.ambienti-tabs .tablist li a {
  color: #000;
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 30px;
  display: inline-block;
}
.ambienti-tabs .tablist li a:hover, .ambienti-tabs .tablist li.active a {
  font-weight: 600;
}
.ambienti-tabs .tablist li a:after {
  content: "";
  width: 0;
  height: 5px;
  background: var(--link-color);
  display: block;
  max-width: 100%;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  border-radius: 20px;
  margin-top: -10px;
}
.ambienti-tabs .tablist li a:hover:after, .ambienti-tabs .tablist li.active a:after {
  width: calc(100% + 10px);
  padding: 0;
}



.custom-accordion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

.custom-accordion p{
	font-size:12px;
}

.custom-accordion__content {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.custom-accordion:not(.is-open) .custom-accordion__content {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-accordion:not(.is-open) .custom-accordion__content p {
  display: inline;
  margin: 0;
}

.custom-accordion.is-open {
  align-items: flex-start;
}

.custom-accordion.is-open .custom-accordion__content {
  white-space: normal;
  overflow: visible;
}

.custom-accordion.is-open .custom-accordion__content p {
  display: block;
  margin: 0 0 8px;
}

.custom-accordion__toggle {
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: var(--link-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  margin-top: 0;
}

.custom-accordion__toggle svg {
  display: block;
  transition: transform 0.25s ease;
}

.custom-accordion.is-open .custom-accordion__toggle svg {
  transform: rotate(180deg);
}

.accordion-section .wp-block-group {
  width: 100%;
}

.table-container {
  display: none;
  margin-top: 130px;
  margin-left: -350px;
}

.open-table{
	cursor:pointer;
}
/*
.swiper-gallery .swiper-wrapper {
  gap: 0 !important;
  display: flex;
  flex-wrap: nowrap;
}


.swiper-gallery {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
}





.swiper-gallery .swiper-button-prev,
.swiper-gallery .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  color: #000;
}

.swiper-gallery .swiper-button-prev {
  left: -60px !important;
}

.swiper-gallery .swiper-button-next {
  right: -60px !important;
}*/

.pr{
	position:relative;
}

.swiper-main-container {
  position: relative;
}

.swiper-main-container .swiper-gallery,
.swiper-main-container .swiper-news {
  width: 100%;
  overflow: hidden;
}

.swiper-main-container .swiper-wrapper {
  display: flex !important;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0 !important;
}

/* utile se la classe row crea margini o spazi strani */
.swiper-main-container .swiper-wrapper.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.swiper-main-container .swiper-slide {
  height: auto;
}

.swiper-main-container .custom-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.swiper-main-container .custom-arrow {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.swiper-main-container .custom-arrow.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.swiper-main-container .custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -50px;
  z-index: 10;
}

.swiper-main-container .custom-arrow.custom-arrow-next {
  right: -50px;
  left: auto;
}

.servizi {
  justify-content: center;
}
.swiper-news .servizi {
  justify-content: flex-start;
}

.read-more {
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
}
.read-more:after {
  content: "";
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="51" height="8" viewBox="0 0 51 8" fill="none"><path d="M50.3536 4.03556C50.5488 3.8403 50.5488 3.52372 50.3536 3.32845L47.1716 0.146473C46.9763 -0.0487893 46.6597 -0.0487893 46.4645 0.146473C46.2692 0.341735 46.2692 0.658318 46.4645 0.85358L49.2929 3.68201L46.4645 6.51043C46.2692 6.7057 46.2692 7.02228 46.4645 7.21754C46.6597 7.4128 46.9763 7.4128 47.1716 7.21754L50.3536 4.03556ZM0 3.68201V4.18201H50V3.68201V3.18201H0V3.68201Z" fill="%2322949D"/></svg>');
  width: 50px;
  height: 8px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}




.blog-archive .item {
  border-radius: 25px 25px 25px 0;
  border: 1px solid #22949D;
  backdrop-filter: blur(7.5px);
  padding: 15px 15px 26px 15px;
}
.blog-archive .item .image img {
  border-radius: 15px 15px 15px 0;
  aspect-ratio: 357/202;
  object-fit: cover;
}
.blog-archive .item .post-meta {
  display: none;
}
.blog-archive .item .tit {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 20px;
}
.blog-archive .item .read-more {
  margin-top: 45px;
}


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

.whatsapp-button {
  bottom: 80px;
}


.hero-pagine .wp-block-cover__background,
.coverHome .wp-block-cover__background{
  background: linear-gradient(0deg, rgba(34, 148, 157, 0.35) 0%, rgba(34, 148, 157, 0.35) 100%), linear-gradient(248deg, rgba(7, 46, 82, 0.00) 40.31%, #000 96.83%), #CCC !important;
  opacity: .7 !important;
}
.servizi .image a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: transparent;
}
.hero-pagine {
  min-height: 600px !important;
}


.wp-block-latest-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp-block-latest-posts li a {
  color: #000;
}




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

.single .contenuto {
  border-right: 1px solid #eee;
  padding-right: 30px;
}
}





.prod-label {
  background: var(--link-color);
  display: inline-block;
  color: #fff;
  border-radius: 10px;
  padding: 3px 7px;
  font-size: 11px;
  position: absolute;
  right: 14px;
  top: 10px;
}






/*--------------------------------------------------------------
# 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: var(--link-color);
    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: 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;
	 background:transparent;
  }
	
 .navigator .menu .sub-menu li a {
    color: #fff !important;
    padding-left: 40px;
  }

  .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;
  }

.hero-pagine {
  min-height: 300px !important;
}
	
.cta.wp-block-cover {
  padding-left: 10px !important;
  padding-right: 10px !important;
}	
	
	

.ambienti-tabs .tabs {
  display: flex;
  flex-direction: column;
}
.ambienti-tabs .tabs .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 24px;
  margin-bottom: 30px;
}
.ambienti-tabs .tablist li a {
  margin: 0;
  line-height: 41px;
}
	.whatsapp-button {
  display:none;
}	
	
	
	
.border-image:before {
  left: -10px !important;
  bottom: -15px !important;
}
.border-image img {
  max-width: calc(100% - 5px) !important;
  margin-left: 5px !important;
}
	.swiper-main-container .custom-arrow {
  left: -15px;
}
	
	.swiper-main-container .custom-arrow.custom-arrow-next{
		
	left:auto;
	right:-15px;
	}	
	
.swiper-news {
  max-width: calc(100% - 50px) !important;
}
	#contatti {
  padding-top: 90px !important;
}
	.content-wrapper figure {
  margin: auto !important;
}
	.swiper-gallery {
  max-width: calc(100% - 50px);
}
	
	
	.wp-block-columns.are-vertically-aligned-center:has(figure) {
  gap: 60px;
}
	
	
.coverHome .wp-block-cover__inner-container {
  padding: 0;
}	
	
}
