
#clock {
	position: relative;
    left: 50%;
    opacity: 1;
    transform: translate(-50%) scale(0.6);
    width: 150%;
    padding: 10px;
    border-radius: 10px;
    background: #00ffff;
    /* display: none; */
    min-height: 308px;
    opacity: 0;
    margin-top: 2em;
}

#clock #timerCount {
    content: "";
    background-image: url(../content/media/other/alarm.png);
    background-size: contain;
    display: block;
    position: absolute;
    width: 100px;
    height: 50px;
    bottom: 10px;
    left: 10px;
    opacity: 0.7;
    transition: opacity 0.5s;
    z-index: 22;
    /* border: 1px solid black; */
    border-radius: 4px;
    text-align: right;
    background-repeat: no-repeat;
    font-size: 2.8em;
    line-height: 1.2em;
	font-family: "DS-Digital";
}

#clock.flashing #timerCount {
	opacity:0;
}

#clock.lit {
  background: #00ffff;
}

#clock > * {
	transition: opacity 0.5s;
}
	
#clock.flashing > * {
	opacity:0;
}

.separator {
  width: 0;
  height: 0;
  float: left;
  border: 10px solid transparent;
  border-bottom-color: #21221e;
  position: relative;
}
.separator.upper {
  left: 12px;
  top: 50px;
}
.separator.lower {
  left: -8px;
  top: 200px;
}
.separator:after {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #21221e;
}
.separator.lit {
  border-bottom-color: #003434;
}
.separator.lit:after {
  border-top-color: #003434;
}

.horiz-off {
  background: #b9bbab;
  width: 100px;
  height: 20px;
  position: relative;
  margin-left: 20px;
}
.horiz-off:before {
  content: "";
  position: absolute;
  top: 0px;
  left: -10px;
  width: 0;
  border-right: 10px solid #b9bbab;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.horiz-off:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 100px;
  width: 0;
  border-left: 10px solid #b9bbab;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.horiz-off.lit {
  background: #00f6f6;
}
.horiz-off.lit:before {
  border-right-color: #00f6f6;
}
.horiz-off.lit:after {
  border-left-color: #00f6f6;
}

.horiz-on {
  background: #21221e;
  width: 100px;
  height: 20px;
  position: relative;
  margin-left: 20px;
}
.horiz-on:before {
  content: "";
  position: absolute;
  top: 0px;
  left: -10px;
  width: 0;
  border-right: 10px solid #21221e;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.horiz-on:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 100px;
  width: 0;
  border-left: 10px solid #21221e;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.horiz-on.lit {
  background: #003434;
}
.horiz-on.lit:before {
  border-right-color: #003434;
}
.horiz-on.lit:after {
  border-left-color: #003434;
}

.vert-off {
  background: #b9bbab;
  width: 20px;
  height: 100px;
  position: relative;
  margin-top: 2px;
  margin-bottom: 2px;
}
.vert-off:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0px;
  width: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #b9bbab;
}
.vert-off:after {
  content: "";
  position: absolute;
  top: 100px;
  left: 0px;
  width: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #b9bbab;
}
.vert-off.lit {
  background: #00f6f6;
}
.vert-off.lit:before {
  border-bottom-color: #00f6f6;
}
.vert-off.lit:after {
  border-top-color: #00f6f6;
}

.vert-on {
  background: #21221e;
  width: 20px;
  height: 100px;
  position: relative;
  margin-top: 2px;
  margin-bottom: 2px;
}
.vert-on:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0px;
  width: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #21221e;
}
.vert-on:after {
  content: "";
  position: absolute;
  top: 100px;
  left: 0px;
  width: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #21221e;
}
.vert-on.lit {
  background: #003434;
}
.vert-on.lit:before {
  border-bottom-color: #003434;
}
.vert-on.lit:after {
  border-top-color: #003434;
}

.vbar-1, .vbar-3 {
  margin-left: 0px;
  float: left;
}

.vbar-2, .vbar-4 {
  margin-left: 120px;
}

div[id^='block-hour-'],
div[id^='block-minute-'],
div[id^='block-second-'] {
  float: left;
  margin-left: 10px;
  width:14%
}

#toggle-backlight-container {
  width: 100px;
  height: 35px;
  border: 4px solid white;
  border-radius: 25px;
  padding: 4px;
}

#toggle-backlight {
  width: 35px;
  height: 35px;
  background: #aaa;
  border-radius: 18px;
}
