table{
  font-size: 10px;
  border-spacing: 5px 0px;
}

table.two-cols{
  width: 100%;
}
table.two-cols > th,
table.two-cols > td{
  width: 50%;
  padding: 0;
}

table.rows{
  border: 1px solid #ddd;
  background-color: #ddd;
  border-spacing: 2px 3px;
  width: 95%;
  margin: auto;
}
table.rows thead td,
table.rows thead th{
  background-color: #fcfcfc;
}
table.rows tbody td{
  background-color: #f0f0f0;
  vertical-align: top;
}
table.rows td,th{
  padding: 3px 5px;
  text-align: left;
}

table.rows td a{
  display: block;
  color: #666;
  text-decoration: none;
}
table.rows td a:hover{
  color: #000;
  background-color: #e0e0e0;
}
/* ----------------------- */


form{
  position: relative;
  display: block;
  /*overflow: auto;*/
}

form p.message
{
  background-color: #f6f6f6;
  border-bottom: 1px solid #eeeeee;
  padding: 1ex;
  text-align: center;
}
.error { color: red; }
.success { color: green; }


form div.element
{
  margin: 1% 1%;
  padding: 1%;
  border-top: 1px solid #eeeeee;
  background: transparent url(/www-images/30px-ghost-white.gif) repeat-x;
  display: block;
  
  /*float: left;
  width: 46%;*/
  
}
form div.element label
{
  display: block;
  /*clear: both;*/
  font-weight: bold;
  margin-bottom: 0.2ex;
  color: #666;
}
form div.element input
{
  padding: 1px 2px 0 2px;
}
form div.element input,
form div.element select,
form div.element textarea
{
  margin-bottom: 0.5ex;
}

form div.element p
{
  margin: 0;
}
form div.element p.error
{
  color: red;
  margin: 0;
  display: list-item;
  list-style-type: disc;
  list-style-position: inside;
  text-align: left;
  font-size: 0.8em;
}
form div.element p.originalvalue
{

}

form input.submit
{
  margin: 1ex 0 0ex 0;
}


/* ------------------ */

fieldset.element
{
  /*width: 46%;*/
  width: 96%;
  margin: 0.5% 1%;
  padding: 0.25% 1% 1%;
  float: left;
  border-style: solid;
  border-color: #ccc;
  border-width: 1px 0 0 0;
  /*background-image: url();*/
}
fieldset.element legend
{
  padding: 0.3ex 2ex;
  border-style: solid;
  border-color: #ccc;
  border-width: 0 1px;
  background-color: #f3f3f3;
  color: #666;
}

form div.element
{
  padding: 0.2ex 1ex;
  margin: 0;
}

/*
form input.submit
{
  display: block;
  clear: both;
  position: relative;
  top: 3ex;
  margin: auto auto 3ex auto;
  
}
*/


input,
select,
textarea
{
  font-size: 10px;
  width: 200px;
}

textarea{
width: 400px;
}

table input,
input.auto{
  width: auto;
}

.warning{
  border: 2px solid #990000;
  padding: 1ex;
  background-color: #ffcccc;
}


/* ------------------ */

div.file-download{
  /*border-top: 1px solid #ccc;*/
  clear: right;
  border: 1px solid #ccc;
  margin: 15px 0;
  padding: 0 10px;
  position: relative;
  background: transparent url(www-images/30px-ghost-white.gif) repeat-x;
}
div.file-download a.download{
  position: absolute;
  top: 0;
  right: 0;
  margin: 0 0 5px 5px;
  padding: 5px 15px;
  background: transparent url(www-images/30px-ghost-white.gif) repeat-x;
  border: 1px solid #ddd;
}

.file-download-single{
  padding: 5px;
  display: block;
  background: transparent url(www-images/30px-ghost-white.gif) repeat-x;
  width: 38ex;
  border: 1px solid #ccc;
  margin:  10px auto;
  text-align: center;
  position: relative;
}