/*-----------------------------------+
 | Site: Tai Pedro & Associates      |
 | Part: Master stylesheet           |
 +-----------------------------------*/

/* Divs
=====================================================================*/

body {
	margin: 0px;
	background: #A8A7A7 url(../images/gradient_large.gif) repeat-x top;
}

#whitecontainer {
	margin: 0 auto;
	width: 820px;
	background: #ffffff;
	border:1px solid #E6E6E6;
}

#container {
	margin: 0 auto;
	width: 790px;
}

#header {
	position: relative;
	height: 125px;
	background: #ffffff;
}

#header #logo {
	position: absolute;
	background: transparent url(../images/logo-taipedro2.gif) no-repeat;
	width: 642px;
	height: 125px;
}

#header #logo2 { /*used on USAID pages*/
	position: absolute;
	background: transparent url(../images/logo-usaid-header.gif) no-repeat;
	width: 642px;
	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: red;
	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, #content_services{ min-height:500px;}

#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 0 5px 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;
	border-top:5px solid #BD0039;
}



.contractvehicles {
	width: 788px;
	clear: both;
}


.contractvehicleleft {
	width: 350px;
	float: left;
}

.contractvehicleright {
	width: 350px;
	float: right;
	display: inline;
}
/*end*/



/* Slider
=====================================================================*/

/*ONLY*/

.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;
color:#003366;
}
.msg_head:hover {
	background: transparent url('/images/sub_sidebarbg.jpg') 0 27px; no-repeat;
}

.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;
}

/*added*/
h1{ 
	font-size:21px; 
	color:#003366;
}


p, li {
	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;
}



#logo 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;
}

.alt_content{display:none;}

/* Main Navigation
=====================================================================*/

#main_nav {
	position:relative; 
	background:url(../images/nav_bg.jpg) no-repeat; 
	height:35px; width:790px; 
	font-size:11px; font-family:Arial, Helvetica, sans-serif; font-weight:bold;  
	text-align:center; 
	margin:0 auto;
}
#main_nav ul { 
	list-style:none; 
	position:absolute; 
	left:0;
	z-index:100; 
	padding:5px 5px 0 5px; 
	margin:0; 
	width:770px; 
}
#main_nav li {
	display:inline;
}

#main_nav a, #main_nav a:active, #main_nav a:visited {
	text-decoration:none; 
	color:#FFF; 	
}
#main_nav ul li a{ padding:0 10px; border-left: 1px solid #ffffff; } 
#main_nav li.first a{ border-left:none;}

#main_nav a:hover { 
	color:#ebf0e6;
}
#slide {
	position:absolute; 
	bottom:9px; height:4px; 
	background:#B80039; 
	z-index:10
}

/*Sub Navigation*/

#sub_nav{}
#sub_nav ul{list-style:none; text-align:center; margin:0; padding:3px 0 5px 0; margin-bottom:20px; background-color:#F7F7F7; }
#sub_nav li{display:inline;}
#sub_nav a{border-left:1px solid black; padding:0 10px; color:#003366; text-decoration:none;}
#sub_nav a:hover{text-decoration:underline;}
#sub_nav li.first a{border:none;}

/* Header Navigation
=====================================================================*/

#header_nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header_nav ul li {
	margin: 3px 0 0 0;
	float: left;
}

#header_nav ul li a {
	margin: 0;
	display: block;
	height: 16px; 
	font-family: Helvetica, Arial, Verdana;
	font-size: x-small;
	font-size: 11px; font-weight:bold;
	color:#4D4D4D;
	text-decoration: none;
	border-left: 1px solid red;
	padding: 0 20px; 
}

#header_nav ul li.first a{ border:none;}

#header_nav ul li a:hover {
	color: #666;
	text-decoration: underline;
}


 /*Footer nav
 =============================================*/
 #footer-outer p, #footer-outer a { color:#FFFFFF;}
 #footer-outer{width:820px; margin:0 auto; padding-top:20px;}
 
 #footer-outer ul{ padding:0; margin:0; list-style-type:none; display:block; height: 30px; text-align:center;}
 #footer-outer ul li{display:inline;}
 #footer-outer ul li a{ border-left: 1px solid #ffffff; padding:0 10px; text-decoration:none;  font-weight:bold; text-decoration:none; font-family:Arial, Helvetica, sans-serif; font-size:11px;}
 #footer-outer ul li.first a{border:none;}
 #footer-outer a{padding:0; margin:0; text-indent:0;}
 #footer-outer a:hover{text-decoration:underline;}
 
 #footer-outer  ul#contactinfo li{ color:#ffffff !important; border-left:1px solid #ffffff; padding:0 5px; margin:0; }
 #footer-outer  ul#contactinfo li.first{border-left:none}
 

/* 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;
}

/* Project page
==========================================================================*/
#project-page .applynow{ display:block; margin:0 auto; padding:0 0 20px 0; }


/* Calendar page
=========================================================================*/
#calendar-page #logo span{ display:none;}
#calendar-page #content_head{ position:relative;}
#calendar-page #content_text{ width:790px; }
#calendar-page h1{font-size: 22px; color:color:#0E466B; text-align:center; font-family:"Times New Roman", Times, serif;}
#calendar-page h2{ font-size:21px; color:#0E466B; margin-bottom:2px;}
#calendar-page th, #calendar-page td, #calendar-page table{padding:4px; border: 1px solid #ffffff;}
#calendar-page table{ border-collapse: collapse; border-top:10px solid #B80039;}
#calendar-page th{ width:20%; font-size:14px; }
#calendar-page td{ font-size:12px; background-color:#E6E6E6;}
#calendar-page .questions td{ font-size:9px; padding:0; text-align:center;}
#calendar-page .highlight, #calendar-page .highlight td{background-color:#0E466B; color: #ffffff; }
#calendar-page .calendar_section{ padding: 20px 0;}
#calendar-page #button-assistance{text-align:center; padding-top:10px;}
#calendar-page #usaid_button{position: absolute;}
#calendar-page #chat_button{position:absolute; right:0;}

#calendar-page td h5{ padding:2px 0; margin:0; font-size:12px; font-family:Arial, Helvetica, sans-serif;}
#calendar-page td div{  padding:0 0 10px 0; margin:0; font-size:11px; font-family:Arial, Helvetica, sans-serif; }

/*Afghan Assistence page
===============================================================================*/
#afghan-page #content_head{ position:relative; padding-bottom:5px; border-bottom:5px solid #BD0039;}
#afghan-page h1{font-size: 22px; color:color:#0E466B; text-align:center; font-family:"Times New Roman", Times, serif;  }



/*CushyCMS classes
==========================================================================*/
.cushycms-wysiwyg strong{color:#ff0000;}
