.module-recipes .side-bar-header.secondary-group {
	margin-top: 25px;
}

.module-recipes .module-filter-select select optgroup {
	font-weight: normal;
	padding-left: 5px;
}

.registration-form em {
	color: #db0000;
}

.registration-form .required_information {
	text-align: right;
}

.module-recipes .module-filter-buttons .mobile-link {
	display: none;
}

.module-recipes .recipe-photo {
	margin-bottom: 10px;
}

.recipe-search-icon {
	margin-top: 0 !important;
}

@media screen and (max-width: 555px) {
	.module-recipes .module-filter-buttons .mobile-link {
		display: inline-block;
		margin: 15px auto 0;
	}

	.module-filter-wrap .container {
		text-align: center;
	}

	.mobile-link.primary strong {
		font-size: x-large;
	}
}

.module-recipes .add-ingredient-button {
	height: 43px;
}

.module-recipes .inside-page-wrapper .save,
.module-recipes .inside-page-wrapper .prep-time,
.module-recipes .inside-page-wrapper .delete {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	flex-basis: 50%;
	height: 100%;
	margin: 0;
	color: #333333;
	text-transform: uppercase;
	border-right: 1px solid #cccccc;
	cursor: pointer;
	flex-direction: row;
	font-size: 0.875rem;
}

.module-recipes .inside-page-wrapper .save span,
.module-recipes .inside-page-wrapper .prep-time span,
.module-recipes .inside-page-wrapper .delete span {
	line-height: 1.05em;
}

.module-recipes .recipe-specifics.not-empty {
	margin-top: 0;
}

.module-recipes .module-filter-buttons .button.primary.module-button {
	margin-top: 0;
}

.module-recipes .recipe-specifics.not-empty {
	margin-bottom: 0;
}

.module-recipes .recipe-specifics.not-empty p {
	margin-bottom: 0.625rem;
}

.module-recipes .recipes-title .page-title-inner-wrap {
	flex-direction: column;
	align-items: center;
}

.module-recipes .recipe-save-print {
	margin: 10px auto;
}

.module-recipes .recipe-save-print .save {
	padding-top: 0;
}

.module-recipes .inside-page-wrapper .prep-time,
.module-recipes .inside-page-wrapper .save {
	border-right: 0 none !important;
}

.module-recipes .inside-page-wrapper .card-bottom .save {
	border-right: 1px solid #cccccc !important;
}

.recipe-save-print .save,
.recipe-save-print .print {
	text-decoration: none;
	border-bottom: 0 solid transparent;
	width: auto;
	flex-basis: auto !important;
	background-color: transparent;
}

.module-recipes.action-listUserRecipeBox .module-filter-wrap,
.module-recipes.action-listUserShoppingList .module-filter-wrap {
	display: flex;
	justify-content: center;
}

.module-recipes.action-listUserRecipeBox .module-filter-wrap .container,
.module-recipes.action-listUserShoppingList .module-filter-wrap .container {
	margin: 0;
}

.module-recipes.action-listUserRecipeBox .module-filter,
.module-recipes.action-listUserShoppingList .module-filter {
	flex-basis: auto;
}

.module-recipes.action-listUserRecipeBox .separate,
.module-recipes.action-listUserShoppingList .separate {
	margin-top: 21px;
	margin-left: 10px;
}

.module-recipes.action-listUserRecipeBox .content-wrapper a.filter-link,
.module-recipes.action-listUserShoppingList .content-wrapper a.filter-link {
	margin-top: 25px;
}

.empty-list {
	text-align: center;
}

.module-recipes.controller-pages-recipes .page-title-inner-wrap .recipe-save-print .separate {
	margin-top: -3px;
}

.module-recipes.controller-pages-recipes .page-title-inner-wrap .recipe-save-print .print {
	font-size: 0.875rem;
	line-height: 1.05em;
	border-bottom: 1px solid transparent;
}

@media (max-width: 1100px) {
	.module-recipes.action-listUserRecipeBox .module-filter-wrap,
	.module-recipes.action-listUserShoppingList .module-filter-wrap {
		flex-direction: column;
	}

	.module-recipes.action-listUserRecipeBox .separate,
	.module-recipes.action-listUserShoppingList .separate {
		display: none;
	}
}

@media (max-width: 991px) {
	.module-filter-select.by-ingredient,
	.module-filter-text .add-ingredient-field,
	.module-recipes.action-listUserRecipeBox .module-filter div,
	.module-recipes.action-listUserShoppingList .module-filter div {
		width: 100% !important;
	}
}

@media (max-width: 555px) {
	.module-recipes .module-filter-buttons {
		flex-direction: column;
		align-items: center;
	}

	.module-recipes .module-filter-buttons .mobile-link {
		min-height: 0;
	}
}

body.embedded > img {
	position: absolute;
}

.embedded .inside-page-wrapper .prep-time,
.embedded .inside-page-wrapper .save {
	display: flex;
	max-width: 100%;
	width: auto;
}

.embedded .inside-page-banner-section {
	height: 240px;
}

.embedded .inside-content-wrap {
	box-shadow: none;
	overflow: hidden;
	padding: 0;
}

.embedded .outline-wrap {
	border: none;
	padding: 1.5rem;
}

.embedded .main-content-wrapper {
	margin: 0;
	padding: 0;
}

.embedded .divider.recipe-divider-new {
	display: none;
}

.embedded .module-filter-buttons .mobile-link {
	margin: 0;
}

.embedded .recipe-specifics.not-empty {
	margin: 1.5rem 0 0 0;
}

.embedded .recipe-specifics.not-empty p {
	margin: 0;
}

.embedded .recipe-details-wrap {
	margin: 1.5rem 0 0 0;
}

.embedded .recipe-ingredients-website-links .side-bar-header {
	margin: 0;
}

.embedded .recipe-ingredients-website-links .recipe-website-link {
	width: 100%;
	margin-top: 10px;
}

.embedded .recipe-ingredients-website-links-list {
	margin: 0.5rem 0 0 0;
}

.embedded .recipe-info {
	margin: 1.5rem 0 0 0;
	padding: 0;
}

.embedded .recipe-info h2:first-child {
	margin: 0;
}

.embedded .recipe-info h2:not(:first-child) {
	margin: 1.5rem 0 0 0;
}

.embedded .recipe-directions {
	margin: 0.5rem 0 0 0;
}

.embedded .recipe-video iframe {
	display: block;
}

/* ==========================================================================
   Ratings and comments
   ========================================================================== */

.recipe-rating-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.recipe-rating-star {
	display: block;
	width: 25px;
	height: 24px;
	fill: transparent;
	stroke: #d8263c;
	transition: fill .15s ease;
}

/* Summary at the top of the recipe, on the same row as the specifics */
.recipe-specifics-row {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* The specifics wrap within their own column when there's not enough room, so the rating never drops to a new line */
.recipe-specifics-row .recipe-specifics {
	flex: 0 1 auto;
	min-width: 0;
}

/* Use a gap instead of the margins (and inline whitespace) between the specifics, so each wrapped line stays centered */
.recipe-specifics-row .recipe-specifics.not-empty {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
}

.recipe-specifics-row .recipe-specifics p.margined {
	margin-left: 0;
}

/* Balance the bottom margin of the specifics so they are vertically centered with the rating */
.module-recipes .recipe-specifics-row .recipe-specifics.not-empty p {
	margin-top: .3125rem;
	margin-bottom: .3125rem;
}

.recipe-specifics-row .recipe-specifics:not(.not-empty) {
	display: none;
}

.recipe-rating-summary {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	margin: 10px 0;
}

.recipe-specifics-row .recipe-specifics.not-empty + .recipe-rating-summary {
	align-self: stretch;
	margin: 0 0 0 32px;
	padding: 10px 0 10px 32px;
	border-left: 1px solid #231f20;
}

.recipe-rating-picker {
	flex-shrink: 0;
}

.recipe-rating-summary-text {
	max-width: 11em;
	text-align: left;
}

.recipe-rating-summary-text,
.recipe-rating-cta-votes {
	margin: 0;
	line-height: 1.2rem;
}

@media screen and (max-width: 767px) {
	.recipe-specifics-row {
		flex-direction: column;
	}

	.recipe-specifics-row .recipe-specifics.not-empty {
		flex-direction: column;
		align-items: center;
	}

	.recipe-specifics-row .recipe-specifics.not-empty + .recipe-rating-summary {
		align-self: center;
		margin: 0 0 10px;
		padding: 0;
		border-left: 0;
	}
}

/* Interactive stars that open the dialog */
.recipe-rating-picker {
	display: inline-flex;
	gap: 4px;
}

.recipe-rating-picker-star {
	display: inline-flex;
	padding: 2px;
	margin: 0;
	background: none;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}

.recipe-rating-picker-star:focus-visible {
	outline: 2px solid #231f20;
	outline-offset: 2px;
}

.recipe-rating-picker-star.is-filled .recipe-rating-star {
	fill: #d8263c;
}

.recipe-rating-picker.is-previewing .recipe-rating-picker-star .recipe-rating-star {
	fill: transparent;
}

.recipe-rating-picker.is-previewing .recipe-rating-picker-star.is-preview .recipe-rating-star {
	fill: #ff7081;
}

/* Read-only stars, partially filled */
.recipe-rating-stars {
	position: relative;
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
}

.recipe-rating-stars-empty,
.recipe-rating-stars-filled {
	display: inline-flex;
	gap: 4px;
}

.recipe-rating-stars-filled {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
}

.recipe-rating-stars-filled .recipe-rating-star {
	flex-shrink: 0;
	fill: #d8263c;
}

/* Rate and comment + comments at the bottom of the recipe, below the newsletter */
.recipe-ratings {
	margin-top: 3rem;
	padding-bottom: 32px;
}

.recipe-rating-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 24px;
	margin-bottom: 32px;
	padding: 10px 16px;
	background-color: #f5f5f5;
}

.recipe-comments {
	max-width: 800px;
	margin: 0 auto;
}

.recipe-rating-cta-heading,
.recipe-comments-heading {
	margin: 0;
	color: #231f20;
	font-size: 1rem;
	text-transform: uppercase;
}

.recipe-rating-cta-heading {
	font-size: 1.2rem;
}

.recipe-comments-heading {
	margin-bottom: 24px;
}

.recipe-comments-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.recipe-comment {
	min-height: 64px;
	margin: 0;
	padding: 8px 0 8px 16px;
	border-left: 5px solid #d8263c;
}

.recipe-comment article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.recipe-comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0;
}

.recipe-comment-date {
	color: #555;
	font-size: .875rem;
}

.recipe-comment-text {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Dialog */
.recipe-rating-dialog {
	width: 500px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 32px);
	padding: 0;
	overflow: auto;
	color: #fff;
	text-align: center;
	background-color: #d8263c;
	border: 0;
}

.recipe-rating-dialog::backdrop {
	background-color: rgba(43, 43, 43, .76);
}

.recipe-rating-dialog-inner {
	position: relative;
	padding: 36px 32px 32px;
}

.recipe-rating-dialog-title {
	margin: 0;
	color: #fff;
	font-family: "Roboto Slab", sans-serif;
	font-size: 1.9rem;
	font-weight: 400;
}

.recipe-rating-dialog-recipe {
	margin: 8px 0 6px;
	color: #fff;
	font-family: "Roboto Slab", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
}

.recipe-rating-dialog-close {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: #000;
	background: none;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}

.recipe-rating-dialog-close svg {
	width: 18px;
	height: 18px;
}

.recipe-rating-dialog-close:focus-visible,
.recipe-rating-form input:focus-visible,
.recipe-rating-form textarea:focus-visible,
.recipe-rating-submit:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.recipe-rating-dialog-status:empty {
	display: none;
}

.recipe-rating-dialog-status {
	margin: 0 0 16px;
	padding: 12px 16px;
	color: #231f20;
	font-weight: bold;
	background-color: #fff;
	border-radius: 3px;
}

.recipe-rating-dialog-status.is-error {
	color: #a01b2c;
}

.recipe-rating-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: left;
}

.recipe-rating-form[hidden] {
	display: none;
}

.recipe-rating-input {
	margin: 0;
	padding: 0;
	text-align: center;
	border: 0;
}


.recipe-rating-input-stars {
	display: inline-flex;
	gap: 4px;
}

.recipe-rating-input label {
	display: inline-flex;
	padding: 4px;
	border-radius: 3px;
	cursor: pointer;
}

.recipe-rating-input .recipe-rating-star {
	width: 30px;
	height: 29px;
	stroke: #fff;
}

.recipe-rating-input input:focus-visible + label {
	outline: 3px solid #fff;
	outline-offset: 1px;
}

.recipe-rating-input[data-value="1"] label:nth-of-type(-n+1) .recipe-rating-star,
.recipe-rating-input[data-value="2"] label:nth-of-type(-n+2) .recipe-rating-star,
.recipe-rating-input[data-value="3"] label:nth-of-type(-n+3) .recipe-rating-star,
.recipe-rating-input[data-value="4"] label:nth-of-type(-n+4) .recipe-rating-star,
.recipe-rating-input[data-value="5"] label:nth-of-type(-n+5) .recipe-rating-star {
	fill: #fff;
}

.recipe-rating-input[data-preview] label .recipe-rating-star {
	fill: transparent;
}

.recipe-rating-input[data-preview="1"] label:nth-of-type(-n+1) .recipe-rating-star,
.recipe-rating-input[data-preview="2"] label:nth-of-type(-n+2) .recipe-rating-star,
.recipe-rating-input[data-preview="3"] label:nth-of-type(-n+3) .recipe-rating-star,
.recipe-rating-input[data-preview="4"] label:nth-of-type(-n+4) .recipe-rating-star,
.recipe-rating-input[data-preview="5"] label:nth-of-type(-n+5) .recipe-rating-star {
	fill: #fff;
}

.recipe-rating-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.recipe-rating-comment-label {
	margin: 10px 0 12px;
	color: #fff;
	font-weight: 600;
	text-align: center;
}

.recipe-rating-form input::placeholder,
.recipe-rating-form textarea::placeholder {
	color: #767676;
	opacity: 1;
}

.recipe-rating-form input[type="text"],
.recipe-rating-form input[type="email"],
.recipe-rating-form textarea {
	width: 100%;
	box-sizing: border-box;
	height: 48px;
	margin: 0;
	padding: 8px 12px;
	color: #231f20;
	font-size: 1.0625rem;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
}

.recipe-rating-form textarea {
	height: 229px;
	min-height: 110px;
	padding-top: 12px;
	resize: vertical;
}

.recipe-rating-form [aria-invalid="true"] {
	border-color: #231f20;
	box-shadow: 0 0 0 2px #231f20;
}

.recipe-rating-note {
	margin: 0;
	font-size: .875rem;
}

.recipe-rating-field-error:empty {
	display: none;
}

.recipe-rating-field-error {
	margin: 4px 0 0;
	padding: 4px 8px;
	color: #a01b2c;
	font-size: .875rem;
	font-weight: bold;
	text-align: left;
	background-color: #fff;
	border-radius: 3px;
}

.recipe-rating-submit {
	align-self: center;
	min-height: 34px;
	margin-top: 14px;
	padding: 6px 20px;
}

@media screen and (max-width: 555px) {
	.recipe-rating-dialog-inner {
		padding: 40px 16px 24px;
	}

	.recipe-rating-form textarea {
		height: 160px;
	}

	.recipe-rating-dialog-title {
		font-size: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.recipe-rating-star {
		transition: none;
	}
}
