/* HTML Element styles specific to this project. */
body 
{
	scrollbar-arrow-color: #FFF;
	scrollbar-darkshadow-color: #999999;
	scrollbar-base-color: #999999;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

body,
input,
textarea,
select,
p,
ul,
ol,
h1,
h2,
h3,
h4,
h5
{
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
    word-spacing: normal;
	color: #000;
}

th
{	
	vertical-align:	baseline;
}

td
{	
	vertical-align:	top;
}

h1
{
	font-size: 24px;
}

h1, 
h2, 
h3 
{
	font-weight: bold;
	color:#BE002C;
	text-transform: capitalize;
}

h3, 
h4, 
h5
{
	font-weight: bold;
	color:#999;
	text-transform: capitalize;
}

h1
{
	margin-top: 30px;
}
h2
{
	margin-top: 20px;
}
h3,
h4,
h5
{
	margin-top: 16px;
}
p
{
	margin-top: 8px;
}
ul, 
ol
{
	margin-top: 0px;
}
li
{
	margin-top: 2px;
	list-style-image: url(/UserFiles/Image/Frame/List.gif);
}

h1, 
h2, 
h3, 
h4, 
h5, 
p, 
ul, 
ol,
li 
{
	margin-bottom: 0px;
}

a
{
	font-style: normal;
	color: #BE002C;
	text-decoration: underline;
}

a:link
{	

	color: #BE002C;
}

a:visited
{	
	text-decoration: none;
	color: #BE002C;
}

a:active
{
	text-decoration: none;
	color: #BE002C;
}

a:hover
{
	text-decoration: underline;
	color: #BE002C;
}

ul li
{
	list-style-type: square ;
}

ul ul li
{
	list-style-type: disc;
}

ul ul ul li
{
	list-style-type: circle;
}

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:	.7em;
}

big
{
	font-size:	1.17em;
}

blockquote,
pre
{	
	font-family:	Courier New, monospace;
}

hr
{
	color: #EFEE12;
	width: 90%;
}

unknown
{
	display: block;
	font: 10pt "Trebuchet MS", Arial, 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;
	background-color: #BE002C;
	color: white;
}


/* 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: #000;
	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: #FDFD94;
}

.ListEvenDetailRow,
.FormEvenDetailRow
{
	background-color: #FEFEC4;
}



/* 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: "Trebuchet MS", Arial, 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,
.ListStringCell,
.ListMultipleLineStringCell,
.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,
.FormStringControl,
.FormMultipleLineStringControl,
.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;
}



/* 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%;
	border-style: dotted;
	border-width: 1px;
	border-color: Gray;
	color: Gray;
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	text-align: center;
	vertical-align: middle;
}





/* DON'T PRINT */

@media print
{
	.ListRecordSelectorCell,
	.ListRecordEditorCell,
	.LoginCommandRow,
	.ForgotLoginCommandRow,
	.ListCommandRow,
	.FormCommandRow,
	.NoPrint
	{
		display:none;
	}
}






/* Styles here are used to define the menu and its headers and options. */

.MenuTable
{
	width: 120px;
	background-color:Transparent;
}

.MenuTable td
{
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-weight: nomal;
	text-align: left;
	line-height: 30px;
	background-image: url(/UserFiles/Image/Frame/MenuBg.jpg);
	background-repeat: no-repeat;
	background-position: 20px bottom;
	text-indent: 20px;
}

.MenuTable a,
.MenuTable p
{
	display: block;
	width: 100%;
	text-decoration: none;
}

.MenuTable a
{
	font-size: 15px;
	color: #000;
	padding: 0px;
}

.MenuTable p
{
	font-size: 15px;
	color: #000;
	padding: 0px;
}

.MenuTable a:visited
{
	color: #000;
	text-decoration: none;
}

.MenuTable a:hover
{
	color: #000;
	text-decoration: none;
}
.MenuTable a:active
{
	color: #000;
	text-decoration: none;
}
/*-------------------- footer menu --------------------*/

.FooterMenu .MenuTable
{
	width: auto;
	background-color: Transparent;
}

.FooterMenu .MenuTable td
{
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-weight: normal;
	text-align: left;
	background-image: none;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: 0px;
	vertical-align: top;
	line-height: 10px;
	white-space: nowrap;
}

.FooterMenu. MenuTable a,
.FooterMenu .MenuTable p
{
	color: #FFF;
}

.FooterMenu .MenuTable a
{
	font-size: 10px;
	color: #FFF;
	font-weight: normal;
	padding: 5px 0px 0px 10px
}

.FooterMenu .MenuTable p
{
	font-size: 10px;
	color: #FFF;
	font-weight: normal;
	padding: 5px 0px 0px 10px
	}

.FooterMenu .MenuTable a:visited
{
	color: #FFF;
	background-color: none;
}

.FooterMenu .MenuTable a:hover
{
	text-decoration: underline;
	color: #FFF;
}
.FooterMenu .MenuTable a:active
{
	color: #FFF;
	background-color: none;
}

/*-------------------- specific to this website --------------------*/

.BodyBgRight {
	background-image: url(/UserFiles/Image/Frame/BgRight.gif);
	background-repeat: repeat-y;
	background-position: left top;
}
.BodyBgLeft {
	background-image: url(/UserFiles/Image/Frame/BgLeft.gif);
	background-repeat: repeat-y;
	background-position: right top;
}
.BodyBgTop {
	background-image: url(/UserFiles/Image/Frame/ContentTop.gif);
	background-repeat: no-repeat;
	background-position: left top;
	padding: 0px;
}
.FooterBg {
	background-image: url(/UserFiles/Image/Frame/FooterLeft.gif);
	background-repeat: no-repeat;
	background-position: right top;
}
.Address {
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 10px;
	font-weight: normal;
	color: #000000;
	text-decoration: none;
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 15px;
}
.FooterBgRight {
	background-image: url(/UserFiles/Image/Frame/FooterRight.gif);
	background-repeat: no-repeat;
	background-position: right top;
	font-size: 10px;
	color: #FFFFFF;
}

