body {
    padding: 0;
    background: #ddd4ba;
}

/* Layout General */
.editor-layout {
    padding: 0;
}

.sidebar-panel {
    width: 300px;
    padding: 0;
    float: left;
    height: calc(100vh - 71px);
    overflow: auto;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2222;
    background: #495057;
    box-shadow: 0px -6px 9px 3px #000;
}

.canvas-panel {
    flex-grow: 1;
}

.saved-item.active {
    background-color: #004859 !important;
}

.btn-action {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: white;
}

.btn-blue {
    background-color: #0d6efd;
}

.btn-green {
    background-color: #198754;
}

.panel-title {
    margin: 20px 0 10px 0;
    font-size: 16px;
    color: #495057;
}

/* Historial */
.saved-list-group {
    border-radius: 4px;
    overflow-y: auto;
    padding: 20px;
}

.text-empty {
    display: block;
    text-align: center;
    color: #6c757d;
    padding: 10px;
}

/* Paleta de Figuras */
.palette-grid {
    display: block;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.note-palette-item {
    font-family: "Bravura", serif;
    font-size: 42px;
    width: 25px;
    height: 65px;
    line-height: 93px;
    color: #FFF!important;
    display: inline-block;
    /* width: 12.5%; */
    margin: 0;
    transition: all 0.3s ease;
	
  will-change: transform;
  transform: translate3d(0, 0, 0); 
}

.text-help {
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
}

/* Contenedor del Pentagrama */
#score-container {
    /* background: #ddd4ba; */
    border: 0;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow-x: auto;
    height: calc(100vh - 130px);
    box-shadow: inset 0px 0px 12px 6px #00000085;
    top: 60px;
    /* padding-left: 90px; */
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 0;
}

/* Estilo para el "Fantasma" durante el arrastre */
body>.ui-draggable-dragging {
	background:transparent!important;
    opacity: 1!important;
    z-index: 9999;
}

.dropped-note {
    font-family: "Bravura", serif;
    font-size: 70px;
    position: absolute;
    cursor: move;
    user-select: none;
    line-height: 50px;
    z-index: 10;
    height: 50px;
    opacity: 1!important;
}

body > .note-palette-item {
    color: #000!important;
}

.dropped-note:hover {
    color: #ffc107!important;
}


div#score-container * {
    text-shadow: none;
    color: #000;
    display: inline-block;
}

span.badge {
    float: right;
    background: #004859;
    padding: 0px 10px;
    border-radius: 20px;
    font-size: 16px;
    position: relative;
}

.btn .badge {
    position: absolute;
    top: 12px;
    right: 10px;
    line-height: 29px;
}

a.btn.midifile.saved-item {
    background: #616161;
    margin-top: 0;
    color: #FFF;
    line-height: 40px;
    position: relative;
    transition: all 0.3s ease;
}
a.btn.midifile.saved-item:hover {
    transition: none;
}

a.btn.midifile.saved-item:last-child {
    margin-bottom: 0;
}

.sistema {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 250px;
    /* padding-left: 80px; */
    overflow: visible;
}

.sistema.bass {
    margin-bottom: 100px;
}

.sistema .compas {
    border-right: 3px solid;
    float: left;
    height: 100%;
    width: calc((100% - 240px) / 4);
}

.compas .fila, .compas .filafuera {
    border-top: 2px solid #000;
    display: block;
    width: 100%;
    height: 12.5%;
    /* border-bottom: 1px solid #000; */
    /* margin-bottom: -1px; */
}

.compas .filafuera {
    border: 1px dashed #c1bba8;
}

.fixed-clefs {
	cursor:pointer;
	font-family: "Bravura", serif;
	font-size: 109px;
	position: absolute;
	left: 15px;
	color: #000;
	z-index: 3;
	top: -16px;
	width: 240px;
	height: 100%;
	padding-top: 93px;
	left: 0;
	border-right: 0;
	z-index: 555555;
	display: block!important;
	overflow: hidden;
}

.compas .fila.last {
    border-bottom: 2px solid #000;
}

.compas .filafuera.first {
    border-top: 0;
}

.compas .filafuera.last {
    border-bottom: 0;
}

.compas .fila.first {
    border-top: 5px solid;
}

.compas .fila.last {
    border-bottom: 5px solid;
}

.fixed-clefs.clef-bass {
    padding-top: 29px;
}

.grillafondo {
    height: 100%;
    position: absolute;
    z-index: 0;
    width: 87%;
    background-image: linear-gradient(to right, #c1bba8 1px, transparent 1px);
    background-size: 3.15% 100%;
    right: 0;
    opacity: 0.4;
    z-index: -1;
}

.sistema .compas:last-child {
    /* border-right: 3px solid #000; */
}

.palette-grid {
    position: fixed;
    top: 0;
    width: 100%;
    background: #004859;
    left: 0;
    z-index: 55;
}

.note-palette-item:last-child {
    border: 0;
}

.dropped-note:hover {
    color: #ffc107 ! IMPORTANT;
    text-shadow: 2px 2px 10px #000 !important;
}

.compas.armadura .fila {
    background: #ede7d6;
}
.export .compas.armadura .fila{
	background:none;
}
.export .grillafondo{
	display:none!important;
}
.export .notas{
	display:none!important;
}
.note-palette-item.sup {
    line-height: 69px;
}

textarea.notas {
    margin: 0;
    background: #ffffff;
    color: #000 !important;
    width: 100%;
    min-height: 300px;
    field-sizing: content;
    font-family: monospace;
    font-size: 25px;
    padding: 10px 15px;
    line-height: 35px;
    border: 2px solid #000;
	position:relative;
	z-index:5;
}

textarea.notas:focus,
textarea.notas:active {
    border: 2px solid #0dcaf0;
}

.pagina {
    position: relative;
    padding-left: 0;
    padding: 30px;
    /* background: #ddd4ba; */
    /* padding: 0; */
}

div#dropzone {
    position: absolute;
    z-index: 5;
    width: calc(100% - 300px);
    height: 100%;
    /* background: #333; */
    right: 30px;
}

.compas.armadura {
    width: 240px;
}

.palette-grid > * {
    width: 12.5%;
    text-align: center;
    margin: 0;
    padding: 0;
    text-align: center;
    float: left;
    border-right: 1px solid #000000;
    box-shadow: inset 2px -3px 12px -4px #000000;
}

.dropped-note .delete-btn:hover {
    opacity: 1;
}
body>.ui-draggable-dragging,
.note-palette-item:hover {
    transition: none;
    cursor: move;
    background: #212529;
	color:#ffc107!important;
}


#score-container .armadurasimbols{
	position:absolute;
	width: 100%;
	left:50px;
	top:0;
}
#score-container .notas{
	position: absolute;
	font-size: 86px;
    display: none;
}
#score-container .notas:before{
	width:30px;
	/* background:#030; */
	height:30px;
}
#score-container .sostenido:before{
	content:"♯";
}
#score-container .bemol:before{
	content:"♭";
}



#score-container   .notas.do.sostenido {
    top: 62px;
    left: 22%;
}

#score-container   .notas.re.sostenido {
    top: 47px;
    left: 38%;
}

#score-container   .notas.mi.sostenido {
    top: 33px;
    left: 54%;
}

#score-container   .notas.fa.sostenido {
    top: 18px;
    left: 29px;
}

#score-container   .notas.sol.sostenido {
    top: -3px;
    left: 30%;
}

#score-container   .notas.la.sostenido {
    top: 96px;
    left: 45%;
}

#score-container   .notas.si.sostenido {
    top: 76px;
    left: 62%;
}

#score-container   .notas.bemol {
    display: none;
}

#score-container .bass .armadurasimbols {
    top: 31px;
}
#score-container textarea.notas {
    font-size: 33px;
    display: block;
    position: relative;
}


#score-container   .notas.do.bemol {
    top: 64px;
    left: 63%;
}

#score-container   .notas.re.bemol {
    top: 51px;
    left: 47%;
}

#score-container   .notas.mi.bemol {
    top: 37px;
    left: 31%;
}

#score-container   .notas.fa.bemol {
    top: 123px;
    left: 161px;
}

#score-container   .notas.sol.bemol {
    top: 112px;
    left: 50%;
}

#score-container   .notas.la.bemol {
    top: 97px;
    left: 35%;
}

#score-container   .notas.si.bemol {
    top: 80px;
    left: 43px;
}

#score-container .notas.shown {
    display: block;
}
.fixed-clefs:hover {
    color: #ffc107!important;
    text-shadow: 2px 2px 10px #000 !important;
}