body {
	margin: 10px 32px;
}

body, table {
	font-family: "Arial", sans-serif;
	font-size: 12px;

	color: #4F4F4F;
}

a img {border: 0}
.clear {clear: both}

.subscribe {
    color: #B02B2B !important;
    font-size: 1.2em;
}

.subscribe:hover {
    color: #582B2b !important;
}


div.frameBar {
	background: #6C6C6C url("/images/bar_bg.png") no-repeat top right;

	font-size: 1px;
	height: 5px;
}

/*
    Layout structure.
*/
#mainFrame {
    width: 970px;
    
    margin: 0 auto;
}

#logoImage {
	float: left;
}

#userFrame {
    text-align: right;

    padding: 4px;
	float: right;
}

#userFrame div {
    padding: 2px 0;
}

#passwordInput {
    display: none;
}

#headerFrame {
    height: 143px;
}

#mainNavigationFrame {
	clear: both;

	padding-right: 70px;
}

#bodyFrame {
	padding: 0 0 53px;

	clear: both;
}

#quickFrame {
	background: #235F86 url("/images/quick_frame_bg.png") repeat-y;

	width: 306px;
	height: 99px;
	margin-top: 40px;
	float: right;
}

#missionary {
	background: url("/images/missionary.png") no-repeat;

	width: 107px;
	height: 242px;

	position: absolute;
	margin-left: 199px;
	margin-top: -90px;
}

#quickNavigation {
	width: 180px;
	height: 99px;
}

#quickNavigation a {
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
}

#quickNavigation a:hover {
    color: #FF9000;
}

#quickNavigation img {
    margin-left: 6px;
    margin-top: 6px;
}

#quickNavigation strong {
    color: #FF9000;
}

#quickNavigation img {
    vertical-align: middle;
    margin-right: 12px;
}

#contentsFrame {
    width: 644px;
    float: left;
}



#footerFrame {
	background: #EBEBEB;

	text-align: center;

	padding: 20px 0;
}



/*
    Links
*/
#userFrame h1 a {
    color: #002B58;
}

#userFrame h1 a:hover {
    color: #235F86;
}

#userFrame a {
    color: #4F4F4F;
    font-weight: bold;
    text-decoration: none;

    margin-left: 4px;
}

#userFrame a:hover {
    color: black;
}

#mainNavigationFrame a {
	border-left: 2px solid #002B58;

	color: #002B58;
	font-family: "Trebuchet MS", "Arial", sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;

	padding: 7px 0 7px 7px;
	margin-right: 28px;

	float: left;
}

#mainNavigationFrame a:hover {
    border-color: #235F86;
	color: #235F86;
}

#contentsFrame a {
    color: #235F86;
}

#contentsFrame a:hover {
    color: #D57800;
}

#footerFrame a {
    color: #4F4F4F;
    font-weight: bold;
    text-decoration: none;
}



/*
    Text styles.
*/
#userFrame h1 {
    color: #002B58;
    font-family: "Trebuchet MS", "Arial", sans-serif;
    font-size: 1.6em;

    margin: 0;
}

#contentsFrame h1 {
	background: url("/images/heading_bg.png") no-repeat;

	font-size: 1.6em;

	margin: 0 0 12px;
	padding: 2px 12px 4px;
}

#contentsFrame h2 {
    font-size: 1.2em;

	margin: 0 0 12px;
}

#contentsFrame p {
    clear: both;
}

#contentsFrame p.important {
    background: #FFFCE5;
    border: 1px solid #FFEE7F;
    
    padding: 4px;
}

span.active {
    color: #040;
}

span.inactive {
    color: #400;
}



/*
    Forms.
*/
form {
    margin: 0;
}

#userFrame input.text {
	background: #F5F5F5;
	border: 1px solid #4F4F4F;

	color: #4F4F4F;
	font-family: "Verdana", sans-serif;
	font-size: 9px;
	font-weight: bold;
	text-transform: lowercase;

	margin: 0;
	padding-bottom: 2px;
	padding-left: 2px;

	width: 118px;
}

#userFrame input.button {
	background: #153950;
	border: 1px solid #A3C0CD;

	color: white;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;

	margin: 0;
}

legend {
    color: #235F86;
    font-weight: bold;
}


fieldset {
    border: 1px solid #235F86;
    
    margin: 0;
    padding: 4px 8px 8px;
    
    clear: both;
}

form input, form select, form textarea {
    font-family: "Arial", sans-serif;
    font-size: 1em;
}

form textarea {
    width: 280px;
    height: 100px;
}

form div.buttons input, input.button {
    background: #EFEFEF;
    border: 3px solid #002B58;
    border-top-width: 1px;
    border-bottom-width: 1px;

    color: #002B58;
    font-weight: bold;
}

form div.row div.left label {
    font-weight: bold;

    float: left;
}

span.required {
    color: red;
    font-size: 1.5em;
    font-weight: bold;

    margin-left: 6px;
}

form div.row {
    margin-bottom: 1px;
}

form div.row div.left {
    width: 150px;

    float: left;
    clear: both;
}

form div.row div.right {
    margin-left: 150px;
}

form input.text, fieldset select.select {
	border: 1px solid #4F4F4F;

    width: 200px;
    padding: 2px;
}

form select.select {
	width: auto;
	padding: 0;
}

form div.row {
    padding: 1px;
}

/*
	Form valid styles.
*/
form div.valid {
    color: #2F7F2F;
}

form div.valid input.text, form div.valid select.select {
	border-color: #2F7F2F;
}

/*
	Form error styles.
*/
form div.invalid {
    color: #7F2F2F;
}

form div.error {
    color: red;

    padding-bottom: 6px;
}

form div.invalid input.text, form div.invalid select.select {
	border-color: #7F2F2F;
}


/*
	Form buttons.
*/
form div.buttons {
    text-align: center;

    margin-top: 10px;
}

form .disabled {
    background: #CFCFCF !important;
    border: 0 !important;

    color: white !important;
    font-weight: bold;
}



/*
    Messages
*/
#messageFrame {
    margin-bottom: 8px;
}

#messageFrame div {
    margin-bottom: 4px;
    padding: 4px;
}

#messageFrame div.success {
	background: #EFFFEF;
	border: 1px solid #AFFFAF;
}

#messageFrame div.error {
    background: #FFEFEF;
	border: 1px solid #FFAFAF;
}

/*
	Table
*/
fieldset table {
    border-collapse: collapse;

	width: 100%;
}

fieldset tr.headings td {
    border-bottom: 1px solid #4F4F4F;

	font-weight: bold;
	vertical-align: bottom;
	
	padding: 0 4px;
}

td {
    vertical-align: top;
}

tr.even td, tr.odd td {
    padding: 4px;
}

tr.odd td {
    background: #F7F7F7;
}


/*
    Navigation
*/
#pageNavigation {
    background: #153950 !important;

    color: white;
    font-weight: bold;
    
    height: 16px;
    
    margin-bottom: 8px;
    padding: 2px 8px 4px;
}

#pageNavigation a {
    color: white !important;
    text-decoration: none;
}

#pageNavigation a:hover {
    color: #FF9000 !important;
}

#pageNavigation li.current, legend span.current {
    border-bottom: 2px solid #FF9000;
}

ul.navigation {
    list-style-type: none;
    margin: 0;
    padding: 0;
    
    clear: both;
}

ul.navigation li {
    margin-right: 16px;
    margin-bottom: 8px;
    display: inline;
}

#colActions {
    text-align: right;
}

td.actions {
    font-weight: bold;
    text-align: right;
    text-transform: lowercase;
}

td.actions li {
    margin-right: 0;
    margin-left: 16px;
    display: inline;
    float: none;
}

div.actions ul.navigation {
    height: 14px;
}

legend span.current {
    color: black;
}



/*
    Pagination page display.
*/
div.page_display {
    background: #235F86;
    
    color: white;
    height: 32px;
    
    margin-bottom: 8px;
    padding: 2px 8px 4px;
}

div.page_display strong {
    display: block;
}

div.page_display a {
    color: white !important;
    font-weight: bold;
    text-decoration: none;
}

div.page_display a:hover, #pageNavigation a:hover {
    color: #FF9000 !important;
}

div.page_display ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.page_display li {
    margin-right: 8px;
    float: left;
}

div.page_display li.current {
    border-bottom: 2px solid #FF9000;
    
    color: #FF9000;
    font-weight: bold;
}


td.right {
    text-align: right;
}
