/*
Theme Name: Bahamas
Theme URI: https://www.emmepubblicita.com/
Author: Web Agency Emmè
Author URI: https://www.emmepubblicita.com/
Description: Starter Theme Wordpress
Version: 1.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.
*/


body {
	margin:0;
	line-height:1.46;
  	font-size:16px;
  	font-family: 'Open Sans', sans-serif;
  	font-weight:400;
    position: relative; 
    color: #333;
	overflow-x: hidden;
}

h1,h2,h3,h4, .titMod, .main-title, .subTit, .tit {
  line-height:1.2;
   color: #252525;
   font-weight: 700;
}

.main-title {
  font-size: 44px;
  position: relative;
  margin: 0 0 18px;
  letter-spacing: .02em;
}

h2, .subTit {
  font-size: 30px;
  position: relative;
  margin: 0 0 15px;
}

.tit {
  font-size: 18px;
  margin: 0 0 15px;
}

.preTit {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  color: #777;
  border-bottom: 3px solid #777;
  display: inline-block;
  margin: 0 0 15px;
}
.has-text-align-center.preTit {
  display: table;
}

a {
	text-decoration:none;
	color:#000;
}
.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: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  color: #ffffff;
  transition: all .3s ease-in-out;
  background-color: #333;
  border-radius: 0px;
  border: none;
  padding: 16px 30px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
}

.wp-block-buttons .wp-block-button.is-style-outline a.wp-block-button__link{
	background-color: transparent;
	color: #fff;
	border-color: #fff;
}

.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: #7e7e7e;
  border-color: #7e7e7e ;
  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: #f5f5f5;
  padding: 0 15px;
  line-height: 50px;
  height: 60px;
  box-sizing: border-box;
  width: 100%;
  color: #535353;
  font-size: 13.5px;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
}

textarea {
  height: 150px;
}

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

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

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

#logo img {
  padding: 20px 0;
  height: 50px;
  width: auto;
  display: block;
}

.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: #000;
  display: block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: 0.2s ease-in-out;
  margin: 0 5px;
}

.navigator .menu li a:hover, .navigator .menu li.current_page_item > a{
  color: #000;
  border-color:#F3f1e9;
}


.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: 40px;
  padding-bottom: 40px;
  background-color: #2a2a2a;
  color: #efefef;
  font-size: 14px;
}

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

.footer a {
  color: #fff;
}
.footer a:hover{
  color: #f3f1e9;
}


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

.credit {
	background-color: #222; 
    color: #999;
	text-align:center;
	padding:15px 0 10px;
	font-size:11px;
}
.credit a {
	color:#888;
}
.credit p {
	margin:0;
}

.contenuto img {
  width: 100%;
  height: auto;
  display: block;
}
#coverHome img {
  height: calc(100vh - 120px);
  object-fit: cover;
}

#cta {
  padding: 150px 0;
  background-size: cover;
  background-position: center;
}


.footer .social a {
  display: inline-block;
  margin-right: 8px;
  line-height: 45px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}



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


.top-bar p {
  margin: 0;
}
.top-bar .social svg {
  color: #000;
  height: 16px;
  width: 16px;
}
.top-bar .social a {
  margin-left: 8px;
}


.top-bar {
  position: relative;
  z-index: 999;
  background: #F3f1e9;
  padding: 5px 0;
}
.top-bar .info {
  display: inline-block;
  margin-right: 20px;
  color: #000;
  font-size: 14px;
}




.contact-info-item {
  display: flex;
  margin: 20px 0 40px;
}
.contact-info-item p{
  margin: 0;
}
.contact-info-item .icon {
  margin-right: 20px;
  width: 40px;
  text-align: center;
}
.contact-info-item .icon i {
  font-size: 33px;
  font-weight: 300;
}


.contact-info-item .info strong {
  text-transform: uppercase;
  color: #000;
}



.form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #777;
}
.form .field {
  margin-bottom: 20px;
}
.privacy label {
  font-weight: 300;
}

.page-hero {
  padding: 250px 0;
  background-size: cover;
  background-position: center;
}

.servizi .item p {
  font-size: 14px;
}

.servizi .item .image, .servizi .item .wp-block-image {
  margin-bottom: 15px;
}

.servizi.colOne .item {
  display: flex;
  align-items: center;
}
.servizi.colOne .item .image {
  flex-basis: 50%;
  margin-right: 40px;
}
.servizi.colOne .item:nth-child(2n) {
  flex-direction: row-reverse;
}
.servizi.colOne .item:nth-child(2n) .image {
  margin-right: 0;
  margin-left: 40px;
}
.servizi.colOne .item .text {
  flex-basis: calc(50% - 40px);
}


.servizi.colOne .item .tit {
  font-size: 30px;
}

.servizi.colOne .item p{
  font-size: 15px;
}



.read-more {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  position: relative;
}

.read-more::after {
  content: "\f30b";
  display: inline-block;
  font-family: "Font Awesome 5 Pro";
  position: relative;
  top: 2px;
  margin-left: 5px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  left: 0;
}
.servizi .item:hover .read-more:after {
  left: 5px;
}

.staff .item {
  border: 3px solid #777;
  padding: 40px 0;
}


.has-text-align-right.preTit {
  margin: 0 auto 15px;
  text-align: center;
  display: block;
  max-width: 100px;
}

.form .field {
  margin-bottom: 5px;
}

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

@media screen and (max-width: 1024px) {
	
	.top-bar{
		display:none;
	}	

	.resmenu{
		display:block;
	}

	.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;
	}
	.visible {
		position:fixed;
		left:0;
		right:0;
		top:0;
		bottom:0;
	}
	.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;
		border-bottom:1px solid #ccc;
		font-size:16px;
		color:#000;
		background-color: transparent;
	}
    	
}

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

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

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

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

  #coverHome img {
    height: auto;
  }
  #cta {
    padding: 60px 0;
  }


  #cta .main-title {
    font-size: 24px !important;
  }

  .page-hero {
    padding: 100px 0;
  }

  .servizi.colOne .item {
    display: block;
  }
  .servizi.colOne .item .image {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  body .contenuto .spoiler-item .spoiler-btn {
    font-size: 18px;
    text-align: left;
    max-width: 100%;
    margin: 0;
    padding-right: 20%;
  }

body .contenuto  .spoiler-item::before, .spoiler-item::after {
    top: 35px !important;
  }

}
