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

body {
  background-color: #222;
  color: white;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 24px;
}

pre {
  white-space: pre-wrap;
  margin: 0px;
}

select {
  font-size: 18px !important;
  background-color: white !important;
  color: black !important;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .scrolling-content {
  padding-top: 80px;
}

#loading {
  position: absolute;
  top: 10%;
  left: 0%;
  width: 100%;
  text-align: center;
  font-size: 48px;
}

#loading-app-logo {
  width: 500px;
  height: 100px;
}

#bienvenida-logo {
  width: 500px;
  height: 300px;
  float: left;
  margin: 0 10px 0 0;
}

.bienvenida-texto {
  /* display: none; */
  display: block;
  /* margin: 0 auto; */
  margin: 15px;
  font-weight: bold;
  /* border: 2px solid whitesmoke;  */
}

#bienvenidaModal {
  float: left;
  margin: 50px 10px 0 0;
  display: none;
  /* background-color: #98a308; */
  background-color: #84866a;
}

.btn_resalta {
  color: #e3e38d !important;
  font-size: xx-large !important;
  font-weight: bold !important;
  opacity: 0.9 !important;
}

.modal-title2 {
  font-weight: bold;
  font-size: x-large;
  color: #e3e38d;
}

.modal-title1 {
  font-weight: bold;
  font-size: xx-large;
  color: #e3e38d;
}

.carousel-caption {
  text-shadow: 0 1px 2px rgba(249, 92, 92, 0.6) !important;
  text-weight: bold !important;
  position: fixed !important;
  bottom: 482px !important;
  color: #220505 !important;
}

@media (max-width: 470px) {
  .carousel-caption {
    bottom: 200px !important;
    padding-bottom: 10px !important;
  }
}

.diapo_activa {
  width: 100%;
  height: 400px;
}

#app {
  display: none;
  /* background-color: #222; */
}

#app-sticky-header {
  background-color: #222;
}

#app-sticky-header-row {
  display: flex;
}

#app-content {
  display: block;
}

#app-logo {
  position: relative;
  width: 300px;
  height: 50px;
  float: right;
  margin-right: 1em;
}

#crew-selector{
  width: 10em;
}

#score-selector{
  width: 10em;
}

#score-info {
  color: rgb(255, 255, 255);
  font-weight: bolder;
  margin: 10px;
  padding: 0.8em;
  font-size: x-large;  
}

#main-controls-div {
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 100%;
  /* height: 2em; */
  margin-right: 0.5em;
}

.tab-buttons {
  display: flex;
  margin-left: 0.5em;
  margin-top: -8px;
}

.tab-button {
  color: #ffffff;
  background-color: #323232;
  font-size: 32px;
  float: left;
  /* height: 100%; */
  /* height: 32px;
  width: 32px; */
  border: 0px;
  outline: none;
  cursor: pointer;
  padding: 4px 16px;
  transition: 0.3s;
  margin-right: 0.5em;
  opacity: 0.5;
}

.tab-button:hover {
  border: 1px solid #777;
  color: #ffc400;
  /* color: black; */
  opacity: 1;
  /* height: 32px;
  width: 32px; */
}

.tab-button.active {
  /* color: black; */
  /* height: 32px;
  width: 32px; */
  border: 1px solid white;
  opacity: 1;
}

.tab-button2.active {
  /* color: black; */
  border: 1px solid white;
  opacity: 1;
}

.tab-button-content {
  pointer-events: none;
}

.extra-control {
  background-color: #444;
  height: 100%;
  vertical-align:auto;
}

.text-destaca {
  color: #fff;
  background-color: #222;
  font-size: 24px;
  height: 100%;
  border: 1px solid white;
  outline: none;
}

#extra-control-bpm-reset {
  color: #fff;
  background-color: #222;
  font-size: 24px;
  /* height: 100%; */
  /* border: 0px; */
  border: 1px solid white;
  outline: none;
  cursor: pointer;
}

#extra-control-bpm-reset:hover {
  color: #ffc400;
}

#extra-control-bpm-reset:active {
  color: #ff0101;
}

#extra-control-bpm-container {
  background-color: #222;
  margin-right: 1em;
  float: left;
}

#help-button-icon {
  font-size: 24px;
}

#extra-control-play-button {
  font-size: 24px;
  background-color: #347a2e;
  border: 1px solid #00bb00;
}

#extra-control-play-button:hover {
  background-color: #00b900;
}

#extra-control-play-button.disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none;
}

#extra-control-stop-button {
  font-size: 24px;
  background-color: #b75757;
  border: 1px solid #ff0000;
}

#extra-control-stop-button:hover {
  background-color: #ff0000;
}

#extra-control-stop-button.disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none;
}

#score-minimap {
  display: block;
  background-color: #171717;
  border: 1px solid #777;
}

.score-minimap-section {
  display: inline-block;
  border: 1px solid black;
  height: 32px;
  cursor: pointer;
  float: left;
}

.score-minimap-section.playing {
  cursor: default;
}

.score-minimap-active-section{
  border: 4px solid red;
}

.tab-content {
  display: none;
  border: 1px solid #777;
  padding: 0.5em;
}

#score-tab {
}

#score-tab-content {
  display: flex;
}

#score-instruments-container {
  display: flex;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 0.5em;
}

#score-instruments-container-header {
  margin-bottom: 0.5em;
}

#score-scrolling-container {
  margin-top: 0.5em; 
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}

#score-scrolling-content {
  display: flex;
}

.section-block-full {
  background-color: #171717;
  border: 1px solid #777;
  margin-bottom: 1em;
  padding: 0.5em;
}

.section-block-simple {
  background-color: #171717;
  border: 1px solid #777;
  margin: 0;
  padding: 0;
}

.play-button {
  background-color: #4b4b4b;
  border: 1px solid #909090;
  outline: none;
  cursor: pointer;
  padding: 0px;
  margin: 0px;
  transition: 0.3s;
}

.play-button:hover {
  background-color: #006f1c;
  border: 1px solid #00ff00;
}

.play-button.active {
  background-color: #b75757;
  border: 1px solid #ff0000;
}

.play-button.active:hover {
  background-color: #ff0000;
}

.play-button.disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none;
}

.play-button-icon {
  width: 50px;
  height: 26px;
  content: url("../img/play-icon.svg");
}

.play-button-icon.active {
  content: url("../img/stop-icon.svg");
}

.loop-button {
  background-color: #4b4b4b;
  border: 1px solid #909090;
  outline: none;
  cursor: pointer;
  padding: 0px;
  margin: 0px;
  transition: 0.3s;
}

.loop-button-icon {
  width: 50px;
  height: 26px;
  content: url("../img/loop-icon.svg");
}

.loop-button-icon.active {
  content: url("../img/stop-icon.svg");
}

.loop-button:hover {
  background-color: #006f1c;
  border: 1px solid #00ff00;
}

.loop-button.active {
  background-color: #b75757;
  border: 1px solid #ff0000;
}

.loop-button.active:hover {
  background-color: #ff0000;
}

.loop-button.disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none;
}

.section-header-container {
  display: flex;
}

.section-header {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5em;
  border: 1px solid #777;
}

.section-header-item {
  height: 32px;
}

.section-content {
  display: flex;
  width: 100%;
  margin-bottom: 0.5em;
}

.section-instrument-list {
  display: inline-block;
  width: 50px;
}

.section-instrument-row {
  background-color: #22222255;
  height: 40px;
  margin: 0px;
  overflow: hidden;
}

.section-instrument-icon {
  cursor: pointer;
  height: 43px;
  width: 43px;
  /* padding: 5px; */
  margin-right: 1em;
}

.section-instrument-icon:hover {
  border: 1px solid white;
}

.section-instrument-icon:active {
  border: 2px solid #52aa74;
}

.section-track-list {
  display: inline-block;
  width: 100%;
}

.section-track-row {
  background-color: #22222255;
  height: 48px;
  width: 100%;
}

.section-track-16th {
  /* color: dimgray; */
  color: #aaa;
  display: inline-block;
  background-color: #222;
  cursor: default;
  height: 90%;
  margin: 0px;
  font-size: 32px;
  font-weight: bolder;
  text-align: center;
  overflow: hidden;
}

.section-track-16th.note-active {
  color: red;
  border: 2px solid red;
}

.muted {
  opacity: 0.1;
}

.solo {
  opacity: 1 !important;
  background-color: #7a2828;
  border: 2px solid #7a2828;
}

.bar-test {
  background-color: yellow; 
  border: '1px solid red';
}

.bar-start {
  background-color: #7a2828;
  color: white;
}

.beat-start {
  background-color: #3c2222;
  color: darkgoldenrod;
}

.eighth-note-start {
  background-color: #2a2a2a;
}

.instrument-info {
  display: flex;
  background-color: #323232;
  margin-bottom: 1em;
  height: 32px;
  align-items: center;
}

.instrument-samples-container {
  display: flex;
}

.instrument-id {
  color: #8f8f8f;
  cursor: default;
  font-weight: bold;
  margin: 1em;
}

.instrument-icon {
  height: 32px;
  width: 32px;
  margin-right: 1em;
}

.instrument-volume {
  margin-right: 2em;
}

.instrument-volume-icon {
  cursor: pointer;
  height: 32px;
  width: 32px;
  margin-right: 1em;
}

.instrument-volume-icon:hover {
  border: 1px solid #52aa74;
}

.instrument-volume-icon:active {
  border: 1px solid #ffffff;
}

.instrument-name {
  cursor: default;
  width: 6em;
  margin-right: 1em;
}

.instrument-sample {
  cursor: pointer;
  font-size: 24px;
  background-color: #494949;
  color: white;
  border: 1px solid #7c7c7c;
  height: 32px;
  width: 32px;
}

.instrument-sample:hover {
  background-color: #387650;
  color: white;
  border: 1px solid #52aa74;
}

.instrument-sample:active {
  background-color: #57b77c;
  color: white;
  border: 1px solid #65d38f;
}

.autosize {
  width: 100%;
  height : auto;
  color:#006f1c;  
}

.score-editor-input {
  background-color: rgb(88, 62, 62);
  color: #ffffff;
  font-size: 24px;
  min-width: 240px;
  width:100%;
  border: 1px solid #520303;
}

.score-editor {
  margin-top: 10px;
  background-color: #222;
  color: #ffffff;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 24px;
  border: 1px solid #7c7c7c;

  min-width:50px;
  max-width:100%;
  min-height:50px;
  max-height:80%;
  height:80%;
  width:100%;
}

#editor-tab-apply-button {
  width: 150px;
}

#editor-tab-clipboard-button {
  width: 100px;
}

#editor-tab-reload-button {
  width: 100px;
}

.editor-button {
  float: right;
  position: relative;
  margin-left: 10px;
  background-color: #347a2e;
  border: 1px solid #00bb00;
}

.editor-button:hover {
  background-color: #00b900;
}

.editor-button:active {
  border: 1px solid #ffffff;
}

.editor-icon {
  /* width: 32px;
  height: 32px; */
  font-size: 24px;
}

/* reglas propias */
/* #file-content{ */
#score-editor-textbox{
  /* position: absolute;
  margin-top: 105px;*/
  width: 50em; 
  height: 40em;
  background-color: rgb(88, 62, 62);  
  color:#ffffff;
  font-size: medium;
}

@media (max-width: 470px) {
  #score-editor-textbox {
    margin-top: 125px;
  }
}

/* #downloadLink{
  display: flex;
  width: 32px;
  height: 42px;
} */
#score-load{
  /* width: 12em; */
  color: rgb(255, 255, 255);
  font-weight: bolder;
}
#editor-itself-container {
  top: 300px;
  display: flex;
}

.section-instrument-row:nth-child(n+2) {
  margin-top: 18px;
}

/* partitura */
.section-track-row {
  /* height: 36px; */
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 470px) {
  .section-track-row {
    margin-top: -10px;
  }
}

#editor-buttons-container {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: end;
  /* position: absolute; */
  /* top: 200px;
  right: 50px;
  left: 50px; */
  bottom: 15px;
/*   width: 400px; */
  height: 50px;
  background-color: #1d231d;
  border: 1.5px solid #d7f81a;    
}

.etiqueta_tab {
  color: rgb(255, 255, 255);
  font-weight: bolder;
  margin: 10px;
  padding: 0.8em;
  font-size: x-large;  
}

#app-logo2 {
  position: relative;
  width: 80px;
  height: 80px;
  float: right;
  margin-right: 1em;
}

#extra-control-bpm-slider {
  width: 120px;
}

#app-header {
  height: 50px;
}
