/*-----------------------------------+
 | 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;
	margin: 0 10px 0 0;
	background: #fff;
	float: left;
	clear: both;
	width: 100%;
}

#content_services {
	position: relative;
	margin: 0 10px 0 0;
	padding: 0;
	background: #fff;
	float: left;
	clear: both;
	width: 100%;
}

#content_text {
	margin: 0;
	padding: 0;
	position: relative;
	float: left;
	clear: both;
	width: 520px;
}

#sidebar {
	position: relative;
	margin: 0;
	padding: 0;
	width: 245px;
	float: right;
}

#customer {
	float: left;
	margin: 10px 20px 10px 0;
	width: 370px;
	height: 260px;
	background: #fff;
	border-bottom: #dbdbdb 1px dotted;
}

#footer {
	width: 790px;
	padding-top: 5px;
	padding-bottom: 10px;
	position: relative;
	clear: both;
	background: transparent url(../images/redbar.jpg) repeat-x;
}

.contractvehicles {
	width: 788px;
	clear: both;
}


.contractvehicleleft {
	width: 350px;
	float: left;
}

.contractvehicleright {
	width: 350px;
	float: right;
	display: inline;
}




/* Slider
=====================================================================*/


.msg_list {
list-style: none;
margin: 0;
padding: 0;
width: 245px;
}
 
.msg_head {
height: 27px;
margin: -4px 0;
padding: 0;
cursor: pointer;
position: relative;
background: transparent url('/images/sub_sidebarbg.jpg') no-repeat;
color: #fff;
}
 
.msg_head p {
margin: 5px;
padding: 5px;
color: #fff;
}

.msg_body {
padding: 5px 10px 15px;
background-color:#3f8db2;
font-size: xx-small;
}
 
.msg_body p {
font-size: x-small;
color: #fff;
}

span.head {
position: relative;
display: inline;
margin: 10px;
font-weight: bold;
font-size: small;
top: 4px;
}


/* 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: 10px 0;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #333;
}

a {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	color: #222;
}

a:hover {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	color: #111;
}

a img {
	border: none;
}

}

span {
	display: none;
}

hr {
	border: none 0; 
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	height: 2px;
	margin: 10px 0 10px 0;
}

ul.content_list li {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #333;
	list-style: disc;
}

#customer h3 {
	font-size: small;
}

#content ul li {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #333;
}

#content h3 a {
	display: block;
	width: 250px;
	height: 50px;
	background: transparent url(/images/condo.jpg) no-repeat 0 0;
}

#content h3 a:hover {
	background-position: 0 -50px;
}

/* 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
=====================================================================*/

#sub_nav {
	/*put the subnavs below and hide them all*/
	position: relative;
	margin: 0;
	padding: 0;
	height: 21px;
	background: transparent url(../images/subnav_bg.jpg) repeat-x;
	width: 790px;
}

#sub_nav ul {
	margin: 0;
	padding: 0;
}

#sub_nav ul li {
	margin: 0 10px 0 10px;
	padding: 0;
	display: inline;
}

#sub_nav ul li a {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: x-small;
	color: #fff;
	text-decoration: none;
}

#sub_nav ul li a:hover {
	text-decoration: underline;
}

/* Header 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;
}