/*
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,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: 50px;  }
h2, .sub-title, .h2, .has-h-2-font-size{font-size: 36px;}
h3, .title, .h3, .has-h-3-font-size{font-size: 24px;}
h4, .tit, .h4, .has-h-4-font-size{font-size: 22px;}
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: 38px; }
  h2, .sub-title, .h2, .has-h-2-font-size{font-size: 30px;}
  h3, .title, .h3, .has-h-3-font-size{font-size: 23px;}
  h4, .tit, .h4, .has-h-4-font-size{font-size: 20px;}
  h5, .h5, .has-h-5-font-size{font-size: 20px; }
  h6, .h6, .has-h-6-font-size{font-size: 18px; }
}


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


.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
  color: #000;
  transition: all .3s ease-in-out;
  background-color: transparent;
  border-radius: 0px;
  border: none;
  border-bottom: 2px solid #000;
  padding: 12px 30px 12px 5px;
  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: none;
  background-color: transparent;
  padding: 0 15px;
  height: 44px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0;
  font-family: var(--body-font);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 2px solid #000;
  color: rgba(51, 40, 30, 0.70);
}

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

select {
  background-image: url('data:image/svg+xml,<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 6L8.5 10L12.5 6" stroke="%231E1E1E" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position-x: calc(100% - 15px);
  background-position-y: 15px;
}

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: var(--site-title-color);
  font-family: var(--body-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;
}



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

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

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

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

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

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






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

.page-template-menu-trasparent .header {
  background: transparent !important;
  position: absolute;
  left: 0;
  right: 0;
}



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

#logo img {
  padding: 60px 0;
  height: 53px;
  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: 0px;
  line-height: 120%;
  color: var(--site-title-color);
  display: block;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  margin: 0 25px;
}
.navigator .menu li:last-child a{margin-right: 0;}

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


@media (min-width: 1025px) {
  
  
  .navigator .menu > li > a:hover,
  .navigator .menu li.current_page_item>a {
    color: #fff;
    border-bottom: 3px solid #fff;
  }

  .page-template-menu-trasparent:not(.home) .navigator .menu > li > a:hover,
  .page-template-menu-trasparent:not(.home) .navigator .menu li.current_page_item>a { 
  border-color: #fff;
}
  
}

.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: 20px;
}
.navigator .menu li:hover ul,
.navigator .menu li:focus-within 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;
  margin: 0;
  color: #000 !important;
}

/* .navigator .menu ul li a:hover{
  background-color: #f5f5f5;
} */


.navigator .menu > li.menu-item-has-children > a {
  position: relative;
  padding-right: 20px;
}

.navigator .menu > li.menu-item-has-children > a::after {
  content: " ";
  width: 18px;
  height: 17px;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-size: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="17" viewBox="0 0 19 17" fill="none"><g clip-path="url(%23clip0_218_470)"><path d="M14.8689 6.375L9.2439 11.6875L3.6189 6.375" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_218_470"><rect width="18" height="17" fill="white" transform="translate(0.243896)"/></clipPath></defs></svg>');
}

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

.footer {
  padding-top: 70px;
  padding-bottom: 70px;
  color: #fff;
  font-size: 16px;
}

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

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


.fullalign {
  width: 56vw;
}

.fullalign.alignToLeft {
  margin-left: calc(50% - 40vw - 50px);
  width: 55vw;
}

@media (max-width: 1900px) {
  .fullalign.alignToLeft {
   margin-left: calc(50% - 35vw - 50px);

}
}




@media (max-width: 768px) {
  .fullalign {
  width: 100vw !important;
  margin: 0 0 0 -15px !important;
}
}



/* ! Stili arredo card */


.stili-arredo .item figure a {
  display: block;
  position: relative;
}
.stili-arredo .item figure a:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
  transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
}
.stili-arredo .item .text {
  transform: translateY(-70px);
  padding: 0 20px;
    transition: all 0.5s cubic-bezier(.215, .61, .355, 1);

}
.stili-arredo .item .text p:not(.tit), .stili-arredo .item .text .wp-block-buttons {
  opacity: 0;
    transition: all 0.5s cubic-bezier(.215, .61, .355, 1);

}
.stili-arredo .item .text .tit, .stili-arredo .item .text .tit a {
  color: #fff;
    transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
}
/*
@media (min-width: 1025px) {
  .stili-arredo .item:hover .text .tit, .stili-arredo .item:hover .text .tit a {color: #000;}
  .stili-arredo .item:hover .text p:not(.tit), .stili-arredo .item:hover .text .wp-block-buttons { opacity: 1;}
  .stili-arredo .item:hover .text {transform: translateY(0);}
  .stili-arredo .item:hover figure a:before {opacity: 0;}
}
*/

@media (max-width: 1024px) {
    .stili-arredo .item .text .tit, .stili-arredo .item .text .tit a {color: #000;}
  .stili-arredo .item .text p:not(.tit), .stili-arredo .item .text .wp-block-buttons { opacity: 1;}
  .stili-arredo .item .text {transform: translateY(0);}
  .stili-arredo .item figure a:before {opacity: 0;}
}

@media (max-width: 768px) {
  .stili-arredo.is-layout-grid{grid-template-columns: repeat(1, 1fr); gap: 60px;}
}



.form .btn{padding-left: 10px;}
.wp-block-group {
  scroll-margin-block: 105px;
}



.form.form-newsletter {
  color: #fff;
}
.form.form-newsletter input[type="email"] {
  background: #fff;
  height: 27px;
  font-size: 12px;
}
.form.form-newsletter label, .form.form-newsletter label a {
  color: #fff;
  font-size: 11px;
}
.form.form-newsletter .btn {
  border-color: #fff;
  color: #fff;
  margin-top: -20px;
}
.social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social svg {
  height: 32px;
  width: 32px;
}



.brand-grid .wp-block-image {
  margin: 0 !important;
}
.brand-grid .wp-block-image img {
  aspect-ratio: 128/55;
  object-fit: contain !important;
  margin-bottom: 45px;
}

.brand-list-tit {
  height: 40px;
}
.brand-list ul {
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}
.brand-list ul li {
  margin-bottom: 5px;
}


.mt-auto {
  margin-top: auto;
}
.brand-grid.mt-auto .wp-block-image img {
  margin-bottom: 0 !important;
  padding-top: 16px;
  padding-bottom: 16px;
}


.cl-flex {
  display: flex;
  flex-direction: column;
}



.product-card .swiper-wrapper {
  display: flex !important;
  gap: 0;
  padding-bottom: 70px;
}

.product-card .swiper-wrapper .swiper-slide {
  width: 430px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .product-card .swiper-wrapper .swiper-slide {
    width: 270px;
}
}



.fade-gallery .swiper-pagination-bullet-active {
  background: #fff;
}
.fade-gallery .swiper-pagination-bullet {
  background: #e7e7e7;
}
.fade-gallery .swiper-pagination {
  left: 0;
  right: 0;
}

.fade-gallery .wp-block-cover__inner-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}




/* Loader circolare */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--link-color); 
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.magazine-description {
  max-width: 541px;
}
.filter {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  position: relative;
  max-width: 634px;
  margin-left: auto;
  margin-right: auto;
}
.filter li {
  color: #000;
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  cursor: pointer;
}
.filter:after {
  content: "";
  background: #c8c8c8;
  height: 1px;
  width: 100%;
  position: absolute;
  bottom: 1px;
  z-index: 0;
}
.filter-btn.active {
  border-bottom: 2px solid;
  z-index: 1;
}


/* ! Blog archive */


.blog-archive {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 80px 30px;
}
.blog-archive .item .image img {
  aspect-ratio: 427/376;
  object-fit: cover;
}
.blog-archive .item .image {
  margin-bottom: 30px;
}
.post-meta svg {
  display: none;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.post-meta .date {
  font-weight: bold;
  font-size: 22px;
}
.post-meta .category {
  font-size: 22px;
}
@media (max-width: 768px) {
  
.blog-archive {
  grid-template-columns: repeat(1,1fr);
  gap: 30px;
}
}



.row-menu {
  position: relative;
}
.row-menu:before {
  content: "";
  background: #C8C8C8;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
}
.row-menu .itm a.active {
  border-bottom: 2px solid #000;
  z-index: 2;
    position: relative;
}




.brand-gallery img {
  height: 46px !important;
  object-fit: contain;
}
.brand-gallery figure {
  flex-grow: inherit !important;
}
.brand-gallery {
  gap: 49px 24px !important;
}


.swiper-navigation-icon {
  display: none;
}
.swiper-button-next, .swiper-button-prev {
  position: relative !important;
}
.nav-arrow-container {
  justify-content: flex-end;
  margin-top: -90px;
  max-width: 120px;
  margin-left: auto !important;
  margin-right: 0 !important;
  z-index: 100;
  position: relative;
}
.z-100 {
  position: relative;
  z-index: 99;
}


.shadowImg:before {
  content: "";
  width: 100%;
  height: 80%;
  background: #F5F5F5;
  display: block;
  position: absolute;
  z-index: -1;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
}
.shadowImg {
  position: relative;
}




/*--------------------------------------------------------------
# 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: 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: 20px;
    background-color: #fff;
    z-index: 200;
    margin:0;
    overflow: scroll;
    padding-left: 40px;
    padding-right: 40px;
  }

  .visible {
    overflow: hidden;
  }

  .visible .navigator {
    transform: translateX(0%);
    -moz-transform: translateX(0%);
    -webkit-transform: translateX(0%);
  }

  .navigator .menu {
    display: block;
    width: 100%;
    margin: 40px auto 0;
    position: relative;
  }

  .navigator .menu li {
    display: block;
  }

  .navigator .menu li a {
    line-height: 60px;
    background-color: transparent;
	color: #000 !important;
	  margin:0;
  }
	
 .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{
  }
	
  .navigator #logo img {
    padding: 0;
  }
	
	.pagina {
  overflow: hidden;
}
	
	.navigator .menu > li.menu-item-has-children > a::after {filter:none !important;}
	.page-template-menu-trasparent .navigator #logo img {
  filter: none;
}

	
#logo img {
  height: 38px;
}
#menu-toggle {
  display: none;
}
		.logo-footer {
  flex-basis: auto !important;
  margin-bottom: 20px !important;
  display: block;
}
}

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

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

  .header-widget { display:none; }

  .wp-block-group-is-layout-grid.wp-block-group {
  grid-template-columns: repeat(1,1fr);
}
.footer .f-wrap {
  flex-direction: column !important;
}
	
.fade-gallery .wp-block-cover {
  min-height: 270px !important;
}	
	
:where(.wp-block-group.has-background) {
  padding-left: 20px;
  padding-right: 20px;
}	
	
	.projects-item .wp-block-column {
  max-width: 100%;
}
	
.coverHome	.fade-gallery .wp-block-cover {
  min-height: 570px !important;
}	
	.coverHome	.fade-gallery {
  margin-left: -20px !important;
}
	.row-menu {
  white-space: nowrap;
  overflow: auto;
  gap: 12px;
}
	.nav-arrow-container {
  margin-top: 0;
}
	

	.brand-gallery.wp-block-gallery figure.wp-block-image img {
  height: 50px !important;
  object-fit: contain !important;
  max-width: 90px !important;
  margin: auto;
}
.brand-gallery.wp-block-gallery figure.wp-block-image {
  max-width: 28%;
}
	
	
.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 15px;
  padding: 12px 15px 12px 4px;
}
}
.invert-logo img {
  filter: invert() grayscale(1);
}