/***********************************************************************
	GENERIC
************************************************************************/

body {
	background-color:#bcbcbc;
	margin:0;
	padding:0;
	text-align:left;
	color:#222;
	overflow:hidden;
}

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, abbr, input, select, textarea, table, td, th {
	font-family:Arial;
	line-height:20px;
	font-size:12px;
}

a {
	font-weight:bold;
	text-decoration:underline;
	color:#004d7e;
}

a:hover {
	color:#000;
}

/***********************************************************************
	LAYOUT
************************************************************************/

div#wrapper {
	width:100%;
	margin:0;
	padding:0;
}

#overlay {
	position: absolute;
	left: 0px;
	top: 0px;
	
	width: 100%;
	height: 100%;
	
	background-color:#FFFFFF;
	
	/* Set both opacity and filter, for MSIE and firefox compatability */
	opacity: .7;
	filter: alpha(opacity=70);
	
	/* z-index sets the layer order, so that the overlay rests on top.
	Bear in mind that the popup dialogue needs to be even higher! */
	z-index: 99;
}


div#loading {
	position: absolute;
	
	left: 50%;
	margin-left: -100px;
	top: 50%;
	margin-top: -100px;
	
	width: 200px;
	padding: 5px;
	
	border: 2px solid #999;
	background-color:#FFF;
	text-align:center;
	
	z-index: 100;
	
	font-weight:bold;
	font-size:16px;
	color:#083a59;
}


div#header {
	width:auto;
	margin:auto;
	height:120px;
	background:url(../i/back_header.jpg) top left no-repeat #083a59;
	border-bottom:5px solid #16a5ff;
	clear:both; 
	/*overflow:hidden; */
}

div#branding a {
	height: 94px;
	display: block;
	/*background: url(../i/layout/header.gif) 0 0 no-repeat;*/
	text-indent: -999em;
}

div#nav {
	float:left;
	width:auto;
	height:26px;
	margin:auto;
	padding-left:20px;
}

div#breadcrumb {
	float:right;
	width:auto;
	margin:auto;
	height:20px;
	padding-top:6px;
	padding-right:20px;
}

div#main {
	width:auto;
	margin:auto;
	padding:20px;
	background:#fff;
}

div#footer {
	width:auto;
	height:100px;
	margin:auto;
	padding:20px;
	background:url(../i/back_footer.gif) bottom left repeat-x #f2f2f2;
	border-bottom:5px solid #0b5380;
	text-align:left;
}

/***********************************************************************
	BREADCRUMB
************************************************************************/

ul#breadcrumb {
	margin: 0;
	padding: 0;
	font-size: 10px;
	font-weight:bold;
	line-height:13px;
	list-style-type: none;
	background:url(../i/back_nav.gif) top left repeat-x;
	overflow: hidden;
	width: 100%;
}

ul#breadcrumb li {
	display: inline;
	float:right;
	color:#bbb;
	/*background: url(../i/layout/breadcrumb-bullet.gif) 0 center no-repeat;*/
}

ul#breadcrumb li a{
	padding: 2px 10px;
	display: block;
	text-decoration: none;
	margin: 0;
	color: #fff;
}

ul#breadcrumb li menu{
	padding: 2px 10px;
	display: block;
	text-decoration: none;
	margin: 0;
	color: #ddd;
}

ul#breadcrumb li a:hover{
	color: #a6ddff;
}

/***********************************************************************
	NAVIGATION
************************************************************************/

#sddm
{	/*margin: -11px 0 0 -11px;*/
	margin: 0;
	padding: 0;
	font: bold 13px arial;
	line-height:20px;
	list-style-type: none;
	overflow: hidden;
	z-index: 30}

#sddm li
{	margin: 0;
	float: left;}

#sddm li a
{	display: block;
	margin: 0;
	text-decoration: none;
	padding: 3px 10px;
	color: #FFF;}

#sddm li menu
{	display: block;
	margin: 0;
	text-decoration: none;
	padding: 3px 10px;
	color: #ddd;}

#sddm li a:hover
{	color:#a6ddff}

#sddm div
{	position: absolute;
	visibility: hidden;
	margin: 0 0 0 -3px;
	padding: 0;
	background: #083a59;
	border-left:3px solid #16a5ff;
	border-right:3px solid #16a5ff;
	border-bottom:5px solid #16a5ff;}

	#sddm div a
	{	position: relative;
		display: block;
		margin: 0;
		padding: 4px 10px;
		width: auto;
		white-space: nowrap;
		text-align: left;
		text-decoration: none;
		color: #FFF;
		font: bold 13px arial;
		border:none}

	#sddm div a:hover
	{	color: #a6ddff}

/***********************************************************************
	CONTENT
************************************************************************/


h1 {
	font-weight:bold;
	font-size:16px;
	color:#083a59;
}

h2 {
	font-weight:bold;
	font-size:14px;
}

h3 {
	font-style:oblique;
	font-size:12px;
}

span.float-l {
	float:left;
}

span.float-r {
	float:right;
}

input.text-button {
	border:none;
	background:none;
	color:#004d7e;
	font-weight:bold;
	padding:0;
	margin:0;
}
input.text-button:hover {
	color:#000;
	cursor:hand;
	cursor:pointer;
}

fieldset table {
	/*border: 1px dashed #B2D9EC;*/
}

table#list {
	border: 1px solid #666666;
}
table#list thead tr{
	background:url(../i/back_th.gif) bottom repeat-x #f2faff;
}
table#list thead tr th {
	font-size:14px;
	color: #222;
	padding: 4px 8px;
	text-align:left;
}
table#list tbody tr td {
	color: #01496B;
	padding: 4px 8px;
	border-top: 1px solid #999999;
	text-align:left;
}
table#list tbody tr:hover {
	background-color: #FFFFFF;
}
table#list tbody tr td table.orderCells tr td {
	line-height:0px;
	padding:0;
	border:none;
}
table#list tbody tr td table.depthtextCells tr td {
	padding:0;
	border:none;
	text-align:left;
}

/************ ROW COLOURS *************/

tr.rowRoot {
	background-color:#f2faff;
}
tr.rowChild {
	background-color:#fafdff;
}

tr.rowColumn {
	background-color:#f0fffe;
}
tr.rowElement {
	background-color:#f0fff2;
}
tr.rowTitle {
	background-color:#fff7f0;
}
tr.rowTextArea {
	background-color:#fffaf0;
}
tr.rowBulletPoint, tr.rowNumberList {
	background-color:#fffcf0;
}
tr.rowNewLine {
	background-color:#fffff0;
}
tr.rowImage {
	background-color:#fff0fd;
}
tr.rowPopUpImage {
	background-color:#fdf0ff;
}
tr.rowFile {
	background-color:#f0f0f0;
}

/************ MISC TABLE SETTINGS *************/

th.actions {
	text-align:center;
}

td.viewCell, td.editCell, td.delCell {
	width:35px;
}
td.tickYes {
	/*background:url(../i/yes.gif) left no-repeat;*/
}
td.tickNo {
	/*background:url(../i/no.gif) left no-repeat;*/
}
td.page_content-list {
	width:45px;
}
td.page_content-list a{
	background:url(../i/page_content-list.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
td.category_product-list {
	width:55px;
}
td.category_product-list a{
	background:url(../i/category_product-list.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

td.optiongroup_option-list {
	width:55px;
}
td.optiongroup_option-list a{
	background:url(../i/view.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

td.user_useraccess-list, td.usergroup_groupaccess-list{
	width:55px;
}
td.user_useraccess-list a, td.usergroup_groupaccess-list a{
	background:url(../i/goto.gif) left no-repeat;
	padding:1px 0px 1px 16px;
}

a.formlink {
	margin-left:10px;
	background:url(../i/goto.gif) left no-repeat;
	padding:1px 0px 1px 15px;
}
a.goto{
	background:url(../i/goto.gif) left no-repeat;
	padding:1px 0px 1px 15px;
}
a.gotoPage {
	background:url(../i/goto-page.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.gotoHome {
	background:url(../i/goto-home.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.view {
	background:url(../i/view.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insert {
	background:url(../i/add.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editTaxon, a.editSpecies, a.editOptiongroup, a.editNews, a.editUseraccess, a.editGroupaccess {
	background:url(../i/edit.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delTaxon, a.delSpecies, a.delOptiongroup, a.delNews, a.delUseraccess, a.delGroupaccess {
	background:url(../i/del.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

/************ LINK ICONS *************/

a.insertUsergroup {
	background:url(../i/add-usergroup.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editUsergroup {
	background:url(../i/edit-usergroup.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delUsergroup {
	background:url(../i/del-usergroup.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertUser {
	background:url(../i/add-user.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editUser {
	background:url(../i/edit-user.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delUser {
	background:url(../i/del-user.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertPage {
	background:url(../i/add-page.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editPage {
	background:url(../i/edit-page.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delPage {
	background:url(../i/del-page.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertCategory {
	background:url(../i/add-category.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editCategory {
	background:url(../i/edit-category.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delCategory {
	background:url(../i/del-category.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertProduct {
	background:url(../i/add-product.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editProduct {
	background:url(../i/edit-product.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delProduct {
	background:url(../i/del-product.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.editSetting {
	background:url(../i/edit-setting.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

/************ INSERT CONTENT LINK ICONS *************/

a.insertColumn {
	color:#007e7a;
	background:url(../i/content-column.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertColumn:hover {
	color:#00ccc5;
}
a.insertElement {
	color:#007d15;
	background:url(../i/content-element.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertElement:hover {
	color:#00cc22;
}
a.insertTitle {
	color:#7e3e00;
	background:url(../i/content-title.gif) left no-repeat;
	padding:1px 0px 1px 16px;
}
a.insertTitle:hover {
	color:#cc6600;
}
a.insertTextArea {
	color:#7d5300;
	background:url(../i/content-textarea.gif) left no-repeat;
	padding:1px 0px 1px 17px;
}
a.insertTextArea:hover {
	color:#cc8800;
}
a.insertBulletPoint {
	color:#7d6800;
	background:url(../i/content-bulletpoint.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertBulletPoint:hover {
	color:#ccaa00;
}
a.insertNewLine {
	color:#7d7d00;
	background:url(../i/content-newline.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertNewLine:hover {
	color:#cccc00;
}
a.insertImage {
	color:#7d0070;
	background:url(../i/content-image.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertImage:hover {
	color:#cc00b8;
}
a.insertPopUpImage {
	color:#6a007d;
	background:url(../i/content-popupimage.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertPopUpImage:hover {
	color:#ad00cc;
}
a.insertFile {
	color:#636363;
	background:url(../i/content-file.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.insertFile:hover {
	color:#b3b3b3;
}

/************ CONTENT ROW ICONS *************/

td.iconColumn {
	background:url(../i/icon-column.gif) right no-repeat;
}
td.iconElement {
	background:url(../i/icon-element.gif) right no-repeat;
}
td.iconTitle {
	background:url(../i/icon-title.gif) right no-repeat;
}
td.iconTextArea {
	background:url(../i/icon-textarea.gif) right no-repeat;
}
td.iconBulletPoint {
	background:url(../i/icon-bulletpoint.gif) right no-repeat;
}
td.iconNumberList {
	background:url(../i/icon-numberlist.gif) right no-repeat;
}
td.iconImage {
	background:url(../i/icon-image.gif) right no-repeat;
}
td.iconPopUpImage {
	background:url(../i/icon-popupimage.gif) right no-repeat;
}
td.iconFile {
	background:url(../i/icon-file.gif) right no-repeat;
}
td.iconNewLine {
	background:url(../i/icon-newline.gif) right no-repeat;
}

/************ CONTENT ROW LINK ICONS *************/

a.insertColumn {
	background:url(../i/add-column.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editColumn {
	background:url(../i/edit-column.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delColumn {
	background:url(../i/del-column.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertElement {
	background:url(../i/add-element.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editElement {
	background:url(../i/edit-element.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delElement {
	background:url(../i/del-element.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertTitle {
	background:url(../i/add-title.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editTitle {
	background:url(../i/edit-title.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delTitle {
	background:url(../i/del-title.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertTextArea {
	background:url(../i/add-textarea.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editTextArea {
	background:url(../i/edit-textarea.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delTextArea {
	background:url(../i/del-textarea.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertBulletPoint {
	background:url(../i/add-bulletpoint.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editBulletPoint {
	background:url(../i/edit-bulletpoint.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delBulletPoint {
	background:url(../i/del-bulletpoint.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editNumberList {
	background:url(../i/edit-numberlist.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delNumberList {
	background:url(../i/del-numberlist.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertImage {
	background:url(../i/add-image.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editImage {
	background:url(../i/edit-image.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delImage {
	background:url(../i/del-image.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertPopUpImage {
	background:url(../i/add-popupimage.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editPopUpImage {
	background:url(../i/edit-popupimage.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delPopUpImage {
	background:url(../i/del-popupimage.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertFile {
	background:url(../i/add-file.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editFile {
	background:url(../i/edit-file.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delFile {
	background:url(../i/del-file.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}

a.insertNewLine {
	background:url(../i/add-newline.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.editNewLine {
	background:url(../i/edit-newline.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}
a.delNewLine {
	background:url(../i/del-newline.gif) left no-repeat;
	padding:1px 0px 1px 18px;
}


/***********************************************************************
	FORMS
************************************************************************/

fieldset, legend {
	border: 1px solid #aaa;
}

form {
	width:auto;
}

fieldset { 
	padding:10px;
	background: url(../i/back_form.gif) bottom repeat-x #f2faff;
}

legend {
	padding: 2px 50px 2px 50px;
	font-size: 1em;
	font-weight: bold;
	border: 1px solid #aaa;
	position:absolute;
	margin-top:-2px;
	top:-15px;
	background:#FFFFFF;
}

label {
	float: left;
	width:20%;
	text-align:right;
	line-height:14px;
	padding-top:3px;
	padding-right:10px;
}

label.clickLabels {
	float:none;
	width:auto;
	text-align:left;
	padding:0;
}

fieldset div {
	margin-bottom: 5px;
	padding: 0;
	display: block;
	clear: both;
}

fieldset div input, fieldset div textarea  {
	width: 500px;
	color: #333;
	font-weight: normal;
	border: 1px solid #aaa;
	line-height:15px;
	padding: 1px;
	/*background-color:#FFFFFF;*/
}

fieldset div textarea.single {
	height:15px;
	line-height:15px;
}
fieldset div textarea.double {
	height:30px;
	line-height:15px;
}
fieldset div textarea.triple {
	height:45px;
	line-height:15px;
}

fieldset div select {
	padding: 1px;
	/*background-color:#FFFFFF;*/
}

fieldset div.multi input {
	width: auto;
	border: 0;
	/*background-color:#FFFFFF;*/
}

div.multi label { height: 22px }

div.req label { font-weight: bold }

div.req label:before, div.req p:before {
	content: "* ";
	color:#666ee6;
}

input:focus, textarea:focus {
	background: #fafafa;
	color: #000;
}

div.submit input {
	border: 1px solid #01496B;
	padding: 0px 10px;
	background-color:#16a5ff;
	color: #fff;
	width: auto;
	font-weight: bold;
	font-size:13px;
}