/* HTML Element styles specific to this project. */
body, html
{
	width: 100%;
	height: 100%;
}
body 
{
	scrollbar-arrow-color: #CC0000;
	scrollbar-darkshadow-color: #333;
	scrollbar-base-color: #FFF;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

body,
input,
textarea,
select,
p,
ul,
ol
{
	font: 12px "Trebuchet MS", Arial, sans-serif;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
	line-height: 130%;
    word-spacing: normal;
	color: #333333;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
	line-height: 115%;
}
h1 {
	font-size: 18px;
	color: #095BBF;
}
h2 {
	font-size: 16px;
	color: #333333;
}
h3 {
	font-size: 14px;
	color: #105ABE;
}
h4 {
	font-size: 12px;
	font-weight: normal;
	color: #333;
}
p,
ul, 
ol
{
	margin-bottom: 8px;
}
li
{
	margin-bottom: 2px;
}

a {
	color: #CC0000;
	font-weight: normal;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #CC0000;
}
a:hover {
	text-decoration: underline;
	color: #CC0000;
}
a:active {
	text-decoration: none;
	color: #003399;
}
ul li
{
	list-style:  url(../UserFiles/Image/Frame/li.gif);
}

ul ul li
{
	list-style:  url(../UserFiles/Image/Frame/li.gif);
}

ul ul ul li
{
	list-style:  url(../UserFiles/Image/Frame/li.gif);;
}

ol li
{
	list-style-type: decimal;
}

ol ol li
{
	list-style-type: lower-alpha;
}

ol ol ol li
{
	list-style-type: lower-roman;
}

.small {
	font-size: 10px;
	text-decoration: none;
}
big
{
	font-size:	14px;
}

blockquote,
pre
{	
	font-family:	Courier New, monospace;
}

hr
{
	color: #696969;
	width: 99%;
}

unknown
{
	display: block;
	font: 10pt Arial, Helvetica, sans-serif;
}









/* 
PAGE GENERATOR CLASSES
These styles are used by pages that are dynamically built by the page generator.
There are 4 types of pages created with the generator.  They are:
	-> Login Page where a user is asked for there login details (username and password),
	-> Forgot Login Page which is used when a user forgets there login and asks for their 
	   email address and sends there details to them.
	-> List page which returns a list of rows and allowing the user to select one or more to do operations on.
	-> Form page which is a page where the user can edit information and submit.
*/

/* All pages come in a <table>. */

.LoginTable,
.ForgotLoginTable,
.MenuTable,
.ListTable,
.FormTable
{
	width:100%;
	vertical-align:top;
}


/* All pages have a <tr> which is set to the header row which contains the title of the page. */

.LoginHeaderRow,
.ForgotLoginHeaderRow,
.ListHeaderRow,
.FormHeaderRow
{
	font-weight: bold;
	font-size: larger;
	text-align: center;
	font-size: 16px;
	color: #095BBF;
}


/* List and Form pages have a <tr> which is set to the criteria row which describes how the page is filtered. */

.ListCriteriaRow,
.FormCriteriaRow
{
	font-size:smaller;
	color: rgb(181,161,64);
	text-align:center;
}



/* All pages have a <tr> which is set to the description row which contains the description of the page. */

.LoginDescriptionRow,
.ForgotLoginDescriptionRow,
.ListDescriptionRow,
.FormDescriptionRow,
.FormInstructionRow
{
	font-size:smaller;
	text-align:center;
}



/* All pages have a <tr> which is set to the message row which contains any information, warning or error messages returned from a submit. */

.LoginMessageRow,
.ForgotLoginMessageRow,
.ListMessageRow,
.FormMessageRow
{
	font-size:smaller;
	text-align:center;
}

.InformationMessage
{
	color:Blue;
}

.WarningMessage
{
	color:Maroon;
}

.ErrorMessage
{
	color:Red;
}



/* List and Form pages have a <tr> which is set to the column header row which contains a title for each column. */

.ListColumnHeaderRow,
.FormColumnHeaderRow
{
	font-weight:bold;
	font-size:smaller;
}

.FormColumnHeaderRow
{
	display:none;
}



/* Form pages have a <tr> which is set to the category header row which contains a title for each category. */

.FormCategoryHeaderRow
{
	font-weight:bold;
	font-size:smaller;
}

.FormCategoryHeaderRow TD
{
	padding-top: 10px;
	padding-bottom: 5px;
	border-top-color: #0000CC;
	border-top-style: solid;
	border-top-width: 3px;
}



/* All pages have multiple <tr>s which are set to the detail row which contains the details.
   The form and list have been broken down to odd and even rows which can be styled (perhaps different colors) so each row is distinguishable. */

.LoginDetailRow,
.ForgotLoginDetailRow,
.ListOddDetailRow,
.ListEvenDetailRow,
.FormOddDetailRow,
.FormEvenDetailRow
{
	font-size:smaller;
}

.ListOddDetailRow,
.FormOddDetailRow
{
	background-color: #e3e3e3;
}

.ListEvenDetailRow,
.FormEvenDetailRow
{
	background-color: #f3f2f2;
}



/* All pages except the list have multiple <td>s which are set to Name or Value cells 
   which contains the name (title) and value of the field in the detail row. Also, Name and Value cells
   may have be distinguished when a value is required. */

.LoginNameCell,
.ForgotLoginNameCell
{
	font-style: normal;
	font-weight: bold;
	width: 50%;
	text-align: right;
}

.LoginValueCell,
.ForgotLoginValueCell
{
	width:50%;
}

.FormNameCell, 
.FormNameCellWithRequiredValue
{
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
	width:15%;
	color: #373D18;
}

.FormNameCell a
{
	font-style:normal;
}

.FormNameCellWithRequiredValue
{
	font-style:italic;
}

.FormValueCell,
.FormRequiredValueCell
{
	width:70%;
}

.LoginValueCell #UserName,
.LoginValueCell #Password
{
	width:150px;
}

.ForgotLoginValueCell #EmailAddress
{
	width:300px;
}



/* In a list page there a record selectors (checkboxes) and editor (more info) columns. */

.ListRecordSelectorCell,
.ListRecordEditorCell
{
	text-align:center;
}

.ListRecordSelectorCell
{
	width:22px;
}

.ListRecordEditorCell
{
	width:75px;
}

.ListRecordRankUpCell,
.ListRecordRankDownCell
{
	width: 10px;
}



/* The following are all the different types of values that can be visible in the form and list value cells. */

.ListItemCell,
.ListCollectionCell,
.ListForeignCollectionCell,
.ListLinkingForeignCollectionCell,
.ListTextCell,
.ListMultipleLineTextCell,
.ListHTMLCell,
.ListURLCell,
.ListWebAddressCell,
.ListFileURLCell,
.ListImageURLCell,
.ListEmailAddressCell,
.ListPasswordCell,
.ListDecimalCell,
.ListIDCell,
.ListDurationCell,
.ListRankingCell,
.ListMoneyCell,
.ListPercentageCell,
.ListEnumerationCell,
.ListDateTimeCell,
.ListBooleanCell,
.ListGroupCell
{
	width:auto;
}

.ListImageURLCell
{
	width: 80px;
	text-align: center;
}

.ListImageURLCell image
{
	width: 80px;
	text-align: center;
	border-style: solid;
	border-color: black;
	border-width: 1px;
}

.FormItemControl,
.FormCollectionControl,
.FormForeignCollectionControl,
.FormLinkingForeignCollectionControl,
.FormTextControl,
.FormMultipleLineTextControl,
.FormHTMLControl,
.FormURLControl,
.FormWebAddressControl,
.FormFileURLControl,
.FormImageURLControl,
.FormEmailAddressControl,
.FormPasswordControl,
.FormDecimalControl,
.FormIDControl,
.FormDurationControl,
.FormRankingControl,
.FormMoneyControl,
.FormPercentageControl,
.FormEnumerationControl,
.FormDateTimeControl,
.FormBooleanControl,
.FormGroupControl
{
	width:100%;
}

.FormLinkingForeignCollectionControl
{
	border-style: solid;
	border-width: 1px;
	border-color: rgb(127,157,185);
	background-color:White;
	height: 120px;
	overflow: auto;
}
.FormLinkingForeignCollectionControl div
{
	height: 20px;
}
.FormLinkingForeignCollectionControl div input[type="checkbox"]
{
	border-style: solid;
	border-width: 1px;
	border-color: rgb(127,157,185);
}
.FormLinkingForeignCollectionControl div span
{
	cursor: default;
}


/* Form Value cells and the type of form controls that can exist. */

/*
.FormValueCell SELECT,
.FormValueCell INPUT,
.FormValueCell TEXTAREA,
.FormRequiredValueCell SELECT,
.FormRequiredValueCell INPUT,
.FormRequiredValueCell TEXTAREA
{
	width:100%;
}
*/



/* Form pages have a <tr> which is set to the required message row which contains the required message for required fields. ie. All fields italicised are required.*/

.FormRequiredMessageRow
{
	font-size: 9px;
	text-align: center;
}



/* List pages have a <tr> which is set to the list page range row which contains the page and record ranges. ie. Page 2 of 9 : Records 20-40 of 175.*/

.ListPageRangeRow
{
	font-size: 9px;
	text-align: center;
}



/* All pages have a <tr> which is set to the command row which contains the commands (buttons) of the page. ie. Add New, Remove, Submit, Reset. */

.LoginCommandRow,
.ForgotLoginCommandRow,
.ListCommandRow,
.FormCommandRow
{
	text-align:center;
	vertical-align:middle;
	height: 30px;
}



/* All buttons used by the page generator. */

.LoginButton,
.ForgotLoginButton,
.SendLoginDetailsButton,
.CancelButton,
.SubmitButton,
.ResetButton,
.NewButton,
.RemoveButton,
.ViewButton
{
	border-style:none;
	vertical-align:middle;
	margin-left:3px;
	margin-right:3px;
	cursor: hand;
}

.ImageButton image
{
	border-style:none;
	vertical-align:middle;
	margin-left:3px;
	margin-right:3px;
	cursor: hand;
}

.TextButton
{
	border-left-style:none;
	border-right-style:none;
	border-top-style: solid;
	border-top-color: rgb(127,157,185);
	border-top-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgb(127,157,185);
	border-bottom-width: 1px;
	vertical-align:middle;
	margin-left:7px;
	margin-right:7px;
	margin-top:2px;
	margin-bottom:2px;
	cursor: hand;
}



/* The following is used on <span> tags and is used in a template to note that content is placed here. */

.Content
{
	display: block;
	height: 100%;
	width: 100%;
	text-align: center;
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
}





/* DON'T PRINT */

@media print
{
	.ListRecordSelectorCell,
	.ListRecordEditorCell,
	.LoginCommandRow,
	.ForgotLoginCommandRow,
	.ListCommandRow,
	.FormCommandRow,
	.NoPrint
	{
		display:none;
	}
}










/* New Menu */
/* Styles here are used to define the menu and its items and sub-menus. */

.Menu
{
	margin: 0px;
	padding: 0px;
	list-style: none;
	background: #fff;
	cursor: default;
}

.Menu .Line
{
	padding: 0px;
	padding-left: 5px;
	padding-right: 5px;
}

.Menu .Line hr
{
	width:100%;
	color: #ccc;
	vertical-align: top;
}

.Menu .Item
{
	display: block;
	position: relative;
	width: 100%;
	color: #777;
	margin: 0;
	padding: 0px;
	list-style-image: url(../UserFiles/Image/Frame/Spacer.gif);
}

.Menu .Item a
{
	width: 100%;
	text-decoration: none;
}

.Menu .Item .Menu
{
	position: absolute;
	left: 148px;
	top: -1px;
}

.Menu .Item .Menu.Opened
{
	display: block;
	z-index: 100;
}

.Menu .Item .Menu.Closed
{
	display: none;
}



/* Horizontal Menu */
/* Styles here are used to define the menu and its items and sub-menus. */

.Horizontal .Menu
{
	padding: 0px;
	list-style: none;
	width: 100%;
	line-height: 20px;
	background: #fff;
	cursor: default;
	text-align: right;
}

.Horizontal .Menu .Line
{
	padding: 0px;
	padding-left: 5px;
	padding-right: 5px;
	display: none;
}

.Horizontal .Menu .Line hr
{
	width:100%;
	display: none;
}

.Horizontal .Menu .Item
{
	display: inline;
	width: auto;
	padding: 5px 0;
	color: #CC0000;
	margin: 0px 15px 0px 0px;
	font-size: 12px;
}

.Horizontal .Menu .Item a
{
	width: auto;
	text-decoration: none;
	line-height: 20px;
}
.Horizontal .Menu .Item a:hover
{
	color: #105abe;	
}

.Horizontal .Menu .Item .Menu
{
	position: absolute;
	left: -5px;
	top: 20px;
	width: 100px;
	height: auto;
	background-color:#FFF;
	margin: 0px 0px 0px 0px;
	text-align: left;
	text-indent: 5px;
}

.Horizontal .Menu .Item .Menu .Item
{
	display: block;
	width: 100px;
	padding: 0;
}

.Horizontal .Menu .Item .Menu .Item a
{
	width: 100px;
	color: #CC0000;
	display: block;
}

.Horizontal .Menu .Item .Menu .Item .Menu
{
	position: absolute;
	left: 100px;
	top: 0px;
}

.Horizontal .Menu .Item .Menu.Opened
{
	display: block;
	z-index: 100;
}

.Horizontal .Menu .Item .Menu.Closed
{
	display: none;
}


/* Main Menu Menu */

.MainMenu .Menu
{
	padding: 0px;
	list-style: none;
	width: 100%;
	line-height: 15px;
	background-color: Transparent;
	cursor: default;
	text-align: right;
}

.MainMenu .Menu .Item
{
	display: inline;
	width: auto;
	height: 20px;
	margin: 0px 0px 0px 15px;
	font-size: 12px;
	text-transform: uppercase;
}

.MainMenu .Menu .Item a
{
	width: auto;
	text-decoration: none;
	color: #105abe;
}
.MainMenu .Menu .Item a:hover
{
	width: auto;
	text-decoration: none;
	color: #CC0000;
}

/* Footer Menu */

.Footer .Menu
{
	padding: 0px;
	margin: 0px;
	list-style: none;
	line-height: 20px;
	background: #fff;
	cursor: default;
	text-align: right;
}

.Footer .Menu .Item
{
	display: inline;
	width: auto;
	height: 20px;
	margin: 0px 7px 0px 0px;
	padding: 0px;
	font-size: 10px;
	text-transform: uppercase;
}

.Footer .Menu .Item a
{
	width: auto;
	text-decoration: none;
	color: #CC0000;
}




/* New class tags used */

.Object
{
	display: block;
	background-color: white;
	text-align: center;
	width: 100%;
}

.Property
{
	display: block;
	text-align: left;
	padding: 2px;
	width: 100%;
}

.Property .Name
{
	display: inline-block;
	width: 30%;
}

.Property .Value
{
	display: inline-block;
	width: auto;
}

.Property.Odd
{
	background-color: rgb(201,218,234);
}

.Property.Even
{
	background-color: rgb(168,188,197);
}

.Method
{
	border-left-style:none;
	border-right-style:none;
	border-top-style: solid;
	border-top-color: rgb(127,157,185);
	border-top-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgb(127,157,185);
	border-bottom-width: 1px;
	vertical-align: middle;
	margin-left:7px;
	margin-right:7px;
	margin-top:2px;
	margin-bottom:2px;
	cursor: hand;
}

.Collection .Object
{
	display: block;
	width: 100%;
}

.Collection .Object.Odd,
.Collection .Object.Odd .Property.Odd,
.Collection .Object.Odd .Property.Even
{
	background-color: rgb(201,218,234);
}

.Collection .Object.Even,
.Collection .Object.Even .Property.Odd,
.Collection .Object.Even .Property.Even
{
	background-color: rgb(168,188,197);
}


/* Specific class tags */

.ProductCategory .Property
{
	display: inline;
}

.ProductCategory .Property .Name
{
	display: none;
}

.ProductCategory .Property .Value
{
	display: inline;
}

.ProductCategory .Property.Image
{
	z-index: 1;
	float: left;
}

.ProductCategory .Property.Image img
{
	border: none;
}

.ProductCategory .Property.Name
{
	z-index: 2;
	font-size: 20px;
}

.ProductCategory .Property.Description
{
	z-index: 3;
	font-size: 14px;
}

.ProductCategory .Property.Products
{
	z-index: 4;
	font-size: 14px;
}

/* --------------------------------- SBG Specific -------------------------------- */
.wallpaper-top {
	background:  #E5E5E5 url(../UserFiles/Image/Frame/wallpaper-top.gif) repeat-x left top;
	margin: 0px;
	padding: 0px;
}
.padding-5px {
	padding: 15px;
	margin: 0px;
}
.padding-10px {
	padding: 15px;
	margin: 0px;
}

.img-padding-right {
	padding-right: 5px;
}
.text-coloured {
	color: #447CB0;
	font-style: italic;
}
input {
	font-size: 12px;
	font-weight: normal;
	color: #095BBF;
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	margin-top: 2px;
	margin-bottom: 2px;
}
.wrapper {
	width: 100%;
	height: 100%;
}
td img.Block {
	display: block;
	padding: 0;
	margin: 0;
}
#FooterWrapper {
	text-align: center;
	margin: 0px auto;
	padding: 0px;
	width: 760px;
	line-height: 20px;
}
#FooterMenu {
	float: left;
	width: auto;
	line-height: 20px;
}
#DesignBy {
	clear: none;
	float: left;
	width: auto;
	line-height: 20px;
}
.FlashVideoWrap {
	float: left;
	margin: 0 10px 10px 0;
}
.FlasVideoBlock {
	float: none;
	margin-bottom: 10px;
}

.smallPanel{
	background: url(../UserFiles/Image/Frame/panel-3-middle.gif) top left repeat-y;
}