.clock {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 10px auto 0 auto;
  padding:50px;
}

.clock-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  padding: 0 0 0 5px;
}

.hand {
  position: absolute;
  width: 2px;
  height: 40%;
  background: white;
  top: 10%;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(0deg);
  transition: transform 0.5s ease-in-out;
}

.tickAnchor {
	position: absolute;
	font-size: 1.1rem;
	color: #0073c2;
	cursor:pointer;
	text-align:center;
	font-weight:none;
}

.tick {
	position: absolute;
	/*font-family: 'Literata', serif;*/
	color: #fff;
	font-weight: none;
	font-size: 22px;
	line-height: 26px;
	text-align:center;
	cursor:pointer;
}

.lbl12 { top: 20px; left: 50%; transform: translateX(-50%); }
.lbl3  { top: 50%; right: -5px; transform: translateY(-50%);  }
.lbl6  { bottom: 20px; left: 50%; transform: translateX(-50%); }
.lbl9  { top: 50%; left: 5px; transform: translateY(-50%); }

.m12 { top: 60px; left: 50%; transform: translateX(-50%); }
.m3  { top: 50%; right: 60px; transform: translateY(-50%); }
.m6  { bottom: 60px; left: 50%; transform: translateX(-50%); }
.m9  { top: 50%; left: 70px; transform: translateY(-50%); }


.sublabel-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 0.8rem;
  line-height: 24px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  max-width: 220px;
  text-align: center;
  z-index: 100;
}



/* Tablets and large phones */
@media (max-width: 767px) {
  .clock {
    width: 400px;
    height: 400px;
  }
  .lbl3 { right: 10px; }
  .lbl9 { left: 10px; }
}

@media (max-width: 480px) {
	.clock {
		width: 300px; /* even smaller for narrow phones */
		height: 300px; /* even smaller for narrow phones */
	}

	.lbl3  { right: 0px; }
	.lbl9  { left: 10px; }
}
