/*
Theme Name: CleanSBF
Theme URI: http://www.sbf.se
Description: Custom built WordPress theme for Svenska Bilsportförbundet
Version: 0.8
Author: Svenska Bilsportförbundet
Author URI: http://wp.sbf.se/
Tags: custom header, fixed width, four columns, widgets

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

* {
	/*font-family:Tahoma,"Trebuchet MS",Arial,Verdana,sans-serif;*/
  font-family: "Lucida Grande",Arial, Verdana, sans-serif;
	margin:0;
	padding:0;
}

#sportgrenar *, #header * {
  font-family: Tahoma,"Trebuchet MS",Arial,Verdana,sans-serif;
}

html { background:#fff url("grafik/background.png") repeat-x scroll center top; }
a { text-decoration: none; color: #0030cc; }
a:visited { color: purple;}
a:hover { text-decoration: underline; }
a:hover h3 { text-decoration: underline; color: black;}
li { list-style: none;}
img { border: none; }
hr { margin: 0.5em 0em; }
div.clear { clear: both; }
form, form p { border: none; }
.hide { display: none; }
.helptext {
	font-style: italic;
	color: #666;
}
.invalid { color: red; }
.alignleft { float: left; clear: left; }
.alignright { float: right; clear: right; }
tr.even { background-color: #ddd; }
tr.odd { background-color: #fff; }
th { text-align: left;}

.excerpt_image { width: 100px; float: left;}
#aktuellt .excerpt_image { width: 150px; display: block; }

/* main layout boxes */
#body { position: relative; width: 1015px; }

#header {
	position: relative;
	background:#fff url("grafik/header_login.gif") no-repeat top left;
	width: 865px;
	height: 196px;
	z-index: 10;
}

#container { 
	margin: 5px 0 0px 0;
	width: 865px;
	position: relative;
}

#footer { 
	background:#fff url("grafik/footer2.png") no-repeat bottom left;
	width: 1009px;
	height: 80px;
	position: relative;
	float:left;
	clear: both;
	margin-top: 15px;
}

#banners {
	background:#fff url("grafik/banners.png") no-repeat top left;
	width: 144px;
	position: absolute;
	top: 0;
	right: 0;
}
/* Inside #header */
#header h1 a {  
	width: 140px;
	height: 140px;
	position: relative; 
	left: 20px;
	display: block;
}

#header #search {
	position: absolute; 
	top: 10px;
	right: 45px;
}

#header #search_form { width: 170px; font-size: 11px; }

#header #login_text { 
	color: white;
 	position: absolute; 
	top: 63px;
	left: 585px;
}

#header #login_fields {
	position: absolute;
	top: 83px;
	left: 585px;
}

#header #login_fields input { width: 120px; }

#header #login_submit {
	position: absolute; 
	top: 112px;
	right: 54px;
	width: 225px;
}
#header #forgotten_password a { 
	color: white; 
	font-size: 9pt;
	float: left;
}
#header #login_submit_button { float: right; }

#header .menu {
	position: absolute;
	left: 50px;
	bottom: 7px;
}

#header .menu li { 
	display: inline;
	position: relative;
	top: 5px;
}

#header .menu li a {
	position: relative;
	bottom: 16px;
	padding: 12px 8px 12px 8px;
	display: inline;
	text-decoration: none;
	color: #222222;
	font-size: 16px;
}

#header .menu li ul {
	background: white url("grafik/menu_bottom.gif") no-repeat bottom left; 
	position: absolute;
	width: 140px;
	top: 100%;
	left: 0px;
	padding: 0 0 0 0;
	border-left: 2px solid #3864B6;
	border-right: 2px solid #3864B6;
	border-bottom: 2px solid #3864B6;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	display:none;
}

#header .menu li ul li { 
	top: 0;
}

#header .menu li ul li a { 
	background-color: white;
	position: relative;
	display: block; 
	top: -5px;
	border-left: 3px solid #faf044;
	border-right: 3px solid #faf044;
	padding: 0px 11px 6px 11px;
	margin: 0 2px;
	font-size: 12px;
}

#header .menu li:hover ul, #menu li ul:hover { display: block;}
#header .menu li.jsHover:hover ul, #menu li.jsHover ul:hover { display: none;}
#header .menu li:hover ul ul, #menu li ul:hover ul { display: none;}

/* Inside #container */
#left {
	background: white url("grafik/left_top.png") no-repeat top right;
	width: 180px;
	position: relative;
	float: left;
	padding: 10px 0 10px 0;
}

/* #big_middle is used in sbf_kontakt and sbf_klubb, and is the size of #middle + #rights (-10px) */
#middle.big { width: 670px; }

#middle #klubb_info p { margin-left: 15px; }

#klubb_grenar p { 
  text-align: left;
  border-left: 15px solid #0f0; 
  padding-left: 0.5em;
	margin-bottom: 0;
}
#klubb_grenar table { width: 100%;}
#klubb_grenar td { text-align: center;}
#klubb_grenar th { text-align: left; color: #3B70A1;}
#klubb_grenar { 
	width: 300px; 
	float: right; 
	margin: 1.8em 0 2em 2em;
	border: 1px dotted gray;
}

#klubb_kontakt table { 
	width: 660px; 
	border-collapse: collapse; 
}
#klubb_kontakt th { color: #3B70A1; text-align: left;}
#klubb_kontakt th.uppdrag, #klubb_kontakt th.funktion { width: 20%;}
#klubb_kontakt th.namn { width: 27%;}
#klubb_kontakt th.adress { width: 38%;}
#klubb_kontakt th.telefon { width: 15%;}
#klubb_kontakt td { padding: 1px; }

#klubb tr.even { background-color: #ddd; }
#klubb_kontakt fieldset { 
	padding: 0.8em; 
	padding-top: 0;
	margin: 1em 0;
	border: 1px dotted gray;
}
#klubb_kontakt legend { font-weight: bold; font-size: 11pt;}

/* TODO: Change #kontakt to #middle.big */ 
#kontakt { width: 670px; }
#kontakt table { width: 100%; }
#kontakt table td { 
	background: transparent url("grafik/paragraph.png") repeat-x scroll 0 0; 
	width: 50%; 
	margin: 5px;
	vertical-align: top;
}
#kontakt img.person { 
	width: 100px; 
	margin: 5px;
}
#kontakt p.contact_info { margin-left: 110px;}



#middle {
	width: 500px;
	position: relative;
	float: left;
	margin: 0px 0px 0px 5px;
}

#middle h2 {
	background:transparent url("grafik/news_top.png") no-repeat left top;
	width: 498px;
	height: 46px;
	padding: 12px 0px 0px 6px;
	font-size: 18pt;
	color: white;
	margin-top: 1px;
}

#middle * { font-size: 9pt; }
#middle h3 { 
  padding: 0px 15px 5px 15px;
  color: #3B70A1; 
  font-size: 13pt; 
}
#middle h3 a { 
  font-size: 13pt; 
  color: #3B70A1; 
}

#middle h4 a { font-size: 11pt; }
#middle h4 { 
	font-size: 11pt; 
	margin: 0.5em 0; 
}

#middle .content { padding: 0px 0.5em; }
#middle li { list-style-type: disc; margin-left: 1.2em; }
#middle p, #middle ul { margin: 0.3em 0 0.7em; }
#middle ol { margin-bottom: 0.5em; margin-left: 1.2em; }
#middle ol li { list-style-type: decimal; }
#middle h3 a:hover { text-decoration: none; }
#middle a { text-decoration: none; }
#middle a:hover { text-decoration: underline; }

#middle small { font-size: 8pt;}

#middle tr.head { background-color: #ddd; }


#right {
	width: 180px;
	position: relative;
	float: right; 
}

/* Inside #left */
#sportgrenar { 
	margin-bottom: 30px; 
	margin-left: 2px;
	border-right: 2px solid #f1f1f1;
}

#sportgrenar li.page_item {
	position: relative;
	border-left-width: 25px;
	border-left-style: solid;
	margin-bottom: 1px;
	min-height: 30px;
	list-style-type: none;
	padding-left: 5px;
}

#sportgrenar li.page_item li { 
	position: static;
	list-style-type: none; 
	border: none;
	margin-bottom: 0;
	padding-left: 15px;
}
#sportgrenar li.page_item li a span.top, #sportgrenar li.page_item li a span.bottom { display: none;}
#sportgrenar li.page_item a span.bottom, #sportgrenar li.page_item a span.top {
	position: absolute;
	left: -25px;
	width: 11px;
	height: 11px;
}
#sportgrenar li.page_item a span.top { 
	background: transparent url("grafik/sportgren_top.png") no-repeat top left; 
	top: 0;
}
#sportgrenar li.page_item a span.bottom { 
	background: transparent url("grafik/sportgren_bottom.png") no-repeat bottom left; 
	bottom: 0;
}

#sportgrenar .page-item-93, #klubb .backe { border-left-color: #e51900;} 
#sportgrenar .page-item-95, #klubb .bilorientering { border-left-color: #82004b;} 
#sportgrenar .page-item-133, #klubb .crosskart { border-left-color: #0b014a;}
#sportgrenar .page-item-135, #klubb .dragracing { border-left-color: #0b4199;} 
#sportgrenar .page-item-137, #klubb .drifting { border-left-color: #e5ba6b;} 
#sportgrenar .page-item-139, #klubb .folkrace { border-left-color: #075b7f;} 
#sportgrenar .page-item-146, #klubb .historisk.bilsport { border-left-color: #907a62;} 
#sportgrenar .page-item-148, #klubb .karting { border-left-color: #026560;} 
#sportgrenar .page-item-150, #klubb .offroad { border-left-color: #339028;} 
#sportgrenar .page-item-152, #klubb .racing { border-left-color: #67713d;} 
#sportgrenar .page-item-166, #klubb .radiostyrd.bilsport { border-left-color: #fee686;} 
#sportgrenar .page-item-155, #klubb .rally { border-left-color: #ff7300;} 
#sportgrenar .page-item-157, #klubb .rallycross { border-left-color: #e51900;} 
#sportgrenar .page-item-164, #klubb .virtuell.bilsport { border-left-color: #f6b801;} 
#sportgrenar .page-item-197, #klubb .enkla { border-left-color: #c0aa92;} 
#sportgrenar .page-item-10995 { border-left-color: #000;}

#sportgrenar li a { 
	font-weight: bold;
	font-size: 0.8em;
	color: #666;
	line-height: 20px;
}
#sportgrenar li li a { 
	font-weight: normal;
	line-height: 1em;
}

/* By default, 2nd level menues are closed */
#sportgrenar li ul { display: none; }

/* Open 2nd level menues when sportgren is current page */
#sportgrenar li.current_page_item ul, 
/* Open 2nd level menues when sportgren is page parent */
#sportgrenar li.current_page_parent ul,
/* Open 2nd level menues when sportgren is current page */
#sportgrenar li.current_page_ancestor ul { display: block;}


/* Close 3rd level ul when sportgren is current page */
#sportgrenar li.current_page_item ul li ul, 
/* Close 3rd level ul when sportgren is page parent */
#sportgrenar li.current_page_parent ul li ul, 
/* Close 3rd level ul when sportgren is page grand parent */
#sportgrenar li.current_page_ancestor ul li.current_page_parent ul { display: none;} 

#middle .sportgren h2 { 
	vertical-align: center; 
/*	background: none;*/
	height: 65px; 
	padding: 0 0 0 4em; 
	width: auto; 
	color: white; 
	font-size: 42px;
	line-height: 60px;
	background-position: 20px 0px;
	background-repeat: no-repeat;
}
#middle .sportgren h2.Backe { background-color: #E51900; background-image: url("grafik/sportgrenar/backe.gif"); }
#middle .sportgren h3.Backe { color: #E51900; }
#middle .sportgren h2.Bilorientering { background-color: #82004B; background-image: url("grafik/sportgrenar/bilorientering.gif");}
#middle .sportgren h3.Bilorientering { color: #82004B; }
#middle .sportgren h2.Regularity { background-color: #82004B; background-image: url("grafik/sportgrenar/bilorientering.gif");}
#middle .sportgren h3.Regularity { color: #82004B; }
#middle .sportgren h2.Crosskart { background-color: #0B014A; background-image: url("grafik/sportgrenar/crosskart.gif");}
#middle .sportgren h3.Crosskart { color: #0b014A; }
#middle .sportgren h2.Dragracing { background-color: #0B4199; background-image: url("grafik/sportgrenar/dragracing.gif");}
#middle .sportgren h3.Dragracing { color: #0B4199; }
#middle .sportgren h2.Drifting { background-color: #E5BA6B; background-image: url("grafik/sportgrenar/drifting.gif");}
#middle .sportgren h3.Drifting { color: #E5BA6B; }
#middle .sportgren h2.Folkrace { background-color: #075B7F; background-image: url("grafik/sportgrenar/folkrace.gif");}
#middle .sportgren h3.Folkrace { color: #075B7F;}
#middle .sportgren h2.Historisk.bilsport { background-color: #907A62; background-image: url("grafik/sportgrenar/historisk.gif");}
#middle .sportgren h3.Historisk-bilsport { color: #907A62; }
#middle .sportgren h2.Karting { background-color: #026560; background-image: url("grafik/sportgrenar/karting.gif");}
#middle .sportgren h3.Karting { color: #026560; }
#middle .sportgren h2.Offroad { background-color: #339028; background-image: url("grafik/sportgrenar/offroad.gif");}
#middle .sportgren h3.Offroad { color: #339028; }
#middle .sportgren h2.Racing { background-color: #67713D; background-image: url("grafik/sportgrenar/racing.gif");}
#middle .sportgren h3.Racing { color: #67713D; }
#middle .sportgren h2.Radiostyrd.bilsport { background-color: #FEE686; background-image: url("grafik/sportgrenar/radiostyrd.gif");}
#middle .sportgren h3.Radiostyrd-bilsport { color: #FEE686;}
#middle .sportgren h2.Rally { background-color: #FF7300; background-image: url("grafik/sportgrenar/rally.gif");}
#middle .sportgren h3.Rally { color: #FF7300; }
#middle .sportgren h2.Rallycross { background-color: #E51900; background-image: url("grafik/sportgrenar/rallycross.gif");}
#middle .sportgren h3.Rallycross { color: #E51900; }
#middle .sportgren h2.Virtuell.bilsport { background-color: #F6B801; background-image: url("grafik/sportgrenar/virtuell.gif");}
#middle .sportgren h3.Virtuell-bilsport { color: #F6B801; }
#middle .sportgren h2.Enkla.tävlingsformer { background-color: #C0AA92; background-image: none; }
#middle .sportgren h3.Enkla-tavlingsformer { color: #C0AA92; }



#produktblad, #elearning { width: 670px; margin: 0; }
#produktblad .sportgrenstext, #elearning-text { padding: 1.5em 1.5em 0 190px; text-align: justify}
#produktblad ul {margin: 1em 0;}
#produktblad div.sportgrensinfo, #elearning-menu {
	width: 150px;
	margin-top: 3em;
	float: left;
	border-right: 2px solid #eee;
	color: black;
	padding: 0 15px 0 5px;
}

#middle.big .bredsida h2 { background-image: none; color: black;} 
#middle.big h2.miljo,
#middle.big h3.miljo, 
#middle.big h4.miljo { color: rgb(34, 139, 34);}

#links { 
	background: transparent url("grafik/info_top.png") no-repeat 0 0;
	/* See #right for more details on #links styling */
}

#links a { 
	font-size: 1em;
} 


/* Inside #middle */
#news li { margin: 0 5px 0 5px; list-style-type: none;}

#news li div.excerpt, #news li div.content, #officielltarkiv div.excerpt { 
	background: transparent url("grafik/paragraph.png") repeat-x scroll 0 0; 
	border-top: 2px solid #e1e2e8;
	border-bottom: 2px solid #e1e2e8;
	margin-bottom: 25px;
	text-align: justify;	
}

#news li div.excerpt p, #news li div.content p {
	padding: 5px 5px 5px 5px; 
	font-size: 9pt;
}

#news .date, #news .author, .etikett { 
	padding: 0px 15px 0px 15px;
	font-size: 9pt;
	color: #999; 
}

#news img { 
	margin: 8px 5px 5px 5px; 
	border: none;
/*	float: left;*/
}

#news .read_more {
	background: transparent url("grafik/read_more.png") no-repeat top right;
	position: relative;
	bottom: -8px;
	margin: 0px;
	width: 455px;
	height: 20px; 
	clear: left;
	float: right; 
	text-align: right;
}

#news .read_more a {
	color: #fff; 
	padding-right: 30px;
	font-size: 11pt;
}

#calendar { 
	width: 660px;
	border-collapse: collapse;
	margin-top: 2em;
}
#calendar th { 
	border-bottom: 1px solid black;
	font-size: 10pt;
	text-align: left;
}
#calendar tbody td { padding: 2px;}

#calendar_search { padding: 0.5em;}
#calendar_search span.date { position: relative;}
#calendar_search legend { margin: 0 1em;}

table#calendar th { padding-left: 2px; }
table#calendar th.date { width: 14%; }
table#calendar th.event { width: 34%; }
table#calendar th.type { width: 9%; }
table#calendar th.district { width: 9%; }
table#calendar th.organiser { width: 34%; }

table.event { width: 380px; }
table.event td.key { width: 30%; color: #666; }
table.event td.value { width: 70%;}
div#tavling {
	margin: 2em 0 0 0;
	width: 270px;
	float: right;
}
div#tavling table { width: 100%; margin-bottom: 2em;}
div#tavling table { border: 1px solid #ccc; }
 
#sitemap h3 { padding-left: 0.5em;}
#sitemap table h4 { font-size: 9pt; padding-left: 0.5em; color: #3B70A1; } 
#sitemap table h4 a { font-size: 9pt; color: #3B70A1; }
#sitemap li { 
	list-style: none; 
	margin-left: 0.5em;
}
#sitemap table { margin-bottom: 2em; }
#sitemap table ul { margin-left: 0.5em; }
#sitemap table li { padding-bottom: 5px; }
#sitemap table a { color: #666; }

#sitemap td { 
  vertical-align: top;
  width: 160px;
  padding-bottom: 1em;
}

#sitemap h3 {
  font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
  border-bottom: 1px solid gray;
}

#klubbar a { color: #666; }
#klubbar #distrikt { margin-bottom: 1em; }
#klubbar #distrikt li { 
	display: inline; 
	margin: 1em;
}

#regler table { 
	margin-left: 1em;
	width: 480px;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

#regler th { 
	border-bottom: 1px solid black;
	font-size: 10pt;
	text-align: left;
	padding: 3px 2px 2px 0px;
}

#regler th.beteckning { width: 5%; }
#regler th.avsnitt { width: 30%;}
#regler th.publicerad { width: 20%; }
#regler th.utgava { width: 20%; }
#regler th.giltig { width: 20%; }

#regler a {
	color: #3B70A1; 
	font-size: 9pt; 
	font-weight: bold;
}

#arkiv {
	width: 480px;
	border-collapse: collapse;
}

#arkiv th {
	text-align: left;
	padding: 3px 0px 2px 0px;
}

#arkiv td a { font-weight: bold; }
#arkiv .datum { text-align: right; }

#arkiv th { 
	border-bottom: 1px solid black; 
	font-size: 10pt; 
}

#arkiv a { 
	color: #3B70A1; 
	font-size: 9pt; 
}

#arkiv a:hover { 
	text-decoration: none; 
	font-size: 9pt; 
	color: #555;
}

#officielltarkiv h3.week { 
	color: #666;
	font-size: 12pt;
	margin-top: 10px;
}

#officielltarkiv li { margin-bottom: 5px; list-style-type: none; }
#officielltarkiv ul.week li { list-style-type: none;}

#officielltarkiv p { 
	padding: 5px;
	font-size: 9pt;
}

#officiellt a, #officielltarkiv a, #sportgrensnyheter a { color: #666;}

#officielltarkiv h3 a:hover { text-decoration: none; }
span.etikett.officiellt, #middle span.etikett.officiellt { 
	color: black; 
	font-weight: bold; 
	font-size: 8pt;
	margin-right: 5px;
}

#official_pagination { margin-top: 30px; }
.pagination.top span { margin: 0em 1.2em 1em 1.2em; }
.pagination.bottom span { margin: 1em 1.2em 3em 1.2em; }

#official_pagination li { 
	margin: 0px 2px 0px 2px; 
	padding: 2px 5px 2px 5px;
	display: inline; 
	background-color: #C9E1FE; 
	border: 1px solid gray; 
}

.pagination span {
	background-color: #C9E1FE;
	border: 1px solid gray;
	padding: 5px;
}

#middle #archivelink a { 
	font-size: 11pt; 
}


/* Inside #right (and also links inside #left) */
#right div { 
	background:transparent url("grafik/info_top.png") no-repeat left top;
	margin-bottom: 20px;
	width: 180px;
}

#right h2 {
	padding: 15px 0px 0px 15px; 
	font-size: 1em;
	color: white; 
}

#right ul, #links ul {
	margin-left: 5px;
	margin-right: 1px;
	padding-top: 5px;
	background: transparent url("grafik/paragraph.png") repeat-x scroll top left; 
	border-left: 2px solid #f1f1f1;
	border-right: 2px solid #f1f1f1;
}

#right ul li, #links ul li {
	padding: 5px;
	text-align: left;
	font-size: 9pt; 
	border-bottom: 1px solid #f1f1f1;
}

#right .week a, #right ul li h3 a { 
	padding-left: 15px; 
	font-size: 11pt; 
	font-weight: normal; 
	color: #3B70A1;
}

#right p { 
	margin-top: 5px;
}

#right p.date{ 
	padding-left: 15px;
	color: gray;
	font-size: 8pt;
}



#right p.archive, #links p.end {
	background: transparent url("grafik/archive.png") no-repeat scroll 0 0;
	color: #a6a6a6;
	height: 36px;
	padding: 15px 0 0 16px;
	margin: 0px;
}

#right p.archive a { 
	color: #3B70A1; 
	font-size: 9pt;
}

/* Inside #footer */
#contact_info { 
	position: absolute;
	left: 100px;
	top: 15px; 
	font-size: 11px;
	height: 65px;
	width: 175;
	float: left;
}

#loggor {
	position:absolute;
	right: 15px;
	top: 10px;
	margin-right: 144px;
}

#loggor li {
	display: inline;
	margin: 0 10px;
}

#loggor img { height: 60px; }

#credits { 
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px;
	width: 134px;
	height: 70px;
	float: left; 
	font-size: x-small; 
	color: #555;
}

/* Inside #banners */
#banners h2 {
	font-size: 11px;
	color: #1f57ad;
	text-align: center;
	padding-top: 35px;
	padding-bottom: 10px;
}

#banners li { 
	list-style: none;
	padding: 10px 0px 10px 0px;
	text-align: center;
}

img.banner {
	width: 120px;
}


/* MyNewsdesk posts */
div.nd-webimage { width:470px; overflow:hidden; margin:0; padding:0; }
div.nd-webimage { width:470px; }

