body {margin:0px; padding:0px; background-image:url(images/bg.jpg); background-repeat:repeat-x; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
#main {width:80%; margin-left:auto; margin-right:auto; margin-top:12px; background-color: white; min-width:775px; max-width:1000px; position: relative;}

#header {height:135px; position:relative; background-image:url(images/header_bg.jpg); background-repeat:repeat-x;}
#logo {position:absolute; top:0px; left:0px;}
#logobot {position:absolute; top:87px; left:27px;}
#headerright {position:absolute; top:0px; right:-1px;}

#navigation {position:absolute; top:90px; left:45px; width:700px;}
#navigation img {border:0px;}

#bodycell{border-right:1px solid #D5D5D5; vertical-align: top;}
#content{ padding:0px 20px 0px 20px; position:relative; line-height:22px; background-color:white;}
#content p {margin-top:0px; margin-bottom:0px;}
#sidebar{width:225px; padding: 0px 5px 0px 20px; position:relative; line-height: 18px;}
#newstext {position:absolute; top:0px; left:0px;}

#extra{float:right;clear:right;width:250px}
#footer {clear:both; width:100%; color:#666666; font-size:10px;}
#footertext {padding:20px 10px 10px 10px; text-align:center;}
#footer p {margin-top:5px; margin-bottom:0px;}
#footer a:link, #footer a:visited {color:#666666; text-decoration:none;}
#footer a:hover {text-decoration:none; border-bottom: 1px dashed #666666;}

#nav2 {width:495px; height:34px; background-image:url(images/nav2_bg.gif); position:absolute; top:-10px; left:15px; font-family:Verdana; font-size:11px; z-index:100; padding: 1px;}
#nav2links {position:absolute; top:7px; left:10px; color:#424242; height:34px; }
#nav2links a:link, #nav2links a:visited {color:#424242; text-decoration:none; letter-spacing:1px;}
#nav2links a:hover {text-decoration:none; border-bottom: 1px dashed #424242;}

a.navhome {display: block; width: 69px; height: 36px; background: url("images/nav/home.gif") 0 0 no-repeat; text-decoration: none; position:absolute; top:0px; left:0px;}
a.navhomeon {display: block; width: 69px; height: 36px; background: url("images/nav/home_on.gif") 0 0 no-repeat; text-decoration: none;position:absolute; top:0px; left:0px;}
a:hover.navhome {background-position:-69px 0;}
a.navabout {display: block; width: 109px; height: 36px; background: url("images/nav/about.gif") 0 0 no-repeat; text-decoration: none; position:absolute; top:0px; left:69px;}
a.navabouton {display: block; width: 109px; height: 36px; background: url("images/nav/about_on.gif") 0 0 no-repeat; text-decoration: none;position:absolute; top:0px; left:69px;}
a:hover.navabout {background-position:-109px 0;}
a.navservices {display: block; width: 94px; height: 36px; background: url("images/nav/services.gif") 0 0 no-repeat; text-decoration: none; position:absolute; top:0px; left:178px;}
a.navserviceson {display: block; width: 94px; height: 36px; background: url("images/nav/services_on.gif") 0 0 no-repeat; text-decoration: none;position:absolute; top:0px; left:178px;}
a:hover.navservices {background-position:-94px 0;}
a.navcontact {display: block; width: 127px; height: 36px; background: url("images/nav/contact.gif") 0 0 no-repeat; text-decoration: none; position:absolute; top:0px; left:272px;}
a.navcontacton {display: block; width: 127px; height: 36px; background: url("images/nav/contact_on.gif") 0 0 no-repeat; text-decoration: none;position:absolute; top:0px; left:272px;}
a:hover.navcontact {background-position:-127px 0;}
a.navmajesty {display: block; width: 171px; height: 36px; background: url("images/nav/majesty.gif") 0 0 no-repeat; text-decoration: none; position:absolute; top:0px; left:399px;}
a.navmajestyon {display: block; width: 171px; height: 36px; background: url("images/nav/majesty_on.gif") 0 0 no-repeat; text-decoration: none;position:absolute; top:0px; left:399px;}
a:hover.navmajesty {background-position:-171px 0;}
a.navorder {display: block; width: 79px; height: 36px; background: url("images/nav/order.gif") 0 0 no-repeat; text-decoration: none; position:absolute; top:0px; left:570px;}
a.navorderon {display: block; width: 79px; height: 36px; background: url("images/nav/order_on.gif") 0 0 no-repeat; text-decoration: none;position:absolute; top:0px; left:570px;}
a:hover.navorder {background-position:-79px 0;}

#homequote {background-image:url(images/hm_bg.jpg); background-repeat:repeat-x; position:relative; margin:1px 10px 0px 10px; height:191px; padding: 20px 100px 0px 100px; color:#FFFFFF; font-family:"Times New Roman", Times, serif; font-size:28px; vertical-align:middle; position:relative;}
#homeleft {position:absolute; top:0px; left:0px;}
#homeright {position:absolute; top:0px; right:-1px;}
#quoteauthor {position:absolute; top:140px; right:200px; font-size:20px; letter-spacing:2px;}

/* RSS Feed */
.rssitem {margin:0px 0px 8px 2px; font-size: 11px;}
.rssdesc {margin:0px 0px 0px 5px; font-size: 11px; border-bottom: 1px solid #cccccc;}
.rssitem a:link, .rssitem a:visited {color:#860037; text-decoration:none;}
.rssitem a:hover {color:#663399; border-bottom: 1px dotted #663399; }

#pagetitle {display:block; font-size:16px; font-weight:bold; letter-spacing:2px; border-bottom:1px solid black; margin:5px 0px 10px -10px;}
.innertitle {display:block; font-size:12px; font-weight:bold; letter-spacing:1px; border-bottom:1px solid black; margin:10px 0px 0px 0px;}
.bodylink  {display:block; padding-left:25px; color:#860037;}
.bodylink a:link,.bodylink a:visited {color:#860037; text-decoration:none;}
.bodylink a:hover {text-decoration:none; border-bottom: 1px dashed #860037;}
.formfield {font-family:Verdana; border: 1px solid #000000; padding: 3px;}

.bodyLink:link,.bodyLink:visited {color:#860037; text-decoration:none; padding:0; margin:0; line-height:normal;}
.bodyLink:hover {text-decoration:none; border-bottom: 1px dotted #860037;}

.tabs_top {border-bottom:1px solid #CACACA; width:100%; height:23px; position:relative;}
.tabs {width:120px; padding:4px; text-align:center; float:left; border:1px solid #CACACA; background-color:#EEEEEE; color:#919292; border-left:0px; border-bottom:0; font-family:verdana; font-size:12px; position:relative; line-height:14px;}
.tabsl {width:80px; padding:4px; text-align:center; float:left; border:1px solid #CACACA; background-color:#EEEEEE; color:#919292; border-bottom:0; font-family:verdana; font-size:12px; position:relative; line-height:14px;}
#tabso1, #tabso2, #tabso3, #tabso4  {background-color:#FFFFFF; border-bottom:1px solid #FFFFFF; font-weight:bold; letter-spacing:1px;}
.tabs_top a {text-decoration:none; color:#919292;}
.tabs_top a:hover {color:#000000;}
#t1 {border:1px solid #CACACA; border-top:0px; padding:10px 320px 10px 10px; margin-top:0px; height:250px;}
#t2 {border:1px solid #CACACA; border-top:0px; padding:10px 360px 10px 10px; margin-top:0px; height:250px;}
#t3 {border:1px solid #CACACA; border-top:0px; padding:10px 275px 10px 10px; margin-top:0px; height:250px;}
#t1p, #t2p, #t3p {border:1px solid #CACACA; border-top:0px; padding:10px 10px 10px 10px; margin-top:0px;}
.tab_corner {position:absolute; left:-1px; top:-5px;}
.hm_pict {position:absolute; right:4px; bottom:-7px;}


#pagetitle a:link, #pagetitle a:visited {color: #000000; text-decoration: none;}
#pagetitle a:hover {color: #860037;}


#admin_tools a:link, #admin_tools a:visited, #calltable a:link, #calltable a:visited {color: #860037; text-decoration: none;}
#admin_tools a:hover, #calltable a:hover {color: #6533a2; border-bottom: 0px;}
admin_tools {color: #850054; font-weight: bold; font-size: 12px;}
.doctableheader {border-bottom: 1px solid black; font-weight: bold;}


input.frmText, input.required, textarea.required, .password, input.validation-passed, textarea.validation-passed {
	border: 1px solid #9e9e9e;
	padding: 6px;
	background-color: #f1f1f1;
	font-size:12px;
}

input.validation-failed, textarea.validation-failed {
	border: 1px solid #a60700;
	color : #a60700;
}

.validation-advice {padding: 2px; color : #a60700; font-weight: bold;}
label {font-weight: bold; font-size: 12px;}
.form-row {padding-bottom: 5px;}
.buttonLG {font-size:16px; padding:8px 20px 8px 20px; background-image:url(images/bgbutton_g.gif); font-weight: bold; border: 1px solid #9bde6f; color:#279f2f;}
.buttonLG_n {font-size:16px; padding:8px; background-image:url(images/bgbutton.gif); color:#5c5c5c; background-position: bottom; border: 1px solid #9e9e9e; background-color: #FFFFFF; background-repeat: repeat-x}



.infobox {border:1px solid #CACACA; background-color:#EEEEEE; margin-top:10px; padding:5px; position: relative;}
#XLexport {position: absolute; right:0px; top:-72px; font-weight: bold;}

#XLexport a:link, #XLexport a:visited {color: #006600; text-decoration: none;}
#XLexport a:hover {color: #860037;}



/* news & Notables */
#content #posts h2 {margin:0px;}
#content #posts h2 a {font-size:16px; font-weight:bold; color:#860037; text-decoration:none;}
#content #posts .post {position:relative;float:left;margin:0 0 20px 0;}
#content #posts .post .postcontent {line-height:18px; font-size:12px;}
#content #posts .post .postcontent a {color:#860037; text-decoration:none;}

/* My Documents */
#loginBoxLeft {border: 1px solid #C0C0C0; margin:0 15px 15px 15px; background-color: #f8f8f8; width:290px; padding:20px; float: right;}
#loginBoxRight {float:left; padding:20px; width: 530px; line-height: 25px;}
.frmEx {font-size:9px; color:#858585; display: block;}
.frmError {padding: 8px; border:1px solid #b00000; background-color: #f4dbdb; line-height: 17px; color:#000000; width: 100%; margin: 5px 0 10px 0;}
.frmSuccess {margin:10px; padding: 5px; border:1px solid #3b7631; background-color: #c1dabd; line-height: 17px; color:#000000;}
.AMtblHeader {font-weight: bold; border-bottom: 1px solid #000000; line-height: normal;}
.AMtblItem {border-bottom:1px solid #999999; color:#696969;}


/* Services Tabs */
.tabsDoc {position: relative; width: 100%; height: 3em; border-bottom: 1px solid #CACACA; margin-top: 10px;}
.tabsDoc ul.primary {margin: 0; padding: 0; position: absolute; bottom: -1px;}
.tabsDoc ul.primary li  {display: inline; list-style: none;}
.tabsDoc ul.primary a,.tabsDoc ul.primary span,.tabsDoc ul.primary a.current {display: block; float: left; padding: 4px 0; margin: 1px 3px 0 0; text-align: center; letter-spacing: 1px; font-size: 16px; text-decoration: none; color: #333; padding-left:10px; padding-right: 10px;}
.tabsDoc ul.primary span,.tabsDoc ul.primary a.current,.tabsDoc ul.primary a.current:hover {border: 1px solid #CACACA; border-bottom: none; background: #FFFFFF; padding-bottom: 6px; margin-top: 0;}
.tabsDoc ul.primary a {background-image: url(images/tabBG.gif); color:#FFFFFF; border: 1px solid #CACACA; border-bottom: none; font-size:13px;}
.tabsDoc ul.primary a:hover {margin-top: 0; border-color: #CACACA; background-image: url(../images/tabBGo.gif); background-color: #a30046; padding-bottom: 5px;}