body {  
  background-image: url(../images/tile.png);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  text-align: center; /* for IE */
}

a.anonymous {  
  text-decoration: none;
  color: #666;
}

div#global {  
  width: 92%;
  margin-left: auto;
  margin-right: auto;
  text-align: left; /* counter the body center */
}

div#header div.inside {
  height: 230px;
  background-image: url(../images/mattia.png); 
  background-repeat: no-repeat;
  color: #666;
  text-align: right;
}

div#header div.inside img {
  margin-top: 70px;
  margin-right: 3em;
}

div#languages {
  text-align: right;
  clear: both;
  padding-right: 2em;
  padding-top: 40px;
}

div#languages div {
  width: 6em;
  float: right;
  cursor: pointer;
}

div#languages div:hover {
  color: #ff9900;
}

div#sidebar {  
  float: right;
  width: 28%;
  margin-bottom: 0.8em;
}

div#sidebar div.inside table td {
  vertical-align: baseline;
}  

div#sidebar div.inside table a {  
  text-decoration: none;
  color: #666;
}

div#sidebar div.inside table a:hover {  
  color: #ff9900;
}

div#sidebar div.inside .trefl {
  text-align: center;
  padding-top: 1em;
  padding-bottom: 0.5em;
}

div#errors {
  display: none;
}

div#loading {
  position: absolute;
  border: 1px solid red;
  background-color:#f00;
  color:#fff;
  margin-top: 1em;
  margin-left: 24%;
  padding-left: 1em;
  padding-right: 1em;
}

div#content {  
  margin-right: 30%;
}

div#content div.inside {  
  color: #444;
}

div#content div.inside h2 {
  margin-top: 0px;
}

div#content div.inside ul.noBottomMargin {
  margin-bottom: 0px;
  padding-bottom: 0.5em;
}

div#content div.inside table#sails,
div#content div.inside table#attrezzature,
div#content div.inside table#coperture {  
  margin-top: 1em;
}

div#content div.inside table#sails td,  
div#content div.inside table#attrezzature td,  
div#content div.inside table#coperture td {  
  padding: 1em;
}

div#content div.inside table#sails td img,  
div#content div.inside table#attrezzature td img,  
div#content div.inside table#coperture td img {  
  border-width: 0px;
}

div#content div.inside table#inventory {  
  margin-top: 1em;
}
  
div#content div.inside table#inventory tr.evenLine {  
  background-color: #ddd;
}
  
div#content div.inside table#inventory tr.oddLine {  
  background-color: #eee;
}

div#content div.inside table#inventory td {  
  padding: 1em;
  border: 1px solid #999;
} 

div#content div.inside form, div#content div.inside form div#fieldsets {
  margin-top: 0px;
  margin-bottom: 0px;
} 

div#footer {
  clear: both;
}

div#footer div.inside {  
  font-size: 0.9em;
  text-align: center;
  color: #666;
}

div#prompt { 
  position: absolute;
  border: blue solid 1px;
  padding-left: 2em;
  padding-right: 2em;
  padding-top: 1em;
  padding-bottom: 1em;
  background-color: #ff9900;
  display: none;
}

div#prompt div#authError { 
  display: none;
}

/**********************************************************
 ***                 Rounded corners                    ***
 **********************************************************/
.top-left {
margin-top: 6em;
  margin-right: 9px; /* clip right corner */
  background-image: url('../images/corners1280x18.gif');
  height: 9px; /* vertical: show first half of the image with the top-corners in it */
  font-size: 2px; /* correct height for IE */
}

.top-right {
  margin-top: -9px; /* to level of top-left corner */
  margin-left: 9px; /* clip left corner */
  background-image: url('../images/corners1280x18.gif'); 
  background-position: 100% 0; /* show bg-image starting at the right */
  height: 9px; 
  font-size: 2px;
}

.bottom-left {
  margin-right: 9px; /* clip right corner */
  background-image: url('../images/corners1280x18.gif');
  background-position: 0 -9px; /* show under half of the image */
  height: 9px;
  font-size: 2px;
}

.bottom-right {
  margin-top: -9px; /* to level of bottom-left corner */
  margin-left: 9px; /* clip left corner */
  background-image: url('../images/corners1280x18.gif'); 
  background-position: 100% -9px; /* under half, right side */
  height: 9px; 
  font-size: 2px; 
}

.inside {
  border-left: 1px solid #8e93b1;
  border-right: 1px solid #8e93b1;
  background: #EFEFEF;
  color: #000000;
  padding-left: 10px;
  padding-right: 10px;
}

.notopgap {
  margin-top: 0;
}

.nobottomgap {
  margin-bottom: 0;
}

