/*
Theme Name: John Boyne
Theme URI: http://johnboyne.com
Author: Webbiz
Author URI: https://webbiz.ie
Description: A theme for selling John Boynes' Books
Version: 1.0
Text Domain: jboyne
*/

/*============================
 	THEME  RESETS
============================*/
body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-weight: 300;
	background-color: #585858; /* #353535 */
	right: 0;
	margin: 0;
	overflow-x: hidden; 
	position: relative;
	color: #fff;
}
img {
	max-width: 100%;
	height: auto;
}
img.alignright { 
	float: right; margin: 0 0 1em 1em; 
}
img.alignleft { 
	float: left; margin: 0 1em 1em 0; 
}
img.aligncenter { 
	display: block; margin-left: auto; margin-right: auto;
}
.alignright { 
	float: right; 
}
.alignleft { 
	float: left; 
}
.aligncenter { 
	display: block; margin-left: auto; margin-right: auto; 
}
.wp-caption {
	background: transparent;
	max-width: 96%; /* Image does not overflow the content area */
	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;
	text-align: center;
}

.wp-caption p.wp-caption-text {
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
	font-size: 1.4rem;
	text-align: center;
	margin-top: 10px;
}
a {
	color: #A4BAC9;
}
a:hover, {
	text-decoration: none;
	color: #C1CED8;
}
a:link {
	text-decoration: none;
}

/*============================
  	MENU  & LOGO
============================*/
.collapse {
	display: inline-block;
}
.logo {
	float: left;
	margin-left: 0;
	z-index: 1;
	padding-left:20px;
}

.logo a, .logo a:hover, .logo a:link {
	color: #fff;
	text-transform: uppercase;
	font-size: 3rem;
	text-decoration: none;
}

.logo h1 {
	color: #fff;
	text-transform: uppercase;
	font-size: 3rem;
}
.logo h1 span {
	font-weight: 600;
}

.navbar {
	background-color: transparent;
	background: transparent;
	border-color: transparent;
}

.navbar li { 
	color: #000 
}

/* Initial menu */
.top-header{
	position: absolute;
	z-index: 10;
	width:100%;
}
.topmenu{
	width:74%;
	float:left;
	margin-top:20px;
}
.container-header{
	max-width:1375px;
	margin:0 auto;
	display:block;
}
.current-menu-item a{
	border-bottom:4px solid #A5BDD2;
}
/* Basic styling */

.jumbotron {
	height: 100%;
 	-webkit-background-size: cover;
     	-moz-background-size: cover;
       	-o-background-size: cover;
          	background-size: cover;
}
.menu ul {
  	list-style: none;
  	margin: 0;
  	padding: 0;
}

.menu li a{
	padding-bottom:3px;
}
.menu li {
	line-height: 35px;
	padding-left: 1%;
	padding-top: 3px;
	display:inline-block;
}

.menu a {
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase;
}

.icon-close {
	cursor: pointer;
	padding-left: 15px;
	margin-bottom:  10px;
	margin-top:  26px;
}

.icon-menu, .icon-twitter {
	color: #fff;
	cursor: pointer;
	font-size: 3rem;
	padding-bottom: 25px;
	padding-top: 16px;
	text-decoration: none;
	text-transform: uppercase;
	margin-right: 0;
	float: right;
	z-index: 1;
	position: inherit;
}

img.googlereading{
	margin-top:-14px;
}

#googleheader{
	margin-top:-2px;
}
.icon-menu i {
	margin-right: 10px;
	color: #fff;
}
.icon-twitter i {
	margin-right: 2px;
	color: #fff;
	font-size:27px;
}
.icon-twitter a, .icon-twitter a:hover, .icon-twitter a:link {
	text-decoration: none;
	color: #fff;
}
.navbar-collapse.collapse {
	margin-top: 10px;
}

/*============================
  	Header CSS
============================*/
header {
	max-height: 900px;
	padding-top:130px;
}
.hero-header  {
	    background-attachment: scroll;
	    background-position: top center;
	    background-repeat: no-repeat;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    background-size: cover;
	    -o-background-size: cover;
	    background-color: rgba(0,0,0,0.1);
	    margin-top: -160px;
	    position: absolute;
	    max-width: 100%;
	    max-height: 990px;
	    top: 0;
	    right: 0px;
	    bottom: 0px;
	    left: 0px;
	    -webkit-filter:blur(10px);
	    -moz-filter:blur(5px);
	    -o-filter:blur(5px);
	    -ms-filter:blur(5px);
	    filter:blur(5px);
	    background-color: rgb(43, 43, 43);
    	opacity: 0.9;
}
.about-header  {
	 background-attachment: scroll;
	    background-position: top center;
	    background-repeat: no-repeat;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    background-size: cover;
	    -o-background-size: cover;
	    background-color: rgba(0,0,0,0.1);
	    margin-top: -115px;
	    position: absolute;
	    max-width: 100%;
	    max-height: 950px;
	    top: 0;
	    right: 0px;
	    bottom: 0px;
	    left: 0px;
	    -webkit-filter: blur(10px);
	    -moz-filter: blur(5px);
	    -o-filter: blur(5px);
	    -ms-filter: blur(5px);
	    filter: blur(5px);
	    background-color: rgb(43, 43, 43);
    	    opacity: 0.7;
}
.intro {
	color: #fff;
	margin-top: 0px;
	font-family: Lato, Helvetica, "sans-serif";
	position: inherit;
	z-index: 3;
}
.intro h2 {
	font-size: 4rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
	font-weight: 400;
}
.intro h3 {
	font-size: 3rem;
	margin-bottom: 4rem;
	margin-top: 0.5rem;
	font-weight: 300;
}

.intro-pro-pic img {
	width: 100%;
	margin-top:5px;
}
.intro-text {
	text-align: center;
}
.intro-text img {
	margin-top: 1.5rem;
	margin-right: 1%;
	margin-left: 1%;
	width: 45%;
	padding: 2%;
}
.grid-item-book{
	width:16%;
	display:inline-block;
	padding:1%;
}
.featured-books{
	margin-top:40px;
	padding-bottom:30px;
}
.featured-books a.animated.fadeInLeft.ghost-button-semi-transparent{
	margin:40px auto 30px; 
	display:block;
	padding:5px 20px;
	width:250px;
}
/*============================
  	Book Slider
============================*/
.home-book-slider {
    background: #585858;
    max-width: 100%;
    margin-top: -10px;
    position: inherit;
}

.shadow {
   -moz-box-shadow:    inset 0 0 20px rgba(0, 0, 0, 0.4);
   -webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
   box-shadow:         inset 0 0 20px rgba(0, 0, 0, 0.4);
}
#owl-demo .item{
  background: transparent;
  padding: 30px 0px;
  margin: 10px;
  color: #FFF;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
}
.item img {
    max-width: 100%;
    max-height: 300px;
    width:auto;
}

.customNavigation{
  text-align: center;
}
/*use styles below to disable ugly selection*/
.customNavigation a{
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.book-slider {
	background-color: #fff;
	padding: 10px 0;
}
.slider-title {
	color: #9C9C9C;
	margin-bottom: -2rem;
	font-size: 2.2rem;
	padding-left: 10px;
}
.owl-buttons {
	display: none;
}
.owl-theme .owl-controls {
    margin-top: -25px !important;
    text-align: center;
    margin-bottom: 10px !important;
}

/*============================
  	MAIN BODY CSS
============================*/
.grey-bg {
	background: #e5e5e5;
	max-width: 100%;
}
.bg-dark {
	background: #000;
	width: 100%;
}
.white-bg {
	background: #fff;
	color: #585858;
	margin-top: 2em;
	margin-bottom: 2em;
	padding: 10px 50px 10px 50px;

}
.page-p-padding {
	padding: 50px;
}
.behind-head {
	margin: 0 10px -200px 10px;
}
.home-tiles-container {
	margin: 50px auto;
}
.tile-img {
	max-width: 50%;
	height: 300px;
}
.youth-tile {
	background: #000;
}
.categories-title {
    color: #9C9C9C;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    padding-left: 10px;
}
.bg-youth {
	background: url('img/youth-novel-cat-home-small.jpg');
	height: 180px;
    	width: 100%;
    	overflow: hidden;
    	margin-bottom: 30px;
    	border: 2px solid;
}
.bg-novel {
	background: url('img/novel-cat-home-small.jpg');
	height: 180px;
    	width: 100%;
    	overflow: hidden;
    	margin-bottom: 30px;
    	border: 2px solid;
}
.bg-fiction {
	background: url('img/non-fiction-cat-home-small.jpg');
	height: 180px;
    	width: 100%;
    	overflow: hidden;
    	margin-bottom: 30px;
    	border: 2px solid;
}
.bg-short-story {
	background: url('img/short-stories-cat-home-small.jpg');
	height: 180px;
    	width: 100%;
    	overflow: hidden;
    	margin-bottom: 30px;
    	border: 2px solid;
}
.bg-youth h2, .bg-short-story h2, .bg-fiction h2, .bg-novel h2  {
	padding-top: 50px;
	text-align: center;
} 
.bg-youth a, .bg-short-story a, .bg-fiction a, .bg-novel a {
	color: #fff;
}
.bg-youth a:hover, .bg-short-story a:hover, .bg-fiction a:hover, .bg-novel a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Ereader CSS */
.ereader {
	background: url(http://yourwebsitedemo.eu/ebook/wp-content/uploads/2015/10/ereader-small1.png) no-repeat;
	background-size: contain;
	height: 550px;
	max-height: 600px;
}
.signup {
	margin-left: 20px;
	float: right;
}

.signup h2 {
	margin-top: 12rem;
	font-size: 2.2rem;
}
.signup p {
	font-size: 1.6rem;
	color: #fdfdfd;
}

/* Signup Box */
#mc_embed_signup input.email {
    	color: #A9A9A9 !important;
    	background: transparent !important;
    	border: none !important;
    	border-bottom: solid 2px #fdfdfd !important;
    	border-radius: none !important;
}
#mc_embed_signup{
	background:transparent; 
	clear:left; 
}

#mc_embed_signup input.button:focus, #mc_embed_signup input.email:focus {
	outline:0;
	border-radius: none !important;
}
#mc_embed_signup input.button {
	border-radius: none !important;
}
#mc-embedded-subscribe {
	border-radius: none !important;
}
input, input.email {
  	-webkit-appearance: none;
  	-webkit-border-radius: 0;
}

/*============================
  	Book Page CSS
============================*/
.books-intro {
	margin: -5rem 0 2rem 0;
	padding: 100px;
}
.book-intro h1 {
	margin-bottom: 3rem;
}
.book-intro p {
	font-size: 1.8rem;
}
.book-head img {
    	max-width: 100%;
    	width:auto;
    	max-height: 650px;
    	margin: -50px auto 0px auto;
}
.buy-books-now {
	margin-top: 0;
	align: center;
	margin-right: auto;
	margin-left: auto;
}
.buy-books-now h3 {
	margin-bottom: 0;
}
.buy-books-now ul {
	list-style: none;
	-webkit-padding-start: 0;
}
.buy-books-now ul li {
	display: -webkit-inline-box;
	float: left;
}

/* Semi-Transparent Buy Books */
.buy-book-now-button {
	display: inline-block;
	margin: 3rem 5px; 
	font-family: Lato, Helvetica, "san-serif";
	font-size: 18px;
	text-transform: uppercase;
	/*width: 200px;*/
	padding: 20px 18px;
	color: #fff;
	border: 2px solid #fff;
	text-align: center;
	outline: none;
	text-decoration: none;
	-webkit-transition: background-color 0.2s     ease-out, border-color 0.2s ease-out;
	transition: background-color 0.2s ease-out,
	border-color 0.2s ease-out;
}
.buy-book-now-button:hover,
.buy-book-now-button:active {
	text-decoration: none;
	color: #fff;
	background-color: #fff; /* fallback */
	background-color: rgba(255, 255, 255, 0.4);
	border-color: #fff; /* fallback */
	border-color: rgba(255, 255, 255, 0.4);
	-webkit-transition: background-color 0.3s     ease-in, border-color 0.3s ease-in;
	transition: background-color 0.3s ease-in,
	border-color 0.3s ease-in;
}
.buy-book-now-button:link  {
	text-decoration: none;
	color: #fff;
}
.book-single-body {
    	background: #fff;
    	margin: 1rem 0;
    	margin-top: 3rem;
	color: #585858;
	padding-left: 3%;
    	padding-right: 3%;
    	padding-top: 0.5%;
    	padding-bottom: 0.5%;
    	display:inline-block;
}
.book-review {
    	background: #fff;
    	margin: 1rem 0;
	color: #585858;
	padding-left: 3%;
    	padding-right: 3%;
    	padding-top: 0.5%;
    	padding-bottom: 0.5%;
    	min-height: 280px;
}
.book-single-body img.alignleft {
    float: left;
    margin: 0 2.5em 1em 0;
}
.book-single-body ul {
	list-style: none;
	-webkit-padding-start: 0px;
    	text-align: center;
}
.book-single-body ul li {
	display: -webkit-inline-box;
	float: left;
    	width: 50%;
}
.book-covers-gallery {
	background: #fff;
    	margin-bottom: 3rem;
    	margin-top: 0.5rem;
	color: #585858;
    	padding-top: 0.5%;
    	padding-bottom: 0.5%;
}
.book-covers-gallery ul {
	list-style: none !important;
	-webkit-padding-start: 0px;
	text-align: center;
}
.book-covers-gallery ul li {
	float: left;
    width: 20%;
    height:250px;
    margin:2%;
    display:inline-block;
}
/*.book-covers-gallery img {
	height: 250px;
	width: auto;
	max-width: 100%;
	padding: 10px;
}*/
.additional-content-tabs {
	background: #fff;
    	padding: 3rem 1rem;
	color: #585858;
	padding-left: 3%;
    	padding-right: 3%;
}
.tab-menu {
	padding-right: 0;
	padding-left: 0;
	margin-bottom: 1rem;
	margin-top: 1rem;
    	padding-top: 0.5%;
    	padding-bottom: 0.5%;
}
.tab-menu ul {
	-webkit-padding-start: 0px;
}


/*============================
  	Book Sidebar
============================*/
div#booksidebar{
	float:left;
}
.book-sidebar {
	background: #fff;
	margin: 3rem 2% 0rem 0;
	color: #585858;
	width: 20%;
	padding-left: 3%;
    	padding-right: 3%;
    	padding-top: 0.5%;
    	padding-bottom: 1.5%;
}
.col-md-3.book-sidebar{
	float:left;
}
.book-sidebar ul {
	list-style: none;
	-webkit-padding-start: 0;

}
.book-sidebar ul li {
	border-bottom: dashed 1px #e5e5e5;
	border-top: dashed 1px #e5e5e5;
	padding: 4px 0;
}
/* Testimonials Slider */
#testimonials-slider .owl-item div{
  padding:5px;
}
#testimonials-slider .owl-item img{
  display: block;
  width: 100%;
  height: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.testimonial-author-comments {
background: url("img/quote.png") no-repeat scroll 6px 10px rgba(0, 0, 0, 0);
font-style: italic;
padding-left: 35px;
padding-top: 20px;
text-align: center;
}
.testimonial-author-comments p {
	margin: 10px 0 0 0;
	padding-left: 35px;
}
.reviewer-name {
	font-weight: bold;
	font-size: 2rem;
	float: right;
	margin-bottom: 20px;
	margin-right: 50px;
}
.reviewer-name p:before {
	content: '-  ';
}
/* Editions Tabs */
.tab-lists ul {
	list-style: none;
	-webkit-padding-start: 0px;
}
.tab-lists ul li {
    display: -webkit-inline-box;
    width: 33%;
    border-bottom: dashed 1px #e5e5e5;
    border-top: dashed 1px #e5e5e5;
    padding: 4px 0;

}

/*============================
  	Book Category Layout
============================*/

.book-cat-header p {
	font-size: 2rem;
}
.book-cat-tiles {
	color: #585858;
	text-align: center;
}
.book-cat-tiles ul {
	list-style: none;
	-webkit-padding-start: 40px;
	margin-top: 1rem
}
.book-cat-tiles ul li {
    	width: 33%;
    	padding: 1.5%;
    	float: left; 
    	display: -webkit-inline-box;
}

.book-cat-tiles img {
	    max-width: 100%;
	    width:auto;
	    max-height: 450px;
}

/*============================
  	Short Stories Page
============================*/
.short-stories-blocks li {
    padding-top: 1.55556rem;
    padding-bottom: 1.55556rem;
   border-bottom: 1px solid #d1d1d1;
    border-right: 1px solid #d1d1d1;
    color: #585858;
}
.short-stories-blocks li:nth-of-type(3n) {
    border-right: none;
}
 .short-stories-blocks li:nth-last-child(-n+3) {
 	border-bottom: none;
 }
.short-stories-blocks li:last-of-type, {
    border-right: none;
}

ul.short-stories-blocks {
	list-style: none;
	-webkit-padding-start: 0px;
}
.short-stories-blocks li {
	height: 200px;
	padding: 20px;
}
.mag-n-news-height li {
	height: 130px;
}
.short-stories-blocks img {
    width: 95px;
    height: 160px;
    margin-right: 12px;
    margin-bottom: 20px;
}
.ss-content p:first-child {
	color: #828282;
	font-size: 1.2em;
	font-weight: 400;
	margin: 0;
}
.mag-n-news-height p:first-child{
	margin-bottom: 10px;
}
.ss-content span {
	font-weight: 500;
}

/*============================
  	About John
============================*/
.about-section {
	color: #585858;
}
.about-section img {
	margin: 0 1em 0 0;
}
.about-section h4 {
	margin-bottom: 0;
}
.first-section {
	margin-top: -10px;
    	position: inherit;
}

/*============================
  	Reading Page
============================*/
.readings-page-block {
	color: #585858;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.readings-page-block ul {
	list-style: none;
}
.reading-blocks {
    padding-top: 1.55556rem;
    padding-bottom: 1.55556rem;
   border-bottom: 1px solid #d1d1d1;
    border-right: 1px solid #d1d1d1;
    color: #585858;
}
.reading-blocks ul li i:before {
    padding-right: 5px;
}
.reading-blocks:nth-of-type(3n) {
    border-right: none;
}
.reading-blocks:nth-last-child(-n+3) {
 	border-bottom: none;
 }
.reading-blocks:last-of-type {
    border-right: none;
}
.readings-page-list {
	color: #545454;
	text-align: center;
}
.readings {
    color: #545454;
}
.readings-block {
    	background: #fff;
    	padding: 5px 10px;
    	margin-bottom: 5px;
}
.readings-block h4 {
	margin-left: 10px;
}
.readings ul {
	list-style: none;
}
.readings ul li {
    margin: 2px 20px 0 -15px;
}

.readings ul li i:before {
    padding-right: 5px;
}
/*============================
  	Blog & Readings Section
============================*/
.blog-preview {
	margin-bottom: 3rem;
	color: #545454;
}
.blog-preview img {
	max-width: 100%;
	height: 220px
}

.blog-preview footer {
	background: #fff;
	padding: 12px;
	height: 244px;
}
.read-more-btn {
    text-transform: uppercase;
}
.blog-crop {
    display: inline-block;
    height: 350px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1rem;
}
.blog-cats {
	margin-top: 1rem;
	padding-top: 10px;
}
.categories {
	font-size: 36px;
	list-style: none;
}
.categories ul {
	list-style: none;
	margin-top: 3rem;
	-webkit-padding-start: 10px;
}
.categories ul  li {
	font-size: 18px;
	margin: 10px 0;
	border-bottom: dashed 1px #e5e5e5;
}
.categories ul li:last-child {
	border-bottom: none;
}

/*============================
  	Footer
============================*/

#footer {
    background: #353535;
    width: 100%;
    /* position: absolute; */
    left: 0;
    z-index: 1;
    bottom: 0;
}
.social-links {
    overflow: hidden;
    border-top: 1px solid #424242;
    padding: 10px 0 10px 0;
}
.social-links ul {
    list-style: none;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: center;
}

.social-links ul li {
    padding: 0 15px 0 5px;
    display: inline;
}
.copywrite, .copywrite a {
	color: #676767;
}
.fa-2x {
    color: #E2E2E2;
}
.fa-2x:hover {
    color: #fff;
    transition-duration:.3s;
    -webkit-transition-property:color;
    -webkit-transition-duration:.1s;
    transition-property:border-color;
    transition-duration:.3s;
    -webkit-transition-property:border-color;
    -webkit-transition-duration:.3s;
}

/*============================
  	CTA BUTTONS
============================*/
/* View Book on Sliders Button */
.view-book-btn {
	background: #fff;
	padding: 10px 20px;
	text-transform: uppercase; 
}
.view-book-btn:hover, .view-book-btn:active {
	text-decoration: none;
	
}

/* Semi-Transparent Fade*/
.ghost-button-semi-transparent {
	display: inline-block;
	margin: 3rem 0; 
	font-family: Lato, Helvetica, "san-serif";
	font-size: 18px;
	text-transform: uppercase;
	width: 200px;
	padding: 20px;
	color: #fff;
	border: 2px solid #fff;
	text-align: center;
	outline: none;
	text-decoration: none;
	-webkit-transition: background-color 0.2s     ease-out, border-color 0.2s ease-out;
	transition: background-color 0.2s ease-out,
	border-color 0.2s ease-out;
}
.ghost-button-semi-transparent:hover,
.ghost-button-semi-transparent:active {
	text-decoration: none;
	color: #fff;
	background-color: #fff; /* fallback */
	background-color: rgba(255, 255, 255, 0.4);
	border-color: #fff; /* fallback */
	border-color: rgba(255, 255, 255, 0.4);
	-webkit-transition: background-color 0.3s     ease-in, border-color 0.3s ease-in;
	transition: background-color 0.3s ease-in,
	border-color 0.3s ease-in;
}
.ghost-button-semi-transparent:link  {
	text-decoration: none;
	color: #fff;
}


/*============================
 	WHAT I AM READING HOME
============================*/

#whatImReadingHome .readingBook {
	/*display: flex;*/
	max-width: 260px;
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
}



/*============================
 	WHAT I AM READING
============================*/

/*#whatImReading .bookContainer {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}*/

.whatImReadingAll {
	padding-top: 30px;
}

#whatImReading h2 {
	text-align: left;
}

.readingBook {
	max-width: 300px;
	width: 100%;
	margin: 0 auto;
	margin-bottom: 30px;
}

.readingBook .leftSection img {
	/*height: auto;
	width: 100%;*/
	height: 100%;
	width: 100%;
}

.readingBook .leftSection {
	/*height: 312px;*/
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
}

.readingBook .rightSection {
	padding: 5px 10px;
	background-color: white;
	width: 100%;
	min-height: 170px;
}

.readingBook .rightSection p {
	font-size: 17px;
	line-height: 160%;
	color: #545454;
	margin-bottom: 0;
}

.readingBook .rightSection p span {
	font-weight: 600;
}

.readingBook .rightSection h3 {
	color: #b6c7d3;
	font-size: 20px;
	margin-top: 0;
}

.specialBtn {
	font-size: 20px;
	text-transform: uppercase;
	color: #b6c7d3;
	background-color: white;
	padding: 5px 25px;
	display: block;
	text-align: center;
	margin-bottom: 15px;
	margin-top: 15px;
}

.specialBtn i {
	padding-right: 7px;
	font-size: 15px;
	vertical-align: middle;
}

.specialBtn:hover, .specialBtn:focus {
	color: #b6c7d3;
	background-color: #dedede;
}

#homeBtn {
	display: inline-block;
	margin-bottom: 25px;
	text-align: left;
} 

.seeWhatIRead {
	text-align: center;
}

.seeWhatIRead p {
	margin: 0;
	display: inline-block;
	margin-right: 15px;
	color: #b6c7d3;
	font-size: 18px;
}


/*============================
    MEDIA QUERIES
============================*/

/* Boootstrap small */
@media (min-width: 768px) {

	
	#whatImReadingHome .readingBook {
		display: flex;
		max-width: 550px;
	}

	#whatImReadingHome .readingBook .leftSection {
		max-width: 220px;
		height: 350px;
	}

	#whatImReading {
		text-align: left;
	}
	

	#whatImReading .readingBook {
		margin-bottom: 30px;
		width: 30%;
		display: inline-block;
		vertical-align: top;
		margin-left: 1%;
		margin-right: 1%;
	}
	.readingBook .leftSection {
    		/*height: 315px;*/
    	}

}



/* Boootstrap medium */
@media (min-width: 992px) {
	#whatImReading .readingBook {
		width: 22%;
	}
	.readingBook .leftSection {
    		/*height: 300px;*/
    	}
}

/* Boootstrap large */
@media (min-width: 1200px) {
	#whatImReading .readingBook {
		width: 17%;
	}
	.readingBook .leftSection {
    		/*height: 255px;*/
    	}
}



/* Custom Media Queries */
/* Iphne 6 Port & Land */
@media only screen and (min-device-width : 320px) and (max-device-width : 787px) { 
	.intro-pro-pic {
		margin-top: -40px;
	}
	.intro {
    		margin: 20px 0 80px 0;
	}
	.intro h2 {
		font-size: 2.5rem;
		margin-bottom: 0.5rem;
		margin-top: 0.5rem;
		font-weight: 400;
	}
	.intro h3 {
		font-size: 2rem;
		margin-bottom: 1rem;
		margin-top: 0.5rem;
		font-weight: 300;
	}	
	.ghost-button-semi-transparent {
		margin: 1rem 0;
	}
	.item img {
    		max-width: 100%;
    		height: 450px;
	}
	.ereader {
	    background: transparent;
	    background-size: contain;
	    height: auto;
	    max-height: 600px;
	    margin-bottom: 0rem;
	}
	.signup h2 {
		margin-top: 6rem;
		font-size: 2.2rem;
	}
	#mc_embed_signup input.email {
		width: 100% !important;
	}
	.signup {
	    	margin-left: 0; 
	    	float: right;
	}
	.blog-preview footer {
    		height: 190px;
	}
	.blog-preview footer {
    		height: 315px;
	}
	.item img {
	    max-width: 100%;
	    height: auto;
	}
	.readings-block {
	    background: #fff;
	    padding: 5px 10px;
	    margin-bottom: 3rem;
	}
	.buy-books-now {
		text-align: center;
	}
	.buy-book-now-button {
		width: 85% !important;
		margin-bottom: 0;
	}
	.buy-book-now-button li:last-child {
		margin-bottom: 20px;
	}
	.book-head img {
	    	max-width: 100%;
	    	height: auto; 
	    	margin: 0 auto;  
	}
	.buy-books-now ul li {
		display: block;
	}
	.book-cat-tiles ul {
    		list-style: none;
   		-webkit-padding-start: 0;
	}
	.book-cat-tiles ul li {
	    	width: 100%;
	    	padding: 1.5%;
	    	float: left;
	    	margin: 1em 0 1.8em 0;
	}	
	.book-cat-tiles img {
		    width: auto;
		    max-width: 100%;
		    height: auto;
	}
	.book-sidebar {
    		display: none;
    	}
    	img.alignleft {
    		float: none !important;
    		margin: 0 1em 1em 0;
	}
	.tab-lists ul li {
    		display: -webkit-inline-box;
   		width: 100%;
    		border-bottom: dashed 1px #e5e5e5;
    		border-top: dashed 1px #e5e5e5;
    		padding: 4px 5px;
	}
	.books-intro {
    		padding: 0; 
	}
	.hero-header {
		max-height: 1200px;
	}
	.short-stories-blocks li {
		border-right: none;
	}
	.short-stories-blocks li {
		height: auto;
		padding: 20px;
	}
	div.pull-left {
    		float: inherit !important;
	}
	.short-stories-blocks li:nth-last-child(-n+3) {
 		border-bottom: 1px solid #d1d1d1;
 	}
 	.short-stories-blocks li:last-child {
 		border-bottom: none;
 	}
 	.mag-n-news-height li {
		height: 130px;
		padding-bottom: 1%;
	}
	.book-covers-gallery ul li {
    		float: none;
    		width: 100%;
	}
	.book-head img {
		display: none;
	}
	.intro-pro-pic img {
	    	display: none;
	}
	.reading-blocks {
		border-bottom: 1px solid #d1d1d1;
		border-right: none;
		color: #585858;
		padding: 0 0 10px 0;
	}
	.readings-page-block ul {
		list-style: none;
		-webkit-padding-start: 0px;
		-webkit-margin-before: 0;
		-webkit-margin-after: 0;
		margin: 0;
	}
	.book-single-body img.alignleft {
    		float: none;
    		margin: 0 0 10px 20%;
		}
}

@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) { 
	.ghost-button-semi-transparent {
		margin: 20px !important;
	}
	.signup h2 {
		margin-top: 6rem;
		font-size: 2.2rem;
	}
	.blog-preview footer {
    		height: 200px;
	}
	.blog-preview img {
    		max-width: 100%;
    		height: auto;
	}
	.item img {
	    	max-width: 100%;
	    	height: auto;
	}
	.readings-block {
	    	background: #fff;
	    	padding: 5px 10px;
	    	margin-bottom: 3rem;
	}
	.buy-books-now ul li {
		display: block;
	}
	.book-cat-tiles ul {
    		list-style: none;
   		-webkit-padding-start: 0;
	}
	.book-cat-tiles img {
    		width: auto;
    		max-width: 100%;
    		height: auto;
	} 
	.book-cat-tiles ul li {
	    	width: 100%;
	    	padding: 1.5%;
	    	float: left;
	    	margin: 1em 0 1.8em 0;
	}
	.book-cat-tiles img {
		    width: auto;
		    max-width: 100%;
		    height: auto;
	}
	.book-sidebar {
    		display: none;
	}
	img.alignleft {
    		float: none !important;
    		margin: 0 1em 1em 0;
	}
	.tab-lists ul li {
    		display: -webkit-inline-box;
   		width: 100%;
    		border-bottom: dashed 1px #e5e5e5;
    		border-top: dashed 1px #e5e5e5;
    		padding: 4px 5px;
	}
	.intro {
    		margin: 20px 0 80px 0;
	}	
	.mag-n-news-height li {
		height: auto;
		max-width: 130px;
		padding-bottom: 1%;
	}
	.book-covers-gallery ul li {
    		float: none;
    		width: 100%;
	}
	.book-head img {
		display: none;
	}
	.intro-pro-pic img {
	    	display: none;
	}
}

/* Ipads */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { 
	.ghost-button-semi-transparent {
		margin: 40px !important;
	}
	.ereader {
	    	background: transparent !important;
	    	background-size: contain;
	    	height: 360px;
	    	max-height: 600px;
	}
	.signup h2 {
		margin-top: 6rem;
		font-size: 2.2rem;
	}
	.blog-preview footer {
    		height: 160px !important;
	}
	.blog-preview img {
    		width: 100%;
    		max-width: 100%;
    		height: auto;
	}
	.readings-block {
 		margin-bottom: 3rem;
	}
	.item img {
    		max-width: 100%;
	    	height: auto !important;
	}
	.buy-books-now ul li {
		display: block;
	}
	.book-cat-tiles ul li {
	    	width: 30%;
	    	padding: 1%;
	    	/* float: left; */
	    	display: -webkit-inline-box;
	}

	.book-cat-tiles img {
		    width: 100%;
		    max-width: 100%;
		    height: 230px;
	}
	.short-stories-blocks li {
		    height: 220px;
		    padding: 20px;
	}
	.short-stories-blocks li {
		    padding-top: 1.55556rem;
		    padding-bottom: 1.55556rem;
		   border-bottom: 1px solid #d1d1d1;
		    border-right: 1px solid #d1d1d1;
		    color: #585858;
	}
	.short-stories-blocks li:nth-of-type(3n) {
    		border-right: none;
	}
 	.short-stories-blocks li:nth-last-child(-n+3) {
 		border-bottom: none;
 	}
	.short-stories-blocks li:last-of-type, {
    		border-right: none;
	}
	.tab-lists ul li {
		width: 33%;
	}
	.mag-n-news-height li {
		height: 130px;
		padding-bottom: 1%;
	}
	.book-covers-gallery ul li {
    		float: left;
    		width: 20%;
	}
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	
	.intro-pro-pic {
		margin-top: -130px;
	}
	.intro h2 {
		font-size: 3rem;
		margin-bottom: 0.5rem;
		margin-top: 0.5rem;
		font-weight: 400;
	}
	.intro h3 {
		font-size: 2.5rem;
		margin-bottom: 1rem;
		margin-top: 0.5rem;
		font-weight: 300;
	}	
	.ghost-button-semi-transparent {
		margin: 1rem 0;
	}
	.item img {
    		max-width: 100%;
    		height: 300px;
	}
	.ereader {
	    	background: url(http://yourwebsitedemo.eu/ebook/wp-content/uploads/2015/10/ereader-small1.png) no-repeat;
	    	background-size: contain;
	    	height: 360px;
	    	max-height: 600px;
	    	margin-bottom: 0;
	}
	.signup h2 {
		margin-top: 6rem;
		font-size: 2.2rem;
	}
	.blog-preview footer {
    		height: 264px;
	}
	.buy-books-now ul li {
		display: block;
	}
	.buy-books-now ul li a {
		font-size: 14px;
	}
	.buy-book-now-button {
	    	display: inline-block;
	    	margin: 1rem 5px;
	    	width: 100%;
	}
	
	.book-head img {
	    	max-width: 100%;
	    	height: 750px;
	    	margin: -10px auto 0px auto;	
	}	

	.book-cat-tiles ul li {
	    	width: 30%;
	    	padding: 1.5%;
	    	/* float: left; */
	    	display: -webkit-inline-box;
	}

	.book-cat-tiles img {
		    width: 100%;
		    max-width: 100%;
		    height: 400px;
	}
	.intro {
		margin-top: -20px;
	}
	
	.intro-pro-pic img {
		    width: auto;
		    height: 600px;
	}
	.short-stories-blocks li {
		    height: 220px;
		    padding: 20px;
	}
	.short-stories-blocks li {
		    padding-top: 1.55556rem;
		    padding-bottom: 1.55556rem;
		   border-bottom: 1px solid #d1d1d1;
		    border-right: 1px solid #d1d1d1;
		    color: #585858;
	}
	.short-stories-blocks li:nth-of-type(3n) {
    		border-right: none;
	}
 	.short-stories-blocks li:nth-last-child(-n+3) {
 		border-bottom: none;
 	}
	.short-stories-blocks li:last-of-type, {
    		border-right: none;
	}
	.tab-lists ul li {
		width: 33%;
	}
	.mag-n-news-height li {
		height: 130px;
		padding-bottom: 1%;
	}	
	.book-covers-gallery ul li {
    		float: left;
    		width: 20%;
	}
	.book-head img {
		display: block;
	}
	.intro-pro-pic img {
	    	display: block;
	}
	.readings-page-block {
	color: #585858;
	margin-top: 1rem;
	margin-bottom: 1rem;
	}
	.readings-page-block ul {
		list-style: none;
	}
	
}
@media screen and (max-width: 993px) {
	.col-md-4.twiiter{
	    	margin-bottom:20px;
	    }
	    .book-sidebar{
	    	width:100%;
	    }
	    .book-single-body{
	    	width:100%;
	    }
	    .short-stories-blocks li{
	    	border-right:none;
	    }
	    .book-head img{
	    	max-width:200px;
	    	margin:20px auto;
	    	display:block;
	    }
}
@media screen and (max-width: 769px) {
	.col-sm-5.intro-pro-pic img{
		max-width:400px;
		margin:0 auto 50px;
		display:block;
	}
	.grid-item-book{
		width:24%;
	}
	header{
		padding-top:80px;
		max-height:initial;
	}
	.home-banner{
		padding-top:60px !important;
	}
	.grid-item-book img{
		margin:0 auto;
		display:block;
	}
	
	.book-cat-tiles ul li{
		width:48% !important;
	}
	.book-covers-gallery ul li {
	    height:200px;
	    width:29%;
	}
	.book-covers-gallery ul li {
	    height:200px;
	    width:29%;
	}
}
@media screen and (max-width: 700px) {
.book-single-body img{
		float:none !important;
		display:block;
		margin:10px auto !important;
	}
}
@media screen and (max-width: 480px) {
	.grid-item-book{
		width:32%;
	}
	a.view-book-btn{
		font-size:12px;
	}
	.book-covers-gallery ul li {
	    width:44%;
	    
	}
	.icon-twitter{
		display:none;
	}
	.short-stories-blocks li{
		height:initial;
	}
	.short-stories-blocks li .ss-content{
		clear:both;
		width:100%;
	}
	.view-all-books{
		padding:5px 10px !important;
	}
	div#whatimreading{
		margin-top:100px !important;
	}
}
@media screen and (max-width: 400px) {
	.grid-item-book{
		width:32%;
	}
}
@media screen and (max-width: 992px) {
	.book-cat-tiles ul li{
		width:30%;
	}
	.blog-preview img{
		max-height:220px;
		height:initial;
		width:auto;
		margin:0 auto;
		display:block;
	}
	.reading-blocks{
		border-right:none;
	}
	.blog-preview footer{
		height:initial;
	}
}
@media screen and (min-width: 1300px) {
	.icon-twitter{
		margin-right:20px;
	}
}
@media screen and (max-width: 1300px) {
	.menu a{
		font-size:13px;
	}
	.logo a{
		font-size:2rem !important;
	}
	.icon-twitter{
		margin-right:120px;
	}
	.topmenu{
		width:70%;
	}
}
/* New home page */
.welcome-text{
	color:#597193;
	font-size:30px;
	line-height:36px;
	text-align:center;
	margin:40px 0;
}
.readings-block:last-child{
	padding-bottom:24px;
}
.home-what-im-reading{
	color:#E5E5E5;
	background:#5A7292;
	padding:0 70px;
	margin-bottom:50px;
}
div#whatimreading .owl-wrapper-outer{
	padding:50px 0;
}
.readingmonth{
	position:absolute;
	bottom:20px;
	padding:0 15px;
}
.book-details{
	padding:0 15px;
	font-size:14px;
}
.book-details img{
	padding-bottom:20px;
}
.sepreator{
	width:1px;
	border-right:1px dashed #fff;
	height:170px;
	position:absolute;
}
#whatimreading .owl-item:first-child .sepreator {
	display:none;
}

#whatimreading .owl-buttons .owl-prev{ 
    width: 55px; 
    height: 55px !important;
    padding-top: 33px !important; 
    overflow: hidden !important;
    background: transparent url(/wp-content/themes/jboyne/img/prev.png) 0 0 no-repeat !important;
    margin: 0 !important;
    float: left;
    position:absolute;
    top:35%;
    left:-50px;
} 
#whatimreading .owl-buttons .owl-next{ 
    float: right;
    background: transparent url(/wp-content/themes/jboyne/img/next.png) 0 no-repeat !important;
    position:absolute;
    top:29%;
    right:-75px;
    height:75px !important;
     width: 55px; 
}
#whatimreading .owl-buttons{
	display:block;
}
#whatimreading  .owl-buttons div{
	background-color:transparent !important;
}
.carosel-title{
	font-size:20px;
	float:left;
	padding:30px 10px 0px 10px;
}
.view-all-books{
	float:right;
	padding:30px 10px;
	text-decoration:underline;
	font-size:16px;
	color:#E5E5E5;
}
div#whatimreading{
	margin-top:60px;
}
.view-all-books a:hover{
	color:#fff;
}
#whatimreading .owl-pagination{
	display:none;
}
.latestnews-section{
	margin-bottom:50px;
}
#responsive-menu #responsive-menu-title, #responsive-menu{
	background:#202024 url('img/black_linen_v2_@2X.png') repeat left top !important;
}
.intro-pro-pic-media{
	display:none;
}
.book-cat-tiles ul{
	padding-left:0;
}
.home-banner{
	padding-top:100px;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:bottom center;
}
/* End of home */
/*Category */
.category-banner{
	min-height:400px;
	padding-top:100px;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:bottom center;
}
.category{
	background:#e5e5e5;
	color:#000;
	padding:40px 0;
}
/* End of category*/