/**
 * Screen styles used by Aspidistra
 * 
 * @author Tim Booker
 */

/* Modify styles defined by BCC */

div#leftcontent p 
{
	text-align: left;
}

/* Form styles */

fieldset
{
	border: 1px solid #cccccc;
	margin-bottom: 10px;
}

legend
{
	font-weight: bold;
}

/* Add 200px margin to the left of each form div */ 	
fieldset div
{
	clear: both;
	margin-bottom: 12px;
	min-height: 12px;
	_height: 12px;	/* For IE6 that doesn't understand min-height */
	margin-left: 200px;
	margin-top: 8px;
	position: relative;
}

/* Then offset the labels into the empty space */
fieldset label
{
	display: block;
	position: absolute;
	width: 188px;
	left: -200px;
	text-align: right;
	/*font-weight: bold;*/
}

/* Then remove the margin from nested divs */
fieldset div div
{ 
	clear: none;
	margin: 0;	
}

/* And remove the positioning from nested labels */
/*
fieldset span label
{
	position: static;
	display: inline;
	width: auto;
	text-align: inherit;
	float: none;	
	font-weight: normal;
	padding-right: 5px;
	vertical-align: top;
}
*/

fieldset p
{
	margin-left: 8px;
	margin-right: 8px;
}

input, select, textarea
{
	font-size: 12px;
	margin-right: 2px;
}

input.Tiny,
textarea.Tiny
{
	width: 40px;
}

input.Small,
textarea.Small
{
	width: 40%;
}

input.Medium,
textarea.Medium
{
	width: 75%;
}

input.Large,
textarea.Large
{
	width: 100%;
}

textarea,
select.Multiple,
.MultiSelect select
{	
	overflow: auto;
}

input.Button,
.Button input
{
	/* These two lines remove the default padding from buttons in IE */
	overflow: visible;
	width: auto;
	/* So that we can apply our own */
	padding: 0 1px 0 1px;
}

#rightcontent p
{
	padding-left: 0 !important;	
}

#content p.Edit
{
	float: right;
}

#content p.Action
{
	font-weight: bold;	
	padding-left: 0;	
}

#content p.Note
{
	font-style: italic;
}

hr
{
	height: 1px;
	border: 0;
	border-top: 1px dashed #808080;
}

.Required,
.Error,
.Message,
.ToFollow
{
	color: Red;
}

/* Table styles */

table.DataTable
{
	border-collapse: collapse;
	margin-bottom: 10px;
	width: 100%;
}

table.DataTable th
{
	white-space: nowrap;
	background: #365F88;
	color: White;

}

table.DataTable th,
table.DataTable td
{
	padding: 5px 3px 5px 2px;	
	border-top: 1px solid #cccccc;
	text-align: left;
	vertical-align: top;
}

table.DataTable td.Message,
table.DataTable .Message td
{
	border-top: none;
}

table.DataTable td.Message,
table.DataTable .Message td
{
	color: Red;
}

table.DataTable td.StockCode
{
	/*white-space: nowrap;*/
}

table.DataTable td.Update input
{
	width: 82px; 
	margin: 5px 2px 0 0;
}

table.DataTable td.Update
{
	width: 82px; 
	overflow: hidden;
	padding: 0;
}

table.DataTable td.Delete input
{
	width: 70px; 
	margin: 5px 2px 0 0;
}

table.DataTable td.Delete
{
	width: 70px; 
	overflow: hidden;
	padding: 0;
}


table.DataTable th.Total
{
	text-align: right;
	background: white;
	color: #000000;
}


#LanguageMenu
{
	text-align: center;
	padding: 5px;
}

/* Main navigation */

.Navigation 
{
	height: 30px;
	padding-left: 22px;
	overflow: hidden;
}

.Navigation a
{
	display: block;
	background: url(../images/bg_button1a.gif) top left no-repeat;
	color: #365F88;
	float: left;
	height: 30px;
	font-size: 8pt;
	font-weight: bold;
	text-decoration: none;
	vertical-align: top;
	margin-right: -1px;
}

.Navigation a:hover
{
	color: #FFFFF7;
	background-image: url(../images/bg_button2a.gif);
}

.Navigation a span
{
	display: block;
	padding: 10px;
	min-width: 50px;
	text-align: center;
	background: url(../images/tab-bg-right.gif) top right no-repeat;
}

.Navigation a:hover span
{
	background-image: url(../images/tab-bg-right2.gif);
}

#content p.UserDetails 
{
	text-align: right;
}


.DeliveryAddress select
{
	width: 300px;
}

.AutoCompleteEmpty
{
	position: absolute;
	visibility: hidden;
	top: 296px;
	left: 20px;
}

.AutoCompleteResults
{
	position: absolute;
	visibility: visible;
	top: 296px;
	left: 20px;
}
