/* This is a tag selector that matches the <body> element */
body {
  color: #333; /* Default font color for the app */
  background-color: #fff; /* Default background color for the app */
  font-family: 'Overpass', 'Open Sans', sans-serif; /* Default font style used in the app */
}

button {
  font-family: 'Overpass', 'Open Sans';
  background: #333;
  color: white;
  border-style: none;
  padding: 10px 20px;
  border-radius: 3px;
  width: 200px;
  margin: 2px 0;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

button:hover:enabled {
  background: #222;
}

button:focus {
  outline: 0;
}

button:active:enabled {
  background: #111;
}

button:disabled {
  color: #bbb;
  /* background: #222; */
  cursor: auto;
  opacity: 50%;
}

#buttons {
  text-align: center;
}

#update {
  background: #0076ff;
  color: white;
}

#update:active {
  background: #005fcc;
}

#cancel {
  background: #ddd;
  color: #aaa;
}

#cancel:active {
  background: #ccc;
}

.icon {
  position: absolute;
  left: 18px;
  top: 11px;
  /* font-size: 30px; */
}

#header {
  background: #333;
  font-family: 'Overpass', 'Open Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  padding: 0px;
  margin: 0 auto;
  width: 100%;
  /* font-size: 48px; */
  /* text-align: center; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
}

#logo-250w {
  display: inline-block;
  vertical-align: middle;
  padding: 20px;
}

#logo-150w {
  display: none;
  vertical-align: middle;
  padding: 20px;
}

/* This is an id selector that matches the element with id="clock" */
#clock {
  font-family: 'Open Sans', sans-serif;
  text-align: center; /* Horizontally centers the text for the clock */
  font-size: 132px;
  margin: 30px;
  font-weight: 700;
}

#tabata-tracker {
  margin: 40px auto;
  width: 80%;
  height: 100px;
  border: 2px solid #ddd;
  border-radius: 2px;
  background: #ddd;
}

#tabata-calculator {
  width: 80%;
  margin: 0 auto;
  padding: 0 0 40px 0;
  /*border: 1px solid black;*/
}

#arrows {
  margin: 5px 0;
}

.arrow-btn {
  width: 98px;
  border: 3px solid #333;
  background: none;
  color: #333;
}

.arrow-btn:active {
  background: #333;
  color: #eee;
}

#btn-panel {
  display: inline-block;
  width: 30.6666666667%;
  float: right;
  text-align: center;
  /*border: 2px solid #333;*/
}

#time-field {
  font-family: 'Overpass', 'Open Sans', sans-serif;
}

#tabata-sect-details {
  display: inline-block;
  width: 65.3333333333%;
  /*margin-left: 3%;*/
  margin: 0;
  /* border: 2px solid #ccc; */
  border-radius: 10px;
  padding: 15px;
  background: white;
  -webkit-box-shadow: 0px 0px 22px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 22px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 22px 0px rgba(0, 0, 0, 0.25);
}

#remove-btn {
  background: #bf080a;
}

#remove-btn:hover:enabled {
  background: #ac070a;
}

#remove-btn:active:enabled {
  background: #830507;
}

#tabata-sect-details h3 {
  margin: 0 0 10px 0;
  font-weight: 700;
}

#detailsFieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

#detailsFieldset:disabled {
  color: #ccc;
}

label {
  display: block;
  margin-bottom: 10px;
}

.tabata-sect {
  height: 100px;
  display: inline-block;
}

.tabata-work-sect {
  background-color: #03ba06;
  outline: 2px solid #029907;
}

.tabata-work-sect-selected {
  background-color: #029907;
  outline: 2px solid #029907;
}

.tabata-rest-sect {
  background-color: #bf080a;
  outline: 2px solid #9e0608;
}

.tabata-rest-sect-selected {
  background-color: #9e0608;
  outline: 2px solid #9e0608;
}

#progress-tracker {
  background-color: #444;
  opacity: 0.6;
  outline: 2px solid #000;
  z-index: 999;
  height: 100px;
  position: relative;
  top: -104px;
  /* position: absolute;
	top: 0px;
	left: 0px; */
}

#footer {
  color: #aaa;
  text-align: center;
  margin: 0 auto;
}

#footer > span {
  padding: 20px;
}

a {
  color: #0076ff;
}

@media only screen and (max-width: 420px),
  only screen and (max-device-width: 420px) {
  #logo-250w {
    display: none;
  }

  #logo-150w {
    display: inline-block;
  }

  #clock {
    font-size: 56px;
    margin: 30px; /* has not changed */
  }

  button {
    padding: 10px 20px;
    width: 80%;
    margin: 2px 0;
  }

  #btn-panel {
    display: block;
    width: 100%;
    float: none;
    padding: 0 0 20px 0;
    text-align: center;
  }

  #tabata-sect-details {
    display: block;
    width: 80%;
    margin: 10px auto;
    border-radius: 10px;
  }
}

@media only screen and (min-width: 421px) and (max-width: 700px),
  only screen and (min-device-width: 421px) and (max-device-width: 700px) {
  #logo-250w {
    display: none;
  }

  #logo-150w {
    display: inline-block;
  }

  #clock {
    font-size: 68px;
    margin: 30px; /* has not changed */
  }

  button {
    padding: 10px 20px;
    width: 80%;
    margin: 2px 0;
  }

  #btn-panel {
    display: block;
    width: 100%;
    float: none;
    padding: 0 0 20px 0;
    text-align: center;
  }

  #tabata-sect-details {
    display: block;
    width: 80%;
    margin: 10px auto;
    border-radius: 10px;
  }
}

@media only screen and (min-width: 701px) and (max-width: 1000px),
  only screen and (min-device-width: 701px) and (max-device-width: 1000px) {
  #clock {
    font-size: 100px;
    margin: 30px; /* has not changed */
  }

  button {
    padding: 10px 20px;
    width: 80%;
    margin: 2px 0;
  }

  #btn-panel {
    display: block;
    width: 100%;
    float: none;
    padding: 0 0 20px 0;
    text-align: center;
  }

  #tabata-sect-details {
    display: block;
    width: 80%;
    margin: 10px auto;
    border-radius: 10px;
  }
}
