/*-------------------------------------
BASICS
-------------------------------------*/

:root
{
	/*COLOURS*/

	/*Body*/
	--body-bg: #333333;
	--box-shadow: rgba(0, 0, 0, 0.2);

	/*Header*/
	--header: rgb(150, 150, 150);
	--header-bg: rgb(27, 27, 27);
	--header-border-bottom: #999;

	/*Footer*/
	--footer: rgb(150, 150, 150);
	--footer-bg: rgb(27, 27, 27);
	--footer-border-top: #999;

	/*Link*/
	--link-normal: rgb(172, 172, 172);
	--link-visited: rgb(201, 201, 201);
	--link-hover: rgb(241, 241, 241);
	--link-active: rgb(255, 255, 255);

	/*Text*/
	--h1: rgb(223, 223, 223);
	--h2: rgb(223, 223, 223);

	/*Windows*/
	--window: rgb(32, 32, 32);
	--window-bg: rgb(87, 87, 87);
	--window-header-bg: rgb(60,60,60);
	--window-title: rgb(223, 223, 223);
	--window-title-borderbottom: #999;
	--window-contentspace: rgb(230, 230, 230);
	--window-footer-bordertop: #999;
	--window-footer: rgb(223, 223, 223);
	--window-footer-bg: rgb(60,60,60);
	--window-border: #00ABE5;

	--post-summary: rgb(230, 230, 230);
	--post-summary-border: #999;
	--post-tags: rgb(199, 199, 199);

	/*Button*/
	--button: #fff;
	--button-bg: rgb(27,27,27);
	--button-hover-bg: #00558C;
	--button-hover-bs: #00ABE5;

	/*Sidepanel*/
	--sidepanel-content-bg: rgb(60,60,60);
	--sidepanel-content-bg-hover: rgb(32, 32, 32);
	--sidepanel-content-border: #00ABE5;
}

head
{
	margin: 0px;
	padding: 0px;
}

body
{
	background-color: var(--body-bg);
	font-family: Ubuntu Thin, sans-serif;
	margin: 0px;
	padding: 0px;
	background: #333333;
	background-image: url(bg.jpg);
	background-repeat: no-repeat;
	background-size: 100%;
	background-attachment: fixed;
}

.main-wrapper
{
	font-family: Ubuntu Thin, sans-serif;
	text-align: center;
	justify-content: center;
	align-items: center;
	margin-top: 70px;
	margin-left: clamp(1%, 50px, 80px);
}

.header-wrapper
{
	border-bottom: 2px solid var(--header-border-bottom);
	width: 100%;
	font-family: Ubuntu Thin, sans-serif;
	text-align: center;
	height: 60px;
	float: left;
	clear: both;
	box-shadow: 0 5px 5px var(--box-shadow);
	position:fixed;
	bottom: 0;
	top: 0;
	z-index: 100;
	opacity: 0.85;
	background-color: var(--header-bg);
	color: var(--header);
}

.footer-wrapper
{
	border-top: 2px solid var(--footer-border-top);
	width: 100%;
	font-family: Ubuntu Thin, sans-serif;
	text-align: center;
	height: 40px;
	float: left;
	clear: both;
	position: fixed;
	bottom:0;
	z-index:100;
	opacity: 0.85;
	background-color: var(--footer-bg);
	color: var(--header);
}

@keyframes fadein {
	from	{ opacity: 0; }
	to		{ opacity: 0.85; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from	{ opacity: 0; }
	to		{ opacity: 0.85; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from	{ opacity: 0; }
	to		{ opacity: 0.85; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from	{ opacity: 0; }
	to		{ opacity: 0.85; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from	{ opacity: 0; }
	to		{ opacity: 0.85; }
}

/*-------------------------------------
TEXT
-------------------------------------*/

a:link
{
	text-decoration: none;
	color: var(--link-normal);
}

a:visited
{
	text-decoration: none;
	color: var(--link-visited);
}

a:hover
{
	text-decoration: none;
	color: var(--link-hover);
}

a:active
{
	text-decoration: none;
	color: var(--link-active);
}

h1
{
	font-size: 18px;
	font-weight: 500;
	color: var(--h1);
}

h2
{
	font-size: 16px;
	font-weight: 500;
	color: var(--h2);
}

.titletext
{
	font-size: 20px;
	font-weight: 500;
	color: var(--window-title);
}

/*-------------------------------------
CONTAINERS
-------------------------------------*/

.header-content
{
	margin: 0;
	font-family: Ubuntu Thin, sans-serif;
	position: relative;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	color: var(--header);
}

.footer-content
{
	width: 100%;
	font-family: Ubuntu Thin, sans-serif;
	text-align: center;
	height: 30px;
	float: left;
	clear: both;
	position: fixed;
	bottom:0;
	z-index:100;
	opacity: 0.85;
	color: var(--footer);
}

.window, .window-thin, .postwindow, .windowbox, .subwindow
{
	color: var(--window);
	overflow: hidden;
	min-height: 100px;
	transition: transform .2s;
	margin: 10px;
	display: inline-block;
	vertical-align: top;
	-webkit-animation: fadein 1s;
	-moz-animation: fadein 1s; 
	-ms-animation: fadein 1s;
	-o-animation: fadein 1s;
	animation: fadein 1s;
	box-shadow: 5px 5px 5px var(--box-shadow);
	border-radius: 10px;
	background-color: var(--window-bg);
	/*border: 2px solid var(--window-border);*/
}

.window-thin
{
	
}

.postwindow
{
	opacity: 0.90;
}

.windowbox
{
	opacity: 0.85;
}

.windowbox:hover 
{
	-ms-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	transform: scale(1.05); 
}

.subwindow
{

}

.spacer
{
    height: 90px;
}

/*-------------------------------------
CONTENT SPACES
-------------------------------------*/

/*Generic window*/
.window-space
{
	text-align: justify;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.window-title
{
	font-family: Ubuntu , sans-serif;
	border-bottom: 2px solid var(--window-title-borderbottom);
	text-align: center;
	min-height: 60px;
	display: flex;
	align-content: center;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	color: var(--window-title);
	background-color: var(--window-header-bg);
}

.window-image
{
	width: 100%; 
	margin-bottom: -10%;
	filter: blur(0px);
	-webkit-filter: blur(0px);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.window-contentspace
{
	font-size: 18px;
	color: var(--window-contentspace);
	height: 100%;
	position: relative;
}

.window-content
{
	margin: 10px;
	text-align: justify;
	position: relative;
	bottom: 0;
	height: auto;
}

.window-footer
{
	border-top: 2px solid var(--window-footer-bordertop);
	height: 60px;
	display: flex;
	align-content: center;
	flex-wrap: wrap; 
	text-align: justify;
	padding-left: 10px;
	padding-right: 10px;
	color: var(--window-footer);
	background-color: var(--window-footer-bg);
}

/*Post*/
.post-summary
{
	width: 85%;
	height: auto;
	border-radius: 5px;
	text-align: justify;
	font-size: 20px;
	margin: 10px;
	border: 1px dashed var(--post-summary-border);
	color: var(--post-summary);
}

.post-tags
{
	
}

/*Windowbox*/
.windowbox-image
{
	width: 100%; 
	height: 70px;
	margin-bottom: -30px;
	filter: blur(2px);
	-webkit-filter: blur(2px);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

/*Sidepanel*/
.sidepanel-dropdown
{
	position: relative;
	display: inline-block;
}

.sidepanel-dropdown:hover .sidepanel-content
{
	display: block;
}

.sidepanel-dropdown:hover .dropdownbutton
{
	
}

.sidepanel-content
{
	border-radius: 5px;
	display: none;
	position: absolute;
	background-color: var(--sidepanel-content-bg);
	width: auto;
	align-content: center;
	padding: 10px;
	border: 1px solid var(--sidepanel-content-border);
}

.sidepanel-content a
{
	text-decoration: none;
	display: block;
}

.sidepanel-content a:hover
{
	
}

/*-------------------------------------
ELEMENTS
-------------------------------------*/

.headerimage
{ 
	height: 30px;
	filter: blur(3px);
	-webkit-filter: blur(3px);
}

.commonbutton
{
	font-family: Ubuntu;
	display: block;
	height: 30px;
	border-radius: 3px;
	border: 0;
	transition: all 0.3s ease-in-out;
	font-size: 20px;
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
	color: var(--button);
	background-color: var(--button-bg);
}

.commonbutton:hover
{
	cursor: pointer;
	background-color: var(--button-hover-bg);
	box-shadow: 0 3px 0 0 var(--button-hover-bs);
}

.dropdownbutton
{
	display: block;
	height: 30px;
	border-radius: 3px;
	border: 0;
	transition: all 0.3s ease-in-out;
	font-size: 20px;
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
	color: var(--button);
	background-color: var(--button-bg);
}

.dropdownbutton:hover
{
	cursor: pointer;
	background-color: var(--button-hover-bg);
	box-shadow: 0 3px 0 0 var(--button-hover-bs);
}

.sidepanelbutton
{
	height: 30px;
	border: 0;
	transition: all 0.3s ease-in-out;
	font-size: 20px;
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
	padding-right: 10px;
	color: var(--button);
	background-color: inherit;
}

.sidepanelbutton:hover
{
	cursor: pointer;
	box-shadow: -3px 0 0 0 var(--button-hover-bs);
}

.inputclass
{

}

.inputclass:focus
{

}

.inputclass-low
{

}

.inputclass-low:focus
{

}