/*
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.5
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;
}

.center{
  text-align: center;
}



.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 14px 32px;
  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: var(--link-color-hover);
  border-color: var(--link-color-hover);
  color: #fff;
}



.icon-btn a {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.icon-btn a::before {
  content: "";
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M112 128C85.5 128 64 149.5 64 176C64 191.1 71.1 205.3 83.2 214.4L291.2 370.4C308.3 383.2 331.7 383.2 348.8 370.4L556.8 214.4C568.9 205.3 576 191.1 576 176C576 149.5 554.5 128 528 128L112 128zM64 260L64 448C64 483.3 92.7 512 128 512L512 512C547.3 512 576 483.3 576 448L576 260L377.6 408.8C343.5 434.4 296.5 434.4 262.4 408.8L64 260z" fill="white"/></svg>');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  display: block;
}

.icon-btn.tel-btn a::before{
	  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M224.2 89C216.3 70.1 195.7 60.1 176.1 65.4L170.6 66.9C106 84.5 50.8 147.1 66.9 223.3C104 398.3 241.7 536 416.7 573.1C493 589.3 555.5 534 573.1 469.4L574.6 463.9C580 444.2 569.9 423.6 551.1 415.8L453.8 375.3C437.3 368.4 418.2 373.2 406.8 387.1L368.2 434.3C297.9 399.4 241.3 341 208.8 269.3L253 233.3C266.9 222 271.6 202.9 264.8 186.3L224.2 89z" fill="%234e63a7" /></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: none;
  background-color: #F8F8F8;
  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: #2A292970;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

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: 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:30px;
}

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

.scroll-down .header{
	box-shadow: 0 5px 20px rgba(0,0,0,.05);
    background:#fff !important;
}

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

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


.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 20px;
  line-height: 40px;
  color: var(--site-title-color);
  display: block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.page-template-menu-trasparent .navigator .menu li a { 
  color: #000;
}

.navigator .menu li a:hover,
.navigator .menu li.current_page_item>a {
  color: var(--link-color-hover);
}



.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: #000;
  text-align: left;
}

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

.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: -15px;
  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>');
}



.footer {
  padding-top: 60px;
  padding-bottom: 70px;
  color: #000;
}

.footer h4, .footer .tit {
  font-size: 20px;
  margin: 0 0 18px;
  color: #000;
}

.footer a {
  color: #000;
}

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

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

.credit {
  color: #000;
  text-align: center;
  padding: 0 0 15px;
  font-size: 14px;
}

.credit a{
  color: #000;
}

.credit p {
  margin: 0;
}

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


.call{
  display: none;
}


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


.marquee{
  overflow: hidden;
  width: 100%;
  /* opzionale: un po’ di respiro */
  padding-block: 12px;
	  margin-bottom: 40px;
}

.marquee__track{
  display: flex;
  width: max-content;
  gap: 2rem;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 18s linear infinite;
}

.marquee__item {
  font-size: clamp(7.2rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--link-color);
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
}


.marquee__item:after {
  content: "";
  margin-left: 33px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M20.2149 39.7862H0V20.2168H39.7838V39.7862V60.0002H20.2149V39.7862Z" fill="%2300A8BC"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M59.9999 39.7859H20.2151V1.52588e-05H39.784V20.2165H59.9999V39.7859Z" fill="%234e63a7"></path></svg>');
  width: 60px;
  height: 60px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}







/* ! FAQ */


.rank-math-list-item::after {
  content: "";
  background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.75 10C19.75 10.2344 19.5625 10.375 19.375 10.375H10.375V19.375C10.375 19.6094 10.1875 19.7969 10 19.7969C9.76562 19.7969 9.625 19.6094 9.625 19.375V10.375H0.625C0.390625 10.375 0.25 10.2344 0.25 10.0469C0.25 9.8125 0.390625 9.625 0.625 9.625H9.625V0.625C9.625 0.4375 9.76562 0.296875 10 0.296875C10.1875 0.296875 10.375 0.4375 10.375 0.625V9.625H19.375C19.5625 9.625 19.75 9.8125 19.75 10Z" fill="black"/></svg>');
  position: absolute;
  right: 20px;
  top: 25px;
  display: block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
}

.rank-math-list-item.active::after {
  background-image: url('data:image/svg+xml,<svg width="20" height="2" viewBox="0 0 20 2" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.625 1.375C0.390625 1.375 0.25 1.23438 0.25 1.04688C0.25 0.8125 0.390625 0.625 0.625 0.625H19.375C19.5625 0.625 19.75 0.8125 19.75 1.04688C19.75 1.23438 19.5625 1.375 19.375 1.375H0.625Z" fill="black"/></svg>');
}
.rank-math-question  {
  color: #000;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

.rank-math-list-item {
  position: relative;
  padding: 30px;
  cursor: pointer;
  background: #edf4fc;
  border-radius: 30px;
  margin-bottom: 20px;
}
.rank-math-answer {
  display: none;
  margin-bottom: 0;
  margin-top: 45px;
    padding-left: 0;
    font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 22px;
	  color: #000;
}

.rank-math-answer ul {
  list-style-type: none;
}

.rank-math-question strong {
  font-weight: 300;
}
.rank-math-answer a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .rank-math-list-item::before, .rank-math-list-item::after { right: 0; top:30px;}
  .rank-math-question { font-size: 17px; }
  .rank-math-answer {
  font-size: 16px;
}
}

#rank-math-faq {
  max-width: 1270px;
}




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

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

  body {
    padding-bottom: 51.2px;
}
	
.call {
  background: #fff;
  position: fixed;
  bottom: 0;
  z-index: 99999;
  left: 0;
  right: 0;
	box-shadow:0px 0px 12px #aaa;
  padding: 5px;
  box-sizing: border-box;
  display: block;
}
	
 .call .widget {
  display: flex;
  justify-content: right;
  align-items: center;
}
  
.call a {
  text-align: center;
  display: block;
  height: 40px;
  width: 40px;
  border-radius: 4px;
  margin: 3px 18px 3px 0;
  line-height: 60px;
  font-size:0;
}

.call span {
  margin-left: 10px;
  margin-right: auto;
  font-size: 14px;
  text-align: left;
  color: #1d1d1d;
  text-transform: uppercase;
  line-height: 16px;
}
	
	.call svg{
		color:#fff;
	}

	
.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: 90px;
      background-color: #fff;
      z-index: 200;
      margin:0;
      overflow: scroll;
    }
    .visible {
      overflow: hidden;
    }
    .visible .navigator {
      transform:translateX(0%);
      -moz-transform:translateX(0%);
      -webkit-transform:translateX(0%);
    }
    .navigator .menu {
      display:block;
      width:80%;
      margin:0 auto;
      position:relative;
      right:0;
    }
    .navigator .menu li{
      display:block;
    }
    .navigator .menu li a{
      line-height:60px;
      font-size:16px;
      color:#000;
      background-color: transparent;
      border-bottom: 1px solid #eee;
    }
	
 .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);
  }
	
}

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

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

  .header-widget { display:none; }


#logo img {
  height: 40px;
}
.num-grid {
  display: flex !important;
  flex-direction: column;
}
:where(.wp-block-group.has-background) {
  padding-left: 15px;
  padding-right: 15px;
}
	

.hero-pagine {
  min-height: ;
  min-height: 300px !important;
}
.hero-pagine h1 {
  font-size: 33px !important;
}	
	
}
