html {
	height: 100%;
}

body {
	background-color:#fafae0;
	font-family: "Arial Rounded", Arial;
	color: #003366;
	font-size: 18px;
}

body.pda_hor, body.pda_ver {
	font-size: 10px;
}

body.screen_ultralow {
	font-size: 12px;
}

body.screen_low {
	font-size: 14px;
}

body.screen_med, body.screen_high, body.screen_wide {
	font-size: 18px;
}

body.screen_med #header, body.screen_high #header, body.screen_wide #header{
	height: 3em;
}

body.screen_med #header #logo, body.screen_high #header #logo, body.screen_wide #header #logo {
	width: 96px;
	height: 50px;
	background: url(../images/logo_header.png) no-repeat;
}

body.screen_med #header #logo span, body.screen_high #header #logo span, body.screen_wide #header #logo span {
	display: none;
}

body.screen_med #header ol.menu, body.screen_high #header ol.menu, body.screen_wide #header ol.menu {
	margin-top: 1em;
	margin-bottom: 1em;
}




form {
	clear: both;
}

p { width: 100%; }

body#index div {
	text-align: center;
	padding-top:1.5em;
	padding-bottom:0.5em;
	margin-left: auto;
	margin-right: auto;
}

body#index div#logo {
	padding-top: 0px;
	padding-bottom: 0px;
	background: url(../images/logo.png) no-repeat;
	margin-top: 15%;
}

body#index div#logo {
	width: 365px;
	height: 190px;
}

a:link, a:visited, .link { 
	text-decoration: none;
	color: #0099FF;
}

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

#header {
    border-bottom: 2px solid #003366;
	color: #0099FF;
	font-weight: bold;
	padding: .25em;
	padding-left: 2em;
	height: 1.5em;
}

#header #logo {
	float: left;
}

#header ol.menu {
	list-style-type: none;
	float:right;
	margin:0px;
	margin-right: 2em;
}

#header ol.menu li {
	float: left;
}


#body {
	clear: both;
	width: 50em;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
}

#content {
	width: 50em;
}

.errors, .error {
	width: 100%;
	text-align: center;
}

.link {
	cursor: pointer;
}

#footer {
	clear: both;
	text-align: center;
	font-size: 12px;
}

#footer a {
	margin-right: .25em;
	margin-left: .25em;
}



ol.form_elements {
	list-style-type: none;
	padding: .25em;
}

ol.form_elements li {
	margin: 0em;
	padding: .25em;
	position: relative;
	clear: both;
}

ol.form_elements fieldset, ol.form_elements ol {
	margin: 0em;
}

ol.form_elements fieldset {
	border: none;
}

fieldset {
	border: 1px solid #003366;
	display: block;
	margin: .5em;
	padding-right: 1em;
	padding-left: 1em;
	vertical-align: top;
}

fieldset legend {
	border: 1px solid #003366;
	margin-left: 1.5em;
	padding-right: 1em;
	padding-left: 1em;
}

label {
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;
	padding-right: .5em;
}




select {
	vertical-align: middle;
}

input {
	vertical-align: middle;
}

textarea {
	display: block;
}

button {
	margin-right: .5em;
	margin-left: .5em;
	padding-right: .2em;
	padding-left: .2em;
	vertical-align: middle;
}

.form_buttons {
	float: left;
	margin: .5em;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	height: 1.5em;
}

ol.other_options {
	float: right;
	margin: .5em;
	list-style-type: none;
	height: 1.5em;
}

ol.other_options li {
	float: left;
}


#menu ol {
	margin: 0px;
	display: block;
}

#menu li {
	width: 7em;
	list-style-type: none;
	text-align: center;
	margin: 1em;
	margin-top: 1.5em;
	font-size: .75em;
	font-weight: bold;
	color: #0099FF;
}

#menu .menuitem {
	border: solid 8px #003366;
	padding-top: .25em;
	padding-bottom: .25em;
	padding-left: .5em;
	padding-right: .5em;
	margin-top: 1em;
}

#menu .menuitem a {
	width: 5em;
	padding-top: 3.75em;
	display: block;
}









#log_date {
	margin: 0 auto;
	width: 15.5em;
}

#log_date input#day {
	width: 2em;
}

#log_date input#year {
	width: 3em;
}

#log_date #date {
	width: 6em;
}

#log_form #container {
	clear: both;
}

#log_form dt#submit_button {
	margin:0;
	padding:0;
	background-color:#fafae0;
	font-size:90%;
	float:right;
	border:none;
}

#log_form fieldset {
	float: left;
	height: 7.75em;
}

#log_form fieldset ol {
	margin: 0px;
}

#log_form fieldset#prayers {
	display: block;
	float:none;
	height: auto;
	width: 46em;
}

#log_form fieldset#prayers table {
	width: 41em;
	margin-right: auto;
	margin-left: auto;
}

#log_form fieldset#prayers th {
	text-align: right;
	white-space: nowrap;
	padding-top: .25em;
	padding-right: .25em;
	padding-bottom: .25em;
	vertical-align: middle;
	font-weight: normal;
}

#log_form fieldset#prayers tr.prayer_row th {
	text-align: center;
	width: 5em;
	padding-top: 0em;
	padding-right: 0em;
}

#log_form td.checkbox {
	cursor: pointer;
	background-color: #FFFFFF;
	border: 1px solid #AAAAAA;
}

#log_form fieldset#prayers table {
	border-spacing: .2em;
}

#log_form fieldset#prayers td {
	padding: 0px;
}

#log_form td.checkbox.checked {
	background: url(../images/accept.png) no-repeat center center #FFFFFF;
}

#log_form td.checkbox.disabled {
	cursor: default;
	background-color: inherit;
	border: none;
}

#log_form td.disabled input {
	visibility: hidden;
}



#log_form fieldset#prayers input {
	text-align: center;
	width: 5em;
}

#log_form li label {
	right: 9em;
	position: absolute;
}

#log_form li input,
#log_form li select {
	position: relative;
	left: 12em;
}

#log_form  li {
	width: 20.5em;
}

#log_form fieldset#notes textarea {
	width: 21.25em;
	height: 5.5em;
}

#log_form fieldset#date_info label {
	width: 5em;
}








/* DL */
#log_form #prayers {
	display: block;
	height: auto;
}

#log_form #prayers th {
	text-align: right;
	white-space: nowrap;
	padding-top: .25em;
	padding-right: .25em;
	padding-bottom: .25em;
	vertical-align: middle;
	font-weight: normal;
}

#log_form #prayers tr.prayer_row th {
	text-align: center;
	width: 5em;
	padding-top: 0em;
	padding-right: 0em;
}

#log_form #prayers table {
	border-spacing: .2em;
}

#log_form #prayers td {
	padding: 0px;
	width: 5em;
}

#log_form #prayers input {
	text-align: center;
	width: 4em;
}

#log_form #prayers #num_extra_units input {
	width: 5em;
}


#log_form #charity li label {
	right: 15em;
	position: absolute;
}
#log_form #charity li input,
#log_form #charity li select {
	position: relative;
	left: 6em;
}

#log_form #service li label {
	right: 11em;
	position: absolute;
}
#log_form #service li input,
#log_form #service li select {
	position: relative;
	left: 10em;
}

#log_form #fasting li label {
	right: 14em;
	position: absolute;
}
#log_form #fasting li input,
#log_form #fasting li select {
	position: relative;
	left: 7em;
}

#log_form #study li label {
	right: 9em;
	position: absolute;
}
#log_form #study li input,
#log_form #study li select {
	position: relative;
	left: 12em;
}

#log_form  li {
	width: 20.5em;
}

#log_form #notes textarea {
	width: 100%;
	height: 5.5em;
}

#log_form #date_info label {
	width: 5em;
}


table#progress {
	text-align: center;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 1em;
	clear: both;
}

table#progress td {
	border: 1px solid #003366;
}

table#progress td, table#progress th {
	padding: .25em 2em;
}

table thead th {
	color: #fafae0;
	background-color: #003366;
	text-align: center;
	font-weight: bold;
}

#report_type {
	float: left;
}

#report_range {
	float: right;
}


#join_group_form {
	position: relative;
}

#join_group_form table {
	width: 30em;
	margin-right: auto;
	margin-left: auto;
}

#join_group_form .name_col {
	width: 100%;
}

#join_group_form .action_col {
	text-align: center;
}

#join_group_form input#group_name {
	width: 99%;
}

tr.even-row, tr.even-row td {
	background-color: #99BBFF;
}
