* {
	font-family: 'Work Sans', cursive;
	font-weight: 400;
}

html {
	background-color: #fff;
}

header {
	background-color: #2D2D2D;
	color: #92C14D;
	padding-bottom: 70px;
}

header div.input {
	color: #fff;
	border: solid 1px #92C14D;
	background-color: #404040;
}

header input {
	font-size: 30px;
	color: #92C14D;
	line-height: 30px;
	border: 0;
	background: transparent;
	padding: 25px 30px;
	font-weight: 400;
	width: calc(100% - 94px - 20px);
}

header input:focus {
	outline: none;
}

body {
	font-size: 22px;
	margin: 0;
}

h1 {
	padding: 50px 0;
	font-size: 80px;
	font-weight: 300;
	margin: 0;
	color: #92C14D;
}

a {
	text-decoration: none;
	font-weight: 400;
}

a:hover {
	text-decoration: underline;
	text-decoration-color: #2D2D2D;
}

.markdown-text  li {
    break-inside: avoid;
}

#flashMessage {
	display: block;
	margin: 2em;
	padding: 10px 20px;
	text-align: center;
}

#flashMessage.success {
	background-color: #27ae60;
}

#flashMessage.error {
	background-color: #c0392b;
}

.latest-recipes,
.other-recipes {
	padding-bottom: 70px;
}

.latest-recipes {
	background-color: #92C14D;
	color: #fff;
}

.other-recipes:nth-child(2n) {
	background-color: #F8F8F8;
}

.latest-recipes .page-container,
.other-recipes .page-container,
.search-results .page-container {
}

.latest-recipes h2,
.other-recipes h2,
.search-results h2 {
	font-size: 40px;
	font-weight: 300;
	margin: 60px 0 30px 0;
}

.latest-recipes h2 a,
.other-recipes h2 a {
	font-weight: 300;
	color: black;
}

.recipe-block {
	background-color: #fff;
	margin-right: 1%;
	width: 32.66%;
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.3);
	display: inline-block;
	vertical-align: top;
	border-radius: 5px;
}

.search-results .recipe-block {
	min-width: 326px;
	margin-bottom: 10px;
}

.recipe-block:last-child,
.search-results .recipe-block:nth-child(3n+1) {
	margin-right: 0;
}

.recipe-block .thumbnail-link {
}

.recipe-block .thumbnail {
	width: 100%;
	height: 250px;
	background-size: cover;
	background-color: #e0e0e0;
	border-radius: 5px 5px 0 0;
}

.recipe-block .info-block {
	padding: 25px 30px;
	position: relative;
	min-height: 134px;
}

.recipe-block .info-block h1 {
    text-align: left;
    font-size: 20px;
	color: #2D2D2D;
	padding: 0;
	font-weight: 400;
}

.recipe-block .info-block .properties {
	color: #92C14D;
	font-size: 14px;
	margin-bottom: 40px;
}

.recipe-block .info-block .properties a {
	color: #92C14D;
	font-weight: 400;
	white-space: nowrap;
}

.recipe-block .info-block .preperation-time {
	position: absolute;
	bottom: 15px;
	right: 30px;
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	color: rgb(160, 160, 160);
}

.recipe-block .info-block .categories {
	position: absolute;
	bottom: 15px;
	left: 30px;
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	color: #92C14D;
	max-width: 170px;
}

.page-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
}

.recipe-view .hero {
	width: 100%;
    height: 750px;
	background-size: cover;
	background-position-x: center;
    background-position-y: center;
    background-repeat-x: no-repeat;
    background-repeat-y: no-repeat;
}

.recipe-view .hero .page-container {
	position: relative;
	height: calc(100% - 40px);
}

.recipe-view .hero .page-container .recipe-header {
	position: absolute;
	bottom: 0;
	padding-right: 20px;
}

.recipe-view .hero h1 {
	background-color: #fff;
    color: #2d2d2d;
    display: inline;
    padding: 0 20px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    white-space: pre-line;
    line-height: 94px;
}

.recipe-view .hero p {
	margin-bottom: 100px;
	background-color: #fff;
    color: #2d2d2d;
    display: inline;
    padding: 0 20px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    white-space: pre-line;
	line-height: 50px;
	display: inline-table;
	font-size: 20px;
}

.recipe-view .hero a {
	color: #92C14D;
	font-weight: 400;
}

.recipe-view .hero a:hover {
	text-decoration: underline;
	text-decoration-color: #92C14D;
}

.recipe-view .details {
	background-color: #92C14D;
	color: #fff;
}

.recipe-view .details dl {
	margin-bottom: 0;
	font-size: 0;
	margin-top: 20px;
}

.recipe-view .detail-wrapper {
	margin-bottom: 55px;
	width: 32.66%;
	margin-right: 1%;
	display: inline-block;
}

.recipe-view .detail-wrapper:nth-child(3n) {
	margin-right: 0;
}

.recipe-view .details dt {
	font-size: 30px;
}

.recipe-view .details dd {
	font-size: 20px;
	margin-left: 0;
	line-height: 50px;
	font-weight: 400;
}

.recipe-view .content {
	font-size: 25px;
	margin-bottom: 80px;
}

.recipe-view .content h2 {
	margin-top: 60px;
}

.recipe-view .content em {
    margin-top: 50px;
    display: block;
    font-weight: 400;
}

.recipe-view .content ol,
.recipe-view .content ul {
	padding-left: 20px;
}

.recipe-view .content li {
	padding-bottom: 5px;
}

.recipe-view .content ol li {
	padding-bottom: 20px;
}

footer {
	background-color: #2D2D2D;
	height: 20px;
}

@media (max-width: 1040px) {

	.page-container {
		padding: 20px 40px;
	}

	h1 {
		font-size: 30px;
		padding: 0 0 20px;
	}

	.latest-recipes .page-container,
	.other-recipes .page-container,
	.search-results .page-container {
		padding: 20px;
		display: block;
	}

	.recipe-block .info-block,
	.recipe-block .thumbnail-link,
	.latest-recipes h2,
	.other-recipes h2,
	.search-results h2 {
	}

	.latest-recipes,
	.other-recipes,
	.search-results {
		padding-bottom: 0;
	}

	.latest-recipes h2,
	.other-recipes h2,
	.search-results h2 {
		margin: 20px 0 30px 0;
		font-size: 25px;
	}

	header {
		padding-bottom: 10px;
	}

	header input {
		font-size: 20px;
		line-height: 20px;
		padding: 10px 15px;
		font-weight: 300;
		width: calc(100% - 40px - 10px);
	}

	.recipe-block:nth-child(n) {
		margin: 0 0 20px 0;
		width: 100%;
		max-width: none;
		min-width: auto;
		display: block;
	}

	.recipe-block .info-block h1 {
		font-size: 18px;
	}

	.recipe-block .info-block .categories {
		max-width: 100%;
	}

	.recipe-view .hero .page-container .recipe-header {
		padding-right: 40px;
	}

	.recipe-view .hero {
		height: 500px;
	}

	.recipe-view .hero h1 {
		line-height: inherit;
		padding: 5px 10px;
	}

	.recipe-view .hero p {
		margin-bottom: 53px;
		white-space: normal;
		line-height: inherit;
		padding: 5px 10px;
		display: inline-block;
		font-size: 16px;
	}

	.recipe-view .detail-wrapper {
		margin-bottom: 30px;
	}

	.recipe-view .details dt {
		font-size: 20px;
	}

	.recipe-view .details dd {
		font-size: 16px;
	}

	.recipe-view .content {
		font-size: 16px;
	}

	.recipe-view .content ol,
	.recipe-view .content ul {
		padding-left: 15px;
	}
}

@media (max-width: 740px) {
	.recipe-view .detail-wrapper {
		display: block;
		width: 100%;
		border-bottom: 1px solid #fff;
		padding-bottom: 15px;
	}

	.recipe-view .details dt,
	.recipe-view .details dd {
		display: inline-block;
		width: 50%;
	}

	.recipe-view .details dd {
		text-align: right;
		line-height: 24px;
	}
}

@media (max-width: 470px) {
	.recipe-block .info-block {
		min-height: 0;
	}
}

@media (max-width: 320px) {
	.recipe-block .info-block .properties {
		margin-bottom: 20px;
	}

	.recipe-block .info-block .categories,
	.recipe-block .info-block .preperation-time {
		position: static;
	}

	.recipe-view .detail-wrapper {
		display: block;
		width: 100%;
		border-bottom: 0;
		padding-bottom: 0;
	}

	.recipe-view .details dt,
	.recipe-view .details dd {
		display: block;
		text-align: left;
		width: 100%;
	}

	.recipe-view .details dt {
		font-size: 18px;
	}

	.recipe-view .details dd {
		padding-left: 0;
		font-size: 16px;
		line-height: 30px;
	}
}

@media print {
	.recipe-view .hero {
		height: auto;
	}

	.recipe-view .hero .page-container .recipe-header {
		position: static;
	}

	.recipe-view .details dl {
		columns: 2;
	}

	.recipe-view .detail-wrapper {
		margin-bottom: 20px;
	}

	.recipe-view .details dt,
	.recipe-view .details dd {
		display: block;
		width: 100%;
		text-align: left;
		font-size: 14px;
		line-height: inherit;
	}

	.recipe-view .details dt {
		padding-bottom: 5px;
	}

	.recipe-view .details dd {
		font-size: 12px;
	}

	.recipe-view .content h2 {
		margin-top: 20px;
		margin-bottom: 10px;
	}


}
