/* ==========================================================================
   Milpartituras - Reproductor online de tablaturas (alphaTab)
   Estilos propios del reproductor. Colores neutros que combinan con el skin.
   ========================================================================== */

.mp-player {
    margin: 0;
}

/* --- Barra de controles ------------------------------------------------- */
.mp-controls {
    background: #2f353e;
    border-radius: 4px 4px 0 0;
    color: #fff;
    padding: 8px 10px;
    display: block;
    line-height: normal;
}

.mp-controls:before,
.mp-controls:after {
    content: "";
    display: table;
}
.mp-controls:after {
    clear: both;
}

.mp-btn {
    background: #414957;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    height: 34px;
    margin: 0 3px 0 0;
    padding: 0 12px;
    text-align: center;
    vertical-align: middle;
    width: 40px;
}
.mp-btn:hover {
    background: #556072;
}
.mp-btn[disabled] {
    cursor: default;
    opacity: 0.45;
}
.mp-btn.mp-active {
    background: #1f7bb6;
}

.mp-play i {
    font-size: 16px;
}

.mp-group {
    display: inline-block;
    margin: 0 12px 0 0;
    vertical-align: middle;
}

.mp-label {
    color: #aab3c0;
    font-size: 11px;
    letter-spacing: 1px;
    margin-right: 5px;
    text-transform: uppercase;
    vertical-align: middle;
}

.mp-tempo select {
    background: #414957;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    height: 34px;
    padding: 0 4px;
    vertical-align: middle;
}

.mp-status {
    color: #aab3c0;
    float: right;
    font-size: 12px;
    max-width: 45%;
    overflow: hidden;
    padding-top: 10px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mp-status.mp-error {
    color: #ff9d9d;
}

/* Marco del area de la partitura */
.mp-score-frame {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    padding: 0;
}

/* Viewport con scroll propio: la cabecera y los anuncios permanecen fijos */
.mp-score-viewport {
    -webkit-overflow-scrolling: touch;
    height: 65vh;
    min-height: 320px;
    overflow: auto;
}

#mp-sheet {
    margin: 0 auto;
    max-width: 100%;
    padding: 15px 10px;
}

/* alphaTab inserta svg/canvas dentro de este div */
#mp-sheet svg_alpha_tab,
#mp-sheet svg {
    display: block;
    margin: 0 auto;
}

.mp-loading {
    color: #777;
    font-size: 14px;
    padding: 60px 20px;
    text-align: center;
}

/* --- Lista de pistas ---------------------------------------------------- */
.mp-tracks {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 15px;
}

.mp-tracks-title {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
    padding: 8px 12px;
    text-transform: uppercase;
}

.mp-tracks ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp-tracks li {
    border-bottom: 1px solid #eee;
    margin: 0;
    padding: 7px 12px;
}

.mp-tracks li:last-child {
    border-bottom: 0;
}

.mp-track-name {
    color: #333;
    display: inline-block;
    margin-right: 10px;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.mp-track-drums {
    color: #999;
    font-size: 11px;
    margin-left: 4px;
    text-transform: uppercase;
}

.mp-track-mute {
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.mp-track-vol {
    -webkit-appearance: none;
    appearance: none;
    background: #ccc;
    border-radius: 3px;
    height: 6px;
    vertical-align: middle;
    width: 90px;
}
.mp-track-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #1f7bb6;
    border-radius: 50%;
    cursor: pointer;
    height: 14px;
    width: 14px;
}
.mp-track-vol::-moz-range-thumb {
    background: #1f7bb6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 14px;
    width: 14px;
}

/* --- Enlaces bajo el reproductor ---------------------------------------- */
.mp-links {
    margin-top: 15px;
}
.mp-links a {
    margin-right: 18px;
}

/* --- Movil ---------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
    .mp-controls {
        text-align: center;
    }
    .mp-status {
        clear: both;
        float: none;
        max-width: 100%;
        padding-top: 6px;
        text-align: center;
    }
    .mp-tempo {
        display: block;
        margin: 8px 0 0;
    }
    .mp-score-viewport {
        height: 55vh;
        min-height: 260px;
    }
    .mp-track-name {
        display: block;
        max-width: 100%;
        white-space: normal;
    }
}
