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

html {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 100%;
  background: #333;
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
  #page-wrapper {
    width: 100%;
  }

  .instructions {
    font-size: small;
  }

  .controls {
    font-size: large;
  }

  input[type="text"] {
    font-size: small;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
  #page-wrapper {
    width: 100%;
  }

  .instructions {
    font-size: small;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  #page-wrapper {
    width: 100%;
  }

  .instructions {
    font-size: small;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  #page-wrapper {
    width: 40em;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  #page-wrapper {
    width: 40em;
  }
}

#page-wrapper {
  background: #ffffff;
  padding: 1em;
  margin: 1em auto;
  border-top: 5px solid #69c773;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

h1 {
  margin-top: 0;
  text-align: center;
}

#msg {}

#msg.not-supported strong {
  color: #cc0000;
}

input[type="text"] {
  width: 100%;
  padding: 0.5em;
  font-size: 1.2em;
  border-radius: 3px;
  border: 1px solid #d9d9d9;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1) inset;
}

input[type="range"] {
  width: 300px;
}

label {
  float: left;
  width: 150px;
}

.option {
  margin: 1em 0;
}

.instructions {
  background-color: #eee;
  padding: 18px;
}

.footer {
  background-color: #eee;
  padding: 18px;
}

.copyright {
  text-align: center;
  background-color: #fff;
  font-size: small;
  padding-top: 10px;
}


.controls {
  padding: 18px;
}

.controlbutton {
  display: inline-block;
  border-radius: 3px;
  border: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.8em;
  border-bottom: 1px solid #498b50;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  margin: 0;
  width: 10em;
  text-align: center;
}

.start {
  background: #69c773;
  color: white;
}

.stop {
  background: #ff0000;
  color: white;
}

button:hover,
button:focus {
  cursor: pointer;
}

button:active {
  opacity: 1;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}

button:disabled {
  color: #666666;
  background-color: #cccccc;
  opacity: 1;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}

.outer {
  width: 100%;
  text-align: center;
  margin-bottom: 18px;
}

.inner {
  display: inline-block;
}

.floatright {
  float: right;
  margin-left: 10px;
  width: 60px;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #000;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-weight: bold;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: #eee;
  display: none;
  overflow: hidden;
}

.accordion:after {
  content: '\02795';
  /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796";
  /* Unicode character for "minus" sign (-) */
}

#countdown-timer {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}