@charset "utf-8";

/* Einbettung der Icon-Schrift von https://material.io/icons/ für lokale Anwendungen */
@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
	src: local('Material Icons'),
	local('MaterialIcons-Regular'),
	url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
	url(../fonts/MaterialIcons-Regular.woff) format('woff'),
	url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

/* CSS-Klasse zum Verwenden der Icon-Schrift */
.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'liga';
	padding: 5px;
	color: #999;
	text-align: center;
}

.material-icons:nth-child(3) {
    padding-left: 0;
}

/* Scrollbalken enfernen geht im Firefox nicht....
::-webkit-scrollbar {
    height: 0;
    width: 0;
    background: transparent;
	display: none;
}*/

/* Alle Zwischenräume zurücksetzen + Gesamte Breite der Seite */

*, html, body, header, nav, h1, h2, main, ul, footer {
    margin: 0;
    padding: 0;
}

header, nav, main, #content, ul, footer {
	width: 100%;
	box-sizing: border-box;
}

html, body, h1, h2, h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-style: normal;
}

body {
	background-color: #FFF;
	color: #000;
}

/* Schattierung der Kopfzeile */
header {
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 2px solid #999;
	-moz-box-shadow: 0 2px 2px rgba(153, 153, 153, 0.4);
    -webkit-box-shadow: 0 2px 2px rgba(153, 153, 153, 0.4);
    box-shadow: 0 2px 2px rgba(153, 153, 153, 0.4);
	z-index: 2;
}

header, footer {
	vertical-align: center;
	height: 34px;
	line-height: 35px;
	background-color: #FFF;
}

header, ul, footer {
	min-width: 305px;
}


/* Orangefarbene Linie */
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	border-top: 2px solid #F60;
}

/* Überschriften */
h1 {
	font-size: 18px;
}

h2 {
	font-size: 14px;
	float: left;
	width: 100%;
	color: #999;
}

main {
	position: fixed;
	top: 33px;
	left: 0;
	height: calc(100% - 49px);
	width: calc(100% + 20px);
	min-width: 325px; /* plus margin Pixel 305 normal */
	margin-right: -16px;
	overflow-x: hidden;
	overflow-y: scroll;
}

ul {
	list-style-type: none;
	z-index: 1;
	padding-top: 10px;
	background-color: #CCC;
	padding-bottom: 18px;
}

li {
	background-color: #FFF;
	padding: 8px;
	width: calc(100vw - 16px);
}

.list main ul li:nth-child(1n+2) {
	border-top: 1px solid #999;
}

li div:first-child {
	float: left;
}

li div img {
	float: left;
	display: block;
}

.list main ul li div:nth-child(2) {
	float: left;
	box-sizing: border-box;
	width: calc(100% - 70px);
	height: 70px;
	padding-left: 8px;
}

.list main ul li:after {
    content:"";
    clear:both;
    display:block;
}

.grid main ul li:last-child {
    margin-bottom: 20px;
}

.list main ul li div img {
	width: 70px;
	height: 70px;
}

.imgtitle {
	font-size: 16px;
	float: left;
	width: 100%;
	padding-top: 8px;
}

.tags {
	padding-top: 9px;
}

.play {
	margin-left: -6px;
}

.list main ul div a.more {
	margin-right: -12px;
}

.grid main ul li div, .grid main ul li div img {
	width: 100%;
	height: 100%;
}

.grid main ul li {
	box-sizing: border-box;
	padding: 8px;
	overflow: hidden;
	z-index: 1;
	float: left;
}

.grid main ul li div:nth-child(2) {
	box-sizing: border-box;
	padding: 20px;
	overflow: hidden;
	z-index: 2;
	float: left;
	position: relative;
}

.grid main ul li, .grid main ul li div:nth-child(2) {
	width: 25vw;
	height: 25vw;
}

.grid main ul li div:nth-child(2) {
	margin-top: -25vw;
}

@media only screen and (min-width: 400px) {
	.grid main ul li, .grid main ul li div:nth-child(2) {
		width: 20vw;
		height: 20vw;
	}
	
	.grid main ul li div:nth-child(2) {
		margin-top: -20vw;
	}
}

@media only screen and (min-width: 440px) {
	.grid main ul li, .grid main ul li div:nth-child(2) {
		width: calc(100vw / 6);
		height: calc(100vw / 6);
	}
	
	.grid main ul li div:nth-child(2) {
		margin-top: calc(100vw / 6 * -1);
	}
}

@media only screen and (min-width: 520px) {
	.grid main ul li, .grid main ul li div:nth-child(2) {
		width: calc(100vw / 7);
		height: calc(100vw / 7);
	}
	
	.grid main ul li div:nth-child(2) {
		margin-top: calc(100vw / 7 * -1);
	}
}

@media only screen and (min-width: 640px) {
	.grid main ul li, .grid main ul li div:nth-child(2) {
		width: calc(100vw / 8);
		height: calc(100vw / 8);
	}
	
	.grid main ul li div:nth-child(2) {
		margin-top: calc(100vw / 8 * -1);
	}
}

@media only screen and (min-width: 800px) {
	.grid main ul li, .grid main ul li div:nth-child(2) {
		width: calc(100vw / 9);
		height: calc(100vw / 9);
	}
	
	.grid main ul li div:nth-child(2) {
		margin-top: calc(100vw / 9 * -1);
	}
}

@media only screen and (min-width: 1000px) {
	.grid main ul li, .grid main ul li div:nth-child(2) {
		width: calc(100vw / 10);
		height: calc(100vw / 10);
	}
	
	.grid main ul li div:nth-child(2) {
		margin-top: calc(100vw / 10 * -1);
	}
}


.grid main ul div a.more {
	position: absolute;
	bottom: 0;
	right: 10px;
	text-shadow: 0 -0.5px #FFF, 0.5px 0 #FFF, 0 0.5px #FFF, -0.5px 0 #FFF;
}

.grid main ul li div h2, .grid main ul li div span, .grid main ul li div a.play, .list header nav a:nth-child(4), .grid header nav a:nth-child(5) {
	display: none;
}

/* Zusatzfunktionen / Eigenschaften */
.left { float: left; }
.right { float: right; }
.none { display: none; }
.display { display: block; }

a { text-decoration: none; }
a:hover, a:focus { color: #666 }
a { cursor: pointer; }

/* Effekte */
.fadein {
	animation: fadein 1s;
    -moz-animation: fadein 1s; /* Firefox */
    -webkit-animation: fadein 1s; /* Safari and Chrome */
    -o-animation: fadein 1s; /* Opera */
}

.fadeout {
	animation: fadeout 2s;
    -moz-animation: fadeout 2s; /* Firefox */
    -webkit-animation: fadeout 2s; /* Safari and Chrome */
    -o-animation: fadeout 2s; /* Opera */
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}
@-moz-keyframes fadein { /* Firefox */
    from { opacity: 0; }
    to { opacity: 1; }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from { opacity: 0; }
    to { opacity: 1; }
}
@-o-keyframes fadein { /* Opera */
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}
@-moz-keyframes fadeout { /* Firefox */
    from { opacity: 1; }
    to { opacity: 0; }
}
@-webkit-keyframes fadeout { /* Safari and Chrome */
    from { opacity: 1; }
    to { opacity: 0; }
}
@-o-keyframes fadeout { /* Opera */
    from { opacity: 1; }
    to { opacity: 0; }
}

/* nur zur Orientierung */
li:hover { background-color: #F0F0F0; cursor: pointer; }