
/*
-----------------------------------------------
 Midnattsloppet.com
----------------------------------------------- */

body {
	background: #000 url(../img/pattern2.jpg) repeat fixed;
	color: #fff;
	font-size: 12px;
	padding: 20px 0 40px 0;
}

/* anchors
----------------------------------------------- */

a {
	color: #3399FF;
	text-decoration: none;
}

a:hover {
	color: #3399FF;
	text-decoration: underline;
}

/* layout
----------------------------------------------- */

#container {
	background: #000;
	margin-left: auto;
	margin-right: auto;
	width: 980px;
	border: 2px solid #111;
}

#container #header,
#container #content {
	width: 980px;
}

#container #sidebar {
	width: 320px;
}

#container #main {
	width: 620px;
}

#top {
	background: transparent;
	margin-left: auto;
	margin-right: auto;
	width: 980px;
	font-size: 80%;
	color: #999;
}

.lopp-0 #header {
	background: #000 url(../img/Midn_header.png) no-repeat left top;
}
.lopp-1 #header {
	background: #000 url(../img/STH_header.png) no-repeat left top;
}
.lopp-2 #header {
	background: #000 url(../img/GBG_header.png) no-repeat left top;
}
.lopp-3 #header {
	background: #000 url(../img/KPH_header.png) no-repeat left top;
}
.lopp-4 #header {
	background: #000 url(../img/HFS_header.png) no-repeat left top;
}

#header {
	position: relative;
	float: left;
	height: 100px;
	background: #000 url(../img/Midn_header.png) no-repeat left top;
}

#menu {
	position: relative;
	float: left;
	width: 960px;
	background: #000;
	z-index: 100;
	margin: 0px 0 0px 0;
	padding: 5px 10px 5px 10px;
	border-bottom: 2px solid #111;
}

#content {
	position: relative;
	float: left;
	background: transparent;
	padding: 0px 0 0 0;
	margin: 5px 0 0px 0;
}

#main {
	position: relative;
	float: left;
	padding: 0 0 0 20px;
	color: #ddd;
	font-family: 'Verdana','Lucida Sans Unicode','Lucida Grande',sans-serif;
	font-size: 90%;
	background: #000;
}

#main .padding {
	padding: 10px 20px 20px 0px;
}

#sidebar {
	position: relative;
	float: right;
	right: 10px;
	background: transparent;
	padding: 10px 0px 0 0;
}

#footer {
	position: relative;
	float: left;
	background: #111 url(../img/footer_ext_bg.jpg) no-repeat top center;
	padding: 10px;
	margin-top: 10px;
	width: 960px;
	border-top: 2px solid #111;
}

#footer .padding {
	position: relative;
	float: left;
	background: transparent;
	padding: 10px;
	width: 940px;
}

#nav li.login {
	float: right;
	margin: 0px;
	background: transparent url(../img/login_btn.gif) no-repeat left 0px;
}
#nav li.login a {
	background: transparent url(../img/login_btn.gif) no-repeat right 0px;
	color: #fff;
	padding: 3px 15px 4px 15px;
	margin-top: 0px;
}
#nav li.login a:hover {
	background: transparent url(../img/login_btn.gif) no-repeat right -27px;
	color: #fff;
}
#menu #nav li.sfHover.login {
	background: transparent url(../img/login_btn.gif) no-repeat left -27px;
}
#nav li.sfHover.login a {
	background: transparent url(../img/login_btn.gif) no-repeat right -27px;
	color: #fff;
	padding: 3px 15px 4px 15px;
	margin-top: 0px;
}
#nav li.sfHover.login a:hover {
	background: transparent url(../img/login_btn.gif) no-repeat right -27px;
	color: #fff;
}

#sponsor-list {
	position: relative;
	float: left;
	background: #fff;
	width: 300px;
	height: 50px;
	padding: 10px 0 10px 0px;
	visibility: hidden;
	left: -5000px;
}

#sponsor-list ul {
	margin: 0px;
	list-style-type: none;
}

#sponsor-list li {
	position: relative;
	float: left;
	padding: 5px 0px 5px 11px;
	margin: 0px;
	width: 96px;
	height: 40px;
}

#slideshow-list {
	position: relative;
	float: left;
	background: #000;
	width: 300px;
	height: 55px;
	padding: 10px 0px 10px 0px;
	visibility: hidden;
	left: -5000px;
}

#slideshow-list ul {
	margin: 0px;
	list-style-type: none;
}

#slideshow-list li {
	position: relative;
	float: left;
	padding: 0px 0px 2px 2px;
	margin: 0px;
	width: 104px;
	height: 55px;
}


#language {
	position: relative;
	float: right;
	padding: 10px 10px 0 0;
}

#language ul {
	position: relative;
	float: left;
	margin: 0px;
	list-style-type: none;
}

#language li {
	position: relative;
	float: left;
	padding: 0px;
	margin: 0 0 0 4px;
}

#language li a {
	position: relative;
	float: left;
	display: block;
	width: 18px;
	height: 12px;
}

#language li a span {
	display: none;
}

#lang_sv {
	background: transparent url(../img/se.png) no-repeat left center;
}

#lang_en {
	background: transparent url(../img/uk.png) no-repeat left center;
}

#lang_da {
	background: transparent url(../img/dk.png) no-repeat left center;
}

#lang_fi {
	background: transparent url(../img/fi.png) no-repeat left center;
}

#news-list {
	position: relative;
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 5px 0 0 0;
	background: #111;
}

#news-list li {
	position: relative;
	float: left;
	margin: 0px;
	width: 320px;
}

#news-list li a {
	position: relative;
	float: left;
	padding: 3px 10px;
	width: 300px;
	background: #111;
}

#news-list li a:hover {
	background: #222;
	text-decoration: none;
}

#news-list li a span.date {
	position: relative;
	float: left;
	width: 70px;
	cursor: pointer;
	color: #ccc;
}

#news-list li a em {
	position: relative;
	float: left;
	font-style: normal;
	font-weight: normal;
	cursor: pointer;
}

.extra {
	position: relative;
	float: left;
	background: #111;
	width: 320px;
	height: 180px;
}

#newsletter {
	position: relative;
	float: left;
	margin: 0;
	padding: 10px;
	background: #111;
	width: 300px;
}


/* headings
----------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2em;
	margin-bottom: .2em;
	color: #fff;
}

/* navigation
----------------------------------------------- */

.nav, .nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	z-index: 100;
	position: relative;
}

.nav li {
	float: left;
	margin: 0 5px 0 0;
	padding: 0;
	position: relative;
}

.nav li a, .nav li a:link, .nav li a:active, .nav li a:visited {
	font-weight: bold;
	background: #000 url(../img/arrow2.png) no-repeat center right;
	color: #fff;
	display: block;
	padding: 5px 16px 5px 10px;
	text-decoration: none;
}

.nav li a:hover {
	color: #fff;
	background: transparent;
}

.nav li.selected, #nav li.sfHover {
	background: #222 url(../img/menu-bg.png) no-repeat left top;
}

#nav li:hover a {
	color: #fff;
	background: transparent url(../img/menu-bg-right.png) no-repeat right top;
	
}
#nav li.sfHover a {
	color: #fff;
	background: transparent url(../img/menu-bg-right.png) no-repeat right top;
	
}

#nav li:hover ul a, 
#nav li.sfHover ul a {
	background: #222;
	color: #ccc;
	padding: 3px 10px;
}

#nav li:hover ul a:hover, 
#nav li.sfHover ul a:hover {
	background: #444;
	color: #fff;
}

.nav ul {
	background: #222;
	list-style: none;
	margin: 0;
	width: 200px;
	position: absolute;
	top: -999em;
	left: 0px;
	border-bottom: 0px solid #000;
}

.nav li:hover ul,
.nav li.sfHover ul {
	top: 28px;
}

.nav ul li {
	border-bottom: 0px solid #000;
	float: none;
}

.nav ul a {
	border: 0px solid #000;
	border-bottom: 0;
	padding-right: 20px;
	width: 180px;
}

.nav ul a:hover {
	background: #ccc;
	color: #000;
}

/* boxes
----------------------------------------------- */

#sidebar .box {
	position: relative;
	float: left;
	background: transparent;
	width: 320px;
	margin-bottom: 10px;
	padding: 0px;
	font-size: 90%;
}

.box-content {
	position: relative;
	float: left;
	background: transparent;
	padding: 5px;
}

#sidebar .box h2 {
	font-size: 0.85em;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	background: #333 url(../img/bg-heading.gif) repeat-x;
	margin: 0px;
	padding: 5px 10px 4px 10px;
}

#sidebar .box h3 {
	font-size: 0.9em;
	font-weight: bold;
	color: #fff;
	margin: 0px;
	padding: 5px 0px 2px 0px;
}

#footer .box {
	position: relative;
	float: left;
	background: transparent;
	width: 170px;
	margin-bottom: 0px;
	margin-right: 20px;
	padding: 0px;
	font-size: 90%;
	border-right: 1px solid #333;
}

#footer .box-more {
	position: relative;
	float: left;
	background: transparent;
	width: 500px;
	margin-bottom: 0px;
	margin-right: 0px;
	padding: 0px;
	font-size: 90%;
	color: #999;
	border-right: 0px solid #222;
}

.block {
	padding-top: 10px;
}

/* paragraphs, quotes and lists
----------------------------------------------- */

p {
	line-height: 1.4em;
	margin-bottom: 1em;
}

blockquote {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.2em;
	padding-left: 1em;
	border-left: 4px solid #ccc;
}

ul, ol {
	padding-top: 0;
}

/* table
----------------------------------------------- */

table td.boxtitle {
	background: #ddd;
	color: #333;
	font-weight: bold;
}

.redtext, .redtext2 {
	color: #9F0921;
}

table.noformat {
	background: none;
	width: auto;
	color: #fff;
}
table.noformat.right {
	float: right;
}
table.noformat.left {
	float: left;
}
table.noformat td {
	background: none;
}

table.noformat.right td {
	padding: 0 0 0 15px;
	background: none;
}
table.noformat.left td {
	padding: 0 15px 0 0;
	background: none;
}

table hr {
	display: none;
}

table {
	width: 100%;
	border: none;
	border-color: #ccc;
	margin-bottom: 10px;
}
table td{
    color: #333;
}
table a {
    color: #216ab1;
}

th, td {
	padding: 3px 5px;
	text-align: left;
	vertical-align:top;
}

thead th {
	border-bottom: 2px solid #888;
	background: #bbb;
	padding: .4em 1em .2em;
}

thead th.table-head {
	font-size: 1em;
	font-weight: normal;
	text-transform: uppercase;
	color: #fff;
	background: #555;
	border: 0px solid #555;
}

tbody th,
tbody td {
	border-top: 0px solid #bbb;
	border-bottom: 0px solid #bbb;
	background: #eee;
}

tbody tr.odd th,
tbody tr.odd td {
	background: #fff;
}

tfoot th,
tfoot td {
	border-top: 2px solid #666;
	background: #eee;
}

tfoot tr.total th,
tfoot tr.total td {
	border-top: 6px double #666;
}

tfoot tr.total th {
	text-transform: uppercase;
}

/* loginform
----------------------------------------------- */
#loginform {

	padding: 10px;
}
#loginform label {
	position: relative;
	float: left;
	display: block;
	clear: left;
	font-weight: bold;
	color: #fff;
	margin: 0;
	padding: 0;
}

input#j_username, input#j_password {
	position: relative;
	float: left;
	display: block;
	width: 200px;
	clear: left;
	margin: 0 0 5px 0;
	padding: 2px;
}
input#login {
	position: relative;
	float: left;
	display: block;
	width: auto;
	clear: left;
}


/* forms
----------------------------------------------- */

form {
	overflow: hidden;
}

fieldset {
	border: 0px solid #bbb;
	padding: 0px;
	position: relative;
	background: transparent;
	margin-bottom: 10px;
}

input {
	font-size: 95%;
}

textarea {
	font-family: 'Arial';
	font-size: 95%;
}

legend {
	font-size: 1.1em;
	padding: .4em .8em;
	background: #fff;
	border: 1px solid #bbb;
}

fieldset.login p {
	margin-bottom: 1em;
	margin-top: 0pt;
}

fieldset p label {
	width: 98%;
}

fieldset p input {
	width: 98%;
}

fieldset p select {
	width: 99%;
}

fieldset.login p label {
	float: left;
	line-height: 2em;
	margin-right: 3%;
	text-align: right;
	width: 32%;
}

fieldset.login p input {
	width: 60%;
}

fieldset.login input.button {
	margin-left: 35%;
}

form p.notice {
	font-weight: bold;
}

input.search.text {
	width: 66%;
}

input.search.button {
	width: 28%;
	margin-left: 2%;
}

/* Text
--------------------------------------------------------------------------------*/

body {
	font: 13px/1.5 Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
}

a:focus {
	outline: none;
}

/* =Headings
--------------------------------------------------------------------------------*/

h1 {
	font-size: 20px;
	padding-top: 15px;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 15px;
}

h4 {
	font-size: 12px;
}

h5 {
	font-size: 10px;
}

h6 {
	font-size: 8px;
}

/* =Spacing
--------------------------------------------------------------------------------*/

ol {
	list-style: decimal;
}

ul {
	list-style: square;
}

li {
	margin-left: 30px;
}

/* http://sonspring.com/journal/clearing-floats */

html body * span.clear,
html body * div.clear,
html body * li.clear,
html body * dd.clear {
	background: none;
	border: 0;
	clear: both;
	display: block;
	float: none;
	font-size: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* Tabs
----------------------------------*/
.ui-tabs { padding: 0.2em; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: 0; }
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em 0px 0; padding: 0; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { padding: 5px; display: block; border-width: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }


/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }

#tabs li a {
	background: #ccc;
	color: #000;
}
#tabs li a.selected {
	background: #eee;
	color: #222;
}
#tabs li a:hover {
	background: #ddd;
	color: #222;
}

#tabs .ui-tabs-panel {
	background: #eee;
	color: #111;
}

#tabs .ui-tabs-panel h1 {
	color: #222;
	padding: 5px 0 0 0;
}
#tabs .ui-tabs-panel table {
	margin: 0px;
}
#tabs .ui-tabs-panel table td {
	color: #111;
}
