@font-face {
  font-family: 'Nexa Bold';
  src: url('../fonts/Nexa Bold.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Nexa Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Nexa Bold.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Nexa Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/Nexa Bold.svg#7a6e0a27b48926c5216e096daa3e1570') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  700;
}


// Colori
$dark: #222222;
$blu: #4588b6;
$grgio: #eeeeee;
$rosso: #bf171c;

*:focus, *:active{
	outline: none !important;
}
*::-webkit-scrollbar {
    width: 8px;
}
*::-webkit-scrollbar-track {
    background: #eee;
}
*::-webkit-scrollbar-thumb {
    background: #222;
}
// Larghezze BTS
$xs: 767px;
$sm: 991px;
$md: 1199px;

a:hover, a:active, a:focus{
	color: inherit;
	text-decoration: none !important;
}

// Trasformazioni, Posizionamento & Transition per funzione @extend
%centerXY{
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
%centerX{
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
%centerY{
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
%absoluteXY{
	position: absolute;
	top: 50%;
	left: 50%;
}
%absoluteY{
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: auto;
}
%absoluteX{
	position: absolute;
	top: 0;
	left: 50%;
	width: auto;
	height: 100%;
}
%fast{
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
%medium{
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}
%slow{
	-webkit-transition: all .8s ease-in-out;
	-moz-transition: all .8s ease-in-out;
	-o-transition: all .8s ease-in-out;
	transition: all .8s ease-in-out;
}
.clr{
	clear: both;
}
h1, h2, h3, h4, h5{
	font-weight: 700;
	margin: 0;
}
strong, b{
	font-weight: 400;
	font-family: 700;
}
a:hover{
	text-decoration: none;
}
html{
	height: 100%;
}
body{
	height: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden !important; 
	font:{
		 size: 16px;
		 weight: 400;
		 style: normal;
		 family: 'Lato', sans-serif;
	}
	line-height: 1.2;
	margin: 0;
	background: white;
	position: relative;
}

header{
	padding-bottom: 10px;
	padding-top: 10px;
	text-align: right;
	@media(max-width: $xs){
		text-align: center;
	}
	.logo{
		width: 200px;
		height: 75px;
		@media(max-width: $xs){
			display: block;
			margin: auto;
			margin-top: 20px;
		}
	}
	.social{
		margin-right: 10px;
		img{
			width: 28px;
			height: auto;
		}
		&:last-child{
			margin-right: 0;
		}
		&.website{
			display: none !important;
			@media(max-width: $xs){
				display: inline-block !important;
			}	
		}
	}
	a{
		line-height: 75px;
		color: $dark;
		&.sito{
			margin-right: 20px;	
			font-weight: bold;
		}
	}
}
.blu{
	background-color: $blu;
	opacity: .8;
	padding: 30px;
	@media(max-width: $sm){
		opacity: 1;
	}
	@media(max-width: $xs){
		padding: 20px;
	}
}
.bottone_blu{
	display: inline-block;
	background-color: $blu;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	padding: 10px 30px;
	cursor: pointer;
	&:hover{
		background-color: $dark;
		color: white;
		@media(max-width: $sm){
			background-color: $blu;
			color: white;
		}
	}
	&.bianco{
		background-color: white;
		color: $blu;
		display: inline-block;
		&:hover{
			background-color: $dark;
			color: white;
			@media(max-width: $sm){
				background-color: white;
				color: $blu;
			}
		}
	}
	@media(max-width: $sm){
		padding: 8px 20px;
	}
}
h1,h2{
	position: relative;
	margin-bottom: 20px;
	text-transform: uppercase;
	&:before{
		content: "";
		position: absolute;
		display: inline-block;
		bottom: -10px;
		left: 0;
		height: 5px;
		width: 45px;
		background-color: white;
	}
	@media(max-width: $sm){
		font-size: 25px;
		line-height: 30px;
	}
}
p{
	margin-bottom: 20px;
}
ul{
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 20px;
	li{
		margin: 0;
		padding: 0;
		position: relative;
		margin-left: 14px;
		margin-top: 5px;
		&:before{
			content: "";
		    position: absolute;
		    display: inline-block;
		    width: 5px;
		    height: 5px;
		    border-radius: 50%;
		    background-color: #4588b6;
		    top: 7px;
		    left: -13px;
		}
	}
}
.header_foto{
	background: url(../img/header.jpg) center top -60px no-repeat;
	position: relative;
	background-size: cover;
	width: 100%;
	height: 500px;
	@media(max-width: $md){
		background: url(../img/header.jpg) center top no-repeat;
		background-size: cover;
	}
	@media(max-width: $xs){
		background: url(../img/header.jpg) right top no-repeat;
		background-size: cover;
	}
	.intro{
		color: white;
		display: inline-block;
		@extend %centerY;
		position: absolute;
		top: 50%;
		left: 40px;
		width: 40%;
		height: auto;
		h1{
			text-transform: uppercase;
			font-weight: bold;
		}
		@media(max-width: $xs){
			bottom: 0;
			top: auto;
			left: 0;
			width: 100%;
			transform: none;
		}
	}
}
section{
	margin-top: 50px;
}
.caroselli{
	#carousel-example{
		margin-bottom: 50px;
		@media(max-width: $xs){
			margin-bottom: 0;
		}
	}
	.shadow{
		position: absolute;
	    width: 100%;
	    height: 100%;
	    left: 0;
	    top: 0;
	    background-image: linear-gradient(to top, #1a202b 0%, transparent 100%);
	    opacity: .2;
	}
	.box_info{
		background-color: white;
		padding: 20px;
		position: relative;
		top: 20px;
		position: absolute;
		width: 120%;
		left: -20%;
		h2{
			color: $dark;
			&:before{
				background-color: $rosso;
			}
		}
		&.zindex{
			z-index: 2;
		}
		@media(max-width: $sm){
			position: relative;
			top: auto;
			left: auto;
			width: auto;
			padding: 0;
			margin-bottom: 50px;
		}
	}
	.carousel-inner{
		margin-bottom: 30px;
	}
}
.info_step{
	background-color: $grgio;
	padding: 20px 0;
	.didascalia{
		font-weight: bold;
		text-transform: uppercase;
		margin-top: 10px;
		@media(max-width: $xs){
			font-size: 14px;
		}
		&.abbassamipoco{
			@media(max-width: $xs){
				margin-bottom: 30px;
			}
		}		
	}
	img{
		display: block;
		margin: auto;
		width: 110px;
		height: auto;
		position: relative;
		@media(max-width: $sm){
			width: 80px;
		}
		
	}
	@media(max-width: $sm){
		margin-top: 0;
	}
}
.problemi{
	position: relative;
	.cento{
		width: 100%;
		position: relative;
		float: left;
		.spazio_suegiu{
			padding-top: 50px;
			padding-bottom: 50px;
			h2{
				margin-bottom: 40px;
			}
			@media(max-width: $xs){
				padding: 0;
			}
			span.qualita{
				display: block !important;
				border: 2px solid $rosso;
				color: $dark;
				padding: 10px;
				margin-right: 10px;
				font-weight: bold;
				text-transform: uppercase;
				display: inline-block;
				margin-bottom: 0 !important;
				
				&.tracciabianca{
					border-color: white;
					color: white;
				}
				@media(max-width: $sm){
					font-size: 14px;
				}
			}
			.blu_sfondo{
				padding-right: 20px;	
				color: white;
				ul{
					margin-bottom: 0;
				}
				li:before{
					background-color: white;
				}
				@media(max-width: $xs){
					background-color: $blu;
					padding: 50px 15px;
				}
			}
			.grigio{
				padding-left: 20px;
				h2:before{
					background-color: $rosso;
				}
				color: $dark;
				@media(max-width: $xs){
					background: url(../img/background.png) center center no-repeat;
					background-size: cover;
					background-color: $grgio;
					padding: 50px 15px;
				}
			}
		}
		.cinquanta{
			width: 50%;
			height: 100%;
			float: left;
			position: absolute;
			padding: 20px;
			&.primo{
				background-color: $blu;
				left: 0;
			}
			&.secondo{
				background: url(../img/background.png) center center no-repeat;
				background-size: cover;
				right: 0;
				background-color: $grgio;
			}
			@media(max-width: $xs){
				display: none;
			}
		}
	}
}
.vantaggi{
	h2{
		&:before{
			background-color: $rosso;
		}
	}
}
.TCG{
	h2:before{
		background-color: $rosso;
	}
	form{
		input{
			width: 100%;
			background-color: $grgio;
			color: $dark;
			border: none;
			border-radius: 0 !important;
			padding: 10px;
			margin-bottom: 30px;
			&.submit{
				display: block;
				background-color: $rosso;
				width: auto;
				color: white;
				text-transform: uppercase;
				font-weight: bold;
				padding: 10px 30px;
				cursor: pointer;
				&:hover{
					background-color: $blu;
					color: white;
					@media(max-width: $sm){
						background-color: $rosso;
						color: white;
					}
				}
				@media(max-width: $xs){
					margin-bottom: 0;
				}
			}
		}
		label{
			margin-bottom: 15px;
			input[type="checkbox"]{
				display: none;
			}
			input[type="checkbox"]:checked+.fintocheck{
				background-color: $blu;
			}
			.fintocheck{
				width: 18px;
				height: 18px;
				vertical-align: middle;
				position: relative;
				top: -2px;
				border: 1px solid $blu;
				background-color: $grgio;
				display: inline-block;
				margin-right: 5px;
			}
		}
	}
}
.modal-dialog{
// 	width: 80%;
}
footer{
	margin-top: 50px;
	border-top: 1px solid $blu;
	padding: 20px 0;
	@media(max-width: $xs){
		font-size: 14px;
		line-height: 24px;
	}
	.nome{
		font-weight: bold;
		text-transform: uppercase;
		margin-bottom: 5px;
	}
	.logo{
		width: 200px;
		height: 75px;
		display: block;
		margin: auto;
		margin-bottom: 15px;
	}
	.social{
		text-align: center;
		margin-bottom: 15px;
		img{
			margin-left: 5px;
			margin-right: 5px;
			width: 28px;
			height: auto;
		}
	}
	a{
		color: $dark;
		&:hover{
			color: $blu;
			@media(max-width: $sm){
				color: $dark;
			}
		}
	}
}
.modal-content{
	border-radius: 0;
	box-shadow: none;
}
.problemi_prova{
	.blu_sfondo{
		background-color: $blu;
		padding: 30px 0;
		position: relative;
		&:before{
			content: "";
			position: absolute;
			top: 0;
			left: -100px;
			width: 300px;
			height: 100%;
			background-color: red;
		}
		6:after{
			content: "";
			position: absolute;
			top: 0;
			right: 0;
			width: 15px;
			height: 100%;
			background-color: red;
		}
	}
	.grigio{
		background-color: $grgio;
		padding: 30px 0;
	}
}



/******************* CSS WARNING *******************/
.warning-ie{
	width: 100%;
	height: 100%;
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ee222222', endColorstr='#ee222222'); 
	position: fixed;
	z-index: 99999999;
	top:0;
	border-bottom:solid 5px #666;
}
.warning-msg{
	width: 600px;
	height: 350px;
	margin: 10px auto 15px;
	text-align: center;
	color:#fff;
}
.browser{
	width: 150px;
	height: 150px;
	float: left;
	margin-bottom: 20px;
	
}
.browser a:hover{
	color: #fff;
}
.warning-text{
	padding: 30px 0;
	font-size: 22px;
}
.warning-text2{
	margin-bottom: 50px;
}
.continua-btn{
	font-size: 14px;
	cursor: pointer;
	display: block;
}
.continua-btn:hover{
	color: #FCB813;
}
.bodygrey{
	width: 100%;
	height: 100%;
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb222222', endColorstr='#bb222222'); 
	position: fixed;
	z-index: 99999999;
	top:0;	
}

// body {overflow-x: hidden;}