.carousel-rotate {
  	padding: 15px 0;
  	position: relative;
	overflow: hidden; 
	width: 100%;
	margin: 8px 0px;
}

.carousel-rotate ul { 
	list-style: none; 
	padding: 0;
	margin: 0;
}

.carousel-rotate li {
  	float: left;
  	margin: 0 12px;
	width:200px;
	height: 200px;
	background-color: #fff;
	border-radius: 10px;
	font-weight: bold;
	text-decoration: underline;
	position: relative;
	z-index: 99;
	text-align: center;
	transition-duration: 0.1s;
}

.carousel-rotate li:hover {
	border: 3px solid #2894F5;
	transition-duration: 0.1s;
}

.carousel-rotate ul li a,
.carousel-rotate ul li img { 
	vertical-align: bottom; 
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	padding: 10px;
}

.carousel-rotate ul li a:hover{
	cursor: pointer;
}