<style>
.osc-counter {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	position: relative;
	height: 20px;
	padding: 0 8px;

	font: 400 14px/18px Helvetica, sans-serif;
	content: attr(data-count);
	text-decoration: none;
	text-align: center;

	color: #8a8a8a;
	background-color: #fff;
	border-radius: 4px;
	border: 1px solid #d0d0d0;
	box-shadow: 0 0 3px 1px #dadada;
}
.osc-counter[data-size="large"] {
	height: 28px;
	line-height: 26px;
}
.osc-counter:hover, .osc-counter:focus {
	text-decoration: none;
}
.osc-counter[data-dir]:after,
.osc-counter[data-dir]:before {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	content: "";
	position: absolute;
	margin: auto;
	height: 0;
	width: 0;
	pointer-events: none;
	border: 5px solid transparent;
}
.osc-counter[data-dir="top"]:after,
.osc-counter[data-dir="top"]:before,
.osc-counter[data-dir="bottom"]:after,
.osc-counter[data-dir="bottom"]:before {
	left: 0;
	right: 0;
}
.osc-counter[data-dir="left"]:after,
.osc-counter[data-dir="left"]:before,
.osc-counter[data-dir="right"]:after,
.osc-counter[data-dir="right"]:before {
	top: 0;
	bottom: 0;
}
.osc-counter[data-dir="top"]:after {
	top: -9px;
	border-bottom-color: #fff;
}
.osc-counter[data-dir="top"]:before {
	top: -10px;
	border-bottom-color: #d0d0d0;
}
.osc-counter[data-dir="bottom"]:after {
	bottom: -9px;
	border-top-color: #fff;
}
.osc-counter[data-dir="bottom"]:before {
	bottom: -10px;
	border-top-color: #d0d0d0;
}
.osc-counter[data-dir="left"]:after {
	left: -9px;
	border-right-color: #fff;
}
.osc-counter[data-dir="left"]:before {
	left: -10px;
	border-right-color: #d0d0d0;
}
.osc-counter[data-dir="right"]:after {
	right: -9px;
	border-left-color: #fff;
}
.osc-counter[data-dir="right"]:before {
	right: -10px;
	border-left-color: #d0d0d0;
}
</style>
