#ingredientOverlay{
	background: rgba(0,0,0,0.7);
	padding: 0px 318px 0px 247px;
}

.modal-dialog{
	width: 660px;	
	margin-top: 21px;
}

.modal-header,
.modal-body,
.modal-footer{
	padding: 0;
	border: none;
}

.user-ingredient-body{
	display: none;
	background: #c0081b;
	padding: 80px 10px 160px;
	color: #FFFFFF;
	border-top: 1px solid #e5e5e5;
}

.user-ingredient-body > h4{
	font-size: 42px;
	font-family: 'Moon Flower', sans-serif;
	width: 100%;
	text-align: center;
	margin-bottom: 40px;
}

.user-ingredient-content-container{
	display: inline-block;
	width: 100%;
}

.ingredient-overlay-user-ingredient-item-wrapper{
	display: block;
	float: left;
	width: 50%;
	padding: 0 5px;
}

.ingredient-overlay-user-ingredient-item{
	width: 100%;
	height: 190px;
	max-width: 190px;
	margin: 0 auto;
	position: relative;
}

.ingredient-overlay-user-ingredient-item:before{
	content: "";
	display: block;
	width: 100%;
	padding-top: 100%;
}

.ingredient-overlay-user-ingredient-item > div:first-child{
	display: block;
	width: 100%;
	height: 190px;
	max-width: 190px;
	max-height: 190px;
	margin: 0 auto 10px;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}

.ingredient-overlay-user-ingredient-item > div:first-child > img{
	display: block;
	width: 200%;
	max-width: 380px;
	position: absolute;
	top: 0;
	left: 0;
}

.ingredient-overlay-user-ingredient-item:hover > div:first-child > img{
	left: -100%;
}

.ingredient-overlay-user-ingredient-item > div:nth-child(2){
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.ingredient-overlay-user-ingredient-item > div:nth-child(2):before{
	content: "";
	display: block;
	width: 100%;
	padding-top: 100%;
}

.ingredient-overlay-user-ingredient-item > div:nth-child(2) > img{
	display: block;
	position: relative;
	margin: -95% auto 0;
	width: 90%;
}

.ingredient-overlay-user-ingredient-item > div:last-child{
	font-size: 42px;
	font-family: 'Moon Flower', sans-serif;
	width: 100%;
	text-align: center;
	line-height: 42px;
	padding: 5px;
	position: relative;
}

.ingredient-overlay-headline{
	text-transform: uppercase;
}

.ingredient-overlay-title-row{
	width: 100%;
	height: 65px;
	padding: 0 55px 0 30px;
	background: #e5e5e5;
	position: relative;
}

.ingredient-overlay-title{
	height: 65px;
	line-height: 65px;
	font-family: 'Moon Flower', sans-serif;
	font-size: 45px;
}

.ingredient-overlay-title > div:first-child{
	float: left;
}

.ingredient-overlay-title > div:last-child{
	float: right;
}

.ingredient-overlay-close-button{
	height: 65px;
	width: 45px;
	position: absolute;
	top: 0;
	right: 0;
	background: url('../img/icons/X-Close-Button.svg') no-repeat 50% 50%/60% auto #c0081b;
}

.ingredient-overlay-close-button:hover{
	background-color: #8c000e;
}

.ingredient-overlay-basic-ingredient-row{
	position: relative;
}

.ingredient-overlay-basic-ingredient-content{
	position: relative;
	width: 100%;
	color: #000000;
	min-height: 171px;
	background: #FFFFFF;
	padding: 20px;
	padding-right: 272px;
}

.ingredient-overlay-basic-ingredient{
	margin: 0 0 4px;
	height: 18px;
	line-height: 18px;
	padding-right: 50px;
	position: relative;
	width: 75%;
}

.ingredient-overlay-basic-ingredient.disabled{
	text-decoration: line-through;
	color: rgba(0, 0, 0, 0.5);
}

.ingredient-overlay-icon-button-edit{
	position: absolute;
	top: 0;
	right: 20px;
}

.ingredient-overlay-icon-button-delete,
.ingredient-overlay-icon-button-add{
	position: absolute;
	top: 0;
	right: 0;
}

.ingredient-overlay-food-image{
	display: block;
	width: 272px;
	height: 204px;
	outline: 1px solid rgba(255, 255, 255, 0.5);
	outline-offset: -1px;
	position: absolute;
	top: 0; 
	right: 0;
	z-index: 1;
}

.ingredient-overlay-additional-ingredient-row{
	width: 100%;
	height: 100%;
	color: #FFFFFF;
	background: #2B2B2B;
	padding: 20px 0;
	padding-bottom: 5px;
	overflow: hidden;
}

.ingredient-overlay-additional-ingredient-row > .ingredient-overlay-headline{
	padding: 0 20px;
	margin-bottom: 30px;
}

.ingredient-overlay-additional-ingredient-content{
	height: 100%;
}

.ingredient-overlay-additional-ingredient-content > div{
	margin: 0;
}

.ingredient-overlay-add-to-basket-wrapper{
	margin-right: 210px;
	height: 47px;
	display: block;
	background: #2B2B2B;
}

.ingredient-overlay-add-to-basket-button{
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 0 30px;
	width: 208px;
}

.ingredient-overlay-icon-button{
	background: url('../img/icons/pastakorb-icon-sprite.svg') no-repeat 1000px 1000px/625% auto transparent;
	display: inline-block;
	border: none;
	outline: none;
	width: 18px;
	height: 18px;
}

.ingredient-overlay-icon-button.disabled,
.ingredient-overlay-icon-button.disabled:hover{
	opacity: 0.2;
}

.ingredient-overlay-icon-button.hidden{
	display: none;
}

.ingredient-overlay-icon-button-edit{ background-position: 20% 0%; }
.ingredient-overlay-icon-button-edit:hover{ background-position: 20% 50%; }

.ingredient-overlay-icon-button-delete{ background-position: -2% 0%; }
.ingredient-overlay-icon-button-delete:hover{ background-position: -2% 50%; }

.ingredient-overlay-icon-button-add{ background-position: 45% 0%; }
.ingredient-overlay-icon-button-add:hover{ background-position: 45% 50%; }

.ingredient-overlay-icon-button-reduce{ background-position: 73% 100%; }
.ingredient-overlay-icon-button-reduce:hover{ background-position: 73% 50%; }
.ingredient-overlay-icon-button-reduce.disabled:hover{ background-position: 73% 100%; }

.ingredient-overlay-icon-button-increase{ background-position: 45% 100%; }
.ingredient-overlay-icon-button-increase:hover{ background-position: 45% 50%; }
.ingredient-overlay-icon-button-increase.disabled:hover{ background-position: 45% 100%; }

p.ingredient-overlay-additional-ingredient{
	width: 100%;
	float: left;
	margin-bottom: 8px;
	padding: 0;
	position: relative;
}

p.ingredient-overlay-additional-ingredient.disabled{
	color: rgba(255,255,255,0.2);
}

.ingredient-overlay-additional-ingredient > .additional-ingredient-action-button-container{
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
}

.ingredient-overlay-additional-ingredient > .additional-ingredient-action-button-container > a,
.ingredient-overlay-additional-ingredient > .additional-ingredient-action-button-container > span{
	float: left;
	height: 18px;
	line-height: 18px;
}

.ingredient-overlay-additional-ingredient-count{
	width: 20px;
	text-align: center;
}

.ingredient-overlay-additional-ingredient-name{
	width: 100%;
	display: block;
	padding: 0 55px 0 65px;
}

span.ingredient-overlay-additional-ingredient-price{
	letter-spacing: 1px;
	position: absolute;
	top: 0;
	right: 0;
	display: inline-block;
}

.ingredient-overlay-additional-ingredient-content-column{
	float: left;
	width: 50%
}

.optional-ingredient-group-container{
	float: left;
	width: 100%;
	padding: 0 20px 20px;
}

/*.ingredient-overlay-additional-ingredient-content > div:nth-child(even){
	float: right;
}*/

.optional-ingredient-group-container > img{
	width: 160px;
	height: 60px;
	margin-bottom: 10px;
}

.optional-ingredient-group-container > .ingredient-content{
	width: 100%;
}
