:root {
    --theme-dark: #106090;
    --theme-light: #178ab0;
}

body {
    background: #000;
    font-family: sans-serif;
    color: #fff;
    margin: 0px;
}

#header {
    margin-bottom: 5vmax;
    font-size: 10vmax;
    vertical-align: top;
    text-align: center;
}

#header_img {
    max-width: 400px;
    width: 100%;
}

#current_pos {
    border-radius: 1vmax;
    position: absolute;
    bottom: 0%;
    height: 100%;
    color: #000;
    text-align: center;
    width: 100%;
    font-size: 2vmax;
    pointer-events: none;
}

#download {
    color: #888;
    font-size: 2vmax;
    cursor: pointer;
    margin-left: 1vmax;
}

.vertical_space {
    height: 4vmax;
}

#download:hover {
    color: var(--theme-dark);
}

.lock {
    filter: invert(0.45);
    height: 1.5vmax;
}

#auth {
    display: none;
    position: fixed;
    left: 10%;
    top: 10%;
    width: 80%;
    background: #335;
    height: auto;
    color: #fff;
    padding: 10px;
    border-radius: 2vmax;
    text-align: center;
}

#auth_lock {
    height: 5vmax;
}

#auth_prompt {
    margin: 2vmax;
    font-size: 2.5vmax;
}

.auth_button_back {
    display: inline-block;
    width: 40%;
    box-sizing: border-box;
    padding: 2vmax;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    font-size: 2.5vmax;
}

.auth_button_back:hover {
    color: #885;
}

.auth_button {
    user-select: none;
    -webkit-user-select: none;
    display: inline-block;
    width: 40%;
    box-sizing: border-box;
    padding: 2vmax;
    border-style: solid;
    border-color: #000;
    border-radius: 8px;
    background: #558;
    text-align: center;
    cursor: pointer;
    font-size: 2.5vmax;
}

.auth_button:hover {
    background: #885;
}

#auth_input {
    font-size: 5vmax;
    width: 90%;
    border: 5vmax;
    box-sizing: border-box;
    margin-bottom: 3vmax;
}

#auth_sorry {
    display: none;
    margin-bottom: 4vmax;
    font-size: 2vmax;
}

#player {
    position: fixed;
    display: none;
    bottom: 2vmax;
    height: 5vmax;
    background: #ccc;
    width: 90%;
    white-space: nowrap;
    margin-left: 5%;
    border-radius: 2.5vmax;
}

#player_progress_container {
    width: 100%;
    height: 3vmax;
    box-sizing: border-box;
    padding: 0vmax;
    background: #333;
    margin-top: 1vmax;
    margin-right: 1vmax;
    flex-grow: 1;
    border-radius: 1.5vmax;
}

#player_progress {
    height: 100%;
    padding: 0;
    margin: 0;
    border-radius: 1.5vmax;
    box-sizing: border-box;
    border: 2px solid;
    border-color: #555;
}

@keyframes barberpole {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100px 0;
    }
}

.player_notplaying {
    background: var(--theme-dark);
}

.player_playing {
    background: repeating-linear-gradient(
        -45deg,
        var(--theme-light) 0%,
        var(--theme-light) 25%,
        var(--theme-dark) 25%,
        var(--theme-dark) 50%
    );
    background-size: 20px 20px;
    animation: barberpole 6s linear infinite;
}

#player_playpause {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vmax;
    user-select: none;
    cursor: pointer;
    filter: brightness(0);
    box-sizing: border-box;
    padding: 1vmax;
    margin-left: 0.25em;
}

#player_time {
    vertical-align: middle;
    color: #000;
}

#playpause:hover {
    filter: brightness(1);
}

@media screen and (max-width: 700px) {
    #column1,
    #column2 {
        flex: 100%;
    }
}

#search input {
    font-size: 2.5vh;
}

#search_submit,
#search_clear {
    font-size: 2.5vh;
    cursor: pointer;
    background: var(--theme-light);
    color: #fff;
    border: none;
}

#search_submit:hover,
#search_clear:hover {
    background: var(--theme-dark);
}

.items {
    margin-left: 5vw;
}

#search_results {
    margin: 2vw;
}

.item {
    font-size: 3vmax;
    color: #fff;
    margin-bottom: 2vmax;
}

.item_name:hover,
.item_movement:hover,
.item_title:hover,
.item_concert:hover {
    color: var(--theme-light);
    user-select: none;
    cursor: pointer;
}

.item_title {
    font-size: 2.5vmax;
}

.item_title_concert {
    color: #66c;
    font-style: italic;
}

.item_subtitle,
.item_concert {
    font-size: 1.5vmax;
    color: #888;
    font-style: italic;
}

.item_movement {
    font-size: 1.5vmax;
    margin-left: 3vmax;
    margin-bottom: 1vmax;
    color: #ddd;
}

#vertical_space {
    height: 10vmax;
}

#program {
    display: none;
    position: absolute;
    top: 5%;
    right: 2%;
    width: 90%;
    max-width: 600px;
    height: 85%;
}

#program_img {
    width: 100%;
    height: auto;
}

#program_controls {
    display: flex;
    width: 100%;
    background: #fff;
    color: #000;
    user-select: none;
}

#program_back,
#program_close,
#program_next {
    flex-grow: 1;
    text-align: center;
    font-size: 2vmax;
    cursor: pointer;
    border-radius: 1vmax;
    color: #fff;
    padding: 0.5vmax;
    background: var(--theme-light);
    margin: 2vmax;
}

#program_back:hover,
#program_close:hover,
#program_next:hover {
    background: var(--theme-dark);
}

#program_pagenumber {
    background: #fff;
    color: #000;
    text-align: center;
    font-size: 1vh;
}

#search_summary {
    color: #aaa;
    font-style: italic;
    font-size: 2vh;
    margin-left: 5vw;
    margin-bottom: 3vh;
    margin-top: 1vh;
}

.goback {
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
}
