body {
	color: white;
	font-family: Arial;
	font-size: 15;
	background: url("/markustegelane/gfx/bg.png") no-repeat center center fixed;
	background-position: fixed;
	z-index: -1;
	background-size: cover;
 	background-repeat: no-repeat;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 20%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 25px;
  width: 50%;
}


input {
	padding: 10px;
	border-radius: 5px;
	border: solid;
}

div.mainpage {
	background: white;
	color: black;
	margin: 50px;
	box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.5);
	padding: 50px;
}

.floatie {
	display: inline-block;
	position: fixed;
	z-index: 2;
	margin: auto;
	bottom: 10px;
	background: rgba(255, 255, 255, 0.35);
	padding: 10px;
}

.floatie:hover {
	background: #fff;
}

img.banner {
	display: block;
	width: 500px;
	height: auto;
	margin: auto;
}

/* main style for anchor (not related to navbar) */
a {
	font-style: italic;
	color: #005588;
	text-decoration: none;
}
a:hover {
	color: #0088aa;	
}

/* navbar style */

nav {    
	display: block;
	text-align: center;
}

nav ul {
	margin: 0;
	padding:0;
	list-style: none;
	text-align: left;
	background: linear-gradient(#0048ff, rgba(0, 30, 100, 0.5));
	border-radius: 10px;
}

.listitems {
	text-decoration: none;
	padding: 10px;
	background: #003388;
	color: black;
}

.nav a{
	font-style: normal;
	display:block;
	color: #fff; 
	text-decoration: none;
	padding: 12px;
	font-family: "Segoe UI";
	position: relative;
	background: transparent;
}
.nav{  
	vertical-align: top; 
	display: inline-block;
}
.nav li {
	position: relative;
}
.nav > li { 
	float: left; 
	margin-right: 1px; 
} 
.nav > li:hover, 
.nav > li:hover > a{ 
	background: #008;
	border-radius: 10px;
}
.nav li:hover > a, .listitems{ 
	background: linear-gradient(rgba(0, 0, 140, 0.25), rgba(0, 0, 140, 0));
}
.nav li li a { 
	margin-top: 1px;
}
.nav li a:first-child:nth-last-child(2):before { 
	content: ""; 
	position: absolute; 
	height: 0; 
	width: 0; 
	top: 49% ;
	right:5px;  
	}
/* submenu positioning*/
.nav ul {
	position: absolute;
	z-index: 0;
	left: -99999em;
}
.nav > li:hover > ul {
	left: auto;
	min-width: 120%;
}
.nav > li li:hover > ul { 
	left: 100%;
	margin-left: 1px;
	top: -1px;
}


a.selected {
	background: rgba(0, 0, 255, 0.54);
	border-radius: 10px;
}
