/*-----------------------------------+
 | Site: Tai Pedro & Associates      |
 | Part: Master stylesheet           |
 +-----------------------------------*/

/* Divs
=====================================================================*/

body {
	margin: 0px;
	background: #4f95b7;
}

#whitecontainer {
	margin: 0 auto;
	width: 820px;
	background: #ffffff;
}

#container {
	margin: 0 auto;
	width: 790px;
}

#header {
	position: relative;
	height: 125px;
	background: #ffffff;
}

#header #logo {
	position: absolute;
	background: transparent url(../images/tpa_logo.jpg) no-repeat;
	width: 600px;
	height: 125px;
}

#masthead {
	position: relative;
	height: 250px;
	background: transparent url(../images/tpa_masthead.jpg) no-repeat;
}

#main_nav {
	margin: 0;
	position: relative;
	height: 45px;
	clear: both;
}

#redbar {
	height: 12px;
	width: 790px;
	margin: 0 auto;
	background: transparent url(../images/redbar.jpg) repeat-x;
	clear: both;
}

#header_nav {
	position: relative;
	margin: 5px 0 0 0;
	float: right;
}

#content {
	position: relative;
	width: 503px;
	height: 250px;
	margin: 0 10px 0 0;
	background: #fff;
	float: left;
	clear: both;
}

#sidebar {
	position: relative;
	margin: 10px 0 0 0;
	width: 277px;
	float: left;
}

#footer {
	padding-top: 5px;
	padding-bottom: 10px;
	position: relative;
	clear: both;
	background: transparent url(../images/redbar.jpg) repeat-x;
}

/* Typography
=====================================================================*/

h1,h2,h3,h4 {
	margin: 10px 0;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 24px;
	font-weight: normal;
	color: #016a9b;
}

p {
	margin: 5px 0;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #333;
}

span {
	display: none;
}

/* Main Navigation
=====================================================================*/

#main_nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#main_nav ul li {
	margin: 0;
	float: left;
	height: 45px;
}

#main_nav ul li a {
	margin: 0;
	display: block;
	height: 45px;
}

#main_nav ul li a span {
	display: none;
}

#main_nav ul li#nav_services a {
	background: url(../images/nav_services.jpg) no-repeat;
	width: 127px;
}

#main_nav ul li#nav_services_on a {
	background: url(../images/nav_services.jpg) no-repeat;
	background-position: 0 -45px;
	width: 127px;
}

#main_nav ul li#nav_mission a {
	background: url(../images/nav_mission.jpg) no-repeat;
	width: 129px;
}

#main_nav ul li#nav_mission_on a {
	background: url(../images/nav_mission.jpg) no-repeat;
	background-position: 0 -45px;
	width: 129px;
}

#main_nav ul li#nav_profile a {
	background: url(../images/nav_profile.jpg) no-repeat;
	width: 128px;
}

#main_nav ul li#nav_profile_on a {
	background: url(../images/nav_profile.jpg) no-repeat;
	background-position: 0 -45px;
	width: 128px;
}

#main_nav ul li#nav_contractvehicles a {
	background: url(../images/nav_contractvehicles.jpg) no-repeat;
	width: 129px;
}

#main_nav ul li#nav_contractvehicles_on a {
	background: url(../images/nav_contractvehicles.jpg) no-repeat;
	background-position: 0 -45px;
	width: 129px;
}

#main_nav ul li#nav_customers a {
	background: url(../images/nav_customers.jpg) no-repeat;
	width: 128px;
}

#main_nav ul li#nav_customers_on a {
	background: url(../images/nav_customers.jpg) no-repeat;
	background-position: 0 -45px;
	width: 128px;
}

#main_nav ul li#nav_contact a {
	background: url(../images/nav_contact.jpg) no-repeat;
	width: 149px;
}

#main_nav ul li#nav_contact_on a {
	background: url(../images/nav_contact.jpg) no-repeat;
	background-position: 0 -45px;
	width: 149px;
}

#main_nav ul li#nav_services a:hover,
#main_nav ul li#nav_mission a:hover,
#main_nav ul li#nav_profile a:hover,
#main_nav ul li#nav_contractvehicles a:hover,
#main_nav ul li#nav_customers a:hover,
#main_nav ul li#nav_contact a:hover {
	background-position: 0 -45px;
}

/* Sub Navigation
=====================================================================*/

#header_nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header_nav ul li {
	margin: 3px 10px 0 0;
	float: left;
}

#header_nav ul li a {
	margin: 0;
	display: block;
	height: 45px;
	font-family: Helvetica, Arial, Verdana;
	font-size: x-small;
	color: #a9a9a9;
	text-decoration: none;
}

#header_nav ul li a:hover {
	color: #666;
	text-decoration: underline;
}


/* Footer
=====================================================================*/

#footer p {
	padding-top: 5px;
	font-family: Helvetica, Arial, Verdana;
	font-size: 11px;
	color: #016a9b;
}

#footer hr {
	border: none 0; 
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	height: 2px;
	margin: 10px 0 0 0;
}


/* Accordion
=====================================================================*/

.menu_list {
	width: 277px;
}

.menu_head {
	padding: 5px 10px;
	cursor: pointer;
	position: relative;
	margin:1px;
	color: #016a9b;
	background: transparent url(../images/sidebar_headerbg.jpg) repeat-x;
}

.menu_body {
	display:none;
}

.sidebar_body {
	display: block;
	padding-left: 10px;
	font-size: x-small;
	color: #555;
}

.menu_body a {
  display:block;
  color:#006699;
  padding-left:10px;
  padding-right: 10px;
  font-weight:bold;
  text-decoration:none;
}

.menu_body a:hover {
  color: #000000;
  text-decoration:underline;
}