/* Main layout and application styles */

/* Input field highlighting */
input.overlayMatch.outline {
    border: 2px solid #fdb94e;
}

/* Iframe styles */
iframe {
    border: none;
}

/* Main layout structure */
html,
body {
    height: 100%;
    background-color: #f3f4f6;
    color: #3c3a3b;
    font-family: sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    margin-bottom: 10px;
    padding: 10px;
    flex-grow: 0;
    flex-shrink: 0;
    color: white;
    background-color: #2eace9;
    font-size: 14px;
}

header * {
    color: white;
}

header h1 {
    width: 50%;
    padding-right: 10px;
    margin: 0;
    float: left;
}

header .headerRight {
    max-width: 50%;
    float: right;
    padding-left: 10px;
}

header:after {
    content: "";
    display: table;
    clear: both;
}

/* Main player section */
section#player {
    flex-grow: 1;
    display: flex;
    overflow: auto;
}

section#player .interface {
    width: 400px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

section#player .output {
    flex-grow: 1;
    margin: 10px;
    overflow: auto;
}

section#player .output vp-content {
    display: block;
    position: relative;
}

section#player .output vp-content iframe {
    background-color: white;
    display: block;
    margin: auto;
    width: 100%;
    height: 0;
}

/* Footer styles */
footer {
    height: auto;
    margin-top: 10px;
    padding: 5px 10px 10px;
    flex-grow: 0;
    flex-shrink: 0;
    background-color: #3c3a3b;
    color: white;
    font-size: 14px;
    position: relative;
}

footer * {
    color: white;
}

footer a {
    color: #fdb94e;
}

footer.fullDisclosure {
    height: 80%;
    overflow: auto;
}

footer.fullDisclosure .footerContent {
    max-width: 600px;
    margin: auto;
}

footer.fullDisclosure h4,
footer.fullDisclosure p {
    margin-bottom: 1em;
}

footer.fullDisclosure p {
    line-height: 1.5em;
}

/* Utility classes */
.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera, and Firefox */
}