

#main {
    position: absolute;
    left: 240px;
    top: 70px;
    width: 650px;
    padding-bottom: 2cm;
}

#main.filtered {
    top: 105px;
}

a {
    text-decoration: none;
    color: #B80000;
}

a:hover {
    text-decoration: underline;
}

svg [a\:selected="yes"] {
    color: red;
}

ol.lyrics {
    font-family: "CMU Serif", serif;
    font-size: 11pt;
    text-align: left;
    margin: 5pt 0 20pt 0;
}

ol.lyrics li {
    margin: 0 0 8pt 0;
    padding: 0 0 0 8pt;
}

.biography {
    text-align: justify;
    font-family: "CMU Serif", serif;
    font-size: 11pt;
}

.biography div {
    column-gap: 7mm;
}

span.thinspace {
    display: inline-block;
    width: 3pt;
}

span.fixedspace {
}

span.sentencespace {
    /*font-size: 20pt;*/
    /*line-height: 5pt;*/
    word-spacing: 0.3em;
}

abbr {
    white-space: pre;
    word-spacing: -0.2em; /* Should really be a fixed width, but this works ok for most cases */
}

/*abbr span {
    display: inline-block;
    width: 0.25em;
}
*/

nav#left {
    position: fixed;
    /*background: #ffc730;*/
    top: 0;
    left: 0;
    height: 100px;
    width: 210px;
}

#sitelink {
    top: 0;
    left: 0;
    display: block;
    position: fixed;
    z-index: 102;
    color: #ffc730;
    font-size: 9pt;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 40px;
    text-align: center;
    width: 210px;
    text-decoration: none;
}

nav#top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    padding-left: 210px;
    background: linear-gradient(#aa0000, #660000);
    z-index: 100;
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.5);
}

nav#top ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav#top li {
    margin: 0;
    padding: 0;
    display: block;
    border-right: 1px solid rgba(255, 255, 0, 0.2);
    float: left;
}

nav#top li a {
    display: block;
    padding: 0 25px;
    color: #ffc730;
    font-size: 9pt;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 40px;
    text-align: center;
    transition: background-color 0.15s linear;
    background-color: rgba(0, 0, 0, 0);
}

nav#top a:hover {
    text-decoration: none;
}

nav#top li:first-child {
    border-left: 1px solid rgba(255, 255, 0, 0.2);
}

nav#top li.selected {
    background: linear-gradient(#880000, #440000);
}

nav#top li a:hover {
    background-color: rgba(51,0,0,0.18);
}


nav#top img {
    position: relative;
    top: 0.2em;
    width: 13px;
    height: 13px;
    margin-left: 5px;
}

nav#top div#languages {
    float: right;
    margin-right: 1em;
    padding-top: 3px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
}

nav#top div#languages a {
    opacity: 50%;
}

nav#top div#languages a.selected {
    opacity: 80%;
}

nav#top div#languages a:hover {
    opacity: 100%;
}

div#filter-info {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 33px;
    line-height: 33px;
    font-family: "CMU Serif", serif;
    font-size: 10pt;
    background: #fffff0;
    border-bottom: 1px solid #ccccc0;
    z-index: 99;
    padding: 2px 0 0 240px;
}

div#filter-info a {
    color: #990000;
    text-decoration: none;
}

div#filter-info a:hover {
    color: #bb0000
}

div#filter-info span {
    display: block;
    position: absolute;
    top: 2px;
    padding: 0;
    width: 120px;
    text-align: center;
    left: 1000px;
}

div#filter-info form {
    position: absolute;
    top: 0;
    right: 15px;
    padding: 0;
    margin: 0;
}

div#filter-info input[type="submit"] {
    position: absolute;
    margin: 0;
    top: 7px;
    right: 0;
    height: 20px;
    /*border: 1px solid green;*/
}

.first-page-option {
    display: block;
    width: 400px;
    /*height: 120px;*/
    padding: 20px 40px;
    background: #eee;
    /*border-radius: 10px;*/
    /*margin-bottom: 1px;*/
    border-bottom: 1px dotted #ccc;
    line-height: 80px;
    overflow: hidden;
    color: #b80000;
    transition: background-color 0.15s linear;
}

.first-page-option:first-child {
    border-top: 1px dotted #ccc;
}

.first-page-option:hover {
    background-color: #e0e0e0;
    /*text-shadow: */
}

.first-page-option div.icon {
    float: right;
    /*width: 120px;*/
    /*height: 80px;*/
}

.first-page-option div.icon img {
    vertical-align: middle;
    height: 80px;
}

.first-page-option span {
    display: block;
    float: left;
    font-family: "Georgia", serif;
    font-size: 16pt;
    font-color: #b80000;
}

.sheetmusic h1 {
    text-align: center;
    font-family: "CMU Serif", serif;
    font-size: 16pt;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.sheetmusic #source {
    float: right;
    text-align: left;
    font-family: "CMU Serif", serif;
    font-size: 10pt;
    max-width: 400px;
}

.sheetmusic .line {
    width: 5cm;
    margin: 0 auto;
    border-top: 1px solid black;
}

pre.abc {
    word-wrap: break-word;
    overflow: auto;
}

a.socken, a.person, a.tune {
    text-decoration: none;
    color: #990000;
}

a.socken:hover, a.person:hover, a.tune:hover {
    text-decoration: underline;
    color: #bb0000;
}

#right {
    background: #eee;
    position: fixed;
    z-index: 0;
    left: 960px;
    right: 0;
    top: 0;
    height: 100%;
    box-shadow: inset 7px 0 9px -7px rgba(0,0,0,0.7);
}

#right-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    /*background: rgba(100, 0, 0, 0.2);*/
    /*box-shadow: inset 7px 0 9px -7px rgba(0,0,0,0.7);*/
}

.formats {
    width: 200px;
}

.formats ul {
    font-family: serif;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.formats li {
    display: block;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.2);
    border-right: 1px solid rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 2pt;
    font-size: 10pt;
}

.formats li a {
    display: block;
    margin: 0;
    padding: 10px 20px;
    text-align: center;
}

.formats li.selected, .formats li.selected:hover {
    background: white;
    box-shadow: none;
}

/*.formats li:hover {
    background: #f0f0f0;
}*/

nav a {
    text-decoration: none;
    color: black;
}

nav a:hover {
    color: #308dff;
}

.browse {
    width: 200px;
    text-align: center;
    margin: 50px 0 30px 0;
}

#main.filtered .browse {
    margin-top: 85px;
}

.browse span.num {
    font-family: "CMU Serif", serif;
    font-size: 18pt;
    font-weight: normal;
    position: relative;
    top: -5pt;
    padding: 0 10pt;
    color: #b80000;
}

.browse form {
    display: inline;
    margin: 0;
    padding: 0;
}

.browse input.num {
    font-family: "CMU Serif", serif;
    font-size: 18pt;
    font-weight: normal;
    position: relative;
    top: -5pt;
    padding: 0pt 0pt;
    color: #b80000;
    background: none;
    border: none;
    text-align: center;
    margin: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.browse a, .browse span.disabled {
    font-size: 28pt;
    vertical-align: center;
}

.browse span.disabled {
    color: #aaa;
}

.persontunes {
    padding: 0px;
    width: 200px;
    margin-left: 30px;
    font-family: "CMU Serif", serif;
    font-size: 10pt;
}

.persontunes h2 {
    font-family: "CMU Serif", serif;
    font-size: 12pt;
    font-weight: bold;
}

.index {
    margin: 50px 0 0 0;
    padding: 0 0 0 20px;
}

.index ul {
    list-style-type: none;
    padding: 0;
}

.index li {
    padding: 1px 0 0 0;
    font-size: 10pt;
    font-family: "CMU Serif";
/*    text-transform: uppercase;
    letter-spacing: 1pt;*/
}

.index li.selected {
    font-weight: bold;
}

/*.index li.selected:before {
    content: '»';
}
*/
.index li a {
    color: #999;
}

.index li a:hover {
    color: #666;
}


.text-index {
    column-gap: 7mm;
    font-family: "CMU Serif", serif;
    font-size: 12pt;
}

.text-index a {
    text-decoration: none;
    color: inherit;
}

.text-index a:hover {
    color: #b80000;
}

.text-index ul, .text-index li {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
}

.text-page {
    font-family: "CMU Serif", serif;
}


/*form.filter, form.filter select {
    margin-top: 50px;
    font-family: "Georgia", serif;
    font-size: 10pt;
}

form.filter select {
    border: 1px dotted #eee;
    margin: 0 20px;
}*/

div.filter {
    margin-top: 60px;
    padding: 0 0 0 30px;
    width: 200px;
}

div.filter h2 {
    font-family: "Verdana", sans-serif;
    font-size: 9pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    border-bottom: 1px solid #aaa;
    margin-top: 30px;
}


div.filter ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.filter a {
    line-height: 180%;
    margin: 0;
    padding: 2px 4px;
    font-family: "CMU Serif", serif;
    font-size: 10pt;
    display: inline;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    /*background-color: #f0f0f0;*/
    background: #f8f8f8;
    color: #990000;
    /*text-transform: uppercase;*/
    text-decoration: none;
    transition: background-color 0.15s linear;
    white-space: nowrap;
}

div.filter a:hover {
    background: #eee;
}

div.filter a.selected {
    background: linear-gradient(#aa0000, #660000);
    color: #ffc730;
    border-color: black;
}

div.filter a span {
    font-size: 9pt;
    color: rgba(0, 0, 0, 0.3);
    margin-left: 3pt;
    pointer-events: none;
}

div.filter a.selected span {
    color: #ccc;
}

table.tunelist {
    border-spacing: 0;
    width: 100%;
}

table.tunelist a {
    text-decoration: none;
    color: inherit;
}

table.tunelist a:hover {
    color: #b80000;
}

table.tunelist img {
    width: 50mm;
    height: 10mm;
}

table.tunelist tr.odd td {
    background: #f0f0f0;
}

table.tunelist td {
    padding: 3px 4px;
    /*background: #fffff0;*/
    vertical-align: center;
    /*border-bottom: 1px dotted #ffc730;*/
}

table.tunelist td:first-child {
    padding-left: 20px;
}

table.tunelist td.num {
    width: 11mm;
    font-family: "CMU Serif", serif;
    font-size: 12pt;
}

table.tunelist td.type {
    /*font-family: "CMU Serif", serif;*/
    font-size: 9pt;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
}

table.tunelist td.title {
    /*font-size: 9pt;*/
    max-width: 130px;
    font-size: 9pt;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

table.tunelist td.key {
    font-family: "CMU Serif", serif;
}


table.tunelist td.parts {
    font-size: 9pt;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

table.tunelist td.thumb {
    width: 50mm;
}

a.more-tunes {
    text-decoration: none;
    color: red;
    margin-left: 20px;
    font-size: 10pt;
    background: #f0f0f0;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 3px 5px;
}

a.more-tunes:hover {
    text-decoration: underline;
}

a.reset-filter {
    color: #b80000;
    text-decoration: none;
}

a.reset-filter:hover {
    text-decoration: underline;
}

div.search {
    float: left;
    margin-right: 2px;
    background: #f0f0f0;
    width: 280px;
    overflow: hidden;
    padding: 20px;
}

div.search h1 {
    margin: 0 0 30px 0;
    font-family: "Verdana", sans-serif;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

div.search input[type=text] {
    width: 80%;
}

div.search label.text-label {
    font-family: "Verdana", sans-serif;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    display: block;
    margin-bottom: 3px;
}

div.search .search-options {
    margin: 15px 0;
    display: block;
    overflow: hidden;
}

div.search .search-options input {
    float: left;
    clear: both;
    color: #333;
    margin-right: 7px;
}

div.search .search-options label {
    float: left;
    color: #333;
}

div.search input[type=submit] {
    float: right;
}

table#download th {
    text-align: left;
    background: #eee;
    padding: 5px;
    font-family: "Verdana", sans-serif;
    font-size: 9pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

table#download td {
    padding: 4px 12px 4px 4px;
    font-family: "CMU Serif", serif;
    font-size: 11pt;
}

table#download tr.space-after td {
    padding-bottom: 12px;
}

table#download {
    margin-bottom: 3em;
}

.abcr {
    fill: yellow;
    fill-opacity: 0;
    z-index: 15;
    cursor: pointer;
}
/*.abcr:hover {
    fill-opacity:0.1
}*/
