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



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

.center{
  text-align: center;
}



.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: var(--link-color);
  border-radius: 0;
  border: 2px solid transparent;
  padding: 13px 19px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wp-block-buttons .wp-block-button.is-style-outline a.wp-block-button__link,
.btn-outline {
  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, .btn-outline: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: #F8F8F8;
  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;
  color: #2A292970;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

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



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: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid #FAF5F52B;
}

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


.admin-bar .header{
	top:32px;
}


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

#logo img {
  padding: 35px 0;
  height: 50px;
  width: auto;
  display: block;
  box-sizing: content-box;
  filter: grayscale() brightness(100);
}


.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: 70px;
  color: #fff;
  display: block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

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

.navigator .menu li a:hover,
.navigator .menu li.current_page_item>a {
  color: #fff;
  background: #454d4f;
}



.navigator .menu ul {
  display:none;
  position: absolute;
  padding: 0;
  left:0;
  width: 240px;
  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: 60px;
}
.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;
  color: #000;
  text-align: left;
  font-weight:400;
}

.navigator .menu ul li a:hover {
  background-color: var(--link-color);
}

.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="white" 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: 70px;
  padding-bottom: 40px;
  color: #000;
  font-size: 14px;
}

.footer h4, .footer .tit {
  font-size: 21px;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: #000;
}

.footer a {
  color: #000;
}

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

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

.credit {
  color: #000;
  text-align: center;
  padding: 15px 0 20px;
  font-size: 13px;
}

.credit a{
  color: #000;
}

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


.is-vertically-aligned-stretch figure, .is-vertically-aligned-stretch figure img {
  height: 100%;
  object-fit: cover;
}


#logo h1 {
  margin: 0;
  padding: 20px 0;
}



.servizi .item .image img {
  border-radius: 30px 10px 0 0px;
}
.servizi .item .tit a {
  color: var(--site-title-color);
}




.servizi .item .btn {
  margin-top: 14px;
  padding: 8px 16px;
  color: #fff !important;
}
.wp-block-group {
  scroll-margin-top: 100px;
}



.bollino-anni {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -30px;
  left: -50px;
  z-index: 1;
}

.pr {
  position: relative;
}
.box-contatti {
  box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.1);
}



.header-widget:before {
  content: "";
  position: absolute;
  left: -50px;
  width: 1px;
  height: calc(100% + 36px);
  display: block;
  background: #FAF5F52B;
  top: -20px;
}
.header-widget {
  position: relative;
  color:#fff;
}



.servizi .item {
  border: 1px solid #D6D6DA;
  padding: 50px 20px;
  position: relative;
}
.servizi .item .icon{
	display:none;
}
.servizi .item .image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  margin: 0;
}
.servizi .item:hover .image {
  opacity: 1;
}
.servizi .item .image img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
}
.servizi .item .image a:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}
.servizi .item:hover .tit a, .servizi .item:hover p {
  color: #fff;
}



.servizi .item .intro {
  font-size: 13px;
  z-index: 1;
  position: relative;
}
.servizi .item .tit {
  margin-bottom: 10px;
  font-size: 20px;
}
.servizi .item .tit a {
  color: var(--link-color);
}

.servizi .icon svg {
  width: 80px;
  height: 80px;
}

.box-info-studio {
  position: sticky;
  top: 160px;
}
.logo-footer img {
  filter: invert() brightness(100) grayscale(1);
}


p:not(.has-large-font-size, .has-text-align-center) {
  text-align: justify;
}
.footer p.has-text-align-center {
  text-align: center;
}




.blog-archive .item .intro {
  display: none;
}
.blog-archive .item .image {
  margin: 0;
}
.blog-archive .item .image img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.post-meta {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 6px;
}
.blog-archive .item .tit a {
  color: var(--site-title-color);
}
.blog-archive .item .tit {
  margin: 0 0 5px;
}
.blog-archive .item {
  border: 1px solid var(--link-color);
}
.blog-archive .item .text {
  padding: 20px;
}
.blog-archive .item .text .read-more {
  font-style: italic;
  text-decoration: underline;
  font-size: 14px;
  display: ;
}


.single .item-image {
  margin: 20px 0 20px;
}
.single .item-image img {
  width: 100%;
}





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

.navigator .menu li a {
  font-size: 14px;
  padding: 0 12px;
  line-height: 60px;
}
#logo img {
  height: 40px;
}

}







/*--------------------------------------------------------------
# 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;
}
  
  
    .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: 120px;
      background-color: #202a23;
      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:90%;
      margin:0 auto;
      position:relative;
      right:0;
    }
    .navigator .menu li{
      display:block;
    }
    .navigator .menu li a{
      line-height:50px;
      font-size:16px;
      color:#fff !important;
      background-color: transparent !important;
    }
	
 .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;
      background-color: transparent !important;
  }

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

  .menu > li.menu-item-has-children.open-dropdown > a::after{
	transform: rotate(-90deg);
  }
	#nav-icon2 span {
  background: #fff;
}
	
	
.navigator .menu li.menu-item-has-children > a::after {
  display: none;
}

.arrow-nav {
  position: absolute;
  right: 20px;
    top: 13px;
}


.open-dropdown .arrow-nav {
  transform: rotate(180deg);
}

	
}

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

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

  .header-widget { display:none; }

#cover-home {
  padding-left: 20px;
  padding-right: 20px;
}
	

:where(.wp-block-group.has-background) {
  padding-left: 15px;
  padding-right: 15px;
}
#contatti > .wp-block-group {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
	
	.box-info-studio {
  position: relative;
  top: auto;
}
	
.bollino-anni {
  width: 100px;
  height: 100px;
  left: -10px;
  top: -10px;
}
.bollino-anni .num {
  font-size: 20px !important;
}
.bollino-anni p {
  font-size: 10px !important;
}
.wp-block-image.alignright.size-full.is-resized.has-custom-border.pr.fadeInUp {
  max-width: 270px;
  margin-top: -80px !important;
}
	
.order-sm-3 {
  order: 3;
}
	#logo img {
  padding: 18px 0;
  height: 38px;
}
	
}

.whapp {
  position: fixed; 
  right: 10px;
  width: calc(100% - 20px); 
  background-color: #fff;
  max-width: 350px !important;
  height: auto !important;
  z-index: 9999999 !important;
  bottom: 90px !important;
  background: #fff !important;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 30px; 
  box-sizing: content-box !important;
  border-radius: 10px;
  font-size: 14px;
}
.whapp .head { 
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 20px;
  display: block;
  text-align: left;
  background: #82aa05;
  font-size: 22px; 
  margin: 0 0 0px 0 !important;
  color: #fff;
}


.whapp .head .close {
  display: block;
  width: 40px !important;
  height: 40px;
  position: absolute;
  padding: 13px 0 5px 0;
  box-sizing: border-box;
  top: 10px;
  right: 10px;
  cursor: pointer;
  text-align: center;
  border-radius: 8px; 
  background-size: auto;
  background-size: 20px 20px !important;
}
.whapp .head .close svg {
  fill: #fff;
}
.whapp .head .close:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.whapp .riga {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  clear: both;
  cursor: pointer;
  padding: 15px;
	justify-content: space-between;
}
.whapp .riga .bandiera svg {
  width: 30px;
  height: 30px;
  margin-left: 10px; 
}
.whapp .riga .name span {
  display: block;
}
.whapp .riga .name span:nth-child(1) {
  font-size: 12px;
  color: #666; 
  line-height: 1;
}
.whapp .riga .name span:nth-child(3)
{
  font-size: 12px;
  color: #82aa05;
  line-height: 1;
	display: none;
}
.whapp .riga .name span:nth-child(2){
  font-size: 16px;
  margin: 0px 0;
}
.grecaptcha-badge
{
	display:none;
}
@media screen and (max-width:768px)
{
	.fadeInRight,
	.fadeInLeft{
		transform:none !important;
	}
	.blockMobile{
		 
  display:block!important;
	gap:20px;
}
.blockMobile ul {
  justify-content: flex-start;
  margin-top: 20px;
}
}