/*
Theme Name:       The Way Online Bookstore Child Theme
Theme URI:        https://github.com/TheWayInternational/the-way-online-bookstore#readme
GitHub Theme URI: https://github.com/TheWayInternational/the-way-online-bookstore
Author:           The Way International
Primary Branch:   main
Release Asset:    true
Author URI:       https://www.theway.org
Description:      Overrides for woocommerce.
Template:         generatepress
Text Domain:      the-way-online-bookstore
Version:          1.1.4
*/

/* stylelint-disable */
.heading-extra-spacing {
	padding-top: 10px;
}

.region,
.country {
	fill: #bbb;
}

section.twi-social-icon-menu ul {
    gap: 0;
	margin: 0;
}

.region.has-info,
.country.has-info {
	fill: #4a8864;
}

.region:hover,
.country:hover {
	fill: grey;
}

.region.has-info:hover,
.country.has-info:hover,
.map-container .selected {
	fill: #0d6030;
	cursor: pointer;
}

.map-container > svg {
	max-height: calc(100vh - 50px);
}

.region,
.country {
	transition: fill 0.8s ease;
}

.map-info-box {
	display: none;
	position: absolute;
	z-index: 1;
	background-color: #f9f9eb; /*rgb( 252, 252, 252 ); /* rgba(245, 245, 220, 0.90); */
	border: solid 1px grey;
	border-radius: 5px;
	padding: 15px;
	box-shadow: 0 0 4px grey;
	text-align: center;
}

.map-info-box h3 {
	padding-top: 0;
}

.waypoint {
	display: none;
}

.col-layout-image-and-text {
	margin-bottom: 0 !important;
}

.flex-grow-col {
	flex-grow: 1 !important;
}

.mobile-sts-homepage-promo h3 {
	padding: 0;
	margin-bottom: 4px;
}

.current-sts-promo-box {
	max-width: 700px;
	padding: 20px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	background-color: #f9f9eb;
	border-radius: 5px;
	box-shadow: 0 0 2px grey;
	color: black;
	display: block;
	cursor: pointer;
}

.current-sts-promo-box .dashicons {
	font-size: 60px;
	color: #0d6030;
	width: 100%;
	height: 60px;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}

.current-sts-promo-box:hover,
.current-sts-promo-box:focus {
	color: black;
	box-shadow: 0 0 4px grey;
}

.current-sts-promo-box:hover .dashicons {
	color: #217444;
}

.current-sts-promo-box h3 {
	color: rgb(13, 96, 48);
}

.current-sts-promo-box a:hover {
	text-decoration: none;
}

.current-sts-promo-box div,
.current-sts-promo-box p {
	margin-bottom: 0;
}

.current-sts-promo-box .left-col {
	flex-basis: 210px !important;
}

.current-sts-promo-box .right-col {
	flex-grow: 1 !important;
}

.stream-layout .video-container {
	margin-bottom: 0.5em;
}

.stream-layout h3 {
	padding-top: 0;
}

p.subscriber-info-text {
	max-width: 65%;
}

/* Text formatting */

.desktop-only {
	display: block;
}

.desktop-and-lg-mobile-only {
	display: block;
}

.mobile-and-lg-mobile-only {
	display: none;
}

.mobile-only {
	display: none;
}

.online-resources-menu-panel #for-subscribers-left {
	flex-basis: 200px !important;
}

.online-resources-menu-panel #for-subscribers-right {
	flex-basis: 325px !important;
}

.online-resources-menu-panel .wp-block-column {
	flex-grow: 1;
}

h3.for-subscribers-heading {
	font-size: 1.2em;
	line-height: 1.7em;
	padding-top: 0;
	border-bottom: solid 1px #0d6030;
	margin-left: auto;
	margin-right: auto;
	max-width: 240px;
}

.online-resources-menu-panel div.wp-block-image,
.online-resources-menu-panel div.wp-block-columns {
	margin-bottom: 0;
	padding-bottom: 0;
}

.online-resources-menu-panel div.wp-block-column {
	padding: 12px;
}

.online-resources-menu-panel .wp-block-column:not(:first-child) {
	margin-left: 10px;
}

blockquote {
	overflow: hidden;
	font-size: inherit;
	font-style: inherit;
	border-left: solid 2px rgb(13, 96, 48);
}

.indent {
	margin-left: 35px;
}

.menu-widget-link a {
	color: white;
	font-size: 18px;
}

.menu-widget-link a:hover {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h2 a,
h2 a:visited,
h2 a:hover,
h2 a:focus,
h2 a:active,
h3 a,
h3 a:visited,
h3 a:hover,
h3 a:focus,
h3 a:active {
	color: #0d6030;
}

b,
strong {
	font-weight: 600;
}

sup {
	font-size: 0.6em;
}

h1 {
	text-align: center;
}

.content-area h2 {
	border-bottom: 1px solid #bbb;
	clear: both;
}

.content-area .h2-no-line {
	border-bottom: 0;
}

/* Used to display a "Full" indicator at the end of a heading - for CG events */
.event-is-full::after {
	content: "Full";
	background-color: maroon;
	color: white;
	line-height: 45px;
	padding: 5px;
	margin-left: 10px;
	border-radius: 5px;
}

.event-is-full:lang(fr)::after {
	content: "C’est\00a0plein";
}

.event-is-full:lang(es)::after {
	content: "Cupo\00a0lleno";
}

.event-is-full {
	margin-bottom: 0; /* conpensate for line height of Full marker */
}

.give-verse {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.give-text {
	margin-top: 2em;
	margin-bottom: 0.5em;
}

.country-listing {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/************************/

/* Bookstore Info link styles */

.bkInfoFloatLink {
	position: fixed;
	bottom: 0;
	z-index: 10;
	display: block;
	width: 300px;
	text-align: center;
	left: 50%;
	margin-left: -150px;
	background-color: rgba(13, 96, 48, 0.9);
	color: white;
	border-radius: 3px 3px 0 0;
	padding: 5px;
	transition: opacity 600ms ease-in-out;
}

a.bkInfoFloatLink:visited {
	color: white;
}

a.bkInfoFloatLink:hover {
	color: white;
	background-color: rgb(13, 96, 48);
}

/************************/

/* Force mape dimensions so image map will work (need to fix for mobile some time) */
.imap img {
	width: 400px;
	height: 200px;
}

/*
 * Lists
 */
.statement-of-beliefs li {
	padding-left: 25px;
}

/*
 * Tables
 */
.wp-block-table table {
	width: auto; /* Next best thing for old browsers like IE */
	width: intrinsic; /* Safari/WebKit uses a non-standard name */
	width: -moz-max-content; /* Firefox/Gecko */
	width: -webkit-max-content; /* Chrome */
	width: max-content;

	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	border-collapse: collapse;
	border: none;
}

.wp-block-table th,
.wp-block-table td {
	padding: 0.75em; /* Half of paragraph spacing */
	vertical-align: top;
	border: none;
}

/**
 * Summary Items
 *
 * Note: needs to go after "h2.content-area" rules
 */

/* Using #primary to override default styles */
#primary .summary-item {
	clear: left;
	margin-top: 2em;
	margin-bottom: 2em;
}

#primary .summary-item figure {
	margin-bottom: 2em;
}

/* Avoid extra space from ol/ul margins (which tend to be grouped for summary items) */
.summary-item ol,
.summary-item ul {
	margin-bottom: 0;
}

.summary-item h2 {
	border-bottom: none;
	margin-bottom: 4px;
	padding-top: 1px;
	clear: none;
}

.summary-item h3 {
	padding-top: 5px;
}

.summary-item p,
.summary-item .wp-block-group {
	overflow: hidden;
}

/* For alignment when there is no h2 or h3 in a summary item */
.summary-item .wp-block-image + p {
	padding-top: 2px;
}

.home .entry-content,
.home #primary .summary-item {
	margin-top: 0;
}

.home .entry-content .wp-block-image {
	margin-bottom: 0;
}

/* Testimonial block quote */
.testimonial {
	background-color: #f9f9eb; /* #f9f7e3 */
	border-radius: 5px 5px 5px 5px;
	padding-left: 60px;
	padding-right: 60px;
	border: none;
	box-shadow: 0 0 2px grey;
}

.testimonial::before,
.testimonial::after {
	font-size: 75px;
	font-family: Georgia;
	font-style: italic;
	color: #0d6030;
	position: absolute;
}

.testimonial::before {
	content: "“";
	left: 5px;
	top: -15px;
}

.testimonial::after {
	content: "”";
	right: 16px;
	bottom: -55px;
}

.testimonial:lang(fr)::before,
.testimonial:lang(fr)::after,
.testimonial:lang(es)::before,
.testimonial:lang(es)::after,
.testimonial:lang(de)::before,
.testimonial:lang(de)::after {
	font-size: 60px;
}

.testimonial:lang(fr)::before,
.testimonial:lang(es)::before,
.testimonial:lang(de)::before {
	content: "«";
}

.testimonial:lang(fr)::after,
.testimonial:lang(es)::after,
.testimonial:lang(de)::after {
	content: "»";
}

.testimonial:lang(fr)::before,
.testimonial:lang(es)::before,
.testimonial:lang(de)::before {
	left: 7px;
	top: -26px;
}

.testimonial:lang(fr)::after,
.testimonial:lang(es)::after,
.testimonial:lang(de)::after {
	right: 8px;
	bottom: -16px;
}

.clear-right {
	clear: right;
}

.clear-left {
	clear: left;
}

.clear-both {
	clear: both;
}

body {
	background-color: white;
}

.wp-block-group .wp-block-group__inner-container {
	max-width: unset;
	padding: 0;
}

hr {
	clear: both;
	background-color: #bbb;
}

/* Fix <h3> spacing */
h3 {
	margin-bottom: 6px;
	padding-top: 12px;
	line-height: 1.2em;
	font-size: 21px;
}

/* Contact Form styling */

.contact-form input,
.contact-form textarea,
.contact-form select {
	background-color: white;
	border: solid 1px rgb(153, 153, 153);
	border-radius: 3px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
	border: solid 1px black;
}

.contact-form label {
	font-weight: 600;
}

.contact-form .privacy_agreement label {
	font-weight: 400;
}

.contact-form .required {
	color: red;
}

.contact-form .requiredInfo {
	font-size: 0.9em;
	font-style: italic;
}

.wpcf7-response-output {
	font-weight: 600;
	background-color: #f9f7e3;
	padding: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output {
	border: solid 2px maroon;
	color: maroon;
}

.wpcf7-not-valid {
	border-left: solid 2px red !important;
}

.wpcf7-form.sent p,
.wpcf7-form.sent span,
.wpcf7-form.sent .wpcf7-form-control-wrap {
	display: none;
}

/* Social Media icons at the top-right of the header */

.top-social-nav {
	position: absolute;
	right: 10px;
	top: 10px;
}

.top-social-nav svg,
.main-navigation .social-icon-menu svg {
	margin-left: 8px;
	margin-right: 8px;
	margin-top: 6px;
	width: 20px;
	height: 20px;
	fill: #fff;
}

.social-nav-footer svg {
	fill: black;
	width: 20px;
	height: 20px;
	margin-left: 8px;
	margin-right: 8px;
	margin-top: 6px;
}

.social-nav-footer {
	margin-top: 20px;
	margin-bottom: 5px;
}

.social-icon-menu {
	text-align: center;
}

/* Globe logo image in the header */
.globe-logo {
	position: absolute;
	top: 10px;
	left: 5px;
	display: block;
}

/* Header title & tagline text */

.site-header {
	margin: 0;
	padding: 0;
	line-height: 0px;
	display: flex;
	align-items: center;
}

.inside-header {
	width: 100%;
	max-width: none;
	background-color: #0d6030;
	padding: 0;
}

.inside-header .cover-image img {
	width: 100%;
	height: auto;
}

.site-branding h1,
.site-branding p {
	display: inline;
	color: white;
}

.site-branding {
	color: #fff;
	text-shadow: 2px 2px black;
	padding: 8px;
}

.site-branding h1 {
	font-size: 2em;
	font-weight: 700;
	margin-bottom: 0;
}

.site-branding .tagline {
	font-size: 1.2em;
	font-style: inherit;
	margin-bottom: 0;
}

.site-branding a:hover {
	text-decoration: none;
}

.tagline {
	text-align: center;
	font-size: 25px;
	font-style: italic;
	line-height: 1.1em;
}

.title-container {
	margin-left: 100px;
}

/* "Responsive" video player for multimedia pages */
.video-container {
	position: relative;

	/*padding-bottom: 56.25%;*/

	/*padding-top: 0px;*/

	/*height: 0;*/

	/*overflow: hidden;*/
	margin: 0 auto 1.5em;
	max-width: 800px;
}

.video-container::before {
	content: "";
	display: block;
	position: relative;
	padding-bottom: 56.25%;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.video-container iframe {
	box-shadow: 0 0 4px grey;
}

/**
 * Buttons
 */

.multimedia-button a {
	width: 300px;
}

.wp-block-buttons {
	margin-top: 20px;
	margin-bottom: 20px;
}

.btn-link,
.wp-block-button a.wp-block-button__link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-weight: 700;
	color: #fff;
	text-shadow: 1px 1px #000;
	background-color: rgb(13, 96, 48);
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border: 1px solid #bbb;
	border-radius: 3px;
	box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.3),
		0 2px 2px -1px rgba(0, 0, 0, 0.5),
		0 1px 0 rgba(255, 255, 255, 0.3) inset;
	padding: 7px 15px;
	border-color: #222;
}

/* Allow buttons to flow side-by-side and stack with proper spacing when wrapped in this class */
.button-container {
	text-align: center;
}

.button-container .wp-block-buttons {
	display: inline-block;
	margin: 0 -0.75em -1.5em -0.75em;
}

.button-container .wp-block-buttons .wp-block-button {
	margin: 0 0.75em 1.5em 0.75em;
}

.button-container .wp-block-buttons > .wp-block-button:last-child {
	margin-right: 0.75em;
}

.wp-block-button a.wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: rgb(33, 116, 68);
	color: #fff;
}

.wp-block-button a.wp-block-button__link:active,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: rgb(33, 116, 68);
	position: relative;
	top: 1px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset;
}

.wp-block-button a.wp-block-button__link:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background-color: rgb(13, 96, 48);
}

/* Widget formatting */

.widget-title {
	text-align: center;
	font-size: 20px;
	padding-bottom: 4px;
	font-weight: 500;
	margin-bottom: 10px;
}

.sidebar .widget {
	font-size: inherit;
}

.is-right-sidebar .widget {
	margin-bottom: 50px;
	padding-bottom: 10px;
}

.app-buttons .wp-block-image {
	margin-bottom: 13px; /* minimum space as defined by Apple and Google is 1/4 image height */
}

.app-buttons p {
	margin-bottom: 0;
	display: none;
}

/* Multimedia Accordion Menu */

/* Style the buttons that are used to open and close the accordion panel */
.mm-accordion-menu .accordion {
	background-color: rgb(13, 96, 48);
	color: #fff;
	cursor: pointer;
	width: 100%;
	text-align: center;
	border: none;
	outline: none;
	margin-bottom: 5px;
	padding: 8px 0 8px 0;
	display: block;
	border-radius: 6px;
	text-shadow: 1px 1px #000;
	font-weight: 400;
}

.mm-accordion-menu button.accordion:hover {
	background-color: rgb(33, 116, 68);
}

/* Style the accordion panel. */
.mm-accordion-menu .panel {
	margin: 0;
	padding: 0;
	background-color: #fcfcfc;
	width: 100%;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease-out;
}

.mm-accordion-menu .panel p {
	margin: 0;
	margin-left: 10px;
	padding-top: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #bbb;
}

.mm-accordion-menu .panel a {
	color: rgb(11, 62, 32);
}

.mm-accordion-menu .panel a:hover {
	color: black;
}

.mm-accordion-menu .panel .current {
	font-weight: 700;
	font-style: italic;
}

/* Sidebar menus */

.is-right-sidebar .menu .current-menu-item {
	font-weight: 700;
	font-style: italic;
}

.is-right-sidebar .menu a {
	color: rgb(11, 62, 32);
	border-bottom: 1px solid #bbb;
	display: block;
	padding-top: 8px;
	padding-bottom: 8px;
}

.is-right-sidebar .menu p {
	margin: 0;
}

#pdf-link {
}

/* Beige information box */
.info-box {
	background-color: #f9f9eb;
	clear: both;
	padding: 10px;

	/* box-shadow: 1px 1px 3px grey; */
	border-radius: 0;
	border-bottom: solid 1px rgb(11, 62, 32);
	border-top: solid 1px rgb(11, 62, 32);
}

/*  Image styles */

#primary img,
#right-sidebar img,
.main-navigation img {
	box-shadow: 0 0 4px grey;
}

#primary .no-shadow img,
#primary img.no-shadow,
#right-sidebar .no-shadow img {
	box-shadow: none;
}

.app-buttons img {
	box-shadow: none !important;
}

/* helps to limit content layout shift by limiting max-height of header image space */
.inside-header .img-wrapper {
	max-height: calc(16.13vw);
}

/* Footer area */

.site-info {
	background-color: white; /* rgb(13, 96, 48) */
	color: #000;
	font-size: 13px;
}

.site-info a,
.site-info a:visited,
.site-info a:hover,
.site-info a:focus,
.site-info a:active {
	color: #0060dd;
}

/* Adjustments for different screen sizes */

@media (min-width: 600px) {

	.current-sts-promo-box h3 {
		padding-top: 0;
	}
}

@media (max-width: 1360px) {

	.site-branding h1,
	.site-branding p {
		display: block;
		color: white;
		text-align: left;
	}
}

@media (max-width: 1024px) {

	.stream-layout h3 {
		padding-top: 30px;
	}

	#stream-layout {
		flex-wrap: wrap;
		margin-bottom: 0;
	}

	#stream-layout .wp-block-column {
		flex-basis: 100% !important;
		margin-left: 0;
	}

	p.subscriber-info-text {
		max-width: 100%;
	}

	.mobile-and-lg-mobile-only {
		display: block;
	}

	.desktop-only {
		display: none;
	}

	h3.for-subscribers-heading {
		max-width: 100%;
		margin-bottom: 17px;
		text-align: left;
	}

	/* Bookstore fix: this hides our sidebar in tablet mode */

	/* .sidebar,
  .content-area {
    float: none;
    width: 100%;
  }

  .sidebar {
    margin-top: 40px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  } */

	.site-header {
		height: unset;
	}

	/* helps to limit content layout shift by limiting max-height of header image space */
	.inside-header .img-wrapper {
		max-height: calc(29.4vw);
	}
}

@media (min-width: 769px) {

	.col-layout-image-and-text .wp-block-column:not(:first-child) {
		margin-left: 1em;
	}
}

@media (max-width: 768px) {

	.country-list .country-info {
		text-align: center;
	}

	.col-layout-image-and-text .wp-block-column {
		flex-basis: 100% !important;
		margin-left: 0;
	}

	#primary .summary-item figure {
		margin-bottom: 0.5em;
	}

	.desktop-and-lg-mobile-only {
		display: none;
	}

	.mobile-only {
		display: block;
	}

	/* Center images on smaller screens */
	.wp-block-image .alignleft,
	.wp-block-image .alignright {
		display: block;
		float: none;
		margin-right: 0;
		margin-left: 0;
		text-align: center;
	}

	.inside-header > :not(:last-child):not(.main-navigation) {
		margin-bottom: 0;
	}

	.inside-header .img-wrapper {
		max-height: none;
	}

	.top-social-nav {
		display: none;
	}
}

@media (max-width: 768px) {

	#content {
		padding-left: 15px;
		padding-right: 15px;
	}

	.tagline {
		font-size: 20px;
	}
}

@media (max-width: 640px) {

	.globe-logo {
		display: none;
	}

	.top-social-nav {
		display: none;
	}

	.site-branding h1,
	.site-branding p {
		text-align: center;
		margin-left: 0;
	}

	.title-container {
		margin-left: 0;
	}
}

/* Mobile-friendly table (used on terms page) */
@media (max-width: 490px) {

	.wp-block-table table,
	.wp-block-table thead,
	.wp-block-table tbody,
	.wp-block-table th,
	.wp-block-table td,
	.wp-block-table tr {
		display: block;
	}

	.wp-block-table tr {
		padding: 0.75em; /* Half of paragraph spacing */
	}

	.wp-block-table th,
	.wp-block-table td {
		padding: 0;
	}
}

/* Make sure "The Way International™" can fit on one line on really narrow screens like the iPhone 5 */
@media (max-width: 430px) {

	.online-resources-menu-panel div.wp-block-column {
		padding-left: 0;
		padding-right: 0;
	}

	.online-resources-menu-panel .wp-block-column:not(:first-child) {
		margin-left: 0;
	}

	.site-branding h1 {
		font-size: 26px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 19px;
	}

	.site-branding .tagline {
		font-size: 18px;
	}

	.testimonial {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 30px;
		padding-right: 30px;
	}
}

/*
 * Fonts
 */
@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-thin.woff2) format("woff2"),
		url(./fonts/notosans-thin.woff) format("woff");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-thinitalic.woff2) format("woff2"),
		url(./fonts/notosans-thinitalic.woff) format("woff");
	font-weight: 100;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-extralight.woff2) format("woff2"),
		url(./fonts/notosans-extralight.woff) format("woff");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-extralightitalic.woff2) format("woff2"),
		url(./fonts/notosans-extralightitalic.woff) format("woff");
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-light.woff2) format("woff2"),
		url(./fonts/notosans-light.woff) format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-lightitalic.woff2) format("woff2"),
		url(./fonts/notosans-lightitalic.woff) format("woff");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-regular.woff2) format("woff2"),
		url(./fonts/notosans-regular.woff) format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-italic.woff2) format("woff2"),
		url(./fonts/notosans-italic.woff) format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-medium.woff2) format("woff2"),
		url(./fonts/notosans-medium.woff) format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-mediumitalic.woff2) format("woff2"),
		url(./fonts/notosans-mediumitalic.woff) format("woff");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-semibold.woff2) format("woff2"),
		url(./fonts/notosans-semibold.woff) format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-semibolditalic.woff2) format("woff2"),
		url(./fonts/notosans-semibolditalic.woff) format("woff");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-bold.woff2) format("woff2"),
		url(./fonts/notosans-bold.woff) format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-bolditalic.woff2) format("woff2"),
		url(./fonts/notosans-bolditalic.woff) format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-extrabold.woff2) format("woff2"),
		url(./fonts/notosans-extrabold.woff) format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-extrabolditalic.woff2) format("woff2"),
		url(./fonts/notosans-extrabolditalic.woff) format("woff");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-black.woff2) format("woff2"),
		url(./fonts/notosans-black.woff) format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans (EN-FR-ES-DE)";
	src:
		url(./fonts/notosans-blackitalic.woff2) format("woff2"),
		url(./fonts/notosans-blackitalic.woff) format("woff");
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

/* Bookstore customizations */

/* shrink select box font so G&S titles fit */
.woocommerce div.product form.cart .variations select {
	font-size: 14px;
}

/* make product search more visible */
.navigation-search {
	top: 100%;
	background-color: rgb(187, 187, 187, 0.75);
}

.search-field {
	text-align: center;
}

.navigation-search input[type="search"],
.navigation-search input[type="search"]:active,
.navigation-search input[type="search"]:focus,
.main-navigation .main-nav ul li.search-item.active > a,
.main-navigation .menu-bar-items .search-item.active > a {
	color: #000;
}

/* product page cleanups */
.woocommerce div.product p.price {
	padding-top: 0.5em;
	text-align: center;
}

.woocommerce-variation-price {
	padding-bottom: 0.5em;
	font-weight: 700;
}

.woocommerce-variation-price:empty {
	display: none;
}

/* nicer looking badges (uses YITH badge plugin) */
.yith-wcbm-badge {
	margin: 5px;
	font-weight: 700;
}

/* hide the badge on the actual product page */
body.product-template-default div.woocommerce-product-gallery .yith-wcbm-badge {
	display: none;
}

/* customize the sale badge */
span.onsale {
	background-color: #e80000 !important;
	color: #fff !important;
	text-shadow: none !important;
	margin: 5px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	height: 16px !important;
	width: 43px !important;
	padding: 5px 10px !important;
}

/* fix category widget tabbing on left sidebar */
.widget ul {
	padding-left: revert;
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-0 {
	padding-left: 0;
}

/* clean up CF7 form */
.wpcf7-text,
.wpcf7-email,
.wpcf7-select {
	width: 75%;
}

/* clean up CC fields to be not huge */
.woocommerce
#payment
div.payment_method_square_credit_card
.wc-square-credit-card-hosted-field {
	width: 115%;
	-ms-zoom: 0.85;
	-moz-transform: scale(0.85);
	-moz-transform-origin: 0 0;
	-o-transform: scale(0.85);
	-o-transform-origin: 0 0;
	-webkit-transform: scale(0.85);
	-webkit-transform-origin: 0 0;
	font-size: x-small;
}

/* at this point, the social icons cut into the "Bookstore" */
@media (max-width: 960px) {

	.top-social-nav {
		display: none;
	}
}

/* at this point, the top menu starts cutting into the globe */
@media (max-width: 833px) {

	.globe-logo {
		display: none;
	}

	.site-branding h1,
	.site-branding p {
		text-align: center;
		margin-left: 0;
	}

	.title-container {
		margin-left: 0;
	}
}

/* turn off mobile menu by default */
#product_cat_mobile {
	display: none;
}

/* mobile mode tweaks */
@media (max-width: 768px) {

	/* more margin needed for the sort dropdown */
	.woocommerce .woocommerce-ordering select {
		margin-bottom: 2em;
	}

	/* frame in the product header border */
	.woocommerce ul.products li.product .woocommerce-loop-category__title,
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h3 {
		margin-left: 10% !important;
		margin-right: 10% !important;
	}

	/* show the mobile category menu */
	#product_cat_mobile {
		display: block;
	}
}

/* needed for footer */
.nowrap {
	white-space: nowrap;
}

/* hide Description tab if it's the only child (no review tab present) */
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:only-child#tab-title-description {
	display: none;
}


/* tweaks for printing products */
@media print {

	.woocommerce #content div.product div.summary.entry-summary {
		float: right;
	}

	.woocommerce section.related.products {
		display: none;
	}

	nav#site-navigation,
	div#pp_revisions_top_bar {
		display: none;
	}

}


/* Right-align numbers in numbered lists, as per Way Pub style rules... */
.product ol {
	text-align: right;
}

/* ...but not the list text */
.product ol > li {
	text-align: left;
}


/* fix: "New!" badge hidden under product thumbnail */
.wcz-new-product-badge {
	z-index: 1;
}

/* hide "New!" badge for sale products since badges would overlap */
.product_cat-sale > .wcz-new-product-badge {
	display: none;
}
/* stylelint-enable */
