* {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Arial, Helvetica, sans-serif;
}

html {
	height: 100%;
	overflow: hidden;
}

body {
	height: 100%;
	background: #ccdef3;
}
/**
 * Actions/Buttons
 */
.ajaxActions {
	position: absolute;
	bottom: 5px;
	right: 8px;
	text-align: right;
}

#TreeActions {
	float: left;
	width: 100%;
	padding-bottom: 5px;
}
	#TreeActions li {
		float: left;
	}
	
	#TreeActions button.disabled {
		color: #aaa;
	}

.ajaxActions input,
.actions input,
button.action,
div.Actions input,
input.action,
li.action input,
li.action button {
	cursor: pointer;
	background-image: url(../images/textures/ToolBar.png);
	color: #333;
	overflow: visible;
	width: auto;
	border-color: #CCCCCC rgb(153, 153, 153) rgb(153, 153, 153) rgb(204, 204, 204);
	border-style: double;
	margin-right: 2px;
	padding: 2px 1px;
	font-size: 11px;
}
	.ajaxActions input,
	#TreeActions li.action input {
		float: left;
		height: 25px;
		padding: 0 10px;
		font-weight: bold;
	}
		#TreeActions li.action input {
			font-weight: normal;
		}
	.ajaxActions input:active {
		background: #F4F4F4 none repeat scroll 0%;
		border-color: #999999 rgb(204, 204, 204) rgb(204, 204, 204) rgb(153, 153, 153);
	}

	.ajaxActions input:hover,
	div.Actions input:hover,
	input.action:hover,
	button.action:hover,
	li.action input:hover,
	li.action button:hover,
	li.selected input,
	li.selected button {
		background: #fff;
	}

	.ajaxActions input.disabled,
	input.disabled {
		color: #666;
	}
	
	input.disabled:hover {
		background-image: url(../images/textures/ToolBar.png);
	}
	
	input.action.loading, input.action.loading:hover {
        padding-left: 22px;
        background: url(../images/network-save.gif) 3px 2px no-repeat;
	}

input.delete:hover,
button.delete:hover,
.actionparams input.delete:hover {
	background: #ce0000;
	color: #fff;
}

input.loading {
	padding-left: 16px;
	background: #fff url(../images/network-save.gif) no-repeat center left;
}

input.hidden {
	display: none;
}

/* Overrides - TODO Find a better place to put them */
form#Form_EditForm fieldset, form#Form_AddForm fieldset {
	height: 100%;
	border: none;
}
form#Form_EditForm #ScrollPanel fieldset, form#Form_AddForm #ScrollPanel fieldset {
	height: auto;
}

body.stillLoading select {
	display: none;
}

/** 3-PANEL LAYOUT **/
#top {
	font-size: 14px;
	height: 33px;
	background: #474855 url(../images/mainmenu/top-bg.gif) top left repeat-x;
	color: #fff;
	overflow: hidden;
}
#left {
	position: absolute;
	top: 45px;
	left: 3px;
	width: 205px;
	height: 91%;
	z-index: 50;
	border: 1px solid #acbbcc;
	background: #fff;
}
#right {
	position: absolute;
	left: 208px;
	top: 45px;
	height: 91%;
	width: 600px;
	overflow: auto;
	z-index: 50;
	border: 1px solid #acbbcc;
	background: #eee;
	margin-right: 3px;
}

#separator {
	position: absolute;
	top: 51px;
	left: 205px;
	height: 92%;
	width: 3px;
	cursor: e-resize;
}

/**
 * Hidden left-hand panel
 */
#left.hidden form, #left.hidden .title, #left.hidden #TreeActions {
	display: none;
}

#left.hidden {
	width: 18px;
	display: block;
}
#separator.hidden {
	display: none;
}


#left div.title, #right div.title {
	border-top: 1px solid #77BBEE;
	height: 22px !important;
	background: #0075C9 url(../images/textures/obar.gif) repeat-x 0 0;
}

#left div.title div, #right div.title div {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	padding: 2px 0 0 4px;
	background-position: 2px 2px;
	background-repeat: no-repeat;
	padding-left: 20px;
	border-top: 1px solid #77BBEE;
}

#left h2,
#contentPanel h2 {
	background-image:url(../images/textures/obar-18.gif);
	height: 18px;
	line-height: 18px;
	color: #fff;
	font-size: 12px;
	padding-left: 3px;
}

/** TOP PANEL **/
#top #MainMenu {
	margin: 0 0 0 6px;
}
#top #MainMenu li {
	margin: 0 4px;
	float: left;
	height: 33px;
	cursor: pointer;
}

#top #MainMenu a {
	display: block;
	height: 33px;
	float: left;
	padding: 0 6px;
	font-size: 14px;
	letter-spacing: -0.1px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	line-height: 32px;
	color: #fff;
	text-decoration: none;
}
	#top #MainMenu a:hover {
		text-decoration: none;
		background: #6a7580 url(../images/mainmenu/hover.gif) repeat-x left top;
	}

#top #MainMenu .current {
	background: #ccdef3 url(../images/mainmenu/current.gif) repeat-x left top;
	border-bottom : none;
}
	#top #MainMenu .current a:hover {
		background: #cddef3 url(../images/mainmenu/currentHover.gif) repeat-x left top;
	}

#top #MainMenu .current a:link,
#top #MainMenu .current a:visited {
	color : #2f383f;
}

#top #Logo {
	float: right;
}
	#top #Logo a {
		margin: 0;
		display: block; 
		font-size: 14px;
		text-decoration: none;
		height: 26px; 
		line-height: 22px;
		position: absolute; 
		top: 5px; 
		right: 8px;
		padding-right: 34px;
		background: url(../images/mainmenu/logo.gif) right top no-repeat;
		color: #fff;
	}
	html > body #top #Logo {
		padding-bottom: 0;
	}
	
#bottom {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 23px;
	background: #4d4e5a url(../images/textures/footerBg.gif) repeat-x left top;
}

#bottom .holder {
	text-align: center;
	padding: 5px 6px 0 3px;
	font-size: 10px;
	color: #fff;
}

#bottom #logInStatus {
	float: right;
}
	#bottom a {
		color: #fff;
		background: none;
	}
		#bottom a:hover {
			text-decoration: none;
			color: #ccc;
		}
	#bottom #logInStatus #LogoutLink {
		background: url(../images/logout.gif) no-repeat right top;
		padding-right: 20px;
		padding-bottom: 3px;
	}
#bottom #switchView {
	float: left;
}
	#bottom #switchView a, #bottom #switchView span {
		background: none;
		padding-left: 8px;
		padding-right: 8px;
		display: inline-block;
		border-left: 1px solid #AAA;
	}
	#bottom #switchView span {
		border-left: none;
	}
#bottom .bottomTabs a {
	color: #fff;
}

#bottom .bottomTabs div.blank {
	display: block;
	float: left;
	cursor: pointer;
	background-color: transparent;
	padding-right: 4px;
	font-weight: bold;
	line-height: 13px;
	font-size: 11px;
	padding-left: 2px;
	color: #fff;
}
#bottom .bottomTabs .current {
	color: #ccc;
}
	#bottom .bottomTabs a:hover {
		color: #ccc;
		text-decoration: none;
	}


/** LEFT PANEL **/
#sitetree_holder {
	height: 80%;
	width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}
	
	#sitetree_holder #TreeTools {
		float: left;
		width: inherit;
		background: #EEE;
	}
	#SearchBox {
		float: left;
		width: 100%;
		margin: 0 0 5px 0;
		padding-left: 5px;
		position: relative;
	}
	#SearchControls {
		float: left;
		position: relative;
		margin-top:2px;
	}
		#SearchControls label {
			display: none;
		}
		#SearchControls select#SiteTreeFilterAddCriteria {
			width: 8.8em;
			padding:1px 0; margin:0;
		}
	#searchIndicator {
		display: none;
		width: 16px;
		height: 16px;
		background: #EFEFEF url(../images/network-save.gif) no-repeat;
		position: absolute;
		left: 95px;
		top: 2px;
	}
		#searchIndicator.loading {
			display: block;
		}
	.SearchCriteriaContainer {
		float: left;
		width: 100%;
		padding-left: 5px;
		margin-bottom: 4px;
	}
	#sitetree_ul, ul#sitetree {
		padding: 3px 0 0 3px;
		clear: left;
	}
	#sitetree_ul ul#sitetree {
		padding: 0;
	}
	#sitetree {
		width: 500px; /* IE's chocking right now */
	}
		html>body #sitetree {
			width: auto;
		}
		#left #TreeActions,
		#left .checkboxAboveTree {
			background: #EEE;
			padding: 5px;
			float: left;
			width: 95%;
		}
		#left .checkboxAboveTree {
			border-bottom: 1px solid #CCC;
		}
#TreeTools label {
	display: block;
	padding-top: 2px;
	_padding-top: 4px;
}

#TreeTools #batchactionsforms {
	padding: 0 5px 7px 5px;
}
	#TreeTools select {
		margin-left: 2px;
	}
		#TreeTools div p, #ShowChanged {
			margin: 0 0 5px 0;
			float: left;
			width: 100%;
		}
			#TreeTools div.middleColumn {
				margin: 0;
			}
		#TreeTools #action_publish_selected, 
		#TreeTools #action_publish_selected {
			padding: 2px 1px;
			float: left;
		}

#checkboxActionIndicator {
	float: right;
	width: auto;
	margin-top: 7px;
	display: none;
}
	
div.spacer, 
li.spacer {
	float: none;
	clear: both;
	background-color: transparent;
	border-style: none;
	margin: -1px 0 0 0;
	height: 1px;
	font-size: 1px;
	width: auto;
}
/** RIGHT PANEL **/
.mceToolbarExternal {
	background-color: #eee;
	display: block;
}
	.mceToolbarExternal a {
		text-decoration: none;
		border: 0 !important;
	}
		.mceToolbarExternal a img {
			border: none;
		}

#right form#Form_EditorToolbarLinkForm,
#right form#Form_EditorToolbarImageForm,
#right form#Form_EditorToolbarFlashForm {
	background: #eee;
	border-bottom: 1px solid #ccc;
	display: none;
	margin: 1px 0 0 0;
	padding: 5px;
	/*
	 * HACK IE (all versions): container needs to be higher stacking order
	 * than any DOM-elemnt under it.
	 * @see http://www.aplus.co.yu/lab/z-pos/
	 */
	/*overflow: hidden;*/
	z-index: 1001;
}


#right form#Form_EditorToolbarLinkForm ul.optionset {
	height: 1em;
}

#right form#Form_EditorToolbarLinkForm ul.optionset li {
	float: left;
}

.thumbnailstrip {
	overflow: auto;
	white-space: nowrap;
	width: 100%;
	float: left;
	border: 1px solid #aaa;
}

.thumbnailstrip li {
	float: left;
	margin-right: 4px;
}

/* CMS specific icons for the tree */
ul.tree li.Root span.Root span.c a {
	background: url(../../cms/images/treeicons/root.png) no-repeat !important;
}

/* Misc Styling */
iframe {
	border: none;
}
/* Content Panel Design
 * This is our new right hand pane for inserting images and links etc
 */
#contentPanel {
	background-color: #fff;
	width: 205px;
	position: absolute;
	border: 1px solid #ACBBCC;
	top: 45px;
	padding: 0;
	margin-right: 10px;
	overflow: hidden;
	font-size: 12px;
}

#contentPanel div,
#contentPanel p#TargetBlank {
	margin-left: 0;
}
#contentPanel div.TreeDropdownField {
	width: 180px;
}
#contentPanel div.TreeDropdownField span.items {
	width: 155px;
	background: #fff;
	font-size: 12px;
	border:1px solid #A7A7A7;
	border-right: none;
	overflow: hidden;
}
#contentPanel div.TreeDropdownField input.items {
	float: left;
	width: 155px;
	background: #fff;
	font-size: 12px;
	border:1px solid #A7A7A7;
	border-right: none;
	height: 19px;
	overflow: hidden;
}
	#contentPanel div.TreeDropdownField a {
		overflow: visible;
	}
#contentPanel .thumbnailstrip {
	border: none;
	width: 190px;
	height: 120px;
	overflow-y: auto;	
	margin-right: 0 !important;
}

#contentPanel fieldset {
	padding: 5px;
}
#contentPanel h2 {
	margin: -5px -5px 0 -5px;
}
	#contentPanel .thumbnailstrip h2 {
		font-size: 1.1em;
		margin: 0;
		background: none;
		color: #555;
		height: auto;
	}
#contentPanel select {
	width: 186px;
	padding: 1px 0;
	font-size: 12px;
}
#contentPanel option {
	font-size: 12px;
}
#contentPanel .middleColumn {
	background:#E9E9E9 none repeat scroll 0%;
	display:block;
	padding:3px;
	width:98%;
}
#contentPanel input.text {
	border:1px solid #A7A7A7;
	padding:3px;
	width: 179px;
}
#contentPanel #Dimensions div.middleColumn {
	background: none;
}

/* Image height and width inputs. We need to position them in the right places */
#contentPanel input#Form_EditorToolbarImageForm_Width,
#contentPanel input#Form_EditorToolbarFlashForm_Width {
	width: 30px;
}
#contentPanel input#Form_EditorToolbarImageForm_Height,
#contentPanel input#Form_EditorToolbarFlashForm_Height {
	width: 30px;
}
#Form_EditorToolbarImageForm #FolderImages,
#Form_EditorToolbarFlashForm #Flash {
	margin: 5px;
}
#Form_EditorToolbarImageForm fieldset label.left,
#Form_EditorToolbarFlashForm fieldset label.left, 
#Form_EditorToolbarLinkForm fieldset label.left {
	float:left;
	margin-left:0px;
	color: #666;
	line-height: 1.2;
	font-size: 11px;
	width: 190px;
}
#Form_EditorToolbarImageForm fieldset div.middleColumn,
#Form_EditorToolbarFlashForm fieldset div.middleColumn,
#Form_EditorToolbarLinkForm fieldset div.middleColumn {
	float: left;
}
#Form_EditorToolbarLinkForm fieldset li div.middleColumn,
#Form_EditorToolbarFlashForm fieldset li div.middleColumn,
#Form_EditorToolbarImageForm fieldset li div.middleColumn {
	float: none;
}

#Form_EditorToolbarImageForm fieldset div.fieldgroupField,
#Form_EditorToolbarFlashForm fieldset div.fieldgroupField,
#Form_EditorToolbarLinkForm fieldset div.fieldgroupField {
	display: inline;
}

#Form_EditorToolbarLinkForm .buttonRefresh {
	display:block;
	border:1px solid #F0F0EE; 
	width:20px; height:20px;
	float: left;
}
#Form_EditorToolbarLinkForm a.buttonRefreshHover {
	border: 1px solid #0A246A; 
	background-color:#B2BBD0;
}

#Form_EditorToolbarLinkForm a.
.defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}

#Form_EditorToolbarLinkForm a.buttonRefresh span {
	display: block;
	width: 20px;
	height: 20px;
	background: transparent url(../../cms/images/arrow_refresh.gif) no-repeat;
}

#Form_EditorToolbarLinkForm select.hasRefreshButton {
	width: 160px;
}
	
#Form_EditorToolbarImageForm_Width,
#Form_EditorToolbarImageForm_Height,
#Form_EditorToolbarFlashForm_Width,
#Form_EditorToolbarFlashForm_Height {
	outline: 3px solid #E9E9E9;
}

#Form_EditorToolbarImageForm #FolderImages img,
#Form_EditorToolbarFlashForm #Flash img {
	border: 2px solid #e4e3e3;
}
#contentPanel div.Actions {
	margin: 2px 5px 0 0;
	text-align: right;
}
#contentPanel #FolderImages a.selectedImage img,
#contentPanel #Flash a.selectedFlash img {
	border: 2px solid #222;
}

 /* going to use this */
#BlankImage {
	text-indent: -9000px;

}

/**
 * Messages (see sapphire/css/Form.css)
 */
.message {
	margin: 1em 0;
	padding: 0.5em;
	font-weight: bold;
	border: 1px black solid;
	background-color: #B9FFB9;
	border-color: #00FF00;
}
	.message.notice {
		background-color: #FCFFDF;
		border-color: #FF9300;
	}
	
	.message.warning {
		background-color: #FFD2A6;
		border-color: #FF9300;
	}
	.message.bad {
		background-color: #FF8080;
		border-color: #FF0000;
	}
