body
{
  background-color: #fff;
  color: #666;
  font: 12px/18px "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
  margin: 0;
}

#content
{
  margin-left: 12px;
  margin-right: 12px;
  padding: 0;
}

#header
{
  height: 55px;
  padding: 0;
  border: none;
  background-image: url(images/blocks.gif);
  background-position: 250px 0;
}

#header img
{
  position: relative;
  padding: 7px 0 0 10px;
  background-color: #fff;
}

#tagline
{
  margin: 32px 10px 0 0;
  padding: 0 3px;
  float: right;
  font-size: 90%;
  color: #333;
  background-color: rgba(160,160,160,0.4);
}

#navbar
{
  background-image: url(images/bar.png);
  color: #fff;
  padding: 0 10px 0 14px;
  height: 38px;
  line-height: 30px;
  /* makes text vertically centred */
  display: block;
}

#navbar a {
    color: #fff;
  text-decoration: none;
}

#navbar a:hover {
  text-decoration: underline;
}

#navbar div.left
{
  text-align: left;
  float: left;
}

#navbar div.right
{
  float: right;
  text-align: right;
}

#navbar div.right select
{
    font-size: 0.9em;
    color: #87AF37;
}

#navbar div.right input
{
    font-size: 0.9em;
    color: #87AF37;
    border: 1px solid #666;
    background-color: #fff;
}

#sidebar
{
  float: left;
  width: 140px;
  margin: 0;
  padding-bottom: 20px;
  background-color: #fff;
}

#middle
{
  border-left: 1px solid #ccc;
  padding: 0 0px 10px 10px;
  margin-left: 140px;
}

#namebox
{
    border: 1px dashed #ccc;
    padding: 10px;
    margin: 10px;
  display: block;
  width: 150px;
    background-color: #f0f0f0;
    float: right;
}

#serverbox
{
    border: 1px dashed #ccc;
    padding: 10px;
    margin: 0 10px 10px 0;
  display: block;
  width: 150px;
    float: left;
}

#fuzzybox
{
  display: inline-block;
  text-align: left;
  margin-left: 20px;
  padding: 20px;
  background-color: #FAF5AF;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #FAF5AF), color-stop(0.5, #FAF5AF), color-stop(1.0, #FAF7C8) );
  background: -moz-linear-gradient(center top, #FAF5AF 0%, #FAF5AF 50%, #FAF7C8 100% );
  box-shadow: 3px 5px 5px #ccc;
  -webkit-box-shadow: 0px 3px 8px #ccc;
  -moz-box-shadow: 3px 5px 5px #ccc;
}

#fuzzybox table td
{
  color: #000;
  padding: 10px;
}

#fuzzybox table tr.total
{
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    -moz-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    -webkit-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    font-weight: bold;
    text-decoration: underline;
}

#you_could_say
{
  width: 30ex;
  padding: 10px;
  color: #333;
  display: inline-block;
  margin: 30px;
  background-color: #74ADD6;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #A6DAFF), color-stop(0.5, #A6DAFF), color-stop(1.0, #BAE2FF));
  background: -moz-linear-gradient(center top, #74ADD6 0%, #74ADD6 50%, #8ACEFF 100% );

  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  -moz-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  -webkit-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  box-shadow: 3px 5px 5px #ccc;
  -webkit-box-shadow: 0px 3px 8px #ccc;
  -moz-box-shadow: 3px 5px 5px #ccc;
}

#footer
{
  padding: 10px 0 10px 0;
  font: 90% Helvetica, Arial, sans-serif;
  color: #87AF37;
  text-align: center;
  background-color: #ddd;
  clear: both;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  -moz-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

table.stata
{
  margin: 1ex 0 1ex 0;
  width: 100%;
}

table.fiftyfifty td
{
    width: 50%;
    padding-right: 20px;
}

div.centre
{
  margin:0 auto;
  width:50%;
  text-align: left;
}

div.download_box
{
  margin:0 auto;
  width:70%;
  text-align: left;
  border: dashed 1px #999;
  padding: 10px;
}

div.hidden { display: none; }

img
{
  border: none;
}

img.right
{
    padding: 10px;
    clear: right;
}

img.service_type
{
    float: right;
    margin: 0 15ex 0 10ex;
}

a
{
  color: #87AF37;
  text-decoration: underline;
}

a:hover
{
  text-decoration: underline;
  color: #F0050A;
}

h1
{
  font: 180% georgia,serif;
  padding: 5px;
  line-height: 3em;
  vertical-align: bottom;
  margin: 0;
  background-image: url(images/bar_red.gif);
  color: #fff;
  display: inline;
}

h1 a {
    text-decoration: none;
  color: #fff;
}
h1 a:hover {
  color: #fff;
}

h2 {  font: 150% georgia,serif; }

h3
{
  font: 150% georgia,serif;
  color: #F0050A;
}

h3 a, h3 a:hover { color: #fff; }

.bold { font-weight: bold; }

.green { color: #87AF37; }

.red { color: #F0050A; }


.support
{
  font-weight: bold;
  color: #F0050A;
  margin-bottom: 1em;
}

#sidebar h4 {
  margin: 15px 5px 5px;
}

div.sidebar_link_wrapper a, div.sidebar_link_wrapper a:visited
{
  display: block;
  color: #868686;
  font-size: 0.9em;
  padding: 3px 5px 5px 10px;
  margin: 0;
  text-decoration: none;
}

div.sidebar_link_wrapper a:hover, div.sidebar_link_wrapper a:active
{
  background: #a5b537;
  color: white;
  text-decoration: none;
}

.slideshow
{
    text-align: center;
}

.slideshow img
{
    margin-right: 6px;
    padding: 6px;
    background-color: #ccc;
}

.popup { text-align: right; }

.popup a img
{
    visibility: hidden;
  height: 0;
  width: 0;
  border-width: 0;
}

.popup a:hover img
{
    visibility:visible;
    position: absolute;
    left: 10px;
    bottom: 10px;
  height: 325px;
  width: 610px;
}

fieldset
{
  border: 1px #666 dashed;
  margin: 0 0 2em;
  width: 50%;
}

#navbar fieldset
{
    border: none;
    margin: 0;
    width: auto;
    padding: 0;
}

legend
{
  font-weight: bold;
  color: #fff;
  background-color: #666;
  padding: 5px;
  margin: 0 0 1em;
}

fieldset label { width: 100ex; }
fieldset p { margin: 0 0 1ex; }

.right {
    float: right;
}

.new {
    background-color: yellow;
    color: #F0050A;
    padding: 0 3px 0 3px;
}

fieldset input, fieldset textarea
{
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: inherit;
}

fieldset table th
{
  font-weight: normal;
  vertical-align: top;
  text-align: left;
}

p.result
{
  font-weight: bold;
  line-height: 5em;
}

p.stata_command
{
  font-family: courier, monospace;
  padding: 10px;
  color: #fff;
  background-color: #000;
}

p.author
{
  color: #F0050A;
  font-style: italic;
}

p.trial_description
{
    margin: 5px;
}

.result img
{
  margin: 1em 1em 0 0;
  vertical-align: top;
}

fieldset ul
{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

fieldset ul.matches li, #trial_information
{
  position: relative;
  padding: 3px;
  margin: 10px 0 10px 0;
  border: 1px solid #bbb;
}

#trial_information
{
  width: 50%;
}

fieldset ul.matches li h3, #trial_information h3
{
  border-bottom: 1px solid #bbb;
  padding: 5px;
  font-weight: bold;
  background: #87AF37;
  margin: -3px -3px 10px -3px;
}

table#create_trial th { width: 30ex; }

.trial_created
{
  color: #fff;
  font: 0.6em Helvetica, Arial, sans-serif;
  text-align: right;
}

.errors
{
  padding: 0 1em 1ex;
  margin: 1em 0;
  border: 1px solid #bbb;
}

.errors ul
{
    list-style-type: square;
  padding-left: 90px;
  margin: -30px 0 30px 0;
  color: #f0050a;
}

.errors ul li
{
    padding: 5px;
}

.fieldWithErrors { display: inline; }
.fieldWithErrors input { background-color: yellow; }

.error
{
  padding: 1ex 1em 1ex 30px;
}

#contactForm .error
{
    padding: 1px;
    color: red;
    display: block;
}

#contactForm td
{
    vertical-align: top;
}

.italic
{
  font-style: italic;
}

#trial_information .randomisations_count
{
    padding: 5px 5px 0 5px;
  color: #87AF37;
  font-style: italic;
}

form#randomisations
{
  clear: both;
  padding: 1em 0 0;
  border-top: 1px dotted #666;
}

#existing_randomisations table
{
    width: 80%;
  margin: 1ex 0 1ex 0;
  border-collapse: collapse;
}

#existing_randomisations th,
#existing_randomisations td
{
  text-align: left;
  padding: 1ex 2ex;
}

#existing_randomisations td
{
  border-bottom: 1px dashed #ccc;
}

#existing_randomisations th {
    background-color: #87AF37;
    color: #fff;
}

#type_of_code table
{
    width: 80%;
  margin: 1ex 0 1ex 0;
  border-collapse: collapse;
}

#type_of_code th,
#type_of_code td
{
  text-align: left;
  padding: 1ex 2ex;
}

#type_of_code td
{
  border-bottom: 1px dashed #ccc;
}

#type_of_code th {
    background-color: #888;
    color: #fff;
}

ul#power
{
    float: right;
    margin-top: 0;
}

#adsense
{
    border-top: 1px dashed #999;
    padding-top: 1em;
    margin: 2em 0 0 0.3em;
}

#simple_price, #upgrade_price {
  float: left;
  border: 3px solid #777;
  background-color: #eee;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #eee), color-stop(0.5, #f9f9f9), color-stop(1.0, #f9f9f9));
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 2px 10px;
  margin: 20px 20px 30px 0;
}

#simple_price table.simple th, #upgrade_price table.simple th {
  background-color: transparent;
  font-weight: bold;
  color: #333;
  padding: 2px 5px;
}

#upgrade_price {
  clear: right;
  border: 3px solid #444;
}

#upgrade_price h2 {
  color: #f0050a;
}

ul.tick li {
  list-style-image: url(images/tick.png);
  padding: 6px;
}

p.to_purchase {
  clear: left;
}

table.simple
{
  margin: 1ex 0 1ex 0;
}

table.simple th,
table.simple td
{
  text-align: left;
  padding: 1ex 2ex;
}

table.simple td
{
  border-bottom: 1px dashed #ccc;
}

table.simple th {
    background-color: #888;
    color: #fff;
}

.groupA { color: #f0050a; }
/*.groupB { background-color: #fff; }*/

