#moduleEditor {
    width: calc(100% - 30px);
    opacity: 1;
    margin: 6px 15px;
    border-top: solid #444444 2px;
    border-bottom: solid #444444 2px;
    overflow-x: hidden;
}

.moduleEditorResizeHandle {
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -50px;
    left: 0px;
    cursor: s-resize;
}

.moduleEditorResizeHandle:hover {
    background-color: #444444;
}

#moduleChevronEditor {
    height: 1.5em;
    margin: 0 10px;
    flex: auto;
    transform: rotate(0deg);
    transition-property: transform;
    transition-duration: 0.1s;
    cursor: pointer;
}

#grille_console,
#ryth_console,
#manches_console,
#melo_console {
    position: relative;
    margin-top: 0px;
    width: 100%;
    height: 100px;
    padding-bottom: 0px;
}

#grille_console {
    height: 120px;
}

#melo_console {
    height: 80px;
}

#edit_rythme,
#edit_manches,
#edit_melo {
    margin-top: 0px;
}


.edit_tab {
    min-height: 150px;
    position: relative;
}


.wrapSelectLignesModules_editor {
    cursor: pointer;
    width: fit-content;
}

.wrapSelectLignesModules_editor:hover {
    background-color: var(--pump-main-color);
    color: black;
}

.wrapSelectLignesModules_editor>.choixModuleLigne {
    justify-content: center;
}

.wrapSelectLignesModules_editor_active {
    background-color: var(--pump-main-color);
    color: black;
}

#tabsEdit {
    min-height: unset !important;
    position: relative;
    padding-bottom: 50px;
}

#edit_grille,
#edit_rythme,
#edit_manches,
#edit_melo {
    position: relative;
    font-size: 10px;
    margin-top: 0px;
    overflow-y: scroll;
    height: 400px;
}


#pompUpdate {
    height: 1.2em;
    cursor: pointer;
}

.meloNote {
    color: black;
}

#blocAide {
    bottom: 0px;
    z-index: 1000;
    position: absolute;
}

#pompUpdate.upToDate {
    filter: grayscale(1);
    opacity: 0.5;
}

#fileMenu {
    top: 150px;
}

.wConsole {
    z-index: unset;
}

.edit_console {
    /* z-index: 0; */
}

.moduleChevron_editor {
    height: 1.5em;
    margin: 0 10px;
    flex: auto;
    transform: rotate(0deg);
    transition-property: transform;
    transition-duration: 0.1s;
    cursor: pointer;
}

#activerModuleEditeur,
#linkToPimp {
    color: rgb(156, 156, 156);
}

#activerModuleEditeur:hover,
#linkToPimp:hover {
    color: white;
}


.needsBuild {
    outline: solid red 3px;
}

.hideInPomp {
    display: none;
}

#resendConfirmationEmail:hover {
    color: var(--bs-link-color);
}

.flash-message::after {
    content: "🗙" !important;
}










#wrapDrumNotes {
    margin-left: 10px;
    position: relative;
    height: 100%;
}



.drumTabBar,
#drumPatternBar {
    display: inline-block;
    background-color: var(--pomp-darkergrey);
    /* outline: 2px solid rgb(157, 157, 157); */
    position: relative;
}

.drumTabBar:nth-child(odd) {
    background-color: #181818;
}

#drumPatternBar {
    margin-left: 30px;
    min-width: 300px;
    max-width: calc(100% - 300px);
}

.drumTabBar_noStrikes {
    /* background: unset !important; */
}

.drumNote {
    position: absolute;
    border-radius: 50%;
    width: 6%;
    max-width: 15px;
    /* height: 15px; */
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: 1000;
    aspect-ratio: 1;
}

.drumTabBarEditing {
    background-color: black !important;
}

.drumTabBarEditing>.drumNote {
    background-color: var(--pump-main-color);
    cursor: move;
}

.drumTabBarEntete {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    /* text-align: center; */
    overflow-x: hidden;
    background-color: var(--pomp-darkgrey);
    /* outline: 2px solid rgb(157, 157, 157); */
    box-shadow: 0 1px 0 rgb(157, 157, 157) inset,
        1px 0 0 rgb(157, 157, 157) inset;
    display: flex;
    justify-content: space-between;
}

.drumTabBarEditing .drumTabBarEntete {
    background-color: black;
}

.drumTabBarEditing .drumTabBarEditMode>img {
    cursor: move;
}

.drumTabBarSelect {
    background-color: var(--pomp-darkgrey);
    border: solid var(--pomp-lightgrey) 1px;
    margin-top: 1px;
    opacity: 0.7;
    width: 30%;
}

.drumTabBarSelect:focus,
.drumTabBarSelect:hover {
    opacity: 1;
}


#drumPatternEditor_entete {
    height: 30px;
    width: 100%;
    /* background-color: gold; */
    display: none;
}

#drumPatternEditor_contenu {
    display: grid;
    grid-template-columns: 200px 1fr;
    /* justify-content: start;
    justify-items: start; */
    /* background-color: rgb(29, 161, 171); */
    /* min-height: 100px; */
    margin: 20px 0px;
}

#drumPatternEditor_contenu_kit {
    /* background-color: blue; */
    height: 100%;

}

#drumPatternEditor_contenu_kit_entete {
    /* height: 40px; */
}

#drumPatternEditor_contenu_patterns {
    /* background-color: green; */
    height: 100%;
    /* overflow-x: scroll; */
    display: flex;
}

.drumKitFut {
    display: flex;
    align-items: center;
    justify-content: right;
}

.nthFut {
    display: none;
}

.soundFut {
    width: 100px;
}

.volumeFut {
    width: 70px;
}

.handleFutDrag {
    height: 1.3em;
    cursor: grab;
}

.drumStroke_v {
    position: absolute;
    width: 1px;
    background-color: var(--pomp-lightgrey);
    height: 100%;
    bottom: 0px;
}

.drumStroke_h {
    position: absolute;
    height: 1px;
    background-color: var(--pomp-lightgrey);
    width: 100%;
    left: 0px;
}

#drumPatternEditor_contenu_add_pattern {
    /* width: 30px; */
    background-color: var(--pomp-darkergrey);
    height: calc(100% - 4px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    margin-left: 30px;
    cursor: pointer;
}

#drumPatternEditor_contenu_add_pattern:hover {
    outline: solid var(--pump-main-color) 2px;
    color: var(--pump-main-color);
    font-weight: bold;
}

#drumPatternBarEntete {
    display: flex;
    justify-content: space-between;
    /* background-color: orange; */
}

.drumNoteDragging {
    /* background-color: red; */
    /* z-index: 10000; */
}

.drumTabEnteteIcone {
    /* height: 70%; */
    width: 26px;
    margin-right: 10px;
    cursor: pointer;
    filter: grayscale(1);
    opacity: 0.7;
}

.drumTabBarEditing .drumTabBarEditMode {
    filter: grayscale(0);
    opacity: 1;
}


.drumTabEnteteIcone:hover {
    filter: grayscale(0);
    opacity: 1;
}

.drumTabEnteteIcone>img {
    height: 100%;
    cursor: pointer;
}

.contenuModule {
    display: none;
}

#currentPatternTicCount {
    width: 60px;
}

#drumPatternBar .drumNote {
    background-color: var(--pump-main-color);
    cursor: move;
}


#wrapAddDrumPatternModal {
    background-color: #0d0d0d;
    height: 90vh;
    border: solid grey 1px;
    padding: 20px;
}


#wrapDrumPatternOptionsModal {
    background-color: #0d0d0d;
    height: 50vh;
    border: solid grey 1px;
    padding: 20px;
}


.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
    /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit;
    /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}


#selectEditorPattern {
    /* width: 30px; */
    opacity: 0.7;
    background-color: var(--pomp-darkgrey)
}

#drumPatternOptionsModal_wrapEntete {
    display: flex;
    justify-content: space-between;
}


.pickablePattern {
    margin: 10px;
    cursor: pointer;
}

.pickablePattern:hover {
    outline: solid var(--pump-main-color) 2px;
    color: var(--pump-main-color);
    font-weight: bold;
}

#wrapAddDrumPatternModal {
    background-color: #0d0d0d;
    height: 50vh;
    border: solid grey 1px;
    padding: 20px;
}

.drumSoundEntry>td {
    padding: 0px;
}

#drumPatternBar[data-dbid] {
    border-bottom: solid var(--pump-main-color) 2px;
}

#currentPatternPrecision {
    width: 50px;
    opacity: 0.7;
    background-color: var(--pomp-darkgrey)
}

#helperClonePattern {
    width: 30px;
    height: 30px;
    background-color: red;
}

.drumTabBarPrecision {
    width: 50px;
    background-color: var(--pomp-darkgrey)
}

.drumNote[data-volume='0.1'] {
    opacity: 0.1;
}

.drumNote[data-volume='0.2'] {
    opacity: 0.2;
}

.drumNote[data-volume='0.3'] {
    opacity: 0.3;
}

.drumNote[data-volume='0.4'] {
    opacity: 0.4;
}

.drumNote[data-volume='0.5'] {
    opacity: 0.5;
}

.drumNote[data-volume='0.6'] {
    opacity: 0.6;
}

.drumNote[data-volume='0.7'] {
    opacity: 0.7;
}

.drumNote[data-volume='0.8'] {
    opacity: 0.8;
}

.drumNote[data-volume='0.9'] {
    opacity: 0.9;
}

.drumNote[data-volume='1'] {
    opacity: 1;
}