@charset "utf-8";
/* CSS Document */

@import url(fonts.css);
@import url(plugins.css);
@import url(keel.css);

/* Base Template Settings */

body											{ background: #f7f7f7; font-family: 'Source Sans Pro', arial, helvetica, sans-serif; }
#page-head hgroup, 
#page-foot section, 
div section										{ max-width: 1024px; } /* Base Width is Set Here */
.halves > .half > section                       { max-width: 512px; } /* Half Base Width */
.halves > .half > section,
[class^="box-"], [class*=" box-"]               { padding: 15px; } /* Gutter Width is set here.  Just put half the gutter width here. */
.cta, input[type=submit], button				{  }

/* Top Bar */

#topbar                                         { width: 100%; background: #000; color: #FFF; text-align: center; padding: 8px 0px; height: 35px; font-size: 14px; }
 
/* Header Settings */

#page-head										{ background: transparent; position: absolute; left: 0px; top: 0px; z-index: 5; width: 100%; }
#topbar + #page-head                            { top: 35px; }
#page-head hgroup .logo, 
#page-head hgroup .logo a	                    { width: 200px; height: 100px; background-position: left; }
#page-head hgroup #nav                          { margin-top: 50px; }
#page-head hgroup #nav #main					{  }
#page-head hgroup #nav #main a					{ color: #FFF; text-decoration: none; margin: 0px; text-transform: uppercase; font-weight: 600; margin-left: 25px; font-size: 18px; }
#page-head hgroup #nav #main .current-menu-item a, #page-head hgroup #nav #main .active a,
#page-head hgroup #nav #main a:hover            { color: #FEFEFE; opacity: 1; } /* This is the Hover/Active state for the menu item */

/* Skyline Settings */

#skyline                                        { position: relative; height: 250px; background: #193668; overflow: hidden; }
#skyline .sky                                   { position: absolute; z-index: 0; bottom: 50%; right: 50%; transform: translateX(50%) translateY(50%); -webkit-transform: translateX(50%) translateY(50%); min-width: 100%; min-height: 300px; width: auto; height: auto; overflow: hidden; display: block; background: url(../images/sky.png) center no-repeat; background-size: auto 300px; }
#skyline .city                                  { position: absolute; z-index: 0; bottom: 50%; right: 50%; transform: translateX(50%) translateY(50%); -webkit-transform: translateX(50%) translateY(50%); min-width: 100%; min-height: 300px; width: auto; height: auto; overflow: hidden; display: block; background: url(../images/city.png) left center no-repeat; background-size:  auto 300px; }

/* Roof */

#roof                                           { position: relative; width: 100%; height: 300px; background: url(../images/rooftop.png) top center no-repeat #58666e; background-size: cover; border-bottom: 50px solid #000; }
#roof .knight                                   { position: absolute; right: 0px; bottom: 30px; width: 200px; height: 800px; background: url(../images/knight.png) bottom center no-repeat; background-size: contain; z-index:1; }

/* Archive */

.news-archive                                   { min-height: 600px; }  
.news-archive:after                             { content: " "; clear: both; display: block; }
.news-archive > li                              { position: relative; }
.news-archive > li .post                        { display: block; width: 100%; padding-bottom: 75%; background-color: #333; background-position: center; background-repeat: no-repeat; background-size: cover; color: #FFF; font-family: 'Oswald'; text-decoration: none; position: relative; }
.news-archive > li .post .blog-title            { text-transform: uppercase; font-weight: 500; position: absolute; bottom: 65px; left: 25px; width: calc( 100% - 50px ); font-size: 22px; z-index: 2; }
.news-archive > li .post time                   { display: block; position: absolute; bottom: 25px; left: 25px; border-top: 2px solid #FFF; width: calc( 100% - 50px ); padding-top: 5px; z-index: 2;  }
.news-archive > li .post:after                  { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0,0,0,.25); content: " "; display: block; }

.comic-archive                                  { min-height: 600px; }  
.comic-archive:after                            { content: " "; clear: both; display: block; }
.comic-archive li a                             { display: block; background: #FFF; padding: 5px; color: #000; text-decoration: none; opacity: 1; font-size: 14px; font-weight: 700; }
.comic-archive li a figure                      { display: block; width: 100%; padding-bottom: 133.15%; background-size: cover; background-repeat: no-repeat; background-position: center; margin-bottom: 5px; }
.comic-archive li a time                        { float: right;  }

.pagination                                     { padding: 15px;  }
.pagination:after                               { clear: both; display:block; content: " "; }


/* Content Settings */

#content                                        { position: relative; z-index: 2; top: -287px; margin-bottom: -287px; padding-bottom: 50px; }       

.comic                                          { max-width: 672px; margin: auto; text-align: center; padding: 30px; background: #000; color: #FFF; }
.comic:after                                    { content: " "; clear: both; display: block; }
.comic .comic-page img                          { display: block; margin: auto; max-width: 100%; }
.comic time                                     { display: block; margin-top: 15px; margin-bottom: 15px; font-size: 18px; }
.comic-pagination                               { font-size: 0px; }
.comic-pagination .box-1-2                      { text-align: left; }
.comic-pagination .box-1-2 + .box-1-2           { text-align: right; }
.comic-pagination a                             { font-family: 'FontAwesome'; font-size: 0px; width: 40px; height: 40px; display: inline-block; color: #FFF; opacity: 1; margin: 0px 5px; text-align: center; }
.comic-pagination a:before                      { font-size: 40px; color: #FFF; }
.comic-pagination a.first,
.comic-pagination a.latest                      { width: 34px; height: 34px; color: #000; background: #FFF; border-radius: 50%; padding-top: 5px; position: relative; top: -5px; }
.comic-pagination a.prev:before                 { content: "\f0a8 " } 
.comic-pagination a.next:before                 { content: "\f0a9 " } 
.comic-pagination a.first:before                { content: "\f048 "; color: #000; font-size: 25px; }
.comic-pagination a.latest:before               { content: "\f051 "; color: #000; font-size: 25px; }
.comic-pagination:after                         { content: " "; clear: both; display: block; }
.postid-602 .comic-pagination a.first           { display: none; }

#disqus_thread                                  { max-width: 670px; margin: 50px auto; }  

main.blog                                           { max-width: 860px; margin: auto; }
main.blog .featured-pix                             { display: block; width: 100%; padding-bottom: 43%; background-position: center; background-repeat: no-repeat; background-size: cover; background-color: #000; margin-bottom: 18px; } 


.comic + main.blog                                  { margin-top: 50px; }

main.blog article                                   { font-size: 18px; max-width: 670px; margin: auto; }
main.blog h1,
main.blog h2,
main.blog h3,
main.blog h4,
main.blog h5                                        { font-family: 'Oswald'; text-transform: uppercase; font-weight: 500; line-height: 1.25; margin-bottom: 18px; }

main.blog h1                                        { font-size: 40px; }
main.blog h2                                        { font-size: 35px; }
main.blog h3                                        { font-size: 28px; }
main.blog h4                                        { font-size: 20px; }
main.blog h5                                        { font-size: 18px; }
main.blog .meta                                     { border-top: 2px solid #000; margin-top: -10px; padding-top: 5px; font-size: 14px; text-align: right; margin-bottom: 18px; }
main.blog .meta cite                                { font-weight: 700; }

main.blog article p,
main.blog article ul,
main.blog article ol                                { margin-bottom: 18px; }

main.blog blockquote                                { margin-bottom: 18px; font-size: 22px; padding-left: 15px; border-left: 4px solid #000; }

#content form                                   { width: calc( 100% + 30px ) position: relative; left: -15px; }
#content form input[type=text], #content form input[type=email],
#content form textarea                          { border: none; display: block; width: 100%; height: 40px; font-family: 'Source Sans Pro', sans-serif; font-size: 14px; padding-left: 15px; background: #e3e3e3 }
#content form textarea                          { padding-top: 10px; height: 120px; }
#content form input[type=submit]                { display: block; margin: auto; border: none; height: 40px; font-size: 14px; width: 300px; font-weight: 600; }

#content main a                                 { color: #333; text-decoration: none; } /* Main Link Style */

/* Footer Settings */

#page-foot										{ background: #000; color :#FFF; padding: 25px 0px; }
#page-foot .social			                    { display: inline-block; }
#page-foot .social a                            { width: 30px; height: 30px; font-size: 12px; border: 1px solid #FFF; padding: 8px 0px 0px 8px; } 
#page-foot .social a:hover                      { background: #FFF; color: #000; }
#page-foot cite									{ margin: 5px 0px 0px 0px; font-size: 14px; display: inline-block; }

@media handheld, only screen and (max-width: 1023px) and (min-width: 767px) { /* Set max-width as base-width minus 1 pixel */

    .comic-archive li a time                    { font-size: 10px; }
    
}

@media handheld, only screen and (max-width: 766px) {		
	
	/* Mobile Menu styles */
	
    #page-head                                  { height: 50px; }
    #page-head hgroup .logo                     { height: 50px; background-size: contain; position: relative; z-index: 3; }
    #page-head hgroup #nav						{ background: #000; top: 0px; margin-top: 0px; }
    #page-head hgroup #nav #main                { padding-top: 50px; }
	#page-head hgroup #nav #main li a		    { padding: 20px;  }	
	#page-head hgroup #nav #main li ul	        {  }
    #page-head hgroup #nav #main li ul li a     {  }
    
    #skyline                                    { height: 100px; }
    #skyline .sky                               { min-height: 200px; background-size: auto 200px; }
    #skyline .city                              { min-height: 150px; background-size: auto 150px; }
    
    #roof                                       { height: 100px; border-bottom: 5px solid #000; } 
    #roof .knight                               { display: none; }
    
    #content                                    { top: -110px; margin-bottom: -160px; }
    
    main.blog h1, main.blog h2, main.blog h3, main.blog h4, main.blog h5 { font-size: 22px; }    
    .news-archive > li .post .blog-title             { font-size: 18px; }
    .news-archive > li .post time                   { font-size: 14px; }
    
    .comic-archive li                               { padding: 5px!important; }
    
    #page-foot cite                                 { margin-bottom: 10px; }
    #page-foot cite,
    #page-foot .social                              { display: block; text-align: center; }


}
