:root {
	--primary: blue;
}







html, body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	line-height: 1.3em;
	font-size: 1em;
}
body {
	padding: 1em;
}
a {
	color: var(--primary);
	text-decoration: none;
}
header a:hover, .pop_up_template a:hover, a.article_arena_link:hover, .view_inner a:hover, .article_source_wrapper a:hover {
	color: white;
	background: var(--primary);
}
footer a {
	color: black;
}
img {
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 1em;
	line-height: 1.3em;
}
blockquote {
	font-style: italic;
	margin-left: 0;
	margin-right: 0;
	padding-left: .6em;
	border-left: 1px solid #aaa;
}
h1, h2, h3, h4 {
	font-weight: normal;
}






#bg {
	background-image: url('../img/bg-hd.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	opacity: .65;
}







header {
	display: flex;
	padding-bottom: 1em;
	border-bottom: 2px dotted black;
	position: relative;
	margin-bottom: 1em;
}
.header_column {
	justify-content: space-between;
	min-width: 30%;
	flex-grow: 2;
}

header p, header ul {
	margin: 0;
}
header #pnr:after { content: ' +491715749482' }
header #madr:before { content: 'mail' }
header #madr:after { content: 'leuys.com' }

#status {
	padding: .4em .63em .35em .6em;
	border: 1px solid black;
	border-radius: 5px;
	float: right;
	color: black;
	white-space: nowrap;
	background: white;
}
#status_indicator {
	margin-right: .15em;
}
#time_marker {
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: black;
	bottom: 0;
	right: 0;
	border-radius: 50%;
	transform: translate(0, calc(50% + 1px));
}






section#controlls {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	margin-top: .5em;
	position: sticky;
	top: 1em;
	z-index: 1000;
	pointer-events: none;
}
#filter_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
#filter_list li {
	display: inline;
	margin-right: 1em;
	white-space: nowrap;
	margin-bottom: 1em;
	font-weight: bold;
}
.filter_checkbox {
	cursor: pointer;
	pointer-events: auto;
}
.filter_label {
	cursor: pointer;
	padding-left: 0.3em;
	pointer-events: auto;
}
#size_slider {
	margin-bottom: 1em;
	pointer-events: auto;
}






footer {
	position: fixed;
	padding: 0 1em;
	bottom: 1em;
	width: 100%;
	left: 0;
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
	z-index: 1000;
}
#arena_about_link:hover {
	text-decoration: underline;
}
#top_button {
	font-weight: bold;
}







main {
	padding-bottom: 10em;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}









article {
	width: 300px;
	height: 300px;
	margin: 2em .5em;
	line-height: 1.5em;
	box-sizing: border-box;
	border: 2px solid transparent;
	position: relative;
}
article:hover {
	border: 2px solid #999;
}
article img, article iframe {
	max-width: 100%;
	max-height: 100%;
	display: block;
}
article iframe {
	display: none;
}
article.expanded iframe {
	display: block;
}
.type_Text, .type_Channel {
	border: 2px solid #888;
}
#channel_content article.expanded {
	width: 100%;
	height: auto;
	border-color: transparent;
	background: rgba(255,255,255,.8);
	cursor: auto;
	margin-left: 0;
	margin-right: 0;
	padding: 1rem;
	display: flex;
	flex-wrap: wrap;
	border: 2px ridge;
}

.size_button {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	opacity: 0;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: rgba(255,255,255,.3);
	z-index: 1;
	font-size: 1rem;
}
.size_button:after {
	content: '↕️';
}
article:hover .size_button, article:focus .size_button {
	opacity: 1;
}
article.expanded .size_button {
	width: auto;
	top: 0;
	right: 1rem;
	height: auto;
	opacity: 1;
	background: transparent;
	transform: translate(0,-50%);
}
article.expanded .size_button:after {
	content: '↙️';
	opacity: .8;
}
article.expanded .size_button:hover:after {
	opacity: 1;
}
.article_content {
	display: none;
	width: 30%;
	padding-left: 1rem;
	box-sizing: border-box;
}
.expanded .article_content {
	display: block;
}
.article_title {
	margin: 0;
	margin-top: 1rem;
	padding: 0;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
	font-size: 1.2rem;
	margin-bottom: 1em;
}
.article_info {
	padding-top: 1em;
	margin-top: 1em;
	border-top: 2px groove;
	font-size: .8em;
	line-height: 1.5em;
}
.article_info span {
	display: block;
}
.article_source_wrapper {
	border-top: 2px groove;
	margin-top: 1em;
	padding-top: 1em;
}
.article_source_wrapper a {
	word-break: break-all;
}
.article_description {
	border-top: 2px groove;
	margin-top: 1em;
}

article.undefined {
	order: -2000000000 !important;
}







.view {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
	flex-wrap: wrap;
	position: relative;
	line-height: 1.3em;
}
.expanded .view {
	width: 60%;
	height: auto;
	flex-grow: 2;
	line-height: inherit;
	background: white;
}
.type_Text .view {
	align-items: flex-start;
	padding: 0 1em;
	justify-content: flex-start;
}
.type_Text.expanded .view, .type_Channel.expanded .view {
	border: 1px solid black;
}
.type_Channel .view {
	text-align: center;
	padding-top: 2em;
	padding-bottom: 2em;
}
.type_Channel:not(.expanded) .view_inner a {
	color: inherit;
}
.channel_title {
	margin-top: 0;
}











@media (max-width: 720px) { 
	footer {
		font-size: 0.8em;
	}
	article {
		width: 200px;
		height: 200px;
	}
	.expanded .view, .article_content {
		width: 100%;
	}
	.article_content {
		padding-left: 0;
	}
}
@media (max-width: 375px) { 
	article {
		width: 155px;
		height: 155px;
	}
}