/*
Theme Name: J.D. Barker Custom
Author: Todd Jackson
Author URI: http://www.toddjacksonworks.com
Description: Custom theme for J.D. Barker.
Version: 1.0
*/

	    
body {
		background: linear-gradient(to top left, rgba(0,0,0,0) 0%,rgba(0,0,0,1.0) 100%),  #2E2D3C;
	}
	
	body.old {
		background: linear-gradient(to top left, rgba(0,0,0,0) 0%,rgba(0,0,0,1.0) 100%), url("images/chicago.jpg"), #2E2D3C;
		background-repeat: no-repeat, no-repeat, no-repeat;
		background-position: center, center top, center;
		background-size:  cover, auto, cover;
		background-blend-mode: normal, lighten, normal;
	}
	
	.boxzilla-close-icon {
		color: #fff !important;
	}
	
	a {
		color: #c41400;
	}
	
	a:hover {
		color: #e61700;
	}
	
	.navbar {
		background-color #000 !important;
		padding: 0 .9rem 0;
		font-family: 'Oswald', sans-serif;
		text-transform: uppercase;
		font-size: .9rem;
		font-weight: 300;
		margin-top: 10px;
		font-weight: 500;
	}
	
	
	.btn {
		font-family: 'Oswald', sans-serif;
		text-transform: uppercase;
	}
	
	body.home div.container {
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
	    color: rgba(255,0,0,.75);
	}
	
	.logo {
		background: url('images/mobile_jd_logo2.png') no-repeat;
		background-size: contain;
		height: 3rem;
		width: 13.6rem;
		padding: 0;
		margin: 0;
	}
	
	.logo2022mobile {
		background: url('images/jdbarker-logo-2022-mobile-a.png') no-repeat;
		background-size: contain;
		height: 64px;
		width: 288px;
		padding: 0;
		margin: 0;
	}
	
	.navbar-brand {
		padding-right: 0;
	}

	.navbar-toggler {
		padding: 0;
		font-size: 2rem;
		line-height: 1;
		background-color: transparent;
		border: 0px solid transparent;
	}
	
	.fa-bars {
		color:#fff;
	}

	.slider {
		box-shadow: 0px 3px 8px rgba(51,51,51,1);
	}
	
	.slide_link:hover {
		text-decoration: none;
	}

	.author-credit {
		padding-top: 10px;
		color: #fff;
		font-family: 'Oswald', sans-serif;
		font-weight: 500;
		padding-bottom: 0;
		margin: 0 0 0 22px;
		text-transform: uppercase;
	}
	
	.author-credit-dev {
		color: #fff;
		font-family: 'Oswald', sans-serif;
		font-weight: 500;
		margin: 0;
		text-transform: uppercase;
		text-align: center;
		font-size: 1rem;
	}
	
	.myslide {
		height:200px;
	}
	
	.myslide1 h1 {
		position: absolute;
		top: 35%;
		left: 10%;
		font-family: 'Oswald', sans-serif;
		line-height: 50px;
		font-size: 2.5rem;
		color: #fff;
		width: 50%;
		text-align: center;
		transition: opacity .25s ease-in-out;
		-moz-transition: opacity .25s ease-in-out;
		-webkit-transition: opacity .25s ease-in-out;
	}
	
	.slide_head {
		font-family: 'Oswald', sans-serif;
		line-height: 20px;
		font-size: 30px;
		color: #fff;
		text-align: center;
		text-shadow: 1px 1px 8px #333;
		transition: opacity .25s ease-in-out;
		-moz-transition: opacity .25s ease-in-out;
		-webkit-transition: opacity .25s ease-in-out;
		padding-bottom: 10px;
	}
	
	.slide_head:after {
	content: "";
display: block;
border-bottom: 1px solid #ccc;
margin: 8px auto 0;
width: 33%;
padding: 12px 0 0
	}
	
	.myslide1 h2 {
		position: absolute;
		top: 65%;
		left: 10%;
		font-family: 'Oswald', sans-serif;
		line-height: 30px;
		font-size: 30px;
		color: #fff;
		width: 50%;
		text-align: center;		
		text-shadow: 1px 1px 8px #333;
		transition: opacity 1s ease-in-out;
		-moz-transition: opacity 1s ease-in-out;
		-webkit-transition: opacity 1s ease-in-out;
	}

	.slide_subhead {
		font-family: 'Oswald', sans-serif;
		line-height: 23px;
		font-size: 18px;
		font-weight: 300;
		color: #fff;
		text-align: center;
		text-shadow: 0px 0px 1px #000, 0px 0px 4px #000, 0px 0px 15px #000;
		transition: opacity .25s ease-in-out;
		-moz-transition: opacity .25s ease-in-out;
		-webkit-transition: opacity .25s ease-in-out;
	}
	
	
	.myslide1 .morelink {
		position: absolute;
		bottom: 15%;
		right: 24%;
		font-family: 'Oswald', sans-serif;
		line-height: 20px;
		font-size: 20px;
		color: #fff;
		text-align: right;		
		text-shadow: 1px 1px 8px #333;
		transition: opacity 1s ease-in-out;
		-moz-transition: opacity 1s ease-in-out;
		-webkit-transition: opacity 1s ease-in-out;
		text-transform: uppercase;
	}
	
	.morelink_dev {
		position: absolute;
		bottom: 5%;
		right: 30%;
		font-family: 'Oswald', sans-serif;
		line-height: 16px;
		font-size: 16px;
		color: #fff;
		text-align: right;
		transition: opacity 1s ease-in-out;
		-moz-transition: opacity 1s ease-in-out;
		-webkit-transition: opacity 1s ease-in-out;
		text-transform: uppercase;
		margin: 0;
		padding: 0;
	}

	.cover {
		right: 7%;
		top: 10%;
		position: absolute;
		transition: all 1.5s  ease-in-out;
		-moz-transition: all 1.5s  ease-in-out;
		-webkit-transition: all 1.5s  ease-in-out;
		opacity: 0.5;
	}
	
	.cover_dev {
		max-height: 150px;
		width: auto;
		transition: all 1.5s  ease-in-out;
		-moz-transition: all 1.5s  ease-in-out;
		-webkit-transition: all 1.5s  ease-in-out;
		opacity: 0.5;
		margin-top:20px;
		margin-bottom: 20px;
		margin-left: -20px
	}
	
	.home-head {
		font-family: 'Oswald', sans-serif;
		color: #c41400;
		border-bottom: 1px solid #c41400;
		margin-top:20px;
		font-weight: 300;
		text-transform: uppercase;
	}
	
	.recent_news li a {
		color: #fff;
	}
	.recent_news li {
		padding: 5px 0;
	}
	
	.page_head, .entry-content h2 {
		font-family: 'Oswald', sans-serif;
		color: #c41400;
		border-bottom: 1px solid #c41400;
		margin-top:20px;
		font-weight: 300;
		text-transform: uppercase;
		padding-bottom: 8px;
	}
	
	.entry-title a {
		color: #fff;
	}
	
	.entry-title a:hover {
		color: #c41400;
	}
	
	h2#free_book {
		color: #fff;
		margin-top:5rem;
	}
	
	.section_head {
		font-family: 'Oswald', sans-serif;
		color: #fff;
		margin-top:20px;
		margin-bottom: 20px;
		font-weight: 300;
		text-transform: uppercase;
		text-align: center;
	}

	.faded {
		opacity: 0;
	}

   .unfaded {
	   opacity: 1;
   }
   
   .move-right{
    transform: translate(1rem,0);
    -webkit-transform: translate(1rem,0); /** Chrome & Safari **/
    -o-transform: translate(1rem,0); /** Opera **/
    -moz-transform: translate(1rem,0); /** Firefox **/
	   opacity: 1;
	}


.footer-text {
	font-size: .9rem;
	color :#72756E;
	text-align: center;
}

.footer-text a {
	color: #aaa;
}


.all_books_stage {
	box-shadow: 0px 0px 8px #72756E;
	background:#72756E;
	padding: 10px 0;
}

	#all_books img {
		display: block;
		margin: 0 auto !important;
		width: 81px;
		height: 120px;
		margin: 10px 0;
		box-shadow: 3px 3px 8px #333;
	}
	
	.page_row {
		background: #090915;
		color: #fff;
	}
	
	.free_book_row {
		height: 500px;
		background: url('images/forsaken-bg.jpg');
		background-size:  cover;
	}
	
	.entry-content {
		margin-bottom: 20px;
	}
	
	.entry-content p {
		font-size: 18px;
		line-height: 21px;
	}


#mc4wp-form-1 {
	margin-bottom: 15px;
}	
	
	/* Books */
	
	.bookcover {
		border: 1px solid #fff;
		margin: 0 auto 10px;
		display: block;
	}
	
	.booktitle {
		font: 300 26px/30px 'Oswald', sans-serif;
		text-align: center;
	}


	.booktitle_sm {
		font: 300 18px/24px 'Oswald', sans-serif;
		text-align: center;
	}	
	
	.book_group a {
		color: #fff;
	}
	
	.book_title {
	font-size: 42px;
	font-weight: bold;
	padding-bottom: 8px;
	margin-bottom: 8px;
	border-bottom: 1px solid #c41400;
	margin-top: 0;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	}

	.book_coauthor {
		font-size: 18px;
		font-weight: 300;
		font-style: italic;
	}

	
	.book_subhead {
	text-align: center;
	font-size: 24px;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 4px;
	color: #c41400;
	font-weight: bold;
	margin-bottom: 15px;
	margin-top: 27px;
	line-height: 24px;
}

	.book_buyhead {
	font-size: 24px;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 6px;
	line-height: 20px;
}

.book_buy_group {
	margin-bottom: 13px;
}

.book_series {
	font-size: 15px;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	color: #ddd;
	padding-top: 6px;
}

.book_series .badge {
	font-size: 15px;
}

.book_series strong a {
	font-size: 18px;
	font-weight: strong;
}

.praise_for {
	margin-bottom: 0;
}


.ticker {
	color: #fff;
	background:#090915;
	padding:5px 0;
}

.ticker a {
	color:#fff;
}

/* Blog */

	#sidebar_blog {
		padding-top: 20px;
	}


	.prettydate {
		float: left;
		padding: 4px;
		color: #fff;
		text-align: center;
		margin-right: 12px;
		margin-bottom: 12px;
		text-transform: uppercase;
		font-family: 'Open', sans-serif;
		letter-spacing: 3px;
		border-top: 1px solid #c41400;
		border-bottom: 1px solid #c41400;
	}
	
	.prettydate span {
		display: block;
		font-size: 30px;
		font-family: 'Oswald', sans-serif;
		font-weight: 600;
		margin: 0;
		padding: 0;
		letter-spacing: 0;
	}

	.post h1, .post h2 {
		font-size: 29px;
		line-height: 36px;
		margin-bottom: 18px;
		margin-top: 0px;
		font-family: 'Oswald', sans-serif;
		font-weight: 600;
		padding-top: 8px;
	}
	
	.post p {
		font-size: 1rem;
		line-height: 1.5rem;
		margin: 0 0 21px;
	}


.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;
}

	/* Pagination for News, On Writing */
	
	.page-link {
		background-color: #2E2D3C;
		color: #fff;
		border: 1px solid #fff;
	}
	
	.page-item.active .page-link {
		background-color: #F51400;
		color: #fff;
		border-color: #fff;
	}
	
	.page-link:hover {
		text-decoration: none;
		background-color: #c41000;
		color: #fff;
	}


/* Search */

.search-post-title {
	font-size: 1.5rem;
	margin-top: 1rem;
	margin-bottom: .2rem;
}

.search-post-excerpt {
	padding-left: 20px;
}

/* Photos */

.grid-item{
	width: 100%;
	padding: 16px;
}


@media (min-width: 374px) {
	.logo {
		height: 4rem;
		width: 15rem;
	}

}



@media (min-width: 576px) {
	.logo {
		height: 6rem;
		width: 19.9rem;
		background: url('images/mobile_jd_logo.png') no-repeat;
		background-size: contain;
		margin-top: 2rem;
	}
	
	.logo2022mobile {
		height: 96px;
		width: 405px;
		background: url('images/jdbarker-logo-2022-mobile-a.png') no-repeat;
		background-size: contain;
	}

}

@media (min-width: 768px) {
	
	.logo {
		background: url('images/mobile_jd_logo.png') no-repeat;
		background-size: contain;
		height: 6rem;
		width: 16rem;
		padding: 0;
		margin: 0;
	}
	
	.newlogo {
/*		background: url('images/jd_barker_type.png');*/
		background: url('images/jd_barker_type_3.png');
		background-size: cover;
		min-width: 540px;
		height: 82px;
	}
	
	.logo2022 {
		background: url('images/jdbarker-logo-2022a.png');
		background-size: contain;
		min-width: 345px;
		height: 150px;
		background-repeat: no-repeat;
		margin: 10px auto 0;
	}
		
	.myslide {
		height:300px;
	}
	
	.cover_dev {
		max-height: 280px;
		width: auto;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.navbar {
		padding: 0;
	}

	.morelink_dev {
		bottom: 10%;
	}
	
	.grid-item{
		width: 50%;
	}

	
}

@media (min-width: 992px) {
	
	.navbar {
		font-size: 18px;
		padding: 0 1rem 0;
	}

	.newlogo {
		min-width: 720px;
		height: 109px;
	}
	
	.logo2022 {
		min-width: 432px;
		height: 188px;
	}

	.myslide {
		height:400px;
	}

	.cover_dev {
		max-height: 300px;
		width: auto;
		margin-top: 50px;
		margin-bottom: 50px;
	}

	.author-credit {
		font-size: 1.5rem;
		padding: 0;
	}
	
	.author-credit-dev {
		font-size: 1.2rem;
	}
	
	.slide_head {
		line-height: 3.5rem;
		font-size: 3.4rem;
	}

	.slide_subhead {
		line-height: 34px;
		font-size: 28px;
		padding: 0px 20px 0;
	}
	
	.morelink_dev {
		line-height: 20px;
		font-size: 20px;
		right: 24%;
	}
	
	.morelink_dev span {
		margin-right: -20px;
	}
	
	/* PHOTOS */
	
	.grid-item{
		width: 33%;
	}
	
}

@media (min-width: 1200px) { 
	.newlogo {
		min-width: 855px;
		height: 130px;
	}
	
	.logo2022 {
		min-width: 432px;
		height: 188px;
	}
	
	.author-credit {
		font-size: 2rem;
		margin: 0 0 0 42px;
	}
	
	.author-credit-dev {
		font-size: 1.5rem;
	}
}

