/*
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.6;
  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: 34px;}
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, input[type="submit"] {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color-hover);
  border-radius: 5px;
  border: 2px solid transparent;
  padding: 18px 40px;
  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);
  border-color: var(--link-color);
  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: #fafafa;
  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;
}

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

#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);
	font-family:"Roboto", sans-serif;
  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;
  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: 40px;
  padding-bottom: 40px;
  background-color: #2a2a2a;
  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: #eee;
}

.footer ul {
  padding-left: 10px;
  display: block;
  padding: 0;
  margin-right: 10px;
  list-style: none;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;	
}

.footer li {
 padding:0 5px;
}

.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;
}
.top-bar{
  text-align: right;
  background-color: var(--link-color-hover);
}

.tel {
  margin: 10px;
  position: relative;
  padding: 0px 10px;
  font-size: 24px;
  display: inline-block;
  border-radius: 10px;
  border: 1px solid #fff;
  color:#fff;
  border-left: none;
}

.tel a{
  color:#fff;
}
.tel i {
  color:#fff;
  margin-left: -20px;
}
.footer .tel{
	  width: fit-content;
  display: block;
	margin:10px auto;
}
/* HOME */

  .occhiello {
   font-size: 16px;
   font-weight: 700;
   text-transform: uppercase;
   color: var(--link-color-hover); 
   margin: 0 0 5px;
}

 .featured ul li {
    display: block;
    list-style: none;
    font-style: normal;
    line-height: 1.2;
	margin-bottom: 30px;
}

 
 .featured ul li .fas {
    font-size: 25px;
    height: 50px;
    width: 50px;
    text-align: center;
    border-radius: 50%;
    min-width: 50px;
    line-height: 50px;
    background: var(--link-color-hover);
    color: #fff;
    margin: 20px 10px 23px 0px;
    float: left;
}

   .wp-block-media-text img {
    border-radius: 5px;
}

.feat {
    flex-wrap: wrap !important;
    align-items:flex-start !important;
    gap:var(--gap)
}
.feat > p{ 
    padding:10px;
    text-align:center;
    box-shadow:0 0 3px rgba(0,0,0,0.4); 
    min-height:168px;
    
    max-width:calc(25% - (var(--gap) ));
    min-width:calc(25% - (var(--gap) ));
}
.feat > p i{
    display:block;
    margin: 10px auto;
    width:50px;
    height:50px;
    line-height:50px;
    background-color:var(--link-color);
    color:#fff;
    font-size:24px;
    text-align:center;
    border-radius:100%;
}

  #faq .wp-block-details {
   position: relative;
   background-color: #fff;
   background-clip: border-box;
   border: 1px solid rgba(0,0,0,.125);
   border-radius: .25rem; 
   margin-bottom: 15px;

}

  #faq .wp-block-details p {
   padding: 10px 15px;
}

  #faq summary {
   padding-left: 30px;
   font-size: 17px;
   font-weight: 600;
   align-items: center;
   padding: 11px 15px;
   padding-right: 20px;
   transition: .5s;
   display: block;
}

  #faq img {
  border-radius: 5px;
}

  #faq .wp-block-details[open] summary,
  #faq .wp-block-details summary:hover {
   background: var(--link-color-hover);
   color: #fff;
   text-decoration: none;
}

  #faq .wp-block-details summary:before {
   position: absolute;
   content: '\f107';
   right: 15px;
   font-family: 'Font Awesome 5 Pro' !important;
   font-weight: 400; 
   font-size: 20px; 
}

  #faq .wp-block-details[open] summary:before {
   content: '\f106';
}

.contatti .btn {
	display:block;
	margin: auto;
}
/* CHI SIAMO */

.yoast-breadcrumbs {
	text-align:center;
	margin: 5px 0 0;
}

.yoast-breadcrumbs a {
	color:#fff
}

/* SLIDE PRODOTTI */

.prodotti ul {
    list-style: none;
    display: flex;
}

.prodotti .fal {
    font-size: 25px;
    height: 50px;
    width: 50px;
    text-align: center;
    border-radius: 50%;
    min-width: 50px;
    line-height: 50px;
    background: var(--link-color-hover);
    color: #fff;
    display: block;
	margin: 0 auto;
}


.feature_block > .wp-block-group { 
    min-width: 160px; 
}

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

  .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 {
    margin-top: 20px;
	font-size: 30px;
  }

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

  .occhiello {
   margin-top: 20px;
    font-size: 14px;
}
  .tel {
  font-size:18px;
   padding:5px;

}
  .has-text-align-left strong {
	font-size: 40px;
  }
	
  .wp-block-media-text__content li {
   font-size: 15px;	  
}

  #faq .wp-block-details {
    margin-bottom: 10px;
  }

  #faq summary {
    padding: 8px 10px; 
     font-size: 15px;  
  }

  #faq .wp-block-details p {
    padding: 8px;  
  }
  
  #faq .wp-block-details summary{
   padding-right: 40px;
  }
  
  .footer {
    font-size: 16px;
}

  .footer h4, .footer .tit {
   font-size: 21px;
    margin: 0 0 18px;
}
  .footer ul {
  padding-left: 5px;
   margin-right: 5px;
   display: block;
   font-size: 14px;

}
  .footer li {
   padding: 5px;
}
  
  .footer p {
   padding-top: 10px;
}
	
.footer .wp-block-group {
  justify-content: flex-start !important;
}
.footer .wp-block-column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.footer .wp-block-columns {
  gap: 0;
}
.footer.elenco {
  margin: 25px 0 10px;
}

.feat > p
    { 
     max-width:calc(100% - (var(--gap) / 2));
     min-width:calc(100% - (var(--gap) / 2));
    }
}	

.servizi {
  gap: 0;
}
.servizi .wp-block-column {
  position: relative;
}
.servizi .wp-block-column p {
  
	text-align:center;
	padding:0 20px;
	margin:10px 0;
} 

.owl-nav .owl-prev{
  
  position: absolute;
  top: calc(50% - 25px);  
  left: -30px;
}
.owl-nav .owl-next
{
  position: absolute;
  top: calc(50% - 25px); 
  right: -30px;
  font-size: 20px;
  left: auto;
}
.owl-nav .owl-next span,
.owl-nav .owl-prev span{
  font-size: 50px;
  height: 50px;
  color: var(--link-color-hover);
}
.owl-dots
{
  text-align: center;
}
.owl-dots .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  margin: 0 5px;
  background-color: #ccc !important;
}
.owl-dots .owl-dot.active{
    background-color: var(--link-color-hover) !important;
}
.header{
	
  border-bottom: 1px solid #cccccc;
  box-shadow: 0 0 3px rgba(0,0,0,0.4);
}

.prodotti .owl-item {
  transform: scale(0.9);
  transition:all 0.3s ease-in-out;
  opacity:0.6;
}
.prodotti .owl-item.center {
  transform: scale(1);
  opacity:1;
}
.servizi ul
{
	text-align:left;
	padding:0 20px;
	font-size:14px;
	min-height:210px;
}

.prodotti.owl-carousel .owl-stage-outer {
  padding-bottom: 20px;
  box-sizing: content-box;
}
.prodotti .wp-block-column {
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.07)
}

.blog-archive .item {
  box-shadow: 0 5px 10px 0 rgba(50,65,141,.07);
}
.blog-archive .text{
  padding: 15px 25px;
}
.blog-archive .item .post-meta-item,
.blog-archive .item .post-meta-item a{
  color: #999;
  font-weight: 600;
}
.blog-archive .item svg {
  display: none;
}

.blog-archive .item .wp-post-image {
  border-radius: 5px;
}
.blog-archive .item .tit {
  font-size: 24px;
  font-weight: 700;
  color: var(--link-color);
  margin: 10px 0;
}

.blog-archive .item .read-more {
  background-color: #002a6314;
  padding: 10px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}

.item .wp-block-image {
  position: relative;
  overflow: hidden;
}
.item .wp-block-image a:before{
  content: "";
  position: absolute; 
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -webkit-transform: scale(0);
  transform: scale(0); 
  transition: 0.3s ease-in-out all;
  z-index: 1;
  background: rgba(0,0,0,.5);
}
.item .wp-block-image:hover a:before{
  transform: scale(1);
}
.item .wp-block-image  img{
  
  transition: 0.3s ease-in-out all;
}
.item .wp-block-image:hover img{
  transform: scale(1.2);
}

.single .item-image {
  margin: 0;
}
.single .testo {
  padding: 38px 45px 15px;
  box-shadow: 0 3px 19px rgb(0 0 0 / 8%);
  border-radius: 0 0 10px 10px;
  box-sizing: border-box;
  width: 100%;
}
.single .item-image img {
  width: 100%;
}
.single .main-title{
  padding: 0;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 24px
    
}
.single .pagina .contenuto .post-meta-item,
.single .pagina .contenuto .post-meta-item a{
  color: #999;
}
.single .pagina .contenuto .post-meta-item svg{
  color: var(--link-color-hover)
}

.sidebar .widget_block {
  margin-bottom: 30px;
  padding: 35px 30px 35px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgb(0 0 0 / 7%);
}

.wp-block-search__inside-wrapper {
  border: none;
  padding: 0;
}
.wp-block-search__inside-wrapper input {
  background-color: #f7f7f7;
  border: none;
  border-radius: 5px 0 0 5px;
}
.wp-block-search__inside-wrapper button {
  margin: 0;
  background-color: var(--link-color-hover);
}

.sidebar .widget_block h3:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;  
  margin-top: 17px;
  width: 26%; 
  border-bottom: 1px solid var(--link-color-hover);
}

.sidebar .widget_block h3:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;  
  margin-top: 17px;
  width: 26%; 
  border-bottom: 1px solid var(--link-color-hover);
}
.sidebar .widget ul {
  list-style:none;
  margin:0;
  padding:0
}
.sidebar .widget a {
  color:#454545
}
.sidebar .widget ul li {
  margin:0 0 5px;
  padding-left:20px;
  position:relative
}
.sidebar .widget ul li span {
  font-weight:300
}
.sidebar .widget ul li:last-child {
  padding-bottom:0;
  margin-bottom:0
}
.sidebar>.widget>ul>li {
  margin:0 0 10px;
  padding-bottom:10px
}
.sidebar .widget ul li:before {
  content:"\f054";
  font-family:"Font Awesome 5 Pro" !important;
  font-size:14px;
  font-weight: bold;
  left:0;
  position:absolute
}
.sidebar .widget ul li:not(:last-child)
{
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.contact_icone .wp-block-column {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.08);
  background-color: #FFFFFF;
  padding: 30px;
  border: 1px solid #2c2c3c
} 
.contact_icone .fas{
  width: 80px;
  height: 80px;
  line-height: 80px;
  display: block;
  margin: 0 auto 20px;
  background-color:#f5f5f5;
  border-radius: 100%;
  text-align: center;
  color: var(--link-color);
  font-size: 25px;
}
.contact_icone p strong{
  font-size: 20px;
}

.contact_Form {
  text-align: center;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
  position: relative;
  background-size: cover;
  padding: 60px 35px 60px;
  border-radius: 10px;
}
@media screen and (max-width:768px)
{
	
.CTA .wp-block-group {
  padding: 20px 15px !important;
}
.featured ul li .fas {
  display: block;
  margin: 0 auto 20px;
  float: none;
}
.featured ul li {
  text-align: center;
  margin-bottom: 50px;
}
	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content
	{
		padding:0px 0;
	}
	
.single .testo {
  padding: 15px 0;
  box-shadow: none;
}
	
.prodotti .feature_block{
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.owl-nav {
  display: none;
}
}