
a:hover, a:visited, a:link, a:active { text-decoration: none; }
a { color: black; }
div:focus { outline: none; }
a:focus { outline: none; }

#contentWrapper {
	width: 1100px;
	height: 305px;
	font-family: 'Roboto', sans-serif;
	margin: 0 auto;
	background-image: radial-gradient(circle, #555555, #434343, #323232, #212121, #111111);
	border-radius: 3px;
}

#content {
	position: relative;
	display: block;
	overflow: hidden;
	background-color: rgba(68, 68, 68, 0);
	width: 1086px;
	margin: 0 auto;
	border-right: 14px solid rgba(68, 68, 68, 0);
}

h1 {
	font-family: 'Roboto Slab', sans-serif;
	font-size: 22px;
	font-weight: 400;
	text-align: center;
	margin: 12px 0 0 0;
	position: relative;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .9);
	text-shadow: 0px 0px 12px rgba(0, 0, 0, 1);
}

h2 {
	z-index: 2;
	font-family: 'Roboto', sans-serif;
	position: relative;
	font-weight: 500;
	font-size: 22px;
	width: 235px;
	height: 150px;
	margin: 20px auto 0px auto;
	text-align: center;
	color: white;
	text-shadow: 0px 0px 14px rgba(0, 0, 0, 1);
}

h3 {
	position: relative;
	display: block;
	text-align: center;
	font-size: 22px;
}

.numBox {
	z-index: 2;
	display: block;
	position: relative;
	width: 40px;
	height: 30px;
	margin: 0 auto;
	background: #F9B716;
	-webkit-box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.65);
	box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.65);
	transition: all 210ms ease;
}

.numBoxHover {
	opacity: 0;
	transform: scale(2.5);
	transition: all 120ms ease;
}

h2, .numBox {
	top: -22px;
}

.carousel {
	position: relative;
	display: block;
	z-index: 0;
	width: 950px;
	margin: 7px auto 0px auto;
	background: rgba(68, 68, 68, 0);
	border-left: 14px solid rgba(68, 68, 68, 0);
}

.flickity-button {
	background-color: rgba(249, 184, 22, .8) !important;
	transform: scale(.8) !important;
}

.flickity-button:hover {
	background-color: rgba(249, 184, 22, 1) !important;
}

.flickity-prev-next-button {
	top: 36% !important;
}

.flickity-prev-next-button.previous {
	left: -55px !important;
}

.flickity-prev-next-button.next {
	right: -55px !important;
}

.slide {
	z-index: 2;
	position: relative;
	display: block;
	overflow: hidden;
	height: 200px;
	width: 270px;
	margin: 6px;
	background: url("");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 3px;
	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, .25);
	counter-increment: carousel-cell;
}

.slide:before {
	content: '';
	position: absolute;
	overflow: hidden;
	z-index: 0;
	height: 240px;
	width: 100%;
	background: url("");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	animation: slidyOut 250ms 0s 1 normal both;
}

.slide:hover:before {
	animation: slidy 300ms 0s 1 normal both;
}


@keyframes slidy {
  0% {
    filter: grayscale(0%) contrast(110%) brightness(95%) saturate(100%);
    transform: scale(1);
  }
  100% {
    filter: grayscale(100%) contrast(200%) brightness(70%);
	transform: scale(1.25);
  }
}

@keyframes slidyOut {
  0% {
    filter: grayscale(100%) contrast(200%) brightness(70%);
	transform: scale(1.25) ;
  }
  100% {
    filter: grayscale(0%) contrast(110%) brightness(95%) saturate(100%);
    transform: scale(1);
  }
}

.slide:after {
	content: "";
	position: absolute;
	overflow: hidden;
	z-index: 1;
	top: 0;
	height: 100%;
	width: 100%;
	background-image: radial-gradient(circle, rgba(17, 17, 17, 1), rgba(29, 29, 29, 1), rgba(42, 42, 42, .8), rgba(55, 55, 55, .4), rgba(68, 68, 68, 0));
	opacity: .6;
	transition: all 300ms;
}

.slide:hover:after {
	background: #C99002;
	opacity: .7;
	transition: all 300ms;
}

#unit {
	position: relative;
	display: block;
	width: 140px;
	margin: 10px auto;
}

/* 	FOR MOBILE	*/

@media screen and (max-width: 1040px ) {
	#contentWrapper {
		width: 620px;
		height: 290px;
		border-radius: 3px;
	}

	#content {
		width: 620px;
		border-right: 0px solid rgba(68, 68, 68, 0);
	}

	h1 {
		font-size: 22px;
		font-weight: 400;
		margin: 12px 0 0 0;
	}

	h2 {
		font-size: 20px;
		width: 190px;
		height: 140px;
		margin: 14px auto 0px auto;
	}

	.carousel {
		width: 500px;
		border: 0px solid black;
	}

	.flickity-button {
		transform: scale(.6) !important;
	}

	.flickity-prev-next-button.previous {
		left: -50px !important;
	}

	.flickity-prev-next-button.next {
		right: -50px !important;
	}

	.slide {
		z-index: 2;
		height: 185px;
		width: 210px;
		margin: 6px;
		background: url("");
		box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, .25);
		counter-increment: carousel-cell;
	}
}


@media screen and (max-width: 500px ) {
	#contentWrapper {
		width: 300px;
		height: 335px;
		border-radius: 5px;
	}

	#content {
		width: 300px;
		border-right: 0px solid rgba(68, 68, 68, 0);
	}

	h1 {
		font-size: 22px;
		font-weight: 400;
		margin: 12px 0 0 0;
	}

	h2 {
		font-size: 20px;
		width: 190px;
		height: 140px;
		margin: 20px auto 0px auto;
	}

	.carousel {
		width: 300px;
		border: 0px solid black;
	}

	.slide {
		z-index: 2;
		height: 200px;
		width: 210px;
		margin: 6px;
		background: url("");
		box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, .25);
		counter-increment: carousel-cell;
	}

}