:root {
/*	--main-bg-color: #dadada;
	--top-nav-bg-color: #dadada;*/
	--main-bg-color: #757575;
	--top-nav-bg-color: #757575;
	--top-nav-text-color: #fff;
	--cat-nav-bg-color: #2d3033;
	--light-blue: #2d3033;
	--default-blue: #000000;
	--default-dark: #2d3033;
	--hovercolor: #c83737; 
	--button: var(--default-dark);
	--button-hover: #000;
}
.clickcount{
	position:absolute;
	left:0;
	top:0;
}
.button{
	background: var(--button);
}
.button:focus, .button:hover{
	background: var(--button-hover);
}
/* Make body 100% of width and height >>> */
html{
	width: 100%;
    height: 100%;
    display: table;
}
body{
    width: 100%;
    display: table-cell;
	
}
/* <<< Make body 100% of width and height */
html{
	background: var(--main-bg-color);
	padding: 0;
	margin: 0;
	max-width:100%!important;
	overflow-x: hidden;
}
.register-errors, .login-errors{
	color:red;
}
body{
	width:100%;
	max-width:100%!important;
	overflow-x: hidden;
	padding-top:70px;
	cursor: pointer;
}
/*
body, header, .main-top{
	padding: 0;
	margin: 0;
	width:100%;
	position: relative;
	display: block;
	float:left;
}*/
header {
	position:fixed;
	top:0;
	z-index:3;
	width:100%;
	border-bottom: 1px solid #cacaca;
}
ul, li, li *{
/*	list-style-type: none;*/
	color:var(--default-dark);
}
* {
	cursor: default;
	color:var(--default-dark);
	font-size: 14px;
	font-family: monospace !important;
}
h1{
	font-size: 24px;	
	font-weight: 600;
}
h2{
	font-size: 19px;		
	font-weight: 600;
	margin-top: 30px;
}
i {
	color: #fff;
}
.main-top{
	padding-bottom: 8px;
	background: var(--top-nav-bg-color);
	color: var(--top-nav-text-color);
}/*
.main-top *{
	color: var(--top-nav-text-color);
}
h1{
	color: var(--default-blue);
}*/
.top-bar, .top-bar ul{
	background: var(--top-nav-bg-color);
}
#main-menu, #main-menu *{
	background: var(--cat-nav-bg-color);
}
ul.withliststyles{
	margin-left:20px;
}
.logout{
	height: 50px;
}
#main-menu{
	border-top: 1px solid #fff;
}
.navigationitem.active{
	text-decoration:underline;
}
.message-container{
	padding: 10px;
	position:fixed;
	bottom: 0px;
	right:0px;
	height: 300px;
	width:400px;
	overflow:hidden;
	background: #222;
	color: #cc0;
}
.loginarea input, .loginarea .button, input.link{
	width:100%;
	margin-bottom:10px;
	display:block;
}
.title-bar-title{
	color: var(--top-nav-text-color);
}
.newcategory{
	width: 65%;
    display: block;
    float: left;
    margin-right: 5%;
}
.addcategory{
	width: 14%;
}
.category-navigation a{
	color: #fff;
}
.menu li:not(:first-child):not(:last-child) a{
    margin-top: 17px !important;
    margin-left: 9px !important;
}



@media screen and (min-width: 641px){
.category-navigation{
	display:block;
}
.category-navigation > li{
	display:inline;
	float:left;
}
.title-bar{
	display:none;
}

}



@media screen and (max-width: 640px){
.newcustomer{
	margin-top:60px;
}
.existinglink.editactive{
	padding-bottom: 35px;
}
.iconelement{
	width:50%;
}
}



.main-top .menu>li{
	float:left;
}
.main-top .menu>li:last-child{
	float:right;
}
.main-top .menu>li:first-child{
	float:left;
}
.iconbutton{
	float:left;
	padding:12px;
	margin-right:5px;
}
.existinglink{
	position: relative;
	padding-top:20px;
	border-top:2px solid #fff;
}
.existinglink.editactive{
	background: #eee;
}
.existinglink .columns{
	overflow:hidden;
}
.existinglink small{
	display:none;
}
.existinglink.editactive small{
	display:block;
	color: #777;
}
.existinglink.editactive .functions{
	position: absolute;
	bottom: 0;
	right: 0;
}
a.link{
	white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    float: left;
    display: block;
}
button.button.addcategory{
	width: 40px;
}
.logo{
	width:35px;
	height:35px;
}
.main-top .menu>li>a{
	padding: 0;
}
.close-top-right{
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--main-bg-color); 
	border: 1px solid var(--default-dark);
	color: var(--default-dark);
}
.close-top-right:hover{
	color: var(--hovercolor);
	background: var(--main-bg-color);
}
.modal{
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	overflow:scroll;
	background:#fff;
	display:block;
}
.link-footer{
	width:100%;
	float:left;
	margin-top:20px;
	color: var(--default-dark);
	text-decoration:underline;
}
footer{
	background: var(--main-bg-color);
	padding-bottom: 60px;
}
.linklistmainpage a{
	text-decoration:underline;
	margin-top: 15px;
/*	display:block;*/
	margin-bottom: 15px;
}
.linklistmainpage .column{
	height:160px;
}
.linklist{margin-top:80px;}
main {
    float: left;
    width: 100%;
    background: var(--main-bg-color);
    padding:20px;
    min-height: calc(100% - 250px);
    /*max-width: calc( 100% - 50px )!important;*/
}
body{
	background: var(--main-bg-color);
}
footer{
    float: left;
    width: 100%;
}
.modal{
	overflow-y:scroll;
	margin-top:70px;
	padding:20px;
	overflow-x:hidden;
}
a{
	color: var(--default-dark);
	text-decoration: underline;
	cursor: pointer;
}
a *{
	cursor: pointer;
}
a:focus {
	color: var(--default-dark);
	cursor: pointer;
}
a:hover {
	color: var(--hovercolor);
	cursor: pointer;
}