/*
+-----------------------------------------------------------------------+
| Main stylesheet for the doGoodr Fund
+-----------------------------------------------------------------------+
| Standard colors:
|     Black:      #000000
|     White:      #ffffff
|     Grey:       #a2b0c5
|     Red:        #ff0000
|     Blue:       #000090
+-----------------------------------------------------------------------+
*/

/** Undo some styles from YUI base.css
-------------------------------------------------------- */

fieldset, table, pre {
	margin: 0px;
	border: 0px;
}

ul li {
	list-style: none;
}

th, td {
	border: none;
}


/** Main page elements, used across entire site
-------------------------------------------------------- */

html, body {
	margin: 0px;
	padding: 0px;
}

body {
	color: #000000;
	background: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin: auto;
	height: 100%;
}

h1, h2 {
	margin: 0px;
}

h1 {
	color: #999999;
	font-size: 24px;
	font-weight: normal;
	text-transform: uppercase;
	line-height: 24px;
	margin-bottom: 10px;
}

h2 {
	font-size: 18px;
	line-height: 18px;
	margin-bottom: 15px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 14px;
	margin: 10px 0px;
}

h5 {
	font-size: 12px;
	margin: 10px 0px;
}

h6 {
	font-size: 14px;
	font-weight: normal;
}

a {
	color: #000090;
	text-decoration: none;
}

a:hover, a.hover {
	color: #ff0000;
	text-decoration: underline;
}

a img.image_link {
	border: solid 1px #000090;
}

a:hover img.image_link {
	border: solid 1px #ff0000;
}

ul {
	margin-left: 15px;
}


/** Main structural classes
-------------------------------------------------------- */

/* div#wrapper1 wraps entire page, including header, footer, and sidebars */
#wrapper1 {
	margin: 0px auto;
	width: 855px;
}

/* div#wrapper2 wraps center content area */
#wrapper2 {
	clear: both;
}

#navigation_bar {
	text-align: left;
	margin-left: 170px;
	padding-left: 20px;
}

/* div#content is the center column, containing primary content */
#content {
	width: 660px;
	float: left;
	position: relative;
}

#sidebar {
	width: 170px;
	min-height: 200px;
	float: left;
	position: relative;
}


/** Utility classes
-------------------------------------------------------- */

.current, .current:hover, 
.current a, .current a:hover, 
a.disabled, a.disabled:hover {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	cursor: default;
}

.current, .current:hover, 
.current a, .current a:hover {
	color: #000000 !important;	
}

.clearfix {
	overflow: hidden;
}

.safe_clearfix:after {
	content: ".";
	display: block;
	height: 0px;
	clear: both;
	visibility: hidden;
}

.usernote {
	color: #ff0000 !important;
}

p.usernote {
	margin: 1em 0px;
}

.usernote_box {
	background: #fde9a3;
	font-weight: bold;
	padding: 2px 5px;
	width: 460px;
	line-height: 16px;
}

.error {
	color: #ff0000; 
	font-size: 12px;
	font-weight: bold; 
}

.error_box {
	color: #ff0000; 
	background: #ffff00;
	font-weight: bold; 
	padding: 3px;
	margin: 10px;	
}

/* fieldWithErrors class is inserted by a standard Rails error helper */
div.fieldWithErrors {
	display: inline;
}

div.fieldWithErrors input, input.fieldWithErrors {
	color: #f91a00;
	background: #fdf8ad;
}

img.dogoodr_logo {
	margin-bottom: -1px;
}

.indent {
	margin-left: 15px !important;
}

ul.noindent {
	margin-left: 0px !important;
}

.left {  
	float: left;
}

.right {  
	float: right;
}

.center {
	text-align: center;
	margin: auto;
}

img.center {
    display: block;
}

.clear {
	clear: both;
}

.inline {
	display: inline;
}

.block {
	display: block;
}

.hidden {
	visibility: hidden;
}

.underline {
    text-decoration: underline;
}

.above_element {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}

span.required {
	color: #ff0000;
}

div.divider {
	height: 1px;
	width: 600px;
	border-bottom: dotted 1px #000000;
	margin: 20px 0px;
}

ul.bulleted_list li {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

div.medallion a {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

div.medallion img {
	display: block;
	margin: 0px auto !important;
}

.close_button {
	font-weight: normal;
	font-size: 11px;
	margin-top: 1px;
	float: right;
}


/** Header and navigation bar
-------------------------------------------------------- */

#header {
	height: 80px;
	border-bottom: 5px solid #46618c;
}

#navigation_bar {
	height: 50px;
}

ul.navigation_menu {
	margin: 0px;
}

#header ul.navigation_menu {
	margin-top: 35px;
	float: right;
}

#navigation_bar ul.navigation_menu {
	margin-top: 10px;
	float: left;
}

ul.navigation_menu li {
	font-size: 12px;
	font-weight: bold;
}

ul.horizontal_menu li {
	float: left;
	margin-right: 5px;
}

ul.navigation_menu li.last {
	margin-right: 0px;
}

ul.navigation_menu a {
	font-weight: normal;
}


/** Sidebar
-------------------------------------------------------- */

#sidebar ul.navigation_menu li {
	font-size: 14px;
	margin-bottom: 10px;
}


/** Center content area
-------------------------------------------------------- */

#content {
	min-height: 200px;
	padding-left: 20px;
	border-left: solid 1px #a2b0c5;	
}

body.contact #content {
	border-left: solid 1px #ffffff;
}


/** Footer
-------------------------------------------------------- */

#footer {
	margin-top: 50px;
	border-top: solid 1px #a2b0c5;
}

#footer p {
	font-size: 12px;
	text-align: center;
	margin-top: 10px;
}


/** Popboxes
-------------------------------------------------------- */

div.popbox {
	color: #444444;
	background-color: #ffffff;
	font-size: 13px;
	font-style: italic;
	line-height: 1.0em;
	text-align: left;
	width: 150px; 
	border: 1px solid #840cff;
	position: absolute;
	z-index: 10;
}

div.popbox p {
	margin: 0.5em 0em;
}

div.popbox strong {
	color: #000000;
	font-style: italic;
}

/* Drop shadow on instruction and pop-up boxes */
div.box_content {
	background: url('/images/shadow.png') no-repeat bottom right;
	position: relative;
	right: -7px;
	bottom: -7px;
	float: left;
}

div.popbox div.box_content {
	padding: 0px 15px 10px 5px;
	margin: -3px 0px 0px -3px;
}


/** Forms
-------------------------------------------------------- */

input, select, option, textarea {
	font-size: 12px;
	font-weight: normal;
}

input.textfield, textarea {
	border: solid 1px #7f9db9;
}

input.button, form.button-to input { 
	margin-left: 3px;
}

input.textfield, input.button {
	padding: 2px 5px;
}

textarea {
	padding: 1px 2px;
}

select.select_short1, input.textfield_short1 {
	width: 120px !important;
}

input.textfield_short2 {
	width: 60px !important;
}

input.textfield_long {
	width: 180px;
}

input.textfield_long2 {
	width: 230px;
}

select.select_long2 {
	width: 242px;
}

.inputrow {
	min-height: 1.0em;
	overflow: hidden;
}

div.inputrow + div.inputrow {
	margin-top: 10px;
}

div.inputrow label, div.inputrow input, div.inputrow select {
	vertical-align: middle;
}

.inputrow label + input {
	margin-left: 15px;
}

div.info_form {
	width: 460px;
	margin-bottom: 30px;
}

div.info_form div.label, div.info_form div.value {
	float: left;
	overflow: hidden;
}

div.info_form div.label {
	text-indent: 15px;
	width: 180px;
}

div.info_form div.value {
	width: 320px;
}

div.info_form input.button {
	margin-top: 5px;
}

/* Medallion links */



/** Front page
-------------------------------------------------------- */

div.dogoodr_screenshot {
	text-align: center;
	margin-top: 30px;
}

div.dogoodr_screenshot p.usernote {
	font-size: 12px;
}


/** About pages
-------------------------------------------------------- */

h3.has_subtitle {
	margin-bottom: 0px;
}

h4.subtitle {
	margin-top: 0px;
}

dl.advisors, dl.advisors dt, dl.advisors dd {
	margin-left: 0px;
}

dl.advisors dt {
	font-weight: bold;
}

dl.advisors dd {
	margin-bottom: 10px;
}

div.document li {
	margin-bottom: 10px;
}

div.document ul li {
	list-style: disc;
}


/** How-it-Works pages
-------------------------------------------------------- */

div.diagram_links a, div.extra_links a {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	line-height: 1.1em;
	display: block;
	position: absolute;
}

body.how_it_works p.usernote {
	font-size: 12px;
	text-align: center;
	margin: 2em auto 0em auto;
}

body.how_it_works div.diagram {
	background-position: top center;
	background-repeat: no-repeat;
	width: 625px;
	margin: 0px auto;
	position: relative;
}

body.how_it_works #how_wealth {
	background-image: url('/images/how-wealth.jpg');
	height: 520px;
}

body.how_it_works p.learn_more {
	text-align: center;
	margin: 20px auto;
}

/* Creating Wealth */

#wealth_people_link {
	top: 75px; 
	left: 55px;
}

#wealth_people_box {
	top: 0px; 
	left: -10px;
	width: 190px;
}

#wealth_traffic_link {
	top: 75px; 
	left: 495px;
}

#wealth_traffic_box {
	top: 10px;
	left: 450px;
	width: 190px;
}

#wealth_members_vote_link {
	top: 270px;
	left: 245px;
}

#wealth_members_vote_box {
	top: 185px;
	left: 225px;
	width: 190px;
}

#wealth_people_donations_link {
	top: 375px;
	left: 60px;
}

#wealth_people_donations_box {
	top: 280px;
	left: 15px;
	width: 190px;
}

#wealth_fund_holdings_link {
	top: 375px;
	left: 485px;
}

#wealth_fund_holdings_box {
	top: 290px;
	left: 425px;
	width: 190px;
}


/** Contact page
-------------------------------------------------------- */

body.contact p.usernote {
	font-size: 12px;
}

div.contact_form div.inputrow {
	margin-top: 17px;
}

div.contact_form div.label {
	font-size: 14px;
	text-indent: 0px;
	width: 130px;
}

div.contact_form textarea {
	width: 95%;
	height: 120px;
}

div.contact_form div.submit {
	text-align: center;
}

div.contact_thanks {
	background: #ffffdd;
	border: solid 1px #dedcd2;
	padding: 10px;
	padding-bottom: 0px;
}

/** Donate
-------------------------------------------------------- */

body.donate_index #content {
	font-size: 14px;
	text-align: center;
}

div.donate_content {
	width: 494px;
	margin: auto;
}

div.donate_top {
	text-align: left;
	padding: 0px 55px 10px 55px;
	border-bottom: solid 1px #bdbcd2;
}

div.donate_top div.medallion {
    width: 75px;
    margin-right: 20px;
	padding-top: 0px;
	float: left;
}

div.donate_top h2 {
	font-size: 22px;
	margin: 5px 0px 20px 0px;
}

p.pitch {
	margin: 0.5em auto;
}

div.donate_options {
	background: #ffffdd;
	padding: 10px;
	border: solid 1px #b3b1aa;
}

div.donate_options h3 {
	font-size: 20px;
	margin: 0px auto;
}

div.donate_options p.usernote {
	font-size: 14px;
	margin-top: 5px;
}

div.donate_options div.donate_amount {
	width: 100px;
	float: left;
	margin: 10px 15px 0px 0px;
	padding-top: 1px;
}

div.donate_options div.donate_amount_more {
	width: 115px;
	margin-left: 5px;
	margin-right: 0px;
}

div.donate_options div.dollar_amount {
	font-size: 24px;
}

div.donate_amount div.dollar_amount {
	text-indent: -13px;
}

div.donate_amount_more div.dollar_amount {
	text-indent: -15px;
}

div.donate_options div.dollar_amount a {
	background: #ffffff;
	text-decoration: none;
	padding: 0px 10px;
	margin-left: 2px;
	border: solid 1px #666666;
}

div.donate_options #dollar_amount_10 a {
	padding: 0px 5px;
}

div.donate_options div.donate_amount label {
	font-size: 15px;
	font-weight: bold;
	width: 90px;
	margin: auto;
	padding: 5px 0px;
	display: block;
	cursor: pointer;
}

div.donate_options div.donate_amount_more label {
	width: 100%;
}

div.donate_options div.donate_amount input.radio {
	visibility: hidden;
}

div.donate_options input.image_submit {
	display: block;
	margin: auto;
	clear: both;
}

p.fine_print {
	color: #666666;
	font-size: 12px;
	line-height: 1.4em;
}

#donate_pitch_box {
	top: 70px;
	left: 235px;
	width: 220px;
}

body.donate_funding_proposal #content h3 {
    margin-top: 2.0em;
}

body.donate_funding_proposal img.screenshot {
    display: block;
    margin: 20px auto;
    border: solid 1px;
}

div.login_form {
	margin: 30px 0px;
}

div.login_form div.inputrow label {
	display: block;
	float: left;
	width: 80px;
}

/* FAQs */

h3.qa_heading {
	margin-top: 1.4em;
	margin-bottom: 0.6em;
}

h6.qa_question {
	margin-bottom: 5px;
}

div.qa_answer {
	background: #ffffdc;
	font-size: 13px;
	border: solid 1px #bbbbbb;
	padding: 10px 15px;
	margin-bottom: 15px;
}



