html {
	height: 100%;
}

body.body {
	margin: 0px;
	height: 100%;
}

div.main_wrapper {
	min-height: 100%;
	margin-bottom: -61px;
}

div.header_padding {
	height: 60px;
}

/* flex layout */
.flex-container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	text-align: center;
	position: inline;
	padding: 10px;
	padding-bottom: 33px;
}

.flex-container > * {
	-webkit-flex: 1 100%;
	flex: 1 100%;
}

.flex-container > .navpanel {
}

/* header */
header.main_header {
	height: 60px;
	width: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 1;
	border: 0px;
	border-bottom: 2px;
	border-color: #757C33;
	border-style: solid;
	text-align: center;
}

img.header_image {
	position: relative;
	top: 0px;
	max-width: 100%;
}

div.header_interior {
	background-color: #8C9440;
	width: 100%;
	height: 60px;
}

/* recipe list */
div.recipe_list_wrapper {
	padding: 10px;
	overflow: auto;
	padding-bottom: 30px;
}

div.recipe_list {
	text-align: left;
	background-color: rgba(190,190,190,0.7);
	display: inline-block;
	width: 100%;
	border: 0px;
	margin-right: -2px;
	border-right: 2px;
	border-bottom: 2px;
	border-style: solid;
	border-color: rgba(170,170,170,0.7);
}

article.article_recipe {
	padding: 10px;
	font-family:'Amiko', sans-serif;
	font-size: 13px;
}

h1.recipe_title {
	margin-top: 0px;
	margin-bottom: 0px;
	color: #8C9440;
}

a.recipe_link {
	color: #8C9440;
	text-decoration: none;
}

a.source_link {
	color: #757C33;
	text-decoration: none;
}

p.recipe_metadata{
	font-size: 11px;
	margin-bottom: 8px;
	margin-top: 5px;
}

a.showhide_link {
	color: #757C33;
}

div.recipe_contents {
	display: none;
}

hr.heart_line {
	text-align: center;
	border: none;
	height: 1px;
	width: 75%;
	background-color: #AAAAAA;
}

hr.heart_line:before {
	content: url('/images/leaf_icon.png');
	position: relative;
	top: -10px;
	color: #75507B;
	font-size: 18px;
}

/* nav menu */
.navpanel {
	vertical-align: top;
	padding: 10px;
	text-align: left;
	max-width: 100%;
}

div.nav_interior {
	background-color: #B5BD68;
	display: inline-block;
	width: 100%;
	font-family:'Amiko', sans-serif;
	font-size: 13px;
	margin-right: -2px;
	border: 0px;
	border-right: 2px;
	border-bottom: 2px;
	border-style: solid;
	border-color: rgba(161,169,84,0.7);
}

div.tree_search_wrapper {
	padding: 20px;
	padding-bottom: 0px;
}

input.tree_search_input {
	width: 100%;
	border: 2px;
	border-style: solid;
	border-color: white;
	margin-left: -2px;
}

div.new_recipe_section {
	padding-left: 20px;
	padding-bottom: 10px;
}

a.new_recipe_link {
	text-decoration: none;
	color: #4a4e21;
}

/* nav menu collapsable tree */
ul.navtree {
}

ul.navtree li {
	list-style-type: none;
	position: relative;
}

ul.navtree li ul {
	display: none;
}

ul.navtree li.open > ul {
	display: block;
}

ul.navtree li.filtered {
	display: none;
}

ul.navtree li a {
	color: black;
	text-decoration: none;
	display: inline;
	text-transform: capitalize;
	max-width: 200px;
}

ul.navtree li a:before {
	height: 1em;
	padding: 0 .1em;
	font-size: .8em;
	display: block;
	position: absolute;
	left: -1.7em;
	top: .1em;
}

ul.navtree li > a:not(:last-child):before {
	content: '📔';
}

ul.navtree li.open > a:not(:last-child):before {
	content: '📖';
}

ul.navtree li > a:last-child:before {
	content: '🍽️';
}

/* footer */
footer.footer {
	text-align: center;
	position: inline;
	bottom: 0;
	width: 100%;
	padding: 0px;
	padding-top: 18px;
}

div.footer_interior {
	background-color: #8C9440;
	width: 100%;
	margin: 0 auto;
	border: 0px;
	border-top: 2px;
	border-color: #757C33;
	border-style: solid;
}

a.footer_link {
	color: black;
	text-decoration: none;
}

/* flex reflow */
@media screen and (min-width: 768px) and (orientation: landscape)
{
	.navpanel {
		text-align: left;
		-webkit-flex: 1 auto;
		flex: 1 auto;
		-webkit-order: 2; 
		order: 2;
		max-width: 300px;
		padding-bottom:30px;
	}

	.recipe_list_wrapper {
		-webkit-flex:5 0px;
		flex: 5 0px;
		-webkit-order: 1;
		-order: 1;
	}
}

div.form_container {
	width: 100%;
}

/* Add recipe */

div.half_container {
	width: 100%;
	display: block;
	padding-top: 10px;
}

div.half_container:after {
	content: "";
	display: table;
	clear: both;
}

div.general_input_container {
	width: 100%;
	padding-top: 10px;
}

div.half_split_left {
	width: 50%;
	float: left;
	position: relative;
}

div.half_split_right {
	width: 50%;
	float: left;
	position: relative;
	left: 5px;

}

input.input_field {
	width: 100%;
	padding: 3px;
	border: 1px;
}

div.fucking_input_padding {
	max-width: 100%;
	padding-right: 12px;
}

div.fucking_half_padding {
	max-width: 100%;
	padding-right: 6px;
}

select.difficulty {
	width: 100%;
	padding: 1px;
}

input.sourced_recipe {
	width: 16px;
	height: 16px;
	margin: 0px;
	margin-left: 5px;
	position: relative;
	top: 4px;
}

div.source_section {
	display: none;
}

textarea.recipe_contents {
	width: 100%;
	min-height: 50px;
	resize: none;
}

div.text_area_wrapper {
	padding-top: 20px;
	width: 100%;
}
