﻿/* Element Styles */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

fieldset, textarea, button, input {
    border-radius: 5px;
}

fieldset {
    display: inline-block;
    border-width: 2px;
    border-style: groove;
    border-color: threedface;
    border-image: initial;
    padding: 10px;
}

legend {
    display: block;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}

h3 {
    font-size: 1.2em;
    margin: 4px 0 4px 0;
}

/* Container & Layout Control Styles */
.flex-container {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
}

.pane-tabs {
    width: 50px;
    background-color: #001441;
}

.pane-tools {
    width: 25vw;
    background-color: grey;
}

.previewPane {
    flex-grow: 1;
}

.pin-button {
    position: absolute;
    left: 25vw;
    top: 5px;
    z-index: 10;
}

.tabs-list li {
    padding: 5px;
    color: white;
}

    .tabs-list li:hover {
        cursor: pointer;
        color: #001441;
        background-color: darkorange;
    }

.tab-selected {
    background-color: darkslategrey;
}

.hidden {
    display: none !important;
}

#fldsetPreview {
    width: calc(100vw - 85px);
    margin-left: 5px;
    height: calc(100vh - 30px);
}

/* Visual Styles */
h3, .pane-tools legend {
    color: white;
}

.pane-tools {
    padding: 25px 5px 5px 5px;
}

    .pane-tools fieldset {
        width: calc(25vw - 25px);
    }

    .pane-tools textarea {
        width: 100%;
        box-sizing: border-box;
    }

.overflow-scroll {
    overflow-y: scroll;
}

.orisCodePre {
    display: inline-block;
    max-width: 50px;
    max-height: 20px;
    overflow: hidden;
}

    .orisCodePre:hover {
        cursor: help;
    }

.orisCodeOverlay {
    position: absolute;
    min-width: 50px;
    min-height: 50px;
    z-index: 10;
    padding: 20px;
    background-color: white;
    border: 1px solid grey;
    border-radius: 4px;
}

    .orisCodeOverlay h3 {
        color: black;
    }

#previewFrame {
    width: 100%;
    /*height: calc(100vh - 40px);*/
    height: 100%;
}

#runningTimeClock {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

#samplesTopicList li {
    color: #2d2e2e;
    cursor: pointer;
    margin-left: 10px;
    list-style-type: "^";
}

.currentPlaylistRow {
    background-color: aqua;
}

.dialog {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: white;
    border: 2px solid aqua;
    border-radius: 8px;
    width: 60vw;
    height: 70vh;
    flex-direction: column;
}

.dialog .controlBar {
    position: fixed;
    right: 7px;
    top: 7px;
    display: inline;
    z-index: 20;
}

.dialog .controlBar .contents {
    overflow-y: scroll;
    flex-grow: 1;
}

.dialog h1 {
    background: #001441;
    color: white;
    display: inline-block;
    width: calc(100% - 20px);
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dialog .contents {
    display: block;
    padding: 10px;
    overflow-y: scroll;
}

.dialog .bottomControlBar {
    bottom: 0;
    display: flex;
    z-index: 20;
    width: 100%;
    height: 50px;
    flex-direction: row;
}

.dialog .bottomControlBar button {
    width: 100%;
    flex-grow: initial;
    margin: 5px;
}

#AuthorNewPlaylistControls {
    width: calc(100% - 40px);
    display: table;
}

#AuthorNewPlaylistControls div {
    width: 100%;
    display: table-row;
}

#AuthorNewPlaylistControls input, #AuthorNewPlaylistControls select, #AuthorNewPlaylistControls label {
    display: table-cell;
}

#playlistAuthorItemsTable {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

#playlistsList li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#playlistsList li label {
    flex-grow: 2;
    justify-content: center;
    font-size: 0.8em;
}

#playlistContent td {
    padding-right: 5px;
}