.root-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.root-panel > .ac-panel#main-control-panel {
  width: 40%;
}
.root-panel > .ac-panel {
  width: 60%;
}
.ac-panel {
  padding: 15px 15px 0 15px;
  flex: 10 1 auto;
}
.ac-panel#not-supported-panel {
  width: 100%;
  display: none;
}
#control-panel + #output-panel,
#help-panel + #output-panel {
  display: none;
}
.panel-row {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 0 15px 0;
}
.panel-row.has-labels {
  padding: 0 0 15px 0;
}
.ac-panel.output-panel {
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: visible;
  padding: 0;
}
.ac-panel.output-panel .panel-spacer {
  padding: 15px;
}
.ac-control-wrapper,
.panel-row-child {
  display: inline-block;
  padding: 0 7.5px;
  flex-grow: 8;
}
.ac-control-wrapper:first-child,
.panel-row-child:first-child {
  padding-left: 0;
}
.ac-control-wrapper:last-child,
.panel-row-child:last-child {
  padding-right: 0;
}
.ac-control-wrapper.square,
.panel-row-child.square {
  flex-grow: 0;
  width: 150px;
}
.ac-control-wrapper.flex-sm,
.panel-row-child.flex-sm {
  flex-grow: 2;
}
.ac-control-wrapper.flex-md,
.panel-row-child.flex-md {
  flex-grow: 4;
}
.ac-control-wrapper.flex-lg,
.panel-row-child.flex-lg {
  flex-grow: 8;
}
.ac-control-wrapper .ac-input.text,
.panel-row-child .ac-input.text,
.ac-control-wrapper .ac-output.text,
.panel-row-child .ac-output.text {
  padding: 2px 6px;
}
.ac-control-wrapper .ac-input.textarea,
.panel-row-child .ac-input.textarea,
.ac-control-wrapper .ac-output.textarea,
.panel-row-child .ac-output.textarea {
  padding: 0 2px;
}
.ac-input,
.ac-output {
  width: 100%;
  min-height: 60px;
  box-sizing: border-box;
}
.ac-input.double-height,
.ac-output.double-height {
  height: 90px;
}
.panel-close-button {
  margin: 10px 0;
  padding: 0 10px !important;
  text-align: right;
  color: #222;
}
.panel-close-button:hover {
  color: #4e4e4e;
}
.panel-close-button:active {
  color: #6b6b6b;
}
body,
div,
span,
p,
a {
  font-family: 'Source Sans Pro', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
}
h1 {
  font-size: 3em;
}
h2 {
  font-size: 2.25em;
}
h3 {
  font-size: 1.8em;
}
h4 {
  font-size: 1.5em;
}
h5 {
  font-size: 1.2em;
}
h6 {
  font-size: 1.05em;
}
h1#main-title {
  margin: 0;
}
p#main-blurb {
  margin: 0 0 5px 0;
}
.ac-input.text,
.ac-output.text {
  font-size: 16px;
}
.ac-input.textarea,
.ac-output.textarea {
  font-size: 24px;
}
.ac-input.button,
.ac-output.button {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.ac-input.button .button-text-icon,
.ac-output.button .button-text-icon {
  font-weight: normal;
  margin-top: 5px;
  display: inline-block;
  font-size: 13px;
}
.ac-input.button i.fa-play.has-text,
.ac-output.button i.fa-play.has-text {
  padding-left: 5px;
}
.ac-input-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-left: 1px;
}
#main-control-panel a {
  color: #bbf;
  text-decoration: none;
}
#main-control-panel a:hover,
#main-control-panel a:active {
  color: #c9c9ff;
}
#chord-dictionary li {
  font-family: monospace;
  font-size: 16px;
}
#status-output.ac-output .line {
  opacity: 0.33;
}
#status-output.ac-output .first {
  opacity: 1;
}
#status-output.ac-output .hasError {
  color: #e88;
  font-weight: bold;
}
code.ac-parameter {
  font-weight: bold;
  background-color: #ccc;
  padding: 0 4px;
}
body {
  background-color: #ddd;
  color: #222;
}
p {
  margin-top: 0;
}
.ac-input.textarea {
  resize: none;
}
#main-control-panel {
  color: #fff;
  background-color: #555;
}
#status-output {
  color: inherit;
  font-style: italic;
  border: 1px solid #2a2a2a;
  background-color: #484848;
}
#error-message {
  padding: 0.75vw;
  background-color: #d33;
  color: #300;
}
#chord-dictionary {
  text-align: center;
  padding: 0;
}
#chord-dictionary li {
  background-color: #ccc;
  display: inline-block;
  padding: 8px;
  margin: 5px 15px;
}
table#ac-melody-output {
  width: 100%;
  text-align: center;
}
table#ac-melody-output thead {
  background-color: #006;
  color: #fff;
}
table#ac-melody-output th,
table#ac-melody-output td {
  padding: 1vw 0 0.5vw 0;
}
table#ac-melody-output th {
  font-size: 1.5em;
  font-weight: normal;
  padding: 0.5em 0;
}
.ac-melody-row {
  cursor: pointer;
}
.ac-melody-row.selected {
  background-color: #dfd;
}
.melody-data {
  font-size: 2em;
}
.ac-input.button {
  color: #fff;
  background-color: #999;
  border-color: #7a7a7a;
  cursor: pointer;
  outline: none !important;
  border-radius: 6px;
  border-width: 0 3px 3px 0;
}
.ac-input.button:hover,
.ac-input.button:active {
  background-color: #7a7a7a;
}
.ac-input.button:active {
  border-color: #676767;
  background-color: #636363;
}
.ac-input.button.active {
  border-color: #676767;
  background-color: #6b6b6b;
}
.ac-input.button.disabled {
  background-color: #919191 !important;
}
.ac-input.button:active {
  border-width: 3px 0 0 3px;
  border-style: inset;
}
.ac-input.button.active {
  border-width: 3px 0 0 3px;
  border-style: inset;
}
.ac-input.button.disabled {
  cursor: default;
  opacity: 0.5;
  border: none !important;
}
.ac-input.button i,
.ac-input.button p,
.ac-input.button span {
  vertical-align: middle;
}
.ac-input.button .fa-play {
  padding-left: 5px;
}
.ac-input.button .fa-download {
  padding-left: 6px;
}
.ac-input.button.green {
  color: #fff;
  background-color: #0d990d;
  border-color: #0a7a0a;
}
.ac-input.button.green:hover,
.ac-input.button.green:active {
  background-color: #0a7a0a;
}
.ac-input.button.green:active {
  border-color: #096709;
  background-color: #0f5c0f;
}
.ac-input.button.green.active {
  border-color: #096709;
  background-color: #0f650f;
}
.ac-input.button.green.disabled {
  background-color: #198419 !important;
}
.ac-input.button.blue {
  color: #fff;
  background-color: #321984;
  border-color: #28146a;
}
.ac-input.button.blue:hover,
.ac-input.button.blue:active {
  background-color: #28146a;
}
.ac-input.button.blue:active {
  border-color: #211158;
  background-color: #231551;
}
.ac-input.button.blue.active {
  border-color: #211158;
  background-color: #251657;
}
.ac-input.button.blue.disabled {
  background-color: #342273 !important;
}
.ac-input.button.red {
  color: #fff;
  background-color: #bf1010;
  border-color: #990d0d;
}
.ac-input.button.red:hover,
.ac-input.button.red:active {
  background-color: #990d0d;
}
.ac-input.button.red:active {
  border-color: #800b0b;
  background-color: #731313;
}
.ac-input.button.red.active {
  border-color: #800b0b;
  background-color: #7f1212;
}
.ac-input.button.red.disabled {
  background-color: #a42020 !important;
}
@media (max-width: 992px) {
  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 1.875em;
  }
  h3 {
    font-size: 1.5em;
  }
  h4 {
    font-size: 1.25em;
  }
  h5 {
    font-size: 1em;
  }
  h6 {
    font-size: 0.875em;
  }
  .root-panel > .ac-panel#main-control-panel {
    width: 50%;
  }
  .root-panel > .ac-panel {
    width: 50%;
  }
  .melody-data {
    display: none;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.2em;
  }
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: 0.8em;
  }
  h6 {
    font-size: 0.7em;
  }
  div,
  span,
  p,
  a,
  li {
    font-size: 14px;
  }
  #chord-dictionary li {
    font-size: initial;
    padding: 6px;
    margin: 5px 6px;
  }
  .ac-panel {
    padding: 10px 10px 0 10px;
  }
  .ac-panel.output-panel .panel-spacer {
    padding: 10px;
  }
  .panel-row {
    padding: 0 0 10px 0;
  }
  .panel-row.has-labels {
    padding: 0 0 10px 0;
  }
  .ac-control-wrapper {
    padding: 0 5px;
  }
  .ac-control-wrapper.square {
    width: 108px;
  }
  .ac-input,
  .ac-output {
    min-height: 44px;
  }
  .ac-input.double-height,
  .ac-output.double-height {
    height: 44px;
  }
  .ac-input.text,
  .ac-output.text {
    font-size: 12px;
  }
  .ac-input.textarea,
  .ac-output.textarea {
    font-size: 15px;
  }
  .ac-input.button,
  .ac-output.button {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .ac-input.button .button-text-icon,
  .ac-output.button .button-text-icon {
    font-size: 9.600000000000001px;
    margin-top: 2px;
  }
  .ac-input.button i.fa-download,
  .ac-output.button i.fa-download {
    padding-left: 4px;
  }
  .ac-input.button i.fa-lg,
  .ac-output.button i.fa-lg {
    font-size: 1.25em;
  }
  .ac-input.button i.fa-2x,
  .ac-output.button i.fa-2x {
    font-size: 1.75em;
  }
}
@media (max-width: 500px) {
  .ac-panel {
    display: none;
  }
  .ac-panel#not-supported-panel {
    display: block;
  }
}
