/* CSS Document */


* { padding: 0; margin: 0; }

body {
font-family: Arial, Helvetica, sans-serif;
 font-size: 12px;
 background-color: #6e8be2; /*#9898AC; */
 color:#000000;
/* background-image:url(../images/bg.jpg); background-repeat:repeat; */
  background-image:url(../images/bg2.jpg); background-repeat:repeat-x; background-attachment:fixed;
 scrollbar:yes;
}



img {border:0px; }
 
#wrapper { 
 margin: 0 auto;
 width: 970px;
  background-color:#FFFFFF;
 /* background-image: url(../images/bgwrap.jpg); 
  background-repeat:repeat-y; */
  border-left:#666666 double 6px;
    border-right:#666666 double 6px;
  
}

#header {
 margin: 0px auto;
/* background-image:url(../images/ste.jpg);
 background-position:right;
 background-repeat:no-repeat; */
 height:126px;
 width:970px;
 background-color:#FBF2F3;
}

#header .logo { margin-left:5px;  margin-top:5px;}
.payoff { position:absolute; top:70px; left:50%; margin-left:-120px;}
.contattami { float:right; margin-right:5px; border:0px;}

#cubihome { text-align:center; background-image:url(../images/ombramenu.jpg);
background-repeat:repeat-x;
background-position:top;
padding-top:5px;}
#cubihome img{ width:160px;}

#menualto {
width:970px;
margin:0px auto;
background-color:#FBF2F3;
font-size:13px; font-weight: bold;
line-height:24px;
text-align:right;
padding-bottom:1px;
}

#menualto a:link{ padding:2px 12px; color: #666; text-decoration:none; border-width: 1px 1px 0px 0px; border-color: #CCCCCC; border-style:solid;}
#menualto a:visited {padding:2px 12px; color:#666;  text-decoration:none; border-width: 1px 1px 0px 0px; border-color:#ccc; border-style:solid;}
#menualto a:hover { padding:2px 12px;; color:#999; text-decoration:none; border-width: 1px 1px 0px 0px; border-color:#ccc; border-style:solid;}


#menuprinc{
width: 970px;
overflow: hidden;
/* border-bottom: 1px solid black; bottom horizontal line that runs beneath tabs*/
background-color:#000000;
margin:0px auto 5px auto;
background-image:url(../images/ombramenu.jpg);
background-repeat:repeat-x;
background-position:bottom;
text-align:center;}

#menuprinc ul{
font-size:13px; font-weight: bold; 
text-align:center;
color:#FFFFFF;
height:51px;
list-style-type:none;
margin: 0 auto;
padding:0 0 0 0px;

}

#menuprinc li{
display: inline;
margin: 0;
}

#menuprinc li a{
float: left;
display: block;
text-decoration: none;
margin: 0;
padding: 7px 20px; /*padding inside each tab*/
border-right:2px #666666 ridge; /*right divider between tabs*/
color: #fff;
 /*background of tabs (default state)*/
 width: 120px;
}

#menuprinc li a:visited{
color: #fff;
}

#menuprinc li a:hover, #menuprinc li.selected a{
color: #ccc;
background-color:#333; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
}




#contentleft{ 
float:left; width:335px; background-color:#FFF; margin:0px 0px 0px 0px;
min-height:345px;
height:auto !important;
height:345px;
}

.intestamenuleft {margin:10px 5px 0px 5px; padding: 5px 20px 0px 20px; height:20px; vertical-align: bottom; font-weight:bold;  color: #666666; width:140px; background-image:url(../images/listasx.jpg); background-position:top left; background-repeat:no-repeat;}

.intestacompetenze {margin:10px 5px 0px 5px; padding: 2px 20px 2px 25px; font-weight:bold; color: #666666; width:180px; background-image:url(../images/ulcompetenze.gif); background-position:top left; background-repeat:no-repeat;}


#contentleft p { margin:0px 5px 5px 5px; padding: 5px 5px 5px 5px; color: #333; background-color:#fff; font-size:12px; /* background-image:url(../images/spigolo.jpg); background-position:top right; background-repeat:no-repeat; */
 border-top:1px #999 solid;}


#contentleft img  {
	display: block;
	margin: 0px auto;
	text-align: center;
	width:300px;
	height:310px;
}

#contentleft a { color: #FF0000; font-weight:bold;}
#contentleft a:hover { color: #999999;}

#competenze {margin-left:5px}
#competenze ul {list-style:none}
#competenze li { background-image:url(../images/listcompetenze.gif); background-repeat:no-repeat; padding-left:22px; line-height:20px; margin-top:5px; }


#contentright{ 
width:600px; float:right; background-color:#FFF; margin-right:15px;
}

#contentright h1 { font-size:20px; }
#contentright h2 { font-size:14px; margin-bottom:5px;}
#contentright p {  margin-bottom:5px; font-size:15px; }
#contentright a { color: #FF0000; font-weight:bold;}
#contentright a:hover { color: #999999;}
#articoli p { font-size:11px;}

#miniature { margin: 0px;
 width:649px; 
}

#miniature img{ width:150px;
height:113px; padding:5px 0px 0px 5px;
}


#news{ 
width:970px;
margin:-5px auto;
  background-color: #000;
  clear:both; 
  text-align:center;
  color:#FFFFFF;
padding: 3px 0px 3px 0px;

  
 }




#footer{ 
width:970px;
margin:0px auto;
  background-color: #000;
  clear:both; 
  text-align:center;
  color:#FFFFFF;
padding: 3px 0px 3px 0px;
font-size:10px;
  
 }
 
#footer a:link {  color:#FFFFFF; text-decoration:none;}
#footer a:visited {  color:#FFFFFF; text-decoration:none;}
#footer a:hover {  color:#FFFFFF; text-decoration:underline;}
.clear { clear: both; background: none; }

#menuprinc select {
  display: none;
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
#header {
 margin: 0px auto;
/* background-image:url(../images/ste.jpg);
 background-position:right;
 background-repeat:no-repeat; */
 width:100%;
}

#header .logo { margin-left:5px;  margin-top:5px; width:300px;}


#cubihome { display: none;
 }
 
.payoff { display:none}

#menuprinc {
width: 100%;
}

#menuprinc select {
  display: inline-block;
  padding:10px;
  background-color: #000000;
  color:#FFFFFF;
}
#menuprinc ul {
display: none;
}



#wrapper { width:95%}
#contentright { width:95%;}
#contentright table { width:50%;}
#contentright input { width:120px;}
#contentright textarea { width:120px;}
#contentleft { float: none; width:100%; }
#contentleft img { display:none}
 
.contattami { display:none}

#menualto { display:none}

#footer{ clear:both;
width:100%;
 
 }