/*  
Theme Name: Pacific Automation
Theme URI: www.pacificautomation.com.au
Description: Customised Theme for Pacific Automation
Version: 1.0
Author: Scott Bryant
Author URI: http://www.pacificautomation.com.au
*/
 
html{
	/*background-color:#eaeaea;*/
	background-color:#FFFFFF;
	}

/*Small reset*/
body, ul, ol, h1,h2,h3,h4,h5,h6,form,li,p{
	margin:0;
	padding:0;
}

/*Structured layout mainpage*/


body{
	color:#666;
	font-size:11.5px;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif;
	line-height:21px;
	position:relative;
		}

#top{
	width:960px;
	margin:0 auto;
	position:relative;
	}

/*****************************
1.) #head	
/****************************/	
	
	#head{
		height:90px;
		position:relative;
		}
		
			.logo, .logo a{
				display:block;
				height:83px;
				width:430px;
				position:absolute;
				left:10px;
				/*top:27px;*/
				}
				
					#top .logo a{
						top:0;
						right:0;
						text-indent:-9999px;
						outline:none;
						background:transparent url(images/palogo.gif) left top no-repeat;
						}
			.topcontact{
				position:absolute;
				right:10px;
				top:15px;
				width:250px;
				text-align:right;
				font-size:12px;
				color:#666666;
				}
			.topcontact a{
				color:#666666;
				text-decoration:none;
				}
			.topcontact a:hover{
				text-decoration:underline;
				}

				

/*****************************
1.1.) #navmenu
/****************************/		
	#navmenu{
		height:50px;
		width:955px;
		margin:0 0 0 4px;
		}

		
/*****************************
2.) #main
/****************************/		
			#main{
			position:relative;
			padding-top:15px;
			float:left;
			background:transparent url(images/bg_slice.png) left top no-repeat;
			}
			
			
/*****************************
3.) #mainpage image slider
/****************************/	

								
/*****************************
4.) breadcrumb navigation
/****************************/	
								
			
			.breadcrumb{
				color:#999999;
				font-size:11px;
				left:40px;
				position:absolute;
				bottom:-55px;
				z-index:5;
				}
				
						.breadcrumb a{
							text-decoration:none;
							color:#666666;
							}
							
						.breadcrumb a:hover{
							text-decoration:underline;
							color:#666666;
							}
/*****************************
5.) content area below slider and on subpages
/****************************/	
						
			.content_top{
				height:30px;
				padding:0 10px;
				width:940px;
				float:left;
				background:transparent url(images/bg_slice.png) left top no-repeat;
				}	
				
			#content{
				float:left;
				padding:0 10px;
				position:relative;
				width:940px;
				background:transparent url(images/bg_slice.png) repeat-y scroll center top;
				}
					
					#sidebar{
						float:left;
						padding:0 0 15px 30px;
						margin-left:20px;
						position:relative;
						width:245px;
						border-left:#CCC solid 1px;
						}
							
								
								#top #sidebar .small_box{
									padding:0 0 15px 0;
									}
/*****************************
6.) Portfolio Page (no sidebar)
/****************************/	

/*****************************
7.)pages with sidebar
/****************************/								
					
					#inner_content, .inner_content{
						float:left;
						width:570px;
						padding:0 0 15px 30px;
						position:relative;
						}
					
					#top .portfolio_inner_content{
					width:100%;
					}
						
					#inner_content .entry{
						width:570px;
						}
						
								.entry{
									clear:both;
									margin-bottom:28px;
									overflow:hidden;
									padding-bottom:20px;
									position:relative;
									border-bottom:1px solid #bbb;
									text-align:justify;
									}
									
								.entry-head{
									position:relative;
									top:-3px;
									margin-bottom:20px;
									font-size:11px;
									}
									
										
										.categories, .comments, .entry-head a, .more-link, #top .portfolio_item h3 a{
											text-decoration:none;
											padding:2px 0;
											}

											.entry-head a:hover, .more-link:hover, #top .portfolio_item h3 a:hover{
											color:#FF9900;
											text-decoration:none;
											}
											
											#top .entry-head a, .more-link{
											padding:2px 4px;	
												}
	
											
											.date{
												padding:2px 4px;
												}
									

				
					#subpage #content{
						padding:20px 10px 0;
						}
						
					#top .bg_sidebar{
						/*background:transparent url(images/bg_sidebar.png) repeat-y scroll center top;*/
						}

						
/*****************************
7.) Small Boxes and Sidebar "Widgets"
/****************************/	
				
							.small_box{
								float:left;
								padding:0 0 15px 50px;
								position:relative;
								width:260px;
								border-bottom:1px solid #DDD;
								margin-bottom:15px;
								}
						
							#top .box1{
								padding:0 0 15px 30px;
								}
							
							.small_box h3{
								margin:0 0 5px;
								}
		
								
							.small_box img{
								padding:5px 0 !important;
								padding:0;/*ie6 fix for png elemnts needs this*/
								border-top:1px solid #DDD;
								border-bottom:1px solid #DDD;

								}
								
							.widget_categories a, .widget_pages a, .widget_archive a , .widget_recent_entries a, li.recentcomments, .widget_meta a{
							padding:5px;
							display:block;
							text-decoration:none;
							width:250px; /*change if sidebarwidth changes*/
							border-bottom:1px solid #ddd;
							}
							
							
							.widget_categories a:hover, .widget_pages a:hover, .widget_archive a:hover,  .widget_recent_entries a:hover, li.recentcomments:hover, .widget_meta a:hover{
							/*background:#f5f5f5;	*/
							background:#999999;
							color:#FFF;
							}
							
							.nobg a {
							background:#FFFFFF;
							color:#666666;
							border:none;
							vertical-align: middle;
							display:inline;
							}
							
							.nobg a:hover{
							background:#FFFFFF;
							border:none;
							color:#666666;
							}
							
							.nobg img {
							border:none;
							padding:0;
							margin:0;
							}
							
							.feed {
								padding:20px;
								background: url("images/rss.gif") no-repeat 0 50%;
							} 
							
							.feedpadding{
								padding-left:20px;
							}
						
							
							/* uncomment this if you want sublevels with indents
							.small_box ul ul a{
								padding-left:25px;
								width:230px;
								}
								
							.small_box ul ul ul a{
								padding-left:45px;
								width:210px;
								}
								
							.small_box ul ul ul ul a{
								padding-left:65px;
								width:190px;
								}
							*/
							
							.widget_tag_cloud a{
								text-decoration: none;
								padding:0px 3px;
							}
							
							.widget_tag_cloud a:hover{
								text-decoration: underline;
								font-weight: bold;	
							}
							
							li.recentcomments a{
							text-decoration: none;
							}
							
				
			
			
		#footer{
			clear:both;
			padding:40px 15px;
			position:relative;
			font-size:10px;
			width:930px;
			float:left;
			background:transparent url(images/bg_slice.png) right -20px no-repeat;
			color:#888;
			}
		
				#footer a{
					color:#666;
					}
					
				.copyright{
					float:left;
					display:block;
					}
					
				.scroll-top{
					float:right;
					display:block;
					}
					
				
		

/* ---------------------- Pagination -------------------*/

.pagination{
	clear:both;
	display:block;
	float:left;
	padding:0 0 20px 0px;
	position:relative;
	z-index:3;
}
.pagination span, .pagination a{
	display:block;
	float:left;
	font-size:11px;
	line-height:13px;
	margin: 2px 2px 2px 0;
	display:block;
	padding:3px 6px;
	text-decoration:none;
	border:1px solid #333;
	color:#fff;
	background-color:#999;
}

.pagination a:hover{
	border:1px solid #333;
	color:#fff;
	background:#747474;
}

.pagination .current{
	font-size:11px;
	padding:3px 6px;
	border:1px solid #333;
	color:#fff;
	background-color:#747474;
}

/*****************************
#basic & common styles	
/****************************/

h1 a, h2 a, h3 a, h4 a, h5 a h6 a{
	color:#0099FF;
	}

a{
	color:#333;
	text-decoration:underline;
	}

a:hover{
	color:#444;
	text-decoration:none;
	}
	
a img{
	border:none;
	}
	
p{ padding: 0 0 1em 0}


ul, ol{
	list-style-position:outside;
	margin-left:20px;
	}
	
#sidebar ul, #sidebar ol{
	margin-left:0px;
	}
	
#sidebar li{
	list-style-type:none;	
		}
	

h1,h2,h3,h4,h5,h6, legend{
	font-weight:normal;
	padding-bottom:5px;
	line-height:1.4em;
	color:#0099FF;
		}
	
	h1{clear:both; font-size:32px;font-weight:bold;}
	h2{font-size:22px; clear:both;}
	h3, legend{font-size:18px; clear:both;}
	h4{font-size:16px; clear:both;}
	h5{font-size:14px; clear:both;}
	h6{font-size:13px; clear:both;}
	
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
		text-decoration:none;
		} 
		
	
		
		
	#featured h2{
		margin-bottom:8px;
		padding-bottom:8px;
		border-bottom:1px solid #ddd;
		}	
		
	#featured h2, #featured h2 a{
		/*color:#fff;*/
		color:#0099FF;
	
		}

	#inner_content h2, #inner_content h2 a, #inner_content_big h2, #inner_content_big h2 a{
		font-size:24px;
		color:#2a2773;
		font-weight:200;
				}
	blockquote p{
	padding:11px 0px;
	}
	
	blockquote{
	margin:0 0 22px 5px;
	padding:0 15px;
		}
	
.floatleft{
	float:left;
	}

.floatright{
	float:right;
	}
	
.clearboth{
	clear:both;
	}
	
.alignleft{
float:left;
margin:0px 15px 15px 0pt;
}

.alignright{
float:right;
margin:0px 0pt 15px 15px;
}

.aligncenter{
clear:both;
display:block;
margin:10px auto;
padding: 10px 0;
border-bottom:1px solid #ddd;
border-top:1px solid #ddd;
}

#top .wp-smiley{
	border:none;
	padding:0;
	}
	
.meta{
	display:block;
	position:relative;
	top:3px;
		font-size:11px;
	line-height:14px;
	min-height:14px;
	color:#a0a0a0;
	}
	
.read-more, .show-next{
	display:block;
	font-size:11px;
	font-weight:bold;
	height:41px;
	left:-2px;
	line-height:41px;
	position:relative;
	text-align:center;
	text-decoration:none;
	width:165px;
	background:transparent url(images/read_more.png) no-repeat scroll right top;
	color:#555;

	}
	
.read-more:hover, .show-next:hover{
	background:transparent url(images/read_more.png) no-repeat scroll right bottom;
	color:#666;
	}

	
#top .show-next{
	bottom:0;
	left:165px;
	position:absolute;
	}
	
.entry ul, .entry ol{
	list-style-type:disc;
	list-style-position:inside;
	margin:0;
	padding:0 0 5px 0;
	/*border-top:1px solid #ddd;*/
	}
	
#top .entry ol{
	list-style-type:decimal;
	}
	
.entry li{
	padding:3px 10px;
	/*border-bottom:1px solid #ddd;*/
	}
	
blockquote{
	font-size:13px;
	font-style:italic;
	margin:0 0 20px;
	padding:10px 20px 10px 41px;
	background:transparent url(images/quotes.png) no-repeat scroll left 6px;
	color:#555555;
	}
	
	
/*CONTACT FORM*/	

.valid .text_input, .valid .text_area{border:1px solid #70A41B;} /*#70A41B*/
.error .text_input, .error .text_area{border:1px solid #EE2A00;}
.ajax_alert .text_input, .ajax_alert .text_area{border:1px solid #ffb628;}


#searchsubmit, #send, #top #submit{
	cursor:pointer;
	border:1px solid #ababab;
	background-color:#333;
	cursor:pointer;
	color:#fff;
	}

#searchsubmit:hover, #send:hover, #top #submit:hover{
	background-color:#999;
	color:#333;
	}
	
	
#s, .text_input, .text_area{
	padding:5px;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif;
	width:200px;
	font-size:11.5px;
	}

#s, .text_input, .text_area, textarea, #commentform input{
	border:1px solid #ababab;
	color:#333;
	}

#sidebar #s{
	width:155px !important; /*ie6fix*/
	width:125px;
	}

#top #searchsubmit, #top  #send, #top  #submit{
	padding:4px 20px;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif;
	font-size:11.5px;
	}

.hidden{
	display:none;
	}
#commentform{
	padding-bottom:20px;
	}


fieldset{
border:none;
padding:0;
margin:0;
overflow:hidden;
}

fieldset label{
	padding-left:7px;
	}
.blocklabel{
	display:block;
	padding:10px 0 0 0;
}

#top .text_area{
	width:450px;
	}
	
.corner_left, .corner_right{
	position:absolute;
	top:0;
	height:5px;
	width:5px;
	z-index:6;
	left:0;
	background:transparent url(images/jquery_corners.png) no-repeat scroll top left;
		}
	
#top .corner_right{
	left:935px;
	background:transparent url(images/jquery_corners.png) no-repeat scroll top right;

		}
	
/*navigation*/

.navwrap{
	height:50px;
	left:5px;
	line-height:50px;
	padding-right:18px;
	font-weight:450;
	font-size:14px;
	z-index:6;
	background:transparent url(images/menu.png) no-repeat scroll right bottom;
	}

#top #nav{
	float:left;
	height:50px;
	line-height:50px;
	padding-left:13px;
	background:transparent url(images/menu.png) left top no-repeat;
}


#nav, #nav ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
	line-height:50px; 
	z-index:6;

}


#top #nav a{
	height:33px;
	display:block;
	padding:0 21px;
	text-decoration:none;
	text-align:center;
	line-height:28px; 
	outline:none;
	z-index:35;
	position:relative;
	float:left;
	color:#FFF;
	}

#top #nav ul a{
	line-height:33px; 
}

#top #nav li{
	float:left;
	position:relative;
	z-index:20;
	margin-top:11px;
}

#top #nav li li{
	border-left:none;
	margin-top:0;
}

#top #nav ul {
	position:absolute;
	display:none;
	width:172px;
	top:33px;
	left:-1px;
	border:1px solid #DFDFDF;
	border-top:none;

}

#top #nav li ul a{
	width:130px;
	height:auto;
	float:left;
	text-align:left;
	font-size:12px;
	padding:0 21px;
	border-bottom:1px solid #fff;
	border-top:1px solid #DFDFDF;
}

#top #nav ul ul{
	top:auto;
	border-top:none;
}	

#top #nav li ul ul {
	left:172px;
	top:0px;
}

#top #nav li:hover ul ul, #top #nav li:hover ul ul ul,#top  #nav li:hover ul ul ul ul{
  	display:none;	
}
#top #nav li:hover ul, #top #nav li li:hover ul, #top #nav li li li:hover ul, #top #nav li li li li:hover ul{
	display:block;
}

#top  #nav ul a, #top #head #nav ul li{
	background-color:#ddd;
	background-image:none;
	color:#333;
}

#top  #nav ul a:hover, #top #head #nav ul a:focus {
	background-color:#333;
	color:#DDD;
}

#top  #nav a:hover, #top #head #nav a:focus {
	color:#FF9900;
}


#top #nav .current_page_item a{
	/*color:#DDD;*/
	color:#FF9900;
}

#top #nav .current_page_parent .current_page_item a, #top #nav .current_page_item ul a{
	border-right:1px solid #f5f5f5;
	border-left:none;
	background-image:none;
	color:#333;
}

#top #nav .current_page_parent .current_page_item a:hover, #top #nav .current_page_item ul a:hover{
	border-right:1px solid #f5f5f5;
	border-left:none;
	background-image:none;
	color:#DDD;
}

