/*
Theme Name: Hope Shop Offers 3
Author: Brett Donald
Description: Scratch theme for Food as Medicine landing pages and WooCommerce
Version: 0.0.1
*/

/* typography */

@import url('https://fonts.googleapis.com/css?family=Titillium+Web:300,300i,400,400i,600,700');
@font-face {
	font-family: 'dearJoe1';
	src: url('font/dearJoe1MS.woff') format('woff');
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: 'DIN';
	src: url('font/DIN.woff') format('woff');
	font-style: normal;
	font-weight: bold;
}
body, input, select, textarea, button {
	font-family: 'Titillium Web', sans-serif;
	font-size: 15pt;
}
@media (min-width: 1380px) { /* at this width, 1.5vw is approx equal to 15pt */
	body, input, select, textarea, button {
		font-size: 1.5vw;
	}
}

/* body */

body {
	margin: 0;
	color: #272727;
}

/* general styles */

.hidden {
	opacity: 0;
}
.thin-divider {
	border-top: 1px solid #eee;
}
ul.lime-bullets {
  padding-left: 1.5em;
  list-style: none;
}
ul.lime-bullets > li {
  clear: left;
	margin: 0.5em 0;
	line-height: 1.4;
}
ul.lime-bullets > li:first-child {
	margin: 0 0 0.5em;
}
ul.lime-bullets > li:last-child {
	margin: 0.5em 0 0;
}
ul.lime-bullets > li:before {
  content: "";
  height: 1em;
  width: 1em;
  display: block;
  float: left;
  margin-left: -1.5em;
	margin-top: 0.2em;
  background-image: url(img/lime-cut-2.svg);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* left and right padding */

footer, .padding-standard, .side-padding-standard {
	padding-left: 6vw;
	padding-right: 6vw;
}
.side-padding-narrow, .side-padding-inside {
	padding-left: 4vw;
	padding-right: 4vw;
}
@media (min-width: 600px) { /* set to minimise paragraph re-flow as width is adjusted through this break */
	.side-padding-inside {
		padding-left: 9vw;
		padding-right: 9vw;
	}
}
@media (min-width: 1200px) { /* set to minimise paragraph re-flow as width is adjusted through this break */
	.padding-standard, .side-padding-standard {
		padding-left: 12vw;
		padding-right: 12vw;
	}
	.side-padding-narrow {
		padding-left: 10vw;
		padding-right: 10vw;
	}
	.side-padding-inside {
		padding-left: 15vw;
		padding-right: 15vw;
	}
	footer {
		padding-left: 20vw;
		padding-right: 20vw;
	}
}

/* top and bottom padding */

.padding-standard, .top-padding-standard {
	padding-top: 1em;
	padding-bottom: 1em;
}
footer {
	padding-top: 2em;
	padding-bottom: 2em;
}

/* header */

header {
	padding: 0.6em 6vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
@media (min-width: 900px) {
	header {
		padding: 0.6em 3vw;
	}
}
header>img:first-child {
	height: 90px;
}
header>img:last-child {
	height: 60px;
}

/* cover strip */

#cover-strip {
/*	background-color: #f6f6f6; */
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(img/granite2.jpg);
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding-top: 1em;
	padding-bottom: 1em;
}
@media (min-width: 900px) {
	#cover-strip {
		flex-direction: row;
/*		padding-top: 0; */
		padding-bottom: 2em;
	}
}
#cover-strip>div {
	margin: 1em 3vw;
	flex: 1 1 0;
}
.book-image-cell, .book-image-cell-2 {
	position: relative;
}
.book-image-cell {
	padding-right: 5%;
}
.book-image-cell-2 {
	padding-top: 4%;
}
#book-image {
	max-width: 100%;
}
.book-drop-shadow {
	filter: drop-shadow(-2px 8px 5px #666);
}
.stamp {
	position: absolute;
	top: 10%;
	right: 20%;
	width: 30%;
	animation: pulse 1.0s 2.0s forwards;
	opacity: 0;
	transform: rotate(-10deg) scale(0.6);
	filter: drop-shadow(0 0 4px #ccc);
}
@keyframes pulse {
  0% {
	opacity: 0;
  }
  10% {
	opacity: .50;
	transform-origin: 50% 50%;
	transform: rotate(-5deg) scale(4);
	transition: all .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
  }
  100% {
	opacity: 1;
	transform: rotate(5deg) scale(1) translate(60%,-30%);
  }
}
.stamp2 {
	position: absolute;
	top: 20%;
	right: 10%;
	width: 30%;
	animation: pulse2 1.0s 2.0s forwards;
	opacity: 0;
	transform: rotate(-10deg) scale(0.6);
	filter: drop-shadow(0 0 4px #ccc);
}
@keyframes pulse2 {
  0% {
	opacity: 0;
  }
  10% {
	opacity: .50;
	transform-origin: 50% 50%;
	transform: rotate(-5deg) scale(4);
	transition: all .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
  }
  100% {
	opacity: 1;
	transform: rotate(5deg) scale(1) translate(30%,-70%);
  }
}
.book-title, .book-subtitle {
	font-family: 'DIN';
	text-transform: uppercase;
}
.book-title, .bundle-title {
	margin: 0;
	font-size: 2em;
}
.book-title {
	position: relative;
	left: -2px;
}
.bundle-title {
	line-height: 1;
}
.book-subtitle, .bundle-subtitle {
	margin-top: 0;
	color: #55A3C5;
}
.book-subtitle {
	font-size: 1em;
	letter-spacing: 2px;
}
.bundle-subtitle {
	/* color: gold; /*#ffd402 #B7A16F;*/
	line-height: 1.2;
}
.buy-button {
	font-size: 2em;
	font-weight: bold;
}
.buy-button {
	display: inline;
	text-transform: uppercase;
	color: white;
	padding: 8px 50px;
	display: inline-block;
	border-radius: 3px;
	background-color: green;
	text-decoration: none;
}
.floating-buy-button {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	background-color: #333;
	z-index: 999;
	padding: 1em;
}
.promotion {
	color: #a51d38;
}
.rrp, .delivery {
	color: #aaa;
	font-weight: 300;
}
.rrp {
	margin-bottom: 0;
}
.rrp>span {
	text-decoration: line-through;
}
.price {
	font-size: 2.5em;
	font-weight: bold;
	margin-right: 0.5em;
}
.delivery {
	display: inline-block;
	line-height: 1;
}
.aus-only {
	font-size: 0.6em;
}
.delivery-unabbreviated {
	display: none;
}
@media (min-width: 400px) {
	.delivery-unabbreviated {
		display: inline;
	}
}

/* testimonial strip */

@media (max-width: 599px) {
	#testimonial-strip, #testimonial-strip-bundle {
		font-size: 0.8em;
	}
}
#testimonial-strip {
	color: #4d5d3a;
	background-color: #f2e36e;
}
#testimonial-strip-bundle {
/*
	background: url(img/split-background.png) repeat-y;
	background-size: contain;
*/
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(img/split-background.jpg) center center no-repeat;
	background-size: cover;
}
.testimonial-slider {
	display: flex;
	align-items: center;
}
.testimonial-slider>div {
	text-align:center;
}
.testimonial-slider-controls {
	text-align:center;
	margin-top: -0.5em;
	padding-bottom: 0.5em;
}
.testimonial-slider-controls img {
	height: 14px;
	margin: 0 15px;
	opacity: 0.5;
}
.testimonial-slider-controls img:focus {
	opacity: 0.8;
	outline: none;
}
#testimonial-strip-bundle {
	display: flex;
}
#testimonial-strip-bundle>div {
	margin: 1em 3vw;
}
#testimonial-strip-bundle .column-heading {
	height: 5vw;
	border: 1px solid red;
	text-align: center;
	display: flex;
	align-items: center;
}
#testimonial-strip-bundle .fam {
	background-image: url(img/fam-spine-background.jpg);
}
#testimonial-strip-bundle .lmh {
	background-color: yellow;
}
#testimonial-strip-bundle .column-heading img {
	max-width: 100%;
	max-height: 100%;
}
.testimonial {
	font-weight: 600;
}
.attestant, .signs-blurb {
	font-weight: 300;
	font-style: italic;
	opacity: 0.8;
	font-size: 0.9em;
}
.attestant em {
	font-style: normal;
}
.signs-blurb em {
	font-weight: 600;
}
/* bundle details grid */

#bundle-details-grid {
	background-color: white;
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: auto;
	grid-template-rows: repeat(10, auto);
}
.bdg-fam-bg1, .bdg-fam-bg2, .bdg-lmh-bg1, .bdg-lmh-bg2,
.bdg-fam-title, .bdg-fam-buyline, .bdg-fam-blurb, .bdg-fam-testimonials, .bdg-fam-slider-controls,
.bdg-lmh-title, .bdg-lmh-buyline, .bdg-lmh-blurb, .bdg-lmh-testimonials, .bdg-lmh-slider-controls {
	grid-column: 1;
}
.bdg-fam-bg1 {
	grid-row: 2/6;
	background: url(img/fam-cover-7.jpg) right top no-repeat;
}
.bdg-fam-bg2 {
	grid-row: 4/6;
	background: linear-gradient(to bottom, rgba(227, 237, 222, 0.8), rgba(198, 219, 189, 0.8));
}
.bdg-lmh-bg1 {
	grid-row: 7/11;
	background: url(img/daisy-background.jpg) left top no-repeat;
}
.bdg-lmh-bg2 {
	grid-row: 9/11;
	background: linear-gradient(to bottom, rgba(247, 237, 161, 0.8), rgba(242, 227, 110, 0.8));
}
.bdg-fam-bg1, .bdg-lmh-bg1 {
	background-size: cover;
}
.bdg-fam-title, .bdg-lmh-title {
	display: flex;
	justify-content: center;
	align-items: center;
}
.bdg-fam-title {
	grid-row: 1;
	background-image: url(img/fam-spine-background.jpg);
	padding: 0.5em 6vw;
}
.bdg-fam-buyline, .bdg-lmh-buyline {
	padding: 1.5em 6vw;
	font-size: 1.2em;
	font-style: italic;
	text-align: center;
	line-height: 1.2;
}
.bdg-fam-blurb, .bdg-lmh-blurb {
	padding: 0.5em 6vw;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.75));
}
.bdg-fam-buyline {
	grid-row: 2;
	text-shadow: -1px -1px 0 rgba(178, 194, 211, 0.7), 1px -1px 0 rgba(178, 194, 211, 0.7), -1px 1px 0 rgba(178, 194, 211, 0.7), 1px 1px 0 rgba(178, 194, 211, 0.7);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
}
.bdg-fam-blurb {
	grid-row: 3;
}
.bdg-fam-testimonials {
	grid-row: 4;
}
.bdg-fam-slider-controls {
	grid-row: 5;
}
.bdg-lmh-title {
	grid-row: 6;
	background-color: gold;
	padding: 0.5em 0;
}
.bdg-lmh-buyline {
	grid-row: 7;
}
.bdg-lmh-blurb {
	grid-row: 8;
}
.bdg-lmh-blurb :last-child {
	display: none;
	font-size: 3em;
	margin: 0.33em 0;
}
.bdg-lmh-testimonials {
	grid-row: 9;
}
.bdg-lmh-slider-controls {
	grid-row: 10;
}
@media (min-width: 900px) {
	#bundle-details-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(5, auto);
	}
	.bdg-lmh-bg1, .bdg-lmh-bg2, .bdg-lmh-title, .bdg-lmh-buyline, .bdg-lmh-blurb, .bdg-lmh-testimonials, .bdg-lmh-slider-controls {
		grid-column: 2;
	}
	.bdg-lmh-bg1 {
		grid-row: 2/6;
	}
	.bdg-lmh-bg2 {
		grid-row: 4/6;
	}
	.bdg-lmh-title {
		grid-row: 1;
	}
	.bdg-lmh-buyline {
		grid-row: 2;
	}
	.bdg-lmh-blurb {
		grid-row: 3;
	}
	.bdg-lmh-blurb :last-child {
		display: block;
	}
	.bdg-lmh-testimonials {
		grid-row: 4;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.bdg-lmh-slider-controls {
		grid-row: 5;
	}
}
.bdg-fam-title>img, .bdg-lmh-title>img {
	width: 100%;
	max-width: 540px;
}
.bdg-fam-testimonials, .bdg-lmh-testimonials  {
	padding-left: 6vw;
	padding-right: 6vw;
	overflow-x: scroll;
}
.slider-fam, .slider-lmh {
	display: flex;
	align-items: center;
}
.slider-fam>div, .slider-lmh>div {
	text-align: center;
}

/* image strip */

#image-strip {
	line-height: 0.5;
}
#image-strip img {
	width: 100%
}
@media (min-width: 900px) {
	#image-strip {
		display: none;
	}
}

/* welcome strip */

#welcome-strip {
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(img/mango-passionfruit.jpg);
	background-position: top right;
	background-size: cover;
	text-shadow: 0 0 8px white;
}
@media (min-width: 900px) {
	#welcome-strip {
		background-image: url(img/mango-passionfruit.jpg);
		padding-right: 50%;
	}
}

/* inside strip */

#inside-strip {
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(img/granite2.jpg);
	background-size: cover;
	padding-top: 3em;
	padding-bottom: 2em;
}
.decorated-book {
	padding: 0 2.8%;
	background-color: #aaa;
	background-image: url(img/open-pages-left.png), url(img/open-pages-right.png);
	background-position: left, right;
	background-repeat: no-repeat, no-repeat;
	background-size: contain;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* author strip */

#author-strip, #author-strip-2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-position: bottom left;
	background-size: cover;
	color: white;
	text-shadow: 0 0 8px rgba(84, 125, 94, 1);
}
#author-strip {
	background-image: linear-gradient(to bottom, rgba(84, 125, 94, 0.85), rgba(84, 125, 94, 0.7)), url(img/sue-radd.jpg);
}
#author-strip-2 {
	background-image: linear-gradient(to bottom, rgba(60, 106, 150, 0.85), rgba(60, 106, 150, 0.7)), url(img/beach-background.jpg);
}
#author-strip>div, #author-strip-2>div {
	margin: 1em 0;
	flex: 1 1 0;
}
#author-strip>div :first-child, #author-strip-2>div :first-child {
	margin-top: 0;
}
#author-strip>div :last-child, #author-strip-2>div :last-child {
	margin-bottom: 0;
}
@media (min-width: 600px) {
	#author-strip>div, #author-strip-2>div  {
		margin: 2em 3vw;
	}
}
@media (min-width: 900px) {
	#author-strip, #author-strip-2 {
		flex-direction: row;
	}
}
.author-image>img {
	max-width: 100%;
	border: 3px solid white;
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

/* footer */

footer {
	background-image: radial-gradient(#fcfcf7, #f8f8ec);
	text-align: center;
}
footer img {
	width: 100%;
	max-width: 250px;
	vertical-align: middle;
	border-radius: 0;
	display: initial;
}
.signs-summary {
	color: #e39732;
}
.signs-blurb {
	color: #333;
}
#floating-buy-button {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 999;
	width: 100px;
	height: 100px;
	transition: opacity 0.3s;
}
@media (min-width: 600px) {
	#floating-buy-button {
		width: 150px;
		height: 150px;
	}
}
@media (min-width: 1200px) {
	#floating-buy-button {
		width: 200px;
		height: 200px;
	}
}
#floating-buy-button circle {
	stroke: white;
	stroke-width: 1;
	fill: green; /* #272727 */
}
#floating-buy-button text {
	fill: white; /* #B7A16F */
	font-family: DIN;
	font-size: 20pt;
}
.storefront-full-width-content .woocommerce-products-header,
.storefront-full-width-content.woocommerce-account .entry-header,
.storefront-full-width-content.woocommerce-cart .entry-header,
.storefront-full-width-content.woocommerce-checkout .entry-header {
	padding: 0;
}
.select2-container .select2-selection--single {
	height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__rendered
{
	line-height: inherit;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover {
	background-color: green;
	border-color: green;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments {
	background-color: green;
}
a:focus, button:focus, input:focus, textarea:focus {
	outline: 2px solid green;
}
.return-to-shop {
	display: none;
}
.button {
	border-radius: 2px;
}
table.cart .product-thumbnail img {
	max-width: 10em;
}
