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;
	float: right;
	font-size: 90%;
	color: #7B8829;
}

#navbar
{
	background-image: url(images/bar.gif);
	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: #7B8829;
}

#navbar div.right input
{
    font-size: 0.9em;
    color: #7B8829;
    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
{
	margin:0 auto;
	width:680px;
	height: 520px;
	text-align: left;
	background: url(images/fuzzy_rectangle.png);
	padding: 30px 40px 0px 40px;
}

#fuzzybox table
{
	width: 100%;
}

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

#fuzzybox table tr.total
{
    background-color: #F0050A;
    font-weight: bold;
}

#footer
{
    padding: 10px 0 10px 0;
	font: 90% Helvetica, Arial, sans-serif;
	color: #7B8829;
	text-align: center;
	background-color: #ddd;
	clear: both;
}

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: #7B8829;
	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: #7B8829; }

.red { color: #F0050A; }


.support
{
	font-weight: bold;
	color: #F0050A;
	padding-bottom: 2em;
	margin-bottom: 1em;
	border-bottom: 1px dotted #666;
}

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: #7B8829;
	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: #7B8829;
	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: #7B8829; 
    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;
}

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