/*Recipe detail page*/

.abstract-text {
	padding-top: 30px;
}

.row-pt {
	padding-top: 3rem;
}

@media only screen and (max-width: 992px) {
	.abstract-text {
		padding-top: 0;
	}
	.row-pt {
		padding-top: 2rem;
	}
}

.ingredientlist ul li {
	text-indent: -0.6rem;
	/* margin-left: -0.5rem; */
}

[class^="ingredient-amount-metric-text"] {
	color: grey;
}

.ingredient-name-text {
	font-weight: 500;
}

.noteslist li {
	margin-left: -1rem;
	text-indent: 0;
	margin-bottom: 1rem;
}

.directionlist ol li {
	margin-left: -1rem;
	margin-bottom: 0.6rem;
}

.recipe-container {
	padding-right: 5%;
	padding-left: 5%;
	max-width: 100rem;
	padding-top: 50px;
}

/*Mobile*/
@media only screen and (max-width: 576px) {
	.recipe-container {
		padding-right: 0;
		padding-left: 0;
		padding-top: 0;
	}
}

/*Allergen*/
.badge.badge-circle {
	border-radius: 50%;
	width: 1.4rem;
	height: 1.4rem;
	/* box-shadow: 1px 1px 3px grey; */
	font-size: 0.75rem;
}

.badge-icon-container {
	position: absolute;
	top: 40px;
	right: 0;
}

.allergen-info {
	font-size: 75%;
	margin-bottom: 0;
}

.allergy-info-cont {
	margin: 0.25rem 0.25rem 0.25rem;
	border-radius: 10px;
	flex-grow: 1;
}

#allergen-info-container {
	margin-top: 2rem;
	margin-left: -0.25rem;
	margin-right: -0.25rem;
}

.allergen-img {
	max-width: 50px;
	opacity: 0.8;
}

.allergen-icon-cont {
	padding: 0.5rem;
	text-align: center;
	position: relative;
	cursor: pointer;
}

.allergen-title {
	margin-bottom: 0;
	font-family: var(--font-0);
	font-size: 1.1rem;
	margin: 0.75rem 0.75rem 0 0.75rem;
}

[data-soy-free="0"],
[data-peanut-free="0"],
[data-treenut-free="0"],
[data-sesame-free="0"],
[data-gluten-free="0"] {
	display: inline;
	transition: all 0.3s ease;
}

[data-soy-free="0"].contains,
[data-peanut-free="0"].contains,
[data-treenut-free="0"].contains,
[data-sesame-free="0"].contains,
[data-gluten-free="0"].contains {
	box-shadow: inset 0rem -1.45rem var(--col-red-3);
	/*animation-name: blow-up;*/
	padding: 0rem;
}

[data-soy-free="0"].possible,
[data-peanut-free="0"].possible,
[data-treenut-free="0"].possible,
[data-sesame-free="0"].possible,
[data-gluten-free="0"].possible {
	box-shadow: inset 0rem -1.45rem var(--col-green-4);
	/*animation-name: blow-up;*/
	padding: 0rem;
}

/* .ingredient-name-text{
	text-transform: lowercase;
} */

.substitute {
	display: inline;
	box-shadow: inset 0rem -0.2rem white;
}

.all-subs-txt,
.gluten-subs-txt,
.soy-subs-txt,
.peanut-subs-txt,
.treenut-subs-txt,
.sesame-subs-txt {
	-webkit-animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 0.5s; /* Firefox < 16 */
	-ms-animation: fadein 0.5s; /* Internet Explorer */
	-o-animation: fadein 0.5s; /* Opera < 12.1 */
	animation: fadein 0.5s;

	margin-left: 0.5rem;
	font-size: 0.9rem;
	color: var(--col-green-2);
	font-style: italic;
}

@keyframes fadein {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.ingredient {
	display: inline;
}

#ingredient-direction-container {
	padding-top: 3rem;
}

.ingredientlist {
	background-color: var(--col-red-4);
	border-radius: 10px;
}

@media(max-width: 576px){
    .ingredientlist{
        border-radius: 0px;
    }
}

#included-recipes-container {
	padding-bottom: 1rem;
}

#amz-btn-container {
	padding: 1.5rem 0 1.5rem 0;
}

.btn-right {
	border-radius: 15% 50% 50% 15%;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	border: unset !important;
}
.btn-right:hover {
	border-radius: 15% 50% 50% 15%;
}

.btn-left {
	border-radius: 50% 15% 15% 50%;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	border: unset !important;
}
.btn-left:hover {
	border-radius: 50% 15% 15% 50%;
}

.subs-btn {
	display: inline;
	text-indent: 0;
	color: var(--col-green-2);
	cursor: pointer;
}

#subs-btn,
.print-btn {
	white-space: nowrap;
}

.sub-btn {
	font-size: 0.55rem;
}

.input-number {
	box-shadow: 0px 1px 3px grey;
	padding: 0.2rem;
	text-align: center;
	flex: 0.75 1 auto !important;
	border-radius: 5px !important;
	height: 2.25rem;
}

ul.noteslist {
	list-style-type: disc; /* Ensure using default dot symbol */
}

ul.noteslist li::marker {
	color: var(--col-green-2); /* Change the color of the bullet */
}

p.nutrition_value {
	font-size: 0.9rem;
}

/* Fixed the width of the servings input field*/
.servings-scaling {
	flex: 0 0 140px;
}

.col.servings-scaling {
	padding-left: 0;
}

/* Effect hovering over directions*/
.direction {
	transition: 0.15s ease-in-out;
}
.direction:hover {
	color: var(--col-green-2) !important;
}

/* Effect hovering over directions*/
.ingredient-container {
	transition: all 0.15s ease-in-out;
	display: inline;
}
.ingredient-container:hover {
	color: var(--col-green-2) !important;
}

/*Plate method*/
.pm-container {
	width: 100%;
	padding-top: 100%;
	position: relative;
}

.pm-box {
	width: 100%;
	padding-top: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
	transition: all 0.3s ease-in-out;
	transition-property: transform, opacity;
}
.pm-box:hover {
	transform: scale(1.05);
}

.pm-box-2 {
	width: 100%;
	padding-top: 100%;
	border-radius: 50%;
	transition: transform 0.3s ease;
	/*margin-bottom: 3em;
	margin-top: 3em;*/
}
.pm-box-2:hover {
	transform: scale(1.1);
}

.pm-box-2.empty {
	opacity: 0.5;
}

.pm-card {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.5s linear;
	/*	display: none;
	transition: transform .3s ease;
*/
}

.pm-card-container {
	display: block;
	height: 7rem;
}

.pm-side-images {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.pm-perc {
	color: var(--col-green-2);
}

.rotate-box {
	width: 100%;
	padding-top: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.rotated {
	position: absolute;
	left: -5rem;
	bottom: 3rem;
	transform: rotate(-90deg);
	transform-origin: 0 0;
}

ul.filter {
	list-style-type: none;
}

ul.filter > label {
	display: inline;
}

/* #included-recipes{
	padding: 5%;
    background-color: var(--col-red-4);
    border-radius: 5px;
    border: solid 2px white;
    box-shadow: 0 0 10px 6px white;
} */

.col-green-3 {
	color: var(--col-green-3);
}

#header-info-col {
	display: flex;
	align-items: center;
	flex-direction: row;
}

.recipe-thumbnail-cont {
	width: 450px;
	padding: 1rem;
	position: relative;
}

@media only screen and (max-width: 992px) {
	#main-image-container {
		display: block !important; 
	}
}

#main-image-container {
		padding-right: 0rem; 
		padding-left: 0rem; 
		display: flex; 
		align-items: center;
	}

/*Mobile*/
@media only screen and (max-width: 576px) {
	/*Detail page*/
	/*header h1.title{
		font-size: 2rem;
	}*/

	header h4 {
		font-size: 1.3rem;
	}

	.allergen-not-free,
	.allergen-free-possible,
	.allergen-free {
		transform: scale(0.8);
	}

	#allergen-info-container .col,
	#recipe-info-container .col {
		padding: 0.2rem;
	}

	/* #ingredient-direction-container{
		padding-top: 1rem !important;
	} */

	#share-btn {
		display: none;
	}

	#included-recipes-container {
		display: none;
	}

	#amz-btn-container {
		padding: 1rem 0 1rem 0;
	}

	#main-image-container img {
		border-radius: initial;
	}

	#header-info-col {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.ingredientlist {
		flex: inherit !important;
		max-width: inherit !important;
	}
	.directionlist {
		flex: inherit !important;
		max-width: inherit !important;
	}
}

@media only screen and (max-width: 992px) {
	#header-info-col {
		padding-left: 0;
		padding-right: 0;
		padding-top: 1.3rem;
	}

	/* #ingredient-direction-container {
    padding-top: 2rem;
  }

  #ingredient-direction-container .space-cols {
    display: none;
  }

  #ingredient-direction-container .row {
    justify-content: space-between;
  }

  .ingredientlist {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .directionlist {
    flex: 0 0 57%;
    max-width: 57%;
  } */
}

/*.flex-nutr-item {
  padding: 1rem;
  width: 7rem;
  text-align: center;
}*/

/*p.recipe_subtext {
	font-size: 0.9rem;
	color: black;
	display: inline;
}*/

/*#recipe-header{
	padding-left: 1.5rem;
	border-left: 3px solid var(--col-green-1);
}*/

/*.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 12rem !important;
}*/

/*Nutrients*/
table {
	/*border: 1px solid #ccc;*/
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	width: 100%;
	table-layout: fixed;
}

table tr {
	/*background-color: #f8f8f8;*/
	/*border: 1px solid #ddd;*/
	padding: 0.35em;
}

table th,
table td {
	padding: 0.2em;
	font-size: 0.9rem;
	/*text-align: center;*/
}

[data-label="value"] {
	text-align: right;
}

table th {
	/*font-size: .85em;*/
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* #recipe-socials-parent-cont{
	display: none;
}

@media only screen and (max-width: 992px) {
    #recipe-socials-parent-cont{
		display: flex;
		justify-content: space-between;
		padding-top: 2rem;
	}
}

#recipe-social-btns {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 0rem;
  position: -webkit-sticky;
  position: sticky; 
  top: 12rem;
}

#recipe-social-btns-container {
	position: absolute; 
	right: 0; 
	top: 0; 
	height: 60rem; 
	width: 100%;
	z-index: 1;
}

#recipe-social-rounded-bg{
	width: 50%; 
	background-color: white;
	border-radius: 40px;
	position: relative;
	margin: 0 auto;
} */

/* Amazon Fresh button */
.amz-submit-input {
	position: absolute;
	background-color: transparent;
	color: transparent;
	border: 0;
	cursor: pointer;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	opacity: 0.01;
	outline: 0;
	overflow: visible;
	z-index: 2;
}

.amz-btn-text {
	background-color: transparent;
	border: 0;
	display: block;
	/* font-size: 13px; */
	/* line-height: 29px; */
	margin: 0;
	outline: 0;
	/* padding: 0 10px 0 11px; */
	text-align: center;
	/* white-space: nowrap; */
}


#print-preview-btn {
	font-size: 1.5rem;
	margin-top: 1.5rem;
}

.alerts-border {
	opacity: 1;
	animation: blink 1s;
	animation-iteration-count: 100;
}

@keyframes blink {
	50% {
		opacity: 0.2;
	}
}

@media print {
	@page {
		size: 1050px;
	}

	body,
	html {
		width: 1050px;
	}
}

.vrec-container {
	width: 300px; 
	margin-left: auto; 
	margin-right: auto; 
	height: 100%; 
	position: relative;
}

.vrec-ad {
	min-height: 600px; 
	position: sticky; 
	top: 90px;
}


/*=========== QR button ===========*/

#qr-btn-cnt {
	display:none;
	position:absolute;
	bottom:1.33%;
	left:2%;
	z-index: 99;
}

#qr-btn {
	display:flex;
	flex-direction:row;
	justify-content:flex-end;
	align-items:center;
	padding: 0.5rem 1rem 0.5rem 1rem;
	background: rgb(106,129,97,0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

#qr-btn p {
	color: white;
	padding: 0;
	margin: 0px;
}

#qr-cnt {
	position: absolute;
	display: flex;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	overflow: hidden;
}

.qr-cnt-inactive {
	background-color: rgba(255,255,255,0);
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
	transition: all ease .3s !important;
}

.qr-cnt-active {
	background-color: rgba(255,255,255,0.3);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: all ease .3s !important;
}

#qr-code {
	border-radius: 10px;
	overflow: hidden;
	display: none;
}

#main-image-inner-cnt {
	position: relative;
	display: flex;
}