/****************************************************************************************
    WEB FONTS
*****************************************************************************************/
@font-face {
    font-family: 'Digital-Numbers';
    src:url('fonts/Digital-Numbers.ttf.woff') format('woff'),
        url('fonts/Digital-Numbers.ttf.svg#Digital-Numbers') format('svg'),
        url('fonts/Digital-Numbers.ttf.eot'),
        url('fonts/Digital-Numbers.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Barlow-Condensed-Medium';
    src:url('fonts/Barlow-Condensed-Medium.ttf.woff') format('woff'),
        url('fonts/Barlow-Condensed-Medium.ttf.svg#Barlow-Condensed-Medium') format('svg'),
        url('fonts/Barlow-Condensed-Medium.ttf.eot'),
        url('fonts/Barlow-Condensed-Medium.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Barlow-Bold';
    src:url('fonts/Barlow-Bold.ttf.woff') format('woff'),
        url('fonts/Barlow-Bold.ttf.svg#Barlow-Bold') format('svg'),
        url('fonts/Barlow-Bold.ttf.eot'),
        url('fonts/Barlow-Bold.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal; font-style: normal;
}

body {
    margin:                 0px;
}
.banniere {
    background-image:       url("images/banniere.jpg");
    height:                 140px;
}
#disclaimer {
    position:               absolute;
    left:                   0;
    width:                  100%;
    top:                    180px;
    text-align:             center;
    font-family:            'Barlow-Condensed-Medium', Arial, sans-serif;
}
#interface {
    position:               absolute;
    left:                   15px;
    top:                    210px;
    right:                  15px;
    margin:                 0;
    padding:                10px;
    padding-bottom:         20px;
    color:                  #4bbbd5;
    font-family:            'Barlow-Condensed-Medium', Arial, sans-serif;
    font-size:              14px;
    border-radius:          15px;
    border:                 none;
    background-color:       #26262d;
    cursor:                 default;
}

#challenge,
#params {
    display:                flex;
    justify-content:        space-between;
    column-gap:             10px;
}
#challengemesures,
#tempo {
    /*display:                flex;*/
    position:               relative;
    background-color:       #36363e;
    border-radius:          6px;
    padding:                15px;
    height:                 120px;
    width:                  285px;
    margin-bottom:          15px;
}
#value_mesures,
#value_tempo {
    position:               absolute;
    left:                   5px;
    top:                    5px;
}

#volume_metronome::-webkit-slider-thumb,
#volume_drums::-webkit-slider-thumb,
#value_mesures::-webkit-slider-thumb,
#value_tempo::-webkit-slider-thumb {
    -webkit-appearance:     none;
    width:                  32px;
    height:                 16px;
    padding:                0px;
    border:                 0px; border-radius: 8px;
    -webkit-box-shadow:     -1px -1px 3px 2px rgba(29,43,43,0.4) inset,0 0 2px 1px rgba(51, 51, 51, 0.65);
    box-shadow:             -1px -1px 3px 2px rgba(29,43,43,0.4) inset,0 0 2px 1px rgba(51, 51, 51, 0.65);
    background:             linear-gradient(-16deg, #387f9b 0%, #16d3ff 50%);
}
#volume_metronome::-moz-range-thumb,
#volume_drums::-moz-range-thumb,
#value_mesures::-moz-range-thumb,
#value_tempo::-moz-range-thumb {
    -webkit-appearance:     none;
    width:                  32px;
    height:                 16px;
    padding:                0px;
    border:                 0px; border-radius: 8px;
    -webkit-box-shadow:     -1px -1px 3px 2px rgba(29,43,43,0.4) inset,0 0 2px 1px rgba(51, 51, 51, 0.65);
    box-shadow:             -1px -1px 3px 2px rgba(29,43,43,0.4) inset,0 0 2px 1px rgba(51, 51, 51, 0.65);
    background:             linear-gradient(-16deg, #387f9b 0%, #16d3ff 50%);
}

.volume {
    width:                  300px;
    height:                 20px;
    margin:                 0;
    padding:                0;
    color:                  #ffffff;
    border-radius:          20px;
    background:             transparent;
      background-position-x: 0%;
      background-position-y: 0%;
      background-repeat:    repeat;
      background-image:     none;
      background-size:      auto;
    background-image:       radial-gradient(#00cfff 30%, rgba(0, 0, 0, 0.33) 100%);
    background-position:    center;
    background-repeat:      no-repeat;
    background-size:        300px 10px;
    cursor:                 pointer;
    -webkit-appearance:     none;
}
#challengemesuresframe,
#tempoframe {
    position:               relative;
    left:                   0px;
    top:                    10px;
    width:                  136px;
    height:                 92px;
    cursor:                 pointer;
    background-color:       black;
    border-radius:          6px;
}
.digitalDisplayFrame {
    position:               absolute;
    background-color:       #111111;
    border-radius:          9px;
    -webkit-box-shadow:     1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    box-shadow:             1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    background-image:       radial-gradient(farthest-corner at 110px 0px, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0));
}
.labelBlueGlow {
    color:                  #279eb9;
    text-shadow:            0px 0px 3px #136b86;
  }
.digitalDisplayLabel {
    width:                  100%;
    margin-top:             3px;
    text-align:             center;
    font-family:            'Barlow-Bold', Arial, sans-serif;
    font-size:              16px;
    color:                  #3c9f55;
    text-shadow:            0px 0px 3px #205e3b;
}
#mesureValue,
#mesureShadow,
#noteValue,
#noteShadow,
#chronoValue,
#chronoShadow,
#challengemesuresValue,
#challengemesuresShadow,
#tempoValue,
#tempoShadow {
    font-size:              56px;
    font-weight:            normal;
}
.shadowBlueGlow {
    color:                  #279eb9;
    opacity:                0.8;
}
.digitalDisplayValue,
.digitalDisplayShadow {
    position:               absolute;
    font-family:            "Digital-Numbers";
    letter-spacing:         -11px;
    text-align:             right;
    line-height:            60px;
    right:                  25px;
    color:                  #15ce43;
    text-shadow:            0px 0px 3px #00db60;
}
.digitalDisplayShadow {
    color:                  #082017;
    text-shadow:            none;
}
.labelBlueGlow {
    color:                  #279eb9;
    text-shadow:            0px 0px 3px #136b86;
}
.valueBlueGlow {
    color:                  #27b8d9;
    text-shadow:            0px 0px 3px #1ecaff;
  }
#delayCont {
    position:               absolute;
    left:                   15px;
    top:                    123px;
    width:                  136px;
    height:                 19px;
    background-color:       black;
    font-size:              16px;
    border-radius:          6px;
    -webkit-box-shadow:     1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 2px 0px rgba(89, 89, 89, 0.3) inset;
    box-shadow:             1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 2px 0px rgba(89, 89, 89, 0.3) inset;
    background-image:       radial-gradient(farthest-corner at 110px 0px, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0));
}
#delayLabel {
    position: absolute;
    left: 18px;
    top: -1px;
    font-size: 17px;
}
#delayValue {
    position: absolute;
    right: 18px;
    top: -1px;
    padding:  0;
    text-align: right;
    font-size: 17px;
}
#challengemesuresInc,
#tempoInc {
    top:                    28px;
}
#challengemesuresDec,
#tempoDec {
    top:                    75px;
}
#challengemesuresInc,
#challengemesuresDec,
#tempoDec,
#tempoInc {
    position:               absolute;
    left:                   160px;
    width:                  45px;
    height:                 45px;
    padding:                0;
    background-color:       black;
    color:                  #27b8d9;
    font-size:              40px;
    text-align:             center;
    border-radius:          6px;
    transition:             box-shadow 0.2s ease;
    -webkit-box-shadow:     1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    box-shadow:             1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    background-image:       radial-gradient(farthest-corner at 110px 0px, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0));
    cursor:                 pointer;
}
#challengemesuresInc:before,
#challengemesuresDec:before,
#tempoDec:before,
#tempoInc::before {
    left: 12px;
    top: 20px;
    width: 21px;
    height: 5px;
}
#challengemesuresInc:after,
#tempoInc::after {
    left: 20px;
    top: 12px;
    width: 5px;
    height: 21px;
}
#challengemesuresInc:before,
#challengemesuresInc:after,
#challengemesuresDec:before,
#tempoInc::before,
#tempoInc::after,
#tempoDec::before {
    content: "";
    position: absolute;
    background-color: #27b8d9;
    border-radius: 1px;
    -webkit-box-shadow: 0px 0px 2px #1ecaff;
    box-shadow: 0px 0px 2px #1ecaff;
}


#volume {
    display:                flex;
    flex-direction:         column;
    background-color:       #36363e;
    border-radius:          6px;
    padding:                15px;
    height:                 120px;
    width:                  285px;
    margin-bottom:          15px;
    align-items:            center;
}
#volume > label {
    margin-bottom: 5px;
}
#volume_metronome {
    margin-bottom: 20px;
}

#controls {
    background-color:       #36363e;
    border-radius:          6px;
    padding:                15px;
    height:                 120px;
    margin-bottom:          15px;
    display:                flex;
    align-items:            center;
    column-gap:             5px;
}
button {
    border: 0px;
    border-radius: 100px;
    -webkit-box-shadow: 1px 1px 7px 3px rgba(38, 38, 38, 0.5), 0 0 12px 8px rgba(0, 0, 0, 0.25) inset, 0 0 7px 0 rgba(172, 168, 172, 0.3);
    box-shadow: 1px 1px 7px 3px rgba(38, 38, 38, 0.5), 0 0 12px 8px rgba(0, 0, 0, 0.25) inset, 0 0 7px 0 rgba(172, 168, 172, 0.3);
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: transform 0.05s ease-out, box-shadow 0.2s ease-out;
    z-index: 8;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
}
button:hover {
    color: white;
}
#launch {
    width: 100px;
    height: 100px;
    background-color: #878ec5;
}
#play {
    width: 100px;
    height: 100px;
    padding: 0;
    background-color: #00cc00;
}
#play.started {
    background-color: red;
}

#go_to_start,
#rewind,
#advance {
    width: 50px;
    height: 50px;
    padding: 0;
    background-color: #f0ac29;
}

#drumscore {
    border-radius:          15px;
    background-color:       white;
    position:               relative;
    width:                  100%;
    height:                 200px;
}

#drumscore canvas {
    position:               absolute;
    top:                    0px;
    left:                   0px;
    border-radius:          15px;
    width:                  100%;
    height:                 200px;
}

#div_patterns {
    flex-grow:              1;
    display:                flex;
    background-color:       #36363e;
    border-radius:          6px;
    padding:                0px 10px;
    margin-bottom:          15px;
    column-gap:             10px;
}
#div_tempo {
    display: inline-block;
    margin:	20px;
}

#chrono {
    display:                flex;
    position:               relative;
    background-color:       #36363e;
    border-radius:          6px;
    padding:                15px;
    padding-top:            0px;
    height:                 135px;
    margin-bottom:          15px;
    column-gap:             10px;
}
#mesureframe,
#chronoframe,
#noteframe {
    display:                inline-block;
    position:               relative;
    top:                    5px;
    width:                  136px;
    height:                 92px;
    cursor:                 pointer;
    background-color:       black;
    border-radius:          6px;
}
#chronoframe {
    width:                  210px;
}
#noteframe {
    width:                  171px;
}

#challengemesuresBoucler {
    position:               absolute;
    top:                    51px;
    left:                   255px;
    width:                  45px;
    height:                 45px;
    padding:                0;
    background-color:       black;
    border-radius:          6px;
    cursor:                 pointer;
    -webkit-box-shadow:     1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    box-shadow:             1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    background-image:       url(images/boucle-de-fleche.svg);
    background-position:    center;
    background-size:        35px;
    background-repeat:      no-repeat;
}

#challengemesuresBoucler.selected {
    border:                 2px solid orange;
    top:                    49px;
    left:                   253px;
}

.inactive {
    opacity:                0.1;
}

#decompte {
    display:                flex;
    justify-content:        center;
    margin-top:             24px;
}
.paramCont.digits2, .paramFrame.digits2 {
    position: absolute;
    width: 75px;
}
.paramLabel.digits2 {
    left: -22px;
    width: 120px;
}
.paramLabel {
    position: absolute;
    top: -19px;
    text-align: center;
    font-size: 14px;
    text-shadow: 1px 0px 2px rgba(49, 97, 107, 0.8);
    transition: 0.4s ease-out;
}
.paramFrame.digits2 {
    position: absolute;
    width: 75px;
}
.paramFrame,
.paramDecBtn,
.paramIncBtn {
    height:                 32px;
}
.paramFrame {
    left: 0;
    top: 0;
    background-color: #111111;
    border-radius:  9px;
    -webkit-box-shadow:  1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    box-shadow: 1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    background-image: radial-gradient(farthest-corner at 110px 0px, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0));
    cursor: pointer;
}
.paramShadow.whiteDisplay {
    color: #1b1d1e;
}
.paramValue,
.paramShadow,
.paramSeparator {
    position: absolute;
    right: 27px;
    top: 1px;
    font-family: "Digital-Numbers";
    font-size: 24px;
    font-weight: normal;
    letter-spacing: -5px;
}
.paramValue.whiteDisplay,
.paramSeparator.whiteDisplay {
    color: #acc2ca;
    text-shadow: 0px 0px 3px #c5c3c8;
}
.paramDecBtn::before {
    content:                "";
    position:               absolute;
    left:                   6px;
    top:                    16px;
    width:                  10px;
    height:                 3px;
    background-color:       #737373;
    box-shadow:             0 0 0 0 rgba(0, 0, 0, 0);
    transition:             box-shadow 0.2s ease-out;
    cursor:                 pointer;
}
.paramDecBtn {
    position:               absolute;
    left:                   0px;
    top:                    -2px;
    width:                  20px;
    cursor:                 pointer;
}
.paramIncBtn {
    position:               absolute;
    right:                  1px;
    top:                    -2px;
    width:                  20px;
    cursor:                 pointer;
}
.paramIncBtn::before {
    content:                "";
    position:               absolute;
    left:                   5px;
    top:                    16px;
    width:                  13px;
    height:                 3px;
    background-color:       #737373;
    transition:             box-shadow 0.2s ease-out;
    cursor:                 pointer;
}
.paramIncBtn::after {
    content:                "";
    position:               absolute;
    left:                   10px;
    top:                    11px;
    width:                  3px;
    height:                 13px;
    background-color:       #737373;
    cursor:                 pointer;
}

.pattern-container {
    position:               relative;
    min-width:              110px;
    height:                 125px;
}
.pattern-container > .pattern-title {
    position:               absolute;
    top:                    1px;
    left:                   10px;
    background-color:       #36363e;
    padding:                0px 5px;
}
.pattern-container > .pattern-content {
    margin-top:             10px;
    border:                 1px solid #27b8d9;
    border-radius:          6px;
    width:                  100%;
    height:                 calc(100% - 10px);
    display:                grid;
    align-items:            start;
    grid-template-columns:  repeat(2, 1fr);
    row-gap:                10px;
    padding-top:            15px;
}
.pattern-container > .pattern-content > .image {
    cursor:                 pointer;
}
.pattern {
    width:                  40px;
    height:                 40px;
    background-position:    center;
    background-size:        40px;
    background-repeat:      no-repeat;
    border:                 1px solid #36363e;
    border-radius:          6px;
    cursor:                 pointer;
    justify-self:           center;
}
.option.selected,
.pattern.selected {
    border:                 1px solid orange;
}

.option {
    width:                  30px;
    height:                 30px;
    background-position:    center;
    background-size:        25px;
    background-repeat:      no-repeat;
    border:                 1px solid #36363e;
    border-radius:          6px;
    cursor:                 pointer;
    justify-self:           center;
}

.singles-highlight {
    background-image:       url(images/upstroke.svg);
}

.singles-right {
    background-image:       url(images/singles_right.png);
}
.singles-left {
    background-image:       url(images/singles_left.png);
}
.doubles-right {
    background-image:       url(images/doubles_right.png);
}
.doubles-left {
    background-image:       url(images/doubles_left.png);
}
.paradiddle-right {
    background-image:       url(images/paradiddle_right.png);
}
.paradiddle-left {
    background-image:       url(images/paradiddle_left.png);
}
.Rll {
    background-image:       url(images/Rll.png);
}
.Lrr {
    background-image:       url(images/Lrr.png);
}
.rrL {
    background-image:       url(images/rrL.png);
}

#tempo_subdivision {
    position:               absolute;
    left:                   220px;
    top:                    25px;
    width:                  80px;
    height:                 110px;
    display:                flex;
    flex-direction:         row;
    flex-wrap:              wrap;
    justify-content:        space-evenly;
}
.tempo_subdivision {
    width:                  30px;
    min-width:              30px;
    height:                 30px;
    background-position:    center;
    background-size:        30px;
    background-repeat:      no-repeat;
    border:                 1px solid #36363e;
    border-radius:          6px;
    cursor:                 pointer;
        border: 1px solid;
}
.noire {
    background-image:       url(images/noire.png);
}
.croche {
    background-image:       url(images/croches.png);
}
.triolet {
    background-image:       url(images/triolet.png);
}
.double-croche {
    background-image:       url(images/double_croche.png);
}
.sextolet {
    background-image:       url(images/sextolet.png);
}
.tempo_subdivision.selected {
    border:                 1px solid orange;
}


#create-error {
    border-radius:          12px;
    padding:                20px;
}
::backdrop {
    background-color:       black;
    opacity:                0.75;
}

#stats {
    position:               absolute;
    bottom:                 5px;
    right:                  5px;
}

.menu {
    position:           absolute;
    left:               0;
    width:              100%;
    height:             40px;
    min-width:          720px;
    margin:             0;
    padding:            0;
    background-color:   #24c5f7;
    background-image:   linear-gradient(0deg, #1891b7 0%, #66dbff 50%, #24c5f7 100%);
    text-align:         center;
    display:            flex;
    align-items:        center;
    align-content:      center;
    justify-content:    center;
}
.menu-element {
    color:              #3b3430;
    font-size:          19px;
    font-family:        'Barlow-Condensed-Medium', Arial, sans-serif;
    padding:            0px 20px;
    cursor:             pointer;
}
  
.menu-element:hover {
    background:         #ffffff82;
    border-radius:      7px;
    padding:            5px 20px;
}

#dlg-support,
#dlg-news,
#dlg-about {
    width:              1500px;
    height:             calc(100% - 200px);
    border:             0px;
    border-radius:      12px;
    font-family:        'Barlow-Condensed-Medium', Arial, sans-serif;
    font-size:          18px;
    background-color:   #FFFFFE;
}
#dlg-news > div {
    border-top:         1px solid #888;
    padding:            10px 0px;
}
/*#decompte > .decompte-titre {
    text-align:             center;
    margin-top:             10px;
}
.decompte-container {
    display:                flex;
}
.paramFrame {
    left:                   0;
    top:                    0;
    background-color:       #111111;
    border-radius:          9px;
    -webkit-box-shadow:     1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    box-shadow:             1px 1px 4px 1px rgba(94, 94, 94, 0.5), 1px 1px 1px 1px rgba(89, 89, 89, 0.3) inset;
    background-image:       radial-gradient(farthest-corner at 110px 0px, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0));
    cursor:                 pointer;
  }
.paramDecBtn {
    position:               relative;
}
*/