/*! Copyright (c) 2013 - Peter Coles (mrcoles.com)
 *  Licensed under the MIT license: http://mrcoles.com/media/mit-license.txt
 */

#piano {
    position: relative;
    margin: 0 auto;
    padding: 10px 10px 4px;
    width: inherit;
    background: #2F2F2F;
    border-radius: 2px;

}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 6.1px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4.8px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #d7cbcb;
  border-radius: 2.5px;
  border: 0.5px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0.5px 0.5px 2.5px #000000, 0px 0px 0.5px #0d0d0d;
  border: 1px solid #000000;
  height: 17px;
  width: 8px;
  border-radius: 0px;
  background: #c2c2cc;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6.6px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ffffff;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 4.8px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #d7cbcb;
  border-radius: 2.5px;
  border: 0.5px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0.5px 0.5px 2.5px #000000, 0px 0px 0.5px #0d0d0d;
  border: 1px solid #000000;
  height: 17px;
  width: 8px;
  border-radius: 0px;
  background: #c2c2cc;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 4.8px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #5c4747;
  border: 0.5px solid #010101;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-fill-upper {
  background: #d7cbcb;
  border: 0.5px solid #010101;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-thumb {
  box-shadow: 0.5px 0.5px 2.5px #000000, 0px 0px 0.5px #0d0d0d;
  border: 1px solid #000000;
  height: 17px;
  width: 8px;
  border-radius: 0px;
  background: #c2c2cc;
  cursor: pointer;
  height: 4.8px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #d7cbcb;
}
input[type=range]:focus::-ms-fill-upper {
  background: #ffffff;
}

/** keys */
h3.keyboard.white {
  font-family: 'Droid Sans', sans-serif;
  position:absolute;
  bottom:3px;
  left:37%;
  color:black;
}

.controlgroup {
  
}

#piano .keys {
    /*width: 1144px;*/
    width: inherit;
    padding: 2px 0 0 2px;
    overflow: hidden;
    background: #000;
    border-radius: 0 0 2px 2px;
}

.key {
    float: left;
    position: relative;
    width: 50px;
    height: 180px;
    margin: 0 2px 2px 0;
    background: #fff;
    border-radius: 0 0 4px 4px;
}
.key.pressed,
.key:active {
    background: #f4f3f3;
    box-shadow: inset 3px 2px 3px #999, inset -3px 2px 3px #999;
}
.key.black {
    width: 0;
    margin: 0;
    z-index: 2;
}
.key.black:after {
    content: "";
    position: absolute;
    top: -2px;
    left: -16px;
    display: block;
    width: 32px;
    height: 117px;
    background: #000;
    border-radius: 0 0 2px 2px;
}
.key.black1:after {
    left: -20px;
}
.key.black3:after {
    left: -16px;
}
.key.black.pressed:after,
.key.black:active:after {
    background-color: #333;
}

/* **/

.note {
    position: fixed;
    top: 20%;
    left: 30%;
    width: 40%;
    background: #111;
    background: rgba(0,0,0,.85);
    border-radius: 10px;
    padding: 60px 0;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    z-index: 999;
}
