/*
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: 3px;
  border: 1px 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;
} */


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 {
  position: relative;
  z-index: 100;
}

.page-template-menu-trasparent .header {
    background: rgba(255, 255, 255, 0.1) !important;
  position: fixed;
  left: 0;
  right: 0;
   top: 42px;

}

.admin-bar.page-template-menu-trasparent .header{
  top: 72px;
}

.scroll-down .header {
  background: #fff !important;
  top: 0px !important;
}

.admin-bar.scroll-down .header{
    top: 30px !important;

}


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

#logo img {
  padding: 20px 0;
  height: 70px;
  width: auto;
  display: block;
  box-sizing: content-box;
  filter: invert() brightness(100);
}

.scroll-down #logo img {
  filter: none;
}

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

.scroll-down.page-template-menu-trasparent .navigator .menu li a{
    color: var(--site-title-color);

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

.navigator .menu li a:hover,
.navigator .menu li.current_page_item>a {
  text-decoration: underline;
}
}


.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: var(--site-title-color) !important;
  text-align: left;
}
@media screen and (min-width: 1025px) {

.navigator .menu ul li a:hover{
  background-color: #f7fafb;
    text-decoration: none;

}
}

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

.page-template-menu-trasparent:not(.scroll-down) .navigator .menu > li.menu-item-has-children > a::after{
  filter: invert();
}


.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: #fff;
	text-decoration:underline;
}

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

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

.credit a{
  color: #fff;
}

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



#coverHome {
  z-index: 1;
}
.negative-box {
  z-index: 2;
}






/* ! 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: var(--site-title-color);
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin:auto;
}

.rank-math-list-item {
  position: relative;
  padding: 30px 30px 30px 0px;
  cursor: pointer;
  border-bottom: 1px solid #333333;
}
.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: var(--site-text-color);
}

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





.titline {
  position: relative;
}
.titline:after {
  content: "";
  width: 100px;
  height: 3px;
  background: var(--link-color);
  display: block;
  margin-top: 18px;
}




.top-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  z-index: 1000;
  color: #fff;
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 0;
  border-bottom: 1px solid #fdfdfd15;
  font-size: 14px;
}
.top-bar .social {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.top-bar .social a {
  color: #fff;
}
.top-bar p {
  border-right: 1px solid #fdfdfd15;
  padding-right: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.scroll-down .header-widget .wp-block-buttons .wp-block-button a.wp-block-button__link{
  background-color: var(--link-color) !important;
  border-color:  var(--link-color) !important;
}


#team .wp-block-columns {
  justify-content: center;
}

.wp-block-list {
  list-style-position: outside;
}



/*--------------------------------------------------------------
# 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;
}
  
    .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: 70px auto 0;
      position:relative;
      right:0;
    }
    .navigator .menu li{
      display:block;
    }
    .navigator .menu li a{
      line-height:60px;
      font-size:16px;
      color:#000 !important;
      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);
  }
	.page-template-menu-trasparent .header {
  top: 0;
}
	.visible #logo img {
  filter: none;
}
	
	.page-template-menu-trasparent:not(.scroll-down) .navigator .menu > li.menu-item-has-children > a::after{
		filter:none;
	}
	
}

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

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

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

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

:where(.wp-block-group.has-background) {
  padding-left: 15px;
  padding-right: 15px;
}
	
.header-widget {
  display: none;
}	
	
	.service-icon {
  grid-template-columns: repeat(2,1fr) !important;
}


}
