/*
Theme Name: Josh Malerman Custom
Author: Todd Jackson
Author URI: http://www.toddjacksonworks.com
Description: Custom blank theme for horror author Josh Malerman.
Version: 1.0
*/

html {
	height: 100%;
	font-family:  niveau-grotesk, sans-serif;
}
 
body {
/*	background: 
   linear-gradient(to bottom, rgba(51,202,95,0) 0%,rgba(51,202,95,0.5) 100%),
	#000 url('img/josh_bw_bg2.jpg') no-repeat;  /* On bottom */
	background: linear-gradient(to bottom, rgba(51,202,95,0) 0%,rgba(51,202,95,0.5) 100%), linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,1.0) 100%), #000 url('img/grungy.jpg');
    background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: auto, auto, cover;
	background-position: center, center, center;
    background-attachment: fixed;
	min-height: 100%;
	margin-top: 90px;
}



/* Main Site */

.navbar-inverse {
	border: 0;
	font-family: "los-feliz", serif;
	font-size: 18px;
}

.navbar-inverse .navbar-nav>li>a {
    color: #fff;
  z-index: 1;
  font-weight: 400;
}

.navbar-brand {
	width: 200px;
	margin: 0 auto;
	display: block;
	position: relative; 
	background-image: url('img/josh_logo.svg');
	background-repeat: no-repeat;
	background-size: 100% auto;
	text-indent: -1000px;
	margin-top: 10px;
	margin-left: 10px;
}




.chroma {
	position: relative; 
}
.chroma:before,
.chroma:after {
  content: attr(data-content);
  display: block;
  position: absolute;
  width: 100%;
  }
  
.chroma:before, .chroma:after {
	top: 0; left: 0;
} 

.navchroma:before, .navchroma:after {
	display: none;
}
  
  
.text-link {
  font-size: 44px;
  text-decoration: none;
  color: #fff;
  z-index: 1;
  font-family: "los-feliz", serif;
  text-align: center;
  margin: 0;
}

a {
	color: #ff1be2;
}

a:visited {
  color: #33CA5F;
}

a:hover  {
	color: #ff1be2;
}

	.btn-josh {
		background-color: #ff1be2;
		border-color: #CC0004;
		color: #fff !important;
		font-family:  niveau-grotesk, sans-serif;
	}

	.btn-josh:hover, .btn-josh:focus, .btn-josh:active, .btn-josh.active, .open>.dropdown-toggle.btn-josh {
		background-color: #CC0004;
		border-color: #ff1be2;
		color: #fff;
	}

	.btn-josh2 {
		background-color: #33CA5F;
		border-color: #259445;
		color: #fff !important;
		font-family:  niveau-grotesk, sans-serif;
		font-weight: bold;
	}

	.btn-josh2:hover, .btn-josh2:focus, .btn-josh2:active, .btn-josh2.active, .open>.dropdown-toggle.btn-josh2 {
		background-color: #259445;
		border-color: #33CA5F;
		color: #fff;
	}
	

.subname {
	margin: -20px 0px 40px;
	color: #fff;
	text-transform: uppercase;
	text-align: right;
	padding: 0;
	font-family:  niveau-grotesk, sans-serif;
	letter-spacing: 10px;
	color: #ff1be2;
	font-size: 17px;
}

.subhead {
  font-size: 30px;
  text-decoration: none;
  color: #fff;
  z-index: 1;
  font-family: "los-feliz", serif;
  margin: 0 0 12px;
}


/* Most Pages */

#inner_main {
  padding: 10px 20px;
  background: rgb(17,17,17); /* for IE */
  background: rgba(17,17,17,0.65);
  color: #fff;
   margin-bottom: 20px;
   box-shadow: 0 0 3px 3px rgba(17,17,17,0.65)
}


.text-link:before,
.text-link:after {
  content: attr(data-content);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.chroma:before {
  color: #33CA5F;
  z-index: -1;
}
.chroma:after {
  color: #ff1be2;
  z-index: -2;
}
.chroma:hover:before {
  -webkit-animation: glitchy 0.3s ease 0.3s infinite;
          animation: glitchy 0.3s ease 0.3s infinite;
}
.chroma:hover:after {
  -webkit-animation: glitchy 0.3s ease infinite reverse;
          animation: glitchy 0.3s ease infinite reverse;
}

.top_logo {
	width:100%;
	min-height: 67px;
	margin: 0 auto;
	display: block;
	position: relative; 
	background-image: url('img/josh_logo.svg');
	background-repeat: no-repeat;
	background-size: 100% auto;
}

.top_logo:before,
.top_logo:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 0; left: 0;
  background-size: 100% auto;
  width: 100%;
  min-height: 67px 
  }
 
.top_logo:before {
	background-image: url('img/josh_logo_green.svg');
	background-repeat: no-repeat;
  z-index: -1;	
}

.top_logo:after {
	background-image: url('img/josh_logo_pink.svg');
	background-repeat: no-repeat;
  z-index: -2;	
}


.top_logo:hover:before {
  -webkit-animation: glitchy 0.3s ease 0.3s infinite;
          animation: glitchy 0.3s ease 0.3s infinite;
}

.top_logo:hover:after {
  -webkit-animation: glitchy 0.3s ease infinite reverse;
          animation: glitchy 0.3s ease infinite reverse;
}

.footer-content {
  position: relative;
  z-index: 100;
  padding: 4px;
  background: rgb(34,34,34); /* for IE */
  background: rgba(34,34,34,0.75);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 0 3px 3px rgba(34,34,34,0.75);
  text-align: center;
}

@-webkit-keyframes glitchy {
  0% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  25% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  50% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  75% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
}
@keyframes glitchy {
  0% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  25% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  50% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  75% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
}


@-webkit-keyframes logo-glitchy {
  0% {
    -webkit-transform: translate(-1px, 1px);
            transform: translate(-1px, 1px);
  }
  25% {
    -webkit-transform: translate(-1px, -1px);
            transform: translate(-1px, -1px);
  }
  50% {
    -webkit-transform: translate(1px, 1px);
            transform: translate(1px, 1px);
  }
  75% {
    -webkit-transform: translate(1px, -1px);
            transform: translate(1px, -1px);
  }
  100% {
    -webkit-transform: translate(-1px, 1px);
            transform: translate(-1px, 1px);
  }
}
@keyframes logo-glitchy {
  0% {
    -webkit-transform: translate(-1px, 1px);
            transform: translate(-1px, 1px);
  }
  25% {
    -webkit-transform: translate(-1px, -1px);
            transform: translate(-1px, -1px);
  }
  50% {
    -webkit-transform: translate(1px, 1px);
            transform: translate(1px, 1px);
  }
  75% {
    -webkit-transform: translate(1px, -1px);
            transform: translate(1px, -1px);
  }
  100% {
    -webkit-transform: translate(-1px, 1px);
            transform: translate(-1px, 1px);
  }
}



svg {
  width: 100%;
  left: 50%;
}


.bookpush {
  position: relative;
}

.bookpush-content {
  position: relative;
  z-index: 100;
  padding: 20px;
  background: rgb(34,34,34); /* for IE */
  background: rgba(34,34,34,0.75);
  color: #fff;
   margin-bottom: 20px;
   box-shadow: 0 0 3px 3px rgba(34,34,34,0.75)
}

.homepush {
  color: #fff;
  padding: 45px;
}

.bookpush p {
	font-family:  niveau-grotesk, sans-serif;
	font-size: 18px;
}

.bookname {
	font-family:  niveau-grotesk, sans-serif;
	font-weight: 700;
	color: #ff1be2;	
	font-size: 45px;
}

.more {
	color: #ff1be2;
	text-transform: uppercase;
	font-size: 14px;
	font-family:  niveau-grotesk, sans-serif;
	font-weight: 700;
}

.bookpush ul {
}

.bookpush li {
	font-size: 18px;
	line-height: 21px;
	clear: both;
	padding: 9px 0;
	width: 95%;
	font-family:  niveau-grotesk, sans-serif;
}

.bookpush li a {
	color: #ff1be2;
}

/* Home News Section */

	.news_items {
		list-style-type: none;
		text-indent: -.8em;
		padding-left: 24px;
	}
		
	.news_items li [class^="fa-"], .news_items li [class*=" fa-"] {
	    width: 0.6em;
	}
	
	.news_items li {
		margin-bottom: 9px;
		line-height: 22px;
	}
	
	.news_icon {
		color: #33CA5F;
	}


/* Short Story */

body.single-shortstories {
    background: radial-gradient(transparent, rgba(101,233,59,.05));
    background-attachment: fixed;
    margin-top: 0;
}

	#shortstorytitle {
		max-width: 100%;
		margin-bottom: 50px;
		padding-top: 120px;
		min-height: 500px;
	}

.shortstoryhead {
	font-family: "modesto-poster", sans-serif;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

#the_title {
	margin-bottom: 40px;
}

.noemphasis {
	font-size: 24px;
	letter-spacing: 7px;
	text-align: center;
	display: block;
/*	background: url('img/grungy.jpg');*/
	background: #000;
	color: #fff;
	width: 98%;
	margin-left: 1%;
}

.emphasis {
	text-align: center;
	line-height: 1;
	color: #000;

/*	background: url('img/grungy.jpg');
	background-size: contain;
	text-align: center;
	color: #fff;
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
*/}

.slabtexted .slabtext
    {
    display: -moz-inline-box;
    display: inline-block;
    white-space: nowrap;
    }
.slabtextinactive .slabtext
    {
    display: inline;
    white-space: normal;
    font-size: 1em !important;
    letter-spacing: inherit !important;
    word-spacing: inherit !important;
    *letter-spacing: normal !important;
    *word-spacing: normal !important;
    }
.slabtextdone .slabtext
    {
    display: block;
    }

.the_text p:first-child:first-letter {
	float: left; color: #000;
	font-size: 90px;
	line-height: 60px;
	padding-top: 4px;
	padding-right: 8px;
	padding-left: 3px;
	font-family: "modesto-poster";
	margin-left: -25px;
	}
	
.the_text p {
	margin-left: 25px;
	font-size: 16px;
	line-height: 24px;
}

.the_text {
	margin-bottom: 100px;
	position: relative;
}

.the_text:before {
  content : "";
  position: absolute;
  left    : 25%;
  bottom  : -50px;
  height  : 1px;
  width   : 50%;  /* or 100px */
}

.the_quote {
	font: 40px/40px "modesto-text";
	text-align: center;
	margin-bottom: 100px;
	position: relative;
}

.the_quote:before {
  content : "";
  position: absolute;
  left    : 25%;
  bottom  : -50px;
  height  : 1px;
  width   : 50%;  /* or 100px */
}

.homeboxpush {
  fill: #000;
  filter: url(#pushfilter);
}

hr.section-end {
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
    margin-top: 50px;
    margin-left: 100px;
    margin-right: 100px;
}
hr.section-end:after {
    content: "\00A7";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
}

/* Many Pages */

.site_section {
	text-align: center;
	font-size: 30px;
	text-decoration: none;
	color: #fff;
	z-index: 1;
	font-family: "los-feliz", serif;
	margin: 0 0 40px;
	padding: 0;
	font-weight: normal;
}

.site_section a {
	color: #fff;
	text-decoration: none;
}

/* All  Books Page */

.book_group {
	text-align: center;
	margin-bottom: 10px;
	font: 15px/21px  niveau-grotesk, sans-serif;
}

/* Books Page */

.book_title {
	font-size: 50px;
	font-weight: bold;
	padding-bottom: 8px;
	margin-top: 0;
	margin-bottom: 1.4rem;
	border-bottom: 1px solid #ff1be2;
	font-family:  niveau-grotesk, sans-serif;
}

.book_subhead {
	text-align: center;
	font-family: "los-feliz", serif;
	font-size: 24px;
	color: #fff;
	margin-bottom: 18px;
	margin-top: 36px;
	line-height: 20px;
	z-index: 1;
}

.release {
		font-family:  niveau-grotesk, sans-serif;
		font-weight: 100;
		font-size: 2rem;
		margin-bottom: 1.2rem;
}

.release strong {
	font-size: 2.4rem;
}

.img-book {
	margin: 0 auto;
	display: block;
}

.bookseller_button {
	display:block;
	margin: 0 auto 6px;
}

.booksellers_list li {
	width: 33%;
	display: block;
	float: left;
	text-align: center;
	min-height: 75px;
	font-size: 13px
}

.booksellers_list {
	list-style-type: none;
	padding:0;
	margin:0 0 30px;
}

.praise_for {
	margin-bottom: 0;
}

.praiser {
	margin-left: 120px;
	margin-bottom: 20px;
	position: relative;
	color: #ff1be2;
}

.praiser:before {
    content: "\2014";
    margin-right: 0;
    left: -20px;
    position: absolute;
    color: #ff1be2;
}

.description p {
	font-size: 18px;
	line-height: 24px;
	padding-bottom: 24px;
}

.description li {
	font-size: 18px;
	line-height: 24px;
}

.accolades {
	border-top: 1px solid #ff1be2;
	margin-top: 1rem;
	padding-top: 1rem;
}

/* Short Story Landing */

.story-tease {
	margin-bottom: 20px;
}

.story-tease {
	font-family:  niveau-grotesk, sans-serif;
}

.media-object {
	background: #000;
}

.anthology-box {
	margin-bottom: 24px;
}

.anthology-tease {
	margin-bottom: 10px;
}

.anthology_title {
	font-family:  niveau-grotesk, sans-serif;
	font-size: 14px;
	margin-bottom: 18px;
}

.anthology_title strong {
	font-size: 21px;
	color: #ff1be2;
	display: block;
}

.anthology_title em {
	font-size: 19px;
	color: #33CA5F;
}

/* Projects Page */
	
.project_head {
	font-family:  niveau-grotesk, sans-serif;
	font-size: 30px;
	margin-bottom: 20px;
	color: #33CA5F;
	text-align: center;
}

.project_subhead {
	font-family:  niveau-grotesk, sans-serif;
	font-size: 21px;
	text-align: center;
	margin-bottom: 18px;
	text-transform: uppercase;
	letter-spacing: 4px;
}

.album img {
	margin-bottom: 0;
	padding-bottom: 8px;
}

.album {
	font-family:  niveau-grotesk, sans-serif;
	font-size: 17px;
	margin-bottom: 24px;
	text-align: center;
}

/*Wordpress editor styles start*/

.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}

.chapter-head {
	font-family: "goudy-old-style", serif;
	text-transform: uppercase;
	font-size: 2rem;
	text-align: center;
	margin-top: 4rem;
	margin-bottom: 1.5rem;
}
	
	
	.inspired-works {
		padding: 1.5rem;
		margin-bottom: 2rem;
		background: #222;
		border: 1px solid #333;
		border-radius: 4px;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	}
	
.chapter-well {
    background: #222;
    border: 1px solid #333;
}

.chapter-well a {
}

a.chapter {
	font-size: 3rem;
	font-family: "goudy-old-style", sans-serif;
}

/* Modal */

#bookModal .modal-header {
	border-bottom: 0;
	padding: 5px;
}

#bookModal h4 {
	font-family: "los-feliz", sans-serif;
	color: #fff;
}

#bookModal h3 {
	font-family: "los-feliz", sans-serif;
	color: #fff;
	font-size: 40px;
	margin-bottom: 20px;
}

#bookModal .close {
color: #fff;
text-shadow: 0 1px 0 #fff;
filter: alpha(opacity=80);
opacity: .8;
}

#bookModal h3  span{
	font-family:  niveau-grotesk, sans-serif;
	font-size: 18px;
	font-weight: 700;
	display: block;
	margin-bottom: 8px;
}

#bookModal .modal-content {
	background: #000;
	border: 1px solid #999;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 9px rgba(255, 27, 226, .5);
	box-shadow: 0 3px 9px rgba(255, 27, 226, .5);
	outline: 0;
}

/*Wordpress editor styles end*/

@media (min-width: 414px) {
.top_logo {
	width:390px;
	height: 75px;
	background-size: 390px 75px;
}

.top_logo:before,
.top_logo:after {
	width:390px;
	height: 75px;
	background-size: 390px 75px;
  }

}

@media (min-width: 768px) {
	
.modal-dialog {
    width: 600px;
    margin: 100px auto 0;
}	
	
.navbar-inverse {
	background: linear-gradient(to bottom, rgba(0,0,0,1.0),rgba(0,0,0,.15));
}

.navchroma:before, .navchroma:after {
	top: 12px; left: 15px;
	display: block;
}
	
	#inner_main {
  padding: 20px 40px;
}

.top_logo {
	width:500px;
	height: 96px;
	background-size: 500px 96px;
}

.top_logo:before,
.top_logo:after {
  background-size: 500px 96px;
  width: 500px;
  height: 96px 
  }

.bio_text {
	margin-left: 60px;
	margin-top: 40px;
}

}

@media (min-width: 992px) {
body.home, body.page-id-215 {
	background: url('img/just_josh_bg.png'), linear-gradient(to bottom, rgba(51,202,95,0) 0%,rgba(51,202,95,0.5) 100%), linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,1.0) 100%), #000 url('img/grungy.jpg');
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
	background-size: auto 100%, auto, auto, cover;
	background-position: 130% bottom, center, center, center;
    background-attachment: fixed;
}

.top_logo {
	width:500px;
	height: 96px;
	background-size: 500px 96px;
}

.top_logo:before,
.top_logo:after {
  background-size: 500px 96px;
  width: 500px;
  height: 96px 
  }

.subname {
	margin: -20px 20px 40px;
	letter-spacing: 20px;
	font-size: 30px;
}

}

@media (min-width: 1200px) {

	.container-fluid {
		max-width: 1200px;
	}


#full-width {
	max-width: 100vw;
}

	
body.home, body.page-id-215 {	
	background-position: 100% bottom, center, center, center;
	background-size: cover, center, center, contain;
}

.text-link {
	font-size: 84px;
}


}

