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

strong {
  font-weight: bold;
}

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: 46px; }
h2, .sub-title, .h2, .has-h-2-font-size{font-size: 32px;}
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: 30px !important;}
  h2, .sub-title, .h2, .has-h-2-font-size{font-size: 26px !important;}
  h3, .title, .h3, .has-h-3-font-size{font-size: 24px !important;}
  h4, .tit, .h4, .has-h-4-font-size{font-size: 22px !important;}
  h5, .h5, .has-h-5-font-size{font-size: 20px; }
  h6, .h6, .has-h-6-font-size{font-size: 18px; }
}


/* Link color */
a { color: #707070; }
a:hover { color: var(--link-color); text-decoration: none; }

.clearfix, .cleared {
  clear: both;
}

ul {
  list-style-position: inside;
  padding-left: 10px;
}


.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 0px;
  border: 1px solid transparent;
  padding: 12px 30px;
  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) !important;
  border-color: var(--link-color-hover) !important;
  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: none;
  background-color: #f8f8f8;
  padding: 0 15px;
  height: 50px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0;
  font-family: var(--body-font);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #46403B;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.2px;
}

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

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' width='20' height='20'%3E%3Cpath fill='currentColor' d='M212.7 331.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4 75.3 148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 20px);
  background-position-y: 10px;
}

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: #46403B;
  font-family: var(--heading-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;
}

.form .btn {
  background: transparent;
  border-color: var(--link-color);
  color: var(--link-color);
}

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

/* Per Webkit (Chrome, Safari, Edge) */
::-webkit-input-placeholder {
  color: rgba(51, 40, 30, 0.50);
  opacity: 1;
}

/* Per Mozilla Firefox */
::-moz-placeholder {
  color: rgba(51, 40, 30, 0.50);
  opacity: 1;
}

/* Per Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: rgba(51, 40, 30, 0.50);
  opacity: 1;
}

/* Per Microsoft Edge (Legacy) */
::-ms-input-placeholder {
  color: rgba(51, 40, 30, 0.50);
  opacity: 1;
}

/* Per i browser più moderni */
::placeholder {
  color: rgba(51, 40, 30, 0.50);
  opacity: 1;
}



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



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

#logo img {
  padding: 30px 0;
  height: 69px;
  width: auto;
  display: block;
  box-sizing: content-box;
  transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
}

.scroll-down #logo img {
  padding: 20px 0;
  height: 50px;
}




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

.navigator {
  margin-left: auto;
  margin-right: 15px;
}

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


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

.navigator .menu li a:hover{
  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: #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="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: 60px;
  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;
  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: #999;
}

.credit p {
  margin: 0;
}

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

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

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



.titLine {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.titLine:before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--link-color);
  display: block;
  margin-top: -3px;
}

.titLine.has-white-color::before {
  background: #fff;
}


.pr {position: relative;}



.icon-btn a:before {
  content: "";
  background-image: url('data:image/svg+xml,<svg width="34" height="27" viewBox="0 0 34 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M31.875 16.875C32.8711 16.875 33.75 17.7539 33.75 18.75V19.8633C33.75 23.3789 30.8789 26.25 27.3047 26.25H12.7734C9.84375 26.0742 7.5 23.6719 7.5 20.625V11.25H1.875C0.820312 11.25 0 10.4297 0 9.375V4.6875C0 2.10938 2.05078 0 4.6875 0H21.5625C25.1367 0 28.125 2.98828 28.125 6.5625V16.875H31.875ZM7.5 9.375V4.6875C7.5 3.16406 6.21094 1.875 4.6875 1.875C3.10547 1.875 1.875 3.16406 1.875 4.6875V9.375H7.5ZM16.875 20.625V18.75C16.875 17.7539 17.6953 16.875 18.75 16.875H26.25V13.125H23.4375C22.9102 13.125 22.5 12.7148 22.5 12.1875C22.5 11.7188 22.9102 11.25 23.4375 11.25H26.25V7.5H23.4375C22.9102 7.5 22.5 7.08984 22.5 6.5625C22.5 6.09375 22.9102 5.625 23.4375 5.625H26.1328C25.6641 3.51562 23.7891 1.875 21.5625 1.875H8.4375C8.96484 2.69531 9.375 3.63281 9.375 4.6875V11.25H12.1875C12.6562 11.25 13.125 11.7188 13.125 12.1875C13.125 12.7148 12.6562 13.125 12.1875 13.125H9.375V20.625C9.375 22.7344 11.0156 24.375 13.125 24.375C15.1758 24.375 16.875 22.7344 16.875 20.625ZM31.875 19.8633V18.75H23.4375V19.6875C23.4375 20.2148 22.9688 20.625 22.5 20.625C21.9727 20.625 21.5625 20.2148 21.5625 19.6875V18.75H18.75V20.625C18.75 22.0898 18.1641 23.3789 17.2852 24.375H27.3047C29.8242 24.375 31.875 22.3828 31.875 19.8633Z" fill="white"/></svg>');
  width: 34px;
  height: 24px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.wp-block-button.icon-btn a {
  display: flex !important;
  gap: 10px;
  line-height: 24px;
}




/* ! Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
  display: none;
  border-radius: 65px;
  background: #fff;
  box-shadow: 0px 0px 7.5px 0px rgba(0, 0, 0, 0.20);
  align-items: center;
  justify-content: center;
}



/*--------------------------------------------------------------
# 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: 128px;
    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: 0px;
    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: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
  }

  .navigator .menu li {
    display: block;
  }

  .navigator .menu li a {
    color: #707070 !important;
    padding: 30px 0;
    padding-right: 0px;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;
    display: inline-block;
  }
	
	
 .navigator .menu .sub-menu {
    position: relative;
    width: 100%;
    top: auto !important;
    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;
	     padding-left: 20px;
	     left: auto;
	     display: none !important;
  }

 /* .navigator .menu .open-dropdown .sub-menu {
    max-height: 980px;
  } */

  .navigator .menu > li.menu-item-has-children > a::after {
    width: 16px;
    height: 18px;
  }

  .menu > li.menu-item-has-children.open-dropdown > a::after{
	transform: rotate(-180deg);
  margin-top: -7px;
  }

  .menu > li.menu-item-has-children.open-dropdown > a {
    position: relative;
  }

  .navigator .menu  .open-dropdown .sub-menu {
    display: flex !important;
    gap: 30px;
  }
  .navigator .menu ul li a {
    margin: 0;
    font-size: 20px;
  }


  .nav-credit {
    padding: 30px 40px 60px;
  }
.nav-credit a {
  color: #707070;
  text-decoration: underline;
}

  .header-widget {
    display: none;
  }


.btn-outline {
  background-color: transparent;
  border-color: var(--link-color);
  color: var(--link-color) !important;
  text-decoration: none !important;
}


.visible #logo::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 0;
  bottom: 0;
  background: #fff;
  height: 100%;
  width: 210px;
}


}

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

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



.coverHome {
  min-height: 460px !important;
  padding-bottom: 60px !important;
  padding-top: 160px !important;
}

  .coverHome .wp-block-cover__image-background {
    object-position: 55% 0 !important;
    object-fit: cover;
  }

  #settori .wp-block-cover__inner-container {
    margin-bottom: 0;
  }


}
