@import url(http://fonts.googleapis.com/css?family=Iceberg&text=0123456789);
.counter-group {
  margin:5px 2px;
  display: inline-block;
}
.counter-group:before,
.counter-group:after {
  content: " ";
  display: table;
}
.counter-group:after {
  clear: both;
}
.counter-block {
  float: left;
  margin-right:5px;
}
.counter-block .counter {
  position: relative;
  width:35px;
  height:20px;
  margin-left:5px;
  text-align:left;
  overflow: hidden;
  font-family: Iceberg, sans-serif;
}
.counter-block .counter .number {
  padding: 1%;
  width:auto;
  height:auto;
  background-color: #222;
  color: #fefefe;
  position: absolute;
  font-size: 16px;
  line-height:16px;
  top: -10000px;
}
.counter-block .counter .number.tens {
  left: 0;
}
.counter-block .counter .number.units {
  left: 20%;
}
.counter-block .counter .number.hundreds {
  display: none;
}
.counter-block .counter .number.show {
  top: 0;
  z-index: 2;
}
.counter-block .counter .number.hidden-down {
  top: 20%;
}
.counter-block .counter .number.hidden-up {
  top: -80%;
  z-index: 100;
}
.counter-block .counter.with-hundreds {
  width:35px;
}
.counter-block .counter.with-hundreds .number {
  width: 22.66%;
}
.counter-block .counter.with-hundreds .number.tens {
  left: 25.33%;
}
.counter-block .counter.with-hundreds .number.units {
  left: 50.66%;
}
.counter-block .counter.with-hundreds .number.hundreds {
  display: block;
  left: 0;
}
.counter-block .counter-caption {
  font-size:90%;
  text-align:center;
  padding:0;
  margin:0;
}
@media (max-width: 992px) {
  .counter-group {
    margin: 20px 5px;
  }
  .counter-block {
    margin-right:4px;
  }
  .counter-block .counter {
    width:35px;
    height:20px;
    overflow: hidden;
    font-weight: 700;
  }
  .counter-block .counter .number {
    font-size:18px;
    line-height:18px;
  }
  .counter-block .counter.with-hundreds {
    width:50px;
  }
  .counter-block .counter-caption {
    font-size: 90%;
  }
}
@media (max-width: 768px) {
  .counter-group {
    margin: 10px auto;
  }
  .counter-block {
    margin-right:2px;
  }
  .counter-block .counter {
    width: 30px;
    height:15px;
  }
  .counter-block .counter .number {
    font-size: 14px;
    line-height: 14px;
  }
  .counter-block .counter.with-hundreds {
    width:30px;
  }
  .counter-block .counter-caption {
    font-size: 75%;
  }
}
@media (max-width: 480px) {
  .counter-block .counter {
	  margin-left:5px;
    width:35px;
    height: 20px;
  }
  .counter-block .counter .number {
    font-size:16px;
    line-height:16px;
  }
  .counter-block .counter.with-hundreds {
    width:41px;
  }
  .counter-block .counter-caption {
    font-size: 80%;
  }
}
