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



.main-title:after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: var(--link-color);
  margin-top: 15px;
  border-radius: 20px;
}
.main-title.has-text-align-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* 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"], .button {
  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: 10px;
  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, .button: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: #fff;
  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;
}

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;
  font-size: 16px;
  font-weight: 300;
	  height: auto !important;
}

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;
    border-bottom: 1px solid #eee;
}

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

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

.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: 240px;
  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: #f2f2f2;
}

.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;
  font-size: 14px;
  border-top: 1px solid #eee;
}

.logo-footer {
  margin: auto;
}

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

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


.social {
  display: flex;
  gap: 10px;
}
.social a svg {
  height: 22px;
  width: 22px;
  color: var(--site-title-color);
}
.social a svg:hover {
  color: var(--link-color);
}


.blog-archive .item {
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
  border-radius: 10px;
  padding: 20px;
    background: #fff;
}
.blog-archive .item .tit {
  margin: 0 0 13px;
}
.blog-archive .item .tit a {
  color: var(--site-title-color);
}


.comments-area {
    margin: 2rem 0;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.comment-author {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.comment-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.comment-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}




.comunity-forum .item {
  background: #8fc740;
  border: 4px solid #fff;
  padding: 40px;
  text-align: center;
}
.comunity-forum .item .tit {
  margin: 0;
}
.comunity-forum .item .image {
  margin: 0;
}

.comunity-forum .item .tit a {
  color: #fff;
}
.comunity-forum .item:nth-child(2) {
  background: #ef2073;
}
.comunity-forum .item:nth-child(4) {
  background: #ff9518;
}
.comunity-forum .item:nth-child(3) {
  background: #a8a9ad;
}

.wp-block-spacer {
  margin: 0;
}


.sidebar .widget.widget_block {
  margin-bottom: 40px;
}
.sidebar .widget.widget_block .tit {
  margin: 0 0 9px;
}
.sidebar {
  padding-left: 40px;
}



#bbpress-forums li.bbp-header {
  background: var(--link-color);
  color: #fff;
}
.bbp-topic-title a {
  color: var(--site-title-color);
  font-size: 15px;
  font-weight: 600;
}
.bbp-topic-meta a {
  font-size: 12px;
  font-weight: normal;
  color: var(--site-title-color);
}
.bbp-topic-meta {
}
.bbp-topic-title {
}
.bbp-topic-title .bbp-topic-meta {
  display: ;
}
#bbpress-forums a {
  color: var(--site-title-color);
}

#bbpress-forums fieldset.bbp-form legend {
  color: var(--site-title-color);
  font-weight: bold;
  font-size: 20px;
}

#bbpress-forums fieldset.bbp-form label {
  color: var(--site-title-color);
  font-weight: bold;
}

.contact-box {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 40px 5px !important;
}

/*--------------------------------------------------------------
# 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;
  z-index: 99999999;
}
  
    .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 ul {
  position: relative;
  top: auto !important;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  width: 100%;
  padding-left: 14px;
}
     
}

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

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

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

h2, .subTit {
  font-size: 26px;
}
	
	.sidebar {
  padding-left: 0px;
}

}

.owl-nav .owl-prev,
.owl-nav .owl-next{
position: absolute;
top: calc( 50% - 25px);
height: 50px;
width: 50px;
left:-50px;
}
.owl-nav .owl-next
{
left: auto;
right: -50px;
}
.owl-nav .owl-next span,
.owl-nav .owl-prev span{
font-size: 0;
display: block;
width: 50px;
height: 50px;
}
.owl-nav .owl-prev span:before{
content: "";
background-image: url('data:image/svg+xml,<svg width="30" height="30" fill="rgb(30,30,30)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M20.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l192-192c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L54.6 256 235.3 436.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-192-192z"/></svg>');
display: block;
background-position: center;
height: 50px;
background-repeat: no-repeat;
}
.owl-nav .owl-next span:before{
content: "";
background-image: url('data:image/svg+xml,<svg width="30" height="30" fill="rgb(30,30,30)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M299.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-192 192c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L265.4 256 84.7 75.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l192 192z"/></svg>');
display: block;
background-position: center;
height: 50px;
background-repeat: no-repeat;
}

.owl-dots 
{
  text-align: center !important;
  /*! display: flex; */
  justify-content: center;
  display: flex;
  width: 100%;
}
.owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  margin: 0 2px;
  background-color: #ccc !important;
  border-radius: 100%;
}
.owl-dots .owl-dot.active{
  background-color: var(--link-color) !important;
}

.sliders .owl-nav .owl-prev span::before, .sliders .owl-nav .owl-next span::before {
  display: none;
}

.wp-block-file > a:before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="20" height="20" fill="rgb(255, 150, 31)"><path d="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"/></svg>');
} 
.wp-block-file > a{
  display: inline-block;
  border:1px solid var(--link-color);
  padding: 5px 15px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-transform: uppercase;
}