/*----------------------------------------------------------------------*

	REPEATERRRR
	http://repeaterrrr.com/
	https://github.com/thomhines/repeaterrrr

	The clean and easy repeating timer.

	Copyright 2014, Thom Hines
	MIT License

*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*

	STANDARD ELEMENTS

*----------------------------------------------------------------------*/
*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  text-align: center;
  transition: all 1s ease-in-out;
}

h3, h4, h5 {
  font-weight: 300;
  margin: 0;
}

h1 {
  float: right;
  margin: 0 0 0 0.5em;
  font-size: 1.7em;
}

h2 {
  display: table-cell;
  width: 500px;
  height: 60px;
  margin: auto;
  font-size: 14px;
  line-height: 60px;
  text-align: center;
  vertical-align: bottom;
}

h3 {
  font-size: 1.9em;
}

h4 {
  font-size: 1.5em;
}

h5 {
  margin: 1em 0 0;
  font-size: 1.1em;
}

h6 {
  text-transform: uppercase;
}

p {
  margin: 0 auto 3em;
}

a {
  color: #666;
}
a:hover {
  color: #222;
}

input, select, button {
  font-family: "Open Sans", sans-serif;
}

footer {
  position: fixed;
  width: 100%;
  padding: 15px 35px;
  bottom: 0;
  right: 0;
  text-align: right;
}
footer i {
  opacity: 0.6;
  transition: opacity 0.1s ease-in-out;
}
footer span, footer button, footer .timer_action, footer a:not(.title) {
  display: inline-block;
  margin-right: 0.3em;
  font-size: 1.1em;
  color: #222;
  cursor: pointer;
  text-decoration: none;
}
footer span:hover i, footer span:focus i, footer button:hover i, footer button:focus i, footer .timer_action:hover i, footer .timer_action:focus i, footer a:not(.title):hover i, footer a:not(.title):focus i {
  opacity: 1;
}
footer span[href*=edit], footer span[href*=thomhines], footer button[href*=edit], footer button[href*=thomhines], footer .timer_action[href*=edit], footer .timer_action[href*=thomhines], footer a:not(.title)[href*=edit], footer a:not(.title)[href*=thomhines] {
  margin-top: 0.35em;
}
footer .copyright {
  font-size: 12px;
  font-weight: 600;
}
body:not(.home) footer {
  position: static;
  width: auto;
  padding: 0;
  bottom: auto;
  top: auto;
  right: auto;
  text-align: left;
}

body:not(.home) footer a.title,
body.editor > a.title {
  display: block;
  opacity: 0.6;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.1s ease-in-out;
}
body:not(.home) footer a.title:hover,
body.editor > a.title:hover, body:not(.home) footer a.title:focus,
body.editor > a.title:focus {
  opacity: 1;
}
body:not(.home) footer a.title h1,
body.editor > a.title h1 {
  float: none;
  margin: 0;
  line-height: 0;
}
body:not(.home) footer a.title img,
body.editor > a.title img {
  display: block;
  width: 100%;
}

body:not(.home) footer a.title,
body.editor > a.title {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 50px;
  z-index: 10;
  float: none;
  margin: 0;
}

body:not(.home) footer .timer_footer_actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 15px 35px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: calc(0.35em + 10px) calc(0.65em + 10px);
  text-align: center;
}
body:not(.home) footer .timer_footer_actions .timer_action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-size: 1.32em;
  color: #222;
  opacity: 0.6;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  font-family: inherit;
  background: transparent;
  border: none;
  transition: opacity 0.1s ease-in-out;
}
body:not(.home) footer .timer_footer_actions .timer_action:hover, body:not(.home) footer .timer_footer_actions .timer_action:focus {
  opacity: 1;
}
body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new {
  margin-right: auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.85em 1.6em;
  border-radius: 6px;
  background: #1a3d4f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.15;
  opacity: 1;
  text-decoration: none;
  border: none;
  transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out, opacity 0.1s ease-in-out;
}
body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new i {
  font-size: 1.1em;
  line-height: 1;
  color: inherit;
}
body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new .timer_action_label {
  font-size: 1em;
  font-weight: 600;
  max-width: none;
  text-transform: none;
  letter-spacing: 0.01em;
  color: inherit;
}
body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new:hover, body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new:focus {
  opacity: 1;
  background: #6ec6e6;
  color: #222;
}
body:not(.home) footer .timer_footer_actions a.timer_action {
  color: #222;
}
body:not(.home) footer .timer_footer_actions a.timer_action.timer_action_new {
  color: #fff;
}
body:not(.home) footer .timer_footer_actions a.timer_action.timer_action_new:hover, body:not(.home) footer .timer_footer_actions a.timer_action.timer_action_new:focus {
  color: #222;
}
body:not(.home) footer .timer_footer_actions button.timer_action {
  font-family: inherit;
}
body:not(.home) footer .timer_footer_actions .timer_action_label {
  display: block;
  max-width: 5.5em;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
body:not(.home) footer .timer_footer_actions .timer_action_mute {
  cursor: pointer;
  user-select: none;
}
body:not(.home) footer .timer_footer_actions a.timer_action[href*=edit]:not(.timer_action_new),
body:not(.home) footer .timer_footer_actions a.timer_action[href*=thomhines] {
  margin-top: 0;
}

body.share_popup_open {
  overflow: hidden;
}

.share_popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.share_popup.is_open {
  display: flex;
}

.share_popup_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.share_popup_panel {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  width: 100%;
  padding: 1.25rem 2.25rem 1.25rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #222;
}

.share_popup_close {
  position: absolute;
  top: 0.4rem;
  right: 0.35rem;
  padding: 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  color: #222;
  opacity: 0.55;
}
.share_popup_close:hover, .share_popup_close:focus {
  opacity: 1;
}
.share_popup_close i {
  font-size: 1.2em;
}

.share_popup_panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.share_popup_note {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(50, 50, 50, 0.9);
}

.share_popup_label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.share_popup_url_wrap {
  position: relative;
  margin: 0 0 1rem;
}

.share_popup_url_wrap .share_popup_url {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.45em 3.75rem 0.45em 9px;
  box-sizing: border-box;
  font-size: 0.75rem;
}

.share_popup_url_wrap .share_popup_copy {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  padding: 0.4em 0.7em;
  margin: 0;
  border: none;
  border-radius: 3px;
  background: #1a3d4f;
  color: #fff;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
}
.share_popup_url_wrap .share_popup_copy:hover, .share_popup_url_wrap .share_popup_copy:focus {
  background: #6ec6e6;
  color: #1a3d4f;
}

/*----------------------------------------------------------------------*

	TIMER PAGE

*----------------------------------------------------------------------*/
.container {
  /* center container vertically and horizontally in page */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 500px;
  padding: 60px 30px;
  color: #222;
  transition: all 1s ease-in-out;
}

.home {
  background: #6ec6e6;
  color: #1a3d4f;
}
.home .container {
  width: 100%;
  max-width: 500px;
  padding: 48px 24px 72px;
  color: #1a3d4f;
}
.home .button {
  color: #1a3d4f;
}
.home .special.button {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 56px;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  background: #1a3d4f;
  color: #6ec6e6;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.home .special.button:hover, .home .special.button:focus, .home .special.button:active {
  background: #fff;
  color: #1a3d4f;
}
.home footer {
  text-align: left;
}

.intro {
  float: none;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #1a3d4f;
}
.intro .logo {
  margin-bottom: 56px;
}
.intro .logo img {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto;
}
.intro .hero {
  max-width: 420px;
  margin: 0 auto 48px;
}
.intro h2 {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 1rem;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.5px;
}
.intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.8;
}
.intro .examples_label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}
.intro .examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
}
.intro .button.small {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(26, 61, 79, 0.18);
  border-radius: 100px;
  background: rgba(26, 61, 79, 0.12);
  color: #222;
  font-size: 13px;
  font-weight: 500;
}
.intro .button.small:hover,
.intro .button.small:focus,
.intro .button.small:active {
  background: rgba(26, 61, 79, 0.22);
  color: #1a3d4f;
}

.timer, .complete {
  display: none;
}

.ready .button, .timer .button, .complete .button {
  background: #222;
  color: #fff;
}
.ready .button:hover, .ready .button:focus, .ready .button:active, .timer .button:hover, .timer .button:focus, .timer .button:active, .complete .button:hover, .complete .button:focus, .complete .button:active {
  background: rgba(50, 50, 50, 0.2);
  color: #222;
}

.progress_bar {
  display: block;
  width: 300px;
  height: 40px;
  margin: 1em auto 0;
  padding: 6px;
  background: #222;
  border-radius: 3px;
  text-align: left;
}
.progress_bar span {
  display: block;
  height: 28px;
  border-radius: 2px;
  overflow: hidden;
  transition: background-color 0.1s ease-in-out;
}

.total_progress {
  margin: 6px auto;
  padding: 0;
  height: 8px;
  background: rgba(50, 50, 50, 0.2);
}
.total_progress span {
  height: 8px;
  background: #222;
  border-radius: 3px;
}

.seconds {
  font-weight: 700;
}

/*----------------------------------------------------------------------*

	EDIT PAGE

*----------------------------------------------------------------------*/
html:has(.editor) {
  background: #eee;
}

.editor {
  height: auto;
  width: 80%;
  max-width: 900px;
  margin: auto;
  padding: 60px 20px 40px;
  text-align: left;
  background: #eee;
}
.editor h4 {
  margin: 1em 0 0.6em;
  clear: both;
  font-size: 1.2em;
  border-bottom: 1px solid #222;
}
.editor h5 {
  margin: 0 0 0.2em;
  font-size: 1em;
}
.editor p {
  margin: 0.2em 0;
  font-size: 0.6em;
}
.editor .edit_not_found_notice {
  margin: 0 0 1.25rem;
  padding: 0.75em 1em;
  font-size: 0.7em;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 600;
  background: #fdcdcd;
  border-radius: 4px;
}

.back_button {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-size: 0.8em;
  text-decoration: none;
  background: rgba(50, 50, 50, 0.2);
  color: #222;
  border-radius: 4px;
  padding: 0.1em 0.5em;
}
.back_button i {
  font-size: 0.7em;
  vertical-align: middle;
}

label {
  display: inline-block;
  font-size: 0.8em;
  clear: both;
}

input, textarea, select {
  font-family: "Open Sans", sans-serif;
  display: block;
  width: 100%;
  margin: 0 0 15px;
  padding: 5px 9px;
  font-size: 0.8em;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}
input.title, textarea.title, select.title {
  font-size: 1.3em;
}
input.name, textarea.name, select.name {
  flex: 3;
}
input.time, textarea.time, select.time {
  width: 70px;
  text-align: center;
}
input.repeat, textarea.repeat, select.repeat {
  display: inline-block;
  width: 58px;
  padding-left: 0.3em;
  padding-right: 0.3em;
  text-align: center;
}
input.timer_url, textarea.timer_url, select.timer_url {
  display: inline-block;
  width: 55%;
  padding: 0.7em;
  font-size: 0.5em;
}

textarea {
  height: 150px;
  width: 100%;
}

select {
  padding: 5px 10px;
  font-size: 0.8em;
  background: url(/img/dropdown.svg), #fff;
  background-position: 93% 53%;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
}

option {
  background: #fff;
}

.steps_labels {
  height: 1.2em;
  position: relative;
  display: flex;
}
.steps_labels label {
  font-weight: bold;
}
.steps_labels .name_label {
  margin-left: 68px;
  flex: 3;
}
.steps_labels .time_label {
  width: 130px;
}
.steps_labels .color_label {
  flex: 1;
}
.steps_labels .tone_label {
  flex: 1;
}

.step {
  margin: 0 0 10px;
  border: 1px solid rgba(50, 50, 50, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.step input, .step textarea, .step select {
  margin: 0;
}

.editor ul.steps > li.step input.name.has_error,
.editor ul.steps > li.step input.time.has_error,
.editor .row_template input.name.has_error,
.editor .row_template input.time.has_error,
li.step.gu-mirror input.name.has_error,
li.step.gu-mirror input.time.has_error {
  border: 1px solid #c22026;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  position: relative;
  padding: 4px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: flex;
  gap: 8px;
  align-items: center;
}
li .button,
li .button.smaller {
  margin: 0;
}
li input, li select {
  display: inline;
}
li select {
  flex: 1;
}
li label {
  display: block;
  margin: 0 1em 0 0;
}

.editor .gu-mirror {
  background: rgba(0, 0, 0, 0);
}
.editor .gu-mirror input, .editor .gu-mirror select, .editor .gu-mirror .button {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.drag_handle {
  padding: 0.5em;
  font-family: "fontello";
  font-size: 0.7em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: move;
}

.editor li.step .drag_handle,
li.step.gu-mirror .drag_handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  line-height: 1;
  flex-shrink: 0;
}

.editor .repeat_container {
  margin: 1em 0 0.5em;
}

.editor_save_actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0.9em 0 0;
  width: auto;
  max-width: 100%;
}
@media screen and (max-width: 600px) {
  .editor_save_actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
}
.editor_save_actions .save.button {
  margin: 0;
  flex: 0 0 auto;
}
@media screen and (max-width: 600px) {
  .editor_save_actions .save.button {
    width: 100%;
  }
}

.editor .save.button {
  display: block;
  width: 340px;
  margin: 0;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  background: #1a3d4f;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media screen and (max-width: 600px) {
  .editor .save.button {
    width: 100%;
  }
}

.editor a.editor_cancel {
  display: inline-block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #1a3d4f;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  align-self: center;
}
.editor a.editor_cancel:hover, .editor a.editor_cancel:focus {
  color: #222;
  background: transparent;
}
@media screen and (max-width: 600px) {
  .editor a.editor_cancel {
    align-self: center;
    text-align: center;
  }
}

.editor .save.button:hover,
.editor .save.button:focus,
.editor .save.button:active,
.editor .save.button.button_hover {
  background: #6ec6e6;
  color: #1a3d4f;
}

.error_message {
  display: inline-block;
  padding: 0.75em 1em;
  font-size: 0.7em;
  font-weight: 600;
  background: #fdcdcd;
  color: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  text-align: center;
}
.error_message:empty {
  padding: 0;
}
@media screen and (max-width: 600px) {
  .error_message {
    width: 100%;
  }
}

.share_container {
  clear: both;
  margin: 20px 0;
}

.ajax, .row_template {
  display: none;
}

/*----------------------------------------------------------------------*

	COMMON CLASSES

*----------------------------------------------------------------------*/
.button {
  display: inline-block;
  margin: 2em 0.2em;
  padding: 0.4em 1em;
  background: #1a3d4f;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1em;
  cursor: pointer;
  border-radius: 3px;
  border: none;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  transition: all 0.1s ease-in-out;
}
.button.medium {
  font-size: 0.7em;
  margin: 0 0 0 0.3em;
  padding: 1em 2em;
  border-radius: 6px;
}
.button.small {
  font-size: 0.7em;
  margin: 0 0 0.5em 0.3em;
  padding: 0.4em 0.6em;
}
.button.smaller {
  font-size: 0.7em;
  margin: 0 0 0 0.3em;
  padding: 0.55em 0.3em;
}
.button.smallest {
  font-size: 0.6em;
  margin: 0 0 0 0.3em;
  padding: 0.1em;
}
.button.special {
  background: #94d7ea;
  color: #1a3d4f;
}
.button.special:hover, .button.special:focus {
  background: #1a3d4f;
  color: #fff;
}
.button.success {
  background: rgb(65.6688741722, 191.3311258278, 75.7218543046);
}
.button.error {
  background: rgb(224.0161290323, 59.9838709677, 59.9838709677);
}
.button.disabled, .button.disabled:hover, .button.disabled:focus {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.button.working {
  background: rgb(65.6688741722, 191.3311258278, 75.7218543046);
  pointer-events: none;
}

.pause i, .skip i {
  font-size: 0.7em;
}

.button:hover, .button:focus, .button.button_hover {
  color: #222;
  background: #6ec6e6;
}

.white {
  background-color: #fff;
}
.white .current_progress span {
  background-color: #fff;
}
.whiteli {
  background-color: rgba(0, 0, 0, 0);
}
.whiteli input, .whiteli select {
  background-color: white;
}

.red {
  background-color: #ee9494;
}
.red .current_progress span {
  background-color: hsl(0, 72.5806451613%, 135.6862745098%);
}
.redli {
  background-color: rgba(0, 0, 0, 0);
}
.redli input, .redli select {
  background-color: #ee9494;
}

.yellow {
  background-color: #ecf298;
}
.yellow .current_progress span {
  background-color: hsl(64, 77.5862068966%, 137.2549019608%);
}
.yellowli {
  background-color: rgba(0, 0, 0, 0);
}
.yellowli input, .yellowli select {
  background-color: #ecf298;
}

.green {
  background-color: #8ed994;
}
.green .current_progress span {
  background-color: hsl(124.8, 49.6688741722%, 130.3921568627%);
}
.greenli {
  background-color: rgba(0, 0, 0, 0);
}
.greenli input, .greenli select {
  background-color: #8ed994;
}

.blue {
  background-color: #94d7ea;
}
.blue .current_progress span {
  background-color: hsl(193.2558139535, 67.1875%, 134.9019607843%);
}
.blueli {
  background-color: rgba(0, 0, 0, 0);
}
.blueli input, .blueli select {
  background-color: #94d7ea;
}

.left {
  text-align: left;
}

@media screen and (max-width: 600px) {
  .container {
    width: 100%;
  }
  .editor {
    width: 100%;
  }
  .editor .steps_labels {
    display: none;
  }
  .editor ul.steps > li.step,
  li.step.gu-mirror {
    --step-handle-gutter: 2.65rem;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    margin: 0 0 8px;
    padding: 7px;
    padding-left: var(--step-handle-gutter);
  }
  .editor ul.steps > li.step::before,
  li.step.gu-mirror::before {
    content: "";
    order: 4;
    flex-basis: 100%;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .editor ul.steps > li.step .drag_handle,
  li.step.gu-mirror .drag_handle {
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    z-index: 1;
    order: 1;
    flex: 0 0 auto;
    width: calc(var(--step-handle-gutter) - 6px);
    max-width: calc(var(--step-handle-gutter) - 6px);
    box-sizing: border-box;
    height: max-content;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .editor ul.steps > li.step input.name,
  li.step.gu-mirror input.name {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin-bottom: 0;
  }
  .editor ul.steps > li.step .delete_step,
  li.step.gu-mirror .delete_step {
    order: 3;
    flex: 0 0 auto;
  }
  .editor ul.steps > li.step input.time,
  li.step.gu-mirror input.time {
    order: 5;
    flex: 0 0 auto;
    width: 4.25em;
    margin-bottom: 0;
  }
  .editor ul.steps > li.step label,
  li.step.gu-mirror label {
    order: 6;
    flex: 0 0 auto;
    margin: 0 0.35em 0 0;
    display: inline-block;
    white-space: nowrap;
  }
  .editor ul.steps > li.step select.color,
  li.step.gu-mirror select.color {
    order: 7;
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
  }
  .editor ul.steps > li.step select.tone,
  li.step.gu-mirror select.tone {
    order: 8;
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
  }
  .editor ul.steps > li.step .copy_step,
  li.step.gu-mirror .copy_step {
    display: none;
  }
}
@media screen and (max-width: 400px) {
  .container {
    width: 100%;
  }
}
.ios {
  display: none;
  /* iPad */
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .ios {
    display: block;
  }
}
.ios {
  /* iPhone 2G-4S */
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .ios {
    display: block;
  }
}
.ios {
  /* iPhone 5 */
}
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
  .ios {
    display: block;
  }
}

.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

@media screen and (max-device-width: 800px) {
  html, body {
    font-size: 24px;
  }
  .progress_bar {
    width: 100%;
  }
  .editor {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  body:not(.home) footer .timer_footer_actions {
    left: 0;
    right: 0;
    justify-content: space-between;
    gap: 0;
    padding: 8px 4vw;
  }
  body:not(.home) footer .timer_footer_actions .timer_action {
    font-size: 1.05em;
    gap: 2px;
  }
  body:not(.home) footer .timer_footer_actions .timer_action_label {
    font-size: 9px;
    max-width: 4.25em;
  }
  body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new {
    margin-right: 0;
    padding: 0.8em 0.65em;
    font-size: 0.625rem;
    gap: 0.28em;
    border-radius: 5px;
  }
  body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new i {
    font-size: 0.95em;
  }
}
@media screen and (max-height: 600px) {
  html, body {
    font-size: 11px;
  }
  h2 {
    height: 30px;
    line-height: 30px;
  }
  .button {
    font-size: 1.3em;
    margin: 1em 0.2em;
  }
  .current_progress {
    height: 20px;
    padding: 3px;
  }
  .current_progress span {
    height: 14px;
  }
  footer {
    bottom: auto;
    top: 0;
    padding: 5px 0 0 15px;
    text-align: left;
  }
  footer img {
    width: 70%;
  }
  body:not(.home) footer a.title img,
  body.editor > a.title img {
    width: 72px;
  }
  body:not(.home) footer .timer_footer_actions {
    left: 0;
    right: 0;
    justify-content: space-between;
    gap: 0;
    padding: 6px 10px;
  }
  body:not(.home) footer .timer_footer_actions .timer_action {
    font-size: 1em;
    gap: 2px;
  }
  body:not(.home) footer .timer_footer_actions .timer_action_label {
    font-size: 8px;
    max-width: 4em;
  }
  body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new {
    margin-right: 0;
    padding: 0.32em 0.55em;
    font-size: 0.6rem;
    gap: 0.25em;
    border-radius: 4px;
  }
  body:not(.home) footer .timer_footer_actions .timer_action.timer_action_new i {
    font-size: 0.9em;
  }
}
