td {
	padding-bottom: 1rem;
}
.container {
	margin: 0 auto;
	width: 40%;
	min-width: 400px;
}
#titleArea {
	margin-bottom: 2rem;
}
#ingredients b {
	font-size: 1.2rem;
	padding-top: 0.5rem;
	display: inline-block;
}
table {
	margin-bottom: 3rem;
}
li {
	margin-bottom: 3rem;
}

h2 {
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 2rem;
}



body
{
    /*border: 2px solid green;*/
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
}

.trial {
	color: red;
}


/*These styles contain basic styles for fomatting along with our animation css*/



*,
*:before,
*:after {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
/*clearfixes*/

.cf:before,
.cf:after {
	content: " ";
	display: table;
}

.cf:after {
	clear: both;
}

.main-container {
	max-width: 1000px;
	margin: 25px auto 25px auto;
	position: relative;
}

.container {
	position: relative;
	padding: 25px;
}

#randList p{
	margin-bottom: 3rem;
}

.tut {
	margin-bottom: 0;
}

.resultsTable {
	width: 100%;
}

td {
	text-align: center;
}

.average {
	font-weight: bold;
}

/*animation element*/

.animation-element {
	opacity: 0;
	position: relative;
}
/*animation element sliding left*/

.animation-element.slide-left {
	opacity: 0;
	-moz-transition: all 700ms linear;
	-webkit-transition: all 700ms linear;
	-o-transition: all 700ms linear;
	transition: all 700ms linear;
	-moz-transform: translate3d(-500px, 0px, 0px);
	-webkit-transform: translate3d(-500px, 0px, 0px);
	-o-transform: translate(-500px, 0px);
	-ms-transform: translate(-500px, 0px);
	transform: translate3d(-500px, 0px, 0px);
}

.animation-element.slide-left.in-view {
	opacity: 1;
	-moz-transform: translate3d(0px, 0px, 0px);
	-webkit-transform: translate3d(0px, 0px, 0px);
	-o-transform: translate(0px, 0px);
	-ms-transform: translate(0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}

.animation-element.slide-left.out-view {
	opacity: 0;
	-moz-transform: translate3d(-500px, 0px, 0px);
	-webkit-transform: translate3d(-500px, 0px, 0px);
	-o-transform: translate(-500px, 0px);
	-ms-transform: translate(-500px, 0px);
	transform: translate3d(-500px, 0px, 0px);
}


/*animation slide left styled for items*/


.animation-element.slide-left.item .header {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}
.animation-element.slide-left.item .left {
	float: left;
	margin-right: 15px;
}
.animation-element.slide-left.item .right {
	float: left;
}

.animation-element.slide-left.item img {
	width: 65px;
	height: 65px;
}

.animation-element.slide-left.item h3 {
	margin: 0px 0px 5px 0px;
}

.animation-element.slide-left.item h4 {
	margin: 0px 0px 5px 0px;
}

.animation-element.slide-left.item .content {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}

.animation-element.slide-left.item .rating {
}

.animation-element.slide-left.item i {
	margin-right: 5px;
}

/*media queries for small devices*/
@media screen and (max-width: 678px) {
	/*items*/
	.animation-element.slide-left.item,
	.animation-element.slide-left.item:nth-of-type(odd),
	.animation-element.slide-left.item:nth-of-type(even) {
		width: 100%;
		margin: 0px 0px 20px 0px;
	}
	.animation-element.slide-left.item .right,
	.animation-element.slide-left.item .left,
	.animation-element.slide-left.item .content,
	.animation-element.slide-left.item .rating {
		text-align: center;
		float: none;
	}
	.animation-element.slide-left.item img {
		width: 85px;
		height: 85px;
		margin-bottom: 5px;
	}
}
