body, html {
	font-family: 'Lato', sans-serif;
	margin: 5px;
	padding: 5px;
	border:0;
	letter-spacing:-0px;
	min-width:300px;
	word-wrap:break-word;
}
input[type='date'], input[type='time'], input[type='number'] {
	font-family: 'Lato', sans-serif;
}

h1 {
	font-size:40px;
	color: #2D3142;
}
h2 {
	font-size:26px;
	color: #4F5D75;
}
h3 {
	font-size:19px;
	color: #fd7000;
}
li {
	margin-bottom:10px;
}
ul, ol {
	padding-left:18px;
}
p {
	margin-bottom:20px;
}
a {
	transition:.2s;
}
a img {
	border:0;
}
hr {
	padding: 10px 0;
	margin:0 0 15px;
	border: 0;
}
.hsub {
	margin-top:-15px
}
input[type='text'],input[type='number'], input[type='time'], input[type='date'], input[type='email'], textarea, input[type='password'], input[type='submit'], input[type='button'], select {
    border: 0;
    border-bottom: #939393 1px solid;
    padding: 10px;
	margin:5px 5px 15px 0;
	font-size:18px;
}
select {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, .3);
	border-radius:4px;
}
input[type='text'], input[type='time'], input[type='date'], input[type='number'], input[type='email'], textarea, input[type='password'], #inputddcontainer, .colourpicker {
	border-top: #e2e2e2 1px solid;
	border-left: #e2e2e2 1px solid;
	border-right: #e2e2e2 1px solid;
	width:100%;
	box-sizing: border-box;
	border-radius: 4px;
}
input[type='time'], input[type='number'] {
	width:auto;
	min-width: 115px;
	max-width:180px;
}
input[type='date'] {
	width:auto;
	max-width:240px;
	min-width:185px;
}
input[type='submit'] {
	border-radius: 6px;
    background: #fe6b00;
    border: 0;
    cursor: pointer;
    color: #f8f8f8;
	transition: 0.2s;
}
input[type='submit']:hover {
    background: #ff7b1b;
	transition: 0.2s;
}
input[type='submit']:disabled,  input[type='button']:disabled {
	color:#676767;
	pointer-events: none;
}
input::placeholder {
  color: #b9b9b9;
}
@media only screen and (max-width: 500px) {
	input, .plannercount, .canceleditbutton {
		width:100%!important;
	}
}
textarea {
  resize: vertical;
  font-family: 'Lato', sans-serif;
}
.right {
	text-align:right;
}
.button {
	background-color:#ff6c00;
	display:inline-block;
	padding:10px 18px!important;
	color:rgb(255,255,255);
	cursor:pointer;
	text-align:center;
	text-decoration:none;
	border-bottom: #4a4a4a 2px solid!important;
	margin-bottom:5px;
	border-radius:5px;
	line-height: 20px;
	box-sizing: border-box;
}
.button:hover {
	color:rgba(255,255,255,0.8);
}
.button.alt {
	background-color: #fff;
    border: 1px solid #ed5c24;
    color: #ed5c24;
    border-bottom: 2px solid #ed5c24!important;
    padding: 9.5px 18px!important;
    top: 1px;
    position: relative;
}
.button.alt:hover {
	background-color:#ffd7ba
}
/* Style the list */
ul.breadcrumb {
    padding: 0;
    list-style: none;
    margin-top: -28px;
    color: #a09f9f;
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 16px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 8px;
  color: #a09f9f;
  content: " \2022";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: #a09f9f;
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}
/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 24px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius:5px;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.note {
	border-left: 7px solid #4f5d75;
    padding: 15px;
    background-color: #f5f5f5;
}
#method .note {
    margin-left: -15px;
}
.editingredients li, .editmethod li {
	padding: 10px 60px 10px 10px;
	position:relative;
	margin:0;
	border-bottom: 2px solid;
}
.editingredients li input, .editingredients li select, .editmethod li input, .editmethod li select {
	margin-top: 0;
	margin-bottom: 0;
}
.editingredients li .draghandle, .editmethod li .draghandle {
    position: absolute;
    right: 8px;
    top: 16px;
    font-size: 25px;
    font-weight: bold;
	cursor:move;
}
.editingredients li .deleterow, .editmethod li .deleterow {
    position: absolute;
    right: 35px;
    top: 16px;
    font-size: 25px;
    font-weight: bold;
	cursor:pointer;
}
li.emptyrow {
	display:none;
}
.editingredients li .amount {
	width: 115px;
}
.editingredients li .other {
	width: 300px;
}
.editmethod input, .editmethod textarea {
	width:100%;
}
.editmethod input[type="file"] {
	width:auto;
}

.anchor {
	display: inline;
    vertical-align: top;
}
.editingredients li:nth-child(even), .editmethod li:nth-child(even) {
	background-color: #f3f3f3;
}
 .editingredients li:nth-child(odd), .editmethod li:nth-child(odd) {
	background-color: #c0cfd5;
} 
.editreceipeextras {
	display: inline-block;
	margin-right:20px;
}
.editreceipeextrassingle span, .editreceipeextras span {
	width: 73px;
    display: inline-block;
    text-align: right;
    padding-right: 10px;
}

.categories {
    margin: 0 0 10px;
    list-style: none;
    background-color: #e6e6e6;
    border-radius: 10px;
    padding: 10px 10px 0;
}
.categories li {
	margin: 0 20px 10px 0;
    display: inline-block;
}
.categories li a {
	font-size: 32px;
    position: relative;
    top: 6px;
    padding: 5px;
    text-decoration: none;
    color: black;
}
.categories li select {
	margin-bottom:5px;
}

picture {
	position: relative;
	display: inline-block;
}

picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.eheaderimage {
	width:450px;
	height:350px;
	display:block;
	margin-bottom:5px;
}
.emethodimage {
	width:350px;
	height:250px;
	display:block;
	margin-bottom:5px;
	padding-top: 15px;
}
#method li {
	margin-bottom:20px;
}
.indentedbutton {
	margin-left: 18px;
    width: 200px;
}

@media only screen and (max-width: 500px) {
	.eheaderimage {
		width:100%;
		height:350px;
	}
}
#recipeheader {
    background: linear-gradient(163deg, rgba(241,241,241,1) 0%, rgba(233,233,233,1) 35%, rgba(190,195,196,1) 100%);
	margin: 20px -20px;
    padding: 25px 20px;
	position: relative;
}
#recipeheader h1 {
	margin-top:0;
}
.source {
    color: #767676;
}
.source span, .source a {
	font-style: italic;
    color: #767676;
}
.headerfull {
	width: 100%;
}


.servings-input-box { 
	position: relative;
    padding: 0!important;
}

.servings-input-box input { 
	max-width: 100%;
    padding-left: 73px;
}

.servings-input-box .unit { 
	position: absolute;
    display: block;
    left: 13px;
    top: 16px;
    z-index: 9;
    user-select: none;
    font-size: 18px;
}

.fl-grid-list {
    list-style: none;
    padding: 5px 0 15px;
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex: auto;
}
.fl-grid-list li {
    width: 300px;
	margin:10px;
	box-shadow: 0px 0px 15px 1px rgb(0 0 0 / 15%);
	transition:.5s;
	background-color:#fff;
}
.fl-grid-list li:hover {
	box-shadow: 0px 0px 15px 1px rgb(0 0 0 / 35%);
}
.fl-grid-list li.divider {
	flex: 0 0 100%;
    margin: 20px 10px -10px;
    box-shadow: none;
	padding-bottom:0!important;
}
.fl-grid-list li a, .fl-grid-list li div {
	padding: 10px;
	text-decoration: none;
    color: black;
	display:block;
}
.fl-grid-list li input, .fl-grid-list li select	 {
	width:100%;
	max-width:100%;
}
.fl-grid-list li div p.title {
	height: 38px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
}
.fl-grid-list li a picture, .fl-grid-list li div picture  {
	height:180px;
	width:100%;
}
.fl-grid-list.planner li {
    padding-bottom: 65px;
    position: relative;
}
.fl-grid-list.planner li .bottombuttons {
	position:absolute;
	bottom:6px;
}
.timeofday {
    display: inline-block;
    margin: 0;
    padding: 7px;
    color: #fff;
    border-radius: 5px;
}

.timeofday.breakfast {
	background-color: #58cb61;
}

.timeofday.lunch {
	background-color: #ffa90b;
}

.timeofday.dinner {
	background-color: #0f7aa3;
}
.shoppinglist > li {
    display: inline-block;
    width: 100%;
    margin-left: -15px;
    padding-right: 0;
}
.shoppinglist > li > ul {
	background-color: #eee;
    margin: -11px 0 10px 0;
    padding: 15px 15px 8px 35px;
    color: #505050;
    border-radius: 0 5px 5px;
	font-size: 14px;
	list-style: none;
	display:none;
}
.shoppinglist.showdetail > li > ul {
	display:block;
}
.shoppinglist.showdetail > li .checkmark {
	border-radius:5px 5px 0 0
}
.shoppinglist > li > ul > li:before {
    content: "\203A";
    font-weight: bold;
    margin: 0 17px 0 -21px;
}
.shoppinglist > li > ul > li > span {
    display: inline-block;
    font-size: 12px;
}
.shoppinglist > li.selected > ul > li > span {
    color: #fff;
} 
.shoppinglist > li > ul > li > span > img {
	height: 13px;
    position: relative;
    margin: 0 3px 0 0;
    top: 2px;
}
.shoppinglist > li.selected > ul > li > span > img {
	filter: invert(100%) sepia(78%) saturate(0%) hue-rotate(140deg) brightness(112%) contrast(101%);
}
.shoppinglist > li.selected > ul {
    background-color: #2196F3;
    color: #fff;
}
.shoppinglist > li.selected > ul > li > a {
	color: #fff;
}
.shoppinglist > li > ul > li > a {
	color: #505050;
	transition:none !important;
	margin-right: 7px;
}
.shoppinglist > li > label {
	font-weight:bold
}
.shoppingfilter h2 {
	margin-top: 5px;
}
.shoppingfilter div {
	display:inline-block;
}
.shoppingfilter input[type='date'] {
	width:185px!important;
}
.servingsinput {
	min-width:70px!important;
	width:70px!important;
}
.changeservingsbutton {
	width:110px!important
}
.stats {
	margin-top:5px;
}
.servingschangecontainer {
	margin-bottom:0;
}
.methodimage img {
    max-height: 250px;
    max-width: 100%;
    height: auto;
    width: auto;
    padding: 15px;
    box-shadow: 0px 0px 15px 1px rgb(0 0 0 / 15%);
    margin: 30px 0;
    box-sizing: border-box;
}
.methodimage img.pbefore {
	margin-top:15px;
}
#method {
	position:relative;
}
#method .showimages {
	position:absolute;
	top: 4px;
    right: 0;
}
#method.hideimages .methodimage {
	display:none;
}
#ingredients ul li.ingheader {
    list-style-type: none;
    font-size: 18px;
    margin-left: -18px;
    padding: 10px 0 15px 0;
    font-weight: bold;
}


@media only screen and (max-width: 575px) {
	.fl-grid-list li {
		width: 100%;
	}
	.extendingbutton {
		width:100%;
	}
	.catlist li {
		width: 44%;
	}
}
.headerright .headerimage {
	width:100%;
	height: 65vw;
}

@media only screen and (min-width: 600px) {
	#ingredients { 
		width: 30%;
		display: inline-table;
	}
	#method {
		width: 65%;
		display: inline-table;
		padding-left:5%
	}
	#method .showimages {
		top: 25px;
	}
	.headerleft {
		width: 65%;
		display: inline-table;
		vertical-align:top;
	}
	.headerright {
		position: absolute;
		top: 0;
		right: 10px;
		width: 33%;
		height: 100%;
	}
	.headerright .headerimage {
		height: 100%;
		border-left: 10px solid #9898982b;
	}
	.shoppinglist > li {
		width: 48%;
		padding-right: calc(15px + 2%);
	}
}

.suggestions {
	background-color: #357493;
    margin: 0 -20px 30px;
    padding: 10px 20px 25px;
}
.source {
	background-color: #f1f1f1;
    margin: 0 -20px;
    padding: 25px 20px;
}
.suggestions h2 {
	color:#fff;
	font-weight: normal;
}
.suggestions .fl-grid-list li {
	flex: 1 0 250px;
}
.expandingfooter {
	background-color: #f1f1f1;
    margin: 0 -20px;
    padding: 25px 20px;
}

.caloriesicon {
    text-indent: -40px;
    padding-left: 40px;
}
.caloriesicon img {
	height: 29px;
    position: relative;
    top: 8px;
    margin-right: 10px;
}

#maintitle {
    text-align: center;
    margin: -20px -20px 30px;
    padding: 30px 20px;
    background: radial-gradient(circle, rgba(255,234,205,1) 0%, rgba(251,252,228,1) 100%);
}
#maintitle img {
	width: 60px;
}

@media only screen and (min-width: 1263px) and (max-width: 1877px) {
	.suggestions .fl-grid-list li:nth-child(6) {
		display:none;
	}
}
@media only screen and (min-width: 1263px) and (max-width: 1570px) {
	.suggestions .fl-grid-list li:nth-child(5) {
		display:none;
	}
}
@media only screen and (min-width: 1000px) {
	body {
		margin: 5px 6vw;
	}
	.shoppinglist > li {
		width: 31%;
		padding-right: calc(15px + 2%);
	}
	.suggestions {
		margin: 0 calc(-6vw + -15px) 30px;
		padding: 10px calc(6vw + 15px) 25px;
	}
	.source {
		margin: 0 calc(-6vw + -15px);
		padding: 25px calc(6vw + 15px);
	}
	.expandingfooter {
		margin: 0 calc(-6vw + -15px);
		padding: 25px calc(6vw + 15px);
	}
	#maintitle {
		margin: -20px calc(-6vw + -15px) 30px;
		padding: 30px calc(6vw + 15px) 30px;
	}
	#recipeheader {
		margin: 20px calc(-6vw + -15px);
		padding: 25px calc(6vw + 15px);
	}
}


.fl-grid-list li .button {
    color: #fff;
	display:inline-block;
}
.editingredientslist {
    padding: 0;
    list-style: none;
}
.editingredientslist li input, .editingredientslist li select {
    width:49%;
}

.kcalcalc {
	margin-right:5px;
}
.trafficlightscontainer {
	display: block;
    padding: 50px 0 0;
    text-align: center;
}
.trafficlightscontainer p {
	text-align:center;
	margin:0;
	font-weight: bold;
}
.trafficlights {
    padding-left: 0;
    display: inline-block;
    margin: 10px 0 0 2px;
}
.trafficlights li {
    display: inline-block;
    width: 80px;
    text-align: center;
	margin-left:-2px
}
.trafficlights li div {
    border-width: 0 2px 0 2px;
    border-style: solid;
    position: relative;
    z-index: 2;
	height:100px;
}
.trafficlights li div.top {
	content:'';
    height: 26px;
    border-width: 2px 2px 0 2px;
    border-style: solid;
    margin-bottom: -13px;
    overflow: hidden;
    border-radius: 50%;
	display:block;
}
.trafficlights li div.bottom {
	content:'';
    height: 26px;
    border-width: 0px 2px 2px 2px;
    border-style: solid;
    margin-bottom: -13px;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    top: -13px;
    z-index: 1;
	display:block;
}
.trafficlights li.white div, .trafficlights li.red div.top, .trafficlights li.red div.bottom {
	background-color: #fff;
}
.trafficlights li.green div, .trafficlights li.red div.top, .trafficlights li.red div.bottom {
	background-color: #85eb57;
}
.trafficlights li.orange div, .trafficlights li.red div.top, .trafficlights li.red div.bottom {
	background-color: #ffb52e;
}
.trafficlights li.red div, .trafficlights li.red div.top, .trafficlights li.red div.bottom {
	background-color: #ff4c4c;
}
.trafficlights p {
	margin:0;
}
.trafficlights p.tlamount {
	font-weight:bold;
	font-size:22px;
	padding-top:9px;
}
.trafficlights p.tlpercent {
    font-weight: bold;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 2px solid;
    padding-top: 5px;
    font-size: 18px;
}
.trafficlights li.kcal p.tlamount {
	font-weight:normal;
	font-size: 15px;
    padding-top: 5px;
}
.shareplannercode {
	font-size:48px;
	font-weight:bold;
	margin:0;
	font-family: Tahoma, sans-serif;
	color: #ff5e00;
}
.sharecodeinput {
	width:100px!important;
}

@media print {
    #ingredients { 
		width: 30%;
		display: inline-table;	
	}
	#method {
		width: 65%;
		display: inline-table;
		padding-left:5%
	}
	.headerleft {
		width: 65%;
		display: inline-table;
		vertical-align:top;
	}
	.headerright {
		width: 30%;
		display: inline-table;
		padding-left:5%;
	}
	.headerright .headerimage {
		height: 20vw;
	}
	.dontprint {
		display:none;
	}
	h1 {
		margin-top:0;
		padding-top:0;
	}
	.shoppinglist > li {
		width: 48%;
		padding-right: calc(15px + 2%);
	}
	.shoppinglist > li .checkmark {
		border: 1px solid #000;
	}
	.servingsinput {
		border:0!important;
	}
}
.catselected {
	background-color:#d8e2e7!important;
}
.embera-embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  padding-bottom: 50%;
}

.embera-embed-responsive-item {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}