@import"skeleton.min.css";
@import"reset.css";

@font-face {
    font-family: 'Jost';
    src: url('../font/Jost-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap; }

@font-face {
    font-family: 'Jost';
    src: url('../font/Jost-Italic-VariableFont_wght.ttf') format('truetype');
    font-style: italic;
    font-weight: 100 900;
    font-display: swap; }


html {
  scroll-behavior: smooth; 
}

body { 
	position:relative;
	font-family: "Jost", sans-serif;
	font-weight:300;
	font-size:20px;
	line-height:30px;
	color:#111;
	background-color:#FFF;
	margin:0px; }

	
b { font-weight:500; }
.bold { font-weight:900; }

.textSmall {
	font-size:14px; }

.p0 {padding:0px;}
p, 
.p1	{padding-bottom:5px;}
.p2	{padding-bottom:10px;}
.p3	{padding-bottom:15px;}
.p4	{padding-bottom:20px;}
.p5	{padding-bottom:25px;}
.p50 {padding-bottom:50px;}

.m1	{margin-bottom:5px;}
.m2	{margin-bottom:10px;}
.m3	{margin-bottom:15px;}f
.m4	{margin-bottom:20px;}
.m5	{margin-bottom:25px;}

a {color:#111; text-decoration: none;}
a:hover {color:#111; text-decoration: underline;}

p.h2 a:hover { text-decoration: none; }

.aleft		{text-align:left;}
.acenter	{text-align:center;}
.ajustify	{text-align:justify;}
.aright		{text-align:right;}
.pleft		{float:left;}
.pright		{float:right;}


h1, .h1 {
	font-size:55px;
	color: #111;
	line-height:65px;
	font-weight:600;}
h1.small { font-size: 40px; line-height: 50px; }
h2, .h2 {
	font-size:30px;
	color: #111;
	line-height:32px;
	font-weight:400;}
h2.small { font-size: 26px; font-weight: 400; }
h3, .h3 {
	font-size:28px;
	color: #111;
	line-height:38px;
	font-weight:300;}

.container_12 img {
	max-width:100%; }
	
/* Header */

#header { 
	padding: 20px 0px 20px 0px; 
	background-color: white; 
	position:fixed; 
	width: 100%; 
	z-index: 1000; 
	transition: top 0.3s;
	_box-shadow: 0 10px 20px -15px #333;}

#logo img { width: 300px; filter: invert(0.1); }

#menuSmall {
	display:none;}

#menu {
	margin-top:25px;
	text-align:right;
	text-transform: uppercase;}
#menu div {
	display:inline-block; }
#mainMenu li {
	display:inline-block;
	list-style: none;
	padding:0px 20px 0px 20px;}
#mainMenu a {
	display:inline-block;
	color:#111;
	font-weight:500;
	font-size:16px;
	line-height:16px; 
	text-decoration:none;
  padding: 4px 7px 4px 7px; }
#mainMenu a.current {
	color: #111;}
#mainMenu a:hover {
	color: #111;}

.chiama {
	background-color: #111;
	color: #fff !important;
	padding: 10px 20px !important;
	margin-top: -6px;
	_border-radius: 8px;
}
.chiama:hover{
	background-color: #111;
}



/* Slider */
.slides {
	display:block; }
.slide img {
	width:100%;
	display:block;}
.slick-loading .slick-list {
    background: #fff url('../img/ajax-loader.gif') center center no-repeat; }

.slides span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Per centrare esattamente */
    display: block;
    font-size: 70px;
    line-height: 85px;
    font-weight: 300;
    color: #fff;
    padding: 1px 10px 1px 10px;
}

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  color: #fff;
  background: none;
  opacity: 0.8;
  font-family: Arial;
  font-size: 2.5rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-prev:hover,
.slick-next:hover { opacity: 1; }

.slick-prev {
  left: 20px;
}

.slick-next {
  right: 20px;
}

	
/* Kenburns effect for slick-slider */

.kenburns .slick-slider { overflow: hidden;}
.kenburns .slick-slider div.slick-active img {
	-webkit-animation: myMove 6s 1 ease-in-out;  
	-moz-animation: myMove 6s 1 ease-in-out;  
	-o-animation: myMove 6s 1 ease-in-out;  
	-ms-animation: myMove 6s 1 ease-in-out;  
	animation: myMove 6s 1 ease-in-out; }

.kenburns .slick-slide[aria-hidden="true"] img {
	_visibility:hidden; }

@keyframes myMove { 
	from { transform: scale(1.1,1.1); transform-origin: 50% 50%; } 
	to { transform: scale(1.0,1.0); transform-origin: 50% 0%; }
}
@-webkit-keyframes myMove { 
	from { -webkit-transform: scale(1.1,1.1); -webkit-transform-origin: 50% 50%; } 
	to { -webkit-transform: scale(1.0,1.0); -webkit-transform-origin: 50% 0%;  }
}
@-o-keyframes myMove { 
	from { -o-transform: scale(1.1,1.1); -o-transform-origin: 50% 50%; } 
	to { -o-transform: scale(1.0,1.0); -o-transform-origin: 50% 0%;  }
}
@-moz-keyframes myMove { 
	from { -moz-transform: scale(1.1,1.1); -moz-transform-origin: 50% 50%; } 
	to { -moz-transform: scale(1.0,1.0); -moz-transform-origin: 50% 0%; }
}
@-ms-keyframes myMove { 
	from { -ms-transform: scale(1.1,1.1); -ms-transform-origin: 50% 50%; } 
	to { -ms-transform: scale(1.0,1.0); -ms-transform-origin: 50% 0%; }
}


.rounded { border-radius: 8px; }

a.btn {
	background-color: #111;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	padding: 20px 40px;
	border-radius: 8px;
	text-transform: uppercase;
}
a.btn:hover {
	text-decoration: none;
	background-color: #000;
}


/* Content */

#content { padding-top: 115px; }	

#loghi {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px 80px;
  padding: 20px 0; 
}

#loghi a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#loghi img {
  max-width: 180px;   
  max-height: 60px;   
  object-fit: contain; 
  width: 100%;
  height: auto; 
}

#chisiamo img {object-fit: cover; height: 480px;}

#servizi img { height: 20px; vertical-align: baseline; padding-right: 10px; }

#contatti img.ico { width: 50px; float: left; padding-right: 25px; }




	
/* Back to top button */
#back-top {
	z-index:100;
	position: fixed;
	bottom: 100px;
	right: 10px;}
#back-top a {
	width: 40px;
	height: 40px;
	display: block;
	opacity:0.6;}
#back-top a:hover {
	opacity:1;}
/* Scroll down button */
#scroll-down {
	height:40px;}




/* Footer */
#footer {
	font-size: 18px;
	line-height: 28px;
	padding-top:50px;
	padding-bottom:50px;
	background-color:#111;
	color:#FFF;}
#footer a {
	text-decoration:none;
	color:#FFF; }
#footer a:hover {
	text-decoration:underline; }
#footer img { max-width: 250px; filter: invert(1);}


	
@media only screen and (min-width: 1200px) and (max-width: 1619px) {
	body { font-size: 18px; line-height: 27px; }
	#mainMenu li {
		padding:0px 15px 0px 7px;}
	#mainMenu a {
		font-size:16px;
	    padding: 4px 7px 4px 7px; }
	.chiama {
		padding: 8px 16px !important; }
	#content { padding-top: 110px; }
  	a.btn {
		font-size: 18px;
		padding: 15px 30px; }
	h1, .h1 {
	font-size:37px;
	line-height:47px;}
	h2, .h2 {
		font-size:28px;
		line-height:34px;}
	h3, .h3 {
		font-size:25px;
		line-height:35px;}
	.slides span {
    font-size: 55px;
    line-height: 70px; }
	#chisiamo img { height: 510px;}
	#map img {  height: 580px; }
	#footer { font-size: 16px; line-height: 26px; }
	#footer img { max-width: 220px; }
}

@media only screen and (max-width: 1199px) {
	body {
		font-size: 16px; line-height:26px; }
	h1, .h1 {
		font-size:35px;
		line-height: 45px; }
	h2, .h2 {
		font-size:25px;
		line-height: 32px;}
	h3, .h3 {
		font-size:23px;
		line-height:33px;}
	#menu { margin-top: 5px; }
	#mainMenu li {
		padding:16px 0px 0px 5px; }
	#mainMenu a {
		font-size:14px;
		line-height:14px;
		padding: 0px 15px 5px 15px; }
	.chiama {
		padding: 8px 16px !important; }
	#mainMenu img { vertical-align: middle; }
	#content { padding-top: 95px; }	
	a.btn {
		font-size: 16px;
		padding: 12px 22px; }
	.slides span {
    font-size: 60px;
    line-height: 75px; }
	#chisiamo img { height: 520px;}
	#loghi {
	  gap: 60px 50px;
	}
	#map img { height: 570px; }
	#footer { font-size: 15px; line-height: 24px; }
	#footer img { width: 200px; }
}

@media only screen and (min-width: 768px) and (max-width: 995px) {
	body{
		font-size: 15px;
		line-height: 22px; }
	.h1, h1{
		font-size:29px;
		line-height: 38px; }
	.h2, h2{
		font-size:23px;}
	h3, .h3 {
		font-size:20px;
		line-height:30px;}
	#mainMenu { margin-top: 8px; }
	#mainMenu li {
		padding:0px 6px 0px 6px; }
	#mainMenu a {
		font-size:13px;
		line-height:14px;
		padding: 5px 3px 5px 3px; }
	.chiama {
		padding: 6px 8px !important; margin-top: 0px; }
	#content { padding-top: 85px; }	
  	a.btn {
		font-size: 15px;
		padding: 10px 20px; }
	.slides span {
    font-size: 48px;
    line-height: 63px; }
	#chisiamo img { height: 550px;}
	#loghi {
	  gap: 60px 40px;
	}
	#map img { height: 580px; }
	#footer { font-size:13px; line-height: 21px; }
	#footer img { width: 180px; }
}

@media only screen and (max-width: 767px) {
	.noMobile { display: none; }
	#menu {
		position:fixed;
		display: none;
		z-index: 10000;
		right: 0px;
		height:100%;
		background-color: #fff;
		box-shadow: -5px 0px 5px -5px #999; }
	#menu a { font-size: 17px; }
	#mainMenu li { display: block; }
	#menuSmall {
		display:block;
		float:right;
		cursor:pointer;
		margin-top:15px; }
	#chisiamo img { height: auto;}
	#loghi {
	  grid-template-columns: repeat(2, 1fr);
	  gap: 60px 80px; }
	#loghi img {
	  max-width: 150px;   
	  max-height: 100px; }
	#map img { height: auto; }
	#footer { font-size: 15px; }
	#footer img { width: 160px; }
	#footer .aright { text-align: left; }

	
}

@media only screen and (min-width: 480px) and (max-width: 767px) {

	#logo img { width: 180px; }
	#menu {
		margin-top: 65px;
		right: 0px;
		width: 55%; }
	#mainMenu li {
		display: block;
		text-align: right;
		margin:15px 25px 0px 0px; }
	#mainMenu a {
		padding: 5px 3px 5px 0px; }
	#menuSmall img {
		width: 30px;}
	#content { padding-top: 85px; }
	.slides span {
    font-size: 53px;
    line-height: 68px; }
}

@media only screen and (max-width: 479px) {
	.h1, h1 { font-size: 28px; line-height: 38px; }
	.h2, h2{
		font-size:21px; line-height: 31px;}
	.h3, h3 { font-size:21px; }
	#logo img { width: 200px; margin: auto; padding-top: 0px;  }
	#menu {
		display: none;
		width: 60%;
		margin-top: 68px;
		text-align:right; }
	#menu a { font-size: 16px; }
	#mainMenu { padding-top: 30px; }
	#mainMenu li {
		padding:8px 20px 20px 0px; }
	#menuSmall img {
		width: 30px;
		margin-top: -5px;}
	#content { padding-top: 90px; }
	a.btn { display: block; text-align: center; }
	.slides span {
    font-size: 38px;
    line-height: 40px; }
	#contatti img.ico { width: 55px; float: left; padding-right: 35px; }

}
