body {
	font-family: Verdana, Geneva, sans-serif;
	background:url(images/PD_z_mozgiem_back2.jpg) no-repeat;
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	background-color: rgb(175,161,144);
}
#container {
	margin: 10px 10px;
	z-index: -1;
	text-align:right;
	font-family:Georgia, "Times New Roman", Times, serif;
}

#content table {
	border-spacing: 10px 0px;
	border: 0;}

#header {
	margin: 0 0px;
	background-image: url(obrazy/EEG_background_transp_w640.png);
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#header ul {
	list-style-type: none;
	margin-bottom: 4px;
	margin-top: 4px;
}
#header ul li {
	margin-bottom: 8px;
}
#header ul li a {
	text-decoration: none;
	color: #009;
}
#content {
	font-family: Verdana, Geneva, sans-serif;
}
#content p {
	line-height: 150%;
	text-justify: distribute;
	margin-left: 20px;
	margin-right: 20px;
}
#content A:link {
	text-decoration: none;
	color: #009;
}
#content A:visited {
	text-decoration: none
}
#content A:active {
	text-decoration: none
}
#content A:hover {
	font-weight: bold;
	color: red;
}
#footer {
	background: #eee;
	text-align: right;
	padding: 8px;
	font-size: x-small;
	border-radius: 10px;
}
#signature {
	text-align: right
}


#nav {
	text-align: right;
	font-size: 18px;
	font-weight: normal;
	z-score: 999;
	font-family:Verdana, Geneva, sans-serif;
}
#nav ul ul {
	display: none;
}
#nav ul li:hover > ul {
	z-score: 999;
	display: block;
}
#nav ul {
	margin-bottom: 0px;
	margin-top: 0px;
	background: #fff;
/*	background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -webkit-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
*/	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	padding: 0 0px;
	border-radius: 10px;
	list-style: none;
	position: relative;
	display: inline-table;
	width: 100%;
}
#nav ul:after {
	content: "";
	clear: both;
	display: block;
}
#nav li {
	float: left;
}
#nav ul li:hover {
	background: #555;
	border-radius: 10px;
	background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -webkit-linear-gradient(top, #4f5964 0%, #5f6975 40%);
}
#nav ul li:hover a {
	color: #fff;
	text-shadow: none;
}
#nav ul li a {
	display: block;
	padding: 10px 20px;
	color: #999;
/*	text-shadow: -1px -1px #FFF, 1px 1px #333;
*/	text-decoration: none;
}
#nav ul ul {
	background: #555;
	border-radius: 10px;
	padding: 0;
	position: absolute;
	top: 100%;
	width: auto;
}
#nav ul ul li {
	float: none;
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a;
	position: relative;
	border-radius: 10px;
}
#nav ul ul li a {
	padding: 15px 40px;
	color: #fff;
}
#nav ul ul li a:hover {
	background: #4b545f;
	border-radius: 10px;
}
#nav ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
}





#navb {
	  position: fixed;
    bottom: 0;
    width: 100%;
	
	text-align: right;
	font-size: 18px;
	font-weight: bolder;
	z-score: 999;
}
#navb ul ul {
	display: none;
}
#navb ul li:hover > ul {
	z-score: 998;
	display: block;
}
#navb ul {
	margin-bottom: 0px;
	margin-top: 0px;
	background: rgb(175,161,144);
	background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -webkit-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	padding: 0 0px;
	border-radius: 10px;
	list-style: none;
	position: relative;
	display: inline-table;
	width: 100%;
}
#navb ul:after {
	content: "";
	clear: both;
	display: block;
}
#navb li {
	float: left;
}
#navb ul li:hover {
	background: rgb(175,161,144);
	border-radius: 10px;
	background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -webkit-linear-gradient(top, #4f5964 0%, #5f6975 40%);
}
#navb ul li:hover a {
	color: #fff;
	text-shadow: none;
}
#navb ul li a {
	display: block;
	padding: 10px 20px;
	color: #ccc;
	text-shadow: -1px -1px #FFF, 1px 1px #333;
	text-decoration: none;
}
#navb ul ul {
	background: rgb(175,161,144);;
	border-radius: 10px;
	padding: 0;
	position: absolute;
	bottom: 100%;
	width: auto;
}
#navb ul ul li {
	float: none;
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a;
	position: relative;
	border-radius: 10px;
}
#navb ul ul li a {
	padding: 15px 40px;
	color: #fff;
}
#navb ul ul li a:hover {
	background: rgb(175,161,144);;
	border-radius: 10px;
}
#navb ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
}
