/* ----- BEGIN PAGE FORMATTING ----- */
* {
	padding: 0;
	margin: 0;
}

html,body {
	height: 100%;
}

body {
	font-size: 1em;
	font-family: Calibri, Verdana, Arial, Sans-serif;
	text-align: center;
}

h1 {
	font-size: 1.6em;
	padding: 10px 10px 1em;
}

h2 {
	font-size: 1.4em;
	padding: 10px 10px 1em;
}

h3 {
	font-size: 1.2em;
	padding: 10px 10px 0em;
}

p {
	padding: 0 10px 1em;
}

p.list {
	border-bottom: 1px solid #333;
}

a {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #00a2ff;
	text-decoration: underline;
}
/* ----- END PAGE FORMATTING ----- */

/* ----- BEGIN WRAPPER ----- */

div#wrapper {
	min-height: 100%;
	background-color: #fff;
	margin: 0 auto;
	text-align: center;
}
/* ----- END WRAPPER ----- */

/* ----- BEGIN HEADER ----- */

div#header {
	text-indent: -9000px;
	height: 105px;
	width: 100%;
	background-color: #333333;
}

div#header a {
	position: absolute;
	left: 2px;
	top: 2px;
	display: block;
	width: 425px;
	height: 100px;
	background-image: url('/theme/img/header.png');
	background-repeat: no-repeat;
	z-index: 5;
}

div#header-right-mask{
	display: block;
	width: 350px;
	height: 105px;
	position: absolute;
	top: 0;
	right: 0;
	background-image: url('/theme/img/head-right-over.png');
	background-position: right;
	background-repeat: no-repeat;
	z-index: 3;
}

div#header-right{
	display: block;
	width: 350px;
	height: 105px;
	position: absolute;
	top: 0;
	right: 0;
	background-image: url('/theme/img/head-right-kb.png');
	background-position: right;
	background-repeat: no-repeat;
	z-index:2;
}
/* ----- END HEADER ----- */

/* ----- BEGIN NAVBAR ----- */

div#navbar {
	overflow: auto;
	text-align: center;
}

div#navbar ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 100%;
	background-image: url('/theme/img/navbar-bg.png');
	background-repeat: repeat-x;
	background-color: #999;
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	float: left;
	clear: right;
}

div#navbar li {
	display: inline;
}

#home #nav-home a,
#about #nav-about a,
#services #nav-services a,
#contact #nav-contact a {
	/*float: left;
	width: 6em;
	text-decoration: none;
	color: white;*/
	background-image: url('/theme/img/navbar-hover.png');
	background-repeat: repeat-x;
	background-color: #004c78;
	/*padding: 0.2em 0.6em;
	border-right: 1px solid #666;*/
}

#home #nav-home a:hover,
#about #nav-about a:hover,
#services #nav-services a:hover,
#contact #nav-contact a:hover {
	background-image: url('/theme/img/navbar-hover.png');
	background-repeat: repeat-x;
	background-color: #00a2ff;
}




div#navbar a {
	float: left;
	width: 6em;
	text-decoration: none;
	color: white;
	background-image: url('/theme/img/navbar-hover.png');
	background-repeat: repeat-x;
	background-color: #333;
	padding: 0.2em 0.6em;
	border-right: 1px solid #666;
}
div#navbar a:hover {
	background-image: url('/theme/img/navbar-hover.png');
	background-repeat: repeat-x;
	background-color: #00a2ff;
}

/* ----- END NAVBAR ----- */

/* ----- FORMATTING FOR ADVERTS BLOCK ----- */
div#adverts {
	text-align: center;
	margin: 0 auto;
	width: 728px;
	height: 90px;
}

/* ----- BEGIN MAIN CONTENT ----- */
div#content {
	text-align: left;
	background-image: url('/theme/img/content-bg.png');
	min-height: 200px;
	background-repeat: repeat-x;
	background-color: #fff;
	overflow: auto;
}

div#call {
	margin: 0 auto;
	text-align: center;
	width: 282px;
	height: 26px;
	background-image: url('/theme/img/call-bg.png');
	background-repeat: repeat-x;
	color: #000;
	text-indent: -9000px;
}

div#maintext {
	width: 90%;
	margin: 0 auto;
}
div#maintext a{
	color: #00a2ff;
}
div#maintext ul {
	list-style-type:none;
	padding: 0 10px 1em;
	margin: 0;
	width: 100%;
	float: left;
	clear: right;
	text-align: center;
}
div#maintext li {
	font-weight: bold;
	display:inline;
}

div#lefttext {
	width: 50%;
	float: left;
}
div#lefttext a{
	color: #00a2ff;
}

div#righttext{
	width: 50%;
	float: right;
}
div#righttext a{
	color: #00a2ff;
}

/* 
div#sidebar {
	position: relative;
	left: 10px;
	top: 10px;
	float: left;
	width: 10%;
	overflow: hidden;
	border: 1px #000 solid;
	background-color: #ccc;
}
div#sidebar ul {
	list-style-type:none;
	padding: 0px 0 5px 0;
	margin: 0px;

}
div#sidebar li {
	margin-left: 10px;
	padding-left: 15px;
	background:url('/theme/img/tiny-arrow.png') no-repeat left 50%;
} 
/*

/* ----- END MAIN CONTENT ----- */

/* ----- BEGIN FOOTER  ----- */
div#clearfooter {
	height: 50px;
	clear: both;
}
div#footer {
	min-height: 40px;
	padding-top: 10px;
	margin: -51px auto 0 auto;
	background-color: #333;
	border-top: 1px solid #999;
	overflow: auto;
}
div#footer p{
	font-size: 0.7em;
	color: #ccc;
}
div#footer a{
	color: #00a2ff;
}

div#footer-left {
	float: left;
	padding-left: 10px;
}

div#footer-right{
	float: right;
	text-align: right;
}
/* ----- END FOOTER ----- */

/* ----- BEGIN COMPATABILITY HACKS ----- */
/* IE fix for page height rendering */
* html #container {
height: 100%;
}
/* ----- END COMPATABILITY HACKS ----- */