/* CSS Document */
/*
@name: css/gracci.css
@desc: css generale
@author: Giada Ranieri
@lastauthor: Giada Ranieri
*/

* {
margin: 0;
padding: 0;
}

html, body{
margin:0px;
padding:0px;
}

body{
margin:0;
color:#333;
width:100%;
font-size: 13px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
text-align:center;
background:url(../img/lay/bg.jpg) repeat-x #033999;
}

img {
border:none;
padding:0;
}

hr {
display:none
}

img.FloatRight {
float:right;
margin:0 30px 0 0;
}

img.PadTop20 {
padding-top:20px;
}


img.FloatRightPadLeft {
float:right;
margin:0 30px 0 10px;
}
img.FloatRightList {
clear:both;
float:right;
margin:2px 10px 0 8px;
padding-left:4px;
padding-bottom:4px;
}

img.FloatRight2 {
float:right;
margin:60px 30px 0 0;
padding:0;
}

.clearboth {
clear:both;
}

.pad5 {
padding:1px;
}

.pad8 {
padding:5px 3px 5px 28px;
}

.tnx{
color:#5d7f9f;
font-size:13px;
font-weight:600;
text-align:center;}

/*spot*/
#spot {
margin:0px auto auto auto;
background-color:#002C77;
height:15px;
}

#spot p {
color:#fff;
 font-size:11px;
 text-align:center;
 font-weight:bold;
}

#spot a, a:hover, a:active, a:visited {
color:#fff;
 text-decoration:none;
}

#container {
margin:0px auto auto auto;
width:821px;
min-height: 500px;
height: auto !important;
height: 500px;
}

/* tutti i browser TRANNE ie6 */
html>body #container { overflow: auto; /* per far scendere il contenitore fino alla fine del contenuto */ }


/* MENU */
#menu {
margin:0 auto auto;
width: 821px;
height: 113px;
background:url(../img/lay/menu.jpg) no-repeat top left;
}

/* to stretch the container div to contain floated list */
#menu:after, #menu_pg:after {
content: ".";
display: block;
line-height: 1px;
font-size: 1px;
clear: both;
}

ul#nav {
margin-top:80px;
float:right;
list-style: none;
width: 500px;
}

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

#nav li a:link, #nav li a:visited {
display: inline;
padding:5px 7px;
height: 30px;
text-align:center;
color:#002b76;
font-size:13px;
font-weight:400;
text-transform:uppercase;
line-height:30px;
text-decoration:none;
background:url(../img/lay/li.jpg) no-repeat top right;
}

#menu>ul#nav li a { width: auto; }

#nav li a:hover, #nav li a:active, #nav li.attivo {
text-decoration:underline;
}

/* header  */
#header {
margin:0 auto auto;
width:821px;
height:220px;
background:url(../img/lay/header.jpg) no-repeat top right;
}

/*contenuto*/

#box_txt {
margin:0 auto auto;
width:821px;
min-height: 300px;
height: auto !important;
height: 300px;
background:url(../img/lay/box_testi.jpg) repeat-y top left;
}
/* tutti i browser TRANNE ie6 
html>body #box_txt { overflow: auto;} /* per far scendere il contenitore fino alla fine del contenuto */

#box_sx {
float:left;
width:340px;
min-height: 300px;
height: auto !important;
height: 300px;
}

#box_sx p {
padding:30px;
line-height:1.5em;
text-align:justify;
}

#box_dx {
float:left;
width:470px;
min-height: 300px;
height: auto !important;
height: 300px;
}


/* form mail */
form{
width:320px;
padding:30px 20px;
float:left;
margin-left:30px;
}

fieldset{
border:none
}

fieldset div{
float:left;
width:320px;
padding:5px;
}

label{
float:left;
width:50px;
display: inline;
line-height:13px;
margin:0;
padding:0;
text-align:left
}

#buttonz {
 margin: 0 auto auto 100px;
}

.Campo {
background:#fff;
 border:1px solid #456A9F;
 width:150px;
}

.invia {
background:#fff;
color:#666;
font-size:12px;
font-weight:bold;
margin-top:5px;
padding:5px;
border:1px solid #456A9F;
}
/*gallery*/
#gallery_box {margin:40px auto auto; width: 470px; height:350px }
#gallery_box ul{ margin:0px auto auto;}
#gallery_box li { display: inline; list-style-type: none; width:70px; height:70px;}
#gallery_box li img {width:70px; height:70px; margin:0; padding:1px; background:#fff; border:1px solid #022869;}

/*footer*/
#footer {
margin:0 auto auto auto;
width:821px;
height:220px;
background:url(../img/lay/footer.jpg) no-repeat top left;
}

#footer a{
color:#fff;
text-decoration:none;
font-weight:normal;
}

#footer a:hover {
color:#fff;
text-decoration:underline;
font-weight:normal;
}

#footer img {
 border:0;
 padding:2px;
 vertical-align:middle;
}

#footer p {
text-align:left;
width:580px;
padding-top:180px;
margin:0 0 0 10px;
color:#333;
font-size:10px;
line-height:1.2em;
}

#footer p.f_iyl {
padding-top:10px;
color:#fff;
}
