/** icon font (created with https://fontello.com) */
@font-face {
  font-family: 'fa-icon';
  src: url('assets/fonts/fa-icon.woff2?21255212') format('woff2');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
  display: inline-block;
  width: 1.5em;
  margin: 0 auto;
  padding: 10px 0;
  font-family: "fa-icon";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-decoration: inherit;
  line-height: 1em;
  /* font smoothing taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-arrows-cw:before { content: '\e800'; } /* '' */
.icon-pause:before { content: '\e801'; } /* '' */
.icon-cog:before { content: '\e802'; } /* '' */
/** main font */
@font-face {
  font-family: 'DroidSansMono';
  src: url('assets/fonts/DroidSansMono.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
/** page css */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}
body {
  background-color: #d9eaf1;
  text-align: center;
  margin: 0;
  padding: 0;
  font-family: 'DroidSansMono';
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  font-display: swap;
}
body, html, #container { height: 100% }
#container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column
}
#top-area, #bottom-area {
  width: 100%;
  height: 45%;
}
#center-area {
  background-color: #000;
  width: 100%;
  height: 10%;
  color: #e8e8e8;
  display: flex;
  justify-content: space-between;
}
.paused-area {
  background-color: #d9eaf1;
  color: #6c7578;
}
.active-area {
  background-color: #0381b8;
  color: #fff;
}
.inactive-area {
  background-color: #8b8987;
  color: #2a2929;
}
#top-area {
  transform: scale(-1, -1);
}
.clock, .delay {
  font-family: 'DroidSansMono';
}
.clock {
  font-size: 7rem;
  line-height: 0.75;
}
.delay {
  font-size: 5rem;
  font-weight: 600;
  display: table-cell;
}
#top-area .delay {
  position: relative;
  left: calc(100vw - 8rem);
  padding-top: 3rem;
}
#bottom-area .delay {
  position: relative;
  left: calc(100vw - 8rem);
  padding-top: 3rem;
}
.btn {
  font-size: 2.5rem;
  cursor: pointer;
  align-self: center;
  background-color: rgba(255,255,255,0.3);
}
.btn-left {  margin-left: 16px; }
.btn-right { margin-right: 16px; }
.hidden { visibility: hidden; }
::backdrop {
  background-color: #000;
  opacity: 0.4;
}
dialog {
  font-family: sans-serif;
  font-size: 12pt;
  text-align: left;
}
.dialog-footer {
  margin-top: 1rem;
  text-align: center;
}
dialog header { 
  font-weight: bold;
  font-size: 14pt;
  text-align: left;
  margin-bottom: 1rem;
}
dialog button {
  font-size: 12pt;
  padding: .5rem 1rem;
  margin: 0 1rem;
}
dialog input[type="range"] {
  width: 100%;
  margin: 1rem 0;
}
dialog input[type="number"] {  max-width: 3rem; }
.flex-spaced {
  display: flex;
  justify-content: space-between;
}
