html, body {
	width: auto;
	height: 100%;
	margin:auto;
    padding:0px;
}

body{
	background-color:#323F4B;
    background-image:url(../images/bk.gif);
    background-repeat:repeat-x;
    background-position:top center;
    font-family: Arial, Verdana, sans-serif;
    color: #303d49;
}

a{
	cursor:pointer;
}

a:link, a:visited, a:active {
	color: #1263ab;
}
a:hover {
	color: #2185dc;
}
	
a.nolink{
	cursor:default;	
}
img {
	border: none;
}

h2{
    margin:0px;
    padding:0px;
}

h6{
    margin:0px 0px 10px 0px;
    padding:4px;
}

hr {
	height: 1px;
}

ul{
    border:0; 
    margin:0; 
    padding:0;
}

#loginContainer{
    height:26px;
    margin:auto;
    width:974px;
    background-image:url(../images/login_bk.gif);
    background-position:top center;
    background-repeat:no-repeat;
    position:relative;  
    padding-right:20px;
    z-index:5000;
}

#mainMenu{
    position:absolute;
    width:347px;
    left:10px;
    top:0px;
    z-index:1000;
    font-size: 70%;
    text-align:center;
    color: #0d3357;
}

#mainLogo{
    width:347px;
    height:89px;
    cursor: pointer;
}

#mainLogoLap{
	width:347px;
    height:89px;
    cursor: pointer;
    background-image:url('../images/mainlogolap.png');
}

#mainLogoLogin{
	width:347px;
    height:89px;
    cursor: pointer;
    background-image:url('../images/mainlogologin.png');
}

#mainLogo a, #mainLogoLap a, #mainLogoLogin a{
    width:347px;
    height:89px;
    display:block;
}

#subNav{
    height:26px;
    float:right;
    text-align:right;
}

#subNav li{
    display:inline;
    height:26px;
}

#subNav li a{
    color:#136cbb;
    text-decoration:none;
    font-size:11px;
    padding-left:20px;
    margin-left:8px;
    height:26px;
    display:block;
    float:left;
    line-height:26px;
    background-position: top left;
    background-repeat: no-repeat;
}

#subNav li a:hover{
    color:#338cdb;
}

#subNavAdmin a{
	background-image:url(../images/icons/icon-admin.gif);
}
#subNavSettings a{
    background-image:url(../images/icons/icon-settings.gif);
}
#subNavHelpDesk a{
    background-image:url(../images/icons/icon-help.gif);
}
#subNavLogOut a{
    background-image:url(../images/icons/icon-logout.gif);
}

ul#mainNav{
    position:absolute;
	padding: 0;
	margin: 0;
	list-style: none;
    bottom:0px;
    left:0px;
    width:974px;
    height:34px;
    padding-left:20px;
    z-index:50000;
}
ul#mainNav a{
    width:122px;
    padding:10px 0px 0px 35px;
    background-position:left top;
    background-repeat: no-repeat;
    height:25px;
    display:block;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    font-size:90%;
}

ul#mainNav li{
    float:left;
    list-style-type:none;
    margin-right:2px;
    background-image:url(../images/tab-main-off.png);
    position:relative;
}
ul#mainNav li:hover{
    background-image:url(../images/tab-main-hover.png);  
}

ul#mainNav li.active, ul#mainNav li.active:hover{
    background-image:url(../images/tab-main-on.png);
}

ul#mainNav li.active a{
    color:#303d49;
}

ul#mainNav li:hover ul, ul#mainNav li li:hover ul, ul#mainNav li.sfhover ul, ul#mainNav li li.sfhover ul { /* lists nested under hovered list items */
	left: 0px;
	display: block;
}

ul#mainNav li ul {
	position: absolute;
	top: 35px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	display: none;
	width: 221px;
	padding: 0 0 75px 0;
	margin: 0;
	padding-bottom: 75px;
	border-bottom: 2px solid #333;
	line-height: 1;
	list-style: none;
	background-color: #136cbb;
	color: #fff;
	font-size: 85%;
	font-weight: bold;
	z-index: 99;
}

ul#mainNav li.active ul{
    background-color:#fff;
}

ul#mainNav li.active ul li{
    background-color:#fff;
}

ul#mainNav li ul li {
	background-image: none;
	background-color: #136cbb;
}
ul#mainNav li ul li:hover {
	background-image: url(../images/mainNavChild.jpg);
}

ul#mainNav li.active ul li:hover {
	background-image: url(../images/mainNavChildActive.jpg);
}

ul#mainNav li ul li a {
	display: block;
	width: 201px;
	color: #fff;
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	padding: 10px;
	height: 10px;
	font-weight: bold;
	background-image: none;
}
u#mainNav a img{
    border:0px;
    float:left;
    margin:0px 5px 0px 10px;
}
ul#mainNav li ul li a img{
    border:0px;
    float:left;
    margin:0px 5px 0px 5px;
}
#headContainer{
    background-image:url(../images/head_bk.jpg);
    background-position:top center;
    background-repeat:no-repeat;
    height:155px;
    margin:auto;
    padding:0px;
    min-width:994px;
    position:relative;
    z-index:500;
}

#headInside{
    background-image:url(../images/header01.jpg);
    background-position:top center;
    background-repeat:no-repeat;
    width:994px;
    height:154px;
    margin:auto;
    display:block;
    position:relative;
}

#flashHead {
	display: none;
	position: absolute;
    width:994px;
    height:154px;
}

#navDashboard a{
    background-image:url(../images/icons/house.png); 
}

#navPropects a{
    background-image:url(../images/icons/group.png);
}

#navInvoices a{
    background-image:url(../images/icons/cart.png);
}

#navWebsite a{
	background-image:url(../images/icons/layout_sidebar.png);
}

#navResources a{
    background-image:url(../images/icons/wand.png);
}

#mainContainer{
    margin:0px auto 0px auto;
    width: 994px;
    background-image:url(../images/body_bottom_bk.gif);
    background-position:top center;
    background-repeat:repeat-y;
    padding:0px;
    display:table;
    position:relative;
    z-index:0;
}

#bodyContainer{
    float:left;
    padding:10px 15px 0px 13px;
    width: 966px;
    position:relative;
    background-image:url(../images/body_bk.jpg);
    background-position:top center;
    background-repeat:no-repeat;
    min-height:800px;
    z-index:0;
}

#footer{
    margin:auto;
    width: 974px;
    height: 43px;
    padding:50px 0px 0px 20px;
    background-image:url(../images/foot.gif);
    background-repeat:no-repeat;
    color:#d6d8db;
    font-size: 75%;
    clear:both;
    position:relative;
    z-index:0;
}

#footer span {
	font-weight: bold;
	color: #ffffff;
}

#footer a:link, #footer a:visited, #footer a:active {
	color: #ffffff;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}

#footerlogin{
	margin:auto;
    width: 974px;
    height: 43px;
    padding:50px 0px 0px 20px;
    background-image:url(../images/footlogin.gif);
    background-repeat:no-repeat;
    color:#d6d8db;
    font-size: 75%;
    clear:both;
    position:relative;
    z-index:0;
}

#footerlap{
	margin:auto;
    width: 974px;
    height: 43px;
    padding:50px 0px 0px 20px;
    background-image:url(../images/footlap.gif);
    background-repeat:no-repeat;
    color:#d6d8db;
    font-size: 75%;
    clear:both;
    position:relative;
    z-index:0;
}

.right {
	float: right;
}

.left{
    float:left;
}

.clearBoth{
    clear: both;
}

.inline{
    display:inline;
}

.textCenter{
    text-align:center;
}

#purchaseContainer {
	position:absolute;
	right:14px;
	top:30px;
	width: 230px; 
	height: 53px; 
}

#purchaseWrapper {
	width: 230px; 
	height: 53px; 
	margin-top: 8px;
	margin-right: -8px;
	background-image: url(../images/button-purchase-off.png);
	background-repeat: no-repeat; 
	background-position: left; 
	text-align: right;
	cursor: pointer;
}

#purchaseSubWrapper {
	padding-top: 18px;
	padding-right: 36px;
}
#purchaseSubWrapper, #purchaseSubWrapper a:link, #purchaseSubWrapper a:visited, #purchaseSubWrapper a:active {
	text-decoration: none;
	color: #166eb6; 
	font-weight: bold;
	font-size: 12px;
}
#purchaseWrapper:hover a {
	color: #0f3657;
}
#purchaseWrapper:hover {
	background-image: url(../images/button-purchase-on.png);
}
