@charset "UTF-8";
/* CSS Document */
/*
 Theme Name:   Hemingway Child
 Theme URI:    http://localhost/
 Description:  Hemingway Child Theme
 Author:       Very Edible Gardens
 Author URI: http://www.andersnoren.se
 Theme URI: http://www.andersnoren.se/teman/hemingway-wordpress-theme/
 Template:     hemingway
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Hemingway-child
*/

body {
	font-family: Merriweather,Georgia,serif;
	font-size: 16px;
	background-size:100%;
}
body a {
	color: #008A6F;	
}
.section.large-padding {
    padding: 0;
}
#site-description {
	color: rgb(25,50,25);
    text-shadow: 1px 1px #edd;
	line-height: 1em;
}
.navigation {
	background: none;
	text-align:center;
}
.blog-menu > li:before {
	content: normal;
}
.blog-menu > .has-children::after,
.blog-menu > .page_item_has_children::after {
	border-top-color: rgba(0,0,0,0.4);
}
li.current-menu-item {
    font-style: italic;
}
.blog-menu .current-menu-item a {
    color: #0036bA;;
}
.navigation-inner {
    border-top: #aaa dashed 1px;
    border-bottom: #aaa dashed 1px;
	max-width: 100%;	
}
ul.blog-menu {
	display: inline-block;
    vertical-align: top;
}
.blog-menu a {
	text-transform: none;
	font-family: Georgia, serif;
	padding: 16px 28px;
	font-size: 15px;
	color:#3e3014;	
}
.blog-menu .sub-menu li a {
	color: #aaa;	
}
.blog-menu .sub-menu li a:hover {
	color: #fff;	
}
.blog-menu a:hover {
    color: #000;
}
.blog-menu {
	margin: 0;
}

.blog-menu > li + li::before {
	content: "";
}

.blog-menu li {
	line-height:1.1em;
	float: left;
	position: relative;
}
.blog-menu ul li {
	text-align: left;
}
.blog-menu > li:before {
	content: normal;
}
.blog-menu > .menu-item-has-children::after, .blog-menu > .page_item_has_children::after {
    content: "";
    display: block;
    border: 5px solid transparent;
        border-top-color: transparent;
    border-top-color: rgba( 0, 0, 0, 0.5 );
    position: absolute;
    z-index: 1001;
    right: 17px;
    top: 50%;
    margin-top: -2px;
    transition: border-color .2s ease-in-out;
}
.section.bg-dark {
    background-color: rgba(70,46,20,0.05);
}
.section.bg-dark-light {
    background:none;
}
.book-title {
	font-variant: small-caps;
}
.wrapper {
    margin-top: 20px;
    padding: 20px 40px;
    background-color: rgba(255,255,255,0.5);	
	-moz-border-radius: 20px;
}
.text-area {
	font-family: Merriweather, Georgia, serif;
}
h1, .componentheading, .post-title {
	font-family: 'Josefin Sans', Georgia, serif;
	 word-wrap: normal;
	 -webkit-hyphens: none;
	 -moz-hyphens: none;
	 -ms-hyphens: none;
	 hyphens: none;
	 word-break: normal;
	font-size: 1.8em;
    color: #3e3014;
    margin: 1em 0px 4px;
    padding: 0 0 4px 0;
    font-weight: normal;
    border-bottom: 1px dashed #c9c5bd;
    font-family: 'Josefin Sans', Georgia, serif;
    letter-spacing: 0.03em;
    word-spacing: 0.15em;
	text-shadow: 1px 2px #edd;
}
.post-content h1 {
	font-size: 1.8em;
}
h2, .post-content h2 {
	font-family: 'Josefin Sans', Georgia, serif;
	font-weight:normal;
	font-size: 1.4em;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    margin: 40px 0 25px;
}
.blog-title {
	font-family: 'Josefin Sans', Georgia, serif;
	font-weight:400;
}
#site-description {
	font-weight:400;
	font-size:1.2em;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
	font-family:Georgia, "Times New Roman", Times, serif;
}

.blog-description {
	font-family: 'Josefin Sans', Georgia, serif;
}
.post-content blockquote {
	font-family: Merriweather, Georgia, serif;
	background: rgba(26, 188, 156, 0.14);
}

.widget-title {
	font-family: 'Josefin Sans', Georgia, serif;
	font-size:19px;
	margin-top: 40px;
}
.header {
	padding: 15px 0px;
}
img.alignleft, .alignleft img, img.aligncenter, .aligncenter img, img.alignright, .alignright img {
	display:block;
	border: none;
}
.blog-logo {
    max-height: 230px;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    padding: 20px 0 0 0;
}
.blog-logo img {
    width: 100%;
    height: 100%;
	max-width:797px;
}
.header-right {
    float: right;
    margin-top: 36px;
}
.header-left {
    float: left;
    margin-top: 36px;
}

.section-inner {
    width: 982px;
}

.section.large-padding {
    padding: 20px 0;
}
.sidebar {
    width: 25%;
    padding-top: 35px;
}

.footer {
    margin-top:0;
}
.credits {
    padding: 0;
}
.section.credits, .section.footer {
    background: none;
}

.sidebar input[type="text"], .sidebar input[type="tel"], .sidebar input[type="url"], .sidebar input[type="email"], .sidebar input[type="password"], .sidebar textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.9em;
    border: none;
    color: #333;
    background: #f2f2f2;
    border-radius: 3px;
    -webkit-appearance: none;
}

.sidebar input[type="submit"], .sidebar input[type="reset"], .sidebar input[type="button"] {
    padding: 12px 16px;
    margin: 0;
    border: none;
    background: #333;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
    -webkit-appearance: none;
    border-radius: 3px;
    -webkit-appearance: none;
}

.sidebar h2 {
    font-size: 1.3em;
}

.image-box-left {
    background-color: #eed;
    float: left;
    padding: 8px;
    margin: 0 10px 0 0;
    text-align: center;
}
.image-box-right {
    background-color: #eed;
    float: right;
    padding: 8px;
    margin: 0 0 0 10px;
    text-align: center;
}
.toggle-order-top {
	display: none;
}
.shadow {
	-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
}

/* polaroid images */

figure, figcaption {
	display: block;
}
.polaroid{
	width:100%;
	overflow:hidden;
	padding:20px 10px;
}
.polaroid figure{
	float:left;
	position:relative;
	/*width:200px;*/
	margin:10px 20px;
	padding: 6px 8px 6px 8px;
	-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	background: #eee6d8;
	background: -webkit-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
	background: -moz-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
	background: -o-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
	background: -ms-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
	background: linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
	-webkit-transform:rotate(-1deg);
	-moz-transform: rotate(-1deg);
	-o-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	transform: rotate(-1deg);
	-webkit-backface-visibility:hidden; /*prevent rotated text being jagged in Chrome and Safari*/
}
.polaroid figure.slideshow {
	width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
}

.polaroid figure {
	max-width: -moz-calc(100% - 40px);
    max-width: -webkit-calc(100% - 40px);
    max-width: calc(100% - 40px);
}
.polaroid figure:nth-child(even), .polaroidodd figure  {
	-webkit-transform:rotate(2deg);
	-moz-transform: rotate(2deg);
	-o-transform: rotate(2deg);
	-ms-transform: rotate(2deg);
	transform: rotate(2deg);
	-webkit-backface-visibility:hidden; /*prevent rotated text being jagged in Chrome and Safari*/
	-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
	box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
}
.polaroid figure:before {
	content: '';
	display: block;
	position: absolute;
	left:5px;
	top: -15px;
	width: 75px;
	height: 25px;
	background-color: rgba(222,220,198,0.7);
	-webkit-transform: rotate(-12deg);
	-moz-transform: rotate(-12deg);
	-o-transform: rotate(-12deg);
	-ms-transform: rotate(-12deg);
}
.polaroid figure:nth-child(even):before, .polaroidodd figure:before {
	left: -webkit-calc(100% - 80px);
	left: -moz-calc(100% - 80px);
	left: calc(100% - 80px);
	top: -15px;
	width: 55px;
	height: 25px;
	-webkit-transform: rotate(12deg);
	-moz-transform: rotate(12deg);
	-o-transform: rotate(12deg);
	-ms-transform: rotate(12deg);
}
.polaroid figcaption{
	padding-top: 0px;
	text-align:center;
	font-family: 'Seaweed Script', serif; 
	font-size:1em;
	color:#454f40;
	letter-spacing:0.09em;
}
/**IE Hacks - see http://css3pie.com/ for more info on how to use CS3Pie and to download the latest version**/
.polaroid figure{
	-pie-background: linear-gradient(#ede1c9, #fef8e2 20%, #f2ebde 60%);
	behavior: url(assets/pie/PIE.htc);
	position:relative; /*required to make PIE work*/
	padding-top:10px\9;
	padding-right:10px\9;
}
.polaroid figcaption.afterslideshow {
	/* because of a <br> tag the slideshow plugin puts in an annoying place */
	margin-top: -14px;
}

.lefty {
	float:left;
}
.righty {
	float:right;
}
.lefty .polaroid {
	padding-left:0px;	
}
.righty .polaroid {
	padding-right:0px;	
}
/* hack due to wordpress adding <p></p> tags before <figcaption> */
.polaroid figure p {
    margin: 0;
    padding: 0;
}

/* Grid style for display-posts widget (recipes) */
.display-posts-listing.grid {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.display-posts-listing.grid .title {
	display: block;
}

.display-posts-listing.grid img { 
	display: block; 
	max-width: 100%; 
	height: auto; 
}



.listing-item {
	box-sizing: border-box;
	flex-basis: calc(33% - 20px);
	margin: 10px !important;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 13px 27px -5px rgba(50,50,93,.15),0 8px 16px -8px rgba(0,0,0,.3);
	transition: all .15s ease;
}
.listing-item:hover {
 box-shadow:0 13px 27px -5px rgba(50,50,93,.3),0 8px 16px -8px rgba(0,0,0,.3);
 transform:translateY(-4px)
}

.listing-item a:first-child {
	display: block;
	background: #eaeaea;
	max-height: 150px;
	overflow: hidden;
	width: auto;
}

.listing-item a:first-child img {

    height: 135px;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.listing-item a:last-child {
	padding: 12px 10px 8px;
	display: flex;
	flex-wrap: wrap;
	font-size: .75em;
	line-height: 1.2;
	color: #222;
	margin: 0;
	text-decoration: none;
}

/* hide protected by captca thing from every page but contact */
body:not(.page-id-122) .grecaptcha-badge {
	display: none;
}


@media (min-width: 600px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media (max-width: 1040px) {

	body { font-size: 15px; }
}

@media (max-width: 800px) {
	.mobile-menu a {
		font-family: Georgia, serif;
		text-transform: none;
		font-size: 13px;
	}	
	.header, .section {
		padding: 10px 0px;
	}
	#site-description {
		font-size:1em;
		margin: 8px 0;
	}
	.sidebar {
    	display: block;
		width:100%;
		margin-top:40px;
	}
	ul.blog-menu {
		display: none;
	}
	.toggle-container {
		background: none; 
	}
	.search-toggle {
		display: none;
	}
	.toggle {
		height: 43px;
		padding: 13px 36px;
	}
	.toggle-order-top {
		display: block;
	}
}


@media (max-width: 700px) {
	.header.section {
		padding: 20px 0px;
	}
	.header-left, .header-right {
    	clip: rect(1px, 1px, 1px, 1px);
		overflow: hidden;
		position: absolute !important;
		height: 1px;
		width: 1px;
	}
}
	
@media (max-width: 500px) {
	body { font-size: 14px; }
	.wrapper {
		margin-top: 15px;
    	padding: 1px 20px 20px;
	}
	.toggle {
		padding: 13px 20px;
	}
}