@import url('https://fonts.googleapis.com/css?family=Pacifico|Ubuntu+Condensed');

*{
    font-size: 11px;
    font-family: 'Ubuntu Condensed', sans-serif;
}
body {
    width: 100%;
    background-color: white;
}
#container {
    margin: auto auto;
    padding-top: 15px;;
    text-align: center;
}
#neck {
    margin: auto auto;
    display: inline-block;
    padding-left: 7px;

   
}

#controls, #notes-display {
    width: 200px;
    font-size: 14px;
    margin-right: 30px;
    padding: 10px;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    border: 2px solid black;
    background-color: white;
    border-radius: 0 0 10px 11px;
}
#controls div {
    margin-bottom: 15px;
}

#controls label {
    width: 50px;
    display: inline-block;
}

#controls #title {
    font-weight: bold;
    color: white;
    background-color: black;
    padding: 12px;
    font-size: 22px;
    margin: -10px;
    margin-bottom: 20px;
    font-family: Pacifico, sans-serif;
    text-align: center;
    color: #f77070;
}

#notes-display .note-display-item {
    font-size: 17px;
    width: 22px;
    height: 22px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #858585;
    padding: 5px;
    text-align: center;
    margin: 6px;
}

.string {
    width: 40px;
    float: left;
    background-color: white;
    /*background-image: url(assets/maple.jpg);*/
}

.string:last-child {
    background: none;
}


.note{
    width: 12px;
    background-color: aliceblue;
    border: 1px solid darkslategrey;
    border-radius: 50%;
    height: 12px;
    text-align: center;
    padding: 5px;
    margin-left: -20px;
    transition: all 500ms;
    transform: scale(0.8);
    user-select: none;
    cursor: pointer;
}
.note:hover {
    transform: scale(1.4);
}

.note.active {
    background-color: #ffc0c0;
    box-shadow: 1px 1px 4px #ccc;
    transform: scale(1.1);
}

.note.active.root {
    background-color: #f77070;
    font-weight: bold;
    border-radius: 30%;
}

.note-container {
    border-bottom: 2px solid gray;
    border-left: 2px solid black;
    /*background-image: url(assets/string_tile.svg);
    background-repeat: repeat-y;
    background-size: 7px;*/
    padding: 6px;
    margin: 0;
    transition: all 1s;
}

.string:last-child .note-container {
    width: 0;
    overflow: visible;
    padding-right: 0;
    padding-left: 0;
}

.string:last-child .note-container .note{
    margin-left: -12px;
}

/*
.note-container:nth-child(4) .note,
.note-container:nth-child(6) .note,
.note-container:nth-child(8) .note,
.note-container:nth-child(10) .note,
.note-container:nth-child(13) .note,
.note-container:nth-child(16) .note,
.note-container:nth-child(18) .note,
.note-container:nth-child(20) .note,
.note-container:nth-child(22) .note,
.note-container:nth-child(25) .note {
    background-color: lightslategray;
}
*/

.note-container:first-child {
    border-bottom: 4px solid black;
}

.note-container:first-child .note  {
    background-color: lightgoldenrodyellow;
    border-radius: 0;
}

.note-container:first-child .note.active  {
    background-color: #ffc0c0; 
}
.note-container:first-child .note.active.root  {
    background-color: #f77070; 
}


.note-container:nth-child(4),.note-container:nth-child(6),
.note-container:nth-child(8),.note-container:nth-child(10),
.note-container:nth-child(13),.note-container:nth-child(16),
.note-container:nth-child(18),.note-container:nth-child(20),
.note-container:nth-child(22),.note-container:nth-child(25) {
    background-color: #dedede;
}




.string .note-container.scaled:nth-child(2) {
    padding-top: 36px;
}
.string .note-container.scaled:nth-child(3) {
    padding-top: 34px;
}
.string .note-container.scaled:nth-child(4) {
    padding-top: 32px;
}
.string .note-container.scaled:nth-child(5) {
    padding-top: 30px;
}
.string .note-container.scaled:nth-child(6) {
    padding-top: 28px;
}
.string .note-container.scaled:nth-child(7) {
    padding-top: 26px;
}
.string .note-container.scaled:nth-child(8) {
    padding-top: 24px;
}
.string .note-container.scaled:nth-child(9) {
    padding-top: 22px;
}
.string .note-container.scaled:nth-child(10) {
    padding-top: 20px;
}
.string .note-container.scaled:nth-child(11) {
    padding-top: 18px;
}
.string .note-container.scaled:nth-child(12) {
    padding-top: 16px;
}
.string .note-container.scaled:nth-child(13) {
    padding-top: 14px;
}
.string .note-container.scaled:nth-child(14) {
    padding-top: 12px;
}
.string .note-container.scaled:nth-child(15) {
    padding-top: 10px;
}
.string .note-container.scaled:nth-child(16) {
    padding-top: 8px;
}
