/*
	Theme Name: BAND Theme
	Theme URI: http://www.bandcomic.com
	Description: BAND Wordpress Theme
	Version: 1.2.0
	Author: Nathan St. Pierre (nathan@nathanstpierre.com)
	Author URI: http://nathanstpierre.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#eee;
  background:#222 url(img/dark_leather.jpg);
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#8888ff;
	text-decoration:none;
  transition:color .1s linear;
}
a:hover {
	color:#6dcdff;
  transition:color .2s linear;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1,h2,h3,h4,h5,h6 {
  font-family:"DigitalStrip";
  font-weight:bold;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
  width:100%;
}
/* header */
.header {
  background:#000;
	box-shadow:0 10px 200px #8888ff;
  transition:box-shadow .1s linear;
  width:100%;
  font-family:'DigitalStrip','sans-serif';
}
/* logo */
.logo {
  margin-top:5px;
  display:inline-block;
}
.nav .logo a {
  display:block;
  width:251px;
  height:120px;
  background:url(img/band_logo_120px.jpg) no-repeat;
  position:relative;
  z-index:90;
}
.logo span {
  text-align:right;
  display:block;
  width:100%;
  font-size:14px;
  padding-right:12px;
}

/* nav */
.nav {
  max-width:1024px;
  margin:0 auto 15px auto;
  position:relative;
  color:#fff;
}
.nav a {
  color:#fff;
  display:block;
  font-weight:normal;
  font-size:22px;
  width:100%;
  height:100%;
  text-shadow:0px 0px 20px #000;
}
.nav li:hover, .nav li.current_page_item {
  transform:scale(1.1,1.1);
  filter:sepia(100%);
  -webkit-filter:sepia(100%);
  -moz-filter:sepia(100%);
  transition:transform .3s linear,top .3s linear,filter .3s linear,-webkit-filter .3s linear;
  top:10px;
}
.nav .menu {
  display:inline-block;
  position:absolute;
  width:80%;
  top:0;
  right:0;
  text-align:right;
}
.nav ul {
  list-style:none;
  padding:0;
  margin:0;
}
.nav li {
  display:inline-block;
  text-align:center;
  position:relative;
  top:0;
  width:140px;
  height:170px;
  background:url(img/nav_sprite.png) 0 100% no-repeat;
  position:relative;
  z-index:30;
  margin:0 20px;
  transform:scale(1,1);
  transition:transform .1s linear, top .1s linear, filter .1s linear,-webkit-filter .1s linear;
}

/* hard-coded for now, we'll look into this soon */
.nav li.page-item-2 {
}
.nav li.page-item-5 {
  background-position:-140px 100%;
}
.nav li.page-item-7 {
  background-position:-280px 100%;
}
/* hero */
.hero {
  height:400px;
  max-width:1024px;
  margin:0 auto;
  background:url(img/hero.jpg) no-repeat;
  background-position:50% 0;
  transition:background-position .05s linear;
  box-shadow:0 0 10px #000;
  position:relative;
  z-index:15;
}

.hero .social {
  position:absolute;
  width:100%;
  height:60px;
  bottom:0;
  left:0;
  text-align:right;
}

.hero .social span {
  width:50px;
  height:50px;
  background:url(img/sm_sprite.jpg) no-repeat;
  display:inline-block;;
  margin:5px;
  box-shadow:0 0 10px #000;
  transition:transform .1s linear;
}

.hero .social span.twitter {
  background-position:-100px 0;
}

.hero .social span.email {
  background-position:-250px 0;
}

.hero .social span:hover {
  transform:scale(1.2,1.2);
  transition:transform .2s linear;
}

.hero .social a {
  display:block;
  width:100%;
  height:100%;
}

/* main */
main {
  max-width:1024px;
  position:relative;
  margin:0 auto;
}
/* sidebar */
.sidebar {
  position:fixed;
  display:none;
  top:200px;
  left:0px;
}
/* footer */
.footer {
  width:100%;
  text-align:center;
  background:#000;
  color:#fff;
  margin:0;
  padding:10px 0;
  
}


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

.comment-respond label {
  display:inline-block;
  width:100px;
}

.comment-respond input, .comment-respond textarea {
  border:solid 1px #555;
  width:250px;
}

.form-allowed-tags {
  width:400px;
  color:#888;
}

.comment-author img {
  float:left;
}

.comments {
  border-top:1px solid #BBB;
  margin-top:20px;
}

.comments ul {
  list-style:none;
  padding:0;
  margin:0;
}

.comments li {
  clear:both;
  background:rgba(0,0,0,.05);
  overflow:hidden;
  padding:5px;
  margin:5px;
  border:solid 1px #555;
}

/*------------------------------------*\
    POSTS 
\*------------------------------------*/

article.post, article.page {
  background:#eee url(img/linedpaper.jpg);
  color:#222;
  padding:0 10px;
  margin:10px 0;
  clear:both;
  overflow:hidden;
}


article.post span.author {
  display:block;
  float:left;
  text-align:center;
  margin-bottom:10px;
}

 article.page h3 {
  padding-top:10px;
}

article.post p {
  font-size:12px;
  padding-bottom:10px;
}

article.post span.author {
  font-family:"DigitalStrip";
  color:#000;
  font-size:14px;
  text-align:center;
}

article.post span.author a  {
  color:#333;
  position:relative;
  top:0;
}

article.post span.author:hover img {
  box-shadow:0 0 0 #000;
  border:solid 5px #000;
  transition:border-color .2s linear, box-shadow .2s linear;
}

article.post span.author:hover a  {
  top:5px;
  transition:top .2s linear;
}

article.post span.author img {
  display:block;
  margin:0 10px 0 0;
  border:solid 5px #fff;
  border-radius:3px;
  box-shadow:0 0 10px #000;
}

article.post .post-edit-link, article.page .post-edit-link {
  display:block;
  background:#600;
  color:#fff;
  width:120px;
  text-align:center;
  padding:4px;
  clear:both;
}

article.post .post-edit-link:hover {
  background:#900;
  transition:background .3s linear;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'DigitalStrip';
	src:url('fonts/digistrip.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
		url('fonts/digistrip.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3-5 */
    font-weight:normal;
    font-style:normal;
}

@font-face {
	font-family:'DigitalStrip';
	src:url('fonts/digistrip_b.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
		url('fonts/digistrip_b.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3-5 */
    font-weight:bold;
    font-style:normal;
}

@font-face {
	font-family:'DigitalStrip';
	src:url('fonts/digistrip_i.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
		url('fonts/digistrip_i.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3-5 */
    font-weight:normal;
    font-style:italic;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:800px) {
  header .nav {
    height:60px;
  }
  .nav li {
    width:70px;
    height:100px;
    background-size:210px;
    margin:0 30px;
  }

  .nav li a {
    font-size:14px;
  }

  .nav .logo a {
    width:126px;
    height:72px;
    background:url(img/band_logo_60px.jpg) no-repeat;
  }
  
  .nav li.page-item-5 {
    background-position:-70px 100%;
  }

  .nav li.page-item-7 {
    background-position:-140px 100%;
  }

  .hero {
    transition:background-size .2s linear;
    background-size:550px;
    background-position:top center;
    position:relative;
  }

  .hero.scrolledUp:after {
    content:'Scroll Down For News!';
    display:block;
    width:100%;
    font-size:18px;
    position:absolute;
    top:70%;
    text-align:center;
    background:rgba(0,0,0,.5);
  }
  
  article.post span.author img {
    width:80px;
    height:80px;
  }

  .logo span {
    position:absolute;
    width:auto;
    top:58px;
    left:50px;
    font-size:10px;
    z-index:90;
  }
}
@media only screen and (max-width:510px) {
  header .nav {
    height:50px;
  }
  .nav li {
    margin:0 10px;
  }

  .hero {
    transition:background-size .2s linear;
    background-size:400px;
  }
}
@media only screen and (max-width:400px) {
  .nav ul {
    margin-right:10px;
  }
  .nav li {
    width:55px;
    height:70px;
    background-size:166px;
    margin:0 5px;
  }
  .nav li a {
    font-size:12px;
    font-weight:normal;
  }
  .nav li.page-item-5 {
    background-position:-55px 100%;
  }

  .nav li.page-item-7 {
    background-position:-110px 100%;
  }

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dppx) {
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
/* turn.js styles */
#comicbook{
	/*width:1000px;
	height:750px;*/
  overflow:hidden;
}

#comicbook .page {
	background-color:#ccc;
	background-size:100% 100%;
}
#comicbook .page.odd::after {
  content:'';
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  background-image:linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 7%);
}
.comicSection p {
  font-size:16px;
}

.vendorMan {
  background:url(img/vendorman.jpg);
  width:350px;
  height:535px;
  display:block;
  margin:0 auto;
}
.passwordPageForm {
  display:block;
  width:500px;
  margin:0 auto;
  text-align:center;
}
.storeTable {
  width:100%;
}
.storeTable td {
  vertical-align:middle;
  width:50%;
  font-size:15px;
  text-align:center;
}
.storeTable td:first-child {
  text-align:right;
}
.storeDiv {
  text-align:center;
}
.storeTable img, .storeDiv img {
  border:solid 4px #fff;
  box-shadow:0 0 10px #000;
}
.storeTable img:hover, .storeDiv img:hover {
  box-shadow:0 0 4px #000;
  transition:box-shadow .2s ease-in;
}
