@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

/*
	Theme Name: Deri Sommavilla 2024
	Description: 
	Version: 1.4.3
	Author: Laura Titton
	Author URI: https://www.digitalia.srl
	Tags: HTML5, CSS3
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* GENERAL */
html,body {  
	margin:0;
	padding:0;
	font-family: "Hanken Grotesk", sans-serif !important;
	font-size: 16px !important;
	line-height: 1.6;
	font-weight:400;
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	background-color:#F5F1EF;
	color:#000;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 1600px){  
	html,body {
		font-size: 18px !important;
	}
}


img,a img {
	border:none!important;
	width:100%;
	height: 100%;
	object-fit: cover;
}

#chi_sono img{
	object-fit:contain;
	vertical-align: baseline;
}
::-moz-selection {
	background:none repeat scroll 0 0 #FFF;
	color:#000;
}

* {
	outline:0!important;
}

b,strong,.bold {  
	font-weight:700;
}

a,a:visited {  
	outline-style:none;
	text-decoration:none;
	color:#fff;
}

a:hover {  
	cursor:pointer !important;
	
	text-decoration:underline;
}


@media (min-width: 1200px){  
	.container-fluid {
		padding-left: 50px;
		padding-right: 50px;
	}
}

@media (min-width: 1600px){  
	.container-fluid {
		padding-left: 100px;
		padding-right: 100px;
	}
}


/* TYPO */

.big{
	font-size: 1.25rem;   
}
.small{
	font-size: 0.9rem;	 
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{  
	padding:0;
	margin:0;
}

h1{
	font-family: "Hanken Grotesk", sans-serif !important;
	font-size: 2.3rem;
}

@media(max-width:1250px){
	h1{
		font-size: 1.8rem;
		padding-top: 150px;
	}
}

h2{
	font-family: "Hanken Grotesk", sans-serif !important;
	font-size: 2.2rem;
}

h3{
	font-family: "Hanken Grotesk", sans-serif !important;
	font-size: 1.3rem;
}
/* LOADER */
#loading {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:998;
	background-color:#fff;  
}

.loader {
	color:#000;  
	font-size:50px;
	text-indent:-9999em;
	overflow:hidden;
	width:1em;
	height:1em;
	border-radius:50%;
	margin:50px auto;
	position:relative;
	top:40%;
	-webkit-transform:translateZ(0);
	-ms-transform:translateZ(0);
	transform:translateZ(0);
	-webkit-animation:loadnk 1.7s infinite ease,round 1.7s infinite ease;
	animation:loadnk 1.7s infinite ease,round 1.7s infinite ease;
}

@-webkit-keyframes loadnk{0%,100%,5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}}@keyframes loadnk{0%,100%,5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}}@-webkit-keyframes round{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes round{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}

/* HEADER */


header{
	position: fixed;
	z-index: 25;
	width: 100%;
	top:0;
	left: 0;
	opacity:0;
	transition:0.3s;
}

header.show{
	background: rgb(255,255,255);
	opacity:1;
	transition:0.3s;
}

header.showfull{
	background: transparent;
	opacity:1;
	transition:0.3s;
}

.show .logo-img{
	height: 90px !important;
}

.showfull .logo-img{
	height: 130px !important;
	transition:0.3s;
}

@media(max-width:991px){
	.show .logo-img{
		height: 80px !important;
	}
	
	.showfull .logo-img{
		height: 90px !important;
		
	}
}


/*------------------------------------*\
	LIGHTBOX
\*------------------------------------*/

.lightbox-wrapper {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	opacity: 0;
}
.lightbox-wrapper[aria-visible="true"] {
	display: flex;
}
.lightbox-wrapper img {
	max-width: 100%;
}
.lightbox-wrapper .lightbox-background {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.72);
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: -1;
}
.lightbox-wrapper.striped .lightbox-background {
	background: repeating-linear-gradient(
		45deg,
		rgba(0,0,0,0.66),
		rgba(0,0,0,0.66) 10px,
		rgba(0,0,0,0.64) 10px,
		rgba(0,0,0,0.64) 20px
	);
}
.lightbox-wrapper .lightbox-container {
	width: calc(100% - 40px);
	height: auto;
	z-index: 10;
	position: relative;
	color: white;
	user-select: none;
	pointer-events: none;
}
.lightbox-wrapper .lightbox-content {
	width: 100%;
	max-width: 550px;
	height: auto;
	z-index: 10;
	margin: 0 auto;
}
.lightbox-wrapper .lightbox-content * {
	margin: 0;
	padding: 0;
}
.lightbox-arrows {
	position: absolute;
	top: 0px;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0px 10px;
}
.lightbox-arrows.left {
	left: 0px;
}
.lightbox-arrows.right {
	right: 0px;
}
.lightbox-wrapper .lightbox-header {
	text-align: right;
}
.lightbox-wrapper .lightbox-header .close {
	display: none;
}
.lightbox-wrapper .lightbox-body {
	background-color: #000;
	border-radius: 2px;
	box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.67);
	margin: 10px 0px;
	overflow: hidden;
	color: #fff;
}
.lightbox-wrapper i.fa {
	cursor: pointer;
	position: relative;
}
.lightbox-wrapper .lightbox-popup {
	padding: 15px;
}
.lightbox-wrapper .lightbox-footer {
	display: none;
}
.lightbox-wrapper .lightbox-footer-sx {
	width: calc(100% - 90px);
	font-size: 1.2em;
}
.lightbox-wrapper .lightbox-footer-dx {
	width: 90px;
	text-align: right;
}
.lightbox-wrapper .lightbox-footer h6 {
	font-weight: 400;
	font-size: 14px;
}
.lightbox-wrapper .lightbox-footer h5 {
	color: #fff;
	font-size: 16px;
}
.lightbox-wrapper .lightbox-footer-dx h5{
	font-weight: 200;
	font-size: 14px;
	color: #fff;
}
.lightbox-wrapper .lightbox-container h5,
.lightbox-wrapper .lightbox-container h3,
.lightbox-wrapper .lightbox-container h6,
.lightbox-wrapper .lightbox-container img,
.lightbox-wrapper .lightbox-container i.fa {
	pointer-events: initial;
	color: #fff;
}	
.lightbox-wrapper .lightbox-container img.prev, .lightbox-wrapper .lightbox-container img.next {
	/* display: block;
	height: 30px; */
	display: none;
}
.lightbox-wrapper.singolo .lightbox-arrows,
.lightbox-wrapper.singolo .lightbox-footer-dx h5 {
	display: none;
}
.lightbox-wrapper .lightbox-container a {
	color: inherit;
	text-decoration: none;
}
.lightbox-wrapper .lightbox-container .hover {
	padding: 10px;
}
.lightbox-wrapper .close {
	cursor: pointer;
}
.lightbox-wrapper .next, 
.lightbox-wrapper .prev {
	width: 30px;
}


.openclose{
	width:45px;
	height: 45px;
	padding:10px;
	position: relative;
	border-radius: 50%;
	z-index: 20;
	margin-left: auto;
	background-color: #295571;
	display: flex;
	align-items: center;
	justify-content: center;
}


.openmenu{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed; 
	top: 0;
	left: 0;
	z-index: 20;
	background-color: #295571;
	opacity:0;
	transition: 0.3s;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

.navmenu_open .openmenu{
	display: flex;
	opacity:1;
	transition: 0.3s;
}

.navmenu_open .openclose {
	display: flex;
}

.openclose .iconbar {
	height: 2px;
	width: 20px;
	background-color: #fff;
	display: block;
	margin: 0 0 5px 0;
	transition-duration: 1s;
	-webkit-transition-duration: 1s;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-ms-transition-duration: 1s;
}
.openclose img {
	max-width: 20px;
}
.openclose .uno {
	width: 15px;
	margin-top: 3px;
}
.openclose .tre {
	width: 12px;
}
.openclose:hover .uno {
	width: 20px;
}
.openclose:hover .tre {
	width: 20px;
}
ul{
	list-style: none;
}

ul li a{
	font-size: 1.3rem;
}

ul li a:hover{
	color: #fff;
}
.openmenu ul{
	list-style: none;
	padding-left:0;
}

.openmenu ul li{
	padding-top: 7px;
	padding-bottom: 7px;
}

.openmenu ul li a{
	font-size: 1.1rem;
}
.openmenu ul li a:hover{
	color: #fff;
}

/* FOOTER */

#contatti ul{
	padding:0;
	margin:0;
}

#contatti a:hover{
	color: #fff !important;
}

#menu-privacy-menu a{
	font-size: 1rem;
}

.grecaptcha-badge{
	display: none !important;
}

@media(max-width:991px){
	#cmplz-manage-consent .cmplz-show{
		font-size: 12px;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		height: 35px !important;
	}
}


/* PAGINE */

.white{
	color: #fff;
}

.button{
	display: inline-block;
	color: #fff !important;
	background-color: #D76749;
	border-radius: 0;
	padding: 10px 35px;
	text-transform: uppercase;
	text-decoration: none;
	transition: 0.3s;
}

.button:hover{
	background-color: #fff;
	color: #D76749 !important;
	transition: 0.3s;
	text-decoration: none;
}

.blue-back{
	background-color: #295571;
}
.grey-back{
	background-color: rgba(41, 85, 113, 0.1);
}
.blue{
	color: #295571;
}
.orange{
	color: #D76749;
}

.border-bottom.orange, .border-bottom-orange{
	border-color: #D76749 !important;
}

.servizio-01{
	border-radius: 45px 0 0 0;
}

.servizio-02{
	margin-top: 70px;
}

.servizio-03{
	border-radius:  0 0 45px 0 ;
}

#contatti {
	border-bottom: 1px solid #fff !important;
}

.wpcf7 form.sent .wpcf7-response-output{
	color:#fff !important;
}
.accordion::after {
  content: '\002B';
  color: #fff;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion {
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding-top: 23px;
  padding-bottom: 23px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  border-bottom: 1px solid #fff;
}

.active::after {
  content: "\2212";
}

.active, .accordion:hover {
  background-color: rgba(255, 255, 255, 0.099); 
}


.panel {
  padding-top: 18px;
  background-color: transparent;
  display: none;
  color: #fff;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.slick-prev{
	width:20px;
	height: auto;
	position: absolute;
	top: 45%;
	transform: translateX(-50%);
	left: 50px;
	z-index:2;
}

.slick-next{
	width:20px;
	height: auto;
	position: absolute;
	top: 45%;
	transform: translateX(-50%);
	right: 30px;
	z-index:2;
}

.slideshow .slick-slide{
	padding-left: 10px;
	padding-right: 10px;
}

/* form di contatto */

.half-text p{
	display: flex;
	justify-content: space-between;
}

.half-text .wpcf7-form-control-wrap{
	width: 49%;
	display: block;
}

input,select{
	background-color: rgba(255,255,255,0.2);
	border:none;
	border-radius:0;
	padding-left: 15px;
	height: 45px;
	width: 100%;
	color: rgba(255, 255, 255, 0.765);
	margin-bottom: 10px;
}

textarea{
	background-color: rgba(255,255,255,0.2);
	border:none;
	border-radius:0;
	padding-left: 15px;
	/* height: 45px; */
	width: 100%;
	color: rgba(255, 255, 255, 0.765);
	padding-top: 8px;
}

::placeholder{
	color: #fff !important;
}

input[type=checkbox]{
	width: 15px;
	height: 15px;
	display: inline;
	margin-right: 7px;
}

.wpcf7-list-item{
	margin: 0 !important;
}

.wpcf7-list-item-label{
	color:#fff;
}

input[type=submit]{
	background-color: #D76749;
	color:#fff;
	width: 250px;
}

#chi_sono{
	padding-top: 100px;
	margin-top: -100px;
}

.img-servizio {
	height: 100px;
	width: auto;
}
.logo-img{
	height: 90px !important;
	width: auto;
}


@media(max-width:991px){
	.logo-img{
		height: 90px !important;
		width: auto;
	}
}
.video-section{
	position: relative;
	right:0;
	top:0;
	height: 100%;
}

video{
vertical-align: middle;
}

.qlwapp-text{
	display: none !important;
}

.qlwapp-toggle .qlwapp-icon{
	margin-right:0 !important;
}

#qlwapp.qlwapp-button .qlwapp-toggle{
height: 55px !important;
width: 55px !important; 
}

.qlwapp-whatsapp-icon{
	font-size: 23px;
}

#qlwapp .qlwapp-toggle{
	margin-bottom: 35px !important;
}

#cmplz-document{
	max-width: 100%;
}

#cmplz-document a {
	color: #000;
}
.fade {
	opacity: 0;
	transition: 1.7s all cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.fade.in-page {
	opacity: 1;
}
.fade-in {
	transform: translateY(50px);
	opacity: 0;
	transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-in.in-page {
	transform: translateY(0);
	opacity: 1;
}

.reveal-from-left img, .reveal-from-left .overlay, .reveal-all.reveal-from-left * {
	clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
	transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-from-left.in-page img, .reveal-from-left.in-page .overlay, .reveal-all.reveal-from-left.in-page * {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.reveal-from-right img, .reveal-from-right .overlay {
	clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
	transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-from-right.in-page img, .reveal-from-right.in-page .overlay {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-template-page-contatti .grecaptcha-badge{
	display: flex !important;
}

@media(max-width:991px){
	#cmplz-manage-consent .cmplz-show{
		font-size: 12px;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		height: 35px !important;
	}
}

