/*
Theme Name: Affinity Welding
Description: Affinity Website
Version: 1
Author: Nick Zinger
Author URI: http://zingerdesign.com
*/

/*
	- GENERAL
	- BASIC LAYOUT
	- HEADINGS
	- HEADER
	- CONTENT
		+ CONTENT LEFT
		+ CONTENT RIGHT
	- COMMENTS
	- SEARCHFORM
	- FOOTER
	- WORDPRESS CSS
	- USEFUL

/*	##################################
   	RESET
	################################## */
	
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
fieldset,input,p,blockquote,th,td {
margin:0; padding:0;
}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;font-weight:normal;
}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:”;}

/*	##################################
   	BASIC LAYOUT
	################################## */
	
html, body{ 
	margin:0px; 
	padding:0px; 
	text-align:center;
	background-image:url(images/bodyBg.jpg);
	background-position: center top;
	background-repeat:no-repeat;
	background-color:#000;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#000000;
} 
#page{ 
	width:976px; 
	text-align:left;
	margin-left:auto;
	margin-right:auto;
} 
#header{
	position:relative; 
	height:160px;
	width:976px; 
}
#logo {
	width:325px;
	height:160px;
	display:inline;
	float:left;
}
#number {
	width:223px;
	height:68px;
	float:right;
	margin: 36px 15px 0px 0px;
}
#number img  {
	margin-bottom:15px;
}
#navBar {
	width:640px; 
	height:18px;
	float:right;
}
#wrapper{
	width:946px; 
	float:right; 
	position:relative;
	margin-top:15px;
	background-image:url(images/wrapperBg.gif);
	background-repeat:no-repeat;
	background-color:#fdfdfd;
	padding:15px;
}
#leftcol{
	width:235px; 
	float:left; 
	position:relative;
	margin-right:15px;
 }
#maincol{
	float: left;
	display:inline;
	position: relative; 
	width:696px; 
}
#rightcol{
	width:200px; 
	float:right;
	position:relative;
}

#footer{
	height:50px;
	clear:both;
	padding:15px;
	color:#09F;
	text-align:center;
} 

 /* *** Float Hacks *** */ 
.clearfix:after {
 content: "."; 
 display: block; 
height: 0; 
 clear: both; 
 visibility: hidden;
 }
.clearfix{display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */  
-->


/*	##################################
   	HEADINGS
	################################## */
	
	
h2.category-title {
	margin: 0 20px 20px 20px;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #dedede;
	font-size: 14px;
}

h3.post-title {
	font-size:36px;
	font-family: "Futura", Arial, Helvetica, sans-serif;
	margin-bottom:15px;
	letter-spacing:-1px;
	font-variant:small-caps;
	font-weight:100;
	color:#3a6878;
}

h3.post-title a {
	text-decoration: none;
}

h3.post-title a:hover {
	text-decoration:none;
}

h4.sidebar-title {
	color:#3a6878;
	font-size:18px;
	font-family:Arial, Helvetica, sans-serif;
	border-bottom:#3a6878 1px solid;
	letter-spacing:-1px;
	margin-bottom:15px;
	font-variant:small-caps;
}
h4.sidebar-title a {
	text-decoration:none;
}

/*	##################################
   	HEADER
	################################## */
/*<!--MAIN NAV-->*/


#nav li a:hover {
	color:#72bbd0;
}

#footerNav {
	margin-bottom:15px;
}

#footerNav li {
	display:inline;
	font-size:10px;
}
#footerNav li a:hover {
	color:#FFF;
}

/*	##################################
   	CONTENT
	################################## */

p {
	line-height:1.5em;
	color:#3e3e3e;
	margin-bottom:15px;
}

h1 {
	font-size:36px;
	font-family: "Futura", Arial, Helvetica, sans-serif;
	margin-bottom:15px;
	letter-spacing:-1px;
	font-variant:small-caps;
	font-weight:100;
	color:#3a6878;
}
h2 {
	color:#3a6878;
	font-size:18px;
	font-family:Arial, Helvetica, sans-serif;
	border-bottom:#3a6878 1px solid;
	letter-spacing:-1px;
	margin-bottom:15px;
	font-variant:small-caps;
}
h3 {
	font-size:14px;
	font-variant:small-caps;
	color:#000;
	letter-spacing:3px;
	margin-bottom:15px;
}


strong {
	font-weight:bold;
}
em {
	font-style:italic;
}

#maincol ul {
	list-style:inside;
	margin:15px;
}
#maincol ol {
	list-style:inside;
	list-style-type:decimal;
	margin:15px;
}
#leftcol img {
	margin-bottom:15px;
}
#leftcol ul {
	margin-bottom:15px;
}
#footer p {
	color:#09F;
	font-size:10px;
}
hr {
	color:#3a6878;
	margin-bottom:15px;
}
a {
	color:#09F;
}
a:hover {
	color:#000;
}


.sticky {
	padding: 20px;
	border: 1px dotted #ccc;
}

.meta {
	clear: both;
	padding: 10px;
	background: #fff url(img/bg-meta.gif) repeat-x left top;
	color: #5e5e5e;
}

.meta-date {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-date.gif) no-repeat 0px 2px;
}

.meta-categories {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-categories.gif) no-repeat 0px 2px;
}

.meta-comments {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-comments.gif) no-repeat 0px 2px;
}

p.tags {
	clear: both;
}
.slideshow {
	margin-bottom:15px;
}




/*	##################################
   	COMMENTS
	################################## */
	
#commentform label {
	display: block;
	margin: 0 0 5px 0;
}

#commentform input.text, #commentform textarea {
	width: 90%;
	margin: 0 0 10px 0;
}

#commentform .text {
	height: 22px;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
}

#commentform textarea {
	height: 150px;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
}

#commentform .button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: #6e7073;
	border: none;
	color: #fff;
}

.commentlist .comment {
	height: auto;
	margin: 20px 0 0 0;
	color: #fff;
}

.commentlist .quote {
	padding: 20px 20px 0 20px;
	background: #4a4f54 url(img/bg-comment-quote.gif) no-repeat right top;
}

.avatar {
	float: right;
	margin: 0 0 10px 20px;
}

.commentlist .cite {
	display: block;
	padding: 20px 0 0 0;
	color: #6e7073;
	background: #fff url(img/bg-comment-bubble.gif) no-repeat left top;
	font-style: normal;
}

/** COMMENTS IN WP 2.7 */

.commentlist li {
	margin: 0px;
	padding: 20px 0 20px 20px;
	list-style: none;
	background: #CCC;
}

.commentlist li a {
	color: #000;
}

.commentlist li .avatar {
	margin: 0 20px 10px 20px;
}

.commentlist li p {
	margin: 0 20px 20px 0;
}

.commentlist .comment-meta {
	margin: 0 0 20px 0;
}

.commentlist .comment-author a {
	font-weight: bold;
}

.commentlist ul.children {
	margin: 0px;
	padding: 0px;
}

.commentlist .children li {
	border: 1px solid #6e7073;
	border-right: none;
}

#cancel-comment-reply {
	margin: 10px 0;
}

.commentlist li.depth-2, .commentlist li.depth-4 {
	background: #5a5a60;
}

/*	##################################
   	SEARCHFORM
	################################## */
	
#searchform #search {
	float: left;
	width: 146px;
	height: 22px;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
}

#searchform .button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 10px;
	background: #4a4f54;
	border: none;
	color: #fff;
}

/*	##################################
   	FOOTER
	################################## */

#footer {
	width: 900px;
	margin: 0 auto;
	padding: 20px 0;
}

#footer p {
	margin: 0 0 10px 0;
}

#legal {
	float: left;
	width: 400px;
}

#webdemar {
	float: right;
	width: 400px;
	text-align: right;
}

/*	##################################
   	WORDPRESS CSS
	################################## */

.aligncenter,
div.aligncenter {
   	display: block;
   	margin: 0 auto;
}

.aligncenter {
	margin-bottom: 20px!important;
}

.alignleft {
   	float: left;
   	margin: 0 20px 20px 0;
}

.alignright {
   	float: right;
   	margin: 0 0 20px 20px;
}

.wp-caption {
	margin-bottom: 20px;
	padding-top: 4px;
   	border: 1px solid #ccc;
   	text-align: center;
   	background-color: #f7f7f7;
}

.wp-caption img {
   	float: none;
   	margin: 0px;
   	padding: 0px;
   	border: none;
}

.wp-caption p.wp-caption-text {
   	padding: 0px;
  	margin: 0px;
}

/** WIDGETS CSS */

#calendar_wrap table {
	width: 100%;
}

#calendar_wrap td {
	text-align: center;
}

#wp-calendar caption {
	margin: 0 0 10px 0;
	background: #dedede;
}

/*	##################################
   	USEFUL
	################################## */
	
.clear {
	clear: both;
}

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/** CSS BASIC ELEMENTS */

hr {
	clear: both;
	height: 1px;
	margin: 20px 0;
	background: #dedede;
	border: none;
}

blockquote {
	margin: 0 0 0 10px;
	padding: 0 0 0 10px;
	border-left: 5px solid #f7f7f7;
}

fieldset {
	margin: 0 0 20px 0;
	padding: 0 20px 20px 20px;
	background: #f7f7f7;
	border: none;
}

legend {
	font-size: 14px;
	font-weight: bold;
}

input, textarea {
	width: 90%;
	height: 22px;
	margin: 0 0 20px 0;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
	font-size: 11px;
}

textarea {
	width: 90%;
	height: 100px;
}

select {
	width: auto;
	margin: 0 0 20px 0;
	padding: 6px;
	background: #fff;
	border: 1px solid #dadada;
	color: #5e5e5e;
	font-size: 11px;
}

input.radio, input.checkbox {
	width: auto;
	height: auto;
	margin: 0px;
	background: #fff;
}

input.password {
	width: auto;
}

input.button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: #6e7073;
	border: none;
	color: #fff;
}

table {
	width: 100%;
	margin: 0 0 20px 0;
	border: 1px solid #dadada;
	border-bottom: none;
	border-right: none;
}

th, td {
	padding: 2px 5px;
	border-bottom: 1px solid #dadada;
	border-right: 1px solid #dadada;
}

th {
	background: #6e7073;
	color: #fff;
	border: none;
}

pre {
	font-family: Courier, serif;
}