/*
Theme Name: Toolbox
Theme URI: http://wordpress.org/extend/themes/toolbox
Author: Automattic
Author URI: http://automattic.com/
Description: A semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme development.
Version: 1.4
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Structure
-------------------------------------------------------------- */

html {
 background: #503e27 url(https://assets.screwflystudios.com/bodycount/background.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
	font: 10pt 'Cabin';
	/*background-color: #ece0d1;*/
	/*background-image: url('https://assets.screwflystudios.com/zafehouse/images/background.jpg');
	background-repeat: repeat;
	background-position:center; */
	/*background-attachment:fixed;*/
}

#top {
  position: relative;
  width:1000px;
  height:64px;
  display:block;
  background-image: url('https://assets.screwflystudios.com/zafehouse/images/content_background_top.png');
  margin:0px auto 0 auto;
  z-index: 1;
}

#top_background {
 position: relative;
 width: 1000px;
 height: 352px;
 margin-left: auto;
 margin-right: auto;
 background-image: url('https://assets.screwflystudios.com/zafehouse/images/content_background.png'); background-repeat: repeat-y;
 z-index: 1;
}

#top_bottom {
  width:1000px;
  height:64px;
  display:block;
  background-image: url('https://assets.screwflystudios.com/zafehouse/images/content_background_bottom.png');
  background-position: 0px 0px;
  margin:0px auto 0 auto;
  z-index: 1;
}

#container_top {
  width:1000px;
  height:64px;
  display:block;
  background-image: url('https://assets.screwflystudios.com/zafehouse/images/content_background_top.png');
  margin:0px auto 0 auto;
  position: relative;
  z-index: 1;
}

#bottom {
  width:1000px;
  height:64px;
  display:block;
  background-image: url('https://assets.screwflystudios.com/zafehouse/images/content_background_bottom.png');
  background-position: 0px 0px;
  margin:0px auto 0 auto;
  z-index: 1;
}

a.buyme {
  display: block;
  /*background-image: url('https://assets.screwflystudios.com/zafehouse/images/buyme.png');*/
  background-image: url('https://assets.screwflystudios.com/zafehouse/images/buyme.png');
  height: 352px;
  /*width: 360px;*/
  width: 394px;
  position: absolute;
  /*top: -100px;*/
  top: -100px;
  /*left: 760px;*/
  left: 720px;  
  z-index: 1001;
  /*display: none;*/
}

a.buyme:hover {
  /*background-position: 0px -300px;
  display: none;*/
}

a.steamclick {
  display: block;
  width: 864px;
  height: 130px;
  position: absolute;
  top: 231px; 
  left: 70px;
  z-index: 1001;
}

a.steamclick:hover {
}

.gameheader {
  position: absolute;
  top: -70px;
  left: -20px;  
  z-index: 1001;
}

.bloodback {
  position: absolute;
  top: -170px;
  left: -70px;  
  z-index: -1;
}
#container {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	background-image: url('https://assets.screwflystudios.com/zafehouse/images/content_background.png'); background-repeat: repeat-y;
	/*margin-top: -18px;*/
	/*padding-top: 375px;*/
	position: relative;
	z-index: 1;
}

#page {
	width: 860px;
	display: block;
	/*margin: 1em;*/
	margin-left: auto;
	margin-right: auto;
	z-index: 1;
}

#primary {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
        z-index: 1;
}
#content {
	margin: 0 280px 0 0;
	z-index: 1;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	font: 26px 'Averia Sans Libre';
	position: relative;
	left: 8px;
	display: block;
	margin: 0px auto 0px;
	width: 971px;
	height: 50px;
}

#access a {
	float: left;
	position: relative;
	height: 63px;
	display: block;
	background-image: url('https://assets.screwflystudios.com/zafehouse/images/nav_sprites.png');
	/* with buy */
	/* margin-right: 10px;*/
	margin-right: 10px;
}

#access a:hover {	background-position: -63px; }

#access a.news { width: 114px; background-position: 0px 0px; }
#access a.news:hover { background-position: 0px -63px; }

#access a.buy { width: 72px; background-position: -114px 0px; }
#access a.buy:hover { background-position: -114px -63px; }

#access a.about { width: 120px; background-position: -186px 0px; }
#access a.about:hover {	background-position: -186px -63px; }

#access a.media { width: 112px; background-position: -306px 0px; }
#access a.media:hover {	background-position: -306px -63px; }

#access a.forums { width: 149px; background-position: -418px 0px; }
#access a.forums:hover { background-position: -418px -63px; }

#access a.contact { margin-right: 38px; width: 157px; background-position: -567px 0px; }
#access a.contact:hover { background-position: -567px -63px; }

#access a.support { margin-right: 36px; width: 161px; background-position: 0px 0px; background-image: url('https://assets.screwflystudios.com/zafehouse/images/support_sprite.png'); }
#access a.support:hover { background-position: 0px -63px; }

#access a.twitter { width: 82px; background-position: -724px 0px; }
#access a.twitter:hover { background-position: -724px -63px; }

#access a.rss { margin-right: 0px; width: 65px; background-position: -806px 0px; }
#access a.rss:hover { background-position: -806px -63px; }

/* =Content
-------------------------------------------------------------- */

.sticky {
  
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =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,
.wp-caption {
	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;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
}

h1 {
	font-family: 'Averia Sans Libre';
	font-size: 32px;
	font-weight: normal;
	margin-top: 0px;
}

h2 {
	margin-top: 0px;
}

a {
	text-decoration: none;
	color: #990000;
}

a:hover {
  text-decoration: underline;
	color: #ee0000;
}

.MailPress {
  margin-bottom: 24px;
}

.MailPress:before { content: "Sign up and be the first to hear about new updates and content."}

.MailPress input {
  font: 8pt 'Verdana'; 
  width: 198px;
  margin-top: 8px; 
  -moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #000;
	padding: 4px 4px 4px 4px;
}

.MailPress input.MailPressFormSubmit {
  width: 208px;
  background-color: #ddd;
  font-weight: bold;
}

.MailPress input:hover.MailPressFormSubmit {
  background-color: #aaa;
}

.mp-loading {
  margin-top: 8px;
}

.mp-message {
  margin-top: 8px;
}

/*
button {
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-moz-box-shadow:0px 0px 2px rgba(0,0,0,0.4);
	-webkit-box-shadow:0px 0px 2px rgba(0,0,0,0.4);

	color:rgba(0,0,0,0.9);
	text-shadow:1px 1px 0px rgba(255,255,255,0.8);
	border:1px solid rgba(0,0,0,0.5);
	
	background:-webkit-gradient(linear,0% 0%,0% 100%,from(rgba(255,255,255,1)),to(rgba(185,185,185,1)));
	background:-moz-linear-gradient(top,rgba(255,255,255,1),rgba(185,185,185,1));

	padding:5px 5px 5px 5px;
}

button:hover {
	background:rgba(240,240,240,1);
}

button:active, button:focus {
	background:-webkit-gradient(linear,0% 100%,0% 0%,from(rgba(255,255,255,1)),to(rgba(185,185,185,1)));
	background:-moz-linear-gradient(bottom,rgba(255,255,255,1),rgba(185,185,185,1));
}
*/ 