/* 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: 80%;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
text-align:center;
background:url(../img/lay/bg.gif) repeat-x #fff;
background-position:0 15px;
}

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 15px;
}

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;
}

.pad10 {
padding:5px;
padding-top:10px;
margin-left:10px;
padding-bottom:10px;
background-color:#fff;
float:left;
}

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

/*spot*/
#spot {
margin:0px auto auto auto;
background-color:#3a4754;
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_home {
margin:0px auto auto auto;
width:1000px;
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 */ }

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



#hsx {
float:left;
margin:0;
width:780px;

}
#hsx img {
float:left;
margin-left:30px;
margin-top:50px;
}

#hdx {
float:left;
margin:0;
width:200px;

}

#hdx img{
margin-top:12px;
}

#language {
float:right;
margin-right:20px;
margin-top:0px;
width:100px;
}

#language p {
color:#fff;
font-size:11px;
text-align:right;
}

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

#video {
float:right;
margin-right:20px;
margin-top:0px;
width:130px;
}

/* MENU */
#menu {
clear:both;
margin:0 auto auto;
width: 1000px;
height: 35px;
background:url(../img/lay/bg_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 {
list-style: none;
padding: 0;
margin: 0;
margin-left:20px;
width: 1000px;
height:35px;
}

#nav li {
display: block;
float: left;
height: 35px;
margin: 0;
padding: 0;
}

#nav li span {
display:none;
}

#nav li a:link, #nav li a:visited {
display: block;
padding: 0;
height: 35px;
background-position:0 0;
}

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

ul#nav li.li_home  {width:70px;}
ul#nav li.li_appartamenti {width:138px;}
ul#nav li.li_gallery  {width:153px;}
ul#nav li.li_listino {width:84px;}
ul#nav li.li_come {width:181px;}
ul#nav li.li_tempo {width:133px;}
ul#nav li.li_contatti {width:102px;}

ul#nav li.li_home a {background-image:url(../img/lay/li_home.jpg); width:70px;}
ul#nav li.li_appartamenti a {background-image:url(../img/lay/li_appartamenti.jpg); width:138px;}
ul#nav li.li_gallery a {background-image:url(../img/lay/li_gallery.jpg); width:153px;}
ul#nav li.li_listino a {background-image:url(../img/lay/li_listino.jpg); width:84px;}
ul#nav li.li_come a {background-image:url(../img/lay/li_come.jpg); width:181px;}
ul#nav li.li_tempo a {background-image:url(../img/lay/li_tempo.jpg); width:133px;}
ul#nav li.li_contatti a {background-image:url(../img/lay/li_contatti.jpg); width:102px;}

/* uk menu */
ul#nav li.li_home_uk  {width:70px;}
ul#nav li.li_gallery_uk  {width:153px;}
ul#nav li.li_appartamenti_uk {width:138px;}
ul#nav li.li_listino_uk {width:84px;}
ul#nav li.li_come_uk {width:181px;}
ul#nav li.li_tempo_uk {width:133px;}
ul#nav li.li_contatti_uk {width:102px;}

ul#nav li.li_home_uk a {background-image:url(../img/lay/li_home_uk.jpg); width:70px;}
ul#nav li.li_appartamenti_uk a {background-image:url(../img/lay/li_apartments.jpg); width:138px;}
ul#nav li.li_gallery_uk a {background-image:url(../img/lay/li_gallery.jpg); width:153px;}
ul#nav li.li_listino_uk a {background-image:url(../img/lay/li_prices.jpg); width:84px;}
ul#nav li.li_come_uk a {background-image:url(../img/lay/li_where.jpg); width:181px;}
ul#nav li.li_tempo_uk a {background-image:url(../img/lay/li_freetime.jpg); width:133px;}
ul#nav li.li_contatti_uk a {background-image:url(../img/lay/li_contacts.jpg); width:102px;}


ul#nav li.active a, ul#nav li a:hover{
background-position:0 -35px;
}


/*contenuto*/

#box_txt {
margin:0 auto auto;
width:1000px;
min-height: 390px;
height: auto !important;
height: 390px;
background:url(../img/lay/bg_box.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_txt h1 {
margin:0 auto auto auto;
width: 980px;
height:52px;
background-repeat:no-repeat;
background-position: 0 0;
}

#box_txt h1 span {display:none;}
#box_txt h1.h1_home {background:url(../img/lay/h1_home.jpg);}
#box_txt h1.h1_appartamenti {background:url(../img/lay/h1_appartamenti.jpg);}
#box_txt h1.h1_gallery {background:url(../img/lay/h1_gallery.jpg);}
#box_txt h1.h1_listino {background:url(../img/lay/h1_listino.jpg);}
#box_txt h1.h1_come {background:url(../img/lay/h1_come.jpg);}
#box_txt h1.h1_tempo {background:url(../img/lay/h1_tempo.jpg);}
#box_txt h1.h1_contatti {background:url(../img/lay/h1_contatti.jpg);}

#box_txt h1.h1_appartamenti_uk {background:url(../img/lay/h1_apartments.jpg);}
#box_txt h1.h1_listino_uk {background:url(../img/lay/h1_prices.jpg);}
#box_txt h1.h1_come_uk {background:url(../img/lay/h1_where.jpg);}
#box_txt h1.h1_tempo_uk {background:url(../img/lay/h1_free.jpg);}
#box_txt h1.h1_contatti_uk {background:url(../img/lay/h1_contacts.jpg);}

#box_txt h3 {
color:#666;
font-size:13px;
font-weight:600;
text-align:left;
margin-left:30px;
padding-top:10px;
border-bottom:1px solid #cdcdcd;
width:250px;
}

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

#box_txt table {
margin-left:40px;
width:400px;
border:1px solid #cdcdcd;
border-collapse:collapse;
}

#box_txt td {
border:1px solid #cdcdcd;
border-collapse:collapse;
text-align:center;
}

#box_txt td.tabtitle {
background:#3a4754;
color:#fff;
font-weight:bold;
}

#box_txt table#TForm {
margin:0;
width:600px;
border:none;
border-collapse:collapse;
}

#box_txt table#TForm td {
border:none;
border-collapse:collapse;
text-align:left;
padding:5px 0;
}

div.box_case {
margin:0px auto auto;
width:950px;
}

div.box_case h2 {
color:#666;
font-size:13px;
font-weight:600;
text-align:left;
padding-left:10px;
border-top:1px solid #cdcdcd;
width:350px;
}

html>body #box_txt .box_case p {
text-align:left;
padding:20px 30px 30px 10px;

}

#livello2, #livello3, #livello4, #livello5, #livello6, #livello7 {
display:none;
}

#box_txt>#tabs {
margin: 0 auto auto;
width:750px;
font-size:93%;
line-height:normal;
}

#box_txt>#tabs ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}

#box_txt>#tabs li {
display:inline;
margin:0;
padding:0;
}

#box_txt>#tabs a {
float:left;
background:url("../img/lay/tableft.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}

.box_eventi, .box_eventi2 {
clear:both;
margin:0 auto auto;
padding:0;
width:700px;
}

.box_eventi2 {
width:800px;
}

.p_eventi {
clear:both;
margin:0 auto auto;margin-left:20px;
margin-top:20px;
background-color:#EDF2F8;
padding:0;
border-right:3px solid #dcdcdc;
border-bottom:3px solid #dcdcdc;
}

.title_eventi {
color:#4F6072;
font-size:13px;
font-weight:bold;
}

div.FotoFloatRight {
clear:right;
float:right;
margin-right:30px;
}

div.FotoFloatRight2 {
background-color:#EDF2F8;
clear:left;
float:left;
margin-left:20px;
padding:5px 0;
border-right:3px solid #dcdcdc;
border-bottom:3px solid #dcdcdc;
width:780px;
}

img.img_Ap {
width:117px;
height: 74px;
margin-top:3px;
padding:9px 14px ;
background:url(../img/lay/bg_imgAp.jpg) no-repeat center center;
}

#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:630px;
min-height: 300px;
height: auto !important;
height: 300px;
}

#mappa {
width:420px;
height:370px;
}

/* form mail */
form{
margin:0px auto auto;
width:600px;
height:250px;
padding:30px 20px;
}

fieldset{
float:left;
width:600px;
border:none;
padding:5px 0;
text-align:left;
}

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

.Campo {
background:#EDF2F8;
 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;
}

/*footer*/
#footer_bg {
margin:0 auto auto auto;
width:100%;
height:150px;
background:url(../img/lay/bg_footer.jpg) repeat-x top left #3a4754;
}

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

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

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

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

#footer p {
text-align:left;
width:700px;
padding-top:30px;
margin:0 0 0 30px;
color:#EDF2F8;
font-size:95%;
}

*:first-child+html #footer p {
width:1000px;
}

#footer p.f_iyl {
padding-top:0px;
color:#B6CCE3;
}

#footer p.f_iyl a{
color:#B6CCE3;
text-decoration:none;
font-weight:normal;
}

#footer p.f_iyl a:hover {
color:#B6CCE3;
text-decoration:underline;
font-weight:normal;
}


