@import "font/font.css";
.time_box,
.countdown_box {
  position: absolute;
  width: 94%;
  height: 100%;
  max-height: 300px;
  max-width: 950px;
  margin: auto;
}
.left_1 {
  left: 7%;
}
.left_2 {
  left: 28%;
}
.right_1 {
  left: 52%;
}
.right_2 {
  left: 73%;
}
.hour_1 {
  left: 0;
}
.hour_2 {
  left: 21%;
}
.minute_1 {
  left: 44%;
}
.minute_2 {
  left: 65%;
}
.second_1 {
  right: 7%;
}
.second_2 {
  right: 0;
}
.layout_no_seconds .hour_1 {
  left: 7%;
}
.layout_no_seconds .hour_2 {
  left: 28%;
}
.layout_no_seconds .minute_1 {
  left: 52%;
}
.layout_no_seconds .minute_2 {
  left: 73%;
}
.font_sahara .digit {
  font-size: 279px;
  text-align: center;
  font-family: 'sahararegular';
  text-indent: 10px;
}
.font_sahara .digit.time_right,
.font_sahara .digit.ampm {
  line-height: 100px;
  font-size: 90px;
  text-indent: 5px;
}
.font_sahara .digit.ampm {
  text-transform: uppercase;
}
.digit {
  font-family: 'franchiseregular';
  font-size: 320px;
  line-height: 310px;
  text-align: center;
}
.digit.time_right {
  line-height: 105px;
  font-size: 90px;
}
.digit.ampm {
  line-height: 105px;
  font-size: 90px;
  text-transform: uppercase;
}
.digit.time {
  top: 0;
  bottom: 0;
  height: 100%;
  width: 19%;
  max-width: 180px;
}
.digit.time_right {
  bottom: 20px;
  width: 6%;
  max-width: 100px;
  height: 100px;
}
.digit.ampm {
  top: 20px;
  right: 0;
  width: 13%;
  max-width: 200px;
  height: 100px;
}
.digit {
  position: absolute;
  display: block;
  width: 150px;
  height: 300px;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  cursor: default;
}
.digit .card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.digit .card .top,
.digit .card .bottom {
  overflow: hidden;
  position: absolute;
  height: 50%;
  width: 100%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.digit .card .inner {
  position: absolute;
  width: 100%;
  height: 100%;
}
.digit .card .top {
  top: 0;
  margin-top: -1px;
  border-bottom: 1px solid black;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background-color: #222;
  background-image: linear-gradient(to bottom, #222222, #333333);
  color: #ffffff;
}
.digit .card .bottom {
  top: 50%;
  border-top: 1px solid black;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #111;
  background-image: linear-gradient(to bottom, #222222, #111111);
  color: #cccccc;
}
.digit .card .bottom .inner {
  top: -100%;
}
.digit .transform {
  -webkit-transition: -webkit-transform 0.75s ease;
  -moz-transition: -moz-transform 0.75s ease;
  -ms-transition: -ms-transform 0.75s ease;
  -o-transition: -o-transform 0.75s ease;
  transition: transform 0.75s ease;
}
.digit .active {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.digit .active.flipped {
  -webkit-transform: rotateX(-180deg);
  -moz-transform: rotateX(-180deg);
  -ms-transform: rotateX(-180deg);
  -o-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}
.digit .active.flipped .back {
  opacity: 1;
}
.digit .active .front,
.digit .active .back {
  margin: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}
.digit .active .front div,
.digit .active .back div {
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}
.digit .active .back {
  -webkit-transform: rotateX(180deg);
  -moz-transform: rotateX(180deg);
  -ms-transform: rotateX(180deg);
  -o-transform: rotateX(180deg);
  transform: rotateX(180deg);
}
.chrome-browser .digit .transform .back {
  -webkit-transition-property: opacity;
  -webkit-transition-duration: 0;
  -webkit-transition-timing-function: linear;
  -webkit-transition-delay: 0.25s;
}
.chrome-browser .digit .active.flipped .back {
  opacity: 1;
}
.chrome-browser .digit .active .back {
  opacity: 0;
}
@media (max-width: 800px), (max-height: 300px) {
  .time_box,
  .countdown_box {
    max-height: 150px;
    max-width: 480px;
  }
  .digit.time {
    max-width: 95px;
    font-size: 150px;
    line-height: 150px;
  }
  .digit.ampm {
    max-width: 60px;
    height: 50px;
    bottom: 70px;
    top: auto;
    line-height: 50px;
    font-size: 40px;
  }
  .digit.time_right {
    max-width: 25px;
    height: 50px;
    bottom: 10px;
    line-height: 50px;
    font-size: 40px;
  }
  .digit .card .top {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
  }
  .digit .card .bottom {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  .font_sahara .digit {
    font-size: 130px;
    text-indent: 5px;
  }
  .font_sahara .digit.time_right,
  .font_sahara .digit.ampm {
    line-height: 50px;
    font-size: 40px;
    text-indent: 2px;
  }
}
@media (max-width: 400px) {
  .time_box,
  .countdown_box {
    max-height: 300px;
    max-width: 300px;
  }
  .digit.time {
    height: 50%;
    width: 28%;
    max-width: 250px;
  }
  .digit.hour_1 {
    top: -2%;
    left: 15%;
  }
  .digit.hour_2 {
    top: -2%;
    left: 46%;
  }
  .digit.minute_1 {
    top: 52%;
    left: 15%;
  }
  .digit.minute_2 {
    top: 52%;
    left: 46%;
  }
  .digit.second_1 {
    right: 15%;
  }
  .digit.second_2 {
    right: 7%;
  }
  .digit.ampm {
    width: 15%;
    max-width: 70px;
    height: 50px;
    right: 7%;
  }
  .digit.time_right {
    width: 7%;
    max-width: 35px;
    height: 50px;
  }
  .digit.left_1 {
    top: -2%;
    left: 21%;
  }
  .digit.left_2 {
    top: -2%;
    left: 52%;
  }
  .digit.right_1 {
    top: 52%;
    left: 21%;
  }
  .digit.right_2 {
    top: 52%;
    left: 52%;
  }
  .layout_no_seconds .digit.time {
    width: 32%;
  }
  .layout_no_seconds .digit.hour_1 {
    left: 15%;
  }
  .layout_no_seconds .digit.hour_2 {
    left: 50%;
  }
  .layout_no_seconds .digit.minute_1 {
    left: 15%;
  }
  .layout_no_seconds .digit.minute_2 {
    left: 50%;
  }
}
.dialog_container {
  display: block;
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  -webkit-transform: translate3D(0, -100%, 0);
  -moz-transform: translateY(-100%);
  -ms-transform: translate3D(0, -100%, 0);
  -o-transform: translate3D(0, -100%, 0);
}
.dialog_container .dialog {
  background-image: linear-gradient(to bottom, #cccccc, #777777);
  box-shadow: 0 0 3px 3px rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 500px;
  height: 250px;
  border: 1px solid #333;
  vertical-align: middle;
  text-align: center;
}
.dialog_container .dialog .dialog_content {
  padding: 10px;
}
.dialog_container .dialog .dialog_titlebar {
  background-image: linear-gradient(#383838, #2a2a2a 50%, #222222 51%, #1b1b1b);
  line-height: 42px;
  color: #ccc;
}
.dialog_container .dialog .dialog_titlebar h2 {
  margin: 0;
}
.dialog_container .dialog .dialog_titlebar .close {
  z-index: 11;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 50px;
  height: 24px;
  line-height: 24px;
}
.dialog_container .dialog .action_bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 0 8px;
}
.dialog_container .about .dialog_content div {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
}
.dialog_container .about .dialog_content .name {
  top: 42px;
  font-size: 1.8em;
}
.dialog_container .about .dialog_content .version {
  top: 70px;
  font-size: 1.2em;
}
.dialog_container .about .dialog_content .icon {
  top: 84px;
  bottom: 24px;
  background: url("/apple-touch-icon-precomposed.png") center no-repeat;
  margin: auto;
  max-width: 114px;
  background-size: contain;
}
.dialog_container .about .dialog_content .copyright {
  bottom: 6px;
  font-size: 0.8em;
}
.dialog_container .about .dialog_content .copyright a {
  color: black;
}
.dialog_container .options .toggle {
  padding-left: 40px;
  padding-right: 40px;
}
.active_dialog {
  display: block;
  opacity: 1;
  -webkit-transform: translate3D(0, 0, 0);
  -moz-transform: translateY(0);
  -ms-transform: translate3D(0, 0, 0);
  -o-transform: translate3D(0, 0, 0);
}
@media (max-width: 650px) {
  .dialog_container .dialog {
    margin-left: 0;
    margin-right: 0;
    width: inherit;
    left: 10%;
    right: 10%;
  }
}
@media (max-height: 370px) {
  .dialog_container .dialog {
    margin-top: 0;
    margin-bottom: 0;
    height: inherit;
    top: 13%;
    bottom: 13%;
  }
}
@media screen and (max-width: 600px) {
  .dialog_container .about .icon {
    background-size: contain;
  }
}
#countdown_hour:after {
  content: ' hr';
}
#countdown_min:after {
  content: ' min';
}
#countdown_sec:after {
  content: ' sec';
}
@media (max-width: 470px) {
  #countdown_hour:after {
    content: ' h';
  }
  #countdown_min:after {
    content: ' m';
  }
  #countdown_sec:after {
    content: ' s';
  }
}
.selector {
  display: inline-block;
  width: 100px;
  margin: 0 1px 0 0;
  -moz-transition: width 0.1s linear;
  -o-transition: width 0.1s linear;
  -ms-transition: width 0.1s linear;
  -webkit-transition: width 0.1s linear;
  transition: width 0.1s linear;
}
.selector .title {
  display: block;
  margin: 0;
  padding: 3px;
  color: black;
}
.selector .controls {
  margin: 0;
  padding: 0;
  display: block;
  font-size: 0;
  line-height: 0;
  background: black;
  color: white;
}
.selector .controls .icon_up,
.selector .controls .icon_down,
.selector .controls .inner {
  height: 40px;
}
.selector .controls .icon_up .inner {
  background: url("/images/icons/00-up.png") no-repeat center;
}
.selector .controls .value {
  padding: 5px 0;
  margin-top: 1px;
  display: block;
  line-height: 20px;
  font-size: 20px;
  background: #333;
  border: 1px solid black;
}
.selector .controls .button {
  margin: 0;
  width: 100%;
  border: 0;
  padding: 0;
}
.selector .controls .button .inner {
  display: block;
  width: 25px;
  margin: auto;
}
.selector .controls .icon_down .inner {
  background: url("/images/icons/00-down.png") no-repeat center;
}
.selectors .selector:first-child .controls,
.selectors .selector:first-child .icon_up {
  border-top-left-radius: 5px;
}
.selectors .selector:first-child .controls,
.selectors .selector:first-child .icon_down {
  border-bottom-left-radius: 5px;
}
.selectors .selector:last-child {
  margin-right: 0;
}
.selectors .selector:last-child .controls,
.selectors .selector:last-child .icon_up {
  border-top-right-radius: 5px;
}
.selectors .selector:last-child .controls,
.selectors .selector:last-child .icon_down {
  border-bottom-right-radius: 5px;
}
@media (max-height: 300px) {
  .selector .controls {
    border-radius: 3px;
  }
  .selector .controls .icon_up,
  .selector .controls .icon_down,
  .selector .controls .inner {
    height: 30px;
  }
  .selector .controls .icon_up {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
  }
  .selector .controls .value {
    padding: 3px 0;
    line-height: 15px;
    font-size: 15px;
  }
  .selector .controls .button {
    height: 30px;
  }
  .selector .controls .icon_down {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
  }
}
@media (max-width: 470px) {
  .selector {
    width: 60px;
  }
}
.button {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  color: #ccc;
  font-weight: bold;
  font-size: 11pt;
  font-family: Helvetica, Arial, sans-serif;
  text-shadow: 0 1px 1px #333;
  line-height: 37px;
  height: 37px;
  margin: 5px 0 0 3px;
  padding: 0 12px;
  outline: 0;
  border: 1px solid #333;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  border-radius: 5px;
  box-shadow: inset 0 0 1px 2px rgba(0, 0, 0, 0.3);
  background-image: linear-gradient(to bottom, rgba(60, 60, 60, 0.7), rgba(0, 0, 0, 0.7));
  background-color: #222222;
}
.button.down {
  background-image: linear-gradient(to bottom, rgba(34, 34, 34, 0.7), rgba(60, 60, 60, 0.7));
  -webkit-transform: translate3D(0, 1px, 0);
  -moz-transform: translateY(1px);
  -ms-transform: translate3D(0, 1px, 0);
  -o-transform: translate3D(0, 1px, 0);
}
.button.active {
  background-image: linear-gradient(to bottom, rgba(65, 65, 65, 0.7), rgba(34, 34, 34, 0.7));
}
.button.confirm {
  background-image: linear-gradient(to bottom, rgba(108, 108, 108, 0.7), rgba(76, 76, 76, 0.7));
}
.button.confirm.active {
  background-image: linear-gradient(to bottom, rgba(140, 140, 140, 0.7), rgba(108, 108, 108, 0.7));
}
.button.confirm.down {
  background-image: linear-gradient(to bottom, rgba(76, 76, 76, 0.7), rgba(108, 108, 108, 0.7));
}
.button_right {
  float: right;
  margin-right: 4px;
  margin-left: 0;
}
@media (max-width: 480px) {
  .bar .button,
  .bar .button.countdown {
    width: 40px;
  }
  .bar .button .label,
  .bar .button.countdown .label {
    display: none;
  }
}
/*
Some, as of yet, unused custom colors for buttons
.button.cancel {
    .background-gradient(#A10028, #4A0012);
}
.button.cancel.active {
    .background-gradient(#B5002D, #690019);
}
.button.cancel.down {
    .background-gradient(#4A0012, #A10028);
}

.button.confirm {
    .background-gradient(#008000, #003801);
}
.button.confirm.active {
    .background-gradient(#00A100, #006900);
}
.button.confirm.down {
    .background-gradient(#003801, #008000);
}
*/
.icon .button_inner {
  display: block;
  margin: 0 10px 0 0;
  height: 100%;
  width: 20px;
  float: left;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .7;
}
.icon_star .button_inner {
  background-image: url("/images/icons/28-star@2x.png");
}
.icon_countdown .button_inner {
  background-image: url("/images/icons/78-stopwatch@2x.png");
  width: 18px;
}
.icon_clock .button_inner {
  background-image: url("/images/icons/11-clock@2x.png");
}
.icon_options .button_inner {
  background-image: url("/images/icons/19-gear@2x.png");
}
.icon_fullscreen .button_inner {
  background-image: url("/images/icons/107-widescreen@2x.png");
}
.toggle {
  padding: 8px 5px;
  clear: both;
}
.toggle:after {
  content: ' ';
  clear: both;
  line-height: 0;
  height: 0;
}
.toggle .label {
  text-align: left;
  padding: 7px 0 0;
  font-size: 11pt;
}
.toggle .options {
  float: right;
}
.toggle .options button {
  float: right;
  padding: 5px 7px;
  margin: 0;
  color: black;
  text-decoration: none;
  font-size: 11pt;
  background-image: linear-gradient(to bottom, #999999, #bbbbbb);
  border: 1px solid black;
  border-right: 1px solid #111;
  border-left: 1px solid #333;
}
.toggle .options button.active {
  background-image: linear-gradient(to bottom, #777777, #111111);
  color: #eee;
}
.toggle .options button:last-child {
  border-left: 1px solid black;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.toggle .options button:first-child {
  border-right: 1px solid black;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
  width: 100%;
  overflow: hidden;
}
* {
  -webkit-touch-callout: none;
}
body {
  display: block;
  overflow: hidden;
  min-height: 100%;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000000;
  font: 10pt sans-serif;
}
#wrapper,
#container {
  color: white;
  position: absolute;
  overflow: hidden;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}
#container.blink {
  background: #ffffff;
}
#container.passive_blink {
  background: #666666;
}
.bar_container,
.bar,
#container {
  -webkit-transition-property: background -webkit-transform;
  -webkit-transition-duration: 0.15s;
  -webkit-transition-timing-function: linear;
  -moz-transition-property: background -moz-transform;
  -moz-transition-duration: 0.15s;
  -moz-transition-timing-function: linear;
  -ms-transition-property: background, -ms-transform;
  -ms-transition-duration: 0.15s;
  -ms-transition-timing-function: linear;
  -o-transition-property: background, -o-transform;
  -o-transition-duration: 0.15s;
  -o-transition-timing-function: linear;
}
.bar_container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background-image: linear-gradient(to bottom, #000000, rgba(0, 0, 0, 0));
  background-color: #000;
}
.toolbar_active .bar_container {
  background-color: #222;
}
.toolbar_active #container {
  -webkit-transform: translate3D(0, -25px, 0);
  -moz-transform: translateY(-25px);
  -ms-transform: translate3D(0, -25px, 0);
  -o-transform: translate3D(0, -25px, 0);
}
.toolbar_active .bar {
  -webkit-transform: translate3D(0, -50px, 0);
  -moz-transform: translateY(-50px);
  -ms-transform: translate3D(0, -50px, 0);
  -o-transform: translate3D(0, -50px, 0);
}
.bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -50px;
  height: 50px;
  background-image: linear-gradient(#383838, #2a2a2a 50%, #222222 51%, #1b1b1b);
}
.bar .fullscreen {
  display: none;
}
.bar .fullscreen-capable .fullscreen {
  display: block;
}
