:root {
    --bbc-white: #ffffff;
    --bbc-grey-1: #fefefe;
    --bbc-grey-2: #f6f6f6;
    --bbc-grey-3: #e6e8ea;
    --bbc-grey-4: #b0b2b4;
    --bbc-grey-5: #8a8c8e;
    --bbc-grey-6: #545658;
    --bbc-grey-7: #3a3c3e;
    --bbc-grey-8: #202224;
    --bbc-grey-9: #141618;
    --bbc-grey-10: #141414;
    --bbc-black: #000000;
    --bbc-active-core: #0078ff;
    --bbc-active-light: #3092ff;
    --bbc-active-dark: #0064e6;
    --bbc-live-core: #00a5a5;
    --bbc-live-light: #00bfba;
    --bbc-live-dark: #00857f;
    --bbc-success-core: #24b300;
    --bbc-success-light: #49cc29;
    --bbc-success-dark: #148a00;
    --bbc-success-extradark: #0a4500;
    --bbc-alert-core: #ffb32b;
    --bbc-alert-light: #ffce2b;
    --bbc-alert-dark: #c8871e;
    --bbc-error-core: #f51a5a;
    --bbc-error-light: #ff4060;
    --bbc-error-dark: #e4134f;
    --bbc-error-extradark: #720927;
}

body {
	overflow: hidden;
	position: absolute;
	width: 100vw;
	height: 100vh;
	background: var(--bbc-grey-8);
	padding: 0;
	margin: 0;
	color: white;
}

.fullscreen {
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
}

.hidden {
	display: none !important;
}

#video {
	padding: 0;
	margin: 0;
}

.overlay {
	display: flex;
	flex-direction: column;
	position: absolute;
	left: 10vw;
	top: 10vh;
	right: 10vw;
	bottom: 10vh;
    border: 4px solid var(--bbc-grey-4);
	overflow:hidden;
	background-color: rgba(0,0,0,0.8);
}

.overlay ul {
	flex-grow: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

.overlay ul li {
	display: block;
	font-size: 1.5em;
	font-weight: bold;
	color: black;
	margin: 0;
	padding: 0;
	text-align: center;
	flex-grow: 1;
}

.overlay ul li.tab-title:not(.selected) {
	background-color: var(--bbc-grey-4);
}

.overlay ul li.tab-title.selected {
	background-color: transparent;
	color: white;
}

.tab-page {
	flex-grow: 1;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-y: hidden;
}

.tab-page:not(.selected) {
	display:none;
}

.vscroll-container {
	display: flex;
	flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
	overflow-y: hidden;
	flex-grow: 1;
	flex-shrink: 1;
}

.vscroll-content {
	flex-grow: 1;
	flex-shrink: 1;

    margin: 0;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-x: hidden;
}

.console-content {
    padding: 0.2em;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    color: var(--bbc-grey-3);

    font-size: 13px;
    line-height: 17px;
	padding-bottom: 0.5em;
}

.vscroll-bar-container {
    box-sizing: border-box;
    position: relative;
    width: 24px;
    left: 0;
    height: 100%;
    padding: 4px;
	flex-grow: 0;
	background-color: var(--bbc-grey-6);
}

.vscroll-bar {
    position: relative;
    background-color: var(--bbc-grey-5);
    width: 100%;
    left: 0;
    margin: 0;
}

.status-box {
	display: flex;
	flex-direction: column;
}

.status-box p {
	flex-grow: 0;
	flex-shrink: 0;
}

#data-channel {
	overflow-x: hidden;
	overflow-y: hidden;
	flex-grow: 1;
	flex-shrink: 1;
}

pre {
	font-size: 11px;
}

ul.cta {
	display: flex;
	flex-direction: row;
	position: absolute;
	left: 1em;
	top: 1em;
	margin: 0;
	background-color: rgba(0,0,0,0.8);
	padding: 0.5em;
	list-style-type:none;
	gap: 1em;
}


.button {
	border-radius: 0.25em;
	border: none;
	padding: 0.25em;
}

.button.red {
	background-color: red;
	color: white;
	box-sizing: border-box;
}

.button.green {
	background-color: green;
	color: white;
}

.button.black {
	background-color: black;
	color: white;
	border: 2px solid white;
}

.columns-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
}

.column {
	display: block;
	flex-shrink: 1;
	flex-grow: 1;
}
