/*
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,.main-title,.subTit,.tit {
  line-height: 1.2;
  color: var(--site-title-color);
  font-family: var(--heading-font);
  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"] {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 0px;
  border: 2px solid transparent;
  padding: 10px 28px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

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

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

.sliders {
    width: 100vw;
    overflow: hidden;
    height: 40vw;
  }

.sliders > .wp-block-cover {
  width: 100vw;
  min-width: 100vw;
	height: 100%;
}
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: var(--body-font);
  -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 { 
  z-index: 100; 
  border-bottom: 1px solid rgba(255,255,255,0.15);
	
  background: transparent !important;
  position: absolute;
  left: 0;
  right: 0;
}


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

#logo img {
  padding: 20px 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;
}

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

.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 {
  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: 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 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: 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;
    }
	
 .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) {

.sliders .owl-stage .wp-block-cover {
  height: 600px !important;
  min-height: 600px;
  max-height: 600px;
}
.main-title {
  font-size: 30px;
}

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

}
/* home PAGE */

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

.sliders .wp-block-cover .wp-block-cover__inner-container {
  padding-bottom: 150px;
  padding-top: 50px;

  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  
}
.sliders .bigTitle{
  /*font-size:clamp(30px, 70px,70px);
  display: block;*/
  font-family: 'Lato';
  line-height: 1.2;
  text-shadow: 1px 0 0px #000000,0 -1px 0px #000000,0 1px 0px #000000,-1px 0 0px #000000;
} 
.sliders .mediumTitle{
 /* font-size:clamp(18px, 40px,40px);
  font-style: italic;
  line-height: 1;*/
  line-height: 1.4;
  text-shadow: 1px 0 0px #000000,0 -1px 0px #000000,0 1px 0px #000000,-1px 0 0px #000000;
} 


.tabs {
  display: flex;
  gap:0;
}
.tabs .tablist {
  min-width: 25%;
  padding: 0;
  list-style: none;
  margin-right: -2px;
  z-index: 2;
  
}
.tablist li a {
  color: #666;
  font-size: 16px; 
  display: block;
  line-height: 30px; 
  padding: 5px 0;
    
}
.tablist li.active a {
  font-weight: bold;
  color: #000;
  border-right: 3px solid #000;
}
.tabs > .content-wrapper{
  border-left: 1px solid #ccc;
  padding-left: 40px;
}
.tabs > .content-wrapper > .section-topline > p:nth-child(1){
  margin: 0;
}
.bloccoCTA
{
  position: relative;
  z-index: 5;
}

.bloccoCTA .icona strong {
  font-size: 80px;
  line-height: 1;
  display: block;
  margin-left: -5px;
  font-family: "Lato";
  position: relative;
}
.bloccoCTA .icona strong:before{
  content: "+";
  position: absolute;
  width: 50px;
  text-align: right;
  display: block;
  left: -60px;
}
.bloccoCTA .icona{
   padding-left: 50px;
  width: fit-content !important; 
}

.wp-block-gallery.owl-carousel .wp-block-image img {
  aspect-ratio: 3/2;
}


.wp-block-gallery .owl-dots {
  text-align: center;
}
 
 

.wp-block-gallery.owl-carousel .owl-nav button.owl-next, .sliders.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  font-size: 50px;
  color: #fff;
}

.wp-block-gallery.owl-carousel .owl-nav button.owl-next {
  right: 20px;
  left: auto;
}

.wp-block-gallery.owl-carousel .owl-nav button.owl-next, .wp-block-gallery.owl-carousel .owl-nav button.owl-prev {
  font-size: 0;
}

.wp-block-gallery.owl-carousel .owl-nav button.owl-prev::before,
.wp-block-gallery.owl-carousel .owl-nav button.owl-next::before{
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='23' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m11 21.504-10-10 10-10' stroke='%23fff' stroke-width='2' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  width: 30px;
  height: 30px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
}
.wp-block-gallery .owl-nav .owl-next,
.wp-block-gallery .owl-nav .owl-prev {
  position: absolute;
  top: 50%;
}
.wp-block-gallery .owl-nav .owl-prev
{
  left: -35px !important;
}
.wp-block-gallery .owl-nav .owl-next
{
  right: -35px !important;
}

.wp-block-gallery.owl-carousel .owl-nav button.owl-next::before{
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='23' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1.364 1.504 10 10-10 10' stroke='%23fff' stroke-width='2' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.wp-block-gallery .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background: #f5f5f5 !important;
  border-radius: 100%;
  margin: 0 3px;
}

.wp-block-gallery .owl-dots .owl-dot.active {
  background: var(--link-color) !important;
}
@media screen and (max-width:768px)
{
	  .sliders {
    width: 100vw;
    overflow: hidden;
    height: 600px;
  }

.sliders > .wp-block-cover {
  width: 100vw;
  min-width: 100vw;
	height:600px;
}
	 
.sliders .wp-block-cover__inner-container {
  padding-top: 120px !important;
  padding-bottom: 50px !important;
} 
.resmenu{
  display: none !important;
}
.tablist{
  display: block;
} 
.tabs .content-wrapper {
  padding: 10px;
  border: none; 
}

.tabs
{
  display: block;
}
.tablist li a
{
  margin: 0 10px;
  border-radius: 4px;
  padding:5px 10px;
  margin-bottom: 10px;
  border:1px solid !important;
}
.tablist li.active a{
  background-color:var(--link-color-hover)
}
	.bloccoCTA > .wp-block-group
{
  flex-wrap: wrap;
}
	
#contatti > .wp-block-group {
  padding: 20px;
}
#contatti > .wp-block-group .subTit{
  text-align: center;
}
#contatti {
  padding: 0 20px;
}
.griglia_sceglierci {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 10px;
}
.griglia_sceglierci > .wp-block-group
{
  display: block;
}
}