html { 
  overflow: auto; 
  text-align: center;

  /* (1) sempre piu grande di (2), serve per ie, konqueror e opera, firefox lo ignora */
  padding: 0 20em;
}

body {
  margin: auto;
  /* percentuale minima di grandezza a cui bisogna sottrarre il padding del body */
  width: 100%;
}

h1 {font-size:150%;
	color:#780000;
	margin-bottom:4px;
}

h2 {font-size:120%;
	color:#780000;
	margin-bottom:4px;} 
	
h3 {font-size:100%;
	color:#780000;}
	
h4 {font-size:100%;
	color:#780000;
}

#wrapper {
  /* serve per opera, safari, konqueror */
  position: static !important;
  display: block !important;

  /* to make ie behave as other browsers, thanks Stu Nicholls http://www.s7u.co.uk/ */
  display: inline-block;
  position: relative;

  /* (2) la lunghezza minima fissa (va moltiplicata per 2) */
  /* per un layout elastico deve essere >= larghezza colonne laterali */
  margin: 0 -20em;
}

#container {
  text-align: left;
  border-left: 15em solid #9BB452;
  border-right: 15em solid #9BB452;
  background: #e6ddc8;
}

#container-ricerca {
  text-align: left;
  border-left: 15em solid #9BB452;
  border-right: 15em solid #E6DDC8;
  background: #e6ddc8;
}

#sx, #dx, #cx { 
  float: left; 
  width: 15em;
  border-top:1px solid #fff;  
}

#sx { 
  display: inline;      /* avoids exploder double float margin bug */
  margin-left: -15em;
/*  padding: 3px 3px 3px 3px;  */
}

*:first-child+html #sx { 
  margin-left: -26.7em; 
}
	/* [IE7fix] still buggy *sic* */

#cx { 
  margin-right: 15em;
  width: 100%;
/*  border-top:3px solid #666666;  */
}

*:first-child+html #cx { 
  margin-left: -11.7em; 
}

#dx {
  margin: 0 -15em;
/*  border-top:3px solid #000;  */
}

#header { 
  height: 120px;
	margin-left: auto;
  margin-right: auto;
	background-image:url(http://www.africavacanze.it/images/viaggi_e_safari_in_africa.jpg);
	background-repeat:y;
	background-position:center;
/*	font-size:10px; */
	background-color:#cb5c0b;
}

*:first-child+html #header { 
  height: 104px;
  padding-top: 15px;
}

#footer { 
	width: 100%;
	margin: 0 auto;
	font-family: "trebuchet ms", Helvetica, sans-serif;
	font-size: 0.76em;
  /*height: 50px;*/
}
*:first-child+html #footer { 
  height: 50px;
  padding-top: 5px;
}
#footer, #footer p {
  /*margin: 0 -15em;*/
  /*padding: 0 15em;*/
  text-align: center;
  clear: both;
  width: 100%;
  border-top:1px solid #fff;
  background: #cb5c0b;
  color:#780000;
}

a:link {color: #780000; text-decoration: none;font-weight:bold;}
a:visited {color: #780000; text-decoration: none;font-weight:bold;}
a:active {color: #FFFFFF; text-decoration: none; font-weight:bold;}
a:hover {color: #FFFFFF; text-decoration: none; font-weight:bold;}

#contentads{
  margin: 2% 1% 0 1%; 
}

#contentbox1{
  margin: 0% 0% 0 0%; 
}

.menu-sx1 {
	border-top:1px solid #fff;
}
.menu-sx1 ul {
	float:left;
	width:100%;	
	background-color:#cb5c0b;
	margin:0;
	padding:0
}
.menu-sx1 li {
	float:left;
	height:36px;
	width:100%;
	border-bottom:1px solid #fff;
	list-style:none;	
}
.menu-sx1 a {
	display:block;
	padding-top:5px;
	padding-left:6px;
	font-family: "trebuchet ms", Helvetica, sans-serif;
	font-size: 0.85em;
	color:#780000;
/*	font-weight:bold;*/
/*	text-transform:uppercase*/
}
.menu-sx1 a:hover {
	color:#fff
}

.menu-sx2 {
/*	height:auto;
/*	border-bottom:1px solid #fff;*/
}
.menu-sx2 ul {
	float:left;
	width:100%;	
	background-color:#cb5c0b;
	margin:0;
	padding:0;
}
.menu-sx2 li {
	float:left;
	/*height:24px;*/
	/*height:auto;*/
	width:100%;
	border-bottom:1px solid #fff;
	list-style:none;
	line-height: 20px;
}
.menu-sx2 a {
	display:block;
	padding-top:5px;
	padding-left:6px;
	font-family: "trebuchet ms", Helvetica, sans-serif;
	font-size:0.85em;
	color:#780000;
/*	font-weight:bold;*/
/*	text-transform:uppercase*/
}
.menu-sx2 a:hover {
	color:#fff
}

.box-sx1 {
  text-align: center;
  margin: 6px 0px 6px 0px;
  clear:both;
}

.box-cx {
  margin: 0px 12px 0px 12px;
}

.box-dx1 {
  text-align: center;
  margin: 4px 0px 4px 0px;
  clear:both;
}

.boxvetrina{
  margin: 12px 0px 12px 0px;
  clear:both;
}


.box-dx {
  margin: 6px 0px 6px 0px;
}

.leftads{
  float: left;
  width: 48%; 
  margin-left: 1%;
}

.rightads{
  display:block;
  float: left;
  width: 48%; 
  margin-right: -49%; 
}

.topads{
/*  display:block; */
  float: left; 
  width: 100%; 
  text-align: center;
  clear:both;  
/*  margin-left: 1%; */
/*  border-bottom:1px solid #fff; */
}

.leftbox1{
  float: left;
  width: 28%; 
	line-height: 2em;	
}

.rightbox1{
  display:block;
  float: left;
  width: 68%; 
  margin-right: -69%; 
	line-height: 2em;	
}

.box-help{
/*  display:block; */
  float: left; 
  width: 98%; 
  text-align: center;
  clear:both;  
/*  margin-left: 1%; */
/*  border-bottom:1px solid #fff; */
}

.box-news {
	border-top:1px solid #fff;
}

.box-news ul {
	float:left;
	list-style:none;
	width:100%;	
	background-color:#cb5c0b;
	margin:0;
	padding:0
}
.box-news li {
	float:left;
/*	height:36px; */
	width:100%;
	border-bottom:1px solid #fff;
	color:#780000;	
}
.box-news a {
	display:block;
	padding-top:5px;
	padding-left:6px;
	font-family: "trebuchet ms", Helvetica, sans-serif;
	font-size:0.85em;
	color:#780000;
/*	font-weight:bold;*/
/*	text-transform:uppercase*/
}
.box-news a:hover {
	color:#fff
}

* {
  font-size: 100.01%;
  letter-spacing: 0.1em;
  word-spacing: 0.2em;
  font-family: "trebuchet ms", helvetica, sans-serif;
  color:#4B4B25;  
}

#container {
  font-size: 0.75em;
}

#container-ricerca {
  font-size: 0.75em;
}

#lista {
	width:100%;
	padding-bottom:20px;
	padding-top:15px;
	float:left;
	font-family: "trebuchet ms", Helvetica, sans-serif;
	text-align:justify
}
#lista h3 {
	margin:0;
	padding:0
}
#lista img {
	border:0px solid #fff;
	float:left;
	margin-right:8px;
	vertical-align:middle
}
#lista p {
	padding-top:4px;
	margin-top:0;
	margin-left:5px;
}
.linea {
	border-top:1px solid #fff;
	clear:both;
	width:100%;
	height:1px;
	text-align:center;
	margin-top:5px;
/*	padding-bottom:15px; */
	margin-bottom:5px
}
.paging {
	clear:both;
	width:100%;
	height:1px;
	text-align:center;
	margin-top:5px;
/*	padding-bottom:15px; */
	margin-bottom:5px
}
.boxlogin {
	margin: 12px 0px 12px 0px;
	clear:both;
	width:98%;
	text-align:center;
	margin-top:5px;
	margin-bottom:5px
}

.caption {
	background: #9BB452; 
	font-size: 0.76em;
}

table#tab1{table-layout: fixed;width:100%;margin: 0 auto;border:1px solid #999; font-size: 1em;}
table,th,td{border:1px solid #FFF;border-collapse:collapse}
td,th{padding:5px;text-align:center; color:#780000}
th{background:#4B4B25;color:#FFF}
col.col1{width:26%; background: #E7A92C}
col.col2{width:15%; background: #A56023; text-decoration: line-through;}
col.col3{width:15%; background: #919B4E}
col.col4{width:15%; background: #887370}
col.col5{width:29%; background: #74A3D5}
tr:hover td{background: #E6DDC8}

.strike {  
  text-decoration: line-through;  
}  

#gallery-photo {
	/*background: #eee; */
	width: 100%;
	/*border: 1px solid #000;*/
	margin: 0 auto;
	text-align: center;
}

.box-photo {
	display: -moz-inline-box;
	-moz-box-orient: vertical;
	display: inline-block;
	width: 120px;
	margin: 5px;
	vertical-align: top;
	
}
*:first-child+html .box-photo { 
	display: inline;
}

.thumb-photo {
	width: 120px;
	height: 80px;
	display: table-cell;
	vertical-align: middle; 
/*	background: #9BB452; */
	border: 0px; /* solid #9BB452; */
	text-align: center;
}

.thumb-photo * {
	vertical-align: middle;
}

.thumb-photo img {
	border: 0px solid #aaa;
}

*:first-child+html .thumb-photo {display:block}
*:first-child+html .thumb-photo span {
    display: inline-block;
    height: 100%;
    width: 0px;
}

.caption-photo {
	background: #9BB452; 
	font-size: 0.85em;
}

#gallery-to {
	background: #cb5c0b;
	width: 100%;
	border: 0px solid #000;
	margin: 0 auto;
  /*border-top:1px solid #fff;*/
	font-size: 0.80em;
/*	text-align: center; */
}

.box-to {
	display: -moz-inline-box;
	-moz-box-orient: vertical;
	display: inline-block;
	width: 170px;
	margin: 5px;
	vertical-align: top;
}
*:first-child+html .box-to { 
	display: inline;
}
.caption-to {
	font-size: 0.80em;
	background: #cb5c0b;	
}

/* Stratagemma per chiudere la parte centrale della pagina che altrimenti creava casini */
#chiusa { 
	width: 100%;
	margin: 0 auto;
  height: 0	px;
}
*:first-child+html #chiusa { 
  height: 1px;
  padding-top: 0px;
}
#chiusa, #chiusa p {
  margin: 0 -15em;
  padding: 0 15em;
  text-align: center;
  clear: both;
  width: 100%;
  background: #fff;
}

