@import url("common.css");

html {
	background: #f4f4f4;
	color: #4e4e4e;
	text-align: center;
	}
body {
	font: 62.5% Arial, Helvetica, sans-serif;
	background: #f4f4f4 url(../img/bg-body.gif) repeat-x 0 0;
	padding-top: 5px;
	}
body#front {
	background: #f4f4f4 url(../img/bg-body-front.gif) repeat-x 0 0;
	}
em {
	font-style: italic;
	line-height: inherit;
	}
.imgleft {
	float: left;
	margin: 0 15px 10px 0;
	}

/*wrapper
-----------------*/
#wrap {
	width: 960px;
	margin: 0 auto;
	background: transparent url(../img/bg-wrap.gif) no-repeat 100% 122px;
	}
	#front #wrap {
		background: transparent url(../img/bg-wrap-front-2.gif) no-repeat 100% 500px;
		}
	#portfolio #wrap {
		background-image: none;
		}
	#contatti #wrap {
		background: transparent url(../img/bg-wrap-pageswithforms.gif) no-repeat 100% 122px;	
		}

/*header
------------------------*/
#header {
	height: 122px;
	margin: 0 auto;
	position: relative;
	}
	#front #header {
		height: 92px;
		background: #282828 url(../img/bg-header-front.gif) no-repeat 0 0;
		}
#logo a {
	position: absolute;
	left: 0;
	top: 0;
	height: 91px;
	width: 370px;
	border: 0;
	background: url(../img/logo.gif) no-repeat 0 0;
	outline: none;
	}
#logo img {
	display: block;
	width: 0;
	}
#header ul {
	position: absolute;
	top: 29px;
	right: 0;
	width: auto;
	}
#header li {
	display: inline;
	}
#header li a {
	float: left;
	height: 34px;
	display: block;
	margin-left: 5px;
	text-indent: -99999px;
	overflow: hidden;
	}
#header li.home a {
	width: 67px; background: url(../img/bg-li-a-home.gif) no-repeat;
	}
#header li.about a {
	width: 129px; background: url(../img/bg-li-a-about.gif) no-repeat;
	}
#header li.servizi a {
	width: 76px; background: url(../img/bg-li-a-servizi.gif) no-repeat;
	}
#header li.portfolio a {
	width: 84px; background: url(../img/bg-li-a-portfolio.gif) no-repeat;
	}
#header li.contatti a {
	width: 82px; background: url(../img/bg-li-a-contatti.gif) no-repeat;
	}
#header li a:hover,
#header li.current a {
	background-position: 0 -34px;
	}


/*featured column with slider
--------------------------------*/
#feature {
	height: 323px;
	background: #8CD0F5 url(../img/bg-feature.jpg) no-repeat 0 0;
	overflow: hidden;
	}
#intro {
	float: left;
	margin: 35px 0 0 35px;
	width: 400px;
	display: inline;
	}
#intro h1, #intro h1 span { 
	height:54px; 
	width:215px; 
	background-image: url(../img/bg-h1-intro.gif);
	} 
#intro p {
	font: bold 1.4em/1.5em Arial, Helvetica, sans-serif;
	color: #282828;
	text-align: justify;
	margin: 0.8em 0 0 25px;
	font-style: italic;
	}
#slider {
	width: 391px;
	position: relative;
	float: right;
	margin-top: 35px;
	margin-right: 39px;
	display: inline;
	}
#slider h2, #slider h2 span { 
	height:35px; 
	width:245px; 
	background-image: url(../img/bg-h2-slider.gif);
	} 
#slider a img {
	padding: 8px 8px 16px;
    background: transparent url(../img/bg-slajd.gif) no-repeat 0 0;
	}
#slider a:hover img {
	padding: 8px 8px 16px;
    background: transparent url(../img/bg-slajd.gif) no-repeat 0 -128px;
	}
#slider a:hover  {
	white-space: inherit;
	}
#slider li img {
	display: block;
	clear: both;
	}
#slider li {
	font-size: 1.2em;
	line-height: 1.2;
	color: #A0522D;
	}
#slider li strong {
	margin-left: 15px;
	}
#slider li a {
	font-weight: bold;
	line-height: 1;
	color: #277AA3;
	}
#slider li a:hover {
	color: #000;
	}

/*punchline
--------------------*/
#punchline {
	height: 85px;
	background: url(../img/bg-punchline.gif) no-repeat 0 0;
	position: relative;
	}
#punchline h2, #punchline h2 span { 
	height:85px; 
	width:418px; 
	background: url(../img/bg-h2-web.gif) no-repeat 0 0;
	} 
p.corner {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 187px;
	height: 85px;
	background: url(../img/bg-corner.gif) no-repeat 0 0;
	overflow: hidden;
	}

/* @Gruppo HOMEPAGE */

#main-front {
	float: left;
	width: 710px;
	position: relative;
	padding-bottom: 30px;
	}
#main-front h1,
#main-project h1 {
	font-size: 2.4em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	letter-spacing: -1px;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 20px 0;
	padding-bottom: 5px;
	color: #277AA3;
	}
#main-front h1 a {
	color: #15857B;
	}
#main-front h1 a:hover {
	color: #000;
	}
#main-front h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.6em;
	letter-spacing: -1px;
	font-weight: bold;
	margin: 1em 0 0.5em;
	color: #00455f;
	padding-bottom: 5px;
	}
#main-front h3 {
	font-size: 1.3em;
	font-weight: bold;
	margin: 1em 0;
	color: #666;
	clear: both;
	}
#main-front p,
#main-front ul,
#main-front ol,
#main-front dl {
	margin: 0 0 15px;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: justify;
	}
#main-front p strong {
	color: #666;
	}
#main-front ul li {
	line-height: 1.6em;
	list-style: disc;
	margin-left: 15px;
	}
#main-front p a,
#main-front li a {
	color: #118cca;
	}
#main-front p a:hover,
#main-front li a:hover {
	color: #000;
	text-decoration: underline;
	}
#main-front p span {
	line-height: inherit;
		}
#main-front ul ul {
	font-size: 1em;
	margin-bottom: 0;
	margin-left: 20px;
	}

/* @Gruppo MAIN */

#main {
	float: left;
	width: 480px;
	position: relative;
	padding-bottom: 30px;
	}
#main h1,
#main-portfolio h1 {
	font-size: 2.4em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	letter-spacing: -1px;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 20px 0;
	padding-bottom: 5px;
	color: #277AA3;
	}
#main h1 a {
	color: #15857B;
	}
#main h1 a:hover {
	color: #000;
	}
#main h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.6em;
	letter-spacing: -1px;
	font-weight: bold;
	margin: 1em 0 0.5em;
	color: #00455f;
	padding-bottom: 5px;
	}
#main h2 a {
	font-size: 1.3em;
	font-weight: normal;
	background-image: none;
	margin: 24px 0 0;
	color: #118cca;
	padding-bottom: 5px;
	letter-spacing: -1px;
	font-family: Arial, Helvetica, sans-serif;
	}
#main h2 a:hover {
	color: #000;
	}
#main h3 {
	font-size: 1.3em;
	font-weight: bold;
	margin: 1em 0;
	color: #666;
	clear: both;
	}
#main p,
#main ul,
#main ol,
#main dl,
#main-portfolio p,
#main-portfolio ul,
#main-portfolio ol,
#main-portfolio dl {
	margin: 0 0 15px;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: justify;
	}
#main p strong {
	color: #666;
	}
#main ul li,
#main-portfolio ul li {
	line-height: 1.6em;
	list-style: disc;
	margin-left: 15px;
	}
#main p a,
#main li a,
#main-portfolio p a {
	color: #118cca;
	}
#main p a:hover,
#main li a:hover,
#main-portfolio p a:hover {
	color: #000;
	text-decoration: underline;
	}
#main p span {
	line-height: inherit;
		}
#main ul ul {
	font-size: 1em;
	margin-bottom: 0;
	margin-left: 20px;
	}

/* @Gruppo PORTFOLIO */

#main-portfolio {
	float: left;
	width: 670px;
	padding-bottom: 30px;
	}

.portfolio {
	width: 670px;
	background: #fff url(../img/bg-projects-top.gif) no-repeat 0 0;
	position: relative;
	}
.portfolio-bottom {
	width: 670px;
	height: 20px;
	background: url(../img/bg-projects-bottom.gif) no-repeat 0 100%;
	overflow: hidden;
	clear: both;
	}

#main-portfolio ul#thumbnail {
	float: right;
	display: inline;
	margin: 15px 20px 0 0;
	width: 30px;
	}
#main-portfolio ul#thumbnail li {
	margin: 0;
	list-style: none;
	text-align: center;
	display: inline;
	}
#main-portfolio ul#thumbnail li a {
	display: block;
	width: 30px;
	line-height: 30px;
	text-align: center;
	background: url(../img/bg-li-thumbnails.gif) no-repeat 0 0;
	font-weight: bold;
	color: #fff;
	outline: none;
	margin-bottom: 10px;
	}
#main-portfolio ul#thumbnail li a:hover {
	color: #333;
	}

#large {
	width: 575px;
	height: 415px;
	float: left;
	display: inline;
	margin: 15px 15px 0;
	padding: 0;
	background: #fff url(images/loading.gif) no-repeat 50% 50%;
	}

.portfolio-details {
	float: left;
	width: 300px;
	padding-right: 30px;
	background: url(../img/bg-project-details.gif) repeat-y 100% 0;
	margin: 15px 0 0;
	}

.technology-used {
	float: right;
	width: 300px;
	margin: 15px 0 35px;
	}
.technology-used h2 {
	font-size: 2em;
	font-weight: normal;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 0 0 1em;
	padding-bottom: 5px;
	color: #22AEEA;
	font-family: Arial, Helvetica, sans-serif;
	}
#main-portfolio .technology-used li {
	list-style: none;
	margin-left: 0;
	padding-left: 23px;
	color: #666;
	font-size: 1.1em;
	line-height: 1.6em;
	background: url(../img/bg-li-technology.gif) no-repeat 0 6px;
	}

/* @Gruppo TWITTER */

#twitter_div {
	float: left;
	width: 210px;
	display: inline;
	margin-left: 30px;
	padding-bottom: 30px;
	}
#twitter_div h2 {
	font-size: 2em;
	font-weight: normal;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 24px 0 15px;
	padding-bottom: 5px;
	letter-spacing: -1px;
	color: #A0522D;
	font-family: Arial, Helvetica, sans-serif;
	}
#twitter_div li {
	font-size: 1.2em;
	line-height: 1.3em;
	padding: 5px 0 5px 15px;
	background: url(../img/twitter-li.gif) no-repeat 0 8px;
	color: #4e4e4e;
	display: block;
	width: 195px;
	border-bottom: 1px dotted #ccc;
	}
#twitter_div li a {
	color: #4e4e4e;
	}
#twitter_div li a:hover {
	color: #118cca;
	}


/*middle col
---------------------*/
#middle {
	float: left;
	width: 210px;
	display: inline;
	margin-left: 30px;
	padding-bottom: 30px;
	}
#middle h2 {
	font-size: 2em;
	font-weight: normal;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 24px 0 15px;
	padding-bottom: 5px;
	letter-spacing: -1px;
	color: #A0522D;
	font-family: Arial, Helvetica, sans-serif;
	}
#middle li a {
	font-size: 1.2em;
	line-height: 1.3em;
	padding: 5px 0 5px 15px;
	background: url(../img/bg-li-post.gif) no-repeat 0 8px;
	color: #4e4e4e;
	display: block;
	width: 195px;
	border-bottom: 1px dotted #ccc;
	}
#middle li a:hover {
	color: #118cca;
	}
#all #middle li a {
	font-weight: bold;
	color: #666;
	padding: 5px 0;
	background-image: none;
	width: 210px;
	}
#all #middle li a:hover {
	color: #000;
	padding: 5px 0;
	}
#all #middle li.current a {
	color: #000;
	background-image: none;
	background: #eee;
	}
#all #middle li.current a:hover {
	color: #333;
	}

/*right column
----------------------------*/
#right-col {
	float: right;
	width: 210px;
	padding-bottom: 30px;
	}
#right-col p,
#right-col ul,
#right-col ol,
#right-col dl {
	margin: 0 0 1.6em;
	font-size: 1.2em;
	line-height: 1.6em;
	}
#right-col li {
	list-style: none;
	margin-left: 15px;
	}
#right-col h2 {
	font-size: 2em;
	font-weight: normal;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 24px 0 15px;
	padding-bottom: 5px;
	color: #A0522D;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	}
#right-col li {
	margin: 0;
	line-height: 1em;
	}
#right-col li a {
	color: #44B2EA;
	background: url(../img/bg-li-projects.gif) no-repeat 0 50%;	
	padding: 5px 0 5px 20px;
	line-height: 1.6em;
	display: block;
	width: 190px;
	border-bottom: 1px dotted #ddd;
	font-weight: bold;
	}
#right-col li.current a {
	color: #333;
	background-image: none;
	background: #eee;
	padding-left: 10px;
	width: 200px;
	}
#right-col li.current a:hover {
	color: #333;
	}
#right-col li a:hover {
	color: #333;
	}

/*contact data
--------------------------*/
#contact-data {
	float: right;
	width: 435px;
	display: inline;
	margin-right: 15px;
	padding-bottom: 30px;
	}
#contact-data p,
#contact-data ul,
#contact-data ol,
#contact-data dl {
	margin: 0 0 1.5em;
	font-size: 1.2em;
	line-height: 1.6;
	text-align: justify;
	}
#contact-data h2,
#contact-data h3 {
	font-size: 2em;
	font-weight: normal;
	background: url(../img/bg-headings.gif) repeat-x 0 100%;
	margin: 24px 0 1em;
	padding-bottom: 5px;
	color: #A0522D;
	font-family: Arial, Helvetica, sans-serif;
	}
#contact-data h3 {
	font-size: 1.8em;
	font-weight: normal;
	background-image: none;
	padding-bottom: 0;
	margin: 1em 0 0.2em;
	color: #1490C3;
	}
#contact-data p a {
	color: #18A2FB;
	}
#contact-data p a:hover {
	color: #000;
	text-decoration: underline;
	}

/*FOOTER
-----------------------------------------*/
#footer {
	position: relative;
	margin: 0;
	padding: 1px 0;
	width: 960px;
	clear: both;
	background: url(../img/bg-footer.gif) repeat-x 0 0;
	overflow: hidden;
	text-transform: uppercase;
	}
#footer p {
	color: #999;
	font-size: 1em;
	line-height: 1.6;
	margin: 1em 0;
	}
#footer p a {
	color: #aaa;
	}
#footer p a:hover {
	color: #118cca;
	}
	
/* @Gruppo FORM */	

#contactFormArea {
	background:transparent url(../img/bg-form.gif) no-repeat scroll 0 0;
	margin:10px 0 0;
	width:auto;
}
#contactFormArea fieldset {
	background:transparent url(../img/bg-fieldset.gif) no-repeat scroll 0 100%;
	margin-top:10px;
	padding:5px 0 15px;
}
#contactFormArea legend {
	margin-left:10px;
	padding:0 2px;
}
#contactFormArea label {
	color:#282828;
	display:block;
	font-size:1.4em;
	line-height:1.4em;
	margin:15px 5px 10px 20px;
	text-align:left;
	vertical-align:top;
	width:auto;
}
#contactFormArea input, #contactFormArea textarea, #contactFormArea select {
	background:#FBFBFB none repeat scroll 0 0;
	border-color:#ADADAD #ECECEC #ECECEC #ADADAD;
	border-style:solid;
	border-width:1px;
	padding:3px;
	margin-left:20px;
}
#contactFormArea input:hover, #contactFormArea textarea:hover, #contactFormArea select:hover {
	background:#CFEFFF none repeat scroll 0 0;
}
#contactFormArea input:focus, #contactFormArea textarea:focus, .#contactFormArea select:focus {
	background:#F3F8F8 none repeat scroll 0 0;
}
#contactFormArea input.submit {
	background:#fff url(../img/button-invia.gif) no-repeat scroll 0 0;
	border-style:none;
	color:#FFFFFF;
	cursor:pointer;
	height:30px;
	line-height:30px;
	text-indent:-99999px;
	width:80px;
}
#contactFormArea input.submit:hover {
	background:#fff url(../img/button-invia.gif) no-repeat scroll 0 -30px;
}
/*IE6*/
* html #contactFormArea input.submit {
	text-indent:0;
}
/*IE7*/
:first-child + html #contactFormArea input.submit {
	text-indent:0;
}