/*!
Theme Name:    Bookshop
Author:        Owen
Author URI:    https://skylark.technology
Description:   Child theme of Page Builder Framework
Version:       1.0.0
License:       GNU General Public License v3 or later
License URI:   https://www.gnu.org/licenses/gpl-3.0.html
Template:      page-builder-framework
Text Domain:   page-builder-framework-child
*/

body {
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	letter-spacing: 1px;
	color: #43474a;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Times New Roman", Times, serif;
	font-weight: 400;
	color: #43474a;
}
h1.page-title {
	margin-bottom: 30px;
}

a, a:visited, a:focus {
	color: #43474a;
	text-decoration: none;
	transition: none;
}

.entry-content a,
.posted_in a,
.tagged_as a,
.woocommerce-products-header .page-description a,
.wpbf-sidebar .custom-html-widget a {
	text-decoration: underline;
}

.home .wp-block-latest-posts a,
a.wp-block-button__link,
.wpbf-social-icons a {
	text-decoration: none !important;
}

a.button,
a.wpbf-button,
.wp-block-button__link,
.wp-block-button__link:active, .wp-block-button__link:focus, .wp-block-button__link:visited,
button,
input[type="submit"],
.tribe-block__event-website a,
a.tribe-events-read-more,
.tribe-events-widget-link a {
	padding: 14px 16px;
	font-size: 100%;
	font-weight: 400 !important;
	line-height: 1.3;
	letter-spacing: 1px;
	color: #fff;
	background: #43474a !important;
	border-radius: 0;
	text-decoration: none;
	text-align: center;
	transition: none;
}

a.wp-block-button__link,
.wp-block-button__link:active, .wp-block-button__link:focus, .wp-block-button__link:visited {
	background: #e2583e !important;
}
.home a.wp-block-button__link,
.wpbf-sidebar a.wp-block-button__link,
.wc-block-grid__product-add-to-cart a.wp-block-button__link {
	background: #43474a !important;
}

.entry-content a:hover,
.woocommerce-products-header .page-description a:hover,
a.woocommerce-loop-product__link:hover,
h3.woocommerce-loop-product__title:hover,
.woocommerce-breadcrumb a:hover,
a.added_to_cart:hover,
.posted_in a:hover,
.tagged_as a:hover,
.post-links a:hover,
.wpbf-sidebar a:hover,
h3.entry-title a:hover {
	color: #000;
	background: #ededea;
	text-decoration: none;
}
.wpbf-sidebar a:hover {
	background: #dcdcd9;
}

a.button:hover,
a.wpbf-button:hover,
a.wp-block-button__link:hover,
a.wpbf-woo-quick-view:hover,
button:hover,
input[type="submit"]:hover,
.tribe-block__event-website a:hover,
a.tribe-events-read-more:hover,
.tribe-events-widget-link a:hover {
	color: #fff;
	background: #000 !important;
}

.page-numbers a:hover {
	color: #000;
	background: #dedee5 !important;
}

/* Forms */
button, input, optgroup, select, textarea {
	font-size: 100%;
}
textarea, select, input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="datetime"] {
	border: 2px solid #ededea;
}
select {
	color: #43474a;
	line-height: 1.1;
}

/* Block text styles */
.has-normal-font-size,
.has-regular-font-size {
	font-size: 100%;
}

/*
 * Header
 */
#header {
}

.wpbf-nav-wrapper,
.wpbf-navigation-active .wpbf-nav-wrapper {
	padding-top: 10px;
	padding-bottom: 10px;
}
.wpbf-navigation {
	border-bottom: 2px solid #ededea;
}
.wpbf-navigation .wpbf-logo-container {
	width: 10%;
}
.wpbf-navigation .wpbf-menu-container {
	width: 90%;
}

.wpbf-navigation-active {
	background: #fff;
}

/* Banner title */
.banner-title {
	margin: 0 0 8px 0;
	padding: 0;
	text-align: center;

	margin: 0 auto 8px auto;
	width: 60%;
	
	padding-right: 12%;
}
.wpbf-navigation-active .banner-title {
	display: none;
}

.banner-title a {
	display: inline-block;
	padding: 0 7px 4px 7px;
	text-decoration: none;
}
.banner-title a:hover {
	background: #ededea !important;
}
.banner-title h1,
.banner-title h3 {
	max-width: 800px;
	margin: 0 auto;
	color: #43474a;
	line-height: 1.2;
	text-transform: uppercase;
}
.banner-title h1 {
	margin-bottom: 3px;
	font-size: 32px;
}
.banner-title h3 {
	font-size: 14px;
}

/* Newsletter sign up */
#header .sign-up {
	float: right;
	margin: 4px 0 0 0;
}
#header .sign-up a.wpbf-button {
	margin: 0;
	padding: 5px 9px;
	font-size: 90%;
	line-height: 1.2;
	color: #43474a !important;
	background: #ededea !important;

	background: #fff !important;
	border: 1px solid #54585b;
}
#header .sign-up a.wpbf-button:hover {
	color: #fff !important;
	background: #000 !important;
	color: #000 !important;
	background: #ededea !important;
	border-color: #ededea;
}

#header .wpbf-navigation-active .sign-up {
	width: 17%;
	margin: 1px 0 0 0;
	text-align: right;
}
.wpbf-navigation-active #navigation {
	width: 83%;
}

/* Main menu */
.wpbf-mobile-menu a,
.wpbf-menu a {
	transition: none;
}

.wpbf-menu-right ul.wpbf-menu {
	float: none;
	width: 59%;
	margin: 0 auto;
	
	width: 100%;
	padding-left: 21%;
	padding-left: 17%;
}
.wpbf-navigation-active .wpbf-menu-right .wpbf-menu {
	padding-left: 10%;
}

.wpbf-menu-right .wpbf-menu a {
	padding: 0 15px;
	font-size: 21px;
	line-height: 30px;
}

.wpbf-sub-menu > .menu-item-has-children > a::after {
	content: "";
	margin-left: 0;
}

.wpbf-menu > .current-menu-item > a {
	color: #000 !important;
}

.wpbf-menu-right .wpbf-menu a:hover {
	color: #000;
	background: #ededea;
}

.wpbf-menu ul.sub-menu {
	left: -70%;
	margin-top: 8px;
	text-align: center;
}
.wpbf-menu .sub-menu a {
	padding: 6px 15px !important;
}

/* mobile menu */
button#wpbf-mobile-menu-toggle {
	margin-top: 5px;
	color: #43474a;
	background: transparent !important;
}
button#wpbf-mobile-menu-toggle {
	color: #000;
}

/* basket items count */
.wpbf-woo-menu-item {
	float: right !important;
}
.wpbf-woo-menu-item a {
	padding: 0 !important;
}
.wpbf-woo-menu-item a:hover {
	background: transparent !important;
}
.wpbf-woo-menu-item .wpbf-woo-sub-menu-button-wrap a:hover {
	background: #000 !important;
}
.wpbf-woo-menu-item .wpbf-woo-menu-item-count {
	padding: 0 7px;
	background: #43474a;
	border-radius: 0;
	
	color: #43474a;
	background: #ededea;
}
.wpbf-woo-menu-item .wpbf-woo-menu-item-count::before {
	color: #43474a;
	color: #ededea;
}

/*
 * Footer
 */
.wpbf-page-footer {
	font-size: 100%;
	background: #43474a;
}

.wpbf-page-footer a {
	color: #fff;
	text-decoration: underline;
}
.wpbf-page-footer a:hover {
	text-decoration: none;
}

.wpbf-widget-footer {
	color: #fff;
	background: transparent;
}
.wpbf-widget-footer .wpbf-padding-large {
	padding-top: 40px;
	padding-bottom: 0;
}

.wpbf-inner-footer {
	border-top: 2px solid #ededea;
	border-top: 2px solid #767a7d;
}

.scrolltop {
	bottom: 100px;
	right: 45px;
}

/*
 * Home
 */
.home #inner-content.wpbf-padding-medium {
	padding-top: 20px;
}

.wp-block-columns.top-block {
	padding: 0 20px 20px 0;
	padding: 20px 20px 20px 0;
	padding: 20px;
	background: #f5f5f7;
}
X.wp-block-column.top-block-text {
	padding-top: 20px;
}

.home-address-mobile {
	display: none;
}

.home .wp-block-group {
	clear: both;
}

.home .wp-block-group__inner-container {
	padding: 20px 20px 0 20px;
}

.home .wp-block-buttons {
	float: right;
}
.home .wp-block-button,
.home .wp-block-buttons {
	margin: 0;
}

.wp-block-latest-posts li {
	line-height: 1.3;
}

.home .wc-block-grid__products {
	margin-bottom: 0;
}

.wc-block-grid__product {
	font-size: 100% !important;
}
a.wc-block-grid__product-link {
	text-decoration: none;
}
.wc-block-grid__product-title {
	margin-bottom: 0 !important;
	/*font-size: 120%;*/
	line-height: 1.3;
	font-weight: 400;
}
a.wc-block-grid__product-link:hover .wc-block-grid__product-title {
	background: #ededea;
}

.home .wp-block-latest-posts.wp-block-latest-posts__list {
	margin: 0;
}
.home .wp-block-latest-posts__featured-image.alignleft {
	margin-bottom: 0;
}

/*
 * Mailchimp form
 */
/* footer */
#footer .widget_mc4wp_form_widget {
	margin: 20px 0;
}

.widget_mc4wp_form_widget h4 {
	margin: 0 0 5px 0;
	color: #fff;
}
.widget_mc4wp_form_widget .form-field {
	display: inline-block;
	margin: 0 10px 0 0;
}
.widget_mc4wp_form_widget .form-field.field-email {
	width: 50%;
}
.widget_mc4wp_form_widget label span {
	display: none;
}
.widget_mc4wp_form_widget input[type="email"] {
	width: 100%;
	padding: 8px 12px;
}
.widget_mc4wp_form_widget input[type="submit"] {
	padding: 11px 16px;
	color: #fff;
	background: #000 !important;
}
.widget_mc4wp_form_widget input[type="submit"]:hover {
	color: #43474a;
	background: #fff !important;
}

/* overlay */
#overlay {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9998;
	width: 100%;
	height: 100%;
	background: #000;
	/*opacity: 0.98;*/
	opacity: 0.9;
}
#overlay-inner {
	/*position: relative;
	left: 20%;
	top: 25%;
	z-index: 9999;
	width: 60%;
	height: 180px;
	padding: 50px 40px 60px 40px;
	background: #43474a;*/
	display: none;
	position: fixed;
	left: 20%;
	top: 30%;
	z-index: 9999;
	width: 60%;
	height: 180px;
	padding: 20px 20px 60px 40px;
	background: #43474a;
}

#overlay-inner i.close {
	/*position: relative;
	right: 20px;
	top: 20px;
	z-index: 10000;*/
	float: right;
	padding: 5px;
	color: #fff;
	background: transparent;
}
#overlay-inner i.close:hover {
	color: #000;
	background: #ededea;
}
#overlay-inner .widget {
	margin-top: 30px;
}

/*
 * Woocommerce
 */
/* cart dropdown */
.wpbf-woo-menu-item .wpbf-button {
	color: #fff !important;
}

/* product list */
.woocommerce ul.products li.product a img {
	margin-bottom: 10px;
}
/*.woocommerce ul.products li.product a:hover img {
	opacity: 0.8;
}*/

.woocommerce a.button {
	width: 100%;
}

.woocommerce span.onsale {
	font-size: 90%;
}

.woocommerce .woocommerce-pagination ul.page-numbers li,
.woocommerce-page .woocommerce-pagination ul.page-numbers li {
	margin: 0 3px 6px 0;
}

.woocommerce ul.products li.product .wpbf-woo-loop-out-of-stock {
	right: 10px;
	font-size: inherit;
}

/* product page */
.woocommerce-info {
	border-top-color: #43474a;
}
.woocommerce-info::before {
	color: #43474a;
}

.woocommerce div.product .stock {
	color: #999;
}
.woocommerce div.product .stock.available-on-backorder {
	color: #000;
	font-style: italic;
}

.woocommerce .wpbf-quantity .wpbf-qty-decrease::before,
.woocommerce .wpbf-quantity .wpbf-qty-increase::before,
.woocommerce .wpbf-quantity .wpbf-qty-increase::after {
	background-color: #fff;
}

.woocommerce-tabs {
	display: none;
}

/* basket */
.woocommerce-message {
	border-top-color: #43474a;
}
.woocommerce-message::before {
	color: #43474a;
}

/* checkout */
.wpbf-checkout .wpbf-navigation {
	border: none;
}
.wpbf-checkout #inner-content.wpbf-padding-medium {
	padding-top: 20px;
}

#ship-to-different-address,
#order_review_heading,
.woocommerce-billing-fields h3 {
	font-size: 130%;
}

.woocommerce form .form-row {
	margin-bottom: 20px;
}
.woocommerce form .form-row label {
	font-size: 100%;
	line-height: 1.7;
	font-weight: 400;
}
.woocommerce form .form-row .required {
	color: #c00;
	text-decoration: none;
}
.woocommerce label .optional {
	font-size: 85%;
	font-style: italic;
}

#billing_country_field label {
	display: inline-block;
	margin-right: 10px;
}
#billing_country_field label .required {
	display: none;
}

.woocommerce form .form-row.woocommerce-validated .select2-container,
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
	border-color: #999;
}

.#order_review table tfoot th {
	width: 60%;
}
.woocommerce ul#shipping_method li {
	/*padding-left: 0;
	text-indent: 0;*/
	line-height: 1.3;
}

.mc4wp-checkbox-woocommerce {
	padding: 10px 15px;
	background: #f5f5f7;
}
.mc4wp-checkbox-woocommerce input {
	margin-right: 10px;
}

/* Woocommerce widgets */
h4.wpbf-widgettitle {
	font-size: 24px;
}

ul.product-categories li.cat-item {
	margin-bottom: 5px;
	line-height: 1.3;
}


/* Ajax Woocommerce search */
.dgwt-wcas-search-wrapp {
	max-width: none !important;
	margin: 0 0 20px 0;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	font-size: 100%;
	border: 2px solid #43474a;
	border: 2px solid #ededea;
	border: 2px solid #999;
	background: #f5f5f7;
}
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover,
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
	background: #f5f5f7;
	border-color: #43474a;
}
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
	color: #43474a;
	opacity: 1;
}

.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	padding-top: 7px;
}

.dgwt-wcas-preloader {
	opacity: 1 !important;
}

.dgwt-wcas-suggestion-more {
	display: none;
}

/* Sidebar */
.wpbf-sidebar-wrapper,
.post-type-archive-product .wpbf-sidebar-wrapper,
.tax-product_cat .wpbf-sidebar-wrapper {
	padding-top: 68px;
}

.wpbf-sidebar .widget:not(.widget_text) ul li {
	margin: 0 0 5px 0;
	line-height: 1.3;
}

.wpbf-sidebar .product_list_widget {
	overflow: auto;
}
.wpbf-sidebar .product_list_widget li {
	display: block;
	float: left;
	width: 47%;
	margin: 0 6% 20px 0 !important;
	line-height: 1.3;
}
.wpbf-sidebar .product_list_widget li:nth-child(even) {
	margin-right: 0 !important;
}
.wpbf-sidebar .product_list_widget li .product-title {
	display: none;
}

.wpbf-sidebar .product-categories ul.children {
	margin-left: 20px;
}
.wpbf-sidebar .product-categories ul.children li:first-child {
	margin-top: 3px;
}

div.wpcf7-mail-sent-ok {
	color: #43474a;
	border-color: #43474a;
}

/*
 * News
 */
.blog .wpbf-post-image-link {
	max-width: 50%;
}
.article-meta .article-time {
	text-decoration: none;
}

.single-post .category-review .wpbf-post-image-wrapper {
	display: none;
}
/*.type-post .wc-block-handpicked-products {*/
.category-review .wc-block-handpicked-products {
	clear: both;
	float: right;
	width: 33%;
	margin: 0 20px;
}
.category-review .wp-block-column .wc-block-handpicked-products {
	clear: both;
	float: none;
	width: 100%;
	margin: 0 20px 0 0;
}

.wp-block-separator {
	max-width: 50%;
	background: #ededea;
}
.category-review .wp-block-separator {
	clear: both;
}

/*
 * Events
 */
.tribe-events-page-title {
	margin-bottom: 30px;
	font-size: 32px;
	text-align: left;
}

/* events listing */
.tribe-events-notices {
	color: inherit;
	background: #f5f5f7;
	border: none;
	border-radius: 0;
	text-shadow: none;
}

.tribe-bar-disabled { /* events from calendar selection */
	display: none;
}
#tribe-bar-form label {
	text-transform: none;
}

h2.tribe-events-list-separator-month {
	margin-left: -8px;
	padding: 8px 16px;
	font-size: 21px;
	background: #f5f5f7;
}

.tribe-events-loop .tribe-events-event-meta {
	font-size: inherit;
	line-height: inherit;
}
.tribe-event-schedule-details {
	margin-bottom: 10px;
	font-size: 21px;
}
.tribe-events-list .time-details,
.tribe-events-list .tribe-events-venue-details {
	margin-bottom: 10px;
	line-height: inherit;
}
.tribe-events-list .tribe-events-venue-details:before {
	content: "Location:";
	margin-right: 1px;
}
.tribe-events-event-cost {
	margin-bottom: 20px;
}
.tribe-events-event-cost span {
	display: inline-block;
	padding: 12px 24px;
	background: #f5f5f7;
}
.tribe-events-event-image {
	clear: both;
	float: left;
	margin: 0 30px 40px 0;
}
.tribe-events-list .tribe-events-loop .tribe-events-content {
	clear: none;
}
a.tribe-events-read-more {
	display: inline-block;
	padding: 12px 24px;
	text-align: center;
}

/* events widget */
.tribe-events-adv-list-widget ol,
.tribe-events-list-widget ol {
	padding: 0;
	margin-bottom: 20px;
	list-style: none !important;
}
.tribe-events-list-widget li {
	margin: 0 0 5px 0;
	padding: 0;
}
.tribe-events-list-widget li h4.tribe-event-title {
	margin-bottom: 10px;
}
p.tribe-events-widget-link {
	margin-bottom: 10px;
}

/* event page */
.tribe-events-schedule {
	margin-bottom: 20px;
}
h2.tribe-events-schedule__datetime {
	margin-bottom: 0;
	font-family: inherit;
	font-weight: 400;
}
.tribe-events-schedule__date,
.tribe-events-schedule__time {
	font-size: 21px;
}
.tribe-events-schedule__all-day,
.tribe-events-schedule__separator,
.tribe-events-schedule__timezone {
	font-size: inherit;
	font-weight: 400;
	color: inherit;
}
.tribe-block__venue {
	margin-bottom: 20px;	
}
.tribe-block__venue .tribe-block__venue__meta .tribe-block__venue__name h3 {
	font-size: 24px;
	font-weight: normal;
}
.tribe-block__event-website {
	margin-bottom: 30px;
}

/*
 * Responsive
 */
@media (max-width: 1024px) {
	.wpbf-mobile-nav-wrapper {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.wpbf-mobile-logo-container.wpbf-1-4 {
		width: 20%;
	}
	.wpbf-mobile-logo img {
		/*vertical-align: inherit;*/
	}
	.wpbf-navigation-active .wpbf-mobile-logo img {
		vertical-align: middle;
	}
	.wpbf-menu-toggle-container.wpbf-3-4 {
		width: 80%;
	}
	.banner-title {
		display: none;
		width: 100%;
		margin: 0;
		padding: 8px 0 0 0;
	}
	.banner-title h1 {
		font-size: 17px;
	}
	.banner-title h3 {
		font-size: 11px;
	}

	.home-address-desktop {
		display: none;
	}
	.home-address-mobile {
		display: block;
	}

}

