#referSteps, #referAddSingle, #referAddImport, #referSelection h2, #referPaging
{
	margin: 0;
	padding: 0;
	list-style: none;
}
#referSteps
{
	position: relative;
	border-bottom: 1px solid green;
	height: 20px;
}
#referSteps a
{
	font-weight: bold;
	text-decoration: none;
}

#referSteps li.activeItem
{
	background-color: #98B431;
}

#referSteps a
{
	display: block;
	margin-top: 2px;
	color: #B7B7B7;
}	
#referSteps li.activeItem a
{
	color: #fff;
}
#referSteps li
{
	position: absolute;
	width: 170px;
	height: 19px;
	background-color: transparent;
	text-align: center;
}

#referStep1{}
#referStep2
{
	margin-left: 182px;
}

#referStep3
{
	margin-left: 364px;
}

#referSelection { padding: 8px 0; position: relative; }

#referSelection input, #referSelection select { width: 225px; height: 18px; }
div.eller { float: left; width: 50px; text-align: center; font-size: 1.1em; font-weight: bold; padding: 40px 18px; }
#referAddSingle, #referAddImport {
	position: relative;
	float: left;
	background: url(/Files/Billeder/site/referBoxBackground.gif) no-repeat;
	padding: 5px;
	width: 387px;
	height: 120px;
}

#referAddSingle div, #referAddImport div { margin: 2px 0; }
#referAddSingle .labe, #referAddImport .labe { width: 100px; padding-left: 10px; }

#referSelection h2 {
	font-weight: bold;
	margin-bottom: 5px;
	border: none;
	font-size: 100%;
}

#referBrowse input[type="text"] { width: 156px; }
#referBrowse input[type="button"] { width: 60px; }

.referSmallButton { width: 60px !important; position: absolute; right: 8px; bottom: 8px; }
#referImportedFriends { border: 1px solid #98B431; padding: 2px; }

#referImportedFriends table { width: 100%; }

#referImportedFriends tr input[type="button"]
{
	width: 50px;
	height: 17px;
	font-size: 0.9em;
}

#referImportedFriends th
{
	background-color: #98B431;
	color: #fff;
	padding: 2px;
	font-weight: bold;
}

#referImportedFriends td { padding: 2px; }

tr.alternateRow td { background-color: #EDF0DD; }

td.center { text-align: center; }

/* Paging */
#referPaging { padding: 6px 0 0 0; }
#referPaging li
{ 
	float: left;
	padding: 0 5px;
	margin-left: 4px;
	border: 1px solid #93B02B;
}

#referPaging li a
{
	text-decoration: none;
}
#referPaging li.activeItem
{
	background-color: #93B02B;
	color: #fff;
}
#referPaging li.activeItem a
{
	color: #fff;
}

/* Previous and Next buttons */
#referNavigation
{
	position: relative;
	padding-top: 6px;
	height: 25px;
	clear: both;
	
}

#referNavigation input { width: 80px; height: 22px; float: left; }
#referNavigation input.right { float: right; }

#referAddText, #referSendInvitation { margin-top: 10px; padding: 4px 0; border-bottom: 1px solid #c0c0c0; }
#referAddText { color: #999; }
#referAddText p  { font-family: "Times New Roman", Times, serif; font-size: 1.1em; }
#referAddText h2, #referSendInvitation h2
{
	font-weight: bold;
	font-size: 1.1em;
	border-bottom: 1px solid #c0c0c0;
}
#referAddText textarea
{
	width: 100%;
	height: 40px;
	margin: 4px 0;
	background-color: #FFFFE5;
}
#aboveTable
{
	position: relative;
	height: 20px;
}
#referMessageContainer
{
	padding: 2px;
	font-weight: bold;
	margin-bottom: 2px;	
	top: 2px;
	left: 0;	
}

#referMessageContainer { text-overflow: ellipsis; overflow:hidden; height: 12px; width: 870px; }
#referMessageContainer.red h3 { color: red; font-weight: bold; }
#clearAllLink { position: absolute; right: 2px; top: 2px; }
#tblFriends th a { color: #fff; }

#referSendInvitation #referMessageContainer { height: auto; }

input.rafInputIdle { border : solid 1px black; width: 300px; }

input.rafInputError { border : solid 1px red; width: 300px; }

li.referResultNormal {color:Green; }

li.referResultError { color:Red; }

.intro_text { float: left; }
.intro_text p { margin-top: 0 }
.xp_200 { float: right; margin-right: 50px }

.RaFtopLink { float: right; width: 200px; margin-bottom: -14px; height: 42px; }
.RaFtopLink .i3 { text-align: center; padding: 5px 10px 7px 10px; }
.RaFtopLink a, .RaFtopLink a:visited { font-weight: bold; color: #FFF }