/* Base CSS file for all carrot.org pages */

/* Abbriviations have fltout descriptions */
abbr
{
	color: orange;
	cursor: pointer;
	border-bottom: 1px orange dotted;
}

.lookerUpperFlyout {
  width: 240px;
  padding: 4px 8px;
  border: 2px ridge maroon;
  background-color: #ffffcc;
  z-index: 10;
  color: black;
}

/* Overall body & defaults */
body 
{
  font-family: Tahoma, Verdana, Arial, sans-serif;
  text-align: left; 
  background-color: white;
  color: #5F5F5F;
  margin: 0; 
  padding-left: 8px;
  padding-right: 8px; 
  padding-top: 2px; 
  padding-bottom: 2px;
  min-width: 720px;
}

/* Top-level structure */
div#banner
{

}

/* Sort out H1 just in case images off */
div#banner H1
{
  color: white;
  font-size: 160%;
}

div#banner div.boxcontent
{
  overflow: hidden;
  height: 80px;  
}

table#main
{
  width: 100%;
  position: relative;
  margin-top: 12px;  
}

table#main td
{
  vertical-align: top;
}

td#navigation
{
  height: 100%;
  width: 12%;
  padding-right: 1em;
  padding-left: 1em;
}

td#content
{
  padding-top: 12px;
  width: 60%;
  padding-left: 1em;
  border-left: dotted 2px #C0C0C0;
  padding-right: 1em;
  border-right: dotted 2px #C0C0C0;
}

td#news 
{
  font-size: 90%;
  position: relative;
  width: 17.5%;
  padding-left: 1em;
  padding-right: 1em;
}


div#footer  
{
  clear: both;
  margin-top: 12px;
  padding: 6px;
  background-color: #e5e5e5;
  height: 1.5em; 
  width: 99%;
  color: #5F5F5F;
  font-size: x-small;
}

div#footer a
{
  font-weight: bold;
}

/* Banner structure */
img#nospam
{
	position: absolute;
	top: 0px;
	left: 24px;
}

img#carrot
{
	position: absolute;
	top: 0px;
	right: 24px;
}

/* Menu structure */
div#listcontainer 
{
  text-align:left;
  font-size: 90%;
} 

div#listcontainer ul 
{
  margin: 0;
  padding: 0;
  border-top: 2px dotted #C0C0C0;
  list-style: none; 
}

div#listcontainer li 
{
  border-bottom: 2px dotted #C0C0C0;  
  padding: 0.5em; 
  position: relative;  /* For image buttons */
}

div#listcontainer ul li p
{
  margin: 0.4em 0.4em 0.2em 1.2em; 
}

div#listcontainer a.withbutton
{
  margin-right: 24px;
}

div#listcontainer img.webcoin
{
  position: relative;
  top: 0px;
  margin-top: 0.1em;
}

/* Content structure */
td#content
{
  font-size: 90%;	
  line-height: 130%;
}

td#content ul
{
  padding-left: 1em;
}

td#content p 
{
}

td#content li
{
  margin-top: 0.5em; 
}

/* Two-column (2:1) layout */
div.two-column
{
}

div.two-column-left
{
}

div.two-column-right
{
   margin-left: 3%;
   padding-left: 3%;
   width: 35%;
   float: right;
   border-left: 2px dotted #C0C0C0;  
   margin-bottom: 1em;
}

div.warning 
{
  clear: both;
  margin-top: 1em;
  color: white;
  font-size:90%; 
}

div.warning h2
{
  font-size: 150%;
}

div.warning div.boxcontent
{
  padding: 0.5em;
}

/* News structure */
td#news div.ipurse
{
  text-align: center;
}

td#news h2
{
  margin-top: 1em;
  padding-top: 0;	
  padding-bottom: 2px;
  border-bottom: 2px dotted #C0C0C0;  
}

td#news img.bullet
{
  vertical-align: middle;	
}

p.moreinfo
{
}
	
p.moreinfo A
{
  font-weight: bold;
}

img.paper
{
  border: solid 1px #5F5F5F;
  width: 40%;
  float: right;
  margin-left: 1em;
}

/* Footer structure */
div#copyright
{ 
  margin-top: 0.3em;
}

div#languages
{
  float: right; 
}

div#languages A
{ 
  padding-right: 1em;
}

div#languages A.selected
{ 
  text-decoration: underline;
}

/* Text structure */
h1 
{
  font-size: 140%;
  font-weight: normal;
  margin-top: 0;
}

h2
{ 
  font-size: 110%;
  font-weight: bold;
  margin-top: 0;
}

h3 
{
  font-size: 90%;
  font-weight: bold;
}

/* Default links */
a:link 
{
  color: #5F5F5F; 
  text-decoration: none; 
}

a:visited 
{
  color: #5F5F5F; 
  text-decoration: none; 
}

a:active 
{
  color: #5F5F5F; 
  text-decoration: none; 
}

a:hover 
{
  color: #FF9900; 
  text-decoration: none; 
}

a img
{
   border: 0; 	
}

/* Links in content are orange */
td#content a
{
  color: #FF9900; 
}

td#content a:hover
{
  color: #E85500; 
}

.thankyou
{
	font-size: 140%;
	font-style: italic;
}
	
/* Generic box-structure forms */
table.form 
{
  clear: left;
  margin-left: 2em;
  margin-right: 2em;
  background-color:#E5E5E5; 
}

table.form tr.header
{
  background-color:#C0C0C0; 
  font-weight: bold;
}	
	
table.form tr.header th,
table.form tr.header td
{
  padding-top: 0.5em;
  padding-bottom: 0.5em;	
}

table.form th, table.form td 
{
  text-align: left;
  font-size: 90%;
  padding-left: 1em;
  padding-right: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

table.form th
{
  font-weight: bold;
}

table.form td.spacer
{ 
  background-color: white; 
}

table#summary td.spacer2
{
  background-color: white;
  margin-top:1em;
  margin-bottom:1em;
  padding-top: 1em;
  padding-bottom:1em;
}

tr.carrots td
{
  background-color: #FFCC99;
}

/* General divs for form buttons */
div.proceed 
{
  margin-top: 1em;
  margin-bottom: 1em;
  margin-right: 2em;
  text-align:right;
}

div.proceed-inline
{
  float: right;
  margin-right: 2em;
  text-align:right;
}

div.choose
{
  margin-top: 1em;
  margin-left: 1em;	
}

div.choose input
{
  margin-left: 1em;
}

/* Products page */
div.currency
{
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 2em;
}

table#products
{
  border: solid 1px black;
}

table#products tr.header td.push-right
{
  text-align: right;
}

table#products td 
{
  font-size: small;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: solid 1px black;
}

table#products td.product-description img
{
  float: right;
  padding-right: 1em;
  padding-left: 1em;  	
}

table#products td.purchase-currency
{
  width: 20%;
  padding-right: 1em;
  padding-top: 1em;
  vertical-align: top;
  text-align: right;
}

table#products td.purchase-price
{
  width: 20%;
  padding-right: 1em;
  padding-top: 0.5em;
  vertical-align: top;
  text-align: right;
}

table.form td.purchase-details
{
  padding: 1em;
  font-weight: bold;
  text-align: right;
}

table.form td.product-description img
{
  float: right;
  padding-right: 1em; 	
}

table.form td.currency-selection
{
  padding: 1em;
  font-weight: bold;
  text-align: right;
}

div.purchase-price
{
  font-size: 130%;
}

div.purchase-carrots
{
  margin-top: 0.5em;
  color: #ff9000;
  font-size: 100%;
}

div.purchase-select
{
  margin-top: 0em;
}

table#summary th.total
{
  text-align: right;
  font-size: 110%;
}

table#summary td.total
{
  text-align: right;
  font-size: 110%;
  font-weight: bold;
}

/* Redemption form */
div#redemption-form
{
  width: 70%;
}

div#redemption-form table
{
  width: 90%;
  border: solid 1px black;
  margin-bottom: 1em;
}

div#redemption-form table td, div#redemption-form table th
{
  padding: 0.5em;
  width: 50%;
  vertical-align: top;
}

div#redemption-form table th
{
  text-align: right;
  border-right: solid 1px black;	
}
	
/* Purchase summary */
table#summary
{ 
  border-top: solid 1px black;
  border-left: solid 1px black;
  margin-bottom: 1em;
}

table#summary th
{ 
  border-bottom: solid 1px black;
  border-right: solid 1px black;
  margin-right: 1em;
  padding-right:1em;
  text-align:left;
}

table#summary th.packageName
{
    text-align:left;
}

table#summary td
{ 
  border-bottom: solid 1px black;
  border-right: solid 1px black;
}

table#summary td.total
{ 
  text-align:right;
  font-weight: bold;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 1em;
}

div#payment-method
{ 
  margin-bottom: 2em;
  padding-left: 2em;
}

table#summary td.price
{
    text-align: right;
    margin-right: 2em;
    padding-right: 1em;
    
   
}

table#summary td.quantity
{
    text-align: right;
    margin-right: 2em;
    padding-right: 1em;
   
}

table#summary td.emailField
{
   text-align: center;
}

div#payment_review
{
   text-align: center;
   font-family: cursive;
   font-size: 150%;
   background-color: silver;
   color: white;
   padding: 0.8em;
   border: 1px solid;
}

/* Frequently asked questions */
div#faq
{
  display: inline-block;  /* IE hack to give 'layout' so sizing works */
}

div#faq table.faq-two-column
{
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
}

div#faq table.faq-two-column td
{
   width: 50%;
   vertical-align: top;
}

div#faq table.faq-two-column td.left
{
   padding-right: 4em;
}

div#faq table.faq-two-column td.right
{
   border-left: 2px dotted #C0C0C0;  
   padding-left: 4em;
}

div#faq p.faqTOC img.bullet
{
  vertical-align: middle;	
}

div#faq p.faqTOC a
{
  color: #5f5f5f; 
}

div#faq p.faqTOC a:hover
{
  color: #FF9900; 
}

div.navbuttons
{
  text-align: center;
  margin-top: 1em;
}

div.backbutton
{
  display: inline;
  margin-right: 1em;
}

div.nextbutton
{
  display: inline;
  margin-top: 1em;
}

div.faqItem
{
  padding: 1em;
}

div.faqItem h2
{

}

p.faqDate, p.newsDate
{
  margin-top: 0.3em;
  margin-bottom: 0;
  font-size: 80%;
  border-bottom: 2px dotted #C0C0C0;  
  padding-bottom: 0.5em;
}

div.faqContent, div.newsContent
{
  padding-top: 1em;
}

div.dimmed
{
	color: rgba(0,0,0,0.05);
	filter: alpha(opacity = 0.05);
}

div.faqContent span.first
{
  color: #FF9900; 
  font-size:170%;
}

div.faqContent div.q
{
  padding-top: 0.5em;  
}

div.faqContent div.a
{
  border-bottom: 2px dotted #C0C0C0;  
  padding-bottom: 1em;
}

div.faqContent div.note div.centerImage
{
padding: 10em;
  text-align: center;
}

div.faqContent img
{
  display: block;
  text-align: center;
  margin: 2em;
  background-color: white;
}

div.faqContent div.email
{
  font-family: monospace;
  color: black;
  padding-left: 2em;
  padding-right: 2em;
}

div#salesId
{

  float:left;
  width:40%;
  height:60px;
  padding:1em;
  border-top:solid 1px black;
  border-bottom: solid 1px black;
  border-left: solid 1px black;

  text-align:left;
  background-color:#faebda;
  color:black;
}

div#email
{
  padding:1em;
  border-top:solid 1px black;
  border-bottom: solid 1px black;
  height:60px;
  border-right: solid 1px black;
  border-left: solid 1px black;
  text-align:left;
  background-color:#faebda;
  color:black; 
}

div#instructions
{
float:left;
}

div#submit
{
 padding:1em;
    clear:both;
}

div.faqItem div.backbutton
{
  padding-top: 1em;
}

/* Struts errors */
div.error
{
  margin: 1em;
/*  max-width: 20em; */
}

p.error
{
  border: solid 2px red;
  padding: 0.3em;
  color: red;
}
/* Rounded corner box trickery */
DIV.box
{
  position: relative;
  min-width: 100px;
  z-index: 1;
  padding-left: 8px;
}

/* Default background for boxes */
div.box div.top,
div.box div.top div.left,
div.box div.bottom,
div.box div.bottom div.left
{
  background: #5F5F5F url(/images/grey-background-rounded.gif) no-repeat top right; 
}

/* Thin top stripe */
div.box div.top
{
  position: relative;  /* Become scope for left below */
  background-position: top right;
  width: 100%;
  height: 8px;
  z-index: -1;
  font-size: 1px;
}

div.box div.top div.left
{
  position: absolute;
  top: 0px;
  left: -8px;
  background-position: top left;
  width: 8px;
  height: 8px;
}

/* Bottom stripe, containing content */
div.box div.bottom
{
  position: relative;
  _height: 100%;  /* IE hack to fix bad containing height */
  background-position: bottom right;
  padding-bottom: 1px;  /* Avoid clipping leakage over antialiased bottom of box */
}

div.box div.bottom div.left
{
  position: absolute;
  top: 0px;
  left: -8px;
  background-position: bottom left;
  width: 8px;
  height: 100%;
   /* Evil IE6 hack */
  _height: expression(this.parentNode.offsetHeight + 'px');
}

/* Content - offset slightly to centre in box */
div.box div.bottom div.boxcontent
{
  position: relative;
  left: 0px;
  margin-right: 8px;
  z-index: 1;
}

/* used to hide the request to */
div#installpurse
{
	display: none;
}

/* paypal transfer terms and conditions */
div#redemptionTerms table
{
	margin-left: 10px;
	margin-right: 10px;	
	background-color:#ffffff;
	border: 1px solid #222222;
}

div#redemptionTerms table th
{
	text-align: center;
	background-color: #aaaaaa;
	text-color: #0;
	padding: 6px;
}

div#redemptionTerms table td
{
	text-align: right;
	background-color: #eeeeee;
	padding: 3px;
}

.decimal
{
	top: 100%;	
}

.heading
{
	text-align: right;
	font-weight: bold;
}

span.comment
{
  color: #0000FF;
}

span.important
{
	color: red;
}

/* Formatting of steps */
table.steps
{
	vertical-align: middle;	
	font-size: large;
}

table.steps tr td span
{
	padding: 0.5em;
}

td.stepText
{
	background-color:#cccccc;
}

td.thisStep
{
	background-color:#ff8200;
}

table.redemptionFees
{
	font-size: 100%;
}

/* Merchant statement styling */
table.statement
{
	font-family: monospace;
	font-size: 90%;
}

table.statement, table.balance
{
	border-collapse: collapse;
}

table.statement tr th, table.balance tr th
{
	background-color: black;
	color: white;
	text-align: left;
}

table.statement tr.debit
{
	background-color: #f9e2e2;
}

table.statement tr td
{
	padding: 0.3em;
}

table.statement tr td+td
{
	text-align: left;
	color: black;
}

table.statement tr td+td+td
{
	text-align: right;
	color: grey;
}

table.statement tr td+td+td+td
{
	text-align: right;
	color: black;
}

table.statement tr td+td+td+td+td
{
	text-align: left;
	color: grey;
}

table.statement tr td+td+td+td+td+td
{
	text-align: left;
	color: black;
}

table.statement tr td+td+td+td+td+td+td
{
	text-align: left;
	color: grey;
}

table.balance
{
	font-family: monospace;
	font-size: 100%;
	margin-bottom: 20px;
	background-color: #f0f0f0;
}

table.balance tr td
{
	text-align: right;
}

/* Merchant transfer to bank styling */
table#transferToBank, table#controlPanel
{
	border: thin solid black;
}

table#transferToBank > tbody > tr > td
{
	padding: 0.5em;
}

table > tbody > tr.divider > td
{
	border-bottom: double green;
}

table > tbody > tr.sectionHeading > td
{
	background-color: #a0a0a0;
	font-size: 120%;
	font-weight: bold;
	color: orange;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

table#merchantBalanceTable
{
	border-collapse: collapse;
	width: auto;
	line-height: 130%;
}

table#merchantBalanceTable tr td
{
	text-align: right;
}

table#merchantBalanceTable tr td+td+td+td
{
	text-align: left;
}

.faint
{
	color: #b0b0b0;
}

.floatImage
{
	float: right;
}

.partition
{
	width: 100%;
	height: 6px;
	background-color: black;
	margin-top: 10px;
	margin-bottom: 10px;
}

div#reseller
{
	width: 500;
	padding: 10px;
}

.invert
{
	background-color: black;
	color: white;
	padding: 8px;
	line-height: 180%;
	text-align: center;
}

.underline
{
	text-decoration: underline;
}

/* used to hide an element */
.secret, .hidden
{
	display: none;
}

/* used to hide an element */
.reveal
{
	display: inline;
}

table.form td.fixedWidth
{
	font-family: monospace;
	font-size: 120%;
}

table.form td input
{
	font-size: 100%;
}

.overlayMessage {
position: relative;
top: -200px;
left: 0px;
background-color: white;
color: black;
border: 2px solid black;
z-index: 5;
text-align: center;
vertical-align: middle;
}

div#dialog h2 {
	margin-top: 0.5em;
}

div.closeMessage {
	background-color: black;
	width: auto;
	height: 20px;
}

div.closeMessage img {
	float: right;
}

.standout
{
	color: black;
}

#controlPanel
{
	padding-top: 0;
	padding-bottom: 0;
}

/* sliding reveal */
h2.trigger {
	padding: 0 0 0 0px;
	margin: 0 0 5px 0;
	font-size: 1em;
	font-weight: normal;
	float: left;
}
h2.trigger a {
	color: #fff;
	padding: 0;
	text-decoration: none;
	display: block;
}
h2.trigger a:hover { color: #ccc; }
h2.active {background-position: left bottom;} /*--When toggle is triggered, it will shift the image to the bottom to show its "opened" state--*/
.toggle_container {
	margin: 0 0 5px;
	overflow: hidden;
	font-size: 1em;
	clear: both;
}

/* sliding reveal end */

#carrotPurseVersion
{
	float: right;
	clear: none;
	font-size: 60%;
	padding-right: 0.5em;
	margin: 0;
	position: relative;
}

#flashComms
{
	float: right;
	position: relative;
	top: -5px;
}

#flashDebug p
{
	margin: 0;
	padding: 2px;
	font-size: 70%;
}
