/*
Theme Name: Lucy Lennox
Theme URI: https://www.lucylennox.com
Template: kadence
Author: Carrie Loves Design Studio
Author URI: https://www.carrieloves.com
Description: A child theme for the Lucy Lennox.
Version: 2.0.2
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* Colors 
 * #222222 Slate
 * #d30fab Fuchsia
 * #840957 Wine
 * #eeebe8 Linen
 * #ffffff White
 * #000000 Black
 * #cccccc Light grey
 * */

/* Custom Font */

@font-face {
    font-family: 'Pringle and Tweed';
    src: url('fonts/pat.ttf') format('opentype');
    src: url('fonts/pat.woff') format('woff');
	src: url('fonts/pat.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	text-rendering: optimizeLegibility;
}

#script, .script {
	font-family: 'Pringle and Tweed';
	letter-spacing: 0;
	font-weight: 400;
	line-height: inherit;
	font-size: 2rem;
}

.button-script {
    font-family: 'Pringle and Tweed';
    text-transform: lowercase;
    font-size: 1.25em;
}

body {
	-webkit-font-smoothing: subpixel-antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	-webkit-font-smoothing: antialiased !important;
}

a {
	transition: all .2s ease-in-out !important;
	text-underline-position: under;
}

input,
select,
textarea {
	border-radius: 0 !important;
}

.header-navigation[class*="header-navigation-style-underline"] .header-menu-container>ul>li>a:after {
	height: 1px !important;
}

select,
textarea,
.comment-form input:placeholder-shown+label,
.comment-form textarea:placeholder-shown+label,
.comment-form .comment-input-wrap p label,
.comment-form p.comment-form-float-label label,
.comment-form input:placeholder-shown+label,
.comment-form textarea:placeholder-shown+label,
textarea::-webkit-input-placeholder,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="range"]::-webkit-input-placeholder,
input[type="date"]::-webkit-input-placeholder,
input[type="month"]::-webkit-input-placeholder,
input[type="week"]::-webkit-input-placeholder,
input[type="time"]::-webkit-input-placeholder,
input[type="datetime"]::-webkit-input-placeholder,
input[type="datetime-local"]::-webkit-input-placeholder,
input[type="color"]::-webkit-input-placeholder {
	color: var(--global-palette3) !important;
	border-color: var(--global-palette3) !important;
	font-size: 90%;
}

input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="range"]::-webkit-input-placeholder,
input[type="date"]::-webkit-input-placeholder,
input[type="month"]::-webkit-input-placeholder,
input[type="week"]::-webkit-input-placeholder,
input[type="time"]::-webkit-input-placeholder,
input[type="datetime"]::-webkit-input-placeholder,
input[type="datetime-local"]::-webkit-input-placeholder,
input[type="color"]::-webkit-input-placeholder {
	letter-spacing: 2px;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: inherit;
}

.drawer-content input[type="search"]::-webkit-input-placeholder {
	font-size: inherit !important;
}

textarea,
tr,
td,
th {
	border-color: var(--global-palette3) !important;
}

/* Blocks
---------------------------------------- */

blockquote,
q {
    quotes: '“' '”';
}

blockquote {
    padding-left: 0;
    border-left: 0px;
}

.entry-content blockquote {
    margin: var(--global-md-spacing) 0 0;
}

.entry-content {
    word-break: initial !important;
}

blockquote cite,
blockquote .wp-block-pullquote__citation {
    color: var(--global-palette3);
    font-size: 13px;
    margin-top: 1em;
    position: relative;
    font-style: normal;
    display: block;
}

blockquote cite::before {
	content:"";
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	width: 35px;
	height: 1px;
	background: var(--global-palette3);
}

.wp-block-kadence-spacer.aligncenter { 
	width: 100%;
}

.blocks-gallery-caption figcaption, .wp-block-embed figcaption,
.wp-block-image figcaption,
.wp-block-table figcaption,
.wp-block-audio figcaption,
.wp-block-video figcaption {
	color: var(--global-palette3) !important;
}

.kt-svg-icons + p {
    margin-top: 10px !important;
}

.kt-blocks-carousel .slick-dots li button:before {
	width: 6px !important;
	height: 6px !important;
}

.kt-blocks-carousel .kt-carousel-arrowstyle-outlinewhite .slick-prev,
.kt-blocks-carousel .kt-carousel-arrowstyle-outlinewhite .slick-next,
.kt-blocks-carousel .kt-carousel-arrowstyle-outlineblack .slick-prev,
.kt-blocks-carousel .kt-carousel-arrowstyle-outlineblack .slick-next {
	border: 1px solid !important;
}

.kt-blocks-carousel .slick-prev:before,
.kt-blocks-carousel .slick-next:before {
	border-width: 1px 1px 0 0 !important;
	width: 15px !important;
	height: 15px !important;
}

.entry-related-carousel h3.entry-title {
    font-size: 23px !important;
}


/* buttons */

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, a.wp-block-button__link:not(.has-background), .single-content .wp-block-buttons .wp-block-button, .kb-button.kb-btn-global-fill, .kb-forms-submit {
	margin-bottom: 7px;
	font-size: 14px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 0px !important;
	padding: 12px 24px;
}

.gb-button {
	margin-bottom: 7px;
	font-size: 14px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 0px !important;
	padding: 12px 24px;
	background: #8f0957 !important;
	color: #ffffff !important;
}

.gb-button:hover {
	background: #d30fab !important;
}

div.gb-block-button {
	margin-bottom: 20px;
}

.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, .frm_style_formidable-style.with_frm_style input[type=submit], .frm_style_formidable-style.with_frm_style .frm_submit input[type=button], .frm_style_formidable-style.with_frm_style .frm_submit button, .frm_form_submit_style, .frm_style_formidable-style.with_frm_style .frm-edit-page-btn {
	margin-bottom: 7px;
	font-size: 14px;
	text-transform: uppercase;
	background: #840957;
	color: #ffffff;
	border-radius: 0px;
	border: 0;
}

.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message:hover, .frm_style_formidable-style.with_frm_style input[type=submit]:hover, .frm_style_formidable-style.with_frm_style .frm_submit input[type=button]:hover, .frm_style_formidable-style.with_frm_style .frm_submit button:hover, .frm_form_submit_style:hover, .frm_style_formidable-style.with_frm_style .frm-edit-page-btn:hover {
	background: #d30fab;
	color: #ffffff;
}

/* Search Results
---------------------------------------- */

.search-archive-title h1 {
    padding-bottom: .35em;
}

/* Search
---------------------------------------- */

#search-drawer .drawer-inner .drawer-content form input.search-field,
#search-drawer .drawer-inner .drawer-content form input.search-field:focus {
    box-shadow: none !important;
}

#search-drawer .drawer-inner input.search-field {
    padding: 1.5em 80px 1.5em 1.5em !important;
}

.search-results .content-container .entry-content-wrap {
    margin-top: 15px;
}

.search-form .kadence-search-icon-wrap {
	color: var(--global-palette3) !important;
}

/* Block Search
---------------------------------------- */

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	border-radius: 0 !important;
	border-color: var(--global-palette3) !important;
	color:var(--global-palette3) !important;
	padding: 5px !important;
}

.wp-block-search .wp-block-search__button {
	border: 0 !important;
}

/* Entries
---------------------------------------- */

.entry-tags a.tag-link {
	border: 0 !important;
	color: solid var(--global-palette3) !important;
}

.entry-tags a.tag-link:hover {
	color: var(--global-palette-btn) !important;
	border-radius: 0;
}

.entry-header .category-links a {
    font-weight: normal !important;
}

.content-style-unboxed .kadence-thumbnail-position-behind:after {
	background: none !important;
}

.content-style-unboxed .kadence-thumbnail-position-behind {
    margin-bottom: 3em;
}

.post-navigation {
    margin: var(--global-xl-spacing) auto !important;
}

/* Kadence Posts Block
---------------------------------------- */

.wp-block-kadence-posts.item-image-style-beside article.loop-entry.has-post-thumbnail {
    grid-gap: 2rem;
}

.transparent-bg .content-bg,
.kb-posts-style-unboxed .content-bg {
    background: transparent !important;
}

/* Related Posts
---------------------------------------- */

.tns-outer .tns-controls button[data-controls="prev"]:before,
.tns-outer .tns-controls button[data-controls="next"]:before {
	height: 15px !important;
	width: 15px !important;
}

/* Entry Nav
---------------------------------------- */

.pagination .page-numbers {
	border-radius: 0 !important;
	font-size: .85em;
}

.pagination .kadence-svg-iconset svg {
    height: .9em;
    width: .9em;
}

/* KB Button Icon
---------------------------------------- */

.kt-btn-svg-icon.kt-btn-side-right,
.kt-btn-svg-icon.kt-btn-side-left {
  vertical-align: middle;
	padding-bottom: 3px !important;
}

/* Comments
---------------------------------------- */

.comments-area {
	background: #fff;
	padding: 30px;
	margin-bottom: 2em;
}

p.form-submit {
	margin-bottom: 0 !important;
}

.comment-reply-link {
	color: var(--global-palette3) !important;
	border-color: var(--global-palette3) !important;
	opacity: .75;
}

.comment-reply-link:hover {
	opacity: 1;
}

.comment-respond a#cancel-comment-reply-link {
    margin-left: 20px;
    font-size: .75em;
    text-decoration: underline;
}

#respond + .comments-title {
    margin-top: 2em !important;
}

.comment-navigation .nav-previous:after,
.post-navigation .nav-previous:after {
	background: var(--global-palette3) !important;
}

.comment-body {
	border-bottom: 1px solid var(--global-palette4) !important;
}

.comment-author .fn a {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .8em;
}

/* Sidebars
---------------------------------------- */

.widget select {
	width: 100%;
}

/* Books Page
---------------------------------------------------------------------------- */

h1#pagetitle {
    text-align: center;
}

#allbookscontainer { 
	display: block; 
	position: relative; 
	width: 100%; 
}

#bookgrid {
    display: block;
    position: relative;
    margin-bottom: 5px;
    width: 100%;
	text-align: center;
}

.category-description {
	text-align: center;
}

#bookgrid, #bookgrid h2 {
	text-align: center;
}

h2.seriestitle {
	margin-bottom: 44px;
}

.bookentry {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 20%;
    margin-right: 2%;
	margin-left: 2%;
    margin-bottom: 40px;
}

.bookentry img { 
	width: 100%; 
	height: auto; 
	margin-bottom: 10px;
}

@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 { 
	    width: 45%;
	    margin-right: 3.25%;
		margin-left: 3.25%;
		margin-bottom: 16px;
	}
	
	.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 { 
	    width: 95%;
	    margin-right: 2%;
		margin-left: 2%;
		margin-bottom: 16px;
	}
	
	.bookgrid {
        width: 100%;
	}
	
	h2.seriestitle {
    font-size: 1.5em;
}
}


/* 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;
}

h3.booksheader,
h3.linksheader {
	margin-top: 20px;
	margin-bottom: 0px;
}

#ebooklinks h4,
#printlinks h4,
#audiosection h4,
#bookotherbooks h4,
#bonus-content h4 {
	margin-bottom: 10px;
	text-transform: none;
	letter-spacing: 0;
}

#audiolinks,
#purchaselinks {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

#audiolinks a.button,
#purchaselinks a.button {
    text-align: center;
    margin-bottom: 0px;
    padding: 12px 24px;
}

#purchaselinks h3,
#bookotherbooks h3,
#audiosection h3 {
	margin: 10px auto;
	text-transform: none;
}

#audiosection {
	background: #fef9fa;
	padding: 50px;
	color: inherit;
	display: block;
	position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

#audiosection #bookpageleft {
	width: 33%;
	padding: .5%;
}

#audiosection #bookpageleft img {
	margin: 0 auto;
	text-align: center;
}

#audiosection #bookpageright {
	width: 62%;
	padding: 2%;
}

@media only screen and (max-width: 768px) {
	#audiosection #bookpageleft {
		width: 99%;
		margin: 0 auto;
		text-align: center;
		}

#audiosection #bookpageright {
	width: 96%;
	}
}

@media only screen and (max-width: 590px) {
	#audiosection #bookpageleft, 
	#audiosection #bookpageright {
		margin: 0 auto;
	}
}

#purchaselinks {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

#purchaselinks a.button,
.audiobookbuttons a.button {
    text-align: center;
    margin-bottom: 0px;
    padding: 12px 24px;
}

.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 {
	display: block;
	position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
	text-align: center;
}

.bookmatterinfo {
	text-transform: uppercase;
	font-size: 1rem;
}

.bookseries {
	display: block;
}

.bookseries ul {
	display: inline;
	list-style-type: none;
	margin: 0px;	
}

.bookseries 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 img {
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 18%;
	height: auto;
	margin-right: .75%;
	margin-left: .75%;
	margin-bottom: 11px;	 
}

span.bookseries li {
	display: inline;	
}

span.bookseries li:after {
	content: ', ';
}

span.bookseries li:last-child:after {
	content: '';
}

#bookotherbooks.standalones,
#bookpageright span#standalones.bookseries,
#bookotherbooks.short-stories,
#bookpageright span#short-stories.bookseries {
	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;
	}
	
	h4.booksheader,
	h4.linksheader {
		font-size: 30px;
	}
}	

@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: inherit;
	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;
	border: 0px solid #eaeaea;
	box-shadow: none;
}

@media only screen and (max-width: 800px) {
	#country {
		width: 44%;
	}
}
@media only screen and (max-width: 500px) {
	#country {
		width: 100%;
		margin: 0 auto;
		padding: 20px 10px;
	}
}

/* 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;
}


/* Stack on mobile */
@media only screen and (max-width: 800px) {
	.bookentry { 
	    width: 26%;
	    margin-right: 3%;
		margin-left: 3%;
		margin-bottom: 16px;
	}}

@media only screen and (max-width: 590px) {
	.bookentry { 
	    width: 43%;
	    margin-right: 3%;
		margin-left: 3%;
		margin-bottom: 16px;
	}}

p.upcomingdate {
	margin-bottom: 5px;
	font-size: .85rem;
}