/*
Theme Name: NightSkyLine
Theme URI: https://github.com/mikemcquaid/NightSkyLine
Description: A clean, readable theme with mobile support.
Version: 1.2.5
Author: Mike McQuaid
Author URI: http://mikemcquaid.com/
Copyright: Mike McQuaid
Email: mike@mikemcquaid.com
License: MIT License
License URI: http://en.wikipedia.org/wiki/MIT_License
Tags: black, white, dark, one-column, flexible-width, custom-header, custom-menu, microformats, sticky-post, threaded-comments
*/
html, body {
  font: 1.1em Georgia, serif;
  line-height: 150%;
  padding: 0;
  margin: 0;
  text-align: left;
  background-color: #111111;
  color: #eeeeee;
}
@media print {
  html, body {
    background-color: white;
    color: black;
  }
}
@media only screen and (max-device-width: 480px) {
  html, body {
    font-size: 1.0em;
    line-height: 125%;
  }
}

a:link, a:visited {
  color: inherit;
}
@media print {
  a {
    text-decoration: none;
  }
}

#header {
  min-width: 29em;
  background-color: black;
}

#title {
  text-shadow: 0 0 3px black;
  font-weight: bold;
}

#title, #menu {
  text-align: center;
}

h1 {
  font-size: 2.5em;
}
@media only screen and (max-device-width: 480px) {
  h1 {
    font-size: 1.6em;
    padding-top: 0.25em;
  }
}

h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, #menu a:link, #menu a:visited, .post_date a:link, .post_date a:visited, .comment-meta a:link, .comment-meta a:visited {
  text-decoration: none;
}
h1 a:hover, h2 a:hover, #menu a:hover, .post_date a:hover, .comment-meta a:hover {
  text-decoration: underline;
}

#title h1, #description {
  padding: 0.5em 0 0;
  margin: 0;
}

#title h1 {
  font-size: 48px;
}
@media only screen and (max-device-width: 480px) {
  #title h1 {
    padding-top: 5px;
    font-size: 24px;
  }
}

#description {
  font-size: 28px;
}
@media only screen and (max-device-width: 480px) {
  #description {
    font-size: 16px;
  }
}

#menu {
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: none;
  text-transform: lowercase;
  border-bottom: solid black 1px;
  background: -moz-linear-gradient(center bottom, #111111 70%, black 100%);
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0.7, #111111), color-stop(1, black));
  background: -khtml-gradient(linear, left bottom, left top, color-stop(0.7, #111111), color-stop(1, black));
  background: gradient(linear, left bottom, left top, color-stop(0.7, #111111), color-stop(1, black));
  padding: 0.5em 0 0.25em 0;
}
#menu li {
  display: inline-block;
  position: relative;
}
@media only screen and (max-device-width: 480px) {
  #menu li {
    position: inherit;
  }
}
#menu li ul {
  text-align: left;
  display: none;
  position: absolute;
  z-index: 1;
  background-color: black;
  box-shadow: 0 0.2em 0.2em 0.2em black;
}
@media only screen and (max-device-width: 480px) {
  #menu li ul {
    display: inline;
    position: inherit;
    background-color: inherit;
    box-shadow: 0 0;
  }
}
#menu li ul a, #menu li:hover ul {
  display: block;
}
@media only screen and (max-device-width: 480px) {
  #menu li ul a, #menu li:hover ul {
    display: inline;
  }
}
#menu a {
  padding: 0 0.5em;
  width: 100%;
}
@media only screen and (max-device-width: 480px) {
  #menu a {
    font-size: 0.9em;
    padding: 0 0.7em;
  }
}

#main {
  background-color: #fcfcfc;
  color: black;
  border-bottom: solid black 1px;
}

#main, #footer {
  padding: 0 1em;
  min-width: 27em;
}

@media only screen and (max-device-width: 480px) {
  #header, #main, #footer {
    min-width: 12em;
  }
}

#content, #sidebar {
  margin: 0 auto;
  min-width: 25em;
  max-width: 35em;
  word-wrap: break-word;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
@media only screen and (max-device-width: 480px) {
  #content, #sidebar {
    min-width: 10em;
  }
}

.type-post, .type-page, #posts_title, #page_nav {
  padding-bottom: 2em;
}

#content_outer p {
  text-align: justify;
}

.post_category, .post_tags, .comments_link, .more-link {
  margin: 0;
  font-weight: bold;
}

h2 {
  font-weight: bold;
  font-size: 1.8em;
  line-height: 110%;
  margin: 0;
  padding: 0.5em 0 0 0;
}
@media only screen and (max-device-width: 480px) {
  h2 {
    font-size: 1.4em;
  }
}

.post_date {
  font-style: normal;
  font-variant: normal;
  font-size: 1.2em;
  margin: 0.2em 0;
}
@media only screen and (max-device-width: 480px) {
  .post_date {
    font-size: 1.1em;
  }
}

img {
  text-decoration: none;
  border: none;
}

#content img, td img {
  max-width: 100%;
  height: auto;
}

#content embed, #content object {
  max-width: 100%;
}

h3 {
  font-size: 1.4em;
  margin: 1.5em 0 -0.5em 0;
}
@media only screen and (max-device-width: 480px) {
  h3 {
    font-size: 1.2em;
  }
}

h4 {
  font-size: 1.2em;
  margin: 1.5em 0 -0.8em 0;
}
@media only screen and (max-device-width: 480px) {
  h4 {
    font-size: 1.0em;
  }
}

#content img, td img {
  padding: 4px;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

.type-post img {
  display: block;
  margin-bottom: 4px;
}

.wp-caption {
  max-width: 100%;
}

#content .wp-smiley {
  border: none;
  display: inline;
}

table caption {
  font-weight: bold;
  font-size: 1.1em;
  text-align: left;
}

table, thead, tr, td, th {
  border: none;
  border-collapse: collapse;
}

tbody td {
  text-align: center;
  padding: 0 0.2em;
}

th, tfoot {
  font-weight: bold;
  border: 1px black none;
}

#sidebar th, #sidebar tfoot {
  border-color: #eeeeee;
}

th {
  text-align: center;
  border-bottom-style: solid;
}

tfoot {
  border-top-style: solid;
}

.noborder, .noborders img {
  border: none !important;
}

.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  text-align: left;
  margin-left: 0.5em;
  float: left;
}

.alignright {
  text-align: right;
  margin-right: 0.5em;
  float: right;
}

.wp-caption-text {
  text-align: center;
  margin: 0 4px;
}

blockquote:before {
  display: block;
  font-size: 5em;
  content: '\201C';
  height: 0;
  margin: 0.5em 0 -0.3em -0.45em;
}
@media only screen and (max-device-width: 480px) {
  blockquote {
    margin-right: 0;
  }
}

#comments {
  padding-bottom: 0.5em;
}

.comment, .pingback, .trackback {
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 0.5em 1em;
  margin: 1em 0;
  background-color: #fcfcfc;
  color: black;
  word-wrap: break-word;
}
@media only screen and (max-device-width: 480px) {
  .comment, .pingback, .trackback {
    padding: 0.5em;
  }
}

#comments_list > div.bypostauthor,
#comments_list .parent > div.bypostauthor {
  background: #111111;
  color: #eeeeee;
}

.comment-author .avatar {
  float: right;
  clear: right;
  margin: 0.5em 0 0.5em 0.5em;
  border: 1px solid #cccccc;
}
.comment-author cite {
  font-style: normal;
}

#commentform label, #commentform .required {
  font-weight: bold;
}
#commentform textarea {
  width: 35em;
}
#commentform #author, #commentform #email, #commentform #url {
  margin-right: 2em;
  float: left;
}

.comment-form-comment label, .widget_search label, .form-allowed-tags {
  display: none;
}

#footer {
  background-color: #111111;
}

#leftbar {
  width: 60%;
  float: left;
}

#rightbar {
  width: 40%;
  float: right;
}

.linkcattitle {
  display: none;
}

.sidebartext {
  font-size: 0.8em;
  padding-right: 1em;
}

#sidebar h2 {
  font-size: 1.2em;
  margin: 0.5em 0 0 0;
}

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

#sidebar li, #menu li {
  list-style: none;
}

.clearboth {
  clear: both;
}

.gallery-icon img {
  margin: 0 auto;
}

.sticky, .gallery-caption {
  /* Needed by Wordpress theme review but doesn't need to do anything! */
}

@media print {
  body {
    margin: 0 12pt;
    font-size: 12pt;
  }

  h1, h2, h3, h4 {
    page-break-inside: avoid;
    page-break-after: avoid;
  }

  p {
    page-break-inside: avoid;
  }

  .pagebreak {
    page-break-before: always;
  }

  #header, #footer, #page_nav, .post_category, .post_tags,
  .comments_link, object, .more-link {
    display: none;
  }

  #content {
    padding: 0;
    margin: 0;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
}
@media only screen and (max-device-width: 480px) {
  #leftbar, #rightbar, #commentform textarea {
    width: 100%;
    float: none;
  }

  #commentform input {
    width: 15em;
  }

  #page_nav a {
    padding-bottom: 0.5em;
    display: inline-block;
  }
}
