@charset "utf-8";
/* CSS Document */

@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:300|Oswald);

h1.ticker {
	position:relative;
	font-family:'Roboto Condensed', cursive;
	text-align:center;
	line-height:100px;
	font-size:28px;
	font-weight:normal;
	color:#939393;
	padding:25px;
}
h1.ticker .counter {
  font-size:50px;
  width:165px;
  height:50px;
  font-family:'Oswald', sans-serif;
  display:inline-block;
  padding:0 30px 0 10px;
  perspective: 200px;
  position:relative;
  top:-7px;
}
h1.ticker .counter > span {
  display:block;
  position:absolute;
  overflow:hidden;
  padding:0 15px;
  background:-webkit-gradient(linear, 0 0, 0 100%, from(#FFF), to(#f2f2f2));
  background:-webkit-linear-gradient(#FFF 0%, #f2f2f2 100%);
  background:-moz-linear-gradient(#FFF 0%, #f2f2f2 100%);
  background:-o-linear-gradient(#FFF 0%, #f2f2f2 100%);
  background:linear-gradient(#FFF 0%, #f2f2f2 100%);
  height:45px;
  width:140px;
  text-align:center;
  backface-visibility:hidden;
  transform-style: preserve-3d; 
}
h1.ticker .counter > span span {
  color:#99df1c;
}
h1.ticker .counter > span.decor.top {
  box-shadow: 0 24px 43px -3px rgba(0, 0, 0, 0.45);
}
h1.ticker .counter > span.decor.bottom {
  box-shadow: 0 2px 0px -1px #d8d8d8, 0 4px 0px -2px #c7c7c7, 0 6px 0px -3px #d8d8d8, 0 8px 0px -4px #c6c6c6, 0 10px 0px -5px #d6d6d6, 0 12px 0px -6px #c9c9c9, 0 14px 0px -7px #d8d8d8, 0 14px 23px -9px rgba(0, 0, 0, 0.8);
}
h1.ticker .counter > span.top {
  box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.2);
  border-radius:3px 3px 0 0;
}
h1.ticker .counter > span.top span {
  position:relative;
  bottom:5px;
}
h1.ticker .counter > span.bottom {
  top:46px;
  box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.2);
  border-radius:0 0 3px 3px;
}
h1.ticker .counter > span.bottom span {
  position:relative;
  top:-51px;
}
h1.ticker .counter > span.from.bottom {
  z-index:1;
  transform-origin: 0% 0%;
  animation: from-flip 2s;
	backface-visibility: hidden;
}
h1.ticker .counter > span.to.top {
  z-index:1;
  transform-origin: 100% 100%;
  animation: to-flip 2s;
	backface-visibility: hidden;
}
@keyframes from-flip {
  0% {
    transform: rotateX(180deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}
@keyframes to-flip {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(-180deg);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.counter .shadow {
	display:block;
	width:140px;
	height:45px;
	left:-15px; 
	top:-100px !important;
	overflow:hidden;
	z-index:0;
	opacity:0;
}
.counter .top .shadow {
  background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}
.counter .bottom .shadow {
  background: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}
.counter .from.top .shadow { 
	animation: fade-out 2s; 
}
.counter .to.bottom .shadow { 
	animation: fade-in 2s; 
}
.hide .shadow { 
	animation:none !important;
	display: none;
}
.counter #finish{
	display: none;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {  
  h1.ticker .counter > span span {
    color:rgba(0, 0, 0, 0);
    background: linear-gradient(#99df1c 0%, #6dbe0a 100%);
    -webkit-background-clip: text;
    -webkit-text-stroke:0.03em #85c614;
  }
}