/*
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);
  overflow-x: hidden;
}

h1,h2,h3,h4,.main-title,.subTit,.tit {
  line-height: 1.2;
  color: var(--site-title-color);
  font-weight: 600;
  position: relative;
}


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

h1, .main-title{font-size: 2.1rem;}
h2, .subTit{font-size: 1.8rem;}
h3, .title{font-size: 1.4rem;}
h4, .tit{font-size: 1.3rem;}
p{line-height: 1.5rem; }



/* 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:inside;
}

.center{
  text-align: center;
}



.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  padding: 9px 20px;
  min-width: 200px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  border: 2px solid var(--link-color); 
  line-height: 1;
  background-color:var(--link-color);
  color: #fff;
  box-shadow: none !important;
  transform: none !important;
}

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


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: 1px solid #eee;
  background-color: #f5f5f5;
  padding: 0 15px;
  line-height: 50px;
  height: 50px;
  box-sizing: border-box;
  width: 100%;
  color: #535353;
  font-size: 13.5px;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


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

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

.form .field {
  margin-bottom: 0;
}

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

.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 .wpcf7-not-valid-tip {
  position: relative;
  top: 0;
  bottom: 0;
  left: auto;
  right: auto;
  text-align: inherit;
}

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

.wpcf7-spinner {
    position: absolute;
}

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

.header {
  position: relative;
  z-index: 100;
}

#logo {
	bottom:0px;
	position:relative;
	z-index:50; 
  max-width:400px;
}

#logo img {
  padding: 10px 0;
  height: 70px;
  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;
}

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



.navigator .menu ul {
  display:block;
  position: absolute;
  padding: 0;
  left:0;
  width: 200px;
  visibility: hidden;
  opacity: 0;
  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: 100px;
}
.navigator .menu li:hover ul {
  visibility:visible;
  opacity: 1;
  top: 40px;
  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: 40px;
  padding-bottom: 40px;
  background-color: #333;
  color: #efefef;
  font-size: 14px;
}

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

.footer a {
  color: #fff;
}

.footer a:hover, 
.credit a:hover {
  color: var(--link-color-hover);
}

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

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

.credit a{
  color: #999;
}

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


/*--------------------------------------------------------------
# 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 .widget > 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 .widget > 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;
}
  
    .header {
      position:relative;
      background-color: #fff;
    }
  
    .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: 60px;
      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;
    }
     
}

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

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

.main-title {
  font-size: 30px;
}

h2, .subTit {
  font-size: 26px;
}

.feature-image-wrap img {
    display: block;  
    margin: 20px auto 0;
}


.header .corp {
    padding: 10px;
  }
 
 .header-widget {
   display: block;
}
	
  .header-widget a {
    margin: 0;
}

  #logo {
		display: block;
		margin: 0;
  }
	
  #logo img {
   width: 100px;
   height: auto ;
   margin: 0;
  }
	
}

/* HOME */

.social {
    margin: 0;
    margin-left: 100%;
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color:  #85c1e9;
}

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

#logo {
  bottom:0px;
  position:relative;
  z-index:50; 
  max-width:400px;
}

#logo img {
  padding: 20px;
  height: 90px;
  width: auto;
  display: block; 
}

.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(--link-color);
  display: block;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
}

.header .corp a:hover {
    background-color: #fff; 
    border-radius: 100px; 
}

.yoast-breadcrumbs {
    text-align: center;
    margin: 0;
}
.yoast-breadcrumbs a {
    color: #85c1e9;
}

.banner-app {
    position: relative;
    display: flex;
}

.wp-block-cover__inner-container {
    z-index: 2; 
    padding: 20px;
}

.banner-app::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-app .wp-block-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}


.feature-image-wrap img{
    position: relative;
    height: auto;
    animation: scrollDown 3s ease-in-out infinite;

}

.CTA p {
 color: #fff;
}

.occhiello {
   font-size: 30px;
   font-weight: 700;
   text-transform: uppercase;
   color: var(--link-color-hover); 
   margin: 0 0 5px;
}

.servizi {
	display: flex;
    flex-wrap: wrap !important;
    justify-content: center;
    gap:var(--gap)
}
.servizi > p { 
    padding: 10px;
    text-align:center;
    box-shadow:0 0 3px #424656; 
    max-width:calc(25% - (var(--gap) ));
}

 .servizi > p svg {
  display: block;
  margin: 10px auto;
  width: 50px;
  height: 50px;
  line-height: 40px;
  background-color: #a6abbd;
  color: #fff;
  text-align: center;
  border-radius: 10px 20px 10px 20px;
 }

/* FOOTER */

.footer {
 background-color: #1c355e !important;
 padding-top: 20px;
 padding-bottom: 20px;
 color: #efefef;
 font-size: 14px;
}

.footer ul {
   list-style: none;
}

.footer img {
   border-radius: 20px;
}

.footer .social {
  margin-left: 375px;
  top: -43px;
  position: relative;
}

.footer .tel a {
   color: #fff;
  position: relative;
  z-index: 10; 
  display: block;
  font-size: 24px;
  width: max-content;
  text-transform: uppercase; 
}
.footer .tel svg{
  fill: #fff;
}

.footer .tel::before {
  border-color: #fff;
}

/* CARTE */
@media screen and (min-width:769px) {
.carte {
  display: grid;
  place-items: center;
  gap: 0;
  justify-content: center;
  padding-right: 300px;
}

.card {
  display: flex;
  gap: 10px;
  transition: all 300ms ease-in-out;
  width: 70px;
  max-width: 70px;
  cursor: pointer;
}

.card img {
  border-radius: 5px;
  box-shadow: rgba(100, 100, 111, 0.473) 0 7px 29px 0;
  max-width: none;
}

.card:hover {
  transform: rotate(-4deg);
}
.card:hover ~ .card {
  z-index: 1;
  translate: 200px;
}

  
}
@media screen and (max-width:768px) {
  #contatti,
#card
{
  padding-left: 20px !important;
  padding-right: 20px !important;
}

#contatti .tit {
  font-size: 20px;
  text-align: left;
}
.carte {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow: auto;
  padding-bottom: 10px;
} 
.carte .card{
  min-width: calc(100vw - 150px);
}
  
}
/* PAGINA INTERNA CARTE */


.slide_text .wp-block-cover__inner-container {
  max-width: none !important;
  position: absolute;
  left: 0;
  text-align: left;
  bottom: 0;
  right: auto;
  width: auto;
  margin: 0 !important;
  padding: 0;
}

.slide_text .wp-block-cover__inner-container p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10vw;
  line-height: 0.75;
  font-weight: 700;
  margin-bottom: 21px;
  white-space: nowrap;
}


.container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container .tessera {
  position: relative;
  width: 260px;
  height: 260px;
  background-color: #fff;
  margin: 30px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease-in-out;
  border-radius: 15px;
  overflow: hidden;
}

.container .tessera img {
  max-width: 100%;
  border-radius: 15px 15px 0 0;
}

.container .tessera p {
  position: absolute;
  bottom: -200%; 
  left: 0;
  width: 100%;
  padding: 10px 15px;
  background-color: #fff;
  color: #111;
  transition: 0.4s ease-in-out;
  text-align: center;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.container .tessera:hover {
  height: 340px;
  transition: 0.4s ease-in-out;
}

.container .tessera:hover p {
  bottom: 0;
}

.container .tessera a {
  color: #111;
  text-decoration: none;
  cursor: pointer;
}

.container .tessera a:hover {
  color: #007bff;
}


.slide_home{
  padding: 0;
  overflow: visible;
}
.slide_home > .wp-block-cover__inner-container{
  padding-bottom: 0;
}
.slide_home .slogan{
  padding: 150px 0 50px;
  /*padding-left: calc(40% + 60px);*/
}

.slide_home .banner .wp-block-media-text__content img {
  max-width: none;
}
.slide_home .banner{
  margin-bottom: 0;
}

.slide_home .banner .wp-block-media-text__content {
  padding-left: 15px;
  padding-right: 15px;
} 
.slide_home .banner .wp-block-media-text__media img {
  margin-top:20px;
  margin-bottom: 20px;
}
@media screen and (min-width:1025px) {
  .slide_home .banner .wp-block-media-text__media img {
    margin-top: -470px;
    margin-bottom: -120px;
  }
}
.slide_home h1{
  color: #FFF;
font-family: "Lato";
font-size: 32px;
font-style: normal;
font-weight: 300;
line-height: 1;
margin: 0;
text-transform: uppercase;
}
.slide_home h1 strong{
  color: #FFF;
font-family: "Open Sans";
font-size: 70px;
font-style: normal;
font-weight: 800;
line-height: 1; 
  display: block;
}
.slide_home .subtit{
    color: #FFF;
  font-family: "Open Sans";
  font-size: 25px;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
}
.stit{
  color: var(--link-color);
font-family: "Open Sans";
font-size: 16px;
text-transform: none;
line-height: 1;
font-style: italic;
margin-bottom: 0px;
font-weight: 600; 
display:flex;
gap:5px;
}
.stit img{
filter: invert(17%) sepia(82%) saturate(505%) hue-rotate(176deg) brightness(92%) contrast(94%);

}


.tel .rep {
  font-size: 10px;
  display: block;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}
.tel {
  display: flex;
  align-items: center;
  position: relative; 
  line-height: 1;
  letter-spacing: 0.5px;
}
.call .tel{
  margin-right: 5px;
}
.tel svg {
  width: 30px;
  margin: 10px 15px 10px 0;
  
  height: 30px;
  fill:var(--link-color);
 
  margin-right: 15px;
}
.tel::before {
  content: "";
  position: absolute;
  content: "";
  display: block;
  height: calc(100% + 0px);
  border-radius: 10px;
  border-right: 2px solid #1c355e;
  right: -5px;
  top: 0px;
  bottom: 0;
  left: 15px;
  border-bottom: 2px solid #1c355e;
  border-top: 2px solid #1c355e;
}  

.tel a
{
	color:#000;
  position: relative;
  z-index: 2555;
	  display: block;
    font-size: 24px;
  width: max-content;
	
} 

.wp-block-details {
  position: relative;
  background-clip: border-box;
  padding: 10px 0px;
  margin: -1px 0px 0px 0px;
  margin-top: -1px;
  margin-top: -1px;
  border-style: solid;
  border-width: 1px 0px 1px 0px;
  border-color: #e6e6e6;
}

.wp-block-details > * {
  font-size: 14px;
}
.wp-block-details summary {
    color: var(--link-color); 
  font-size: 18px;
  font-weight: 600; 
  letter-spacing: 0px; 
  display: block;
  position: relative;
  line-height: 30px;
  
  padding-right:40px;
}
.wp-block-details summary:before{
  content: "";
  position: absolute;
  width: 15px;
  height: 3px;
  background: var(--link-color);
  top: calc(50% - 2px);
  right: 15px;
}
.wp-block-details summary:after{
  
  content: "";
  position: absolute;
  width: 3px;
  height: 15px;
  background: var(--link-color);
  right:21px;
  top:7px;
  transition: all 0.3s;
}
.wp-block-details[open] summary:after{
  transform: rotate(90deg);
}

.vantaggi .wp-block-column > img {
  width: 100%;
  margin-bottom: 10px;
}
.vantaggi .wp-block-column > .tit{
  font-weight: bold;
  margin: 0;
  font-size: 20px;
}
.vantaggi .wp-block-column > p{
  margin: 5px 0;
  font-size: 14px;
}

.vantaggi .wp-block-column{
  margin-bottom: 20px;
}
@media screen and (max-width:1024px) {
  .footer .social
  {
    top:0;
    margin:0;
  }

.header-widget
{
  display: none;
}
  .slide_home .banner
  {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .slide_home .banner .wp-block-media-text__content
  {
    padding: 0;
  }
  .footer .wp-block-columns .wp-block-column{
    padding-left: 0 !important;
    padding-right: 0px !important;
  }
}