/*
Theme Name: The Comics Curmudgeon
Theme URI: http://comicscurmudgeon.com/
Description: The WordPress theme that reads the comics so you don't have to
Version: 2.0
Author: Adam Norwood
Author URI: http://adamnorwood.com/
*/

/* ---- CSS RESET ---- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label {
	margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline;
} ol, ul { list-style: none; } :focus { outline: 1px; }

/* --- Now on to the Comics Curmudgeon styles ---- */

.clear:after
  { content: ".";
	 display: block;
	 height: 0;
	 clear: both;
	 visibility: hidden; }

.skip, #header-skip {
    left: -9999px;
    position: absolute;
    text-indent: -9999px;
}

body {
    color: #222;
    background: #fff;
    font: normal 62.5%/1.5 verdana,helvetica,arial,sans-serif;
}

h2, h3, h4, h5 {
	margin-bottom: 1em;
}

p {
    margin-bottom: 1em;
}

i,em {
    font-style: italic;
}

b,strong {
    font-weight: bold;
}

small {
    font-size: 75%;
}

#wrapper ul, #wrapper ul li {
    list-style: disc;
    margin: 0; padding: 0;
}

#wrapper ul {
	margin: 0 0 1.5em;
    padding-left: 1em;
}

#wrapper ul li {
	margin: 0 0 0.5em;
}

#wrapper ol {
	list-style: decimal;
	margin: 0 0 1.5em;
	padding-left: 1.5em;
}

#wrapper blockquote {
	border-left: 4px solid #ccc;
	color: #888;
	padding-left: 20px;
}

#premium-ad-banner {
    text-align: center;
    background: #202d3f;
    padding: 1.5em 0 0.75em;
    min-width: 1200px;
}

#header {
   background: #6E9BD6;
   overflow: hidden;
   min-width: 1200px;
   min-height: 240px;
   position: relative;
   width: 100%;
   box-shadow: 0 4px 8px rgba(35,80,128,0.2);
}

#header h1 {
    display: inline-block;
    width: 670px;
    float: left;
}

#header h1 a {
	background: transparent url('images/comics-curmudgeon-wordmark.png') no-repeat;
	display: block;
	margin: 1.5em 16px 0;
    text-indent: -9999px;
    width: 661px;
    height: 150px;
    position: absolute;
    bottom: 0;
}

.header-action-bar {
    color: #fff;
    padding: 1em 0;
    position: absolute;
    background: #415c7f;
    width: 100%;
    z-index: 0;
}

.header-action-bar .donate {
    display: inline;
}

.header-action-bar .donate-form {
    display: inline;
}

.donate-button {
    font-size: 1.5em;
    font-weight: bold;
    padding: 0.5em 0.75em;
    text-transform: uppercase;
    border-radius: 8px;
    background: #6988b5;
    color: #fff;
    border: 0;
    margin-right: 5px;
}

.donate-button:hover,
.donate-button:focus {
    background: #4280d9;
    cursor: pointer;
}

.header-action-bar .donate-message {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
    width: 12em;
}   

.header-action-bar .archives {
    display: inline-block;
    vertical-align: text-bottom;
}

.header-action-bar .archive-dropdown,
.header-action-bar .archives-form {
    display: inline-block;
    margin-top: -1em;
}

.header-action-bar #cat {
    max-width: 16em;
}

.header-action-bar .archive-link {
    color: #fff;
    text-decoration: none;
    background: #6988b5;
    border-radius: 3px;
    padding: 0.25em 0.5em;
    margin-top: 0.5em;
    display: inline-block;
}

.header-action-bar .archive-link:hover,
.header-action-bar .archive-link:focus {
    background: #4280d9;
}

#header-cotw {
    color: #fff;
    float: right;
    padding: 1.5em 1em 1em;
    font-size: 12px;
    width: 420px;
    border-bottom-left-radius: 20px;
    background: #415c7f;
    box-shadow: 4px 8px 8px rgba(0,0,0,0.1);
    z-index: 20;
    position: relative;
    margin-bottom: 1.5em;
}

#header-cotw h2 {
    color: #AFE9FF;
    font: normal 14px verdana,helvetica,arial,sans-serif;
    text-transform: uppercase;
    margin-bottom: 0.3333em;
}

#header-cotw a {
    color: #CFE5FF;
}

#header-cotw p {
    margin-bottom: 0;
    line-height: 1.8;
}

#sizer {
    width: 1200px;
}

#content {
    float: right;
    font: normal 16px verdana,helvetica,arial,sans-serif;
    padding: 36px 30px 50px;
    width: 810px;
}

#content select {
	margin-bottom: 1.5em;
}

/* These 'styled' classes are added by the height-correcting JavaScript, fixing the too-short sidebar glitch */
#expander.styled,
#sidebar.styled {
	background: #f0f0f0;
}

#content.styled {
	background: #fff;
}

#sidebar {
    color: #666;
    float: left;
    font-size: 12px;
    padding: 32px 15px 50px;
    text-align: center;
    width: 300px;
}

#sidebar h2 {
    color: #1c3361;
    font: normal 16px verdana,helvetica,arial;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

#sidebar div {
	margin: 0 auto 2em;
}

#sidebar div:last-child {
    border-bottom: 0;
}

#sidebar img {
    display: block;
    margin: 0 auto;
    max-width: 300px;
}

#sidebar a {
	color: #2F60BF;
}

#sidebar .navigation {
    background: #fff;
    font-size: 1.5em;
    margin-bottom: 0;
}

#sidebar .navigation a {
    text-decoration: none;
    display: inline-block;
    padding: 0.25em 0;
}

#sidebar .social-media-icons {
    margin-bottom: 4em;
}

#sidebar .ss-icon {
    display: inline-block;
    width: 1em; height: 1em;
    padding: 0.5em;
    font-size: 1.5em;
    background: #6988b5;
    color: #fff;
    color: rgba(255,255,255,0.9);
    border-radius: 8px;
    line-height: 1.2;
    margin: 0 3px;
    border: 1px solid #fff;
    box-shadow: 2px 2px 6px rgba(32,32,32,0.2);
}

#sidebar .ss-icon:hover,
#sidebar .ss-icon:focus {
    background: #4280d9;
    color: #fff;
}

/* ---- POST Styles ---- */

.post {
    line-height: 1.5;
    margin-bottom: 3em;
    padding: 0;
    position: relative;
}

.post a {
    color: #2F60BF;
}

.post h2 {
    font: normal bold 24px/1 verdana,helvetica,arial;
}

.post h2 a {
    color: #809cd4;
    text-decoration: none;
}

.post .post-edit {
	border-left: 1px solid #999;
	margin-left: 8px;
	padding-left: 8px;
}

.post-meta, .comment-policies-note {
    background: #F4F4F4;
    color: #666;
    font-size: 12px;
    margin: 3em 0 2em -8px;
    padding: 0.75em 8px;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

.post-meta .comment-link {
    border-left: 1px solid #999;
    font-weight: bold;
    margin-left: 0.5em;
    padding-left: 0.75em;
}

.post-single-ad {
    margin-bottom: 1.25em;
}

#archive-meta {
	background: #F0F0F0;
    color: #BAA98B;
    font-size: 24px;
    margin: 0 0 1em -8px;
    padding: 0.25em 8px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#archive-meta strong {
    color: #5F84B8;
}

#content .related-posts ol,
.related-posts li {
    list-style: none;
    margin: 0; padding: 0;
}

#content .related-posts ol {
    padding-top: 1.5em;
}

.related-posts h3 {
    font-weight: bold;
}

.related-posts li {
    margin-bottom: 1em;
    display: inline-block;
    width: 40%;
    margin-right: 5%;
    padding-bottom: 1.75em;
    vertical-align: top;
}

.related-posts a {
    background-color: #e4f6ff;
    padding: 1em;
    display: block;
}

.related-posts a:hover,
.related-posts a:focus {
    opacity: 0.7;
}

.related-posts li:last-child {
    margin-bottom: 0;
}

.page-navigation {
	background: #000;
	color: #bbb;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 2em;
	margin-left: -8px;
	overflow: hidden;
	padding: 0.5em 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
}

.page-navigation span {
	float: left;
	display: block;
	min-height: 1em;
	position: relative;
	width: 50%;
}

.page-navigation em {
	color: #ccc;
	font-style: normal;
    left: 0;
	position: absolute;
	top: 0;
}

.page-navigation a {
    color: #7DA7E3;
    display: block;
	text-decoration: none;
}

.page-navigation a:hover {
    color: #fff;
}

.page-navigation-left {
	float: left;
}

.page-navigation-left a {
	padding-left: 1em;
}

.page-navigation-right {
	float: right;
	text-align: right;
}

.page-navigation-right a {
	padding-left: 0; padding-right: 1.25em;
}

.page-navigation-right em {
	right: 0;
}


/* ---- COMMENTS ---- */

#comments {
    color: #888;
    margin-bottom: 3em;
	padding-top: 1em;
}

#comments h3 {
    color: #1c3361;
	font: normal bold 16px/1 verdana,helvetica,arial;
    margin-top: 1.5em;
}

#comments ol, #comments ol li {
    list-style-type: decimal;
}

#comments ol li {
    margin: 0 0 0.5em;
    padding: 0.5em 8px;
}

.alt {
   background: #f4f4f4;
}

.comment-meta cite {
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.comment-meta a {
    color: #2F60BF;
    text-decoration: none;
    font-size: 12px;
}

.comment-meta cite a {
    font-size: 16px;
}

.comment-body {
    color: #333;
    font-size: 14px;
}

#comment-form {
	margin: 0 0 3em;
}

#comment-form h3 {
    color: #1c3361;
    font-size: 16px;
    font-weight: bold;
}

#comment-form textarea, #comment-form input {
    color: #333;
    font: normal 14px/1.5 verdana,helvetica,arial,sans-serif;
}

#comment-form #comment {
    margin-left: -4px;
    padding: 0.5em 4px;
    width: 600px;
}

#comment-form label {
    color: #888;
}

#comment-form .comment-policies-note {
    margin: 0 0 0.5em -8px;
    width: 600px;
}

#comment-form #preview {
    margin-right: 8px;
}

.ad-google-wide {
    margin: 3em 0 -2em;
}

#footer {
    background: #6E9BD6;
    color: #fff;
	float: left;
    font-size: 12px;
	width: 100%;
}

#footer-menu {
	background: #4C77AF;
	border-top: 2px solid #666;
	height: 1%;
	margin: 0 auto;
	overflow: visible;
	text-align: center;
	width: 100%;
}

#footer-menu li {
	display: inline;
}

#footer-menu a {
    color: #7DA7E3;
    font: normal bold 10px/1 verdana,helvetica,arial;
    margin: 0 8px 0 0;
    padding: 0.75em 24px 0.75em 0;
    text-decoration: none;
    text-transform: uppercase;
}

#footer-menu a:hover {
	color: #fff;
}

#footer p {
	clear: both;
	margin: 1em 32px 1.5em;
}

#footer a {
	color: #CFE5FF;
}

/* ---- BlogAds Styles ---- */

#sidebar .adspot {
	background: #fff;
	padding: 4px 4px;
	width: 168px;
}

#sidebar .adspot ul, #sidebar .adspot li {
	list-style: none;
	padding: 0; margin: 0;
}

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

#advanced-archive {
	background: #f9f9f9;
	border: 1px solid #eee;
	float: left;
	margin: 0 0 2em;
    width: 32em;
	padding: 16px;
    border-radius: 8px;
}

#advanced-archive h2 {
	font-size: 16px;
}

#advanced-archive select {
	margin-bottom: 0;
}

#advanced-archive ul, #advanced-archive li,
#advanced-archive-random ul, #advanced-archive-random li {
	list-style: none !important;
	padding-left: 0;
}

#advanced-archive ul {
	margin-top: 1.5em;
}

#advanced-archive #error {
	color: red;
	display: block;
	font-size: 12px;
	font-weight: bold;
	margin: -1em 0 1em;
}

#advanced-archive #advanced-cat,
#advanced-archive #keywords {
	margin-bottom: 1.5em;
}

#advanced-archive p {
	margin-top: 1em;
}

#advanced-archive-submit {
	display: block;
	margin-top: 2em;
    float: right;
}

#advanced-archive-random {
	float: left;
	width: 200px;
    margin-left: 15px;
}

#advanced-archive-random h2 {
	color: #666;
	font-size: 16px;
}

#sidebar ul, #sidebar ul li {
   list-style: none;
   padding-left: 0;
}

#random-post {
   background: #fff;
   padding: 16px 8px 8px;
   width: 160px;
}


/* Styles to make the headers of the BlogAds ads bold */

.adspot_adhead {
   font-weight: bold;
}