body {
    font-family: 'Alegreya', serif;
}

#header {
    background-color: aliceblue;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 60px;
    width: 400px;
    padding: 20px;
}

#tracks {
    background-color: aliceblue;
    position: absolute;
    top: 100px;
    left: 0px;
    bottom: 0px;
    width: 400px;
    padding: 0px 20px 20px 20px;
    overflow: scroll;
}

#data {
    position: absolute;
    top: 100px;
    bottom: 0px;
    left: 440px;
    right: 0px;
    overflow: scroll;
    padding: 10px;
}

#control {
    position: absolute;
    top: 0px;
    height: 50px;
    left: 440px;
    right: 0px;
    overflow: scroll;
    background-color: aliceblue;
    padding: 25px;
}

#tracklist {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    background-color: white;
}

#tracklist li {
    text-indent: -1em;
    padding: 0.3em 0.3em 0.3em 2.3em;
    border-top: solid 2px aliceblue;
    border-right: solid 2px aliceblue;
    cursor: pointer;
}

#tracklist li[selected] {
    color: red;
    font-weight: bold;
}

#title {
    font-size: 38px;
    color: red;
}

#aboutLine {
    position: absolute;
    left: 119px;
    font-size: 13px;
}

#aboutLine a {
    text-decoration: none;
    color: red;
}

#aboutLine a:hover {
    text-decoration: underline;
}

#author {
    font-style: italic;
    font-size: 1.5vw;
}

#description {
    
}

#description ul {
    
}

#description p {
    
}

.trackinfo {
    position: relative;
    height: 200px;
}

.title {
    left: 30px;
    position: absolute;
    top: 33px;
    font-size: 36px;
    color: red;
    display: block;
}

.artist {
    display: block;
    left: 30px;
    position: absolute;
    top: 10px;
    font-size: 24px;
    color: green;
}

.recordedLabel {
    position: absolute;
    left: 63px;
    top: 85px;
}

.recorded {
    position: absolute;
    left: 135px;
    top: 85px;
    font-weight: bold;
    color: green;
}

.firstPopularLabel {
    position: absolute;
    left: 40px;
    top: 114px;
}

.firstPopular {
    position: absolute;
    left: 135px;
    top: 114px;
    font-weight: bold;
    color: green;
}

.subjectLabel {
    position: absolute;
    left: 74px;
    top: 145px;
}
.subject {
    position: absolute;
    left: 135px;
    top: 145px;
    font-weight: bold;
    color: green;
}

.keyAreaLabel {
    position: absolute;
    left: 97px;
    top: 176px;
}
.keyArea {
    position: absolute;
    left: 135px;
    top: 176px;
    font-weight: bold;
    color: green;
}

.lengthLabel {
    position: absolute;
    left: 78px;
    top: 207px;
}
.length {
    position: absolute;
    left: 135px;
    top: 207px;
    font-weight: bold;
    color: green;
}

.linksLabel {
    position: absolute;
    left: 304px;
    top: 207px;
}

.linksArea {
    position: absolute;
    left: 358px;
    width: 393px;
    height: 29px;
    top: 203px;
}

.linksArea a {
    display: inline-block;
    height: 28px;
    background-size: contain;
    cursor: pointer;
    margin-right: 5px;
}

.linksArea .spotify {
    background-image: url('../img/spotify.png');
    width: 28px;
}

.linksArea .apple {
    background-image: url('../img/apple.png');
    width: 25px;
}

.linksArea .youtube {
    background-image: url('../img/youtube.png');
    width: 39px;
}

.linksArea .spotify:hover {
    background-image: url('../img/spotify-g.png');
    width: 28px;
}

.linksArea .apple:hover {
    background-image: url('../img/apple-g.png');
    width: 25px;
}

.linksArea .youtube:hover {
    background-image: url('../img/youtube-g.png');
    width: 39px;
}

.composerLabel,
.lyricistLabel {
    position: absolute;
    left: 260px;
    width: 85px;
    text-align: right;
}

.composerLabel,
.composer {
    top: 85px;
}

.lyricistLabel,
.lyricist {
    top: 145px;
}

.composer,
.lyricist {
	position: absolute;
    left: 358px;
    width: 542px;
    font-weight: bold;
    color: green;
}

.composer span:not(:last-child)::after,
.lyricist span:not(:last-child)::after {
    content: '·';
    margin-left: 5px;
    margin-right: 5px;
}

.keyArea span:not(:last-child)::after {
    content: '→';
    margin-left: 2px;
    margin-right: 5px;
}

.chartData {
    position: absolute;
    top: 110px;
    left: 40px;
}

.chartLabel {
    
}

.chartEntry {
    display: inline-block;
    border: solid 1px #000;
    height: 65px;
    width: 50px;
    margin-right: 10px;
    vertical-align: top;
    text-align: center;
}

.chartYear {
    
}

.chartPosition {
    font-size: 36px;
    margin-top: -10px;
}

.keyData {
    position: absolute;
    top: 110px;
    left: 500px;
}

.keyEntry {
    display: inline-block;
    border: solid 1px #000;
    height: 65px;
    width: 50px;
    margin-right: 10px;
    vertical-align: top;
    text-align: center;
}

.keyName {
    font-size: 36px;
    margin-top: 5px;
}

#droparea {
    background-color: aliceblue;
    height: 10vh;
    border: solid 1px darkcyan;
    color: cornflowerblue;
    line-height: 10vh;
    text-align: center;
}

#droparea[active] {
    background-color: cornflowerblue;
    color: white;
}

#fileUpload {
	visibility: hidden;
    position: absolute;
}

.rankingChart,
.multiRankingChart {
    position: absolute;
    top: 241px;
    left: 20px;
    width: 750px;
    height: 360px;
}

.infoTrackList {
    height: 200px;
    overflow: scroll;
    margin: 0;
    font-size: 18px;
}

.infoTrackList li {
    list-style: none;
    cursor: pointer;
}

.trackArtist {
    display: inline-block;
    margin-left: 1.5em;
    color: red;
}

.infoTrackList li::before {
    content: "\25fc";
}

.trackTitle {
    display: inline-block;
    margin-left: 1.5em;
    color: green;
}

#searchdialog {
    position: absolute;
    background-color: aliceblue;
    height: 56vh;
    width: 36vw;
    left: 30vw;
    top: 20vh;
    border: solid 2px #F00;
    padding: 2vh;
    z-index: 999;
    display: none;
}

#criterialist {
    height: 50vh;
    overflow: scroll;
    margin-bottom: 2vh;
}

.criteriaitem {
    padding: 1vh;
    border: solid 1px white;
}

.criteriamenu,
.comparisonmenu,
.parametercontrols,
.parametercontrols select,
.addrowbutton,
.removerowbutton,
#matchmenu {
	display: inline-block;
    font-size: 12px;
    font-family: 'Alegreya', serif;
}

.criteriamenu,
.comparisonmenu,
.parametercontrols select,
#matchmenu {
    color: #444;
    margin-right: 5px;
    border: 1px solid #aaa;
    height: 23px;
}

.criteriamenu {
    width: 28%;
}

.comparisonmenu {
    width: 25%;
}

.parametercontrols {
    width: 30%;
    margin-right: 5px;
}

.parametercontrols div {
    width: 14%;
    display: inline-block;
    padding-left: 7%;
}

.parametercontrols select {
    width: 100%;
}

.addrowbutton, 
.removerowbutton {
    font-weight: 700;
}

.textcriteria {
    display: inline-block;
    font-size: 12px;
    font-family: 'Alegreya', serif;
    width: 96%;
    height: 21px;
}

.rangefromcriteria,
.rangetocriteria {
    display: inline-block;
    font-size: 12px;
    font-family: 'Alegreya', serif;
    width: 34%;
    height: 21px;
}

.originatormenu,
.canonmenu,
.modemenu,
.tonicmenu,
.subjectmenu {
    
}

#matcharea {
    font-size: 12px;
    width: 74%;
    display: inline-block;
}

#matchmenu {
    
}

#applysearchbutton,
#closesearchbutton {
    color: #444;
    margin-right: 5px;
    height: 23px;
    font-size: 12px;
    font-family: 'Alegreya', serif;
    width: 10%;
}

#control div {
    display: inline-block;
    font-size: 18px;
    padding-right: 5px;
}

#control input {
    height: 23px;
    font-family: 'Alegreya', serif;
    font-size: 16px;
    padding: 3px;
}

#control button {
    height: 29px;
    font-family: 'Alegreya', serif;
    font-size: 16px;
    margin-left: 7px;
}

#searchButton,
#clearSearchButton {
    margin-right: 40px;
}
