@mobile: ~"screen and (max-width: 1000px)";
@desktop: ~"screen and (min-width: 1001px)";

@media @desktop{
	.only_mobile{
		display: none;
	}
}
@media @mobile{
	.only_desktop{
		display: none;
	}
}

@font-face{
	font-family: "Ubuntu-light";
	src: url("../fonts/Ubuntu-L.ttf");
}

.clear{
	&-1{ height: 1px; clear: both;}
	&-5{ height: 5px; clear: both;}
	&-10{ height: 10px; clear: both;}
	&-20{ height: 20px; clear: both;}
	&-30{ height: 30px; clear: both;}
	&-40{ height: 40px; clear: both;}
	&-50{ height: 50px; clear: both;}
	&-60{ height: 60px; clear: both;}
	&-80{ height: 80px; clear: both;}
	&-100{ height: 100px; clear: both;}
	&-150{ height: 150px; clear: both;}
}
.space{
	&-1{ height: 1px;}
	&-5{ height: 5px;}
	&-10{ height: 10px;}
	&-20{ height: 20px;}
	&-30{ height: 30px;}
	&-40{ height: 40px;}
	&-50{ height: 50px;}
	&-60{ height: 60px;}
	&-80{ height: 80px;}
	&-100{ height: 100px;}
	&-150{ height: 150px;}
}
.padding-{
	&10{padding: 10px;}
	&20{padding: 20px;}
	&30{padding: 30px;}
	&40{padding: 40px;}
	&50{padding: 50px;}
}
.flex{
	display: flex;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;
}

*{
	margin: 0;
	padding: 0;
}
body{
	font-family: "Ubuntu-light";
	font-size: 19px;
}
a{
	color: inherit;
	text-decoration: none;
}

.generic_wrap{
	width: 90%;
	margin: auto;
}
.text_red{
	color: #a32531;
	a{
		text-decoration: underline;
	}
	img{
		vertical-align: middle;
	}
	.la7{
		width: 80px;
	}
}
.two_block{
	&:extend(.flex);
	a{
		text-decoration: underline;
	}
	.block{
		width: 50%;
		@media @mobile{
			width: 100%;
		}
	}
	.back_img{
		height: 500px;
		background-size: cover;
		background-position: center;
		@media @mobile{
			height: 300px;	
		}
	}
	.text{
		&:extend(.flex);
		text-align: center;
	}
	h2{
		font-size: 35px;
		line-height: 45px;
		letter-spacing: 0.5px;		
		@media @mobile{
			font-size: 27px;
			line-height: 30px;		
		}
	}
	.title_covid{
		color: #a32531;
	}
}

.three_column{
	&:extend(.flex);
	.column{
		width: 33.333333%;
		@media @mobile{
			width: 100%;
		}
	}
}
#logo_footer{
	width: 90%;
	max-width: 200px;
}
.line{
	height: 1px;
	background-color: #5892c0;
}

.pre_header{
	background-color: #5892c0;
	a{
		border-bottom: 1px solid white;
	}
	.wrap_elements{
		@media @desktop{
			display: flex;
			flex-flow: row wrap;
			align-content: center;
			justify-content: space-between;
		}
		width: 90%;
		margin: auto;
		
		.block{
			/*width: 33.33333%;
			float: left;*/
			text-align: center;
			p{
				padding: 20px 0;
				color: white;
				@media @mobile{
					padding: 5px 0;
				}
				img{
					vertical-align: middle;
					width: 30px;
				}
			}
		}
	}
}
.pre_info{
	background-color: #4d7fa7;
	a{
		border-bottom: 1px solid white;
	}
	.wrap_elements{
		@media @desktop{
			display: flex;
			flex-flow: row wrap;
			align-content: center;
			justify-content: space-between;
		}
		width: 90%;
		margin: auto;
		.block{
			&:extend(.flex);
			/*width: 33.33333%;
			float: left;*/
			text-align: center;
			p{
				padding: 20px 0;
				color: white;
				@media @mobile{
					padding: 5px 0;
				}
				img{
					vertical-align: middle;
					width: 30px;
				}
			}
		}
	}
}
header{
	.wrap_elements{
		@media @desktop{
			display: flex;
			flex-flow: row wrap;
			align-content: center;
			justify-content: center;
		}
		@media @mobile{
			text-align: center;
		}
		@media screen and (min-width: 1852px){
			justify-content: space-between;
		}
		width: 90%;
		margin: auto;
		img{
			width: 300px;
			max-width: 90%;
		}
		#wrap_ico_menu_hamburger{
			@media @desktop{
				display: none;
			}
			text-align: right;
			img{
				width: 100px;
			}
		}
		.menu{
			@media @desktop{
				display: flex;
				flex-flow: row wrap;
				align-content: center;
				justify-content: center;
			}
			@media @mobile{
				border-top: 1px solid #5892c0;
				display: none;
			}
			list-style-type: none;
			font-size: 17px;
			color: #1e468e;
			li{
				float: left;
				padding: 10px;
				transition: transform 250ms ease-in-out;
				@media @mobile{
					border-bottom: 1px solid #5892c0;
					float: none;
				}
				@media @desktop{
					&::after {
						display:block;
						content: '';
						position: relative;
						bottom: -5px;
						border-bottom: solid 1px #5593c2;  
						transform: scaleX(0);  
						transition: transform 250ms ease-in-out;
						transform-origin:  0% 50%;
					}
					&:hover:after{
						transform: scaleX(1); 
					}
					&:hover{
						color: #5593c2; 
					}
				}
			}
		}
	}
}

.first_image{
	width: 1000px;
	max-width: 90%;
	box-shadow: 0 0 40px rgba(30, 70, 142, .6);
}

footer{
	#map{
		height: 450px;
	}
	p img{
		width: 30px;
		vertical-align: middle;
	}
	a{
		color: #5892c0;
		text-decoration: underline;
	}
	.wrap_orari{
		.two_column_orari{
			&:extend(.flex);
			.cloumn_orari{
				&:extend(.flex);
				width: 50%;
				height: 46px;
			}
		}
	}
}
.titolo_pagina{
	background-color: #1e468b;
	color: white;
	h1{
		padding: 20px 0;
		font-weight: normal;
		@media @mobile{
			font-size: 27px;
		}
	}
}

.wrap_info{
    line-height: 30px;
    letter-spacing: .5px;
	.evidenzia{
		color: #1e468b;
	}
	.img_inline_left{
		width: 60%;
		max-width: 700px;
		@media @mobile{
			width: 700px;
			max-width: 100%;
			display: block;
		}
	}
	.img_right{
		float: right;
		width: 60%;
		max-width: 700px;
		margin-left: 20px;
		margin-bottom: 20px;
		@media @mobile{
			width: 700px;
			max-width: 100%;
			margin-left: 0;
			float: none;
			display: block;
		}
	}
	.btn_servizio{
		border: 2px solid #a32531;
		text-align: center;
		background-color: rgba(163, 37, 49, .1);
		border-radius: 7px;
		transition: 400ms;
		h2{
			color: #a32531;
		}
		img{
			width: 200px;
			max-width: 100%;
			display: inline-block;
		}
		&:hover{
			border-radius: 50px;
			background-color: rgba(163, 37, 49, .4);
			h2{
				color: white;
			}
		}
	}
	@media @mobile{
		ul{
			margin-left: 20px;
		}
	}
	p img{
		vertical-align: middle;
		width: 30px;
	}
	.btn{
		background-color: rgba(88, 146, 192, .2);
		transition: 400ms;
		text-align: center;
		border-radius: 20px;
		cursor: pointer;
		text-transform: uppercase;
		display: inline-block;
		&:hover{
			background-color: rgba(88, 146, 192, .6);
			color: white;
		}
	}
}

.prenota{
	background-color: #5892c0;
	color: white;
	h2{
		text-align: center;
		padding: 20px 0;
		font-weight: normal;
	}
}
#wrap_modulo_contatto{
	width: 900px;
	max-width: 90%;
	margin: auto;
	//border: 1px solid #5b91bd;
	background-color: rgba(88, 146, 192, .08);
	border-radius: 20px;
    line-height: 30px;
    letter-spacing: .5px;
	input, textarea, select{
		width: calc(100% - 20px);
		padding: 10px;
		background-color: rgba(0,0,0,0);
		border: none;
		outline: none;
		border-bottom: 1px solid rgba(88, 146, 192, .6);
		font-size: 19px;
		font-family: "Ubuntu-light";
		line-height: 30px;
		letter-spacing: .5px;
	}
	.num_unita{
		.info{
			float: left;
			vertical-align: middle;
			padding: 10px;
		}
		input{
			float: left;
			width: auto;
		}
	}
	input[type='checkbox']{
		width: 25px;
		height: 25px;
	}
	.btn_invia{
		background-color: rgba(88, 146, 192, .2);
		transition: 400ms;
		text-align: center;
		border-radius: 20px;
		cursor: pointer;
		&:hover{
			background-color: rgba(88, 146, 192, .6);
			color: white;
		}
	}
	a{
		color: #5892c0;
		text-decoration: underline;
	}
	input::placeholder, textarea::placeholder{
		color: #000000;
	}
	.wrap_num_unita{
		display: none;
	}
}

.link_fb{
	color: #3b5999 !important;
	a{
		border-bottom: 1px solid #3b5999;
		text-decoration: none !important;
		color: inherit !important;
	}
	img{
		width: 30px;
		vertical-align: middle;
		@media @mobile{
			margin: 10px;
		}
	}
}

.table_listino{
	h2{
		color: #1e468b;	
		text-align: center;
		margin-bottom: 20px;
	}
	.columns{
		&:extend(.flex);
		font-weight: bold;
		.column_left{
			&:extend(.flex);
			width: calc(70% - 2px);
			float: left;
			text-align: center;
			border: 1px solid #5892c0;
		}
		.column_right{
			&:extend(.flex);
			width: calc(30% - 1px);
			float: left;
			text-align: center;
			border-top: 1px solid #5892c0;
			border-bottom: 1px solid #5892c0;
			border-right: 1px solid #5892c0;
		}
	}
	p{
		padding: 20px;
	}
}

.wrap_incentivi{
	text-align: center;
	h2{
		color: #00a451;
	}
	.wrap_imgs{
		img{
			width: 300px;
			max-width: 100%;
		}
	}
}

.marchi{
	text-align: center;
	.list{
		&:extend(.flex);
		a{
			&:extend(.flex);
		}
		img{
			width: 200px;
			max-width: 100%;
			margin: 10px;
			align-self: center;
		}
	}
}

.img_furgone{
	width: 700px;
	max-width: 100%;
}

.wrap_two_imgs{
	img{
		width: 400px;
		max-width: 100%;
		margin: 40px;
	}
}

.imgs_incentivi_under_text{
	img{
		width: 300px;
		max-width: 100%;
	}
}

.wrap_img_btn{
	img{
		width: 600px;
		max-width: 90%;
		box-shadow: 0 0 40px rgba(30, 70, 142, 0.6);
	}
}

.link_chiama{
	background-color: #1e468b; 
	color: white;
	padding: 20px; 
	display: inline-block; 
	border-radius: 10px;
	img{
		vertical-align: middle;
		width: 30px;
	}

}

.txt_red{
	color: #ed1c24;
}

.wrap_sonto{
	background-color: #f5f5f5;
	position: relative; 
	overflow: hidden;
	@media screen and (min-width: 900px) and (max-width: 1170px){
		.filter{
			position: absolute;
			width: 100%;
			height: 100%;
			top: 0;
			left: 0;
			z-index: 3;
          	background-color: rgba(245,245,245, .8);
		}
	}
	.info{
		width: calc(100% - 550px); 
		position: relative; 
		z-index: 5;
		@media screen and (max-width: 1170px){
			width: 100%;
		}
		h2{
			color: #1e468b;
			line-height: normal;
		}
		.link_coupon{
			text-decoration: underline; 
			color: #1e468b;
		}
		.space{
			clear: both;
			height: 150px;
			@media screen and (max-width: 1170px){
				height: 40px;
			}
		}
		a img{
			vertical-align: middle;
			width: 30px;
		}
	}
	.img_risparmio{
		height: 100%; 
		max-height: 663px; 
		position: absolute; 
		right: -40px; 
		top: 0; 
		@media screen and (max-width: 899px){
			position: static;
			width:100%;
			transform: unset;
			height: unset;
			max-height: unset; 
			width: 100%;
			max-width: 400px;
		}
	}
	@media screen and (max-width: 899px){
		.wrap_img_risparmio{
			text-align: center;
		}
	}
}
.two_block_border{
	&:extend(.flex);
	.block{
		width: calc(50% - 4px);
		border: 2px solid #5892c0;
		@media screen and (max-width: 880px){
			width: calc(100% - 4px);
		}
		img{
			width: 100%;
			max-width: 604px;
		}
		.int_block{
			width: 604px;
			max-width: calc(100% - 40px);
			margin: auto;
			padding-bottom: 30px;
		}
		h3{
			color: #5892c0;
		}
		.emoji{
			width: 20px;
		}
		.prezzo{
			font-size: 35px;
			text-shadow: 0 2px 3px rgba(0,0,0,.3);
		}
	}
}
.wrap_dettagli_promo{
	position: relative;
	z-index: 5;
	.h_big{
		text-align: center; 
		color: #5892c0;
		font-size: 27px;
	}
}
@media screen and (max-width: 899px){
	.left_mob{
		text-align: left;
	}
}

.wrap_img_txt{
	@media @mobile{
		display: flex;
		flex-direction: column-reverse;
	}
}
.wrap_img_txt .wrap_img{
	@media @desktop{
		width: 250px;
	}
	float: left;
}
.wrap_img_txt .wrap_img.pd_top{
	@media @desktop{
		padding-top: 40px;
	}
}
.wrap_img_txt .wrap_img img{
	width: 100%;
	max-width: 250px;
}
.wrap_img_txt .wrap_img img.w_limited{
	@media @mobile{
		max-width: 180px;
	}
}
.wrap_img_txt .wrap_txt{
	@media @desktop{
		width: calc(100% - 250px);
		padding-left: 100px;
	}
	@media @mobile{
		padding-bottom: 20px;
	}
	box-sizing: border-box;
	float: left;
}
.wrap_img_txt .wrap_txt h2{
	background-color: #5892c0;
	color: white;
	padding: 20px;
	text-align: center;
	border-top-left-radius: 60px;
	border-top-right-radius: 60px;
	font-size: 24px;
	@media @mobile{
		font-size: 20px;
		padding: 10px;
	}
}
.wrap_img_txt .wrap_txt ul{
	padding-left: 20px;
}
a.custom{
	color: #5892c0;
    text-decoration: underline;
}
.btn_fb{
	background-color: white;
    padding: 5px;
    border-radius: 10px;
	display: inline-block;
    position: relative;
	box-sizing: border-box;
	@media @mobile{
		margin-bottom: 10px;
	}
}
.btn_fb div{
	box-sizing: border-box;
	vertical-align: bottom;
    width: 88px;
    height: 28px;
	display: inline-block;
    position: relative;
    text-align: justify;
	border-radius: 4px;
    font-size: 13px;
    height: 28px;
    padding: 0 8px;
	margin: 0 8px;
	background: #1877f2;
	color: white;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn_fb div p{
	padding: 0 !important;
	margin-left: 3px;
}
.btn_fb div img{
	width: 16px;
	align-self: center;
}
.reduce_fs{
	font-size: 12px;
}

.grid{
    display: grid;
}
.manutenzione_climatizzazione{
    background-color: #5892c0;
    grid-template-columns: 60% 20% 20%;
}
.manutenzione_climatizzazione > div{
    margin: 1px;
    background-color: white;
    text-align: center;
    padding: 20px 10px;
    font-weight: bold;
}
@media screen and (max-width: 950px){
    .manutenzione_climatizzazione .mobile_resize{
        padding: 20px 2px;
    }
    .manutenzione_climatizzazione .mobile_resize p{
        font-size: 16px;
    }
}
.tab_title{
    color: #1e468b;
    text-align: center;
    margin-bottom: 20px;
}

