* {
    margin: 0;
    padding: 0;
    outline: none !important;
}

body {
    background: #EEE;
}

#mbm-editor {
    display: none;
    position: relative;
    cursor: default;
}

#loading .modal-dialog {
    top: 50%;
    margin-top: -50px;
    display: block;
}

#loading.init {
    display: block;
    opacity: 1;
}

.mbm-field #mbm-field-bg {
    position: absolute;
    border: 1px solid #DDD;
    background: url("../img/mbm-editor-bg-4-4.8e931199407d.png");
}

.mbm-field #mbm-field-bg.rhythm-three-four {
    background: url("../img/mbm-editor-bg-3-4.f612da14129f.png");
}

.mbm-field #mbm-field-bg.cell-size-15 {
    background: url("../img/mbm-editor-bg-4-4-15.94afd4a34c72.png");
}

.mbm-field #mbm-field-bg.rhythm-three-four.cell-size-15 {
    background: url("../img/mbm-editor-bg-3-4-15.85b986f29b5e.png");
}

.mbm-field #mbm-field-bg.cell-size-30 {
    background: url("../img/mbm-editor-bg-4-4-30.14b2f1ddea7b.png");
}

.mbm-field #mbm-field-bg.rhythm-three-four.cell-size-30 {
    background: url("../img/mbm-editor-bg-3-4-30.874171da364d.png");
}

.mbm-field #mbm-field {
    position: relative;
    cursor: default;
    margin-top: 50px;
}

.mbm-field #mbm-field * {
    position: absolute;
}

.mbm-field div[note],
.mbm-field div[selected-note] {
    border-radius: 25%;
}

.mbm-field div[note] {
    background: #FFAA00;
    border: 3px solid #817f80;
    border-bottom: none;
    border-right: none;
}

.mbm-field div[note].warning {
    background: #FF5555;
}

.mbm-field div[selected-note] {
    background: #CCC;
    opacity: 0.3;
    border: 3px solid #777;
    border-bottom: none;
    border-right: none;
}

.mbm-field div[playback-highlight] {
    background: #FFF;
    opacity: 0.5;
    width: 20px;
    height: 600px;
    border-left: 2px solid #AAA;
    border-right: 1px solid #777;
}

.mbm-field div[playback-start-offset-highlight] {
    background: #d9534f;
    opacity: 0.5;
    height: 600px;
    border-left: 2px solid #AAA;
    border-right: 1px solid #777;
}

.mbm-field div[selected-bar-highlight] {
    background: #FFF;
    opacity: 0.8;
    height: 600px;
    border-left: 2px solid #AAA;
    border-right: 1px solid #777;
}

.mbm-field div[selected-bar-highlight] .dropdown-menu {
    padding: 0;
}

.mbm-field div[selected-bar-highlight] .dropdown-menu * {
    position: static !important;
}

.mbm-field ul.notes-hint {
    position: fixed;
    top: 0;
    left: 0;
    list-style: none;
    margin: 0;
    background: #EEE;
    border-right: 1px solid #CCC;
    opacity: 0.75;
}

.mbm-field ul.notes-hint li {
    text-align: center;
    font-size: 0.6em;
    border-bottom: 1px solid #CCC;
}

.mbm-field ul.notes-hint.cell-size-15 li {
    font-size: 0.5em;
}

.mbm-field ul.notes-hint.cell-size-30 li {
    font-size: 0.8em;
}

.mbm-field ul.notes-hint li.transcribeHint {
    background: #EDA;
}

.mbm-field div.flat-bars {
    position: absolute;
    top: 0;
    left: 0;
}

.mbm-field div.flat-bar {
    background-color: #777;
    opacity: 0.3;
    position: absolute;
    left: 0;
}

.mbm-field div.octave-highlight {
    position: absolute;
    left: 0;
    border-top: 3px solid #FFF;
}

.mbm-field div.bar-number {
    position: absolute;
    text-align: center;
    color: #AAA;
    font-size: 0.7em;
}

.mbm-navbar .row {
    padding: 0 5px;
}

.mbm-navbar .title-wrapper a {
    width: 100%;
}

.mbm-navbar .btn-playback {
    width: 100px;
}

@media (max-width: 992px) {
    .mbm-navbar .btn-playback {
        width: auto;
    }
}

.mbm-navbar .title-wrapper {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mbm-navbar .title-wrapper a {
    text-decoration: none;
    font-size: 1em;
}

.move-notes-dropdown {
    width: 170px;
    text-align: center;
}

.move-notes-dropdown .close {
    position: absolute;
    right: 0;
    top: -5px;
}

input.ng-invalid {
    border-color: #a94442;
    background: #FAA;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.mbm-import .btn-midi-import {
    width: 75px;
}

.mbm-import .import-track {
    background-color: #FAFAFA;
    cursor: pointer;
}

.mbm-import .import-track:hover {
    background-color: #EEE;
}

.mbm-import canvas.import-preview {
    padding: 2px;
    width: 100%;
    display: block;
    border: 1px solid #CCC;
    background: #FFF;
}

#melody-export .modal-body {
    max-height: 410px;
    overflow: auto;
}

#melody-export .paper-size-container {
    padding-bottom: 15px;
}

.btn.active.btn-no-hover {
    background-image: none;
}

#melody-export .list-melody-export {
    margin-bottom: 0;
}

#melody-export .tab-content {
    padding-top: 15px;
}

#melody-export .list-melody-export li {
    position: relative;
}

#melody-export .list-melody-export li .unsupported-melody-type {
    position: absolute;
    top: 5px;
    right: 5px;
}

#melody-export img.media-object {
    height: 48px;
}

#melody-export .tab-murobox .badge {
    position: absolute;
    top: 1px;
    right: -2px;
    font-size: 8px;
    transform: rotate(23deg);
    background-color: #d9230f;
}

#melody-export #murobox #qrcode img {
    margin: 10px auto;
}

.tooltip {
    position: fixed;
}

.share {
    text-align: center;
}

.stwrapper {
    top: 10% !important;
}

.share .stButton .stLarge:hover {
    opacity: .75;
}
