/* Page */
#s4-workspace .pmcp-content h3 {
	margin:15px 0;
	font-weight:700 !important;
}

/* Video Container */
#videoContainer {
	width:100%;
	margin:0;
	padding:0;
}
#videoContainer iframe {
	width:100%;
	height:auto;
	aspect-ratio:16 / 9;
}

/* Overview Info */
#k-overview {
	width:100%;
	margin:-5px 0 60px 0;
	padding:20px 30px 30px;
	background:#efefef;
}
#k-overview table {
	width:100%;
}
#k-overview table tr {
	display:flex;
	border-bottom:1px solid rgba(0,0,0,0.2);
	padding:5px 0;
}
#k-overview table tr > th {
	flex-grow:1;
	flex-shrink:2;
	margin:0 1% 0 0;
	min-width:24%;
}
#k-overview table tr > td {
	flex-grow:100;
	flex-shrink:1;
	min-width:22%;
	margin:0 3% 0 0;
}
@media (max-width:500px) {
	#k-overview table tr {
		display:flex;
		flex-flow:column nowrap;
		border-bottom:0;
		padding:0;
	}
	#k-overview table tr > td { 
		padding:0 0 8px 0;
		border-bottom:1px solid rgba(0,0,0,0.2);
	}
	#k-overview table tr > th { 
		margin:7px 10px 0 0; 
	}
}

/* Recipe Image */
#rImage {
	display:flex;
	width:100%;
	justify-content:center;
	align-items:center;
}
#rImage::before,
#rImage::after {
	background-color:rgba(0,0,0,0.2);
	content:"";
	display:inline-block;
	height:1px;
	position: relative;
	vertical-align: middle;
	width: 50%;
}
#rImage img {
	border-radius:100px;
}

/* Recipe Ingredients */
#s4-workspace .pmcp-content .IngredientsTitle {
	margin:5px 0 20px 0 !important;
}
#rIngredients {
	width:100%;
	margin:0 0 30px 0;
}
#rIngredients table {
	width:100%;
	margin:0 auto;
}
#rIngredients table tr {
	display:flex;
	border-bottom:1px solid rgba(0,0,0,0.2);
	padding:5px 0;
	gap:20px;
	justify-content:space-between;
}
#rIngredients table tr > th {
	text-align:left;
	flex-grow:1;
	max-width:180px;
	min-width:180px;
}
#rIngredients table tr > td {
	flex-grow:2;
	text-align:left;
}
.recipe_title {
	display:block;
	font-weight:700;
	margin:20px 0 10px;
	color:#000;
	font-size:1.0rem;
}
#recipeContainer, #rFactLabelContainer, #nutritionContainer {
	display: none;
}

@media (max-width:500px) {
	#rIngredients table tr {
		flex-flow:column nowrap;
		gap:0;
		padding:10px 0;
	}
	
	#rIngredients table tr > th {
		max-width:100%;
		min-width:100%;
	}
}

/* Recipe Directions */
#rDirections {
	width:100%;
}
#rDirections li::marker {
	display:inline-block;
	font-weight:700;
	color:#000;
	vertical-align:top;
}
.pmcp-content #rDirections ol > li {
	padding-left:10px !important;
}

/* Nutrition */
#rNFacts {
	display:flex;
	flex-flow:row nowrap;
	gap:40px;
}
#rNFacts > div:nth-child(1) {
	order:2;
	background:#efefef;
	padding:20px;
	flex-grow:1;
}
#rFactsLabel > img {
	width:100%;
	height:auto;
	min-width:275px;
	max-width:300px;
}
#rNFacts #rNutritionFacts {
	order:1;
	flex-grow:3;
}
#rFactsLabelLink {
	width:100%;
	text-align:center;
	margin:20px 0 0 0;
}
#rFactsLabelLink > a {
	display:inline-block;
	background:#1E4C80;
    border-radius:14px;
    color:#fff !important;
    display: nline-block;
    font-size:0.9rem;
    line-height:1.5;
    margin:0;
    padding: 8px 16px 8px 16px;
    text-decoration: none !important;
    border-bottom: 0 !important;
    overflow: visible;
	font-weight:700;
}
@media (max-width:600px) {
	#rNFacts {
		flex-flow:column nowrap;
	}
	#rFactsLabel {
		text-align:center;
	}
	#rFactsLabel > img {
		max-width:300px;
		min-width:auto;
	}
}

/* Print */
@media print {
	#videoContainer, #rFactsLabelLink {
		display:none;
	}
}
