/* common styles for all views */

/* styles for constant footer at bottom of content OR viewport */

* {
	margin: 0;
}

html, body {
	margin: 0;
	height: 100%;
	background: #eee;
	font-family: 'lucida grande', arial, sans-serif;
	font-size: .95em;
}

#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -1.5em;
	background: #fff;
}

#footer, #adjust_for_footer {
	height: 1.5em;
}

#wrapper, #footer, #logged_in {
	width: 920px;
}

#wrapper, #footer {
	border-left: solid 3px #888;
	border-right: solid 3px #888;
}

/* styles for main content box */
#inner_content {
	padding: 8px;
}

/* header styles */
#padding_for_fixed_menu {
	height: 3.5em;
}

#header {
	padding: 0 5px 5px 3px;
	text-align: left;
	border-bottom: dotted 1px #ccc;
}

#header #org {
	float: right;
}

#header img {
	border: none;
}

/* footer styles */
#footer {
	margin: auto;
	background: #043188 url('/images/bottom_background.jpg') repeat-x bottom;
}

#footer_content {
	padding: 4px;
	font-size: .7em;
	color: #fff;
}

#footer_content a {
	color: #fff;
	text-decoration: none;
}

#footer_content a:hover {
	text-decoration: underline;
}

#footer_content ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

#footer_content li {
	display: inline;
}

/* action list styles */
.actions,
.subactions {
	margin: 5px 0;
	padding: 7px 3px; 
	list-style: none;
	background: #efefef;
}

.actions {
	font-size: .8em;
}

.subactions {
	font-size: .7em;
}

.actions li,
.subactions li {
	display: inline;
	margin: 1px;
	padding: 0;
}

.actions li a,
.subactions li a {
	padding: 2px;
	border: solid 1px #ccc;
	background: #efefef;
	color: #888;
	text-decoration: none;
}

.actions li a:hover,
.subactions li a:hover {
	background: #dedede;
	color: #444;
}

.actions li#org_selector {
	float: right;
}

.more_actions_wrapper {
	position: relative;
	display: inline;
}

li.show_more_actions a,
li.show_more_actions_on a {
	padding-right: 1.3em;
}

li.show_more_actions a {
	background: #efefef url('/images/arrows/down.png') no-repeat center right;
}

li.show_more_actions a:hover {
	background: #dedede url('/images/arrows/down_over.png') no-repeat center right;
}

li.show_more_actions_on a,
li.show_more_actions_on a:hover {
	color: #fff;
	border: solid 1px #000;
	background: #444 url('/images/arrows/up_on.png') no-repeat center right;
}

.more_actions {
	display: block;
	position: absolute;
	left: 0;
	border: solid 1px #888;
	padding: 5px 0;
	margin: 0;
	white-space: nowrap;  /* this prevents word wrap without needing to specify a menu item width */
	min-width: 12em;  /* specified a minimum width so menus with short submenu words won't look weird */
	background: #ddd;
	opacity: 0.95;
	-moz-opacity: 0.95;
	filter: alpha(opacity=95);
	z-index: 2;
}

.more_actions ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

div.more_actions ul li {
	display: block;
}

.more_actions li:hover {
	background: #ccc;
}

.more_actions li a {
	display: block;
	padding: 2px 5px;
	border: none;
	background: none;
}

.more_actions li a:hover {
	background: none;
}


/* tabbed styles */
#tabs {
	margin: 10px 0 5px 0;
	padding: 0 0 3px 0;
	list-style: none;
	border-bottom: solid 1px #ccc;
	font-size: 1em;
}

#tabs li {
	display: inline;
	margin: 0 0 0 8px;
	padding: 3px 4px 3px 4px;
	border-top: solid 1px #ccc;
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
	background: #eee;
	color: #888;
}

#tabs li a {
	text-decoration: none;
	color: #888;
}

#tabs li a:hover {
	color: #000;
}

#tabs li.tab_on {
	border-bottom: solid 1px #fff;
	background: #fff;
	color: #000;
}

/* styles for editable keyword lists */
.keyword_controls {
	float: right;
	font-size: .8em;
	margin-top: 2px;	
}

.keyword_controls a {
	color: #888;
}

.keyword_controls a:hover {
	color: #000;
}

.editable_list,
.sortable_list,
.deletable_list {
	list-style: none;
	padding-left: 0;
	border-top: solid 1px #ccc;
	margin-bottom: 18px;
}

.editable_list li,
.sortable_list li,
.deletable_list li {
	padding-left: 20px;
	border-bottom: solid 1px #ccc;
}

.edit_me {
	background: #eee;
}

.delete_me,
.inplaceeditor-form .editor_cancel {
	font-size: .7em;
	text-decoration: none;
	color: #888;
}

.delete_me:hover,
.inplaceeditor-form .editor_cancel:hover {
	text-decoration: underline;
}

.inplaceeditor-form {
}

.inplaceeditor-form .editor_field,
.inplaceeditor-form .editor_ok_button {
		margin-right: .4em;
}

.inplaceeditor-form .editor_ok_button {
}

.inplaceeditor-form .editor_cancel {
}

/* styles for sortable lists */
.sortable_list li {
	cursor: move;
	position: relative;
}

.sortable_list li:hover,
.deletable_list li:hover {
	background: #eee;
}

.sortable_list .count {
	font-size: .7em;
	position: absolute;
	left: 0px;
	color: #888;
}

/* styles for deleteable lists */
	

/* styles for history display */
#history h3, 
#attachments h3,
#comments h3,
#extension_requests h3 {
	margin-top: 10px;
	border-bottom: solid 1px #ccc;
}
#history p {
	font-size: .8em;
}

#history p.odd {
	color: #888;
}

/* styles for extension request history display */
#ext_req_list {
	font-size: .8em;
	width: 100%;
}

#extension_requests table {
	border-collapse: collapse;
}

#extension_requests tr {
	vertical-align: top;
}

.ext_req_detail td {
	min-width: 150px;
}

.ext_req_detail td.label {
	color: #888;
	width: 150px;
}

.ext_req_row {
	border-bottom: solid 1px #888;
}

#ext_req_list .odd {
	background: #eee;
}
/* styles for attachments display */
#attachments ul,
#delete_attachments ul {
	list-style: none;
	padding-left: 0;
}

#delete_attachments ul {
	margin: 10px 0;
}

#attachments ul {
	font-size: .8em;
}

#attachments li,
#delete_attachments li {
	padding: 2px 0 2px 20px;
}

#delete_attachments label {
	color: #000;
}

#attachments li a {
	color: #000;
	text-decoration: none;
}

#attachments li a:hover {
	text-decoration: underline;
}

#attachments li label {
	color: #000;
	font-size: 1em;
}

#attachments li.image {
	background: url('/images/filetypes/img.png') no-repeat;
}

#attachments li.word {
	background: url('/images/filetypes/doc.png') no-repeat;
}

#attachments li.excel {
	background: url('/images/filetypes/xls.png') no-repeat;
}

#attachments li.powerpoint {
	background: url('/images/filetypes/ppt.png') no-repeat;
}

#attachments li.rtf {
	background: url('/images/filetypes/rtf.png') no-repeat;
}

#attachments li.text {
	background: url('/images/filetypes/txt.png') no-repeat;
}

#attachments li.pdf {
	background: url('/images/filetypes/pdf.png') no-repeat;
}

#attachments li.file {
	background: url('/images/filetypes/file.png') no-repeat;
}

#attachments .size,
#delete_attachments .size {
	font-size: .9em;
	color: #888;
}

#another_attachment {
	margin: 10px 0;
}

.attach_field {
	margin: 5px 0 0 0;
}

/* styles for photo display */
#photo {
	margin: 3px 8px 0 0;
	float: left;
	border: solid 1px #ccc;
	padding: 4px;

}

/* miscellaneous styles */
.clearer {
	/* clears floated elements */
	clear: both;
}

.cancel {
	text-decoration: none;
	font-size: .8em;
	color: #888;
}

.cancel:hover {
	text-decoration: underline;
}

.flash_notice {
	background: #CFDBCF;
	border: solid 2px #647E6D;
	text-align: center;
	margin: 2px 0;
}

.flash_notice #flash_message {
	padding: 10px;	
}

.flash_notice a {
	color: #647E6D;
}

.flash_notice a:hover {
	color: #475B4F;
}

.flash_notice .close {
	float: right;
	font-size: .8em;
}

.flash_notice .close a {
	text-decoration: none;
	display: block;
	border: solid 1px #647E6D;
	background: #647E6D;
	color: #CFDBCF;
	margin: 2px;
	padding: 1px 3px;
}

.flash_notice .close a:hover {
	background: #39483C;
}

.section_heading {
	color: #888;
	border-bottom: solid 1px #ccc;
	margin-bottom: 4px;
}

.later_heading {
	margin-top: 12px;
}

#record_label {
	color: #A2C5CF;
	margin: 3px 0;
}

#popup_background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #888;
	opacity: 0.8;
	-moz-opacity: 0.8;
	filter: alpha(opacity=80);
	z-index: 200;
}

#popup {
	position: fixed;
	top: 150px;
	left: 50%;
	width: 400px;
	margin-left: -200px;
	padding: 10px;
	border: solid 3px #444;
	background: #fff;
	z-index: 300;
}

#replace_keyword ul {
	margin: 10px 0 20px 0;
}

#replace_keyword p {
	margin: 0;
}

.chart {
	display: block;
	margin: 10px auto;
}

#chart_header {
	border-bottom: dotted 1px #888;
	margin-bottom: 10px;
}

#chart_header h2 {
	font-size: 1.2em;
	color: #888;
	float: right;
}

#main {
	width: 100%;
}

#main #main_content {
	float: left;
	width: 580px;
}

#main #sidebar {
	width: 300px;
	float: right;
	border: solid 2px #aaa;
	color: #666;
	background: #eee;
	padding: 5px;
	font-size: .85em;
}

#main #sidebar #logout {
	float: right;
}

#main #sidebar h3 {
	font-size: 1.1em;
	border-bottom: solid 1px #444;
}

#main #sidebar ul {
	list-style: none;
	padding: 0;
}

#main #sidebar li {
	padding: 3px 0;
}

#main a {
	text-decoration: none;
	color: #000;
}

#main a:hover {
	text-decoration: underline;
}

#main #main_content h3 {
	color: #888;
}

#main #main_content h3.section {
	border-bottom: solid 1px #ccc;
}

#main_content a {
	color: #043188;
}

.highlights {
	border-collapse: collapse;
	border-top: solid 1px #ccc;
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
	width: 100%;
}

.highlights tr {
	border-bottom: solid 1px #ccc;
}

.highlights td {
	padding: 2px;
}
.odd_highlight {
	background: #eee;
}

.highlights .info {
	width: 65%;
}

.highlights .type {
	font-size: .75em;
	color: #888;
}

.highlights .title {
	font-size: 1.1em;
}

.highlights .dates {
	text-align: right;
	color: #888;
	font-size: .9em;
}

.textile_helper {
	float: right;
	font-size: .6em;
	color: #888;
}

.textile_helper a {
	color: #888;
}

.textile_helper a:hover {
	color: #000;
}

#rev_history h2 {
	margin-bottom: 1em;
}

#rev_history h3 {
	color: #888;
	font-size: 1.1em;
	border-bottom: dashed 1px #ccc;
}

#rev_history ul {
	margin: 10px 0;
	font-size: .8em;
}

#confirm_delete p,
.confirm p {
	margin-bottom: 10px;
}

#confirm_delete .note,
.confirm .note {
	font-size: .8em;
}

#confirm_delete #photo {
	float: right;
}

.link_list {
	list-style: none;
	padding: 4px;
	margin: 0 0 5px 0;
	font-size: .9em;
}

.link_list li {
	float: left;
	width: 42%;
	margin: 0 4% 5px 0;
	padding: 5px;
	height: 2.5em;
	border: solid 2px #A0C5CE;
}

.link_list li:hover {
	border: solid 2px #7F9FA6;
}

#links a {
}

#links .everybody {
}

#links .admins {
}

.horizontal_sub_nav {
	float: right;
	list-style: none;
}

.horizontal_sub_nav li {
	display: inline;
	padding-left: 3px;
}

.horizontal_sub_nav a {
	color: #ccc;
	text-decoration: none;
}

.horizontal_sub_nav a:hover {
	text-decoration: underline;
}

#search_results {
	border-top: solid 1px #ccc;
	margin-top: 1em;
}

#chart_list a,
#export_list a {
	color: #043188;
	text-decoration: none;
}

#chart_list {
	background: url('/images/charts_icon.png') no-repeat;
	float: left;
}

#export_list {
	background: url('/images/export_icon.png') no-repeat;
	float: right;
}

#chart_list,
#export_list {
	width: 47%;
}

#chart_list h1,
#export_list h1 {
	margin-left: 60px;
	margin-top: 20px;
}

#chart_list ul,
#export_list ul {
	margin-top: 10px;
	padding-left: 20px;
}

#chart_list li,
#export_list li {
	line-height: 1.6em;
}

#chart_list a:hover,
#export_list a:hover {
	text-decoration: underline;
}

/* custom images for bulleted lists */
ul.bullets {
	list-style: none;
	padding-left: 0;
}

ul.bullets li {
	background-image: url('/images/bullet.gif');
	background-repeat: no-repeat;
	background-position: 0 8px;
	padding-left: 16px;
}

ul.bullets li.sub {
	font-size: .8em;
	padding-left: 32px;
	background-position: 16px 6px;
}

.deactivated {
	background-color: #FFDAED;
}

#tab_spinner {
	float: right;
	margin-top: 10px;
}

h2.divider {
	color: #888;
	border-bottom: dashed 1px #ccc;
	margin-bottom: 5px;
}

h4.subheading {
	color: #666;
}

/* styles for ajax-initiated error messages */

.errors {
	margin-bottom: 5px;
	padding: 4px 6px 6px 6px;
	background: #83383B;
	color: #fff;
	/* CSS3 styles for extra good looks */
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.errors p, .errors ul, .errors li {
	display: inline;
}

.errors p {
	font-weight: bold;
	font-size: .8em;
}

.errors ul {
	list-style: none;
	padding: 0;
}

.errors ul li {
	font-size: .7em;
}

.add_action {
	margin: 3px 0;
}

.remove a,
.add_action a,
#another_attachment a {
	color: #043188;
	text-decoration: none;
	font-size: .8em;
}

.remove a:hover,
.add_action a:hover,
#another_attachment a {
		text-decoration: underline;
}
