/* 
	Theme Name: AutomatomaniA
	Theme URI: http://www.automatomania.com
	Description: A one and two columns  theme.
	Author: Tony Boyce
	Author URI: http://www.ikodesigns.com
	Version: 1.0
		*/
@import "styles/addons.css";
@import "styles/print.css";	
@import "styles/dddropdownpanel.css";

img {border: none;}	
.ngg-gallery-thumbnail-box img{float: left;}		

/****this stlye makes sure that the window fills the screen from top to bottom*******/		
html, body{height: 100%;}
#container{min-height: 100%;}
/*** hack for IE6***/
* html #container{height: 100%;}

table{border-collapse: collapse;}

 p{
	text-align: justify;
	padding-bottom: 8px;
	font-size: 1.1em;
	margin: 0;
}
.intro {
	margin-top: 12px;
	padding: 0;
}

body {
	color: #fcd583;
	margin: 0;
	padding:0;
	background-color: #008294;
	font: 74% "Times New Roman", Times, serif;
}
#container {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 795px;
	border-left: 6px solid #d3d19c;
	border-right: 6px solid #d3d19c;
	background-color: #820000;
}

/* menu at top */
#topmenu {
	background: #000;
	font-size: 1.2em;
	margin: 0 auto;
	padding: 8px 0 6px;
	width: 795px;
	}
#topmenu li {
	display: inline;
	}
		
#topmenu ul {
	margin: 0 0 0 75px;
	padding: 0;
	display: inline;
}
		
#topmenu a {
	color: #008294;
	font-weight: bold;
	margin: 0;
	padding: 6px 14px;
	background-color: #000;
}

#topmenu .current_page_item a,#topmenu .current-cat a,li#current a{
	background: #820000;
	color: #fff;
}		

#topmenu a:hover {
	background: #8EBAFD;
	color: #fff;
}
	
/***** Header *****/
#header {
	margin: 0;
	padding: 0;
	height: 155px;
	width: 795px;
	position: relative;
}

#header h1 {
	 margin: 0 auto; padding-top: 125px; width: 784px;background-image: url(images/heading2.jpg); background-repeat: no-repeat;  overflow: hidden; /* WIN IE5 hack */ height: 130px; voice-family: "\"}\""; voice-family:inherit; height: 0;
}
/* places subtitle below header */
#container #subtitle {
display:none;
	width: 220px;
	height: 40px;
	position: absolute;
	top: 100px;
	left: 290px;
	margin: 0;
	padding: 0;
}
#subtitle a img{
	border:none;
	margin: 0;
	padding: 0;
}

/* css for Single Column template*/
#single_column {
	position: relative;
	float: none;
	padding: 0;
	width: 650px;
	clear: none;
	margin: 0 auto;
	font-size: 1.2em;
}

#single_column img{
	padding: 0;
	border: 4px solid #ffffcc;
	display: block;
	margin: 20px auto;
}

#wall{
	border: solid 4px #fff;
	margin-top: 15px;}
	
/* content */
			
#content {
	float: right;
	margin: 0;
	padding: 0 70px 0 0;
	width: 490px;
	clear: none;
}

#content h2{
	font-size: 1.4em;
	font-variant: small-caps;
	padding: 0;
	margin: 5px 0 0;
}
		

/***page navigation - next and previous*****/		
#navigation {
	width: 100%;
	float: left;
	margin-bottom: 20px;
	clear:both;
}
#navigation .alignright {
	float: right;
	width: 25%;
}
#navigation .alignright a{
	display: block;
	padding: 0 15px 0 0;
	text-align: right;
	background: url(images/pointer.gif) no-repeat right center;
}
#navigation .alignleft {
	float: left;
	width: 25%;
}
#navigation .alignleft a{
	display: block;
	padding: 0 0 0 15px;
	background: url(images/pointer_left.gif) no-repeat left center;
}

/* Sidebar */

#sidebar {
	float: left;
	font-size: 1.0em;
	line-height: 1.5em;
	margin-top: 10px;
	padding: 0;
	width: 215px;
	}
	

#sidebar h3 {
	color: #DA9B4F;
	margin: 0;
	font-size: 1em;
	padding: 0 0 0 50px;
}
		
#sidebar ul {
	margin: 0;
	float: left;
	padding: 5px 0 5px 60px;
}
		
#sidebar li, #sidebar li:hover {
	margin: 0;
	background: url(
	images/pointer.gif) no-repeat left 6px;
	padding: 0 0 0 12px;
}
		
#sidebar a {
		color: #DA9B4F;
	font-size: 1.1em;
}
		
#sidebar a:hover {
	font-weight: bold;
		}
		
/* Sidebar-home */
#sidebar.home ul{margin: 0;
	float: left;
	padding: 0 0 0 60px;
}

#sidebar.home li {
	margin: 0 0 4px;
	float: left;
	background: none 0px;
	padding: 4px;
	border: 1px solid #fcd583;
}
#sidebar.home li:hover{
	background-color: #990000;
}		
#sidebar.home a {
	font-size: 1em;
	line-height: 1em;
}
		
#sidebar.home a:hover {
	font-weight: normal;
		}
		
#sidebar.home p { 
	margin: 0 0 8px;
	padding: 0;
	line-height: 1.1em;
	text-align: justify;
}


/* footer at bottom of page*/

#credits {	
	padding: 10px 0;
	width: 100%;
	margin-top: 30px;
	clear: both;
}

#credits a {
	color: #fcd583;
		}
		
#credits p {
	color: #DA9B4F;
	text-align: center;
	margin: 0 auto;
	width: 660px;	
	height: 30px;
	font-size: .9em;
	font-variant: small-caps;
	background: url(images/credit.jpg) no-repeat left top;
	display: block;
	padding-top: 7px;
	line-height: 1.6em;
}
		
#credits p:first-letter {
	font: 1.4em/.4em Georgia, "Times New Roman", Times, serif;
}

/**images in tables********/
table {
	border-collapse: collapse;
	border-spacing: 0}

tabel td {
	width: 50%}

table tr td p{
	margin: 0;
	padding: 0;
	}

table td img {
	display: block;
	border: solid 5px #d3d19c;
	margin:0 auto;}

/* Images align general */
img.aligncenter {
	display: block; 
	margin: auto;   
	border: none!important;
	}

img.alignright {
	float: right;
	padding: 0;
	margin: 5px 0 5px 8px;
	border: 5px solid #d3d19c;
	}

img.alignleft {
	float: left;
	padding: 0;
	margin: 0 0 10px 0!important;
	border: 5px solid #d3d19c;
	}
/* Images align for homepage sidebar */
#sidebar.home img.aligncenter {
	display: block; 
	margin: 4px auto!important;   
	border: 1px solid #000;
	}

#sidebar.home img.alignright {
	float: right;
	padding: 0;
	margin: 4px 0 0 4px!important;
	border: 1px solid #000;
	}

#sidebar.home img.alignleft {
	float: left;
	padding: 0;
	margin: 4px 0!important;
	border: 1px solid #000;
	}	

/* the styles below this format the pictures on the "About" page */
img.homepage {
	float: left;
	padding: 0;
	margin: 0 0 10px 0!important;
	border: 5px solid #d3d19c;
	}

#left_box{
	float: left;
	clear: left;
	width: 310px;
	text-align: justify;
	margin: 0;
	padding: 0;
}
#right_box{
	float: right;
	clear: right;
	width: 315px;
	text-align: justify;
	padding: 0;
	margin: 0;
}

/*****styles for links page************/
.links {
	width: 70%;
	margin: 30px auto;
}
.links ul {
	padding: 0!important;
	margin: 0!important;
	list-style: none;
}
.links li {
	margin: 0 0 25px 0;
	padding: 0;
	height: 15px;
	background: url(images/tick.jpg) no-repeat left center;
}
.links li a{
	padding: 0 0 0 22px;
	letter-spacing: .3em;
	font-weight: bold;
}
.links li a:hover {
	color: #6EB9E0;	
}

/**positions the text on the contact page****/
.address{
	width: 60%;
	margin: 30px auto;
}