/*

MicroValle
by Fabrizio Tucci

www.fabriziotucci.com
www.helloadv.com

*/


html, body, p, ul, li, a, img, h1, h2, h3, h4 {
	padding: 0; margin: 0;
	border: none; outline: none;
}

body {
	background: #3e8233 url(images/bg.jpg) no-repeat center top;
	color: #474747;
	font: 100%/130% "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	overflow-x: hidden;
	/*overflow-y: scroll;*/
	width: 100%;
}
body.homepage {
	background-image: none;
}
a {
	color: #3e8233;
	text-decoration: none;
}
.box a:hover {
	color: #60ee44;
	background-color: #3e8233;
}
#outer {
	width: 980px;
	position: relative;
	margin: 0 auto;
	font-size: 0.9em;
}
#flash {
	width: 1399px; height: 556px;
	position: relative;
	z-index: 90;
	margin: 0 auto;
	overflow: hidden;
}
#flashlogo {
	position: relative;
	width: 600px;
	height: 200px;
	overflow: hidden;
	z-index: 91;
	margin: -400px auto 0;
}
#outerhome {
	display: none;
	width: 980px;
	position: relative;
	margin: -356px auto 0;
	font-size: 0.9em;
	z-index: 99;

}
#logo {
	left: 10px;
	margin-top: 35px;
}
#nav {
	width: 664px;
	position: absolute;
	left: 305px;
	top: 40px;
	list-style: none;
	height: 54px;
	background: url(images/nav-top.png) no-repeat left top;
}
#nav li {
	height: 54px;
	float: left; display: inline;
}
#nav li a {
	height: 54px;
	text-indent: -2000px;
	float: left; display: inline;
	overflow: hidden;
}
#home a {
	margin-left: 37px;
	width: 63px;
}
#home a:hover {
	background:url(images/nav-top.png) -37px -54px no-repeat;
}
#servizi a {
	margin-left: 13px;
	width:79px;
}
#servizi a:hover {
	background:url(images/nav-top.png) -113px -54px no-repeat;
}
#chisiamo a {
	width:101px;
	margin-left: 23px;
}
#chisiamo a:hover {
	background:url(images/nav-top.png) -215px -54px no-repeat;
}

#fiere a {
	width:169px;
	margin-left: 20px;
}
#fiere a:hover {
	background:url(images/nav-top.png) -336px -54px no-repeat;
}
#contatti a {
	width:97px;
	margin-left: 23px;
}
#contatti a:hover {
	width:97px;
	background:url(images/nav-top.png) -528px -54px no-repeat;
}

#footer {
	position: relative;
	width: 100%;
	text-align: center;
	line-height: 120%;
	color: white;
	font-size: 0.9em;
	margin-top: 20px;
	margin-bottom: 20px;
}


#home-top {
	position: relative;
	margin: 30px auto 0;
	/*width: 958px;*/
	width: 888px;
	/*height: 326px;*/
	height: 280px;
	background: url(images/top1.png) no-repeat;
	padding-left: 35px;
	padding-right: 35px;
	padding-top: 46px;
}

.box {
	width: 958px;
	position: relative;
	margin: 0 auto;
}

.box .top {
	position: relative;
	width: 958px;
	height: 35px;
	background: url(images/box-top.png) no-repeat;
}
.box .mid {
	width: 858px;
	position: relative;
	background: url(images/box-mid.png) repeat-y;
	padding: 10px 50px 15px;
}
.box .bottom {
	width: 958px;
	position: relative;
	height: 35px;
	background-image: url(images/box-bottom.png);
}


#nav-tabs {
	float: left;
	list-style: none;
	width: 306px;
	/*height: 240px;*/
	height: 189px;
	background: url(images/nav-tabs-back.png) no-repeat;
	padding-top: 51px;
}

#nav-tabs li {
	width: 338px;
	height: 43px;
	margin-bottom: 1px;
}
#nav-tabs li a {
	display: block;
	width: 338px;
	height: 43px;
	margin-bottom: 1px;
	text-indent: -2000px;
	background:url(images/nav-tabs.png) -1000px -0px no-repeat;
}
#nav-tabs #design.current {
	background:url(images/nav-tabs.png) -0px -0px no-repeat;
	margin-left: -5px;
	margin-top: 1px;
}
#nav-tabs #progettazione.current {
	background:url(images/nav-tabs.png) -0px -43px no-repeat;
	margin-left: -5px;
	margin-top: 3px;
}
#nav-tabs #realizzazione.current {
	background:url(images/nav-tabs.png) -0px -86px no-repeat;
	margin-left: -5px;
	margin-top: 4px;
}
#nav-tabs #microfusione.current {
	background:url(images/nav-tabs.png) -0px -129px no-repeat;
	margin-left: -5px;
	margin-top: 6px;
}

div.tabContainer { 
	float: left; 
	width: 539px;
	margin-left: 30px;
	background-color: white;
}
div.tabContainer div.tab { 
	color: #000; display: none; 
	height: 240px;
 
}
div.tabContainer div.current { display: block; }
div.tab p:last-child { margin-bottom: 0; }

.tab div {
	position: absolute;
	bottom: 40px;
	padding: 10px 15px;
	background-color: white;
	width: 509px;
	filter: alpha(opacity=85);
	-khtml-opacity: 0.85; 
	-moz-opacity: 0.85;
	opacity: 0.85;
	line-height: 120%;
	font-size: 0.85em;
}
.tab h2 {
	font-size: 1.1em;
	float: left; display: inline;
	margin-right: 7px;
	margin-bottom: 2px;
}

.tab p {
		float: left; display: inline;
}
.tab a {
	color: #c80000;
	font-weight: bold;
	text-decoration: none;
}
.col {
	float: left; display: inline;
	width: 390px;
}
.first {
	margin-right: 70px;
}
.title {
	display: block;
	margin-bottom: 10px;
	margin-left: -4px;
}

#tab-design {
	background: url(images/foto-1.jpg) no-repeat;
}
#tab-progettazione {
	background: url(images/foto-2.jpg) no-repeat;
}
#tab-realizzazione {
	background: url(images/foto-3.jpg) no-repeat;
}
#tab-microfusione {
	background: url(images/foto-4.jpg) no-repeat;
}

h2 {
	font-size: 1.3em;
	margin-bottom: 7px;
	color: #c80000;
}

p {
	margin-bottom: 7px;
}



.contentpage {
	margin: 30px auto 0;
}


.pic {
	padding: 5px;
	border: 1px solid #cff7b9;
}
.right {
	float: right;
	margin-left: 20px;
	margin-bottom: 10px;
}

.link {
	border: 1px solid #cff7b9;
	padding: 10px;
	display: block;
	clear: both;
	margin-top: 10px;
    -webkit-border-radius: 5px;
    /*
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    */
    -moz-border-radius: 5px;
    /*
    -moz-border-radius-topleft:5px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomright:5px;
    -moz-border-radius-bottomleft:5px;
    */
    border-radius: 5px;
}

/* servizi */

#pag-servizi {
  list-style: none;

}

#pag-servizi li {
  float: left;
}

#pag-servizi a * {
  display: none;
}

#pag-servizi a,
#pag-servizi a .hover {
  height: 410px;
	position: relative;
	display: block;
	background: url(images/servizi-v.jpg) 0 0 no-repeat;
}

/* individual navigation items */
#pag-servizi a.servizi-design {
  background-position: -5px 0;
  width: 204px;
}

#pag-servizi .highlight a.servizi-design:hover,
#pag-servizi a.servizi-design .hover {
  background-position: -5px -412px;
  width: 204px;
}

#pag-servizi a.servizi-prog {
  background-position: -217px -0px;
  width: 204px;
}

#pag-servizi .highlight a.servizi-prog:hover,
#pag-servizi a.servizi-prog .hover {
  background-position: -217px -412px;
}

#pag-servizi a.servizi-realizz {
  background-position: -430px 0;
  width: 204px;
}

#pag-servizi .highlight a.servizi-realizz:hover,
#pag-servizi a.servizi-realizz .hover {
  background-position: -430px -412px;
}

#pag-servizi a.servizi-microfus {
  background-position: -643px 0;
  width: 204px;
}

#pag-servizi .highlight a.servizi-microfus:hover,
#pag-servizi a.servizi-microfus .hover {
  background-position: -643px -412px;
}




/* caption styling */

.caption-top, .caption-bottom {
	color: #ffffff;	
	padding: 1.2em;	
	font-weight: bold;
	font-size: 13px;	
	font-family: arial;	
	cursor: default;
	border: 0px solid #334143;
	background: #000000;
	text-shadow: 1px 1px 0 #202020;
}
.caption-top {
   border-width: 0px 0px 8px 0px;
}
.caption-bottom {
   border-width: 8px 0px 0px 0px;
}
.caption a, .caption a {
	border: 0 none;
	text-decoration: none;
	background: #000000;
	padding: 0.3em;
}
.caption a:hover, .caption a:hover {
	background: #202020;
}
.caption-wrapper {
	float: left;
}
br.c, .clear { clear: both; }

span.icon-phone {
	padding-left: 28px;
	background: url(images/icon-phone.png) no-repeat 0;
	padding-top: 6px;
	display: block;
	margin-top: 0px;
	margin-bottom: 7px;
}
span.icon-fax {
	padding-left: 28px;
	background: url(images/icon-fax.png) no-repeat;
	padding-top: 3px;
	display: block;
	margin-top: 0px;
}
a.email {
	padding-left: 28px;
	background: url(images/email.gif) no-repeat;
	padding-top: 3px;
		padding-bottom: 3px;
	margin-top: 4px;
	display: block;
}
a.email:hover {
	text-decoration: none;
	background-color: transparent;
}

.second {
	margin-left: 145px;
	width: 240px;
}

.news {
	background: url(images/badge-novita.gif) no-repeat left center;
	padding: 15px 10px 15px 58px;
	margin-bottom: 10px;
	font-size: 1.1em;
	margin-left: -10px;
}
.news a {
	color: #c80000;
	font-weight: bold;
}
.news a:hover {
	color: #c80000;
	background-color: transparent;
}
