/*
 * Dashboard.css - Dashboard administration template styles
 *	Copyright (c) 2007 Einstein Industries, http://www.einsteinindustries.com; All Rights Reserved
 *
 *	FONT SIZING:
 * 	
 *	Text & line-height are defined using ems
 *	Body element font-size is defined using a percentage to ensure cross-browser scaling of text 
 *
 *	Source: http://alistapart.com/articles/howtosizetextincss
 *
 */


/*--------------------------------------------------------------------------------------------------
   GENERAL THEME
--------------------------------------------------------------------------------------------------*/

body {
    font-size: 81.25%; /* 16 x 0.8125 = 13 */
    line-height: 1.5em; /* 13 × 1.5 = 19.5 */
	font-family: "Trebuchet MS",arial,helvetica,clean,sans-serif;
	background: url(../../images/admin/sidebar-faux.jpg) 0 0 repeat-y #f0f0f0;
}

#page {
	width: auto;
}

#header_container {
	background:	url(../../images/admin/transparent-gradient.png) repeat-x 0 44px #88CCFF;
	height: 107px;
	width: 100%;
}
* html #header_container {
	background: #88CCFF; /* IE6 FIX */
}

#header {
	color: #fff;
	height: 43px;
	background: url(../../images/admin/top-bar.jpg) repeat-x 0 0 transparent;
}

#header h1 {
	font-size: 1.846em; /* 13 x 1.846 = 24 */
	line-height: 1.25em; /* 24 x 1.25 = 30 */
	font-weight: normal;
	float: left;
	margin-top: 6px;
	padding-left: 10px;
}
#header h1 span {
	font-size: 0.54em; /* 24 x 0.54 = 13 */
	padding-left: 5px;
}

#header a:link, 
#header a:visited {
	color: #fff;
}
#header a:hover, 
#header a:active {
	color: #000;
	background-color: #fff;
}
#header a.admin:hover {
	color: #fff;
	background-color: #f00;
}

#user_info {
	float: right;
	padding: 10px;
}

#navigation_container_upper {
	height: 56px;
	overflow: hidden;
/*	border-top: 1px solid #ffffff;*/
	background: url(../../images/admin/transparent-gradient.png) repeat-x 0 0;
}
* html #navigation_container_upper {
	background: none;
	font-weight: bold;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='../../images/admin/transparent-gradient.png', sizingMethod='scale');
}

#navigation_container_upper ul {
	list-style-type: none;
	margin: 21px 0 0 10px;
	position: absolute;
}

#navigation_container_upper ul li {
	list-style-type: none;
	display: block;
	display: inline;
}

#navigation_container_upper a,
#navigation_container_upper a:link, 
#navigation_container_upper a:visited {
	background-color: transparent;
	text-decoration: none;
	color: #ffffff;
	display: block;
	float: left;
	padding: 0 14px 0 14px;
	cursor: pointer;
	line-height: 2.692em; /* 13 x 2.692 = 35 */
}

#navigation_container_upper a:hover, 
#navigation_container_upper a:active {
	color: #717171;
	padding: 0 0 0 0;
}

#navigation_container_upper a:hover span.main_navigation_left, 
#navigation_container_upper a:active span.main_navigation_left {
	height: 35px;
	width: 14px;
	display: block;
	float: left;
	background: url(../../images/admin/main-tab-left-inactive.png) no-repeat top right transparent;
} 

* html #navigation_container_upper a:hover span.main_navigation_left, 
* html #navigation_container_upper a:active span.main_navigation_left { 
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='../../images/admin/main-tab-left-inactive.png', sizingMethod='scale');
}

#navigation_container_upper a:hover span.main_navigation_right,
#navigation_container_upper a:active span.main_navigation_right {
	height: 35px;
	display: block;
	float: left;
	color: #373737;
	padding: 0 14px 0 0;
	background: url(../../images/admin/main-tab-right-inactive.png) no-repeat top right transparent;
}

* html #navigation_container_upper a:hover span.main_navigation_right,
* html #navigation_container_upper a:active span.main_navigation_right {	
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='../../images/admin/main-tab-right-inactive.png', sizingMethod='scale');
}

#navigation_container_upper a.active,
#navigation_container_upper a.active:link, 
#navigation_container_upper a.active:visited {
	padding: 0 0 0 0;
}

#navigation_container_upper a.active span.main_navigation_left,
#navigation_container_upper a.active:link span.main_navigation_left, 
#navigation_container_upper a.active:visited span.main_navigation_left {
	height: 35px;
	width: 14px;
	display: block;
	float: left;
	background: url(../../images/admin/main-tab-left-active.png) no-repeat top right transparent;
}

* html #navigation_container_upper a.active span.main_navigation_left,
* html #navigation_container_upper a.active:link span.main_navigation_left, 
* html #navigation_container_upper a.active:visited span.main_navigation_left {	
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='../../images/admin/main-tab-left-active.png', sizingMethod='scale');
}

#navigation_container_upper a.active span.main_navigation_right,
#navigation_container_upper a.active:link span.main_navigation_right, 
#navigation_container_upper a.active:visited span.main_navigation_right {
	height: 35px;
	display: block;
	float: left;
	color: #333333;
	padding: 0 14px 0 0;
	background: url(../../images/admin/main-tab-right-active.png) no-repeat top right transparent;
}

* html #navigation_container_upper a.active span.main_navigation_right,
* html #navigation_container_upper a.active:link span.main_navigation_right, 
* html #navigation_container_upper a.active:visited span.main_navigation_right {	
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='../../images/admin/main-tab-right-active.png', sizingMethod='scale');
}

#navigation_container_lower, 
#footer {
	display: none;
}

#masthead {
	padding: 7px 0 0 0;
	background: url(../../images/admin/horizontal-seperator.jpg) repeat-x 0 0 #f0f0f0;
}
.content_shadow {
	height: 5px;
	width: 100%;
	position: absolute;
	top: 115px;
	z-index: 10;
	margin: -8px 0 0 0;
	background: url(../../images/admin/content-shadow.png) repeat-x 0 0 transparent;
}
* html .content_shadow {
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='../../images/admin/content-shadow.png', sizingMethod='crop');
}

/* Main content panel ------------ */

#content {
	overflow: auto;
	position: absolute;
	width: auto;
	margin: 0 0 0 0;
	padding: 8px 6px 8px 3px;
	bottom: 0px;
	right: 0px;
	top: 107px;
	left: 275px;
	background-color: #f0f0f0;
}
	
#page_content {
	border: 2px solid #e1e1e1;
	background-color: #ffffff;
	padding: 10px 10px 10px 10px;
	_width: 900px; /* IE6 fix, since it can't handle the absolutely positioned columns */
}
#page_content h1 {
	font-size: 1.846em; /* 13 x 1.846 = 24 */
	line-height: 1.167em;  /* 24 x 1.167 = 28 */
	margin: 0 0 15px 0;
}
#page_content h2 {
	font-size: 1.385em; /* 13 x 1.385 = 18 */
	margin: 10px 0 12px 0;
}
#page_content h3 {
	margin-bottom: 7px;
}
#page_content p {
	margin: 9px 0 9px 0; 
}
#page_content ul {	
	padding: 0 0 10px 20px;
}
#page_content ul li {
	background: url(../../images/admin/li-blue-arrow.png) no-repeat left center #ffffff;
	padding: 0 0 0 20px;
	line-height: 1.923em; /* 13 x 1.923 = 25 */
}

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

#sidebar {
	width: 275px;
	bottom: 0px;
	left: 0px;
	position: absolute;
	top: 107px;
}
#sidebar_content {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: 251px;
}

/* Sidebar content block */

#sidebar_content .sidebar_item {
	background: #bbb none repeat scroll 0% 50%;
	border: 1px solid #fff;
	margin-left: 12px;
	margin-top: 12px;
	padding: 5px;
	text-align: center;
}

#sidebar_content ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style-type: none;
}
#sidebar_content li { 
	margin: 0 0 1px 0; 
}

#sidebar_content a,
#sidebar_content a:link,
#sidebar_content a:visited {
	display: block;
	width: 242px;
	padding: 0 10px 0 10px;
	line-height: 2.692em; /* 13 x 2.692 = 35 */
	color: #ffffff;
	text-decoration: none;
	border-bottom: 1px solid #555555;
}
* html #sidebar_content a,
* html #sidebar_content a:link,
* html #sidebar_content a:visited {
	width: 100%;
}

#sidebar_content a:hover,
#sidebar_content a:active {
	color: #ffffbe;
	text-decoration: none;
	background: url(../../images/admin/sidebar-arrow-right.gif) no-repeat center right #222222;
}

#sidebar_content ul ul li { 
	margin: 0 0 1px 0; 
}

#sidebar_content ul ul a,
#sidebar_content ul ul a:link,
#sidebar_content ul ul a:visited {
	display: block;
	padding: 0 10px 0 30px;
	color: #ffffff;
	text-decoration: none;
	border: none;
}

#sidebar_content ul ul a:hover,
#sidebar_content ul ul a:active {
	color: #ffffbe;
	text-decoration: none;
	background-color: #222222;
}

/*--------------------------------------------------------------------------------------------------
   FORM DEFINITIONS
--------------------------------------------------------------------------------------------------*/

input, textarea, select {
	background-color: #ffffff !important;
	color: #000000;
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 1.1em; /* 13 x 1.1 = 14.3 */
	margin: 0;
	padding: 2px 0 2px 4px;
	width: 300px;
	vertical-align: middle;
}
select {
	padding: 2px 0 !important;
	width: auto;
}
option {
	padding-right: 3px;
}

fieldset {
  	background-color: #ffffff;
  	border-top: 2px solid #0096DB;
	display: block;
	margin-top: 15px;
	padding-bottom: 20px;
	position: relative;
}

* html fieldset {
    /* IE Fix: Fieldset background Problem */
    padding: 10px 0 20px 0;
}

fieldset legend {
	color: #404040;
	height: 24px;
	font-weight: bold;
	font-size: 1.231em; /* 13 x 1.231 = 16 */
	line-height: 1.5em; /* 16 x 1.5 = 24 */
	margin-left: -6px;
	padding: 0 5px 0 5px;
}

* html fieldset legend {
	/* IE Fix: Fieldset background Problem */
    position: absolute;
    top: -10px;
}

fieldset dl,
form dl {
	padding: 15px 10px 0 15px;
}
	
* html fieldset dl,
* html form dl {
	/* IE Fix: 3px Bug */
	height: 1%;
}

fieldset dt,
form dt {
	padding: 0 0 5px 0;
	display: block;
	width: 250px;
	float: left;
	clear: both;
	margin: 0 0 0 0;
}

* html fieldset dt,
* html form dt {
	/* IE Fix: 3px Bug */
	position: absolute;
	margin-left: -270px;
}

fieldset dt label,
form dt label {
	font-size: 1.308em;  /* 13 x 1.308 = 17 */
}

fieldset dd,
form dd {
	display: block;
	line-height: 1.769em; /* 13 x 1.769 = 28 */
	padding: 0 0 5px 0;
	margin: 0 0 5px 270px;
}

button {
	padding: 2px 4px 2px 4px;
	margin: 0 0 0 4px;
}

input.button {
	width: auto !important;
	padding: 4px 4px 4px 4px !important;
}
input.radio, input.checkbox {
	width: auto;
}
input.checkbox {
	margin: 6px 0 6px 0;
}

.cancel_link {
	display: block;
	line-height: 2.769em; /* 13 x 2.769 = 36 */
}

.rich_textarea {
	height: 150px;
}

textarea.code {
	font: 0.917em "Deja Vu Sans Mono", Monaco, "Courier New", monospace; /* 12 x 0.917 = 11 */
}
textarea.full_width {
	width: 100%;
}
textarea.medium {
	height: 100px;
}
textarea.small {
	height: 36px;
}

/*--------------------------------------------------------------------------------------------------
   TABLE DEFINITIONS
--------------------------------------------------------------------------------------------------*/

table {
	color: #333333;
	border-collapse: collapse;
	width: 100%;
	margin: 5px 0 0 0;
}

td, th {
	padding: 7px 5px 7px 7px;
	min-height: 35px;
	cursor: default;
	vertical-align: middle;
}
td.options { 
	text-align: right;
}
td .button-to,
td .button-to div { 
	display: inline;
}

caption {
	margin-top: 4px;
}
thead th, caption {
	padding: 0 5px 0 7px;
	text-align: left;
	height: 30px;
	font-size: 1.077em; /* 13 x 1.077 = 14 */
	line-height: 2.142em; /* 14 x 2.142 = 30 */
	cursor: pointer;
	font-weight: normal;
	color: #ffffff;
}
thead tr, caption {
	background: url(../../images/admin/thead.jpg) repeat-x 0 0 #373737;
	color: #ffffff;
}
thead tr td, thead tr th, caption {
	border-bottom: 2px solid #0096DB;
}
body.index tbody tr:hover {
	background-color: #fafafa;
}
tr.odd {
	background-color: #f0f0f0;
}
tbody tr td {
	border-bottom: 1px solid #ddd;
}

tfoot td {
	padding-bottom: 10px;
}
tfoot tr {
	border-top: 2px solid #5fabe1;
}
tfoot ol {
	margin: 0;
	padding: 15px 20px 5px 20px;
}

/*--------------------------------------------------------------------------------------------------
   Basic Element Definitions
--------------------------------------------------------------------------------------------------*/

small {
	font-size: 0.923em; /* 13 x 0.923 = 12 */
	color: #777777;
	padding: 3px 3px 3px 3px;
}
		
/*--------------------------------------------------------------------------------------------------
   HYPERLINK CLASSES
--------------------------------------------------------------------------------------------------*/

a {
	padding: 1px;
}
a:link,
a:visited {
	color: #077cb2;
	text-decoration: underline;
}
a:hover,
a:active {
	color: #fff;
	background-color: #077cb2;
	text-decoration: none;
}

a.add, a.delete, a.remove, a.page, a.pencil {
	background-color: transparent;
}
a.add, a.remove, a.page, a.pencil {
	padding: 3px 10px 3px 20px;
}
a.add {
	background: url(../../images/admin/icon_add.gif) no-repeat left center transparent;
}
a.delete { 
	padding: 3px 10px 3px 0;
	color: red;
}
a.remove {
	color: red;
	background: url(../../images/admin/icon_delete.gif) no-repeat left center transparent;
}
a.page {
	background: url(../../images/admin/icon_page.gif) no-repeat left center transparent;
}
a.pencil {
	background: url(../../images/admin/icon_pencil.gif) no-repeat left center transparent;
}

a.admin:link, a.admin:visited {
	color: #f00;
	font-weight: normal;
}
a.adminfull:link, a.adminfull:visited {
	color: #f00;
	font-weight: bold;
	text-decoration: underline;
}
a.admin:hover, a.adminfull:hover {
	color: #fff;
	background-color: #f00;
}
a.black:link, a.black:visited {
	color: #000;
}
a.black:hover {
	color: #fff;
	background-color: #000;
}

/*--------------------------------------------------------------------------------------------------
   LOGIN PAGE
--------------------------------------------------------------------------------------------------*/

body#login {
	background-color: #f0f0f0;
	background-image: none;
}

#login_form {
	height: 150px;
	width: 490px;
	position: absolute;
	margin: -125px 0 0 -245px;
	top: 45%;
	left: 50%;
}
#login_form input, #login_form textarea, #login_form select {
	width: 260px;
}
#login input.radio, #login input.checkbox {
	width: auto;
}
#login_form fieldset {
	width: 490px;
	background-color: #f0f0f0;
	border: none;
}
#login_form dl {
	background-color: #ffffff;
	border: 10px solid #cccccc;
	padding-top: 15px;
}
#login_form dt {
	width: 150px;
}
#login_form dd {
	margin-left: 160px;
}
#login_form legend {
	font-size: 24px;
	font-size: 1.846em; /* 13 x 1.846 = 24 */
	color: #0096DB;
}
	
/*--------------------------------------------------------------------------------------------------
   Flashes
--------------------------------------------------------------------------------------------------*/	

#flashes {
	border: 7px solid #4f4f4f;
	margin: 15px 0 16px 13px;
	color: #ffffff;
	background: url(../../images/admin/flashes-bg.jpg) repeat-x 0 0 #363636;
	overflow: hidden;
}
#flash_notice {
	margin: 15px 0 15px 0;
	background: url(../../images/admin/tick.gif) 50% 0 no-repeat;
	padding: 40px 20px 10px 20px;
}
#flash_notice p {
	padding: 10px 10px 10px 10px;
	border-bottom: 1px solid #5aa252;
	border-top: 1px solid #5aa252;
	text-align: center;
}
#flash_errors {
	margin: 15px 0 15px 0;
	padding: 10px 20px 10px 20px;
}
#flash_errors p {
	padding: 10px 10px 10px 10px;
	border-bottom: 1px solid #ea6c59;
	border-top: 1px solid #ea6c59;
	text-align: center;
}

#login_form #flashes {
	width: 430px;
	position: absolute;
	top: -150px;
	z-index: 10;
}
#login_form #flash_notice {
	background: url(../../images/admin/tick.gif) 20px 20px no-repeat;
	padding: 10px 20px 0 20px;
}
	
.errorExplanation {
	border: 2px solid red;
	color: red;
	padding: 10px 10px 10px 10px;

	background: #ffd7d7;
}
.errorExplanation h2 {
	font-size: 18px;
	font-size: 1.385em; /* 13 x 1.385 = 18 */
}
.errorExplanation p {
	font-style: italic;
}
#page_content .errorExplanation ul li {
	background: none;
	list-style-type: none;
	padding: 5px 0 0 20px;
}

/* Default Rails error styling */

.fieldWithErrors {
	display: inline;
}

/* System messages */

.system_message {
	text-align: center;
	margin: 5px 0px 12px 0px;
	border-top: 1px solid orange;
	border-bottom: 1px solid orange;
	background: #ffc;
	/* IE Fix (peekaboo) */
	position: relative;
}
.system_message.error {
	border-color: #c00;
	background: #fff4ef;
}
.system_message.notice {
	border-color: #689f3b;
	background: #f8fdf3;
}
.system_message.message {
	border-color: #0063c4;
	background: #f1fbff;
}

/* will_paginate */

.pagination {
	margin: 10px 4px 8px 0;
	text-align: right;
}

/* Move Sections */

#move_form p {
	text-align: center;
}

/********************************************
	Breadcrumb
********************************************/

#admin_breadcrumb {
	height: 25px;
}

/*--------------------------------------------------------------------------------------------------
   Definition List (non-form)
--------------------------------------------------------------------------------------------------*/

dl.attribute_list dt {
	font-weight: bold;
	padding-top: 10px;
}
dl.attribute_list dd {
	margin-top: -15px;
	margin-left: 200px;
	padding-bottom: 10px;
}

/*--------------------------------------------------------------------------------------------------
   Some Basic Tools
--------------------------------------------------------------------------------------------------*/
	
.hidden {
	display: none;
}
	
/*--------------------------------------------------------------------------------------------------
   RESET OTHER PEOPLES CRAPPY OBTRUSIVE CODE
--------------------------------------------------------------------------------------------------*/	

.mceEditorContainer {
	width: 500px;
}
.mceEditorContainer td {
	padding: 5px 5px 5px 5px;
	height: 1px;
	line-height: 1px;
}
.mceEditorContainer iframe {
	border: 2px solid #e1e1e1;
}
.mceEditorContainer .mceSelectList {
	width: auto;
}
/* TODO: We change this here but its useless since tinymce imports its stylesheets dynamically after this 
	essentially overriding this, so this is more of a note, please edit editor_ui.css for tinymce */
.mceToolbarContainer {
	position: static;
}



ul#rights_modification_log {
	margin: 1em;
	padding: 0;
}

.post_form .content dt {
	display: block;
	float: none;
	width: auto;
	font-size: .9em;
	padding: 0;
	font-family: monospace;
}

.post_form .settings dt {
	width: 150px;
	font-size: .9em;
	padding: 4px 0 0 0;
	font-family: monospace;
}

.post_form .content dd {
	margin: 0;
}

.post_form .settings dd {
	margin-left: 160px;
}

.post_form .content {
	margin-bottom: 10px;
}

.post_form .content #post_title,
.post_form .content #post_body,
.post_form .content #post_excerpt {
	width: 98%;
}

.post_form #post_title {
	font-size: 1.2em;
}

.post_form #post_excerpt {
	font-size: 12px;
}

.post_form .content #post_body {
	height: 250px;
}

.post_form .content #post_excerpt {
	height: 150px;
}

.post_form .submit {
	margin-left: 0;
	padding: 10px;
	background: #eee;
}

/* IE fixes for post form */

* html .post_form .content dt,
* html .post_form .settings dt {
	position: relative;
	margin-left: 0;
}