/*
Theme Name: X-INfERNO.com Theme
Author: Thomas Renck
Author URI: http://thomasrenck.com
Description: Custom Theme for X-INfERNO.com
Version: 0.9
License: All rights reserved

*/

/* =Structure
-------------------------------------------------------------- */


html, body {
    margin: 0;
    padding: 0;
    font-family: Consolas, "Monaco", "Courier New", monospace;
    font-size: 12px;
    line-height: 135%;
    background-color: #2a2a2a;
}
a {
    text-decoration: none;
    color: #EA491C;
}
a:hover {
    text-decoration: underline;
}

.clear { display: block; clear: both; }

.content_wrapper, #access .menu-main-menu-container {
    width: 960px;
    margin: 0 auto;
/*    background-color: rgba(0,0,0,0.2);*/
}

#page {
    display: block; 
    margin: 0;
    padding: 0;
    background-color: #fff;
}
#primary {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 275px 0 0;
}
#main {
    padding-bottom: 50px;
    background-image: url('/images/page_bottom.png');
    background-position: bottom center;
    background-repeat: no-repeat;
}
#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,
.section-heading {
  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;
}
#nav-above { display: none !important; }


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
#crumbs {
    height: 60px;
    background-image: url("/images/page_top.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    font-size: 120%;
    line-height: 130%;
}
#breadcrumbs {
    margin: 0; padding: 0;
}
#breadcrumbs a {
    color: #999;
}


/* =Menu
-------------------------------------------------------------- */

#branding {
    margin: 0 auto 0;
    width: 100%;
}

#access {
    font-size: 15px;
    width: 100%;
    height: 37px;
    border-top: 1px solid #b34040;
    border-bottom: 1px solid #D30000;
    display: block;
    background: #980000; /* Old browsers */
    background: -moz-linear-gradient(top, #980000 0%, #7e0000 68%, #b70000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#980000), color-stop(68%,#7e0000), color-stop(100%,#b70000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #980000 0%,#7e0000 68%,#b70000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #980000 0%,#7e0000 68%,#b70000 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #980000 0%,#7e0000 68%,#b70000 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#980000', endColorstr='#b70000',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #980000 0%,#7e0000 68%,#b70000 100%); /* W3C */
}
#access ul {
	list-style: none;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 1.7em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	/*background: #dedede;*/
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {

}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}

#access .menu-main-menu-container { 
    height: 37px;
}

.menu-main-menu-container {
    color: #fff;
}
.menu-main-menu-container ul {
    float: right;
    margin-top: 5px;
}

.menu-main-menu-container ul li {
    margin-left: 5px;
}
.menu-main-menu-container a {
    color: #fff;
    border-radius: 7px;
    border: 1px solid #be3535;
    background: #a92f2f; /* Old browsers */
    background: -moz-linear-gradient(top, #a92f2f 0%, #981720 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a92f2f), color-stop(100%,#981720)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #a92f2f 0%,#981720 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #a92f2f 0%,#981720 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #a92f2f 0%,#981720 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a92f2f', endColorstr='#981720',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #a92f2f 0%,#981720 100%); /* W3C */
}
.menu-main-menu-container a:hover, .menu-main-menu-container a:active {
    color: #333;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 24%, #d6e1ed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(24%,#ffffff), color-stop(100%,#d6e1ed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 24%,#d6e1ed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#ffffff 24%,#d6e1ed 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#ffffff 24%,#d6e1ed 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d6e1ed',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #ffffff 0%,#ffffff 24%,#d6e1ed 100%); /* W3C */
}

#showcase {
    width: 100%;
    height: 195px;
    background-image: url(/images/showcase_top.png), url(/images/showcase_middle.png), url(/images/showcase_bottom.png), url(/images/showcase_bg.png);
    background-position: 50% 100%, 40% 100%, 20% 0, 0 0;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat-x; 
}
#showcase_content {
    height:100%;
}

#site_logo {
    position: relative;
    top: 14px;
    left: -7px;
}

ul.sub-menu {
    margin: 0;
    margin-top: -2px;
}
ul.sub-menu li a {
    background-color: #980000;
    border-radius: 0;
}

/* =Content
-------------------------------------------------------------- */

.entry-title {
    margin: 5px 0 0 0;
    font-size: 220%;
}
.entry-title a {
    color: #EA491C;
    text-decoration: none;
    font-size: 100%;
    font-weight: normal;
    line-height: 140%;
}
.entry-title a:hover {
    background-color: #666666;
    color: #FFFFFF;
}
.entry-meta {
    clear: both;
    display: block;
    font-size: 90%;
}
div.entry-meta a {
    color: inherit;
}
.post {
    margin-bottom: 16px;
    padding-bottom: 25px;
    background: url('/images/post_sep.png') center bottom no-repeat;
}

#comments {
    display: none;
}
.like_button {
    display: inline; position: relative; top: 3px; left:3px
}

#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 {
	margin: 0 0 1em;
}

/* 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;
}

/* Aside Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin-right: 1em;
}

/* =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;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}

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;
	margin-bottom: 40px;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search {
	float: left;
	background: linear-gradient(to bottom, #FFFFFF 0%, #EEEEEE 100%) repeat scroll 0 0 transparent;
    border: 1px solid #EEEEEE;
    margin-bottom: 20px;
    padding: 10px;
}
.widget_search input[type=submit]{
	display: none;
}
.widget_search #searchform input[type="text"] {
    padding: 7px 5px;
    width: 185px;
}
:-moz-placeholder {
    color: #CCCCCC;
    font-weight: bold;
}
#ad_widget { 
	margin-left: 10px;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
    width: 100%;
    height: 100px;
    background-color: #2a2a2a;;
}
#footer_showcase {
    background-image: url('/images/footer_top.png'), url('/images/footer_bottom.png');
    background-position: center top, 30% top;
    background-repeat: repeat-x;
    width: 100%;
    height: 75px;
    border-bottom: 5px solid #1a1a1a;
}
#footer_content {
    height: 100%;
    background: url('/images/footer_bg.png') center top no-repeat;
    text-align: center;
    padding-top:20px;
}

/* =Legacy formatting
----------------------------------------------------------------*/

span.attention, span.notice, span.alert, span.download, div.approved, span.media, span.note, span.cart, span.camera, span.doc {
    display: block;
    margin: 15px 0;
    padding: 8px 10px 8px 36px;
}
span.attention {
    background: url("/images/typo/attention.png") no-repeat scroll 10px 50% #FFF3A3;
    border: 1px solid #E7BD72;
    color: #B79000;
}
span.notice {
    background: url("/images/typo/notice.png") no-repeat scroll 10px 50% #CDEFA6;
    border: 1px solid #9BCC54;
    color: #648434;
}
span.alert {
    background: url("/images/typo/alert.png") no-repeat scroll 10px 50% #FFD5D5;
    border: 1px solid #FFACAD;
    color: #CF3738;
}
span.download {
    background: url("/images/typo/download.png") no-repeat scroll 10px 50% #A8CDE3;
    border: 1px solid #6ABCE2;
    color: #1C6B8B;
}
div.approved {
    background: url("/images/typo/approved.png") no-repeat scroll 10px 50% #CCCCCC;
    border: 1px solid #A8A8A8;
    color: #666666;
}
span.media {
    background: url("/images/typo/media.png") no-repeat scroll 10px 50% #FFE0B6;
    border: 1px solid #FFBB65;
    color: #C76E34;
}
span.note {
    background: url("/images/typo/note.png") no-repeat scroll 10px 50% #FFF3A3;
    border: 1px solid #E7BD72;
    color: #B79000;
}
span.cart {
    background: url("/images/typo/cart.png") no-repeat scroll 10px 50% #E6E6E6;
    border: 1px solid #C5C5C5;
    color: #666666;
}
span.camera {
    background: url("/images/typo/camera.png") no-repeat scroll 10px 50% #E6E6E6;
    border: 1px solid #C5C5C5;
    color: #666666;
}
span.doc {
    background: url("/images/typo/doc.png") no-repeat scroll 10px 50% #FFE0B6;
    border: 1px solid #FFBB65;
    color: #C76E34;
}

.entry-content p {
    font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.entry-content h2 {
    font-size: 23px;
}
