body{
    
}

#fretboard{
    display: inline-block;
    font-size: 0;
    cursor: pointer;
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

.heading {
    display: inline-block;
    background-color: #666;
    padding: 0px 15px;
    border-radius: 2px;
    font-size: .8rem;
    color: #f2f2f2;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    width: 100px;
    text-align: right;
    line-height: 38px;
}

.option {
    margin-bottom: 5px;
}

.option {
    margin-bottom: 5px;
}

.option input {
    border: solid 1px #666;
    line-height: 38px;
    margin: 0;
    padding: 0 10px;
    border-radius: 3px;
    text-align:center;
    width: 75px;
}

.parameters{
    display: inline-block;
}

@media only screen and (max-width: 768px){
    .heading{
        display: block;
        width: 100%;
    }

    .parameters{
            display: block;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .heading{
        text-align: center;
    }
}

.wrapper{
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 36px;
    height: 36px;
    vertical-align: top;
}

.wrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.wrapper .name {
    position: absolute;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    color: white;
    font-weight: 800;
}

.checkbox{
    position: absolute;
    top: 0;
    left: 0;
    height: 36px;
    width: 36px;
    border-radius: 3px;
}

.wrapper:hover input ~ .checkbox{
    background-color: #ccc;
}

.wrapper input:checked ~ .checkbox{
    background-color: #2196F3;
   
}

.checkbox:after{
    content: "";
    position: absolute;
    display: none;
}

.wrapper input:checked ~ .checkbox:after{
    display: block;
    
}

.stringfret{
    position: relative;
    
}

.stringimg{
    border: solid #BCBCBC;
    border-collapse: separate;
    position: absolute;
    top:50%;
    transform:translateY(-50%);
    left:0;
    width:100%;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none;
}

.stringfret.highlight .stringimg{
    border-color: red;
}

.note{
    display: inline-block;
    width:7.69%;
    height:30px;
    border-left: solid 1px black;
    border-right: solid 1px black;
    box-sizing: border-box;
    position: relative;
    background-color: #eef873;
    font-family: "Kanit";
}

.note[fret="0"]{
    background-color: transparent;
    border: none !important;
}

.stringfret.disabled .note,
.note.disabled{
    background-color: #EEE;
}

.note .name.green{
    background:green;
}


#string_1 .note{
    border-top: solid 1px black;
}
#string_6 .note{
    border-bottom: solid 1px black;
}


.note .name{
    position: absolute;
    top:25%;
    transform:translateY(-50%);
    left: 50%;
    transform:translateX(-50%);
    width: 40px;
    text-align: center;
    color: white;
    background: red;
    z-index: 122;
    font-size: .8rem;
    border-radius: 5px;
    display:none;
}

.note .name.show{
    display: inline-block;
}

#string_6 .stringimg{
    border-width: 4.5px;
}

#string_5 .stringimg{
    border-width: 4px;
}

#string_4 .stringimg{
    border-width: 3.5px;
}

#string_3 .stringimg{
    border-width: 3px;
}

#string_2 .stringimg{
    border-width: 2.5px;
}

#string_1 .stringimg{
    border-width: 2px;
}

#fretboard .inlay_1,
#fretboard .inlay_2{
    width: 15px;
    height: 15px;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    background: grey;
    border-radius: 100%;
    z-index: 120;
    pointer-events: none;
}

#fretboard .inlay_1{
    top:275%;
}
#fretboard .note .inlay_2{
    top: 375%;
}
#fretboard .note .inlay_2:first-of-type{
    top: 175%;
}

#controls{
    margin-top: 50px;
}

#msg, #score{
    text-align: center;
}

button{
    padding:10px 25px;
    font-family: "Kanit";
    border:none;
    cursor: pointer;
}