:root {
	--text-primary: #000;
	--text-secondary: #FFF;
	--primary-colour: #001F3F;
	--secondary-colour: #6A7B8B;
	--accent-colour: #FFC300;
	--link-colour: #3340CE;
	--green-colour: #0ABB5F;
	--amber-colour: #D5A85B;
	--red-colour: #9E423C;
	--column-light: #F0F8FF ;
	--column-dark: #F5F5F5 ;
	--column-highlight: #FFD700;
	--column-selected: #FFF;
	--column-selected-hover: #F0E0E0;
	--primary-sub-colour: #174C77;
	--secondary-sub-colour: #8D9FAE;
	--accent-sub-colour: #FFD94D;
}

@font-face {
	font-family: 'Alt Font';
	src: url('fonts/Fenix-Regular.ttf');
}

@font-face {
	font-family: 'Body Font';
	src: url('fonts/Karla-VariableFont_wght.ttf');
}

@font-face {
	font-family: 'Header Font';
	src: url('fonts/GermaniaOne-Regular.ttf');
}

a {
	color: var(--link-colour);
	text-decoration: underline;
	cursor: pointer;
}

h1 {
	font-family: 'Header Font';
	margin: 0px;
	padding: 0px;
}

h4 {
	margin: 0px 0px 20px 0px;
	padding: 0px;
}

.colour-primary {
	color: var(--primary-colour);
}

.colour-secondary {
	color: var(--secondary-colour);
}

.colour-accent {
	color: var(--accent-colour);
}

.colour-green {
	color: var(--green-colour);
}

.colour-amber {
	color: var(--amber-colour);
}

.colour-red {
	color: var(--red-colour)
}

.colour-white {
	color: #FFF;
}

.background-semi {
	background-color: #FFFFFFDD;
}

@keyframes rainbow { 
    0%{background-position:0% 50%}
    50%{background-position:100% 25%}
    100%{background-position:0% 50%}
}

.rainbow-text {
	background-image: repeating-linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet, red);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #FFF;
	border-radius:6px;
	width:fit-content;
	animation: rainbow 8s ease infinite;
	background-size:800% 800%;
}

.hint-text {
	color: var(--secondary-colour);
	margin:4px 0px 4px 0px;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: 'Body Font';
	font-size: 20px;
}

table {
	border-spacing: 0 1em;
}

.inlay-left-to-right {
	padding: 8px;
	border-radius: 0px 8px 8px 0px;
}

.teaser-background {
	
	width: 100%;
	background-color: var(--primary-colour);
	text-align: center;
	justify-content: center;
}

.navbar {
	padding: 10px;
	height: 60px;
	background-color: #FFF;
	display:flex;
}

.navbar-brand {
	font-family: 'Header Font';
	font-size: 48px;
	align-items:center;
	display: flex;
	text-decoration: none;
	color: var(--accent-colour);
	transition: all .2s ease-in-out;
}

.navbar-brand:hover {
	color: var(--accent-sub-colour);
	transform: scale(1.02);
}

.navbar-items-centre {
	margin-left:30px;
	margin-right:30px;
	display: flex;
	align-items:center;
	width:100%;
}

.navbar-items-left {
	display: flex;
	align-items: center;
}

.navbar-item {
	font-size: 24px;
	min-height: 50px;
	color: var(--text-primary);
	text-decoration: none;
	align-content: center;
}

.navbar-item:last-child {
	border-right: 0;
}

.navbar-item:hover {
	color: var(--secondary-sub-colour);
	text-decoration: none;
}

.navbar-items-centre .navbar-item {
	border:0;
	padding: 0px 18px 0px 18px;	
}

.navbar-items-centre .navbar-brand {
	padding: 0px 18px 0px 18px;
	max-width: 16%;
}

.navbar-items-right {
	display:flex;
	margin-left: auto;
	align-items:center;
}

.navbar-search {
	display: inline;
	margin: auto;
}

.searchbar {
	min-height: 28px;
	max-height: 32px;
	min-width: 350px;
	max-width: 550px;
	margin: auto;
	color: var(--text-primary);
	border-color: var(--text-primary);
	border-width: 2px;
	border-radius: 8px 0px 0px 8px;
}

.searchbar-button {
	min-height: 28px;
	max-height: 32px;
	float: right;
	background-color: var(--text-primary);
	color: var(--text-secondary);
	border-width: 2px;
	border-radius: 0px 8px 8px 0px;
}

.searchbar-button:hover {
	cursor:pointer;
	background-color: var(--secondary-sub-colour);
	color: var(--text-primary)
}

.footer {
	background-color: #FFF;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
}

.footer-bar {
	margin-top: 6px;
	margin-left:24px;
	margin-right:24px;
	border-top: 2px solid #000;
}

.main-area {
	padding: 60px;
	padding-top:0px;
}

.no-pad {
	padding: 0 !important;
}

.no-margin {
	margin: 0 !important;
}

.float-right {
	float: right;
    padding-right: 2px;
}

.modal {
	position:fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	justify-content: center;
	align-items: center;
}

.modal-content {
	position: relative;
	border-radius: 6px;
	background-color: #FFF;
	width: fit-content;
	margin: auto;
	top: 25%;
	padding: 5px;
}

.modal-menu-button {
	float: right;
	cursor: pointer;
	color: #222;
	padding: 4px;
}

.modal-menu-button:hover {
	color: #000;
	background-color: #DDD;
}

.schedule-arrow {
	background-color: #FFF;
	height: 32px;
    margin: auto;
    border-radius: 15px;
    width: 32px;
}

.schedule-arrow:hover {
	background-color: #DDD;
	cursor: pointer;
}

.schedule-arrow:disabled {
	background-color: #FFF;
}

.schedule-arrow:disabled:hover {
	cursor:not-allowed;
}

.login-area {
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.account-column {
	min-width: 300px;
	width: 100%;
}

.horizontal-input-area {
	margin-left: 20px;
	margin-right: 20px;
	text-align: left;
	display: flex;
}

.input-label {
	margin-left: 10px;
	margin-right: 10px;
}

.input-field {
	height: 30px;
	margin-top: auto;
	margin-bottom: auto;
}

.input-field-long {
	height: 30px;
	width: 220px;
	margin-top: auto;
	margin-bottom: auto;
}

.input-small {
	height:30px;
	width:50px;
	margin-top:auto;
	margin-bottom:auto;
}

.hidden {
	display: none;
}

.vertical-centred {
	margin-top: auto !important;
	margin-bottom: auto !important;
}

.vertical-group {
	display: block;
}

.vertical-group-item {
	margin-top: 8px;
	margin-bottom: 8px;
}

.vertical-group-item:first-of-type {
	margin-top: 0px;
}

.vertical-group-item:last-of-type {
	margin-bottom: 0px;
}

.horizontal-group {
	display: inline-flex;
	padding-top: 24px;
	padding-bottom: 24px;
}

.horizontal-group-item {
	margin-left: 8px;
	margin-right: 8px;
}

.horizontal-group-item:first-of-type {
	margin-left: 0px;
}

.horizontal-group-item:last-of-type {
	margin-right: 0px;
}

.flex-group {
	display: flex;
}

.clamp-bottom {
	position: absolute;
	bottom: 0;
	flex-grow: 1;
}

.full-width {
	width: 100% !important;
}

.half-width {
	width: 50% !important;
}

.main-sidebar {
	width:28%;
}

.fifth-width {
	width: 20%;
	overflow-x: scroll;
}

.auto-width {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.scroll-x {
	overflow-x: scroll;
}

.fill-right {
	padding-left:20%;
	
}

.centered-simple {
	text-align: center;
	align-self: center;
	display: block;
	margin: auto;
}

.canvas-overlay {
	position:absolute !important;
	z-index: 1;
}

.canvas-area {
	min-width:90px;
	min-height:85px;
	width: 100%;
	position: relative;
}

.canvas-area-main {
	min-width:640px;
	min-height:360px;
	width: 100%;
	position: relative;
}

.canvas-item {
	width: 100%;
	height: 100%;
	position: absolute;
}

.button-screen {
	width:100%;
	height:100%;
	background-color: #000;
	font-family:'Header Font';
	color: var(--accent-colour);
	font-size: 96px;
	border-radius: 20px;
}

.button-screen:hover {
	cursor:pointer;
	color: var(--accent-sub-colour);
}

.button-white {
	font-family: 'Header Font';
	font-size: 24px;
	color: var(--text-primary);
	text-decoration: none;
	background-color: #FFF;
	border: 2px solid var(--accent-colour);
	border-radius: 5px;
	padding: 10px;
	width: 160px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.button-white:hover {
	background-color: var(--accent-colour);
	color: #FFF;
}

.button-primary {
	font-family: 'Header Font';
	font-size: 24px;
	color: #FFF;
	text-decoration: none;
	background-color: var(--primary-colour);
	border: 2px solid var(--primary-colour);
	border-radius: 5px;
	padding: 10px;
	width: 180px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.button-primary:hover {
	background-color: #FFF;
	color: var(--primary-colour);
}

.button-primary:disabled {
	background-color: #dedede;
	color: #333333;
}

.button-primary:disabled:hover {
	background-color: #e2e2e2;
	color: #373737;
}

.button-secondary {
	font-family: 'Header Font';
	font-size: 24px;
	color: #FFF;
	text-decoration: none;
	background-color: var(--secondary-colour);
	border: 2px solid var(--secondary-colour);
	border-radius: 5px;
	padding: 10px;
	width: 180px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.button-secondary:hover {
	background-color: #FFF;
	color: var(--secondary-colour);
}

.button-secondary:disabled {
	background-color: #dedede;
	color: #333333;
}

.button-secondary:disabled:hover {
	background-color: #e2e2e2;
	color:#373737;
}

.button-danger {
	font-family: 'Header Font';
	font-size: 24px;
	color: #FFF;
	text-decoration: none;
	background-color: var(--red-colour);
	border: 2px solid var(--red-colour);
	border-radius: 5px;
	padding: 10px;
	width: 180px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.button-danger:hover {
	background-color: #FFF;
	color: var(--red-colour);
}

.button-danger:disabled {
	background-color: #dedede;
	color: #333333;
}

.button-danger:disabled:hover {
	background-color: #e2e2e2;
	color: #373737;
}

.pill-button-icon {
	font-size:medium;
	justify-content: center;
	display: inline-flex;
	margin:0px;
	margin-right: 4px;
	padding:0px;
	color: inherit;
	background-color: #FFF;
	width: 22px;
	height: 22px;
	border-radius: 10px;
}

.pill-button-text {
	vertical-align:middle;
	display: inline-flex;
	margin: 0px;
	margin-right: 2px;
}

.pill-button-primary {
    font-family: 'Header Font';
    font-size: 18px;
    color: #FFF;
    text-decoration: none;
    background-color: var(--primary-colour);
    border: 2px solid var(--primary-colour);
    border-radius: 16px;
    padding: 4px;
    width: 80px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.pill-button-primary > .pill-button-icon {
	color: var(--primary-colour);
}

.pill-button-primary:hover {
	background-color: #FFF;
	color: var(--primary-colour);
}

.pill-button-primary:hover > .pill-button-icon {
	background-color: var(--primary-colour);
	color: #FFF;
}

.pill-button-primary:disabled {
	background-color: #dedede;
	color: #333333;
}

.pill-button-primary:disabled:hover {
	background-color: #e2e2e2;
	color: #373737;
}

.pill-button-secondary {
    font-family: 'Header Font';
    font-size: 18px;
    color: #FFF;
    text-decoration: none;
    background-color: var(--secondary-colour);
    border: 2px solid var(--secondary-colour);
    border-radius: 16px;
    padding: 4px;
    width: 80px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.pill-button-secondary:hover {
	background-color: #FFF;
	color: var(--secondary-colour);
}

.pill-button-secondary:disabled {
	background-color: #dedede;
	color: #333333;
}

.pill-button-secondary:disabled:hover {
	background-color: #e2e2e2;
	color:#373737;
}

.radio-field {
	display: flex;
	overflow: hidden;
}

.radio-field input {
	color: var(--text-primary);
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.radio-field label {
	background-color: #e4e4e4;
	line-height:1;
	text-align:center;
	padding: 8px 16px;
	margin-right: -1px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.radio-field label:hover {
	cursor: pointer;
}

.radio-field input:checked + label {
	color: var(--text-secondary);
	background-color: var(--primary-colour);
	box-shadow: none;
}

.radio-field label:first-of-type {
	border-radius: 5px 0 0 5px;
}

.radio-field label:last-of-type {
	border-radius: 0 5px 5px 0;
}

.week-view {
	display: flex;
	overflow: scroll;
}

.day-column {
	padding-left: 10px;
	padding-right: 10px;
	min-width: 150px;
	border:#000 solid;
}

.hour-row {
	display:flex;
}

.hour-row:hover {
	background-color: var(--column-highlight);
}

.hour-selected {
	background-color: var(--column-selected);
}

.hour-selected:hover {
	background-color: var(--column-selected-hover);
}

.timeslot-icon {
	margin-top: auto;
	margin-bottom: auto;
	border-radius: 7px;
	width: 12px;
	height: 12px;
	display:inline-block;
	border: 1px black solid;
	vertical-align: middle;
}

.timeslot-now {
	color: var(--red-colour);
	margin-top: auto;
	margin-bottom: auto;
	display:inline-block;
}

.schedule-item {
	display: flex;
}

.background-light {
	background-color: var(--column-light);
}

.background-dark {
	background-color: var(--column-dark);
}

.list-white {
	padding: 14px 0px 14px 0px;
	display: inline-block;
	list-style-type: none;
	font-family: 'Body Font';
	font-size: 20px;
	border: 2px solid var(--text-primary);
	border-radius: 5px;
	color: var(--text-primary);
}

.list-white li {
	margin-bottom: 8px;
	border-bottom: 2px solid var(--text-primary);
	padding: 0px 16px 8px 16px;
}

.list-white li:last-child {
	border-bottom: none;
	padding: 0px 16px 0px 16px;
	margin-bottom: 0;
}

.channel-preview-collection {
	display: flex;
}

.channel-preview-card {
	text-decoration: none;
	display: block;
	border: 2px solid #000;
	border-radius: 10px;
	width: 200px;
	height: 165px;
	margin: 5px 10px 5px 10px;
	padding: 10px;
	overflow: hidden;
	transition: background-color 0.2s ease-in-out;
}

.channel-preview-card:hover{
	text-decoration: none;
	background: var(--secondary-sub-colour);
}

.channel-preview-image-container {
	width: 160px;
	height: 90px;
	margin: auto;
}

.channel-preview-image {
	width: 160px;
	height: 90px;
	object-fit:contain;
	display: block;
	margin: auto;
}

.channel-preview-name {
	white-space: nowrap;
	font-size: 20px;
	color: var(--text-primary);
	font-family:'Body Font';
	margin: 0px;
	padding: 0px 5px 0px 5px;
}

.channel-preview-subscribed {
	display: block;
	height: 20px;
	width: fit-content;
	align-content: center;
	margin: 4px;
	padding: 2px 7px 2px 7px;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid var(--primary-sub-colour);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #FFF;
	background-color: var(--primary-sub-colour);
}

.channel-preview-can-subscribe {
	display: block;
	height: 20px;
	width: fit-content;
	align-content: center;
	cursor: pointer;
	margin: 4px;
	padding: 2px 7px 2px 7px;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid var(--link-colour);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #FFF;
	background-color: var(--link-colour);
}

.channel-preview-can-subscribe:hover {
	background-color: #FFF;
	color: var(--link-colour);
}

.channel-preview-nowplaying {
	white-space: nowrap;
	font-size: 18px;
	color: var(--text-primary);
	font-family: 'Body Font';
	font-weight: bold;
	margin: 0px;
	padding: 0px 5px 0px 5px;
}

.player-preview-empty {
	display: flex;
	align-content: center;
	flex-direction: column;
}

.player-preview-main {
	width:100%;
	height: 100%;
}

.player-preview-area {
	margin-left: 30px;
	margin-right: 150px;
}

.view-split-area {
    width: fit-content;
    text-align: center;
}

.view-splitter {
	margin: auto;
}

.dropdown-button {
	background-color: #FFF;
	color: var(--text-primary);
	font-size: 32px;
	padding: 16px;
	border: none;
	cursor: pointer;
	font-family: 'Body Font';
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-list {
	display: none;
	position: absolute;
	background: linear-gradient(var(--accent-sub-colour) 0%, #FFF 1%);
	min-width: 320px;
	box-shadow: 5px 10px 10px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	border-radius: 0px 0px 10px 10px;
}

.dropdown-list a {
	color: #000;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-list a:hover {

}

.dropdown:hover .dropdown-list {
	display: block;
}

.dropdown:hover .dropdown-button {
	background-color: var(--accent-sub-colour);
	border-radius:10px 10px 0px 0px;
	color: var(--text-secondary);
	transition: all 0.2s ease-in-out;
}

.dropdown:hover .dropdown-list {
}

.switch {
	position: relative;
	display: inline-block;
	width: 62px;
	height: 34px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #111;
	-webkit-transition: .2s;
	transition: .2s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .2s;
	transition: .2s;
}

input:checked + .slider {
	background-color: #111;
}

input:focus + .slider {
	box-shadow: 0 0 4px #777;
}

input:checked + .slider:before {
	-webkit-transform: scale(2, 0.35) translate(7px, 16px);
	-ms-transform: scale(2, 0.35) translate(7px, 16px);
	transform: scale(2, 0.35) translate(7px, 16px);

}

.scroll {
	transform: translateX(100%);
	animation: scroll-text 10s linear infinite;
}

.tooltip {
	position: relative;
	display:inline-block;
	border-bottom: 1px dotted #555;
	
	cursor: pointer;
}

.tooltip .tooltip-text {
	visibility: hidden;
	width: 240px;
	background-color: #555;
	color: white;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;

	position: absolute;
	top: -5px;
	left: 105%;
	z-index: 1;

	opacity:0;
	transition: opacity 0.5s;
}

.tooltip:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.selected-tag-pill {
	color: #FFF;
	background-color: var(--primary-colour);
	border: 1px solid var(--primary-colour);
	border-radius: 14px;
	min-height: 32px;
	cursor: pointer;
	padding: 1px 8px 1px 8px;
	margin: 0px 1px 0px 1px;
	transition: all .1s ease-in-out;
}

.selected-tag-pill:hover {
	color: #000;
	background-color: #FFF;
	border: 1px solid var(--primary-colour);
}

.tag-pill {
	background-color: #FFF;
	border: 1px solid var(--accent-colour);
	border-radius: 12px;
	min-height: 32px; 
	cursor: pointer;
	padding: 1px 8px 1px 8px;
	transition: all .1s ease-in-out; 
}

.tag-pill:hover {
	background-color: var(--accent-sub-colour);
	border: 3px solid var(--accent-sub-colour);
	color: #FFF;
}


.infinite-scroll-area {
	overflow-x: auto;
	white-space: nowrap;
}

.card-grid {
	margin-left:auto;
	margin-right:auto;
	list-style: none;
	padding-left:15%;
	padding-right:15%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5%;
}

.card-grid li {
	background-color: var(--primary-colour);
	color: #FFF;
	padding: 15px;
	text-align: center;
	border-radius: 6px;
}

.channel-plans-collection {
	display: flex;
}

.channel-plan-card {
	display: flex;
	flex-direction: column;
	margin: 4px 20px 4px 20px;
	padding: 12px;
	border-radius: 10px;
	box-shadow: 0px 10px 10px 0px #888;
	position: relative;
	padding-bottom: 64px;
}

.channel-plan-header {
}

.channel-plan-subheader {
}

.channel-plan-image {
	width: 160px;
	object-fit: contain;
	display: block;
	margin: auto;
}

.channel-plan-text {
}

.timeline-split {
	display: flex;
	flex-direction: row;
}

.timeline-guide {
	display: flex;
	flex-direction: column;
}

.timeline-sidebar {
	width: 250px;
	background-color: var(--primary-colour);
	height: 100%;
}

.timeline-wrapped-columns {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 10px;
}

.timeline-sidebar-columns {
	display: flex;
}

.timeline-column {
	min-width:350px;
	height: 600px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 10px;
	box-shadow: 0px 10px 10px 0px #888;
	box-sizing: border-box;
}

.timeline-scrolling-row {
	max-width: 300px;
	min-width: 250px;
	min-height: 40px;
	display:inline-flex;
}

.timeline-table {
	border-spacing:0;
}

.timeline-table th {
	min-width: 235px;
}

.timeline-time {
	min-width: 55px !important;
	max-width: 60px;
}

.timeline-sidebar-channel {
	width:60px;
}

.timeline-table tr {
	height: 40px;
}

.timeline-table td:hover {
	background-color: var(--column-highlight);
}

.timeline-table-item {
	width: 100%;
	display: flex;
	flex-basis: content;
}

.timeline-table-item:hover {
	border-radius: 6px;
	background-color: #FFF;
	cursor:pointer;
}

.timeline-table-label {
	
}

.scroll-right-button {
	border-radius: 24px;
	width: 50px;
	height: 50px;
	margin: auto;
	background-color: #FFF;
	padding: 0px;
}

@keyframes scroll-text {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(-100%);
	}
}
