﻿div.midnight
{
	position: relative; 
	min-width: 180px;
	min-height: 70px;
	background: #fff url(img/n.gif) repeat-x left top;
}
div.midnight div.e { background: url(img/e.gif) repeat-y right top; }
div.midnight div.s { background: url(img/s.gif) repeat-x left bottom; }
div.midnight div.w { background: url(img/w.gif) repeat-y left top; }
div.midnight div.ne { background: url(img/ne.gif) no-repeat right top; }
div.midnight div.se { background: url(img/se.gif) no-repeat right bottom; }
div.midnight div.sw { background: url(img/sw.gif) no-repeat left bottom; }
div.midnight div.nw { background: url(img/nw.gif) no-repeat left top; }

/*
** If the panel is a dialog box we give it square corners as we 
** don't know what colour the background may be and can't matte
** the anti-aliasing correctly.
*/
div.midnight.dialog { background-image: url(img/dlg/n.gif); }
div.midnight.dialog div.e { background-image: url(img/dlg/e.gif); }
div.midnight.dialog div.s { background-image: url(img/dlg/s.gif); }
div.midnight.dialog div.w { background-image: url(img/dlg/w.gif); }
div.midnight.dialog div.ne { background-image: url(img/dlg/ne.gif); }
div.midnight.dialog div.se { background-image: url(img/dlg/se.gif); }
div.midnight.dialog div.sw { background-image: url(img/dlg/sw.gif); }
div.midnight.dialog div.nw { background-image: url(img/dlg/nw.gif); }

/*
** The panelBody is responsible for placing/containing the content
** within the panel's frame decoration
*/
div.midnight div.panelBody { padding: 28px 12px 10px 12px; }
div.midnight.dialog div.panelBody { padding: 38px 22px 20px 22px; }



div.midnight h1.title,
div.midnight h2.title,
div.midnight h3.title
{
	position: absolute;
	left: 12px;
	top: 4px;
	margin: 0;
	padding: 0;
	color: #fff;
	font: normal normal bold 12px "Trebuchet MS", Arial, Helvetica, Sans-Serif;
	text-decoration: none;
	
}
div.midnight div.titlebar
{
	height: 22px;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	cursor: default;
}
div.midnight.dialog div.titlebar
{
	cursor: move;
}
div.midnight div.titlebar a.close
{
	display: block;
	position: absolute;
	top: 4px;
	right: 14px;
	color: #eee;
	font-weight: bold;
	cursor: pointer;
	padding: 0 4px;
}
div.midnight div.titlebar a.close:hover
{
	color: #ff4500;
}


div.form,
div.formFrame
{
	border: solid 1px #eaeaea;
	margin: 8px 0;
	padding: 5px;
}
div.form input
{
	margin: 0;
}
div.form div.row
{
	clear: both;
	padding: 3px 0;
}

div.row
{
	clear: both;
}
div.row.input
{
	padding-top: 14px;
}
div.row.buttons
{
	padding: 5px 0;
}
label.block, span.label.block
{
	display: block;
	width: 120px;
	float: left;
	color: #666;
}
label.block
{
	padding-top: 3px;
}
div#status
{
	color: #666;
	min-height: 18px;
}
div#status.error
{
	color: #e00;
	min-height: 18px;
}
div.status h3.status
{
	margin-top: 0;
	color: #404040;
}
div.description
{
	margin: 15px 0 0 0;
	padding: 3px 7px 0 7px;
	border: solid 1px #eaeaea;
	background-color: #fafafa;
	color: #999;
}
div.description h2
{
	margin: 0;
	font-size: 12px;
	color: #999;
}
.warning
{
	color: #ff4500;
}
.error
{
	color: #e00;
}
.exception
{
	margin-top: 5px;
	font-style: italic;
	color: #e00;
}
div.ajaxLoading
{
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	height: 17px;
	line-height: 17px;
	padding-right: 24px;
	color: #666;
	text-align: right;
	background-image: url(img/ajaxLoading_fff.gif);
	background-repeat: no-repeat;
	background-position: right top;
}
div#dialogFrame div.fBrowser div.files
{
	height: 200px !important;
}
span.ref
{
	color: #999;
}
input.fileName
{
	width: 120px;
}
input.folderName
{
	width: 150px;
}
span#dot, span.dot
{
	font-size: larger;
	font-weight: bold;
}
input.fileExtension
{
	width: 44px;
}
textarea.editor
{
	width: 650px;
	height: 450px;
	font: normal normal normal 11px "Courier New", Courier, monospace;
}


/**
 * Default layout for Abl.UI.Thumbnail() generated thumnbnail images
 */
div#thumbContainer
{
	position: relative;
	height: 150px;
	margin-top: 15px;
	overflow: hidden;
	text-align: center;
}
div#thumbContainer img.thumbnail
{
	padding: 2px;
	border: solid 1px #eaeaea;
	background-color: #fff;
}
div#thumbContainer div.sizeInfo span
{
	display: block;
}
div#thumbContainer div.sizeInfo span.scale
{
	font-size: 10px;
	color: #999;
}


