* {
	box-sizing: border-box;
}

body {
	background: #94C5BF url(../img/ipc-logo-transparent.png) no-repeat 85% 75px fixed;
	background-size: 300px 300px;
	font-family: "adelle-sans",sans-serif;
}

.logo {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
}

.grid-item {
	width: 33.3333%;
	padding: 2.5px;
}

.img-responsive {
	width: 100%;
	max-width: 100%;
}

.ingredient {
	position: relative;
	display: block;
	cursor: pointer;
	padding-bottom: 20px;
}

.ingredient img {
	padding-top: 40px;
	padding-bottom: 15px;
}

.available:hover .ingredient-tooltip {
	opacity: 1;
	z-index: 10;
}

.ingredient-tooltip {
	opacity: 0;
	position: absolute;
  top: 0;
  left: 30%;
  text-transform: uppercase;
  background: rgba(255,255,255,0.75);
  padding: 5px 10px;
  font-size: 14px;
  color: #b51218;
  z-index: -1;
  transition: .4s linear;
}

.ingredient-tooltip::before {
	content: '';
	position: absolute;
	left: 7px;
	bottom: -28px;
	border-top: 18px solid rgba(255,255,255,0.75);
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 0 solid transparent;
}

.baked-potato-wrap.padded-bottom {
	//padding-bottom: 160px;
}

#usedIngredientList .ingredient-tooltip {
	top: 43%;
	left: 25%;
	width: 50%;
	text-align: center;
}

#usedIngredientList .ingredient-tooltip::before {
	display: none;
	left: 50%;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}

#usedIngredientList .ingredient-tooltip::after {
	content: '\f134';
	font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
	position: absolute;
  top: -12px;
  right: -13px;
  font-size: 30px;
  width: 25px;
  height: 24px;
  background: #b51218;
  line-height: 25px;
  border-radius: 50%;
  color: #fff;
}

#usedIngredientList .ingredient {
	padding-bottom: 0;
}

#usedIngredientList .ingredient img {
	padding-top: 0;
	padding-bottom: 0;
}

.shelf {
	background: transparent url(../img/shelf.png) no-repeat 50% 85%;
	background-size: 100%;
}

#usedIngredientList {
	width: 83%;
	padding: 15px;
}

#usedIngredientList .shelf {
	background: none;
}

.gu-mirror {
	background: none;
}

.gu-mirror .zmdi {
	display: none;
}

.drawer {
	background: #da4526; /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover,  #da4526 0%, #d81f27 32%, #990613 100%); /* FF3.6-15 */
	background: -webkit-radial-gradient(center, ellipse cover,  #da4526 0%,#d81f27 32%,#990613 100%); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(ellipse at center,  #da4526 0%,#d81f27 32%,#990613 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da4526', endColorstr='#990613',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	position: fixed;
	left: 20px;
	top: 0;
	bottom: 0;
	width: 320px;
	padding: 10px;
	overflow-y: scroll;
}

.drawer .scroll-indicator {
	position: fixed;
  bottom: -15px;
  left: 168px;
  color: #fff;
  font-size: 3em;
  z-index: 99;
}

.main-content {
	display: table;
	width: 100%;
	height: 100%;
	padding-left: 340px;
}

.nutritionals {
	position: fixed;
	top: 10px;
	right: 20px;
	width: 200px;
	z-index: 1000;
	transform: translatey(0);
	transition: .25s linear;
}

.shareable .nutritionals {
	transform: translateY(60px);
}

.nutritionals .top {
	background: #da4526; /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover,  #da4526 0%, #d81f27 32%, #990613 100%); /* FF3.6-15 */
	background: -webkit-radial-gradient(center, ellipse cover,  #da4526 0%,#d81f27 32%,#990613 100%); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(ellipse at center,  #da4526 0%,#d81f27 32%,#990613 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da4526', endColorstr='#990613',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	padding: 10px 15px;
}

.calories {
	margin-bottom: 10px;
	font-size: 40px;
	color: #fff;
	font-weight: bold;
	line-height: 1;
}

.calories .count {
	font-size: 60px;
}

.nutritionals .more-info {
	display: block;
	color: #720000;
	border-bottom: 1px solid #720000;
}

.nutritionals .more-info span {
	display: block;
	margin-bottom: -18px;
	font-size: 11px;
}

.nutritionals .more-info .zmdi {
	display: block;
	margin-top: -10px;
	margin-bottom: -15px;
}

.nutritionals .less-info {
	display: block;
	color: #720000;
	margin-top: 15px;
	border-top: 1px solid #720000;
}

.nutritionals .less-info span {
	display: block;
	margin-top: -18px;
	font-size: 11px;
}

.nutritionals .less-info .zmdi {
	display: block;
	margin-top: -15px;
}

.daily-value-info {
	display: block;
	margin-top: 10px;
	font-size: 10px;
}

.daily-value {
	float: right;
	font-size: .8em;
}

.recipes-button {
	position: absolute;
  top: 172px;
  left: 0;
  box-shadow: -2px 2px 0 #85B4A9;
  transition: .2s linear;
}

.recipes-button:hover {
  box-shadow: -2px 2px 1px #85B4A9;
}

.baked-potato-wrap {
	display: table-cell;
	width: 100%;
	height: 100%;
	vertical-align: bottom;
	max-width: 720px;
	margin-top: 200px;
	padding: 80px 40px 40px;
	text-align: center;
	transition: .5s ease-out;
}

.baked-potato-wrap.weighted {
	padding-top: 100px;
}

.nutrition-reveal {
	position: relative;
	max-height: 0;
	overflow: hidden;
	background-color: rgba(255,255,255,0.85);
  font-size: 14px;
  color: #58401B;
  z-index: -1;
  transition: .4s ease-out;
}

.nutrition-reveal .content {
	padding: 10px 15px;
}

.nutrition-reveal.open {
	z-index: 10;
	max-height: 500px;
}

.gu-transit {
	background-color: #000;
	opacity: 0;
}

.social-share-links {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	top: 10px;
	right: 20px;
	transition: .2s linear;
}

.shareable .social-share-links {
	opacity: 1;
	visibility: visible;
}

.social-share-links span {
	line-height: 1.5rem;
  display: inline-block;
  text-align: left;
  margin-right: 1rem;
  color: #fff;
}

.share-link {
	display: inline-block;
	margin-left: .5rem;
	color: rgba(255,255,255,0.9);
	transition: .1s linear;
}

.facebook-share:hover {
	color: #4267B2;
}

.twitter-share:hover {
	color: #55ACEE;
}

.pinterest-share:hover {
	color: #BA0F23;
}

.modal-overlay {
	overflow-y: scroll;
	opacity: 0;
	visibility: hidden;
	background-color: rgba(0,0,0,0.85);
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	transition: .5s linear;
}

.has-intro .modal-overlay {
	opacity: 1;
	visibility: visible;
}

.modal-wrap {
	position: relative;
	margin: auto;
	width: 100%;
	max-width: 600px;
}

.modal-close {
	position: absolute;
  top: -37px;
  right: -20px;
  font-size: 3rem;
  color: #ddd;
  z-index: 10;
  cursor: pointer;
  transition: .2s linear;
}

.modal-close:hover {
	color: #fff;
}


@media screen and (max-width: 640px) {
	.logo {
		position: fixed;
		top: 35px;
		left: 20px;
		max-width: 25%;
	}

	.grid-item {
		width: 100%;
	}

	.baked-potato-wrap {
		padding-top: 150px;
		vertical-align: middle;
	}

	.main-content {
		padding-left: 0;
		padding-bottom: 80px;
	}

	.drawer {
		background: #da4526; /* Old browsers */
		background: -moz-radial-gradient(center, ellipse cover,  #da4526 0%, #d81f27 32%, #990613 100%); /* FF3.6-15 */
		background: -webkit-radial-gradient(center, ellipse cover,  #da4526 0%,#d81f27 32%,#990613 100%); /* Chrome10-25,Safari5.1-6 */
		background: radial-gradient(ellipse at center,  #da4526 0%,#d81f27 32%,#990613 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da4526', endColorstr='#990613',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
		background-position: 0 50%;
		background-repeat: no-repeat;
		transition: .25s linear;
		top: auto;
    left: 0;
    width: 100%;
    height: 150px;
    padding-top: 50px;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
	}

	.drawer::before {
		content: '\21C5';
		position: fixed;
		bottom: 45px;
		left: 5px;
		color: #fff;
		font-size: 2em;
	}

	.drawer .shelf {
		background-position: 50% 68%;
	}

	.drawer .ingredient {
		max-width: 80%;
		margin-left: 10%;
		margin-bottom: 10px;
	}

	.drawer .ingredient img {
		padding-top: 0;
		padding-bottom: 25px;
	}	

	.ingredient-tooltip {
		top: -40px;
	}

	.drawer.open {
		left: 0;
	}

	.calories {
		font-size: 20px;
	}

	.calories .count { 
    display: inline;
    font-size: 20px;
	}

	#usedIngredientList {
		width: 80%;
	}

	#usedIngredientList .ingredient {
		padding-top: 50px;
		margin-bottom: -20px;
	}

	#usedIngredientList .ingredient-tooltip {
		opacity: 1;
		z-index: 10;
		width: 100%;
		left: 0;
		top: 20px;
	}

	.recipes-button {
		top: 92px;
	}
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : landscape) {
	.calories {
		font-size: 20px;
	}

	.calories .count { 
    display: inline;
    font-size: 20px;
	}

	.drawer {
		left: 0;
    width: 240px;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
	}

	.drawer::before {
		content: '\21C5';
		position: fixed;
		top: 50%;
		left: 5px;
		margin-top: -24px;
		color: #fff;
		font-size: 2em;
	}

	.drawer .shelf {
		background-position: 50% 54%;
	}

	.main-content {
		padding-left: 220px;
	}

	.baked-potato-wrap {
		padding-top: 130px;
	}

	.drawer .ingredient {
		max-width: 80%;
		margin-left: 20%;
		margin-bottom: 10px;
	}

	.drawer .ingredient img {
		padding-top: 0;
		padding-bottom: 25px;
	}	

	.ingredient-tooltip {
		top: -40px;
	}

	#usedIngredientList .ingredient {
		padding-bottom: 50px;
	}

	#usedIngredientList .ingredient-tooltip {
		opacity: 1;
		z-index: 10;
		width: 100%;
		left: 0;
		top: -20px;
	}

	.nutritional-item {
    font-size: .7em;
	}

	.nutritionals {
		position: absolute;
	}
}

@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) 
and (orientation : landscape) {
	.calories {
		font-size: 20px;
	}

	.calories .count { 
    display: inline;
    font-size: 20px;
	}
}

@media only screen and (min-width : 1280px) {
	.nutritionals {
		width: 20%;
	}
}