/*-------------------------
	Simple reset
--------------------------*/

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Share Tech Mono', monospace, Arial; /* Changed font to a monospace hacker-style font */
    font-size: 17px;
    line-height: 1.6;
    color: #00FF00; /* Bright green text for hacker feel */
    padding: 0;
    margin: 0;
    background-color: #1a1a1a; /* Dark background */
}

section, footer, header, aside, nav {
    display: block;
}

img {
    border: 0 none;
    height: auto;
    max-width: 100%;
    outline: 0 none;
}

/*-------------------------
	Heading
--------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Share Tech Mono', monospace; /* Changed font to a monospace hacker-style font */
    line-height: 1.3;
    margin: 0.5em 0;
    color: #FF0000; /* Red headings */
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

/*-------------------------
	Layout
--------------------------*/

#outer-wrapper {
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}

#inner-wrapper {
    padding: 0 10px;
}

.container {
    padding: 0 20px;
}

#header-wrapper {
    background: #000000; /* Black header */
    position: relative;
    padding: 1em 0;
    float: left;
    width: 100%;
    color: #00FF00; /* Bright green text */
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-style: normal;
    border-bottom: 2px solid #FF0000; /* Red border */
}

#content-wrapper {
    float: left;
    width: 100%;
    padding: 3em 0;
    background-color: #1a1a1a; /* Dark background */
}

#menu, #header, #content, #footer {
    width: 800px;
    margin: 0 auto;
}

.admin #content {
    width: 980px;
    margin: 0 auto;
}

#header {
    text-align: center;
}

.hide {
    display: none;
}

/*-------------------------
	Link
--------------------------*/

a, a:visited {
    outline: none;
    color: #00FFFF; /* Cyan links for contrast */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #FF00FF; /* Magenta on hover */
}

.tab {
    width: 100%;
    margin: 1.5em 0 0 0;
    line-height: 1;
    border-bottom: 1px solid #FF0000; /* Red border */
}

.tab ul {
	padding:0;
	margin:0;
}

.tab  li {
    display: inline-block;
	margin:0;
	padding:0;
}

.tab a {
    background: #333333; /* Darker grey tab background */
    border-radius: 6px 6px 0px 0;
    color: #00FF00; /* Bright green text */
    text-align: center;
    padding: 8px 14px;
    display: inline-block;
    margin: 0 5px;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
}

/*-------------------------
	Text element
--------------------------*/

blockquote:before {
    color: #555555; /* Darker grey for quotes */
    content: "''";
    font-size: 3em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -0.4em;
}

blockquote:after {
    color: #555555; /* Darker grey for quotes */
    content: "'' ";
    font-size: 3em;
    line-height: 0.1em;
    vertical-align: -0.45em;
}

blockquote {
    font-style: italic;
    margin: 1em 0 1em 1em;
    color: #999999; /* Lighter grey for blockquote text */
}

blockquote p {
    display: inline;
}

pre {
    margin: 1em 0;
    overflow: auto;
    background: #000000; /* Black background for code blocks */
    color: #00FF00; /* Bright green text for code */
    display: block;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 14px;
    padding: 10px;
    line-height: 1.3;
    border: 1px dashed #FF0000; /* Dashed red border */
}

code {
    color: #00FF00; /* Bright green text for inline code */
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 15px;
    padding: 3px 8px;
    background: #333333; /* Darker grey for inline code background */
}

pre code {
    color: #00FF00; /* Bright green text for code in pre blocks */
    display: block;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 14px;
    padding: 0;
    line-height: 1.6;
}

.thumbnail {
    float: left;
    height: 80px;
    width: 80px;
    margin: 5px 15px 0 0;
    overflow: hidden;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 1px solid #FF0000; /* Red border for thumbnails */
}

ul, ol {
    padding-left: 30px;
    margin: 1em 0;
}

ul li, ol li {
    margin: 0.25em 0;
    color: #00FF00; /* Bright green for list items */
}

input[type=text], input[type=password] {
    padding: 4px 6px;
    font-size: 14px;
    background-color: #000000; /* Black background for input fields */
    border: 1px solid #FF0000; /* Red border */
    color: #00FF00; /* Bright green text */
}

input[type=text]:hover, input[type=password]:hover {
    background-color: #333333; /* Darker grey on hover */
    border: 1px solid #00FFFF; /* Cyan border on hover */
}

input[type=submit] {
    padding: 4px 6px;
    font-size: 14px;
    cursor: pointer;
    background-color: #FF0000; /* Red submit button */
    color: #FFFFFF; /* White text */
    border: 1px solid #990000; /* Darker red border */
}

input.text {
    width: 75%;
    padding: 5px;
    font-size: 14px;
    background-color: #000000; /* Black background */
    border: 1px solid #FF0000; /* Red border */
    color: #00FF00; /* Bright green text */
}

input.error, textarea.error {
    border: 1px solid #FF0000; /* Red border for errors */
}

textarea {
    font-size: 15px;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    line-height: 1.4;
    background-color: #000000; /* Black background */
    border: 1px solid #FF0000; /* Red border */
    padding: 2%;
    width: 96%;
    min-height: 5em;
    overflow: auto;
    color: #00FF00; /* Bright green text */
}

textarea:hover {
    border: 1px solid #00FFFF; /* Cyan border on hover */
}

.error-message {
    color: #FF0000; /* Red text for error messages */
    background: #333333; /* Dark grey background */
    padding: 10px 0;
    margin-bottom: 2em;
    border: 1px dashed #FF0000; /* Dashed red border */
}

span.required {
    color: #FF0000; /* Red for required fields */
}

span.help {
    font-size: 12px;
    font-style: italic;
    color: #999999; /* Lighter grey for help text */
}

.category {
    background-color: #333333; /* Dark grey background */
    border: 1px solid #FF0000; /* Red border */
    border-radius: 4px;
    color: #00FF00; /* Bright green text */
    display: block;
    font-size: 13px;
    margin: 20px 0;
    padding: 0 1em;
}

.tags a:after {
    content:", ";
}
.tags a:last-child:after {
    content:"";
}

/*-------------------------
	Table
--------------------------*/

table {
    font-size: 12px;
    border: none;
    width: 100%;
    color: #00FF00; /* Bright green text */
    border: 1px solid #FF0000; /* Red border */
    margin: 1em 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

table h2.title {
    margin: 5px 0;
    color: #FF0000; /* Red titles in tables */
}

th, td {
    padding: 5px 10px;
    border: none;
}

th.title {
    margin: 5px 0;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 16px;
    font-weight: normal;
    color: #FF0000; /* Red title in table header */
}

td.title {
    font-weight: normal;
    background-color: #333333; /* Darker grey background */
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    color: #00FF00; /* Bright green text */
}

th {
    background-color: #000000; /* Black background for table headers */
    border-bottom: 1px solid #FF0000; /* Red border */
    border-right: 1px solid #FF0000; /* Red border */
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 16px;
    color: #FF0000; /* Red text for table headers */
}

td {
    background-color: #1a1a1a; /* Dark background for table cells */
    border: 1px solid #FF0000; /* Red border */
    border-top: none;
    border-left: none;
    color: #00FF00; /* Bright green text */
}

table.post-list td a {
    margin: 0 5px;
    color: #00FFFF; /* Cyan links in post list */
}

/*-------------------------
	Menu
--------------------------*/

#menu-wrapper {
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    color: #00FF00; /* Bright green text */
    padding: 10px 0;
    float: left;
    width: 100%;
    border-bottom: 1px dashed #FF0000; /* Dashed red border */
}

#menu {
    font-weight: bold;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    color: #00FF00; /* Bright green text */
    font-size: 14px;
}

#menu ul {
    margin: 0;
    padding: 0;
}

#menu a {
    color: #00FF00; /* Bright green links */
}

#menu ul li {
    float: left;
    margin: 0 20px 0 0;
    list-style: none;
    padding-top: 3px;
}

#menu ul li.active > a {
    text-decoration: underline;
    color: #FF0000; /* Red for active menu item */
}

#menu ul li:last-child {
    margin: 0;
}

#menu ul li ul.subnav {
    display:none;
}

/*----------------------------
	Search form
-----------------------------*/

#search-form {
    position: relative;
    float: right;
}

.error-404 .post #search-form,
.error-404-search .post #search-form {
    float: none;
}

.search-input {
    margin: 0;
    padding: 4px 15px;
    font-size: 14px;
    border: 1px solid #FF0000 !important; /* Red border */
    background: #000000 !important; /* Black background */
    border-top-left-radius: 5px 5px;
    border-bottom-left-radius: 5px 5px;
    width: 120px;
    color: #00FF00; /* Bright green text */
}

.search-button {
    margin: 0;
    padding: 4px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF; /* White text */
    border: solid 1px #FF0000; /* Red border */
    border-right: 0px;
    background: #990000; /* Darker red button */
    background: -webkit-gradient(linear, left top, left bottom, from(#FF0000), to(#CC0000));
    background: -moz-linear-gradient(top, #FF0000, #CC0000);
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
    width: 60px;
}

.search-button:hover {
    text-decoration: none;
    background: #CC0000; /* Even darker red on hover */
    background: -webkit-gradient(linear, left top, left bottom, from(#CC0000), to(#990000));
    background: -moz-linear-gradient(top, #CC0000, #990000);
}

/* Fixes submit button height problem in Firefox */
.search-button::-moz-focus-inner {
    border: 0;
}

/*-------------------------
	Post
--------------------------*/

.post {
    border-bottom: 1px solid #333333; /* Darker grey border */
    padding: 1em 0;
    float: left;
    width: 100%;
}

.in-post .post {
    padding-bottom: 0;
}

p, ul {
    margin: 1em 0;
    color: #00FF00; /* Bright green for paragraphs and lists */
}

.breadcrumb {
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 14px;
    font-weight: normal;
    color: #999999; /* Lighter grey for breadcrumbs */
}

.date {
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 14px;
    color: #FF0000; /* Red for dates */
    font-weight: normal;
    margin: 1em 0;
}

h1.blog-title, h2.blog-title {
    font-style: normal;
    font-size: 28px;
    color: #FF0000; /* Red for blog titles */
}

h1.title-post a, h2.title-index a {
    color: #FF0000; /* Red for post titles */
    text-decoration: none;
}

h1.title-post a:hover, h2.title-index a:hover {
    color: #00FFFF; /* Cyan on hover for post titles */
}

.in-post .post {
    padding-top: 0;
    border: none;
}

.in-page .border {
    padding: 0;
    margin: 0;
    border: 0;
}

.in-page .post {
    padding-top: 0;
}

.in-front .first, .in-post .post, .in-tag .first, .in-archive .first, .in-search .first, .error-404 .post, .error-404-search .post {
    padding-top: 0;
}

.in-front .first h2.title-index {
    margin-top: 0;
}

.in-profile .bio {
    font-size: 14px;
    font-style: italic;
    padding-bottom: 1em;
    margin-bottom: 2em;
    color: #00FF00; /* Bright green for bio */
}

.post-list {
    font-size: 14px;
    color: #00FF00; /* Bright green for post list */
}

/*-------------------------
	Share box
--------------------------*/

.separator {
    font-size: 20px;
    color: #FF0000; /* Red separator */
}

.share-box {
    font-size: 14px;
    float: left;
}

.author-info {
    width: 540px;
    float: left;
}

.author-info p {
    font-style: italic;
    color: #00FF00; /* Bright green for author info */
}

.share {
    width: 140px;
    margin-right: 1em;
    float: right;
}

.share a {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0 5px;
    vertical-align: middle;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    text-indent: -9999em;
    /* You would need to update the share images to be black/red themed if possible */
    /* Example: background: url(../img/share-twitter-dark.png) left top no-repeat; */
}

.share a.twitter {
    background: url(../img/share-twitter.png) left top no-repeat; /* Placeholder, update if possible */
}

.share a.facebook {
    background: url(../img/share-facebook.png) left top no-repeat; /* Placeholder, update if possible */
}

.share a.googleplus {
    background: url(../img/share-googleplus.png) left top no-repeat; /* Placeholder, update if possible */
}

.share a:hover {
    background-position: left -26px;
}

/*-------------------------
	Comments
--------------------------*/

.comments {
    position: relative;
    display: block;
    font-size: 16px;
    float: left;
    width: 100%;
    color: #00FF00; /* Bright green for comments */
}

.border {
    border-top: 1px solid #FF0000; /* Red border */
    margin-bottom: 15px;
    margin-top: 10px;
    padding-bottom: 15px;
    width: 100%;
    float: left;
}

.border .fb-comments, .border #disqus_thread {
    padding-top: 1.2em;
}

#disqus_thread {
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    float: left;
    width: 100%;
}

/*-------------------------
	Raleted posts
--------------------------*/

.related {
    font-size: 14px;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    width: 100%;
    float: left;
    margin-bottom: 1em;
    color: #00FF00; /* Bright green for related posts */
}

.related ul {
    margin: 0;
}

/*-------------------------
	Pagination + Postnav
--------------------------*/

.postnav {
    width: 100%;
    float: left;
    padding-bottom: 1em;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 12px;
    font-weight: bold;
}

.postnav a {
    background: none repeat scroll 0 0 #333333; /* Dark grey background */
    border-radius: 3px;
    color: #00FF00; /* Bright green text */
    line-height: 1;
    text-align: center;
    border: 1px solid #FF0000; /* Red border */
}

.postnav a:hover {
    text-decoration: none;
    color: #FF0000; /* Red on hover */
    background: #000000; /* Black background on hover */
}

.postnav .newer {
    float: left;
    margin-right: 1em;
    margin-bottom: 0.1em;
    padding: 10px 15px 10px 25px;
}

.postnav .older {
    float: right;
    padding: 10px 25px 10px 15px;
}

.postnav .pagination-arrow {
    display: inline-block;
    border-radius: 3px;
    color: #00FF00 !important; /* Bright green arrows */
    text-decoration: none !important;
    text-transform: none;
    position: relative;
}

.postnav .pagination-arrow.newer:before,
.postnav .pagination-arrow.older:before {
    content: '';
    border: 5px solid #FF0000; /* Red arrows */
    border-color: transparent #FF0000 transparent transparent;
    width: 0;
    height: 0;
    position: absolute;
    left: 5px;
    top: 12px;
}

.postnav .pagination-arrow.older:before {
    left: auto;
    right: 5px;
    border-color: transparent transparent transparent #FF0000; /* Red arrows */
}

.pager {
    width: 100%;
    float: left;
    padding: 30px 0 1em 0;
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 12px;
    font-weight: bold;
}

.pager a {
    background: none repeat scroll 0 0 #333333; /* Dark grey background */
    border-radius: 3px;
    color: #00FF00; /* Bright green text */
    line-height: 1;
    padding: 10px 20px;
    text-align: center;
    border: 1px solid #FF0000; /* Red border */
}

.pager .newer {
    float: left;
}

.pager .older {
    float: right;
}

.pager a:hover {
    text-decoration: none;
    color: #FF0000; /* Red on hover */
    background: #000000; /* Black background on hover */
}

/*-------------------------
	Footer
--------------------------*/

#footer-wrapper {
    background: #000000; /* Black footer */
    position: relative;
    padding: 20px 0;
    float: left;
    width: 100%;
    color: #00FF00; /* Bright green text */
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    border-top: 2px solid #FF0000; /* Red border */
}

#footer {
    font-size: 14px;
	text-align: center;
}

#footer a {
    color: #00FFFF; /* Cyan links in footer */
    font-weight: bold;
}

#footer ul {
    margin: 0 0.5em 0 0;
}

.footer-column {
    padding-bottom: 1.5em;
    float: left;
    width: 100%;
}

.column {
    float: left;
    width: 25%;
}

.recent ul {
    padding-left: 20px;
    width: 85%;
}

.archive .toggle {
    font-family: 'Share Tech Mono', monospace; /* Hacker font */
    font-size: 16px;
    color: #FF0000; /* Red for archive toggle */
}

.social {
    float: right;
}

.social .inner {
    padding-left: 30px;
}

.tagcloud ul {
    padding: 0;
    margin: 0;
}

.tagcloud ul li {
    float: left;
    list-style: none;
    margin-right: 10px;
}

.copyright {
    font-size: 12px;
    float: left;
    width: 100%;
    padding-top: 5px;
    color: #999999; /* Lighter grey for copyright */
}

.copyright p {
    margin: 0.5em 0;
    line-height: 1.2;
}

/*----------------------------
	The 404 page
-----------------------------*/

.message {
    padding: 50px 20px 20px 20px;
    color: #00FF00; /* Bright green text */
}

.message h1 {
    font-size: 36px;
    margin-bottom: 18px;
    color: #FF0000; /* Red for 404 heading */
}

.message p {
    font-size: 13px;
}

.center {
    text-align: center;
}

.search-404 {
    position: relative;
    float: left;
    width: 100%;
    margin-bottom: 1.2em;
}

.search-404 #search-form {
    float: none;
}

/*----------------------------
	Media queries
-----------------------------*/

@media all and (max-width: 700px) {

    #menu, #header, #content, #footer {
        margin: 0 auto;
        width: 100%;
    }

    .admin #menu, .admin #header, .admin #content, .admin #footer {
        margin: 0 auto;
        width: 100%;
    }

    #menu-wrapper {
        text-align: center;
    }

    #menu ul li {
        float: none;
        display: inline-block;
    }

    #search-form {
        float: none;
        padding: 10px 0;
    }

    .author-info {
        width: 100%;
        float: left;
    }

    .share {
        width: 100%;
        margin-right: 0;
        padding-bottom: 1em;
    }

    .column {
        float: left;
        width: 100%;
    }

    .postnav .newer {
        float: left;
        margin-bottom: 1em;
    }

    .postnav .older {
        float: left;
    }

    .social .inner {
        padding-left: 0px;
    }

    pre {
        white-space: pre-wrap;
        word-wrap: break-word;
    }

}

/*----------------------------
	Video
-----------------------------*/

.video-wrapper {
    margin: 1em 0;
}

@media all and (min-width: 420px) {

    .video-wrapper {
        padding-top: 315px !important;
        position: relative;
        width: 100%;
        max-width: 420px !important;
        max-height: 315px !important;
    }

    .video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        max-width: 420px !important;
        width: 100%;
        max-height: 315px !important;
    }

}

@media all and (max-width: 420px) {

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }

    .video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

}

@media all and (max-width: 560px) {

    .featured-video, .featured-audio {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }

    .featured-video iframe, .featured-video object, .featured-video embed, .featured-audio iframe, .featured-audio object, .featured-audio embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

}

/*----------------------------
        Archive
-----------------------------*/

ul.archivegroup {
    padding: 0;
    margin: 0;
}

.archivegroup .expanded ul {
    display: block;
}

.archivegroup .collapsed ul {
    display: none;
}

.archivegroup li.expanded, .archivegroup li.collapsed {
    list-style: none;
}

#more {
    display:block;
    height:1rem;
    margin-top:-1rem;
    box-shadow: none;
    border: none;
}