
/*
styles for the Writerspace book plugin
----------------------------------------*/

/* book-list
----------------------------------------*/
.book-content{
	float:left;
	height:360px;
	width:200px;
	margin:0 10px 0 0;
}

.book-image img,.book-image{
	height:300px;
	width:200px;
	position:relative;
}

.all-books-container{
	display:flex;
	flex-wrap:wrap;
}

.book-content.all-books{
	float:none;
	display:block;
	width:200px;
	margin:0 5px 20px 5px;
	text-align:center;
	height:auto;
}

.book-content.all-books .book-image{
	
	position:relative;
	padding:0 0 10px;
}

.book-content.all-books .book-image img{
	width:200px;
	height:300px;
	position:relative;
}

.book-image img{
	border:1px solid #cccccc;
}

.book-image .hover {
    border-style: solid;
    border-color:#fff;
    border-width:0;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
	-webkit-transition: border-width 200ms ease-out;
	-moz-transition: border-width 200ms ease-out;
	-o-transition: border-width 200ms ease-out;
	transition: border-width 200ms ease-out;
}

.book-image:hover .hover {
	border-width:12px;
}

.book-image p{
	height:168px;
	width:198px;
	border:1px solid #eeeeee;
	padding:130px 0 0 0;
	text-align:center;
}
p.book-title{
	padding:10px 0 0 0;
	font-size:14px;
	line-height:1.2em;
	text-align:center;
}

.book-content.audio-img{
	float:left;
	height:260px;
	width:200px;
	margin:0 10px 0 0;
}

.book-content.audio-img .book-image img, .book-content.audio-img .book-image{
	height:200px;
	width:200px;
	position:relative;
}


h2.book-list{
	padding:0 0 15px 0;
	line-height:1em;
}

h2.book-list-print{
	padding:50px 0 0 0;
	line-height:1em;
}
h2.book-list a{
	font-style:normal;
}
.book-list-desc{
	padding:0 0 15px 0;
}
ul.book-list-thumbs{
	margin:0;
	padding:0;
	list-style:none;
}

ul.book-list-thumbs li{
	float:left;
	margin:0 10px 10px 0;
	text-align:center;
	font-size:12px;
	line-height:1.2em;
	width:150px;
	
}

ul.book-list-thumbs.standalone li{
	height:270px;
}

ul.book-list-thumbs li img{
	width:150px;
	height:243px;
	padding:0 0 5px 0;
}

ul.book-list-thumbs li img.audio-img{
	width:150px;
	height:auto;
	padding:0 0 5px 0;
}

ul.book-list-thumbs.other-projects li img{
	width:150px;
	height:auto;
	padding:0 0 5px 0;
}

ul.book-list-thumbs.other-books li{
	width:100px;
	padding:0 
}

ul.book-list-thumbs.other-books li img{
	width:100px;
	height:162px;
	padding:0 0 5px 0;
}

ul.book-list-thumbs li p{
	padding:0;
}

.all-books-series-links{
	padding:0 0 25px 0;
	text-align:center;
}

.all-books-series-links a{
	padding:5px 10px;
	display:inline-block;
	margin:0 5px 10px 0;
	background:#efe1d3 ;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	
}

.all-books-series-links a.active{
	background:#8C2A01;
	color:#fff;
}
/* book single
----------------------------------------*/
.book-single-content{
	display:flex;
}
.book-info{
	text-align:center;
	font-size:12px;
	font-weight:700;
	line-height:1.3em;
	width:30%;
}

.book-info img.wp-post-image{
	width:100%;
	max-width:250px;
	height:auto;
}
.ws-book-buy-links{
	width:20%;
}

.ws-book-buy-links .buylinks {
	padding:0 15px 25px 40px;
}
.ws-book-buy-links .buy-now-label{
	margin:0 0 10px;
}

.ws-book-buy-links .buy-link-title p{
	padding:15px 0 10px 0;
	margin:0;
}

.ws-book-buy-links .buylinks .buy-link-title:first-of-type p{
	padding:0 0 10px 0;
	margin:0;
}


.book-info .autographed-copies .buy-link-title p{
	background-color:#81A99E;
	padding:10px !important;
	color:#fff;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
	margin:0 0 10px !important;
}

.autographed-copies {
	padding:5px;
	border:solid 2px #eee;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
}

.autographed-copies img {
	max-width:28%;
	margin:0 2%;
}

#ws-book-tabs{
	width:50%;
	float:right;
}

ul.book-tabs{
	list-style:none;
	padding:0;
	margin:0 0 25px 0;
	text-align:left;
	border-bottom:2px solid #00a2ad;
	overflow:hidden;
}

ul.book-tabs li{
	display:inline-block;
	padding:0;
	margin:0;
}

ul.book-tabs li a{
	display:block;
	padding:10px;
	color:#333;
	background:#eee;
	text-decoration:none;
	font-size:14px;
}

ul.book-tabs li a.active, ul.book-tabs li a:hover{
	color:#fff;
	background:#00a2ad;
}

.book-tab-content{
	display:none;
}

.book-tab-content.active{
	display:block;
}

.book-tab-content.teasers img{
	padding:0 0 25px 0;
}

#other-books img {
	height:100px;
	width:60px;
}

#other-books li {
	float:left;
	font-size:12px;
	text-align:center;
	padding:5px;
}

#other-books li p{
	padding:0;
}

.book-social-icons{
	max-width:300px;
	margin:0 auto;
}

.book-social-icons img{
	padding:0 0 10px;
}

.newsletter-invitation-blurb{
	margin-top:25px;
}

.bottom-book-links{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	padding:25px 0 50px;
	position:relative;
	
}

.bottom-book-links a{
	display:flex;
	flex-basis:18%;
	flex-wrap:wrap;
	background:#fff;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	-o-border-radius:8px;
	border-radius:8px;
	-moz-box-shadow: 0 0 10px #ccc !important;
	-webkit-box-shadow: 0 0 10px #ccc !important;
	box-shadow: 0 0 10px #ccc !important;
	align-items:center;
	align-content:center;
	font-family: mostra-nuova, sans-serif;
	padding:10px 5px;
	margin: 0 2% 0 0;
}

.bottom-book-links a:last-child{
	margin: 0;
}

.bottom-book-links a:hover{
	background:#f3f3f3;
	text-decoration:none;
}

.bottom-book-links a span{
	flex-basis:100%;
	text-align:center;
	line-height:1.2em;
	font-size:21px;
	
}

.bottom-book-links a span.green-text{
	color:#6c8a5d;
}

.bottom-book-links a span.purple-text{
	color:#1d313c;
}

.affiliate-text{
	padding:50px 25px;
	font-size:13px;
	line-height:2em;
	color:#666;
	text-align:center;
	position:relative;
}

.affiliate-text:before {
  content: "";
  border-bottom:solid 1px #a6ba9b;
  width: 80%;
  position:absolute;
  left:10%;
  top:0;
}

.home-buylinks{
	margin:20px 0 10px;
}

.home-buylinks{
	margin:20px 0 0;
}

.home-buylinks img{
	margin:0 0 10px;
}

.home-featured-more-options a{
	font-size:14px;
	color:#1d313c;
}

/* printable books
----------------------------------------*/

.printable-book-list{
	width:100%;
}

.printable-book-list td.print-book-row{
	border-bottom:1px solid #ccc;
	vertical-align:middle;
	padding:5px;
}

.printable-book-list td.print-book-row.title{
	width:24%;
	padding-right:1%;
}
.printable-book-list td.print-book-row.series{
	width:24%;
	padding-right:1%;
}

.printable-book-list td.print-book-row.date{
	width:24%;
	padding-right:1%;
}

.printable-book-list td.print-book-row.isbn{
	width:24%;
}



.print-book-check{
	padding:10px;
	border:solid 1px #333 !important;
	width:1px;
}

#pf-body table table{
    margin:0;
}

#pf-body td {
    vertical-align: middle !important;
}

.print-sortby-form{
	float:right;
	margin:0 0 25px 0;
}

.print-sortby{
	width:auto !important;
}
.print-series-title{
	padding:25px 0 0 0;
	margin:0;
}

/* menu-book-sub-menu
----------------------------------------*/

ul#menu-book-sub-menu {
	list-style:none;
	padding:0 0 40px;
	margin:0;
	display:flex;
	flex-wrap:wrap;
}

ul#menu-book-sub-menu li .sep{
	list-style:none;
	padding:0 8px;
	
}

ul#menu-book-sub-menu li:last-child .sep{
	display:none;
}

ul#menu-book-sub-menu li.current-menu-item a{
	text-decoration:underline;
}

/* reader guide
----------------------------------------*/

.readers-guide-grid {
	display:flex;
	flex-wrap:wrap;
	
}

.readers-guide-grid .readers-guide{
	width:31.33%;
	padding:1% 1% 2%;
	text-align:center;
}

.readers-guide-grid .readers-guide .readers-guide-img{
	padding:0 0 10px;
}

.readers-guide-grid .readers-guide .readers-guide-img img{
	height: 308px;
	width: 205px;
}

/* responsive media queries
----------------------------------------*/
@media (min-width: 1800px){

}

@media (max-width: 1440px){

}

@media (min-width: 1240px) {

}

@media (max-width: 1239px) {
	.readers-guide-grid .readers-guide {
		width: 48%;
	}
}

@media (min-width: 1024px) and (max-width: 1239px) {

}

@media (max-width: 1023px) {

}

@media (max-width: 959px) {

}

@media (min-width: 768px ) and (max-width: 959px) {
	
	.ws-book-buy-links{
		width:30%;
	}
	
	.book-info {
		width:20%;
	}

	.bottom-book-links a{
		flex-basis:31%;
		margin:0 1% 10px;
		height:100%;
	}
	
	

}

@media (min-width: 481px ) and (max-width: 979px) {

}

@media (min-width: 768px){

}

@media (max-width: 767px) {
	/* books
	----------------------------------------*/
	
	.book-single-content {
    display: block;
	}

	.book-info {
    float: none;
    padding: 0 0 25px;
    width:100%;
  }
   
  .ws-book-buy-links .buylinks {
    padding: 0 0 25px 0;
	}
  
  .ws-book-buy-links{
		width:100%;
	}
	
   #ws-book-tabs {
    width: auto;
    float: none;
	}
	
   ul.book-tabs li {
    display: block;
    padding: 0;
    margin: 0;
		}
		.book-social-icons img {
	    padding: 0 5px 10px;
	    width:45px;
	    height:45px;
		}
		ul.book-list-thumbs li img {
	    width: 140px;
	    height: 227px;
	    padding: 0 0 5px 0;
	    max-width:100%;
		}
		ul.book-list-thumbs li {
	    float: left;
	    width:48%;
	    margin:0 1%;
		}
		
		.bottom-book-links a{
			flex-basis:100%;
			margin:0 0 10px;
		}
	
	.readers-guide-grid .readers-guide {
		width: 100%;
	}
	
	.readers-guide-grid .readers-guide img{
		width: auto;
		height: auto;
	}
}

@media (min-width: 581px ) and (max-width: 959px) {

}

@media (max-width: 580px){

}

@media (min-width: 481px ) and (max-width: 767px) {

}

@media (min-width: 481px){

}

@media (max-width: 480px) {

}

@media (max-width : 320px) {

}

/* height queries
----------------------------------------*/
@media (max-height: 900px) {

}

@media (max-height: 800px) {

}

@media (max-height: 720px) {

}

@media (max-height: 640px) {

}

@media (max-height: 450px) {

}

/* Wide book trailers layouts & responsive embeds
------------------------------------------------*/
.book-single-content.trailers-active {
	display: block;
}
.book-single-content.trailers-active .book-info,
.book-single-content.trailers-active .ws-book-buy-links {
	display: none;
}
.book-single-content.trailers-active #ws-book-tabs {
	width: 100%;
	float: none;
}

/* Botanical Trailer styling — Daughter of Montague palette */
.book-tab-content.trailers {
	background: #0c2518; /* deep forest green */
	color: #f5ede0;      /* warm cream */
	padding: 40px 30px;
	border-radius: 10px;
	border: 1px solid #c9a227; /* gold border */
	box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 0 60px rgba(12,37,24,0.6);
	margin-top: 20px;
	position: relative;
}

/* Decorative gold top accent line */
.book-tab-content.trailers::before {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #c9a227, #e8cc6a, #c9a227);
	margin: 0 auto 30px;
	border-radius: 2px;
}

.book-tab-content.trailers .tab-title {
	color: #c9a227; /* gold */
	font-size: 22px;
	margin-bottom: 25px;
	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.trailers-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	justify-content: center;
	margin-bottom: 40px;
}

.trailers-gallery .video-card {
	flex: 1 1 100%;
	max-width: 860px;
	background: #112b1c; /* slightly lighter forest green */
	border: 1px solid rgba(201, 162, 39, 0.45); /* subtle gold border */
	border-radius: 8px;
	padding: 14px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.trailers-gallery .video-card:hover {
	transform: translateY(-4px);
	border-color: #c9a227; /* full gold on hover */
	box-shadow: 0 10px 28px rgba(155, 31, 110, 0.35); /* magenta glow */
}

.book-tab-content.trailers .video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: 5px;
	background: #000;
	border: 1px solid rgba(201, 162, 39, 0.2);
}

.book-tab-content.trailers .video-container iframe,
.book-tab-content.trailers .video-container video,
.book-tab-content.trailers .video-container object,
.book-tab-content.trailers .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Buy links section under trailer — styled to match site */
.trailers-buy-links {
	margin-top: 40px;
	padding-top: 35px;
	border-top: 1px solid rgba(201, 162, 39, 0.35); /* gold divider */
	text-align: center;
}

.trailers-buy-title {
	color: #c9a227; /* gold */
	font-size: 20px;
	margin-bottom: 22px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.trailers-buy-links .buylinks {
	max-width: 580px;
	margin: 0 auto;
	padding: 28px 30px;
	background: rgba(10, 30, 18, 0.7);
	border: 1px solid rgba(201, 162, 39, 0.3);
	border-radius: 8px;
	text-align: left;
	box-shadow: inset 0 2px 6px rgba(0,0,0,0.4);
}

.trailers-buy-links .buylinks a {
	color: #fff;
	background: #9b1f6e; /* magenta — matches site nav/accent */
	padding: 8px 16px;
	margin: 5px 8px 10px 0;
	display: inline-block;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	font-size: 13px;
	letter-spacing: 0.3px;
}

.trailers-buy-links .buylinks a:hover {
	background: #be2888; /* brighter magenta on hover */
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(155, 31, 110, 0.45);
	text-decoration: none;
}

.trailers-buy-links .buylinks br {
	display: none;
}

.trailers-buy-links .buylinks .buy-now-label {
	color: #c9a227; /* gold */
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 12px;
	margin-bottom: 16px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.3);
	padding-bottom: 10px;
}

.trailers-buy-links .buylinks .buy-link-title p {
	color: #c8bfa8; /* warm light cream for edition labels */
	font-size: 13px;
	margin: 14px 0 8px 0 !important;
	padding: 0 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.trailers-buy-links .buylinks .buy-link-title:first-of-type p {
	margin-top: 0 !important;
}
