/*--------------------------------------------------------------------------------------------------
   Author: kmiller@einsteinindustries.com
--------------------------------------------------------------------------------------------------*/

div.dates select {
	width: 100px;
}

input.submit, input.button {
	width: auto;
}

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

* html, 
* html body {
	background-attachment: fixed;
}

body {
	min-width: 100%;
	font-family: "Trebuchet MS",arial,helvetica,clean,sans-serif;
	font-size: 13px;
}

	* html body {
		height: 100%;
		bottom: 300px;
	}

#wrapper {
	width: 100%;
}

#header_container {
	position: fixed;
	width: 100%;
	/* TODO: This sets the background of the gradient bar */
	background:	url(/directory/images/admin/transparent-gradient.png) repeat-x 0 44px #00CC66;
	top: 0px;
	left: 0px;
	z-index: 30;
	height: 107px;
}
	
	* html #header_container {
		position: absolute;
	}

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

	#header h1 {
		font-size: 18px;
		font-weight: normal;
		float: left;
		line-height: 43px;
	}

	#header h1 a:link, 
	#header h1 a:visited {
		padding: 10px;
		text-decoration: none;
		color: #ffffff;
	}
	
	#header h1 a:hover, 
	#header h1 a:active {
		color: #ffffbe;
	}

	#user_tools_container span {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		display: block;
		height: 43px;
		width: 120px;
	}
	
	a#user_tools,
	a:link#user_tools,
	a:visited#user_tools {
		display: block;
		height: 43px;
		width: 120px;
		padding: 0 0 0 0;
		margin: 0 0 0 0;
		background: url(/directory/images/admin/user-tools.jpg) no-repeat right 0 transparent;
		cursor: pointer;
	}

	a:hover#user_tools,
	a:active#user_tools {
		background: url(/directory/images/admin/user-tools.jpg) no-repeat right -43px transparent;
	}
	
	#user_tools_container a span {
		display: block;
		height: 43px;
		width: 120px;
		visibility: hidden; /* Normally I would use display: none here but in IE6 it won't let us se th the height if we do */
	}
	
	#user_tools_container {
		width: 130px;
		float: right; 
		padding: 0 10px 0 0;
		height: 43px;	
		position: absolute;
		z-index: 20;
		right: 0px;		
	}
	
	.user_tools_drop_down_container {
		position: absolute;
		z-index: 20;
		left: 0;
		top: 43px;
		border-left: 1px solid #ffffff;
		border-right: 1px solid #ffffff;
		border-bottom: 1px solid #ffffff;
		background-color: #373737;
	}
	
	#user_tools_flyout {
		/* Needed for the Javascript slidedown version */
		width: 120px;
	}
	
	ul#user_tools_drop_down  {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		list-style: none;
		width: 120px;
	}

	ul#user_tools_drop_down li ul {
		display: none;
		padding: 10px 10px 10px 10px;
		width: 100px;
	}

	* html ul#user_tools_drop_down li {
		float: left; 
		height: 1%; 
	}
	
	* html ul#user_tools_drop_down li a { 
		height: 1%; 
	}
	
	* html ul#user_tools_drop_down li ul {
		display: block;
		visibility: hidden;
	}

	#user_tools_drop_down table, 
	#user_tools_drop_down thead, 
	#user_tools_drop_down tbody, 
	#user_tools_drop_down tfoot, 
	#user_tools_drop_down th, 
	#user_tools_drop_down tr, 
	#user_tools_drop_down td {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		line-height: 150%;
	}

	#user_tools_drop_down table {
		position: absolute; 
		border-collapse: collapse; 
		top: 0; 
		left: 0; 
		z-index: 100; 
	}

	* html #user_tools_drop_down li a:hover {
		position: relative; 
	}

	* html #user_tools_drop_down li ul {
		visibility: hidden; 
		display: block; 
	}

	/* The menu magic... */
	ul#user_tools_drop_down li:hover ul { 
		display: block; 
	}

	* html	#user_tools_drop_down li a:hover ul {
		visibility: visible; 
	}

	#user_tools_list {
		list-style-type: none;
		padding: 5px 0 10px 0;
	}

	#user_tools_list li {
		padding: 5px 0 10px 0;
	}
	
	#user_tools_list a,
	#user_tools_list a:link,
	#user_tools_list a:visited {
		color: #ffffff;
		text-decoration: none;
		display: block;
		width: 75px;
	}
	
	#user_tools_list a:hover,
	#user_tools_list a:active {
		color: #ffffbe;
	}

	#user_tools_list a#tools_view_site {
		padding: 0 0 0 25px;
		background: url(/directory/images/admin/icon_layout.gif) no-repeat center left transparent;
	}

	#user_tools_list a#tools_user_account {
		padding: 0 0 0 25px;
		background: url(/directory/images/admin/icon_user_suit.gif) no-repeat center left transparent;
	}

	#user_tools_list a#tools_support {
		padding: 0 0 0 25px;
		background: url(/directory/images/admin/icon_help.gif) no-repeat center left transparent;
	}

	#user_tools_list a#tools_logout {
		padding: 0 0 0 25px;
		background: url(/directory/images/admin/icon_logout.gif) no-repeat center left transparent;
	}

#navigation_container_upper {
	height: 56px;
	overflow: hidden;
	border-top: 1px solid #ffffff;	
	background: url(/directory/images/admin/transparent-gradient.png) repeat-x 0 0;
}

	* html #navigation_container_upper {
		background: none;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='/directory/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 {
		text-decoration: none;
		font-size: 13px;
		color: #ffffff;
		display: block;
		float: left;
		padding: 0 14px 0 14px;
		cursor: pointer;
		line-height: 35px;
	}

	#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(/directory/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='/directory/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;
		line-height: 35px;
		background: url(/directory/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='/directory/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(/directory/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='/directory/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;
		line-height: 35px;
		background: url(/directory/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='/directory/images/admin/main-tab-right-active.png', sizingMethod='scale');
	}
	
#navigation_sidebar { 
	margin: 0 0 15px 0; 
}

	#navigation_sidebar ul {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		list-style-type: none;
	}

	#navigation_sidebar li { 
		margin: 0 0 1px 0; 
	}

	#navigation_sidebar a,
	#navigation_sidebar a:link,
	#navigation_sidebar a:visited {
		display: block;
		padding: 0 10px 0 10px;
		line-height: 35px;
		color: #ffffff;
		text-decoration: none;
		border-bottom: 1px solid #555555;
	}

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

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

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

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

#navigation_container_lower, 
#right, 
#footer {
	display: none;
}

#masthead {
	padding: 7px 0 0 0;
	background: url(/directory/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(/directory/images/admin/content-shadow.png) repeat-x 0 0 transparent;
	}
	
	* html .content_shadow {
		background: none;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='/directory/images/admin/content-shadow.png', sizingMethod='crop');
	}

#main {
	float: none;
	padding: 107px 0 0 0;
	background-color: #f0f0f0;
}

	#main:after {
	    content: ""; 
	}

#content {
	height: 100%; 
	background: url(/directory/images/admin/sidebar-faux.jpg) 0 0 repeat-y #f0f0f0;
}

#center {
	margin: 0 0 0 0;
	padding: 8px 8px 8px 8px;
	background-color: #f0f0f0;
	position: relative;
	overflow: auto;
}

	* html #center {
		margin-left: 275px;
	}
		
	#page_contents {
		border: 2px solid #e1e1e1;
		background-color: #ffffff;
		padding: 10px 10px 10px 10px;
	}
	
	#page_contents h1 {
		font-size: 24px;
		margin: 0 0 15px 0;
	}
	
	#page_contents h2 {
		font-size: 18px;
		margin: 10px 0 10px 0;
	}
	
	#page_contents p {
		line-height: 150%; 
		margin: 9px 0 9px 0; 
	}

	#page_contents ul {	
		padding: 0 0 10px 20px;
	}
		
	#page_contents ul li {
		background: url(/directory/images/admin/li-blue-arrow.png) no-repeat left center #ffffff;
		padding: 0 0 0 20px;
		line-height: 25px;
	}

#left {
	width: 275px;
	height: 100%;
	background-color: #373737;
}

	#left_content {
		height: 100%;
		margin: 0 0 0 0; /* TODO: Add margin to allow space for sidebar tabs, i.e. 0 45px 0 0 */
		padding: 0 0 0 0;
		float: left;
		overflow: hidden;
		width: 251px;
	}
	
	#left_tabs {
		height: 100%; 
		width: 12px; /* TODO: Add margin to allow space for sidebar tabs, i.e. 45px */
		margin: 0 0 0 263px; /* TODO: Adjust margin for tabs, i.e. 275px-12px=263px */
		background: url(/directory/images/admin/sidebar-top.jpg) repeat-y 0 0 #f0f0f0;
	}
	
	* html #left_tabs {
		position: absolute;
		margin-left: 12px; /* TODO: IE6 ONLY: Adjust margin for tabs, i.e. 12px */
	}
	
	#left_handle {
		width: 8px;
		height: 100%;
		cursor: col-resize;
		float: left;
	}
	
	#sidebar_tabs {
		width: 32px;
		float: left;
		list-style-type: none;
		margin: 20px 0 0 0;
	}

	#sidebar_tabs a,
	#sidebar_tabs a:link,
	#sidebar_tabs a:visited {
		width: 32px;
		display: block;
	}
	
	#sidebar_tabs a span {
		display: none;
	}

	/* 'Users' tab */
	 
	#sidebar_tabs a#sidebar_users,
	#sidebar_tabs a:link#sidebar_users,
	#sidebar_tabs a:visited#sidebar_users {
		height: 61px;
		background: url(/directory/images/admin/sidebar-users-inactive.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs a:hover#sidebar_users,
	#sidebar_tabs a:focus#sidebar_users {
		background: url(/directory/images/admin/sidebar-users-inactive-hover.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs .active a#sidebar_users,
	#sidebar_tabs .active a:link#sidebar_users,
	#sidebar_tabs .active a:visited#sidebar_users {
		height: 61px;
		background: url(/directory/images/admin/sidebar-users-active.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs .active a:hover#sidebar_users,
	#sidebar_tabs .active a:focus#sidebar_users {
		background: url(/directory/images/admin/sidebar-users-active-hover.jpg) no-repeat 0 0 transparent;		
	}
	
	/* 'Settings' tab */
	 
	#sidebar_tabs a#sidebar_settings,
	#sidebar_tabs a:link#sidebar_settings,
	#sidebar_tabs a:visited#sidebar_settings {
		height: 78px;
		background: url(/directory/images/admin/sidebar-settings-inactive.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs a:hover#sidebar_settings,
	#sidebar_tabs a:focus#sidebar_settings {
		background: url(/directory/images/admin/sidebar-settings-inactive-hover.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs .active a#sidebar_settings,
	#sidebar_tabs .active a:link#sidebar_settings,
	#sidebar_tabs .active a:visited#sidebar_settings {
		height: 78px;
		background: url(/directory/images/admin/sidebar-settings-active.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs .active a:hover#sidebar_settings,
	#sidebar_tabs .active a:focus#sidebar_settings {
		background: url(/directory/images/admin/sidebar-settings-active-hover.jpg) no-repeat 0 0 transparent;		
	}
	
	/* 'Help' tab */
	 
	#sidebar_tabs a#sidebar_help,
	#sidebar_tabs a:link#sidebar_help,
	#sidebar_tabs a:visited#sidebar_help {
		height: 56px;
		background: url(/directory/images/admin/sidebar-help-inactive.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs a:hover#sidebar_help,
	#sidebar_tabs a:focus#sidebar_help {
		background: url(/directory/images/admin/sidebar-help-inactive-hover.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs .active a#sidebar_help,
	#sidebar_tabs .active a:link#sidebar_help,
	#sidebar_tabs .active a:visited#sidebar_help {
		height: 56px;
		background: url(/directory/images/admin/sidebar-help-active.jpg) no-repeat 0 0 transparent;		
	}
	
	#sidebar_tabs .active a:hover#sidebar_help,
	#sidebar_tabs .active a:focus#sidebar_help {
		background: url(/directory/images/admin/sidebar-help-active-hover.jpg) no-repeat 0 0 transparent;		
	}
	

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

input, textarea, select {
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 1.1em;
	margin: 0;
	padding: 2px 0 2px 4px;
	width: 260px;
}

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;
		font-size: 1.3em;
		font-weight: bold;
		height: 24px;
		line-height: 24px;
		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: 275px;
		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.1em; 
		line-height: 28px;
	}

	fieldset dd,
	form dd {
		display: block;
		line-height: 28px;
		padding: 0 0 5px 0;
		margin: 0 0 5px 270px;
	}

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

	button.default,
	button.submit,
	button.cancel,
	a.button,
	a.button:link,
	a.button:visited {
		border: none;
		outline: none;
	    display: block;
	    float: left;
		height: 25px;
		font: normal 12px arial, sans-serif;
		cursor: pointer;
		padding: 0 0 0 0;
		margin: 0 0 0 0;
		text-decoration: none;
		background-color: #ffffff;
		color: #444444;
	}

	button.default,
	button.submit,
	button.cancel {
		overflow: visible;
		width: auto;
	}
	
	button.default span,
	button.submit span,
	button.cancel span,
	a.button span,
	a.button:link span,
	a.button:visited span {
		height: 24px;
		display: block;
		padding: 0 14px 0 0;
		margin: 0 1px 0 1px;
		background: url(/directory/images/admin/bg_button_right.gif) no-repeat top right transparent;
	}
	
	* html button.default span,
	* html button.submit span,
	* html button.cancel span,
	* html a.button span,
	* html a.button:link span,
	* html a.button:visited span {
		display: inline;
	}
	
	*:first-child+html button.default span[type],
	*:first-child+html button.submit span[type],
	*:first-child+html button.cancel span[type],
	*:first-child+html a.button span[type],
	*:first-child+html a.button:link span[type],
	*:first-child+html a.button:visited span[type] {
		display: block;
	}
	
	button.default span span,
	button.submit span span,
	button.cancel span span,
	a.button span span,
	a.button:link span span,
	a.button:visited span span {
		height: 24px;
		line-height: 24px;
		display: block;
		padding: 0 0 0 14px;
		background: url(/directory/images/admin/bg_button_left.gif) no-repeat top left transparent;
	}
	
	* html button.default span span,
	* html button.submit span span,
	* html button.cancel span span,
	* html a.button span span,
	* html a.button:link span span,
	* html a.button:visited span span {
		display: inline;
		padding: 5px 0 4px 14px;
	}

	*:first-child+html button.default span span[type],
	*:first-child+html button.submit span span[type],
	*:first-child+html button.cancel span span[type],
	*:first-child+html a.button span span[type],
	*:first-child+html a.button:link span span[type],
	*:first-child+html a.button:visited span span[type] {	
		display: block;
		padding: 0 0 0 14px;
	}
	
	/* Normal Style */
	button.default:active span,
	button.submit:active span,
	button.cancel:active span,
	button.active:active span,
	a.button:active span {
		background: url(/directory/images/admin/bg_button_right.gif) no-repeat bottom right transparent;	
	}
	
	button.default:active span span,
	button.active:active span span,		
	a.button:active span span {
		background: url(/directory/images/admin/bg_button_left.gif) no-repeat bottom left transparent;	
	}

	/* Submit Style */
	button.submit span span,
	a.submit span span,
	a.submit:link span span,
	a.submit:visited span span {
		padding-left: 26px;
		background: url(/directory/images/admin/bg_button_left_submit.gif) no-repeat top left transparent;
	}
	
	button.submit:active span span,
	a.submit:active span span {
		padding-left: 26px;
		background: url(/directory/images/admin/bg_button_left_submit.gif) no-repeat bottom left transparent;	
	}		

	/* Cancel Style */
	button.cancel span span,
	a.cancel span span,
	a.cancel:link span span,
	a.cancel:visited span span {
		padding-left: 26px;
		background: url(/directory/images/admin/bg_button_left_cancel.gif) no-repeat top left transparent;
	}
	
	button.cancel:active span span,
	a.cancel:active span span {
		padding-left: 26px;
		background: url(/directory/images/admin/bg_button_left_cancel.gif) no-repeat bottom left transparent;	
	}

.checkbox {
	margin: 6px 0 6px 0;
	width: auto;
}

.cancel_link {
	display: block;
	line-height: 200%;
}

.rich_textarea {
	height: 150px;
}

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

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

	thead {
	}

	thead th {
		padding: 0 5px 0 7px;
		text-align: left;
		height: 30px;
		line-height: 30px;
		cursor: pointer;
		font-weight: normal;
		color: #ffffff;
	}

	thead tr {
		background: url(/directory/images/admin/thead.jpg) repeat-x 0 0 #373737;
		border-bottom: 2px solid #0096DB;
		color: #ffffff;
	}
	
	tr.odd {
		background-color: #f0f0f0;
	}
	
	td {
		padding: 7px 5px 7px 7px;
		min-height: 35px;
		line-height: 20px;
		cursor: default;
		vertical-align: top;
	}

	tfoot {
	}

	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: 12px;
	color: #777777;
	padding: 3px 3px 3px 3px;
}
		
/*--------------------------------------------------------------------------------------------------
   HYPERLINK CLASSES
--------------------------------------------------------------------------------------------------*/

a,
a:link,
a:visited {
	text-decoration: none;
	color: #0096DB;
}

a:hover,
a:active {
	text-decoration: underline;
}

a.add {
	padding: 3px 10px 3px 20px;
	background: url(/directory/images/admin/icon_add.gif) no-repeat left center transparent;
}

a.delete { 
	padding: 3px 10px 3px 0;
	color: red;
}

a.remove {
	color: red;
	padding: 3px 10px 3px 20px;
	background: url(/directory/images/admin/icon_delete.gif) no-repeat left center transparent;
}

a.page {
	padding: 3px 10px 3px 20px;
	background: url(/directory/images/admin/icon_page.gif) no-repeat left center transparent;
}

a.pencil {
	padding: 3px 10px 3px 20px;
	background: url(/directory/images/admin/icon_pencil.gif) no-repeat left center transparent;
}


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

#login_form {
	height: 150px;
	width: 490px;
	position: absolute;
	margin: -125px 0 0 -245px;
	top: 50%;
	left: 50%;
}

	#login_form fieldset {
		width: 490px;
		background-color: #f0f0f0;
		border: none;
	}
	
	#login_form dl {
		background-color: #ffffff;
		border: 10px solid #cccccc;
	}
		
	#login_form dt {
		width: 150px;
	}
	
	#login_form dd {
		margin-left: 160px;
	}
	
	#login_form legend {
		font-size: 24px;
		color: #0096DB;
	}
	
/*--------------------------------------------------------------------------------------------------
   Flashes / System related messaging
--------------------------------------------------------------------------------------------------*/	

.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;
	}


#flashes {
	border: 7px solid #4f4f4f;
	margin: 15px 0 16px 13px;
	color: #ffffff;
	background: url(/directory/images/admin/flashes-bg.jpg) repeat-x 0 0 #363636;
	overflow: hidden;
}

	#flash_notice {
		margin: 15px 0 15px 0;
		background: url(/directory/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(/directory/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;
	}

	.errorExplanation p {
		font-style: italic;;
	}

	.errorExplanation ul li {
		list-style-type: none;
		padding: 5px 0 0 20px;
	}

/*--------------------------------------------------------------------------------------------------
   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;
	}
	
/*--------------------------------------------------------------------------------------------------
   Entities search form
--------------------------------------------------------------------------------------------------*/

#search_form {
	background-color: #eee;
	border: 1px solid #999;
}

#search_form dl dt label {
	font-weight: bold;
}
