/*
Theme Name: N&amp;S Supply
Theme URI:
Description: N&S Supply Theme based on deFusion by webdemar.
Version: 1.0
Author: Oneiros Software, Inc.
Author URI: http://oneirossoftware.com
Tags: black, dark, white, two-columns, fixed-width, right-sidebar, threaded-comments, sticky-post
*/

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

/*	##################################
   	GENERAL
	################################## */

body {
	margin: 0px;
	padding: 0px;
	background: white url('img/back.jpg');
	background-position: 600px 0px;
	color: black;
	font: 14px/18px "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
}

a {
	color: black;
	outline: none;
	text-decoration: underline;
}

p {
	margin: 0 0 20px 0;
}

ul, ol {
	margin-bottom: 20px;
}

/*	##################################
   	BASIC LAYOUT
	################################## */

#page {
	width: 940px;
	margin: 0 auto;
	background-color: #ccb778;
	background-repeat: no-repeat;
}

.page-page {
	background-position: top left;
	background-image: url('img/background.jpg');
}

#header {
	position: relative;
	z-index: 2;
	height: 35px;
	background-image: url('img/gray-bar_940.gif');
	background-position: top center;
	background-repeat: no-repeat;
}

#content {
	z-index: 1;
	padding: 0 0 0 0;
	background: transparent;
}

#content-left {
	float: left;
	width: 400px;
	height: 625px;
}

#content-right {
	margin: 0 2px 0 0;
	float: right;
	width: 515px;
	background-image: url('img/logo.gif');
	background-position: top right;
	background-repeat: no-repeat;
}

/* Custom Home Page */

.page-homepage {
	background-position: top left;
	background-image: url('masks/homepage1.jpg');
}

.content-homepage #content-left,
.content-housepage #content-left {
	display: none;
}

.content-homepage #content-right {
	width: 700px;
	padding-top: 112px;
}

.content-housepage #content-right {
	width: 100%;
}

.content-homepage .bordered {
	padding-top: 110px;
	height: 325px;
}

.page-housepage .bordered {
	height: 700px;
}

.content-homepage p {
	font-size: 24px;
	font-weight: bold;
	color: #8b5d3b;
	line-height: 30px;
}

.content-homepage img.preload {
	display: none;
}

.content-homepage table.links {
	width: 515px;
	margin-bottom: 250px;
	font-size: 24px;
	font-weight: bold;
	line-height: 32px;
	color: white;
}

.content-homepage table.links a {
	color: white;
	text-decoration: none;
}

#footer {
	
}

/*	##################################
   	HEADINGS
	################################## */

h1, h1 {
	margin: 0 0 20px 0;
}

h3, h4, h5, h6 {
	margin: 0 0 10px 0;
}

h1#blog-title {
	position: absolute;
	bottom: 80px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	line-height: 1;
	font-size: 24px;
	font-weight: normal;
}

h1#blog-title a {
	color: #fff;
	text-decoration: none;
}

h2#blog-description {
	position: absolute;
	bottom: 60px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	font-size: 11px;
	font-weight: normal;
}

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

h3.post-title {
	margin: 37px 0 30px 0;
	line-height: 45px;
	font-size: 28px;
	font-weight: normal;
	color: white;
	letter-spacing: 2px;
	/*background-color: #ba1d16;*/
	background-image: url('img/title_gradient.jpg');
	background-repeat: repeat-y;
	width: 60%;
}

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

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

h4.sidebar-title {
	font-size: 12px;
}

/*	##################################
   	HEADER
	################################## */

#top-nav {
	position: absolute;
	top: 10px;
	right: 0px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#top-nav li {
	float: left;
	margin: 0 0 0 10px;
}

#top-nav li#rss {
	padding: 0 0 0 15px;
	background: url(img/rss-icon.gif) no-repeat left center;
}

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

/** CONTENT LEFT */

.box-left, .post, .page {
	margin: 0 0 40px 20px;
}

.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;
}

/** CONTENT RIGHT */

.bordered {
	border-right: 3px solid #ba1d16;
	padding-right: 59px;
	margin-right: 59px;
}

img.bath {
	float: right;
	margin-right: 20px;
	border: 0;
}

.box-right {
	margin: 0 20px 20px 0;
	padding: 20px;
	background: #f7f7f7 url(img/bg-box-right.gif) no-repeat left top;
}

.box-right ul {
	margin: 0 0 5px 0;
	padding: 0px;
	list-style: none;
}

.box-right li {
	margin: 0px;
	padding: 5px;
	border-bottom: 1px solid #dedede;
}

.box-right li a {
	text-decoration: none;
}

.box-right li ul {
	margin: 0 0 0 20px;
	list-style: square;
}

.box-right li li {
	border: none;
}

/*	##################################
   	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: #4a4f54;
}

.commentlist li a {
	color: #999;
}

.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 20px 0 20px;
}

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

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

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

#footer-menu {
	float: right;
	font-size: 14px;
	text-transform: uppercase;
	color: #1f1075;
	letter-spacing: 2px;
	border-bottom: 4px solid #ba1d16;
}

#footer-menu p {
	margin: 0;
}

#footer-menu a {
	color: #1f1075;
	text-decoration: none;
}

#footer-menu a:hover,
#footer-menu a:active {
	text-decoration: underline;
}

/*	##################################
   	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%;
}

.red {
	color: #ba1d16;
}

/** 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;
}

th, td {
	padding: 2px 5px;
}

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

pre {
	font-family: Courier, serif;
}

/* Contact Form Elements */
.wpcf7 input, .wpcf7 select {
	margin: 0;
}

/* Custom Menu Item */
li.page-item-9 {
	background-image: url('img/green_bar.gif');
	background-repeat: repeat-x;
}

/* Housepage Menus */
.housepage-menus {
	position: relative;
	z-index: 1;
	width: 810px;
	height: 542px;
	margin-left: 2px;
	margin-top: -28px;
	background-image: url('img/background-housepage.jpg');
}

.housepage-menus .sf-menu a,
.housepage-menus .sf-menu a:hover,
.housepage-menus .sf-menu a:visited  {
	color: #cbb677;
	font-size: 24px;
	font-weight: bold;
}

.housepage-menus .sf-menu a:hover {
	color: white;
}

.housepage-menus .sf-menu li ul li a,
.housepage-menus .sf-menu li ul li a:hover,
.housepage-menus .sf-menu li ul li a:visited  {
	color: white;
	font-size: 14px;
	font-weight: bold;
}

.housepage-menus .sf-menu a {
	background-image: none;
}

.housepage-menus .sf-menu li li a,
.housepage-menus .sf-menu li li a:hover {
	background: transparent url('img/red_75.png') repeat top left;
}

.housepage-menus .sf-menu li ul {
	border: none;
}

.housepage-caption {
	display: block;
	width: 320px;
	float: right;
	font-weight: bold;
	margin: 0 140px 0 0;
	padding: 0;
 }
 
div#overlay {
	position: absolute;
	top: 0;
	width: 940px;
	height: 600px;
	margin: 0 auto 0 auto;
	z-index: 3;
	overflow: hidden;
}

div#overlay object, div#overlay embed {
	position: absolute;
	top: 0px;
	right: 0px;
}

/* Homepage Changes */
.page-homepage #header {
	background-image: url('img/gray-bar_940_nologo.gif');
}
.page-homepage #content-right {
	background-image: none;
}


/* Per-Page Shadows */
.post-23 img,
.post-46 img {
	border: 1px solid black;
}
.post-23 img.bath,
.post-46 img.bath {
	border: none;
}

#post-9 {
	color: green;
}

#home_link {
	float: right;
	margin-top: -35px;
}
#home_link img {
	border: none;
}

.on-top
{
  z-index: 10000;
}
