 /*
  Theme Name: Meek Comic
  Theme URI: http://www.meekcomic.com
  Description: Theme for The Meek comic site
  Version: 3.1.3
  Author: DH/LC
*/

/* STYLE SHEET COLOR REFERENCE
   ---------------------------
   dark .................. 12171c
   white ................. ffffff
   chartreuse ............ d0ff00
   salmon ................ ff7c5a
   gray .................. 657474
*/


/* CSS RESET
   --------- */
/*@import url("http://yui.yahooapis.com/3.18.1/build/cssreset/cssreset-min.css");*/
@import url("reset.css");


/* TYPOGRAPHY
   ---------- */
/* Lato: Light 300 + italic, Regular 400 + italic, Bold 700 + italic */
@import url("https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic,300,300italic");


/* MAIN
   ---- */
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  color: #12171c;
   min-height: 100%;
  /* background: #12171c url("/images/background.jpg") fixed repeat; */
  overflow: auto; /* necessary to remove white gap caused by margin-top in the first child element */
}

p {
  line-height: 21px;
  margin-bottom: 14px;
}

a {
  text-decoration: none;
  color: #ff7c5a;
}

  a:hover {
    color: #657474;
  }

em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

sub, sup {
  font-size: 80%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
 
sup {
  top: -0.3em;
}
 
sub {
  bottom: -0.3em;
}

input[type="text"],
textarea {
  /* override default inner shadow of text input box in mobile Safari */
  background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255,255,255)), to(rgb(255,255,255)));
}

/* STRUCTURE
   --------- */
#bg-wrap {
  /* workaround for buggy Android Browser handling of background-attachment: fixed */
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: url("/images/background.jpg") repeat;
  z-index: 1;
}
   
#wrapper {
  position: relative;
  margin: 0 auto;
  min-height: 100%;
  width: 968px;
  z-index: 10;
}

#header {
  height: 165px;
  background: #12171c;
}

#branding {
  height: 128px;
}

#logo {
  width: 240px;
  height: 128px;
}

#menu {
  height: 37px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 37px;
  text-transform: lowercase;
  letter-spacing: 1px;
  background: #d0ff00;
  overflow: hidden; /* to eliminate mysterious horizontal scroll bar */
}

.menu-main-container {
  float: left;
  width: 100%;
}

  .menu-main-container ul {
    float: left;
    position: relative;
    left: 50%;
  }
  
  .menu-main-container li {
    float: left;
    position: relative;
    right: 50%;
  }
  
  .menu-main-container a {
    display: block;
    padding: 0 20px;
    color: #000000;
  }
  
  .menu-main-container a:hover, .menu-main-container .current_page_item a {
    color: #ff7c5a;
    background: #ffffff;
  }
  
  /* Special styles for the SUPPORT menu item */
  .menu-item-store a {
    font-weight: 700;
  }

#footer {
  width: 848px;
  height: 35px;
  padding: 0 60px;
  background: #12171c;
  color: #657474;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 35px;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

#disclaimer {
  float: right;
}

/* PAGES
   ----- */

#container {
  background: #12171c;
}

#container .entry-container-comic {
  margin-bottom: 20px;
  width: 745px;
  min-height: 1091px;
  background: #ffffff;
  overflow: hidden;
}

#container .entry-container-comic .header {
  margin-bottom: 30px;
}

  #container .entry-container-comic .header h1 {
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 60px;
    color: #12171c;
    text-align: left;
    background: #d0ff00;
    margin: 0 -80px 0 -60px;
    padding: 0 80px 0 60px;
  }
  
  #container .entry-container-comic .header h1 a {
    color: #12171c;
  }
  
    #container .entry-container-comic .header h1 a:hover {
      color: #ff7c5a;
    }

#container .entry-container-page {
  overflow: hidden;
}

#container .entry-content-comic-wrap {
  padding: 40px 80px 40px 60px;
  width: 605px;
}

#container .entry-content-comic {
  line-height: 21px;
}

  #container .entry-content-comic .post-date-comments {
    font-weight: bold;
    margin-bottom: 14px;
  }
  
  #container .entry-content-comic .comments-link {
    font-weight: normal;
  }

#container .entry-content-page {
  background: #ffffff;
  padding: 60px;
  overflow: hidden;
}
  
  #container .entry-content-page h1 {
    /* Centered heading in the Cast page */
    text-align: center;
    font-weight: 700;
    margin: 40px 0 20px;
  }
  
  #container .entry-content-page h1:first-child {
    margin-top: 0;
  }
  
  #container .entry-content-page h2 {
    /* Questions in the FAQ */
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 14px;
  }
  
    #container .entry-content-page h2:first-child {
      margin-top: 0;
    }
  
  #container .entry-content-page hr {
    margin: 40px auto;
    border: none;
    height: 1px;
    width: 200px;
    background: #12171c;
  }

#container .entry-content-page blockquote {
  text-align: center;
  margin-bottom: 40px;
}
  
  #container .entry-content-page blockquote h3 {
    font-weight: 700;
  }
  
  #container .entry-content-page blockquote cite {
    font-style: italic;
  }


/* COMICS
   ------ */
#comic-wrap {
  margin: 0;
}
   
#comic-wrap #comic {
  background: #ffffff;
  text-align: center;
}

#comic-wrap #comic img {
  width: 756px;
  height: 1062px;
  margin-top: 16px;
}

#comic-nav-wrapper {
  height: 50px;
  width: 100%;
    background: #12171c;
    margin: 0;
    padding: 0;
}

  #comic-nav-wrapper tbody {
    float: left;
    width: 100%;
    position: relative;
  }
  
  #comic-nav-wrapper tr {
    float: left;
    position: relative;
    left: 50%;
    display: block; /* fix for IE */
  }
  
  #comic-nav-wrapper td {
    float: left;
    position: relative;
    right: 50%;
  }

.comic-nav {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 50px;
  letter-spacing: 1px;
  text-transform: lowercase;
  padding: 0 20px;
}

.comic-nav a:link,
.comic-nav a:visited {
  color: #ffffff;
}

  .comic-nav a:hover {
    color: #ff7c5a;
  }
  
  .comic-nav span {
    color: #657474;
  }

/* SIDEBAR
   ------- */
#sidebar {
  float: right;
  width: 203px;
}

.widget-container {
  overflow: hidden;
  background: #ffffff;
  width: 203px;
  margin-bottom: 20px;
}

.patreon-sidebar .patreon-icon span,
.meek-social-sidebar .social-icon span,
.meek-social-sidebar .social-icon-wide span {
    position: absolute;
    left: -9999em;
  }
  
.sidebar-patreon-icon span,
.sidebar-mare-icon span,
.two-icon-row-icon span,
.three-icon-row-icon span {
  position: absolute;
  left: -9999em;
}
  
.meek-integrated-sidebar {
}

  .meek-integrated-sidebar h1 {
    font-family: "Lato";
    font-size: 13px;
    text-align: center;
    text-transform: lowercase;
    height: 22px;
    line-height: 22px;
    background: #95a9a9;
    clear: both;
  }
  
  .meek-integrated-sidebar h1:before {
    content: '\00b7\a0';
  }
  
  .meek-integrated-sidebar h1:after {
    content: '\a0 \00b7';
  }
  
  .meek-integrated-sidebar .sidebar-patreon-icon {
    display: block;
    width: 203px;
    height: 58px;
  }
  
  .meek-integrated-sidebar #sidebar-patreon-link {
    background: url('/images/sprite_patreon.png');
  }
  
  .meek-integrated-sidebar #sidebar-patreon-link:hover {
    background-position: -203px 0 !important;
  }
  
  .meek-integrated-sidebar .sidebar-mare-icon {
    display: block;
    width: 203px;
    height: 151px;
    margin: 6px 0;
    background: url('/images/sidebar_mare.png')
  }
  
  .meek-integrated-sidebar .two-icon-row,
  .meek-integrated-sidebar .three-icon-row {
    display: block;
    width: 203px;
  }
  
  .meek-integrated-sidebar .two-icon-row-icon,
  .meek-integrated-sidebar .three-icon-row-icon {
    display: block;
    height: 43px;
    width: 43px;
    margin-top: 11px;
    margin-bottom: 11px;
    float: left;
  }
  
  .meek-integrated-sidebar #sidebar-email-link {
    background: url('/images/sprite_email.png');
    margin-left: 39px;
  }
  
  .meek-integrated-sidebar #sidebar-email-link:hover {
    background-position: -43px 0 !important;
  }
  
  .meek-integrated-sidebar #sidebar-rss-link {
    background: url('/images/sprite_rss.png');
    margin-left: 38px;
  }
  
  .meek-integrated-sidebar #sidebar-rss-link:hover {
    background-position: -43px 0 !important;
  }
  
  .meek-integrated-sidebar #sidebar-twitter-link {
    background: url('/images/sprite_twitter.png');
    margin-left: 29px;
  }
  
  .meek-integrated-sidebar #sidebar-twitter-link:hover {
    background-position: -43px 0 !important;
  }
  
  .meek-integrated-sidebar #sidebar-facebook-link {
    background: url('/images/sprite_facebook.png');
    margin-left: 8px;
  }
  
  .meek-integrated-sidebar #sidebar-facebook-link:hover {
    background-position: -43px 0 !important;
  }
  
  .meek-integrated-sidebar #sidebar-tumblr-link {
    background: url('/images/sprite_tumblr.png');
    margin-left: 8px;
  }
  
  .meek-integrated-sidebar #sidebar-tumblr-link:hover {
    background-position: -43px 0 !important;
  }
  
.patreon-sidebar {
  margin-bottom: 0;
  padding-top: 18px;
}

  .patreon-sidebar .patreon-icon {
    display: inline-block;
    width: 204px;
    height: 58px;
    vertical-align: top;
  }
  
  .patreon-sidebar #patreon-link {
    background: url('/images/sprite_patreon.png') top left no-repeat;
  }
  
  .patreon-sidebar #patreon-link:hover {
    background-position: -204px 0 !important;
  }

.meek-social-sidebar {
  margin-left: auto;
  margin-right: auto;
/*   padding-bottom: 26px; */
  height: 270px;
  text-align: center;
}

  .meek-social-sidebar .social-icon {
    display: inline-block;
    width: 43px;
    height: 43px;
    margin: 0 4px;
    vertical-align: top; /* to account for the potential extra margin
                            of the last social icon element */
  }
  
  .meek-social-sidebar .social-icon-wide {
    display: inline-block;
    width: 174px;
    height: 131px;
    margin-bottom: 20px;
    vertical-align: top;
  }
  
  .meek-social-sidebar .social-icon:first-child,
  .meek-social-sidebar .social-icon-wide:first-child {
    margin-top: 16px;
  }
  
  .meek-social-sidebar .social-icon:hover {
    background-position: -43px 0 !important;
  }
  
/*
  .meek-social-sidebar .social-icon-wide:hover {
    background-position: -174px 0 !important;
  }
*/
  
  .meek-social-sidebar #social-mare-banner-link {
    background: url('/images/mare_link.png') top left no-repeat;
  }
  
  .meek-social-sidebar #social-mare-link {
    background: url('/images/sprite_mare.png') top left no-repeat;
  }
  
  .meek-social-sidebar #social-tumblr-link {
    background: url('/images/sprite_tumblr.png') top left no-repeat;
  }
  
  .meek-social-sidebar #social-twitter-link {
    background: url('/images/sprite_twitter.png') top left no-repeat;
  }
  
  .meek-social-sidebar #social-facebook-link {
    background: url('/images/sprite_facebook.png') top left no-repeat;
  }
  
  .meek-social-sidebar #social-reddit-link {
    background: url('/images/sprite_reddit.png') top left no-repeat;
  }
  
  .meek-social-sidebar #social-rss-link {
    background: url('/images/sprite_rss.png') top left no-repeat;
  }

.spw_widget {
  width: 160px;
  height: 600px;
  margin-top: 12px;
  background: #9c01ff;
}

/* ADVERTISING: HIVEWORKS/PROJECT WONDERFUL
   ---------------------------------------- */
.hiveworks-sidebar {

}

.pw-sidebar {
  height: 674px; /* has extra height to account for ad text at bottom */
}

.sidebar-ad {
  display: block;
  width: 160px;
  height: 600px;
  margin: 16px auto !important;
  overflow: hidden;
  background: #95a9a9;
}

.leaderboard-ad {
  display: block;
  height: 90px;
  width: 728px;
  overflow: hidden;
  margin: 16px 0 22px 0 !important;
  background: #95a9a9;
  float: right;
}

#ibar {
  /* jump bar */
  display: block;
  height: 52px;
  width: 700px;
  margin: 20px auto -20px;
  background: #12171c;
  overflow: hidden;
}

#pixiestrip {
  display: block;
  height: 50px;
  margin-top: 1px;
}

.hiveworks-footer,
.pw-footer {
  height: 90px;
  background: #ffffff;
  padding: 13px 20px 13px 0;
  clear: both;
}

.footer-ad {
  display: block;
  height: 90px;
  width: 728px;
  overflow: hidden;
  background: #95a9a9;
}

.hiveworks-logo,
.pw-thanks {
  float: right;
}
  
/* COMMENTS
   -------- */
#comments {
  background: #ffffff;
  padding: 40px 80px 40px 60px;
    width: 605px;
    border-top: 20px solid #12171c;
}

#comments .comments-title {
  font-weight: bold;
  margin-bottom: 20px;
}

#comments h3 {
  font-weight: 700;
  margin-bottom: 14px;
}

.comment + .comment {
  margin-top: 20px;
}

.bypostauthor > .comment-content {
  border: 1px solid #ff7c5a;
}

#comments-list {
  padding: 0;
}

  #comments-list .children {
    margin: 20px 0 0 20px;
  }

#respond {
  margin-top: 20px;
  padding: 20px;
  background: #d0ff00;
}

  #respond:first-child {
    margin-top: 0;
  }
  
  #respond + .comment {
    margin-top: 20px;
  }

  #comments-list #respond {
    width: inherit;
    padding: 15px;
    margin-left: 20px;
    border: 5px solid #12171c;
  }

.comment-content {
  border: 1px solid #657474;
  padding: 10px 12px;
}

.comment-author {
  font-weight: bold;
}

  .comment-author a {
    color: #12171c;
  }
  
  .comment-author a:after {
    content: ' \00bb';
  }
  
  .comment-author a:hover {
    color: #ff7c5a;
  }

.comment-meta-data {
  font-size: 11px;
  line-height: 18px;
}

  .comment-meta-data .separator {
    color: #657474;
  }

.comment-text {
  border-top: 1px solid #657474;
  clear: both;
  margin-top: 8px;
  padding-top: 9px;
  overflow: hidden;
}

.comment-notes,
.form-allowed-tags,
.logged-in-as {
  font-size: 11px;
  font-style: italic;
  line-height: 16px;
  letter-spacing: 0.5px;
}

#respond .comment-reply-title small {
  display: block;
  float: right;
  line-height: 18px;
}

#respond label[for="author"],
#respond label[for="email"],
#respond label[for="url"] {
  float: left;
  width: 70px;
}

#respond input[type="text"],
#respond textarea {
  border: 1px solid #657474;
  box-sizing: border-box;
  padding-left: 6px;
  padding-right: 6px
}

#respond input[type="text"] {
  width: 495px;
}

  #comments-list #respond input[type="text"] {
    width: 475px;
  }
  
  #comments-list .children #respond input[type="text"] {
    width: 455px;
  }
  
  #comments-list .children .children #respond input[type="text"] {
    width: 435px;
  }
  
  #comments-list .children .children .children #respond input[type="text"] {
    width: 415px;
  }
  
  #comments-list .children .children .children .children #respond input[type="text"] {
    width: 395px;
  }

#respond label[for="comment"] {
  display: block;
  line-height: 28px;
}

.comment-form-comment textarea {
  width: 100%;
  padding-top: 4px;
  padding-bottom: 4px;
}


/* CAST PAGE
   --------- */
.castrow {
  overflow: hidden;
  margin-bottom: 30px;
}

  .castrow img {
    float: left;
    margin-right: 20px;
    border: 2px solid #12171c;
  }

  .castrow h4 {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 14px;
  }

.supportingcastrow {
  float: left;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 30px;
}

  .supportingcastrow:last-child {
    margin-bottom: 0;
  }

  .supportingcastrow_inner {
    float: left;
    position: relative;
    left: 50%;
  }
  
  .supportingcastrow_inner div {
    float: left;
    position: relative;
    right: 50%;
    margin: 0 20px;
  }
  
  .supportingcastrow_inner img {
    border: 2px solid #12171c;
  }
  
  .supportingcastrow_inner p.wp-caption-text {
    text-align: center !important;
    font-weight: 700;
}

.castrow a:hover img,
.supportingcastrow a:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

/* LINKS PAGE
   ---------- */
.entry-content-page ul {
  text-align: center;
}

  .entry-content-page ul li {
    display: inline;
  }
  
  .entry-content-page ul li:after {
    content: " \00b7";
  }
  
  .entry-content-page ul li:last-child:after {
    content: none;
  }


/* ARCHIVE PAGE
   ------------ */
.comic-archive-chapter-wrap {
  line-height: 30px;
}

  .comic-archive-chapter-wrap + .comic-archive-chapter-wrap {
    margin-top: 60px;
  }

.comic-archive-chapter-heading {
  font-size: 30px;
}
  
.comic-archive-chapter {
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1px;
  margin-right: 1px;
}

.comic-archive-chapter-description {
  margin-left: 3px;
  letter-spacing: 0.5px;
}
   
.comic-archive-list-wrap {
  margin-top: 20px;
}

.comic-list {
  display: inline-block;
  margin: 0 40px 10px 0;
}

.comic-archive-thumb img {
  border: 1px solid #657474;
}

.comic-archive-thumb a:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

/* PATREON AD CAMPAIGN
   ------------------- */
.ig_action_bar.ig_hello.ig_container {
  background-color: transparent !important;
}

.ig_action_bar.ig_hello.ig_container.ig_bottom {
  box-shadow: none !important;
}

.ig_action_bar {
  height: 45px;
}

.ig_action_bar.ig_hello .ig_message {
  margin-right: 0 !important;
}

.ig_action_bar .ig_data {
  padding: 0 !important;
  line-height: 30px;
}
   
.ig_action_bar.ig_hello.ig_container.ig_bottom {
  border-top: none !important;
}

.ig_action_bar.ig_hello .ig_content {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
}

.ig_action_bar .ig_content {
  background-color: #ff7900;
  margin-top: 15px;
  padding: 0 !important;
}


.ig_action_bar.ig_hello .ig_content p {
  padding-left: 50px;
  line-height: 30px !important;
  color: #344652;
}

  .ig_action_bar.ig_hello .ig_content p a {
    color: #fff1e5;
  }
  
  .ig_action_bar.ig_hello .ig_content p a:hover {
    color: #ffffff;
  }

.ig_action_bar .ig_message {
  line-height: 20px !important;
  font-size: inherit !important;
  padding: 0 !important;
}

.ig_action_bar .ig_message:before {
  content: url('/images/patreon_banner_logo.svg');
  position: absolute;
  display: block;
  bottom: 0;
}

.ig_action_bar .ig_close {
  width: 30px !important;
  height: 30px !important;
}

.ig_action_bar.ig_hello.ig_hide.ig_bottom .ig_close {
  margin-bottom: 0 !important;
}

.ig_action_bar.ig_hello.ig_hide .ig_close {
  border-style: none !important;
  background-color: #ff7900 !important;
}

.ig_action_bar.ig_hello .ig_arrow_block.ig_border {
  border: none !important;
  background-color: #ff7900 !important;
}


/* OTHER RESETS
   ------------ */
.clear {
  clear: both;
}
   
p:last-child,
#container .entry-content h1:last-child,
p.form-submit {
  margin-bottom: 0;
}

.avatar,
.comic-archive-date {
  display: none;
}