/*  
Theme Name: David A. Footer
Theme URI: 
Description: 
Author: T.H. Creations, Inc.
Author URI: http://www.thcreations.com

	David A. Footer

*/

html, body {
  font-size:100%;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  padding: 0;
  margin:0;
  text-align:center;
}

#wrapper {
  width:100%;
  max-width:1000px;
  width:expression(document.body.clientWidth > 900? "1000px": "100%" );
  margin:0 auto;
}

#header {
  border-top:1px solid #FFF;

}

#header h1 span {
  font-weight:normal;
  color:#333;
  font-size:.8em;
}

#copy {
  text-align:left;
}

#home #copy {
  text-align:center;
}

/* MISC */   

div.clearer {
  clear: both; 
  line-height: 0px; 
  height: 0px;
  overflow:hidden;
}

a:link {
  color:#0000CC;
}

a:visited {
  
}

a:hover {
  text-decoration:none;
}

p {
  margin:0 0 15px 0;
  line-height:1.4em;
  font-size:.8em;
}

ul {
  font-size:.9em;
}

ul li {
  padding:2px 0;
}

ul#home_nav {
  list-style-type:none;
  font-size:1.4em;
  font-style:italic;
  padding:0;
  margin:0;
}

ul#home_nav li {
  padding:7px 0;
}

ul#home_nav li ul {
  display:none;
}

ul#home_nav li a:link {
  color:#000;
}

ul#home_nav li a:visited {
  color:#666;
}
#sidebar {
	float: left;
	margin-bottom: 30px;
}
ul#nav li ul {
  display:none;
}

ul#nav, ul#cat_list {
  list-style-type:none;
  font-size:1em;
  padding:0;
  margin:0;
  font-weight:bold;
  text-align:center;
}

ul#nav li, ul#cat_list li {
  display:inline;
  padding:0 10px;
  line-height:1.6em;
}

h4 {
  margin:12px auto;
  background-color:#ffff00;
  width:550px;
  padding:5px;
  font-size:.8em;
  font-weight:normal;
  text-align:center;
}

.special {
  margin:12px auto;
  background-color:#ffff00;
  width:550px;
  padding:5px 5px 1px 5px ;
}

.special p {
  padding:0;
  margin:0 0 5px 0;
}

.topper {
  float:left;
  width:50%;
  text-align:center;
  margin-bottom:25px;
}

.topper strong {
  display:block;
  padding-top:3px;
  font-size:1.1em;
}

.post {
  padding:0 20px;
}

.post h1, .post h2 {
  text-align:center;
}

.post img {
  margin:10px 10px 20px 10px;
}

.post img.prod {
  margin:10px 10px 20px 10px;
  padding:7px;
  border:1px solid #CCC;
}

img.left {
  margin:0 20px 10px 0;
}

img.right {
  margin:0 0 10px 10px;
}

.float_left {
  float:left;
}

.float_right {
  float:right;
}

table.catalog {
  font-size:.8em;
  border:1px solid #f0f0f0;
  margin-bottom:15px;
  text-align:center;
}

table.catalog tr.alt {
  background-color:#f0f0f0;
}

table.catalog a img {
  padding:3px;
  border:1px solid #CCC; 
  margin:0; 
}

table.catalog h3 {
  padding:0;
  font-size:1.4em;
  font-weight:normal;
  text-align:left;
  margin:0 0 4px 0;
}

table.sub_table td {
  padding:2px 3px 2px 0;
  font-size:.9em;
}

table.catalog td.order_num {
  background-color:#FFFF66;
  border-top:1px solid #F0F0F0;
  border-bottom:1px solid #F0F0F0;
  font-size:1.4em;
  font-weight:bold;
}

table.specs {
  font-size:.8em;
  padding:10px;
  margin:0 13px 0 0;
  border:1px dashed #CCC;
}

.prod_wrap {
  width:680px;
  margin:0 auto;
}

.prod_table {
  width:260px;
  float:left;
}

.prod_content {
  width:420px;
  float:left;
}

.prod_content h2 {
  text-align:left;
  margin:0 0 12px 0;
  font-size:1.3em
}

ul.post_list {
  font-size:1em;
}

#searchform {
  margin:18px 10px 0 0;
  float:right;
}

ul.resultset {
  text-align:left;
  margin:0 50px;
}

/* FOOTER */

#footer {
  margin:10px;
}

*html #footer {
  padding-top:10px;
}

#footer p {
  font-size:.7em;
  padding:8px 12px;
  margin:0;
}
/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
	
}
.wp-smiley {
	margin: 0;
}

.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}
