/** HTML Tags **/

body {
  font-family: Helvetica, Arial, sans-serif;
  padding: 4em;
  line-height: 1.5;
}

h1 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 1em;
}

h2 {
  font-size: 125%;
  font-weight: bold;
  margin-top: 1em;
}

p, li, table {
  margin-bottom: 0.5em;
}

ol {
  list-style-type: decimal;
}

code {
  font-family: Courier;
  background: #eee;
  border: 1px solid #bbb;
  padding: 0.2em;
}

em {
  font-style: italic;
}

table {
  width: 100%;
}

th {
  font-size: 65%;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid #bbb;
  padding: 0.75em;
  vertical-align:  bottom;
}

td {
  padding: 0.5em;
  border-bottom: 1px solid #eee;
}

/** Playlist **/

td.title {
  font-size: 125%;
}

td.album {
  font-style: italic;
}

tbody tr:hover {
  background: #fffef0;
  transition: background 0.5s;
  -moz-transition: background 0.5s;
  -webkit-transition: background 0.5s;
  -o-transition: background 0.5s;
}

table ul {
  list-style-type: disc;
}

/** Select hours **/

#selectHours {
  font-style: italic;
  display: none;
  margin-bottom: 1em;
}

#changeTimezone {
  font-style: normal;
  font-size: 75%;
  color: #bbb;
  margin-left: 2em;
  cursor: pointer;
  text-align: right;
}

#changeTimezone,
#timezones ul {
  display: block;
}

#timezones ul {
  display: none;
}

#timezones {
  float: right;
}

#timezones li {
  display: inline;
  margin-left: 1em;
  clear: right;
}

#timezones a {
  font-size: 75%;
  color: #aaa;
}

/** Calendar **/

#calendar {
  padding: 1em;
  padding-top: 2em;
  border: 1px solid #bbb;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  -moz-box-shadow: 0 0 0.5em #888;
  -webkit-box-shadow: 0 0 0.5em #888;
  box-shadow: 0 0 0.5em #888;
  width: 40%;
  font-size: 80%;
  position: absolute;
  top: -1em;
  background: white;
}

#calendar table {
  display: none;
}

.ui-datepicker-title {
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  font-size: 75%;
  cursor: pointer;
}

#calendar .ui-datepicker-prev,
#calendar .ui-datepicker-next {
  display: none;
}

.ui-datepicker-prev {
  float: left;
}

.ui-datepicker-next {
  float: right;
}

#calendar .ui-datepicker-month,
#calendar .ui-datepicker-year {
  display: none;
}

#calendar a {
  text-decoration: none;
  color: #333;
}

#calendar tr:hover {
  background: #fff;
}

#calendar th,
#calendar td {
  text-align: center;
  vertical-align: middle;
}

#calendar td:hover {
  background: #fffef0;
  transition: background 0.5s;
  -moz-transition: background 0.5s;
  -webkit-transition: background 0.5s;
  -o-transition: background 0.5s;
}

.ui-state-disabled {
  background: #eee;
}

#calendar .ui-datepicker-current-day,
#calendar td.ui-datepicker-current-day:hover {
  font-weight: bold;
  background: #e1edf0;
}

/** Generate HTML Form **/

label {
  display: block;
  font-weight: bold;
  font-size: 75%;
}

label.checkbox {
  display: inline;
}

div.show input {
  margin-right: 4em;
}

#submit {
  display: block;
  margin-top: 1em;
}

/** Help **/

ul.helpnav {
  list-style-type: none;
}

ul.helpnav li {
  display: inline;
  margin-right: 1em;
}

code.block {
  display: block;
  white-space: pre;
  margin-bottom: 1em;
}