
/* element styles */

html {
	overflow: scroll;
}

body{
	margin: 0;
	padding: 0; 
	background-image: url("../images/site/bg.jpg");
	background-repeat: repeat-x;
	background-color: #8195b1;
}	 

div {
	font-family: verdana, arial, sans-serif;
	font-size: small;
	color: #222;
}

p {
	font-family: verdana, arial, sans-serif;
	font-size: small;
	color: #222;
	margin: 0 0 10px 0;
}

ul {
	padding: 0;
	margin: 0px 0px 0px 10px;
}

li {
	font-size: small;
	color: #222;
}

td {
	font-size: small;
	color: #222;
	vertical-align: top;
}

img {
	border: 0;
}

a {
	font-size: small;
	color: #00c;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-family: verdana, arial, sans-serif;
	font-size: x-large;	
	font-weight: bold;
	color: #222;
	margin: 0;
	padding: 0 0 15px 0;
}

h2, .nav_head {
	font-family: verdana, arial, sans-serif;
	font-size: 130%;	
	margin: 0;
	padding: 0 0 15px 0;
	font-weight: bold;
	color: #222;
}

h3 {
	font-family: verdana, arial, sans-serif;
	font-size: 110%;	
	margin: 0;
	padding: 0 0 5px 0;
	font-weight: bold;
	color: #222;
}

form {
	margin: 0;
}

textarea {
	font-family: verdana, arial, sans-serif;
	font-size: small;
}

/* page element styles */ 
 
#top_bar {
	padding: 15px 0 10px 0;
}

#icon {
	float: left;
}

#logo {
	float: left;
}

#tagline {
	float: right;
	font-size: 150%;
	padding-top:20px;
}

#navigation {
	clear: both;
	padding: 10px 0 15px 0;
}

#nav_buttons {
	float: left;
}

#search_box {
	float: right;
	background: url("../images/nav/search_bg.png") top left no-repeat;
	width: 168px;
	height: 31px;
}

#search_form {
	width: 150px;
	margin-left: 15px;
	margin-top: 5px;
}

#q {
	border: 1px solid #d8deae;
	width: 100px;
	padding: 3px;
	margin: 2px 0 0 0;
	height: 13px;
	font-size: 85%;
}

#q_box {
	float: left;
}

#search_button {
	padding: 0;
	margin: 1px 0 0 0;
}

#search_button_box {
	float: left;
}

#main {
	position:relative;
	margin:0;
	margin-left:auto;
	margin-right:auto;
	width: 914px;
}

#footer {
	clear: both;
	padding: 0 0 20px 0;
}

#footer div {
	color: #fff;
}

#footer a {
	color: #fff;
}

/* home page structural styles */

#home_top_left {
	float: left;
	width: 521px;
	height: 260px;
	background: url("../images/site/home-top-left.png");
	background-repeat: no-repeat;
	background-color: #fff;
}

#home_top_right {
	float: left;
	width: 393px;
	height: 260px;
	background: #fff top right url("../images/site/tapemeasure.jpg");
}

#home_top h1 {
	font-size: x-large;
	line-height: 130%;
	margin-top: 15px;
}

#left_box {
	padding: 20px 30px 20px 0;
	float: left;
}

#right_box {
	padding: 20px 0 20px 0;
	float: left;
}

.half_box_top {
	background: url("../images/site/half-box-top.png");
	width: 441px;
	height:10px;
	background-repeat: no-repeat;
	background-color: #fff;
}

.half_box_main {
	background: url("../images/site/half-box-bg.png");
	width: 441px;
	height: 230px;
	background-color: #fff;
}

.half_box_main img {
	padding: 0 10px 0 0;
}

.half_box_bottom {
	background: url("../images/site/half-box-bottom.png");
	width: 441px;
	height:10px;
	background-color: #fff;
}

/* content page structural styles */

#box_top {
	background: url("../images/site/spanning-box-top.png");
	width: 914px;
	height:10px;
	background-repeat: no-repeat;
	background-color: #fff;
}

#box_main {
	background: url("../images/site/spanning-box-bg.png");
	width: 914px;
	background-color: #fff;
}

#box_main img {
	padding: 0 10px 5px 0;
}

#box_bottom {
	background: url("../images/site/spanning-box-bottom.png");
	width: 914px;
	height:10px;
	background-color: #fff;
}

#left_nav {
	width: 200px;
	float: left;
	padding: 20px 0 10px 29px;
}

#left_nav .nav_head {
	margin-bottom: 10px;
}

#right_main {
	width: 620px;
	padding: 0;
	border-left: 1px solid #afafb2;
	margin: 20px 0 20px 20px;
	float: left;
}

#right_main h1 {
	padding-left: 29px;
}

#right_main_body {
	padding-left: 29px;
}

#left_nav a {
	color: #222;
	font-size: 85%;
}

#nav_head a {
	font-size: 100%;
}

.nav_item_1 a, .nav_item_1_active a, .nav_item_2 a, .nav_item_2_active a {
	display: block;
	padding: 10px 5px 0 17px;	
	width: 178px;
	height: 24px;
	margin: 0 0 10px 0;
}

.nav_item_2 a, .nav_item_2_active a {
	width: 158px;
	padding-left: 30px;
}

.nav_item_1 {
	background: no-repeat url(../images/site/leftnav_1_bg.gif);
}

.nav_item_1_active {
	background: no-repeat url(../images/site/leftnav_1_active_bg.gif);
}

.nav_item_2 {
	background: no-repeat url(../images/site/leftnav_2_bg.gif);
	margin-left: 10px;
}

.nav_item_2_active {
	background: no-repeat url(../images/site/leftnav_2_active_bg.gif);
	margin-left: 10px;
}

#col1 {
	float: left;
	width: 275px;
	/*background: url("../images/site/divider.png") right repeat-y;*/
	margin-bottom: 20px;
	margin-right: 30px;
	padding-right: 10px;
}

#col2 {
	float: left;
	width: 275px;
	margin-bottom: 20px;
}

/* nav styles */

.nav_item {
	display: block;
	height: 31px;
	text-align: center;
}

.nav_item_active {
	display: block;
	height: 31px;
	background-position: 0 -31px  !important;
	text-align: center;
}

.nav_item:hover {
	background-position: 0 -31px  !important;
}

.nav_item span, .nav_item_active span {
	display: none;
}

#nav_home {
	width: 77px;
	background: url(../images/nav/home.png) no-repeat 0 0;
}

#nav_web-design {
	width: 115px;
	background: url(../images/nav/web-design.png) no-repeat 0 0;
}

#nav_services {
	width: 90px;
	background: url(../images/nav/services.png) no-repeat 0 0;
}

#nav_products {
	width: 94px;
	background: url(../images/nav/products.png) no-repeat 0 0;
}

#nav_resources {
	width: 104px;
	background: url(../images/nav/resources.png) no-repeat 0 0;
}

#nav_about-us {
	width: 95px;
	background: url(../images/nav/about-us.png) no-repeat 0 0;
}

#nav_contact {
	width: 109px;
	background: url(../images/nav/contact.png) no-repeat 0 0;
}

#nav_twitter {
	width: 31px;
	background: url(../images/nav/twitter.png) no-repeat 0 0;
}

#nav_facebook {
	width: 31px;
	background: url(../images/nav/facebook.png) no-repeat 0 0;
}


/* subnav styles */

#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav a {
	display: block;
}

#nav li {
	float: left;
}

#nav li ul {
	position: absolute;
	left: -999em;
	z-index: 99;
	border: 1px #afafb2 solid;
	background: repeat-x #ebebeb top url(../images/site/dd-bg.png);
	width: 125px;
	padding: 0 5px 0 5px;
}

#nav li:hover ul {
	left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

.dd_nav_item, .dd_nav_item_last {
	width: 125px;
	border-bottom: 1px #afafb2 solid;
	padding: 5px 0 5px 0;
}

.dd_nav_item_last {
	border-bottom: 0;
}

.dd_nav_item a, .dd_nav_item_last a {
	color: #000;
	font-size: 85%;
	display: block;
}

.dd_nav_item a:hover, .dd_nav_item_last a:hover {
	display: block;
	text-decoration: underline;
}

/* general styles */

.smallText {
	font-size: 80%;
}

.error {
	color: #c00;
	font-weight: bold;
}

.pad30lr {
	padding: 0 30px 0 30px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hide {
	display: none;
}