

.navbar {
    background: linear-gradient(
        45deg,
        rgba(29, 31, 35, 0.7),
        rgba(47, 71, 152, 0.7) 100%
    ) !important;
}

/* small screen : when only burger menu*/
@media (max-width: 743px) {    
    .navBarSmall {
        display:block;
    }
    .navBarLarge {
        display:none;
    }
}
/* bigger screen : with menu visible*/
@media (min-width: 744px) {
    .navBarSmall {
        display:none;
    }
    .navBarLarge {
        display:block;
    }
}
@media (min-width: 744px) {
    .navbar .nav-item{
        font-size:1.5em;
        margin-right:20px;
    }
}


body .select2-selection,
body .select2-selection__arrow {
    height: 50px !important;
    padding-top: 10px;    
}
footer .select2-container{
    width: 80% !important;
    margin-left: 10%;
}
body .select2-container--default .select2-results>.select2-results__options {
    max-height: inherit;;
}

.navbar .showTopWhenScrolled {
    position:fixed;
    top: 0px;
}
.navbar.scrolledDown .showTopWhenScrolled {
    color: #000 !important;    
}
.navbar #timerValNavItem {
    right: 70px;
}
.navbar #playBtn,
.navbar #pauseBtn{
    right: 10px;
}
#loaderBtn {
    right: 30px;
}
.pageNotLoaded {
    display:none !important;
}
.navbar #micBtn {
    right: 70px;
    top: 0px;
    position:fixed;
}
.navbar #autoScrollPageBtn {
    right: 158px;
    top: 0px;
    position:fixed;
}
.navbar.scrolledDown #autoScrollPageBtn {
    right: 22px;
    top: 64px;
    position:fixed;
}

#micNoteValItem {
    position: fixed;
    width: 110px;
    right: 2px !important;
    font-size: 22px;
    top: auto;
    bottom: 2px !important;
    text-align: center;
    border-radius:10px;
    border:solid 1px #000;
    padding: 2px;   
    background: rgba(255, 255, 255, 0.6); 
}

#micNoteValItem.bigDiv {
    background: rgba(255, 255, 255, 0.7);
    width:350px;    
}
#micNoteValItem.bigDiv .noteEared{
    font-size: 30px;    
}
#micNoteValItem.bigDiv .detuneAmount{
    font-size: 20px;    
}
#micNoteValItem.bigDiv .expectedNote,
#micNoteValItem.bigDiv .expectedNote2{
    font-size: 12px;    
}
#micNoteValItem.bigDiv .freqEared-container,
#micNoteValItem.bigDiv .durationInMs-container,
#micNoteValItem.bigDiv .errMsg{
    display: block;    
}

#micNoteValItem .freqEared-container,
#micNoteValItem .durationInMs-container,
#micNoteValItem .errMsg{
    display: none;    
}
#micNoteValItem.good {
    background-color:#7AB473;
}
#micNoteValItem.bad {
    background-color:#FF8076;
}

#micNoteValItem .noteEared{
    font-size: 20px;    
    color:#000;
    line-height: 1em;
}
#micNoteValItem .detuneAmount{
    font-size: 10px;            
}
#micNoteValItem .expectedNote,
#micNoteValItem .expectedNote2{
    font-size: 12px;    
    font-size:italic;
}



#scrollToTopPage {
    bottom: 10px;
    right: 10px;
    position: fixed;
    color: #000 !important;
}

  .navbar .nav-link {
    color: #fff !important;
  }
  #footerCopyright {
    background: linear-gradient(
        45deg,
        rgba(29, 31, 35, 0.7),
        rgba(47, 71, 152, 0.7) 100%
      );
}
#footerCopyright,
#footerCopyright a {
    color:white;
}


#timerValNavItem {
    font-size: 2em;
    color: #FFF;        
    text-align: right;
    padding-top: 4px;
}
#timerValNavItem #timerVal{
    width: 180px;
}


@media (min-width: 1400px) {
    body #play-from-fingering .container {
        max-width: calc(100% - 100px);
    }
}

div .clearBoth {
    clear:both;
}

  

.labelSubTitle {
    font-weight:900;
    margin-top:20px;
    margin-left: 40px;
}

/* override switcher ON/OFF */
body #play-from-fingering .ui-switcher {
    height:35px;
    width: 60px;
    margin-bottom:10px;
  }
  body #play-from-fingering .ui-switcher:before {
      font-size:15px;
      top:9px;
  }
  body #play-from-fingering .ui-switcher:after {
      top:8px;
  }
  body #play-from-fingering .ui-switcher[aria-checked=true] {
      background-color:#1266f1;
  }
  
  body #play-from-fingering .ui-switcher[aria-checked=true]:after {
      left:38px;
  }
  body #play-from-fingering .ui-switcher[aria-checked=false]:before {
      right:12px;
  }
  body #play-from-fingering .ui-switcher[aria-checked=false]:after {
      left: 4px;
  }

  #slowDownTempo,
  #speedUpTempo {
      width:55px;
      height:55px;
      padding:0;
  }
  #slowDownTempo {
    background-image: url('../img/turtle.png');
  }
  #speedUpTempo {
      background-image: url('../img/rabbit.png');  
  }
  #tempoSpeedCol {
    width:65px;
  }

  #tempoSpeed {
      width:65px;
      height:51px;
      text-align:center;
  }

  .accordionHeaderRow {
      width: 99%;
      margin-bottom:10px;
  }

  #setupA4Modal,
  #setupModal,
  #buyMeACoffeeModal,
  #narrowScreenModal {
      margin-top:0px;
      z-index: 6000;
      margin-bottom:90px;
  }
  #setupA4Modal .modal-dialog,
  #setupModal .modal-dialog,
  #buyMeACoffeeModal .modal-dialog,
  #narrowScreenModal .modal-dialog{
      max-width:80%;
  }
  #setupA4Modal .modal-dialog .btn-secondary,
  #setupModal .modal-dialog .btn-secondary,
  #buyMeACoffeeModal .modal-dialog .btn-secondary,
  #narrowScreenModal .modal-dialog .btn-secondary{
    background-color:#bdc1c2;
  }
  #setupModal select{ 
      width:90%;
      height:45px;
  }
  #setupA4Modal #modal-calibration-result span {
      font-weight: bold;
  }
  
  #setupModal .tempoLevelCol.transposeDemiTonesDiv {
    width: 80% !important;  
  }

  #setupModal .tempoLevelCol.tempoLevelOfficial,
  #setupModal .tempoLevelCol.transposeDemiTonesLevelBeginner {
    width: 360px !important;
  }
  #setupModal .tempoLevelCol {
      width:120px !important;
      flex: none;
  }
  #setupModal .playerLevelCol {
      margin-left: 55px;
  }
  
  #setupModal .ui-switcher {
      margin-left:5px;
  }
   @media print {
        @page {
            margin: 0;
            size: landscape;
        }
        /*.page {
            -webkit-transform: rotate(-90deg); 
            -moz-transform:rotate(-90deg);
            filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
        }*/
        body #play-from-fingering  { 
            writing-mode: tb-lr;
        }
        #play-from-fingering table {
            page-break-after: always;
        }
        #play-from-fingering table {
            border-bottom:solid 2px;
        }
        #play-from-fingering h1, #play-from-fingering h2, #play-from-fingering hr {
        display:none;
        }
        #play-from-fingering table img.imgNote,
        #play-from-fingering table img.imgNoteBeat {
            max-width: 1cm;
            text-align:center;
        }        
        #play-from-fingering #sax_tenor table {
            width:25cm;
        }
        #play-from-fingering #sax_tenor table img,
        #play-from-fingering #sax_tenor img.imgNote {                    
            height:2.5cm;
            max-width: inherit !important;
        }
        #play-from-fingering table,
        #play-from-fingering  div.page {
            height:18cm;
        }
        #play-from-fingering table td,
        #play-from-fingering div.chordNote {
            margin-right:0.5cm;
        }
        #play-from-fingering .backHome {
            display:none;
        }
    }/* and media print */

    @media screen {
        #play-from-fingering .lineHrDiv {
            display:none;                    
        }

        #play-from-fingering table td,
        #play-from-fingering div.page div.chordNote {
            text-align:center;
        }
        #play-from-fingering table img.imgNote,
        #play-from-fingering div.chordNote img.imgNote {
            max-width: 100px;                    
        }

        #play-from-fingering img.imgClassicNoteStaff{
            width:55px;
            margin-top:-28px;
        }
        #play-from-fingering p.noteText{
            font-size:11px;
        }



/* **************************************************** */

        /* saxophone  */

        body.instrumentsaxophone .btn-primary,
        a#btn.btn_home_saxophone {
            background-color: #1266f1 !important;;
        }
        body.instrumentsaxophone #intro .mask,
        body.instrumentsaxophone #footerCopyright,
        body.instrumentsaxophone .navbar {
            /* #982f2fb3 */
            background: linear-gradient(
                45deg,
                rgba(29, 31, 35, 0.7),
                rgba(47, 71, 152, 0.7) 100%
            ) !important;
        }

        #play-from-fingering #sax_tenor div.chordNote {
            /*height:240px;*/
            height:auto;
        }
        #play-from-fingering #sax_tenor table img.imgNote,
        #play-from-fingering #sax_tenor div.chordNote img.imgNote {
            /*width:80px;*/
            height:205px;                    
            /*margin-top:12px;*/
        }
        #play-from-fingering #sax_tenor div.chordNote img.imgNote.silenceNote{
            padding-bottom:57px;
        }

        #play-from-fingering #sax_tenor div.imgNoteBeat {
            width: 79.5px;
        }

        body #play-from-fingering #sax_tenor img.imgNote.silenceNote,
        body #play-from-fingering #sax_tenor div.imgNote.silenceNote {
            height:auto;
            width:60px;
            padding-top:32px;
        }        

/* **************************************************** */

        /* flute */ 

        body.instrumentflute .btn-primary,
        a#btn_home_flute {
            background-color: #44982f !important;;
        }
        a#btn_home_flute {
            color:#FFF;
        }
        body.instrumentflute #intro .mask,
        body.instrumentflute #footerCopyright,
        body.instrumentflute .navbar {
            /* #982f2fb3 */
            background: linear-gradient(
                45deg,
                rgba(29, 31, 35, 0.7),
                rgba(68, 152, 67, 0.7) 100%
            ) !important;
        }

        #play-from-fingering #flute div.chordNote {                        
            height:240px;            
        }
        #play-from-fingering #flute table img.imgNote,
        #play-from-fingering #flute div.chordNote img.imgNote {            
            /*width:80px;*/
            height:205px;                    
            /*margin-top:12px;*/
        }

        #play-from-fingering #flute div.imgNoteBeat {
            width: 79.5px;
        }

        body #play-from-fingering #flute img.imgNote.silenceNote,
        body #play-from-fingering #flute div.imgNote.silenceNote {
            height:auto;
            width:60px;
            padding-top:32px;
        }        


/* **************************************************** */

        /* euphonium */
        
        body.instrumenteuphonium .btn-primary,
        a#btn_home_euphonium {
            background-color: #982f2fb3;
        }
        a#btn_home_euphonium {
            color:#FFF;
        }
        body.instrumenteuphonium #intro .mask,
        body.instrumenteuphonium #footerCopyright,
        body.instrumenteuphonium .navbar {
            /* #982f2fb3 */
            background: linear-gradient(
                45deg,
                rgba(29, 31, 35, 0.7),
                rgba(152, 47, 47, 0.7) 100%
            ) !important;
        }

        #play-from-fingering #euphonium table img.imgNote,
        #play-from-fingering #euphonium div.chordNote img.imgNote {
            width:80px;
            height:125px;                    
            /*margin-top:12px;*/
        }
        #play-from-fingering #euphonium div.imgNoteBeat {
            width: 79.5px;
        }

        body #play-from-fingering #euphonium img.imgNote.silenceNote,
        body #play-from-fingering #euphonium div.imgNote.silenceNote {
            height:auto;
            width:60px;
            padding-top:32px;
        }

        #play-from-fingering #euphonium div.imgNoteBeat {
            width: 79.5px;
        }
/* **************************************************** */

        /* trumpet */
        
        body.instrumenttrumpet .btn-primary,
        a#btn_home_trumpet {
            background-color: #ffa900;
        }
        a#btn_home_trumpet {
            color:#FFF;
        }
        body.instrumenttrumpet #intro .mask,
        body.instrumenttrumpet #footerCopyright,
        body.instrumenttrumpet .navbar {
            /* #982f2fb3 */
            background: linear-gradient(
                45deg,
                rgba(29, 31, 35, 0.7),
                rgba(255, 169, 0, 0.7) 100%
            ) !important;
        }

        #play-from-fingering #trumpet table img.imgNote,
        #play-from-fingering #trumpet div.chordNote img.imgNote {
            width:80px;
            height:125px;                    
            /*margin-top:12px;*/
        }
        #play-from-fingering #trumpet div.imgNoteBeat {
            width: 79.5px;
        }

        body #play-from-fingering #trumpet img.imgNote.silenceNote,
        body #play-from-fingering #trumpet div.imgNote.silenceNote {
            height:auto;
            width:60px;
            padding-top:32px;
        }        
/* **************************************************** */






        .bgEasy {
            background-color: green;
        }
        .bgAvg {
            background-color: orange;
        }
        .bgHard {
            background-color: red;
        }
        .trackDifficultyDisplayed.easy,
        .trackDifficultyRatioDisplayed.easy {
            color:green;
        }
        .trackDifficultyDisplayed.avg,
        .trackDifficultyRatioDisplayed.avg {
            color:orange;
        }
        .trackDifficultyDisplayed.hard,
        .trackDifficultyRatioDisplayed.hard {
            color:red;
        }

        #play-from-fingering.displayTrackDifficultyOn div.chordNote[data-note-difficulty="hard"] .imgNoteBeat {
            background-color: rgba(255, 15, 0, 0.6);/* red */
        }
        #play-from-fingering.displayTrackDifficultyOn div.chordNote[data-note-difficulty="avg"] .imgNoteBeat {
            background-color: rgba(255, 165, 1, 0.6);/* orange*/
        }
        #play-from-fingering.displayTrackDifficultyOn div.chordNote[data-note-difficulty="easy"] .imgNoteBeat {
            background-color: rgba(1, 128, 0, 0.6);/* green */
        }
        #play-from-fingering.displayTrackDifficultyOn div.chordNote .imgNoteBeat.noImg {
            background-color:transparent;
        }

                

        #play-from-fingering #sax_tenor div.chordNote.withBeatAtTop,
        #play-from-fingering #euphonium div.chordNote.withBeatAtTop,
        #play-from-fingering #flute div.chordNote.withBeatAtTop,
        #play-from-fingering #trumpet div.chordNote.withBeatAtTop {
            padding-top: 65px;
        }
        #play-from-fingering div.imgNoteBeat,
        #play-from-fingering img.imgNoteBeat {
            height:60px;
            position:absolute;
            top:6px;
            left: 0px;
        }
        #play-from-fingering div.imgNoteBeat {
            width:79.5px;
            z-index:2;
            padding-bottom:3px;
        }

        #play-from-fingering div.imgNoteBeat.silenceNote,
        #play-from-fingering img.imgNoteBeat.silenceNote {
            width:60px;
            height:auto;
            padding-top:15px;
        }
        

        #play-from-fingering #sax_tenor img.imgBeat,
        #play-from-fingering #euphonium img.imgBeat,
        #play-from-fingering #flute img.imgBeat,
        #play-from-fingering #trumpet img.imgBeat {
            height:20px;
        }

        #play-from-fingering #sax_tenor .innerTitle,
        #play-from-fingering #euphonium .innerTitle,
        #play-from-fingering #flute .innerTitle,
        #play-from-fingering #trumpet .innerTitle {
            position:absolute;
            bottom: 7px;
            width:300px;
            font-size:0.7em;
            color:red;
            z-index:4 !important;
            text-align: left;
        }

        /*#play-from-fingering div.line:nth-of-type(even) {
            opacity:0.75;                    
        }*/

    } /* media screen */
    #play-from-fingering .approximativeNoteSuffix {
        position: absolute;
        top: 9px;
        font-size: 14px;
        font-style: italic;
        left: 50px;
    }
    
    #play-from-fingering .innerTitlesSummary,
    #play-from-fingering .innerTitlesSummary p {
        text-align:left;                
    }
    #play-from-fingering .innerTitlesSummary li {
        font-size:1.2em;
        margin-bottom:8px;
        cursor:pointer;
    }
    #play-from-fingering .backHome {
        position:absolute;
        top:17px;
        left:5px;
        font-size:18px;
    }
    #play-from-fingering h1 .favIconTitle {
        background-image: url('../favicons/favicon-32x32.png');
        width:32px;
        height:32px;
        display:inline-block;
        margin-right:10px;
    }
    #play-from-fingering h1 .favIconTitleRight {
        margin-left:10px;
        margin-right:0;
    }
    #play-from-fingering .ptsResultsH2 {
        font-style: italic;
    }

    #play-from-fingering div p {
        text-align:center;
        margin:0;
    }
    #play-from-fingering .innerTitle {
        font-weight:bold;
        font-style:italic;
    }
    #play-from-fingering div.chordNote {
        margin:0;
        padding:0;
        position:relative;
        float:left;
    }
    #play-from-fingering div.line {
        clear:both;
    }
    #play-from-fingering div .clearBoth {
        clear:both;
    }
    #play-from-fingering div.endBeat {
        /*padding-right:35px;*/
    }
    #play-from-fingering .endMeasureLineBreaker {
        clear:both;
    }
    #play-from-fingering .endMultipleNotesLineBreaker {
        clear:both;
    }

    #play-from-fingering .page1 {
        border-top: dashed 0.5px #cacaca;
    }
    #play-from-fingering .chordNote.endMeasure {
        border-right: dashed 0.5px #cacaca;
    }
    #play-from-fingering div.line {
        border-bottom: dashed 0.5px #cacaca;
    }


    #play-from-fingering #pagescrollerPlayer {
        position:fixed;
        top:10px;
        right:10px;   
        background-color: white;
        opacity: 0.8;     
        border-radius:50%;
        height:60px;
        z-index:1000 !important;
    }
    #play-from-fingering #pagescrollerPlayer div.btn {
            font-weight:900;
            font-size:28px;
            text-align:right;
            margin-right:5px;
    }            
    #play-from-fingering #pagescrollerPlayer input[type=number]{
        width:50px;
        height:30px;
        margin-right:3px;
    }            


    #otherSongM {
        width:80%;
        max-width:500px;
        margin-left:35%;
    }

    #play-from-fingering #pageTempoPlayer {
        position:fixed;
        top:0px;
        right:10px;   
        background-color: white;
        opacity: 0.8;     
        border-radius:10px;
        padding:5px;                
        z-index:1000 !important;
    }
    #play-from-fingering #pageTempoPlayer.endMeasureBeatTime {
        background-color: red;
    }
    #play-from-fingering #pageTempoPlayer div.btn {
            font-weight:900;
            font-size:1.5em;
            text-align:right;
            margin-right:5px;
            margin-top:5px;
    }
    #play-from-fingering #pageTempoPlayer #timerVal {
        font-size:20px;
    }

    #play-from-fingering #countDownDiv {
        font-size: 5em;
        font-weight:bold;
        text-align:center;
        background: rgba(0, 0, 0, 0.7);
        position: fixed;
        margin-left: 10%;
        width: 80%;
        padding: 5px;
        top: 35%;                
        border-radius: 12px;
        color: white;
    }
    #play-from-fingering #countDownDiv.bigCountDown {
        font-size: 8em;
        width: 60%;
        margin-left: 20%;
    }

    #play-from-fingering #pageTempoPlayer input[type=number]{
        width:50px;
        height:45px;
        margin-right:3px;
        background-color: transparent;
    }
    #play-from-fingering #pageTempoPlayer input[type=checkbox]{
        width:25px;
        height:25px;
    }

    #play-from-fingering #noteHighlighter {
        z-index:3000 !important;
        position:absolute;
    }
    #play-from-fingering #noteHighlighter.highlightStrong{
        background-color:blue;
        opacity:0.2;                                
    }
    #play-from-fingering #noteHighlighter.highlightLight{
        border-bottom:dotted blue 12px;
    }

    #play-from-fingering #noteHighlighterInnerBeat {
        z-index:3001 !important;
        position:absolute;
    }
    #play-from-fingering #noteHighlighterInnerBeat.highlightStrong{
        background-color:blue;
        opacity:0.3;                                
    }
    #play-from-fingering #noteHighlighterInnerBeat.highlightLight{
        border-bottom:solid darkblue 12px;
    }


    #play-from-fingering #noteHighlighter_mic,
    #play-from-fingering #noteHighlighter_mic_ko,
    #play-from-fingering #noteHighlighter_mic_ko2 {
        z-index:2999 !important;
        position:absolute;
    }
    #play-from-fingering #noteHighlighter_mic.highlightStrong{
        background:repeating-linear-gradient(
            45deg,
            #7AB473,
            #7AB473 10px,
            #51684e 10px,
            #51684e 20px
        );
        opacity:0.2;                                
    }
    #play-from-fingering #noteHighlighter_mic_ko.highlightLight,
    #play-from-fingering #noteHighlighter_mic_ko2highlightLight{
        border-bottom:dotted #7AB473 12px;
    }

    #play-from-fingering #noteHighlighter_mic_ko.highlightStrong,
    #play-from-fingering #noteHighlighter_mic_ko2.highlightStrong{
        background:repeating-linear-gradient(
            45deg,
            #FF8076,
            #724d4a 10px,
            #724d4a 10px,
            #724d4a 20px
        );
        opacity:0.2;                                
    }
    #play-from-fingering #noteHighlighter_mic.highlightLight{
        border-bottom:dotted #FF8076 12px;
    }


    #play-from-fingering #pageTempoPlayer div.btn.btnScrollTop {
        position: fixed;
        bottom: 5px;
        right: 5px;
        font-size: 1.2em;
        font-weight: normal;
    }
    

    #play-from-fingering #sax_tenor .chordNote .missingImgNote,
    #play-from-fingering #euphonium .chordNote .missingImgNote,
    #play-from-fingering #flute .chordNote .missingImgNote,
    #play-from-fingering #trumpet .chordNote .missingImgNote {
        font-weight:900;
        color:red;
        font-size:1em;
        padding-top:10px;
    }

    
    #play-from-fingering *, #play-from-fingering ::after, #play-from-fingering ::before {
        box-sizing: initial;
    }

    footer {
        margin-top:80px;
    }