/*
	BitBallot.com CSS Stylesheet
	Created by Rohit Sodhia
*/

body, table, #main_body, input, textarea, select {
/*	font: 13px "Avant Garde", "Century Gothic", sans-serif;*/
	font-size: 13px;
	font-family: 'Avant Garde', 'Century Gothic', sans-serif;
}

body {
	background: #444;
	margin: 0 0 10px;
	padding: 0 0;
	text-align: center;
	line-height: 1.25em;
}

p {
	text-align: justify;
	margin: .75em 0;
	text-indent: 40px;
}

img {
	border: none;
	margin: 0 0;
	padding: 0 0;
}

hr {
	border: none;
	background: #000;
	color: #000;
}

div {
	text-align: left;
}

form {
	margin: 0 0;
	padding: 0 0;
}

input, textarea, select {
/*	border: 1px solid #B00;
	border-bottom-color: #900;
	border-right-color: #900;*/
	border: 1px solid #AAC;
}

input, textarea {
	padding: 2px;
}

textarea {
	text-align: justify;
}

h1 {
	font-size: 1.25em;
	font-weight: bold;
	text-align: center;
	text-decoration: underline;
	margin: .25em 0 .75em;
}

h2 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 2em 0 .5em;
}

h3 {
	font-weight: bold;
	text-decoration: underline;
	margin-bottom: .5em;
}


/* Links */
a {
	color: #B00;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#header a {
	font-size: 15px;
	color: #FFF;
	display: block;
	float: left;
	margin-left: 15px;
}

#mainBody .singleColumn a, #mainBody .withMenu a {
	font-weight: bold;
}

#footer a {
	color: #0033FF;
}

/* ----------------------------------------------------------------------------------------------*/

/* Button */
button {
	background: transparent top left no-repeat;
	height: 26px;
	width: 100px;
	margin: 0;
	padding: 0;
	border: none;
}

button:hover {
	background-position: bottom left;
}

button.btn_submit {
	background-image: url('../images/buttons/submit.jpg');
}

button.btn_clear {
	background-image: url('../images/buttons/clear.jpg');
}

button.btn_update {
	background-image: url('../images/buttons/update.jpg');
}

button.btn_add {
	background-image: url('../images/buttons/add.jpg');
}

button.btn_addPosition {
	background-image: url('../images/buttons/addPosition.jpg');
	width: 150px;
}

button.btn_addSurvey {
	background-image: url('../images/buttons/addSurvey.jpg');
	width: 150px;
}

button.btn_addFreeform {
	background-image: url('../images/buttons/addFreeform.jpg');
	width: 160px;
}

button.btn_yes {
	background-image: url('../images/buttons/yes.jpg');
	width: 75px;
}

button.btn_no {
	background-image: url('../images/buttons/no.jpg');
	width: 75px;
}

button.btn_compile {
	background-image: url('../images/buttons/compile.jpg');
}

button.btn_decompile {
	background-image: url('../images/buttons/decompile.jpg');
	width: 120px;
}

button.btn_continue {
	background-image: url('../images/buttons/continue.jpg');
}

button.btn_last {
	background-image: url('../images/buttons/last.jpg');
	width: 65px;
}

button.btn_next {
	background-image: url('../images/buttons/next.jpg');
	width: 65px;
}

/* ----------------------------------------------------------------------------------------------*/

/* Layout */
.content {
	width: 780px;
	margin: 0 auto;
}

#header, #header .content {
	height: 130px;
}

#header {
	background: url('../images/header.jpg') repeat-x;
}

#header .content {
	position: relative;
}

#header img {
	margin: 15px 0 0 15px;
}

#header #headerMenu {
	position: absolute;
	bottom: 15px;
	right: 0;
}

#mainBody {
	background: #FFF;
}

#mainBody .content {
	padding: 10px 0;
}

#mainBody .withMenu {
	float: right;
	width: 620px;
	margin: 0 0 10px 0;
	text-align: justify;
}

#footer {
	color: #FFF;
	font-size: 11px;
	height: 100px;
	background: url('../images/footer.jpg') repeat-x #444;
	clear: both;
}

#footer .content {
	padding-top: 20px;
}

#footer p {
	text-align: center;
	margin: .4em 0;
	text-indent: 0;
}

#footer a {
	color: #7777FF;
}

#ieFooterFixer {
	display: none;
}

#referenceHelpDiv {
	display: none;
}

.helpItem {
	margin: .5em .5em 2em;
}


/* Menu */
#menu {
	width: 140px;
	float: left;
	margin-bottom: 10px;
}

#menu .menuTitle {
	text-align: left;
}

#menu .menuGroup {
	text-align: left;
	margin-top: 20px;
}

#menu .menuGroup li {
	list-style: none;
	padding: 0;
}

#menu .firstGroup {
	margin-top: 0;
}

#menu li.gapAbove {
	margin-top: .75em;
}

/* ----------------------------------------------------------------------------------------------*/

/* Login Fieldset */
div.fieldset {
	width: 400px;
	margin: 10px 0 15px;
	background: url('../images/fieldset/body.jpg') repeat-y;
}

div.fieldset div.fieldset_top {
	height: 1.5em;
	background: url('../images/fieldset/top.jpg') bottom no-repeat #FFF;
}

div.fieldset div.fieldset_top div.fieldset_title {
	float: left;
	background: #FFF;
	margin-left: 25px;
	padding: 0 7px;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.2em;
}

div.fieldset div.fieldset_content {
	padding: 5px;
}

div.fieldset div.fieldset_bottom {
	height: 10px;
	background: url('../images/fieldset/bottom.jpg') no-repeat #FFF;
}

/* ----------------------------------------------------------------------------------------------*/

/* Alert Boxes */
.alertBox_error, .alertBox_success, .alertBox_notice {
	border: 2px solid;
	margin: 10px 10px;
	padding: 10px 15px 10px 55px;
	background-repeat: no-repeat;
	background-position: 10px center;
	font-weight: bold;
}

.alertBox_error p, .alertBox_success p, .alertBox_notice p {
	text-indent: 0;
	margin: .4em 0;
}

.alertBox_error {
	border-color: #D00;
	background-image: url('../images/alerts/error.jpg');
	background-color: #F55;
}

.alertBox_success {
	border-color: #060;
	background-image: url('../images/alerts/check.jpg');
	background-color: #4C4;
}

.alertBox_error ul {
	margin: .5em 0;
}

.alertBox_error ul li {
	margin-left: 20px;
	list-style: disc;
}

.alertBox_notice {
	border-color: #AA0;
	background-image: url('../images/alerts/notice.jpg');
	background-color: #FF8;
}


/* ----------------------------------------------------------------------------------------------*/

/* Titlebar */
div.groupBox {
}

div.titleBar {
	background: url('../images/titleBar/titleBar_body.jpg') repeat-y;
	width: 620px;
}

div.titleBar div.tbHeader {
	height: 16px;
	padding: 4px 10px;
	font-weight: bold;
	color: #FFF;
	text-decoration: underline;
	background: url('../images/titleBar/titleBar_header.jpg') left no-repeat;
}

div.collapseTB div.tbHeader {
	background: url('../images/titleBar/titleBar_collapsed.jpg') left no-repeat;
}

div.titleBar div.tbContent {
	padding: 0 7px 7px;
	background: url('../images/titleBar/titleBar_footer.jpg') bottom no-repeat;
}

div.titleBar div.tbContent div.tr {
	padding: 6px 5px;
/*	font-weight: bold;*/
}

div.titleBar div.tbContent div.firstTR {
/*	padding-top: 0;*/
}

div.titleBar div.tbContent div.grey {
	background: #DDD;
}

div.collapseTB div.tbContent {
	display: none;
}

div.titleBar div.tbFooter {
	height: 10px;
}

/* ----------------------------------------------------------------------------------------------*/

/* Classes */
div.tr, tr {
	padding: 4px 0;
	position: relative;
}

.alignCenter {
	text-align: center;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.help {
	position: absolute;
	right: 5px;
	top: 8px;
}

.help img {
	margin-left: 5px;
}

.bold {
	font-weight: bold;
}

.italicize {
	font-style: italic;
}

.shiftABLeft {
	margin-right: 20px;
}

p.noIndent {
	text-indent: 0;
}

.clearBR {
	font-size: 1px;
	clear: both;
}

/* ----------------------------------------------------------------------------------------------*/

/* Pages */
#page_index #redbox {
	width: 320px;
	height: 40px;
	background: url('../images/redBox.jpg');
	padding: 10px 15px;
	font-size: 1.3em;
	font-weight: bold;
	color: #FFFFFF;
	margin: 0 auto;
	margin-bottom: 1em;
}

#page_index p {
	text-indent: 0;
}

#page_index #redbox p {
	margin: .5em 0 0;
	text-align: right;
}

/* --------------------------------------------*/

#page_404 #content {
	margin-left: 0;
	text-align: center;
}

#page_404 #contentFooter {
	margin-left: 0;
}

/* --------------------------------------------*/

#page_about ul#typesList {
	margin-left: 50px;
	list-style: disc;
}

#page_about hr {
	height: 1px;
	width: 30px;
	text-align: center;
	margin: 1em auto;
}

/* --------------------------------------------*/

#page_contact #small {
	font-size: .85em;
	font-weight: bold;
	text-indent: 235px;
	margin-bottom: .25em;
}

#page_contact label {
	display: block;
	width: 225px;
	padding-top: 4px;
	text-align: right;
	float: left;
}

#page_contact .tr input, #page_contact .tr textarea {
	border: 1px solid #B00;
	border-bottom-color: #900;
	border-right-color: #900;
	margin-left: 10px;
}

#page_contact .tr input {
	width: 200px;
}

#page_contact .tr textarea {
	width: 350px;
	height: 7em;
}

#page_contact #submitDiv {
	margin-top: .75em;
	text-align: center;
}

/* --------------------------------------------*/

#page_ballotList .withMenu {
	min-height: 150px;
}

#page_ballotList .ballotSet {
	margin-top: 1.5em;
}

#page_ballotList .ballotLink {
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
	margin: .6em 0 .3em;
}

/* --------------------------------------------*/

#page_ballotIntro .withMenu, #page_ballotClose .withMenu {
	min-height: 150px;
}

#page_ballotIntro a#continue {
	background: url('../images/buttons/continue.jpg') top left no-repeat;
	display: block;
	height: 26px;
	width: 100px;
	margin: 1em auto 0;
}

/* --------------------------------------------*/

#page_ballotIntro a#continue:hover {
	background-position: bottom;
}

#page_adminPreview hr {
	margin: 1.5em auto 2em;
}

#page_adminPreview #currentTag {
	margin-bottom: 0;
}

/* --------------------------------------------*/

#page_ballot .ballotError, #page_adminPreview .ballotError {
	text-indent: 0;
	margin-bottom: 0;
	padding: .5em .5em .5em 30px;
	color: #C00;
	font-weight: bold;
	background: url('../images/cross.jpg') 10px center no-repeat;
	border: 1px solid #D00;
}

#page_ballot .titleBar, #page_adminPreview .titleBar {
	margin-bottom: 20px;
	margin-top: .5em;
}

#page_ballot .surveyQuestion, #page_adminPreview .surveyQuestion {
	text-indent: 0;
}

#page_ballot .numVotesAvail, #page_adminPreview .numVotesAvail {
	text-indent: 0;
}

#page_ballot .selectVote, #page_adminPreview .selectVote {
	width: 50px;
	text-align: center;
	vertical-align: middle;
}

#page_ballot .longResume, #page_adminPreview .longResume {
	margin-top: .5em;
}

#page_ballot .writeInTitle, #page_adminPreview .writeInTitle {
	margin-top: .5em;
}

#page_ballot .writeInSelectVote, #page_adminPreview .writeInSelectVote {
	width: 50px;
	text-align: center;
}

#page_ballot .writeInSelectVote input, #page_adminPreview .writeInSelectVote input {
	margin-right: 10px;
}

#page_ballot .writeInName, #page_adminPreview .writeInName {
	margin-left: 60px;
}

#page_ballot table, #page_ballot tr, #page_ballot td, #page_adminPreview table, #page_adminPreview tr, #page_adminPreview td {
	border: none;
	border-collapse: collapse;
}

#page_ballot td, #page_adminPreview td {
	padding: 3px 0;
}

#page_ballot .voteOption, #page_adminPreview .voteOption {
	padding-top: 5px;
}

#page_ballot textarea, #page_adminPreview textarea {
	width: 600px;
	height: 6.6em;
}

#page_ballot #submitDiv {
	margin: 1em 25px 0;
	text-align: center;
}

/* --------------------------------------------*/

#page_optionDetails #optionImg, #page_adminPreviewOptionDetails #optionImg {
	float: left;
	margin-bottom: 15px;
	text-align: center;
}

#page_optionDetails #detailsDiv, #page_adminPreviewOptionDetails #detailsDiv {
	margin: 0 20px 20px 200px;
	text-align: justify;
}

#page_optionDetails #detailsDiv #optionName, #page_adminPreviewOptionDetails #detailsDiv #optionName {
	font-weight: bold;
	font-size: 1.25em;
	margin-top: .25em;
}

#page_optionDetails .section, #page_adminPreviewOptionDetails .section {
	margin: .75em 0;
}

#page_optionDetails .section span, #page_adminPreviewOptionDetails .section span {
	text-decoration: underline;
}

/* --------------------------------------------*/

#page_login .alertBox_error, #page_adminLogin .alertBox_error {
	width: 400px;
	margin: 10px auto 20px;
}

#page_login .fieldset, #page_adminLogin .fieldset {
	margin-right: auto;
	margin-left: auto;
}

#page_login label, #page_adminLogin label {
	padding-top: 4px;
	text-align: right;
}

#page_login label {
	width: 120px;
}

#page_adminLogin label {
	width: 115px;
}

#page_login .textBox {
	margin-left: 130px;
}

#page_adminLogin .textBox {
	margin-left: 125px;
}

#page_login .textBox input {
	width: 175px;
}

#page_adminLogin .textBox input {
	width: 200px;
}

#page_login .textBox #clientID, #page_adminLogin .textBox #clientID {
	width: 75px;
}

#page_login #buttonDiv, #page_adminLogin #buttonDiv {
	margin-top: 10px;
	text-align: center;
}

#page_login #noClientID {
	color: #D00;
	padding: 25px 0;
	text-align: center;
	font-weight: bold;
	font-size: 1.3em;
}
