


#carousel{
	text-align:center;
	height:30px;
		
	/* Initially hidden */
	opacity:0;
	
	/* Will animate the transition */
	-moz-transition:0.4s opacity;
	-webkit-transition:0.4s opacity;
	transition:0.4s opacity;
}

#carousel.active{
	opacity:1;
}

#carousel li{
	display:none;
	list-style:none;
	width:150px;
	height:150px;
	margin: -30px 18px 0;
	position:relative;
	
	-moz-transition:0.4s all;
	-webkit-transition:0.4s all;
	transition:0.4s all;
}

#carousel li.visible{
	display:inline-block;
}

#carousel li a img{
	border:none;
}

#carousel li img{
	display:block;
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
	position:relative;
	z-index:10;
}

/* Creating the cradle below the thumbnails.
	Uses % so that it grows with the image. */
	
#carousel li:after{
	content:'';
	background:url('../img/cradle.png') no-repeat top center;
	background-size:contain;
	bottom: 4%;
    content: "";
    height: 50px;
    left: -6.5%;
    position: absolute;
    right: -6.5%;
    width: auto;
    z-index: 1;
}

#carousel li:hover{
	height: 197px;
    margin-top: -152px;
    width: 222px;
}

.arrow{
	width:28px;
	height:28px;
	opacity:0.8;
	overflow:hidden;
	cursor:pointer;
	display:none;
	position:absolute;
}

.arrow img {
	width: 28px;
}

.arrow:hover{
	opacity:1;
}

.arrow.next{
	right: 0px;
}

.arrow.prev{
	left: 30px;
}





