/*
Theme Name:     Eden Bradley
Theme URI:      https://edenbradley.com/
Template:       kadence
Author:         Carrie Loves Design Studio
Author URI:     https://www.carrieloves.com
Description:    A custom Kadence child theme for Eden Bradley.
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:    kadence-child
*/

/* Customizations
---------------------------------------------------------------------------- */

::placeholder {
	color: #777777;
	font-size: .85rem
}

.kt-testimonial-item-wrap {
	flex: 1 1 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100%;
    max-width: 100%;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
	background-color: transparent !important;
}

div.site-footer-row-container-inner div.site-container {
	padding: 0px;
}

.site-middle-footer-inner-wrap .widget {
    margin-bottom: 0px;
}

.kadence-pro-fixed-footer-item {
    top: 50% !important;
	max-width: 78px;
}

.seriesdescription {
	  text-align: center;
    margin-bottom: 2rem;
}

/* Email Octopus */

[data-form="92a6ef1e-5bfe-11ee-b21c-431d86c5896b"] .form-control,
[data-form="92a6ef1e-5bfe-11ee-b21c-431d86c5896b"] .btn{
	border-radius: 4px !important;
	font-family: Quicksand !important;
	padding: 12px 20px !important;
}

[data-form="92a6ef1e-5bfe-11ee-b21c-431d86c5896b"] .btn {
	font-family: Quicksand !important;
	font-size: 13px !important;
	letter-spacing: 1px;
	background: #ffffff !important;
	color: #DBA1A2 !important;
	border: 1px solid #DBA1A2 !important;
}

[data-form="92a6ef1e-5bfe-11ee-b21c-431d86c5896b"] .btn:hover {
	background: #f2f1ef !important;
	color: #C7A59F !important;
	border: 1px solid #C7A59F !important;
}

[data-form="92a6ef1e-5bfe-11ee-b21c-431d86c5896b"] .emailoctopus-error-message, 
[data-form="92a6ef1e-5bfe-11ee-b21c-431d86c5896b"] .emailoctopus-success-message {
	color: #ffffff !important;
}

/* Books Page
---------------------------------------------------------------------------- */

h1#pagetitle {
    text-align: center;
}

#allbookscontainer,
#allaudiobookscontainer { 
	display: block; 
	position: relative; 
	width: 100%; 
}

#bookgrid {
    display: block;
    position: relative;
    margin-bottom: 5px;
    width: 100%;
	text-align: center;
}

h2.seriestitle {
	margin-bottom: 44px;
}

#bookentry, #country {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 21%;
    margin-right: 1.5%;
	margin-left: 1.5%;
    margin-bottom: 40px;
}

#bookentry img { 
	width: 100%; 
	height: auto; 
	margin-bottom: 10px;
	box-shadow: 4px 2px 14px 0px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 1230px) {
	#bookgrid {
	    margin-bottom: 10px;
	}
	
	#bookentry {
	    margin-bottom: 35px;
	}
}

@media only screen and (max-width: 1040px) {
	#bookgrid {
	    margin-bottom: 20px;
	}
	
	#bookentry {
	    margin-bottom: 26px;
	}
}

@media only screen and (max-width: 800px) {
	#bookentry, #country { 
	width: 28%;
	margin-right: 2%;
	margin-left: 2%;
	margin-bottom: 16px;
	padding: 0px;   
	}
	
	#bookgrid {
	    margin-bottom: 19px;
    }
    
    h2.seriestitle {
	    margin-bottom: 28px;
	}
	
	#bookgrid.upcomingreleases #bookentry {
	    margin-bottom: 35px;
	}
	
	#mobilebookscontent.entry-content-wrap #bookgrid.upcomingreleases #bookentry {
	    margin-bottom: 27px;
	}
}
 
@media only screen and (max-width: 680px) {
	#bookentry { 
		margin-bottom: 14px;
	}
	
	#bookgrid {
	    margin-bottom: 19px;
    }
}

@media only screen and (max-width: 590px) {
	#bookentry, #country { 
		padding: 0px;
		width: 45%;
		margin-right: 2%;
		margin-left: 2%;
		margin-bottom: 50px;
}

	#bookgrid {
        width: 100%;
	}
}



/* Book Detail Pages
---------------------------------------------------------------------------- */

h1#singlebooktitle {
	text-align: center;
}

#bookpageleft, 
#bookpageright {
	display: inline-block; 
	position: relative;
	vertical-align: top;
}

#bookpageleft {	
	width: 35%;
	padding-right: 5%;
	margin-right: 0px;
}

#bookpageright {	
	width: calc(65% - 5%);
}

img#bookcover {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	margin-bottom: -3px;
	box-shadow: 4px 2px 14px 0px rgba(0, 0, 0, 0.2);
}

h4.booksheader,
h4.linksheader {
	margin-top: 20px;
	margin-bottom: 0px;
}

#bookotherbooks h4 {
	margin-bottom: 10px;
	text-transform: none;
}

#ebooklinks,
#audiolinks,
#printlinks {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

#ebooklinks h4,
#audiolinks h4,
#printlinks h4 {
	margin-bottom: 10px;
}

#ebooklinks a.button,
#audiolinks a.button,
#printlinks a.button {
    text-align: center;
    margin-bottom: 0px;
    padding: 12px 24px;
}

#audiosection {
	margin-top: 30px;
  margin-bottom: 30px;
	display: block;
	position: relative;
	width: 100%;
}
#audiosection #audioleft {
	width: 25%;
	padding: .5%;
}
#audiosection #audioleft img {
	margin: 0 auto;
	text-align: center;
}
#audiosection #audioright {
	width: 62%;
	padding: 2%;
}
#audiosection iframe {
	width: 100%;
	height: auto;
	margin-bottom: 14px;
}
@media only screen and (max-width: 768px) {
	#audiosection #audioleft {
		width: 99%;
		margin: 0 auto;
		text-align: center;
		}

#audiosection #audioright {
	width: 96%;
	}
}
@media only screen and (max-width: 590px) {
	#audiosection #audioleft, 
	#audiosection #audioright {
		margin: 0 auto;
	}
}

#narratedby {
	font-size: 14px;
	text-align: center;
}

a.button.purchase {
    background: var(--global-palette9);
	border: 1px solid var(--global-palette5);
	color: var(--global-palette5);
}

a.button.purchase:hover {
    background: var(--global-palette8);
	border: 1px solid var(--global-palette1);
	color: var(--global-palette1);
}

.flexbox-container {
	display: flex;
  flex-wrap: wrap;
	justify-content: space-between;
	flex-direction: row;
	gap: 7px;
}

.flexbox-container .button {
	flex: 1 1 auto;
}

.flexbox-container > .button:first-child {
  flex: 1 0 97%;
}

@media only screen and (max-width: 800px) {
.flexbox-container > .button:first-child {
  flex: 1 0 97% !important;
}
}

@media screen and (max-width: 500px) {
.flexbox-container > .button:first-child {
		flex: 0 1 calc(100%);
}
	
.flexbox-container .button {
    flex: 0 1 calc(100%);
  }
}

#ebooksection,
#audiosection,
#printsection {
	display: block;
	position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
	text-align: center;
}

#narratedname {
	font-family: scotch-display, sans-serif;
	font-size: 1rem;
	font-style: italic;
}

#narratedtitle {
	text-transform: uppercase;
	font-size: 1rem;
	font-family: futura-pt, sans-serif;
}

.bookmatterinfo {
	text-transform: uppercase;
	font-size: 1rem;
	font-family: futura-pt, sans-serif;
}

.bookseries,
.bookgenre,
.booktrope{
	display: block;
}

.bookseries ul,
.bookgenre ul,
.booktrope ul{
	display: inline;
	list-style-type: none;
	margin: 0px;	
}

.bookseries li::marker,
.bookgenre li:marker,
.booktrope li:marker{
	display: none;
}

span.releasedate {
	margin-bottom: 20px;
}

#synopsissection {
	margin: 0px auto 30px;
	border: 0px solid #c6ac8f;
}

#bookotherbooks {
	margin-top: 25px;
    width: 100%;
    margin-bottom: 5px; 
	text-align: center;
}

#bookotherbooks.standalones,
#bookotherbooks.free-books,
#bookotherbooks.anthologies-novellas-shorts {	
	display: none;
}

#bookotherbooks img {
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 18%;
	height: auto;
	margin-right: .75%;
	margin-left: .75%;
	margin-bottom: 11px;
	box-shadow: 4px 2px 14px 0px rgba(0, 0, 0, 0.2);
}

span.bookseries li,
span.bookgenre li,
span.bookformat li,
span.booktrope li {
	display: inline;	
}

span.bookseries li:after,
span.booktrope li:after {
	content: ', ';
}

span.bookgenre li:last-child:after,
span.bookseries li:last-child:after,
span.booktrope li:last-child:after {
	content: '';
}

#bookpageright span#standalones.bookseries,
#bookpageright span#free-books.bookseries,
#bookpageright span.bookseries#anthologies-novellas-shorts {	
	display: none;
}

@media only screen and (max-width: 1040px) {
	#bookotherbooks img {
	    margin-bottom: 9px;
	}
	
	#bookotherbooks {
    	margin-bottom: 15px; 
	}
}

@media only screen and (max-width: 991px) {
	#bookotherbooks img {
	    width: 31.3%;
	    margin-right: .8%;
		margin-left: .8%;
	}

	#bookotherbooks {
	    width: 106.5%;
	}
}

@media only screen and (max-width: 780px) {
	#bookotherbooks img {
	    margin-bottom: 7px;
	}
}

@media only screen and (max-width: 767px) {
	#bookpageleft, 
	#bookpageright {
		display: block;
		width: 100%;
		padding-right: 0px;
	    margin-right: 0px;	
	}

	#bookpageleft {
		margin-bottom: 20px;
	}

	#bookotherbooks {
	    margin-bottom: 35px;
		width: 100%;
	}

	body.single-books .entry-content-wrap{
	    padding: 8px;
	}
	
	#allbookscontainer {
	    width: 100%;
	    margin-left: 0%;
	}
	
	#bookotherbooks img {
	    width: 31.3%;
	    margin-right: 1.7%;
	    margin-bottom: 11px;
	}
}

@media only screen and (max-width: 500px) {
	#bookotherbooks {
   	 	width: 100%;
	}
	
	#bookotherbooks img {
	    width: 46%;
	    margin-right: 2%;
		margin-left: 2%;
	    margin-bottom: 16px;
	}
}	

@media only screen and (max-width: 420px) {
	#bookotherbooks img {
	    margin-bottom: 13px;
	}
}	

@media only screen and (max-width: 380px) {
	#bookotherbooks img {
	    margin-bottom: 12px;
	}
}		


/* Upcoming Releases Page
---------------------------------------------------------------------------- */

#bookgrid.upcomingreleases { 
	margin-bottom: 0px; 
	margin-top: 2em;
	text-align: center;
}

#bookgrid.upcomingreleases #bookentry {
	text-align: center;
}

#bookgrid.upcomingreleases #bookentry img {
	margin-bottom: 10px;
}


/* Translations Books Page
---------------------------------------------------------------------------- */

#countriesgrid {
	display: block; 
	position: relative;	
	margin-bottom: 0px;
	margin-top: 30px;
	width: 1200px;
	max-width: 100%;
	text-align: center;
}

#country {
	display: inline-block; 
	position: relative;
	vertical-align: top;
	width: 22%;
	margin-left: 1.5%;
	margin-right: 1.5%;
}

#country img {
	width: 100%;
	height: auto;
}


/* Individual Country Pages
---------------------------------------------------------------------------- */

body.tax-country .archive-description::before {
	background-color: transparent;
}

body.tax-country .archive-description h1 {
	text-align: center;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
}

#bookgrid.countryarchive { 
	padding-top: 20px; 
	margin-bottom: 0px; 
}

#bookgrid.countryarchive #bookentry {
	margin-bottom: 20px;
}

#bookgrid.countryarchive #bookentry img {
	margin-bottom: 0px;
}


/* Books by Trope
---------------------------------------------------------------------------- */

.single-content ul#filters {
	padding-left: 0px;
}

#filters {
    list-style: none;
    text-align: center; 
    margin-top: 30px;
    margin-bottom: 30px;
}

#filters li {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
}

.bookbytrope { 
	display:inline-block; 
	vertical-align: top;  
	width: 21%;
    margin-left: 2%;
    margin-right: 2%;  
	margin-bottom: 49px; 
	padding: 0px;   
}

.bookbytrope img { 
	width: 100%;
	background-size:100% 100%!important; 
}

@media only screen and (max-width: 590px) {
	.bookbytrope { 
	display:inline-block; 
	vertical-align: top;  
	width: 46%;
    margin-left: 2%;
    margin-right: 2%;  
	margin-bottom: 49px; 
	padding: 0px;   
}
}

#allaudiobookscontainer { 
	display: block; 
	position: relative; 
	width: 100%; 
}

#audiosection,
#printsection {
	display: block;
	position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
	text-align: center;
}

#audiolinks,
#printlinks {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

#audiolinks h4,
#printlinks h4,
#audiosection h4 {
	margin-bottom: 10px;
}

#audiosection h4 {
	margin-top: 12px;
}

#audiolinks a.button,
#printlinks a.button {
    text-align: center;
    margin-bottom: 0px;
    padding: 12px 24px;
}

#audiosection {
	margin-top: 30px;
  margin-bottom: 30px;
	display: block;
	position: relative;
	width: 100%;
}
#audiosection #audioleft {
	width: 25%;
	padding: .5%;
}
#audiosection #audioleft img {
	margin: 0 auto;
	text-align: center;
}
#audiosection #audioright {
	width: 62%;
	padding: 2%;
}
#audiosection iframe {
	width: 100%;
	height: auto;
	margin-bottom: 14px;
}
@media only screen and (max-width: 768px) {
	#audiosection #audioleft {
		width: 99%;
		margin: 0 auto;
		text-align: center;
		}

#audiosection #audioright {
	width: 96%;
	}
}
@media only screen and (max-width: 590px) {
	#audiosection #audioleft, 
	#audiosection #audioright {
		margin: 0 auto;
	}
}

#narratedby {
	font-size: 14px;
	text-align: center;
}