/* ----------- GENERICO ----------- */

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: sans-serif;
}

@media screen and (max-width: 900px) {
	
	html, body {
	 background-size: 100vw;
	 background-position: left top 60px;
	}
	
	#box_preventivo {
	 margin: 0 auto;
	}
	
	#header_menu {
	 height: 80px;
	}
	
}

/* ----------- HEADER -------------- */

#header_social {
	background-color: #2dec32;
	margin: 0;
	padding: 8px 60px 8px 8px;
	height: 70px;
}

#header_social ul {
	list-style-type: none;
    margin: 0;
    padding: 0;
}

#header_social ul li {
	display: inline;
	float: right;
}

#header_social ul li a {
	padding: 15px 10px 15px 10px;
	text-decoration: none;
	color: #c8c8c8;
	font-size: 18px;
}

#header_social ul li a:hover {
	color: #2dec32;
}

#fb_social {
	position: absolute;
	right: 30;
	width: 36px;
	height: 36px;
	margin: -8px;
	background-image: url("/grafica/fb.jpg");
}

#fb_social:hover {
	background-image: url("/grafica/fc.jpg");
	cursor: pointer;
}

#fb {
	height: 20px;
	width: 20px;
	margin-top: -8px;
	width: 35px;
	height: 35px;
}

/* -- secondo menu -- */

#menu {
	background-color: #2dec32;
	min-width: 1000px;
	margin: 0;
	height: 74px;
	position: relative;
}

ul#header_menu {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
	font-size: 80%;
	height: 74px;
}

ul#header_menu li {
	margin: 0;
	padding: 0;
	float: left;
	display: block;
	border-right: 1px solid #222;
	position: relative;
}

ul#header_menu li a {
	float: left;
	padding: 25px 30px;
	color: #fff;
	text-decoration: none;
	font-size: 21px;
	height: 24px;
}

ul#header_menu li a:hover {
	background-color: rgba(255,255,255,0.4);
}

ul#header_menu ul {
	margin: 0;
	padding: 0;
	display: inline-block;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 74px;
	left: 0;
	z-index:9999;
	background: #7b7c7e;
}

ul#header_menu li:hover ul {
	opacity: 1;
	visibility: visible;
}

ul#header_menu ul li {
	float: none;
	display: block;
	border: 0;
}

ul#header_menu ul a {
	padding:10px;
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
}

ul#header_menu ul a:hover {
	background-color: rgba(255,255,255,0.4);
	color:#fff
}

#logo {
	height: 60px;
	position: absolute;
	top: 7px;
	left: 50px;
}

/* ----------- BODY  ------------  */

/* ----------- Pagina ------------*/

#pagina {
	width: calc(100vw - 20px);
	height: calc(100vh - 200px);
	min-height: 550px;
	min-width: 1000px;
	position: relative;
	}

#promo {
	width: calc(100vw - 450px);
	height: 100%;
	float: left;
}

#imgPromo {
	width: calc(100vw - 450px);
	min-width: 550px;
}



/* ----------- Box preventivo --------- */

#box_preventivo {
	width: 370px;
	height: 430px;
	background-color: #d9d9d9;
	position: absolute;
	right: 0;
	margin: 30px 30px 0 0;
	text-align: center;
	font-family: sans-serif;
}

#f1 {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 50px;
	width: 370px;
	background-color: white;
}

#f1 p {
	font-size: 20px;
	margin: 14px auto 10px auto;
}

#f2 {
	position: absolute;
	top: 50px;
	left: 0px;
	width: 370px;
}

#f2 p {
	font-size: 17px;
	margin: 10px;
}

#f3 {
	position: absolute;
	top: 90px;
	left: 10px;
	width: 190px;
	text-align: left;
}

#f3:hover {
	cursor: pointer;
}

#f3 p {
	margin: 0;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
}

#f3 p:hover {
	cursor: default;
}

#f4 {
	position: absolute;
	top: 114px;
	left: 10px;
	width: 105px;
	text-align: left;
}

#f4:hover {
	cursor: pointer;
}

#f4 p {
	margin: 0;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
}

#f4 p:hover {
	cursor: default;
}

#f5 {
	position: absolute;
	top: 138px;
	left: 10px;
	width: 105px;
	text-align: left;
}

#f5:hover {
	cursor: pointer;
}

#f5 p {
	margin: 0;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
}

#f5 p:hover {
	cursor: default;
}

#f6 {
	position: absolute;
	top: 162px;
	left: 10px;
	width: 76px;
	text-align: left;
}

#f6:hover {
	cursor: pointer;
}

#f6 p {
	margin: 0;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
}

#f6 p:hover {
	cursor: default;
}

#f7 {
	position: absolute;
	top: 186px;
	left: 10px;
	width: 60px;
	text-align: left;
}

#f7:hover {
	cursor: pointer;
}

#f7 p {
	margin: 0;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
}

#f7 p:hover {
	cursor: default;
}

#f8 {
	position: absolute;
	top: 210px;
	left: 0px;
	width: 370px;
}

#f8 p {
	margin: 0;
	padding: 0 15px 0 15px;
	font-size: 15px;
}

#f9 {
	position: absolute;
	top: 250px;
	left: 10px;
}

#f10 {
	position: absolute;
	top: 290px;
	left: 10px;
}

#f11 {
	position: absolute;
	top: 330px;
	left: 10px;
}

#f12 {
	position: absolute;
	top: 363px;
	left: 10px;
	font-size: 10px;
}

#f13 {
	position: absolute;
	top: 390px;
	left: 0px;
	width: 370px;
	height: 50px;
}

#f13:hover {
	cursor: pointer;
}

.cella {
	width: 350px;
	padding: 5px;
	font-size: 20px;
	font-family: sans-serif;
	color: gray;
}

.bottone {
	font-family: sans-serif;
	font-size: 25px;
	border: 0;
	background-color: #2dec32;
	color: #ffffff;
}

.bottone:hover {
	background-color: #00cb05;
}

/* ----------- Funzionamento --------- */

#funzionamento{
	clear: both;
	background-color: #f6f6f6;
	width: 100%;
	height: 330px;
	position: relative;
}

#f_titolo {
	padding: 3px 0 0 0;
	text-align: center;
}

#f_titolo p {
	font-size: 25px !important;
	font-weight: 800 !important; 
}

#f_sottot {
	text-align: center;
	padding: 0 0 3px 0;
}

#f_conBox {
	margin-left: calc((100vw - 920px)*0.5);
}

#box1 {
	background-color: #fefefe;
	float: left;
	width: 300px;
	height: 180px;
	margin-right: 10px;
	text-align: center;
}

#box1 p {
	margin: 10px 0 8px 0;
	font-size: 20px !important;
	font-weight: 500 !important; 
}

#box1 img {
	width: 60%;
}

#box2 {
	background-color: #fefefe;
	float: left;
	width: 300px;
	height: 180px;
	margin-right: 10px;
	text-align: center;
}

#box2 p {
	margin: 10px 0 8px 0;
	font-size: 20px !important;
	font-weight: 500 !important; 
}

#box2 img {
	width: 60%;
}

#box3 {
	background-color: #fefefe;
	float: left;
	width: 300px;
	height: 180px;
	margin-right: 10px;
	text-align: center;
}

#box3 p {
	margin: 10px 0 8px 0;
	font-size: 20px !important;
	font-weight: 500 !important; 
}

#box3 img {
	width: 60%;
}

/* ----------- Footer --------- */

#ContenitoreFooter {
	background-color: gray;
}




