#apicius {
	padding: 20px 0px;
	position:relative;
}

#apicius,
#apicius * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}





#apicius .recipe-tile,
#apicius .product-tile,
#apicius .related-post-tile {
	margin-bottom: 100px;
	padding: 0 15px;
}

/* the inside container of a ratio-stretched div */
#apicius .stretched-interior {
	display: block;
	position: absolute;
	top: 0;
	right: 15px;
	bottom: 0;
	left: 15px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

#apicius .stretcher {
	position: relative;
}

#recipes_list .stretcher,
#products_list .stretcher,
#apicius_related_things_below .stretcher {
	padding-top: 73%;
}

#recipes_list a,
#recipes_list a:hover,
#recipes_list a:active,
#recipes_list a:focus,
#products_list a,
#products_list a:hover,
#products_list a:active,
#products_list a:focus {
	outline: 0;
	box-shadow: none;
	color: inherit;
}

#recipes_list .recipe-title,
#products_list .product-title,
#apicius_related_things_below .apicius-related-item-name {
	background-color: white;
	border: 1px solid black;
	width: 100%;
	display: block;
	padding: 8px;
	position: absolute;
	left: 0;
	bottom: -70px;
	min-height: 70px;
}


/********* filtering */
#recipes_filters,
#products_filters {
	margin-bottom: 30px;
}

#recipes_list .type-tile,
#products_list .type-tile {
	position: relative;
	float: left;
	width: 100%;
	font-size: 10px;
	line-height: 20px;
	height: auto;
	border: 1px solid grey;
	margin-bottom: 10px;
	cursor: pointer;
	padding-left: 22px;
}

#recipes_list .type-tile:before,
#products_list .type-tile:before {
	content: "\2605"; /* ★ */
	position: absolute;
	left: 6px;
	top: 1px;
}

#recipes_list .type-tile.off:before,
#products_list .type-tile.off:before {
	content: "";
}

#recipes_list .filter-dropdown {
	width: 100%;
	border: 1px solid grey;
	font-size: 14px;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	padding: 10px;
	background-color: #f4f4f4;
	background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='#444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>");
	background-position: 100% 50%;
	background-repeat: no-repeat;
}


.recipes_pagination {
	margin-bottom: 12px;
}

.isotope-recipe-pager .pager {
	padding: 3px 5px;
	margin-right: 8px;
	background-color: #ccc;
	display: inline-block;
	cursor: pointer;
}

.isotope-recipe-pager .pager.current, .isotope-recipe-pager .pager:hover {
	background-color: darkorange;
}

.isotope-recipe-pager .pager.collapse {
	display: none;
	/*border: 2px solid hotpink;*/
}

.apicius-ellipsis {
	margin-right: 8px;
}

.recipe_pager_prev_arrow, .recipe_pager_next_arrow {
	width: 0;
	height: 0;
	border-style: solid;
	background-color: transparent;
	display: inline-block;
}

.recipe_pager_prev_arrow {
	border-width: 6px 8px 6px 0;
	border-color: transparent #ccc transparent transparent;
	margin-right: 8px;
}
.recipe_pager_prev_arrow.active {
	border-color: transparent #999 transparent transparent;
	cursor: pointer;
}
.recipe_pager_prev_arrow.active:hover {
	border-color: transparent darkorange transparent transparent;
}

.recipe_pager_next_arrow {
	border-width: 6px 0 6px 8px;
	border-color: transparent transparent transparent #ccc;
}
.recipe_pager_next_arrow.active {
	border-color: transparent transparent transparent #999;
	cursor: pointer;
}
.recipe_pager_next_arrow.active:hover {
	border-color: transparent transparent transparent darkorange;
}

/* compensating for usage of nice-select */
#recipes_list .filter-dropdown.nice-select {
	padding: 0px 30px 0px 28px;
	background-image: none;
}






@media print {
	#apicius .printhide {
		display: none !important;
		margin: 0;
	}
}


#view_all {
	width: 100%;
	height: auto;
	border: 1px solid grey;
	margin-bottom: 10px;
	cursor: pointer;
	text-align: center;
	margin-top: 10px;
	background-color: #f4f4f4;
	font-size: 17px;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	padding: 10px;
}







/* single recipe view */



/* remove any theme's default single post featured image that comes before >content< */

body.single-recipe .post-thumbnail,
body.single-recipe .wp-post-image,
body.single-recipe .post-image img,
body.single-recipe .entry_title,
body.single-recipe .entry-date,
body.single-recipe .post_info {
	display: none !important;
	margin: 0 !important;
}



#apicius #single_recipe_share {
	margin-bottom: 20px;
}

#apicius #single_recipe_share img {
	max-width: 35px;
	position: relative;
	float: left;
	margin-right: 8px;
	margin-bottom: 10px;
}

#apicius .products-used {
	margin-top: 20px;
}


#recipes_list.related-recipes {
	margin-top: 20px;
}

#apicius .rec-product {
	text-align: center;
	position: relative;
	float: left;
	margin: 20px 20px 20px 0;
}

#apicius .rec-product img {
	max-width: 150px;
}

#apicius .rec-product .buy-now {
	padding: 1px 7px;
	border: 1px solid #ccc;
	margin-top: 1px;
	display: inline-block;
}

#apicius .rec-product .rec-product-name.final-pos {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
}

/*
#recipe_product_cat { display: none; }
*/






/* nutritional info box */

/********************************************** nutrition label */
#apicius #specs {
	position: relative;
	margin: 15px auto;
	width: 100%;
	max-width: 323px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
}

#apicius .nutrition-label {
	width: 100%;
	border:1px solid black;
	float:left;
}

#apicius .serving-size {
	margin-top:10px;
	margin-left:5px;
	margin-right:5px;
}

#apicius div.amt-per-serving span.nutrition-heading {
	display:block;
	float:left;
	margin-left:20px;
	width:80px;
}

#apicius div.amt-per-serving span.amt-per-serving-title {
	width:200px;
	display:block;
	float:left;
}

#apicius .serving-size {
	border-bottom:10px solid black;
}

#apicius .nutrition-1 {
	border-bottom:10px solid black;
	margin-left:5px;
	margin-right:5px;
}

#apicius .nutrition-2 {
	margin-left:5px;
	margin-right:5px;
}

#apicius .nutrition-entry-1 {
	border-top:1px solid black;
	margin-left:5px;
	margin-right:5px;
	float:left;
	clear:both;
	padding: 4px 0;
}

#apicius .nutrition-entry-2 {
	border-top:1px solid black;
	margin-left:10px;
	margin-right:5px;
	float:left;
	clear:both;
	padding: 4px 0;
}

#apicius .nutrition-entry-3 {
	border-top:1px solid black;
	margin-left:20px;
	margin-right:5px;
	float:left;
	clear:both;
	padding: 4px 0;
}

#apicius .nutrition-entry-4 {
	border-bottom:1px solid black;
	margin-left:5px;
	margin-right:5px;
	float:left;
	clear:both;
	padding: 4px 0;
}

#apicius .nutrition-entry-4:last-child { border-bottom: 0; }

#apicius .nutrition-entry-1 .title {
	float:left;
	display:block;
	font-weight:bold;
	width:200px;
}

#apicius .nutrition-entry-2 .title {
	float:left;
	display:block;
	width:195px;
}

#apicius .nutrition-entry-3 .title {
	float:left;
	display:block;
	width:200px;
}

#apicius .nutrition-entry-4 .title {
	float:left;
	display:block;
	font-weight:bold;
	width:200px;
}



#apicius .nutrition-entry-1 .nutrition-value {
	display:block;
	float:left;
	margin-left:10px;
	width:80px;
}

#apicius .nutrition-entry-2 .nutrition-value {
	display:block;
	float:left;
	margin-left:5px;
	width:80px;
}

#apicius .nutrition-entry-2 .daily-value {
	display: inline-block;
	margin-left: -5px;
}

#apicius .nutrition-entry-3 .nutrition-value {
	display:block;
	float:left;
	margin-left:5px;
	width:80px;
}

#apicius .nutrition-entry-4 .nutrition-value {
	display:block;
	float:left;
	margin-left:20px;
	width:80px;
}


#apicius .amt-per-serving {
	margin-left:5px;
	padding: 4px 0;
}

#apicius .grocery-section-header {
	font-size:20px;
	font-weight:bold;
}

#apicius .serving-size {
	float:left;
	clear:both;
	width:95%;
}

#apicius div.serving-size div {
	width:100%;
}

#apicius .amt-per-serving {
	float:left;
	clear:both;
}

#apicius .calories {
	float:left;
	clear:both;
	margin-left:5px;
	margin-right:5px;
	border-bottom:5px solid black;
}

#apicius .nutrition-1 {
	float:left;
	clear:both;
}

#apicius .nutrition-2 .nutrition-entry-1 .title,
#apicius .nutrition-2 .nutrition-entry-4 .title,
#apicius .daily-measure {
	font-weight:normal;
}


#apicius .serving-size-entry {
	display: block;
	margin-left:5px;
	float:left;
	width: 80px;
}

#apicius .serving-size-title {
	font-weight:bold;
	float:left;
	width: 200px;
}

#apicius .serving-per-container-title {
	font-weight:bold;
	float:left;
	margin:0px;
	padding:0px;
	width: 200px;
}

#apicius .serving-per-container-entry {
	display: block;
	margin-left:15px;
	float:left;
	width: 80px;
}

#apicius .servings-size,
#apicius .servings-per-container {
	margin:0px;
	padding:0px;
}


#apicius .calories,
#apicius .nutrition-1,
#apicius .nutrition-2,
#apicius .nutrition-3,
#apicius .nutrition-4,
#apicius .nutrition-entry-1,
#apicius .nutrition-entry-2,
#apicius .nutrition-entry-3,
#apicius .nutrition-entry-4 {
	width: 94%;
}


#apicius .serving-size-title,
#apicius .nutrition-entry-1 .title,
#apicius .nutrition-entry-2 .title,
#apicius .nutrition-entry-3 .title,
#apicius .nutrition-entry-4 .title {
	width: 66%;
}


#apicius .serving-size-entry,
#apicius .nutrition-entry-1 .nutrition-value,
#apicius .nutrition-entry-2 .nutrition-value,
#apicius .nutrition-entry-3 .nutrition-value,
#apicius .nutrition-entry-4 .nutrition-value {
	width: 25%;
}





/********************** product single view */
#apicius #product_content {
	margin-top: 20px;
}

#apicius #single_product_share {
	margin-bottom: 20px;
}

#apicius #single_product_share img {
	max-width: 35px;
	position: relative;
	float: left;
	margin-right: 8px;
	margin-bottom: 10px;
}

#apicius_after_product_content,
#apicius_after_recipe_content {
	margin-top: 16px;
}


/********************** prev/next links */
.apicius_prev_next.above {
	margin-bottom: 12px;
}

.apicius_prev {

}

.apicius_next {
	text-align: right;
}

