@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700&text=0123456789);

.counter-group {
	margin: 30px auto;
	display: inline-block;
}

	.counter-group:before,
	.counter-group:after {
		content: " ";
		display: table;
	}

	.counter-group:after {
		clear: both;
	}

.counter-block {
	float: left;
	margin-right: 20px;
}

	.counter-block:last-child {
		margin-right: 0;
	}

	.counter-block .counter {
		position: relative;
		width: 200px;
		height: 166px;
		overflow: hidden;
		font-weight: 100;
		/*font-family: 'Open Sans Condensed', 'Arial Narrow', 'Nimbus Sans L', sans-serif;*/
	}

		.counter-block .counter .number {
			padding: 1%;
			width: 46%;
			height: 98%;
			/*ackground-color: rgba(255,255,255,0.5);;*/ b color: #444;
			position: absolute;
			font-size: 180px;
			line-height: 150px;
			top: -10000px;
		}

			.counter-block .counter .number.tens {
				left: 0;
			}

			.counter-block .counter .number.units {
				left: 50%;
			}

			.counter-block .counter .number.hundreds {
				display: none;
			}

			.counter-block .counter .number.show {
				top: 0;
				z-index: 2;
			}

			.counter-block .counter .number.hidden-down {
				top: 100%;
			}

			.counter-block .counter .number.hidden-up {
				top: -100%;
				z-index: 100;
			}

		.counter-block .counter.with-hundreds {
			width: 300px;
		}

			.counter-block .counter.with-hundreds .number {
				width: 30.66%;
			}

				.counter-block .counter.with-hundreds .number.tens {
					left: 33.33%;
				}

				.counter-block .counter.with-hundreds .number.units {
					left: 66.66%;
				}

				.counter-block .counter.with-hundreds .number.hundreds {
					display: block;
					left: 0;
				}

	.counter-block .counter-caption, .counter-caption {
		font-size: 150%;
		text-align: center;
	}

@media (max-width: 1920px) {
	.counter-group {
		margin: 0px auto;
	}

	.counter-block {
		margin-right: 40px;
	}

		.counter-block .counter {
			width: 110px;
			height: 100px;
			overflow: hidden;
			font-weight: 300;
		}

			.counter-block .counter .number {
				font-size: 108px;
				line-height: 90px;
			}

			.counter-block .counter.with-hundreds {
				width: 180px;
			}

		.counter-block .counter-caption, .counter-caption {
			font-size: 1.3rem;
			font-weight: 500;
		}
}

@media (max-width: 997px) {
	.counter-group {
		margin: 0 auto;
	}

	.counter-block {
		margin-right: 25px;
	}

		.counter-block .counter {
			width: 96px;
			height: 80px;
			font-weight: 300;
		}

			.counter-block .counter .number {
				font-size: 86px;
				line-height: 72px;
				font-weight: 400;
			}

			.counter-block .counter.with-hundreds {
				width: 144px;
			}
}

@media (max-width: 760px) {
	.counter-block .counter {
		width: 40px;
		height: 40px;
	}

	.counter-block {
		margin-right: 22px;
	}

		.counter-block .counter .number {
			font-size: 40px;
			line-height: 40px;
		}

		.counter-block .counter.with-hundreds {
			width: 60px;
		}

		.counter-block .counter-caption, .counter-caption {
			font-size: 0.95rem;
		}
}
