body {
	background-image: url('template2-images/backg.gif');
	background-position: top center;
	background-attachment: scroll;
	background-repeat: no-repeat;
	text-align: center;
	margin: 0;
	padding: 0;
}

#main {
	background: none;
	width: 600px;
	height: 100%;
	padding: 0px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

#head {
	width: 600px;
	height: 138px;
	margin-top: 0;
	margin-left: 5px;
}

	/* I was too tired to spot where I screwed up, or I came across a stupid IE bug: the "head" 
	container slided one pixel to the left. This small hack fixed it, and it displays perfectly. */

#main > #head {
	margin-left: 0;
}

#nav {
	width: 600px;
	height: 138px;
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #5e5e5e;
}

/* attributes of the block "content" */

#content {
	margin: 0;
	padding: 0;
	width: 600px;
	text-align: left;
	font-size: 0.9em;
}
	
	/* hyperlink attributes for "content" */

a {
	font-family: verdana, lucida, arial, helvetica, sans-serif;
	line-height: 1.2em;
	color: #5e5e5e;
	text-decoration: underline;
	font-weight: bold;
	font-size: 0.9em;
}

a:hover {
	text-decoration: none;
}

a:active {
	color: #acacac;
	text-decoration: none;
}

a:visited {
	color: #5e5e5e;
	text-decoration: underline;
}

	/* paragraph and heading styles for "content" */
	
#content p {
	font-family: verdana, lucida, arial, helvetica, sans-serif;
	font-size: 0.75em;
	color: #666666;
	text-indent: 1em;
	padding: 0 1em;
}

#content h1, h2, h3, h4, h5, h6 {
	font-family: verdana, arial, sans-serif;
	font-weight: normal;
	letter-spacing: 0.05em;
	font-size: 2em;
	color: #acacac;
	font-variant: small-caps;
	padding: 0 1em;
}

	/* the block of the main text, called "words" */

.words {
	float: left;
	width: 400px;
	padding: 1.1em 0em 1.1em 1.1em;
	margin-top: 0;
	border-right: 1px solid #5e5e5e;
}
	
	/* list styles for "words" */

	/* Usually, designers has to set the width of floated elements twice because IE has a 3px float
	bug. Now, I doesn't felt for it, because i got no right border or what i could have disrupted, and 
	my content is relatively small too. */
#sider {
	float: left;
}

	/* footer. at last! */

#footer {
	clear: both;
	width: 100%;
	height: 25px;
	border-top: 1px solid #5e5e5e;
	background: #5e5e5e;
	font-family: verdana, lucida, arial, sans-serif;
	font-size: 0.8em;
	color: white;
	padding: 0.5em;
}

#footer a {
	color: white;
}

	/* From here: Jano's list separation without images. In his article the hungarian CSS expert 
	showed two alternatives: one with first-child selector, and one with the use of a class. The
	second one is idiot proof, so i used that one. http://www.hszk.bme.hu/~hj130 */


.black
{
font-family:arial,sans-serif;
font-size:12px;
color:#000000;
line-height:25px;
text-decoration:underline;
white-space:nowrap;
font-weight:bold;
margin-top: -1px
}

.top
{
position:relative; 
top:-15px; 
left:-7px; 
z-index:1;
}

.top2
{
position:relative; 
top:0px; 
z-index:1;
}

.top3
{
font-size:11px;
font-family:arial,sans-serif;
color:#000000;
text-decoration:underline;
position:relative; 
top: 0px; 
left:1px;
z-index:2;
}

a.blue:link
{
font-family:arial,sans-serif;
font-size:12px;
line-height:17px;
color:#0000ff;
font-weight:normal;
text-decoration:underline;
white-space:nowrap;
margin: 0 0 0 5px;
}
a.blue:active
{
font-family:arial,sans-serif;
font-size:12px;
line-height:17px;
color:#0000ff;
font-weight:normal;
text-decoration:underline;
white-space:nowrap;
margin: 0 0 0 5px;
}
a.blue:visited
{
font-family:arial,sans-serif;
font-size:12px;
line-height:17px;
color:#0000ff;
font-weight:normal;
text-decoration:underline;
white-space:nowrap;
margin: 0 0 0 5px;
}
a.blue:hover
{
font-family:arial,sans-serif;
font-size:12px;
line-height:17px;
color:#0000ff;
font-weight:normal;
text-decoration:underline;
white-space:nowrap;
margin: 0 0 0 5px;
}

.move
{
position:relative; 
bottom:-4px; 
z-index:3;
}

.movesome
{
position:relative; 
left:3px; 
z-index:3;
}

.edu
{
position: relative;
left: 210px;
bottom: -8px;
z-index: 3;
}

.dynlink {
    color: #0000CC;
    text-decoration: underline;
    cursor: pointer;
    cursor: hand;
}