@keyframes floating {
  0% {
    margin-top: -6em;
	margin-bottom: 6em;
  }

  50% {
    margin-top: -5em;
	margin-bottom: 5em;
  }

  100% {
    margin-top: -6em;
	margin-bottom: 6em;
  }
}

html {}
body {
	margin: 0;
	padding: 0;
	overflow: auto;
	background: #050505 url(images/lightstripe.png) repeat;
	font-family: Georgia, 'Helvetica', 'Open Sans', sans-serif;
	font-size: 14pt;
	font-weight: 400;
	color: #5B5B5B;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: normal;
	font-weight: 200;
	color: #222222;
}

h1 {
	font-size: 1.4em;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1em;
	margin-top: 1em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 120%;
}

ul, ol {
}

a {
	color: #54C7B8;
	text-decoration: none;
	transition: 0.2s ease-in color;
}

a:hover {
	text-decoration: none;
	color: #455269;
}

img { border: 0; }

b, strong { font-weight: 700; }

blockquote { margin: 1em; padding-left: 1em; border-left: 3px solid #455269; font-family: Georgia, sans-serif; font-style: italic; }

code {
	display: block;
	padding: 1em;
	margin: 1em 0;

	border: 1px solid #c6c6c6;
	border-radius: 0.2em;
	background: #f2f2f2;
	font: 0.9em "Lucida Console", Courier, monospace;
	white-space: nowrap;
	text-align: left;

	overflow: auto;
}

textarea { resize: none; /*height: 100px;*/ }

input, button, textarea {
	display: block;
	box-sizing: border-box;
	font: 0.8em open-sans, 'Segoe UI', sans-serif;
	box-shadow: 0 0 0.4em #f0f0f0;
	border: 1px solid #b6b6b6;
	background-color: #FFF;
	margin: 0 0 0.4em 0;
	padding: 0.6em 1em;
	width: 100%;

	transition: 0.25s ease-in background;
}
input[type="checkbox"] { width: auto; display: inline-block; vertical-align: middle; }

div.cke { margin-bottom: 0.4em; }
#entry-textarea { font-family: monospace; }

/* Header */
#floating-header { }

#header-wrapper {
	display: table;
	overflow: hidden;
	height: 100vh;
	width: 100%;
	background-image: url(images/record.jpg);
	background-size: cover;
	background-position: center center;
	color: #FFFFFF;
}
.nohome #header-wrapper { height: 50vh; }

#header {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0;
	background: rgba(0,0,0,0.68);
}
#header-wrapper.dim #header { background: rgba(0,0,0,0.68); }
.nohome #header { padding: 2em 0; }

#miniprofile {
	display: block;
	position: absolute;
	top: 2em;
	left: 2em;
	padding: 0.5em 1em 0.5em 0.5em;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 2em;
	color: #FFFFFF;
	opacity: 0.3;
}
#miniprofile * { display: inline-block; vertical-align: middle; }
#miniprofile img { height: 2em; border-radius: 1em; margin-right: 0.5em; }

/* Logo */

#logo { margin: 0; }

#logo h1 {
	text-transform: lowercase;
	letter-spacing: -2px;
	font-size: 2.6em;
	text-shadow: 1px 1px 1px #000;
	color: inherit;
}

#logo h1 a {
	color: inherit;
	cursor: url(images/trollface.png), auto;
}

#logo p {
	margin: 0;
	padding: 0;
	letter-spacing: -1px;
	font: normal 0.9em Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	color: #C6C6C6;
}

#logo p a { color: inherit; border-bottom: 1px dotted; }

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: inherit;
}

/* Menu */

#menu {
	height: 50px;
	margin: 0 auto;
	padding: 0;
}

#menu ul {
	margin: 0;
	padding: 1em 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li { display: inline-block; }

#menu a {
	display: block;
	line-height: 2.2em;
	margin: 0 0.4em 0.4em 0;
	padding: 0.1em 1em 0 1em;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 2.3em;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-size: 0.9em;
	font-weight: 300;
	color: #C6C6C6;
}
#menu ul li:last-child a { margin-right: 0; }

#menu a:hover, #menu a.active {
	background: rgba(0,0,0,0.8);
	border-color: #000000;
	text-decoration: none;
	color: #FFFFFF;
}

#menu a.active { }
#tags { margin: 6em 0 -6em 0; }
.nohome #tags { display: none; }

#tags ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#tags li { display: inline-block; }

#tags li a:before { display: inline-block; content: '#'; }
#tags li a { color: #c7c7c7; margin-right: 0.8em; }
#tags li a:hover { color: #FFFFFF; }
#tags li:last-child a { margin-right: 0; }
#tags span { display: none; }

#arrowDown {
	display: block;
	margin: -6em auto 6em auto;
	width: 2.5em;
	height: 2.5em;
	background: url(images/arrowDown.svg) center center no-repeat;
	background-size: cover;
	animation-duration: 2s;
	animation-name: floating;
	animation-iteration-count: infinite;
	opacity: 0.4;
}
#arrowDown:hover { opacity: 1; }
.nohome #arrowDown { display: none; }


/* Page */

#page {
	width: 88%;
	max-width: 800px;
	margin: 1em auto 0 auto;
	padding: 2em 0;
}

/* Content */

#content { padding: 0; }

article {
	overflow: hidden;
	margin-bottom: 4em;
	border: 1px solid #E7EBED;
	border-radius: 0.26em;
	background: #FFF;
	box-shadow: 0 0 0.2em #d4d4d4;
}
article.pinned { margin-bottom: 6em; background-color: #F4F3F4; }

article header {
	display: table;
	width: 100%;

	background-color: #000;
	background-image: url(images/material-flatc.jpg);
	background-size: cover;
	background-position: center;
	color: #FFF;
}
article header div {
	display: table-cell;
	vertical-align: bottom;
	width: 100%;
	padding: 2em 2em 2em 2em;
	height: 14em;
	background: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
}

article header h2 {	letter-spacing: -0.05em; color: inherit; }

article .meta {
	font-size: 0.95em;
	font-weight: 300;
	color: #c6c6c6;
}

article .meta a {
	display: inline-block;
	margin-left: 2em;
	text-decoration: none;
	color: inherit;
}

article .content {
	text-align: justify;
	color: #757578;
}
article .content p,
article .content h2,
article .content h3 {
	padding: 0.4em 1em;
}
article .content p:first-child,
article .content h2:first-child,
article .content h3:first-child {
	padding-top: 1em;
}

article .content ul { margin: 1em 0 1em 1em; padding: 0; }
article .content li { margin: 0.2em 1em; }
article .content ul.b li { margin: 1em 1em; }

article .pad { padding: 1em; }

article .content button {
	background-color: #FAFAFA;
	color: #3D3D3A;
	border: 0;
	box-shadow: none;
	cursor: pointer;

	transition: 0.25s ease-in background-color;
}
article .content button:hover { background-color: #F8F8F8; }


article .content .spoiler_c {
	padding: 0.4em 0;

	border-top: 1px dotted #3D3D3A;
	border-bottom: 1px dotted #3D3D3A;
}

article.tweet {
	border: 0;
	border-top: 1px solid #E7EBED;
	border-bottom: 1px solid #E7EBED;
	border-radius: 0;
}
article.tweet header div { height: auto; }
article.tweet .meta { display: none; }
article.tweet .content { padding: 0; text-align: right; }
article.tweet .content p { padding: 2em; }
article.tweet .content p.readmore { display: none; }

p.paginator a {
	display: inline-block;
	margin: 0 2em;
	font-size: 1.2em;
}
p.paginator a:last-child { margin-right: 0; }

/* Footer */

#footer {
	display: block;
	margin: 0 auto;
	padding: 3em 0 1.2em 0;
}

#footer-account { text-align: center; font-size: 120%; }

#footer-account input {
	display: inline-block;
	min-width: 160px;
	width: 10%;
	max-width: 300px;
	text-align: center;
}

#footer-account ul { list-style: none; padding: 0; }
#footer-account li { display: inline-block; padding: 0; margin: 0 1em; }

#footer p {
	margin: 0;
	padding-top: 10px;
	letter-spacing: 1px;
	line-height: normal;
	font-size: 14px;
	text-align: center;
	color: #5E5E5E;
}

#footer a {
	color: #5E5E5E;
}


/* Scroll up */
#scroll-up {
	position: fixed;
	display: block;
	bottom: 2em;
	right: 2em;
	width: 4em;
	height: 4em;
	background: #263238 url(images/arrowDown.svg) center center no-repeat;
	background-size: 60%;
	border-radius: 2em;
	box-shadow: 0 0 0.4em #000;
	transform: rotate(180deg);
	opacity: 0.4;
	z-index: 0; 
	transition: 0.25s ease all;
}
#scroll-up:hover { opacity: 1; }


/* Profile */
#content div.profile p,
#content div.profile h2 { margin: 0; padding: 6px; }

div.profile div.box {
	float: left;
	box-shadow: 0 0 0.4em #dbdbdb;
	background-color: #f5f5f5;
	margin: 10px 0;
}

div.box { width: 400px; min-height: 100px; border-left: 4px solid #7ad03a; }
div.box.recent { text-transform: uppercase; }
div.box.contact { border-left-color: #52accc; }
div.box.introduction { border-left-color: #dd823b; width: 100%; }

#profile_pic {
	float: left;
	width: 316px;
	height: 316px;
	background-size: cover;
	border-radius: 0.4em;
	margin: 10px 20px 10px 0;
	text-align: center;
}

#profile_pic button {
	display: inline-block;
	width: 48%;
	border: 0;
	margin: 0;
	box-shadow: none;
	background-color: #7ad03a;
	opacity: 0;

	transition: 0.25s ease-in opacity;
}
#profile_pic:hover button { opacity: 1; }


/* DESIGNED TABLE */
table.designed,
table.pro {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #FFF;
	border: 1px solid #f2f2f2;
	border-spacing: 0;
	border-collapse: collapse;
}

table button { padding: 0.2em; margin: 0; width: 120px; }

table.designed td { padding: 0.4em; }
table.designed tr:nth-child(2n+0) { background: #eaeaea; }
table.designed tr:first-child { background: #202434; color: #FFF; font-weight: bold; }
table.designed tr td:first-child { font-weight: bold; }

table.pro td { padding: 0.4em; }
table.pro tr:nth-child(2n+0) { background: #eaeaea; }

table.pro tr td:last-child { text-align: right; }


/* Infobars */
p.phantom {
	padding: 1em 0;
	text-align: center;
	background: rgba(0,0,0,0.2);
}
a p.phantom:hover { background: rgba(0,0,0,0.4); color: #fff; }

#errors, #infos {
	background-color: #ff0000;
	color: #FFF;
	text-align: center;
	margin-bottom: 1em;
}
#infos { background-color: #fffed9; color: #222222; }
#errors ul, #infos ul { margin: 0; padding: 0; }
#errors li, #infos li { margin: 0; padding: 0.5em 0; list-style: none; }


/* Typicons */
article p.meta a:before,
article p.meta .date:before,
p.paginator a:before { font: 16px typicons; padding-right: 0.2em; }

article p.meta .date:before { content: '\e120'; }
article p.meta .by:before { content: '\e12c'; }
article p.meta .pin:before { content: '\e0c9'; }
article p.meta .admin a.edit:before { content: '\e067';  }
article p.meta .admin a.delete:before  { content: '\e058'; }

p.paginator a:before { font-size: 1.2em; }
p.paginator a.prev:before { content: '\e047'; }
p.paginator a.next:before { content: '\e048'; }


/* EXTRA Stuff */
body.tinyscreen { width: 100%; }
body.tinyscreen #logo h1 { font-size: 2.2em; }
body.tinyscreen #page,
body.tinyscreen #content { max-width: none; width: 100%; }