/*
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.0
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,.title, .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: 45px;}
h2, .subTit{font-size: 28px;}
h3, .title{font-size: 24px;}
h4, .tit{font-size: 20px;}


/* 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;
  padding-left: 10px;
}


.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, button, input[type="submit"] {
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 18px;
  border: 2px solid transparent;
  padding: 11px 42px;
  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, button: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 {
  padding: 0 10px 0 38px;
  line-height: 50px;
  height: 50px;
  box-sizing: border-box;
  width: 100%;
  color: #535353;
  font-size: 13.5px;
  font-family: 'Work Sans', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid #000;
  border-radius: 15px;
}

.form.row svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  left: 12px;
}


.form.row svg path, .form.row svg circle {
  stroke: #000;
  color: #000;
}
.form.row svg path:first-child {
  stroke: transparent;
}

.form.row .field {
  position: relative;
}

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

.form.row .textarea svg {
  transform: none;
  top: 12px;
}

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: 0;
}

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

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

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



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

.header-widget {
  flex-basis: 25%;
  text-align: right;
}

#logo {
  position: relative;
  z-index: 50;
  flex-basis: 25%;
}

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

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

.navigator {
  flex-basis: 50%;
  text-align: center;
}

.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: 16px;
  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;
  padding: 12px;
  position: absolute;
  left: 0;
  width: 200px;
  visibility: hidden;
  opacity: 0;
  transition: all 200ms ease-in;
  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: 13px;
  color: #000;
  text-align: left;
}


.footer {
  padding-top: 60px;
  padding-bottom: 40px;
  background-color: #fff;
  color: var(--site-text-color);
  font-size: 14px;
}

.footer h4, .footer .tit {
  font-size: 21px;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--site-title-color);
}

.footer a {
  color: var(--site-text-color);
}

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

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

.credit {
  background-color: #fff;
  color: var(--site-text-color);
  text-align: center;
  padding: 15px 0 10px;
  font-size: 11px;
}

.credit a{
  color: var(--site-text-color);
}

.credit p {
  margin: 0;
}

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

#coverHome .main-title {
  font-size: 50px;
  max-width: 500px;
}

#coverHome p {
  max-width: 500px;
}


.social a {
  display: inline-block;
}
.social a svg {
  height: 30px;
  width: 30px;
  border-radius: 13px;
}


.feature img {
  height: 85px;
  width: auto;
}
.feature .wp-block-column {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
}
.read-more-p {
  margin: 0;
}
.read-more-p a {
  text-decoration: underline;
  color: #c62929;
  font-weight: bold;
}

#faq .wp-block-cover .wp-block-cover__inner-container,
#contatti .wp-block-cover .wp-block-cover__inner-container {
  color: var(--site-text-color);
}

#faq .schema-faq-section::before, #faq .schema-faq-section::after {
  content: "";
  width: 15px;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
  margin-right: 15px;
  position: absolute;
  right: 20px;
  top: 30px;
}

#faq .schema-faq-section::after {
  transform: rotate(90deg);
}

#faq .schema-faq-section.active::after {
  transform: none;
}
#faq .schema-faq-question {
    font-size: 17px;
    cursor: pointer;
}

#faq .schema-faq-section {
  position: relative;
  background: transparent;
  border: 1px solid #000;
  -webkit-box-shadow: 0 16px 32px 0 rgba(0,0,0,.04);
  -moz-box-shadow: 0 16px 32px 0 rgba(0,0,0,.04);
  box-shadow: 0 16px 32px 0 rgba(0,0,0,.04);
  padding: 19px 29px;
  margin-bottom: 24px;
  border-radius: 15px;
}
#faq .schema-faq-answer {
  display: none;
}

#faq .schema-faq-answer ul {
  list-style-type: none;
}

#faq .schema-faq.wp-block-yoast-faq-block {
  margin: 40px auto 0;
}

.box-contatti {
  border-radius: 30px;
  color: var(--site-text-color);
}

.box-contatti label{
  color: var(--site-text-color);
}

#contatti .wp-block-cover .wp-block-cover__image-background {
  left: 40%;
}



[type="radio"]:not(.switch-input):checked, [type="radio"]:not(.switch-input):not(:checked),
[type="checkbox"]:not(.switch-input):checked, [type="checkbox"]:not(.switch-input):not(:checked) {
  position: absolute;
  left: -9999px;
}
[type="radio"]:not(.switch-input):checked + span, [type="radio"]:not(.switch-input):not(:checked) + span,
[type="checkbox"]:not(.switch-input):checked + span, [type="checkbox"]:not(.switch-input):not(:checked) + span {
  position: relative;
  padding-left: 1.2625rem;
  cursor: pointer;
}
[type="radio"] + label[for] {
  display: inline-block;
  vertical-align: baseline;
  margin-left: 0;
  margin-right: 1.5rem;
  margin-bottom: 0;
}
[type="radio"]:not(.switch-input):checked + span::before, [type="radio"]:not(.switch-input):not(:checked) + span::before ,
[type="checkbox"]:not(.switch-input):checked + span::before, [type="checkbox"]:not(.switch-input):not(:checked) + span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1rem;
  height: 1rem;
  border: .0625rem solid #000;
  background-color: #fff;
  border-radius: 4px;
}
[type="radio"]:not(.switch-input):checked + span::after, [type="checkbox"]:not(.switch-input):checked + span::after {
  content: '';
  position: absolute;
  left: 0.24rem;
  top: 0.35rem;
  width: 0.525rem;
  height: .525rem;
  background-color: #000;
  border-radius: 2px;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
  margin-right: 15px;
}

.wpcf7-list-item-label {
  display: block;
}

[type="radio"]:not(.switch-input):checked + span::before,
[type="radio"]:not(.switch-input):not(:checked) + span::before,
[type="radio"]:not(.switch-input):checked + span::after{
  border-radius: 100%;
}

.wpcf7-form-control.wpcf7-checkbox {
  font-size: 13px;
}


.delay1{animation-delay: 0.2s;}
.delay2{animation-delay: 0.4s;}
.delay3{animation-delay: 0.6s;}
.delay4{animation-delay: 0.8s;}
.delay5{animation-delay: 1.2s;}
.delay6{animation-delay: 1.4s;}



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

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

  .top-bar {
    display: none;
  }

  .resmenu {
    display: block;
    order: 3;
  }

  .header-widget{
    margin-left: auto;
    margin-right: 20px;
  }

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

  .navigator .menu li {
    display: block;
  }

  .navigator .menu li a {
    line-height: 60px;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    color: #000;
    background-color: transparent;
  }

}

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

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

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

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

  #coverHome .main-title {
    font-size: 34px;
  }
	
	#contatti .wp-block-cover .wp-block-cover__image-background {
  left: -20px;
}

}
