/* 
	Theme Name: TIFViking v3
	Theme URL: http://www.tifviking.no
	Description: Custom made theme for TIFViking.no
	Author: Christian Pedersen
	Author URI: http://chainweb.net
	Version: 3.0
	The CSS, XHTML and Design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
	Tags: blue, widget ready, fixed width, three columns,  3 colums, widgets, adsense, seo, adsense ready, custom header, gravatar support, sidebar left, sidebar right,  widget sidebar, seo adsense, XHTML, blue theme
*/

html, body {
	margin: 0; padding: 0;
}

body {
	background-repeat: repeat-x;
	background-position: center top;
	/*
	background-color: #f5f8ff;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/bodybg.jpg');
	spring1: #3f5e3e

	background-image: url('http://static.tifviking.no/tifvikingv3/images/bodybg-spring.jpg');
	background-color: #c7dcc4;
	*/
	/*background-image: url('http://static.tifviking.no/tifvikingv3/images/bodybg-blue.png');
	background-color: #011829;
	*/
	background-image: url('http://static.tifviking.no/tifvikingv3/images/bodybg-blue.png');
	background-color: #011829;
	font-family: Verdana, Tahoma;
	font-size: 10px;
}

p {
	line-height: 1.5em;
}

#main-cont {

}

#container {
	width: 1000px;
	margin: auto auto;
	padding: 0;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/contentbg.png');
	background-repeat: repeat-x;
	background-position: top left;
	background-color: #FFFFFF;
	position: relative;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;
}

#pageminwidth {
	width: 950px;
}

#header {
	width: 100%;
	height: 89px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/title.png');
	background-repeat: no-repeat;
	background-position: center top;
}

#content {
	margin: 0;
	padding: 130px 5px 20px 215px;
	min-height: 1000px;
}

#top {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	/*height: 102px;*/
	height: 1px;
	/*background-color: #034b8b;*/
	margin: auto auto;
}

#top h1 {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 25px 0 0 210px;
	padding: 0;
	letter-spacing: 7px;
}

#left {
	padding: 10px 0 0 5px;
	top: 125px;
	bottom: 0;
	width: 195px;
	border-right: 1px solid #E6E6E6;
}

#left {
	position: absolute;
	left: 5px;
}

#right {
	position: absolute;
	right: 5px;
}

#right {
	padding: 10px 5px 0 5px;
	top: 125px;
	bottom: 0;
	width: 195px;
	border-left: 1px solid #E6E6E6;
}


#footer, #footer a {
	color: #FFFFFF;
	text-align: center;
}

#bg-tab {
	width: 100%;
}

#bg-left {
	background-repeat: no-repeat;
	background-position: top right;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/bg-left.jpg');
}

#bg-container {
	width: 1000px;
}

#bg-right {
	background-repeat: no-repeat;
	background-position: top left;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/bg-right.jpg');
}

div.entry p, div.entry ul, div.entry div {
	line-height: 2em;
}

.news td {
	vertical-align: top;
}

div.news div {
	line-height: 1.5em;
}

div.slides-container a {
	line-height: 1.25em;
}

.news-container {
	margin: 10px 3px 3px 3px;
	padding: 0;
	width: 380px;
	position: relative;
	border: 1px solid #A6A6A6;
	padding-bottom: 15px;
	font-family: Verdana;
	font-size: 10px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/news-bottom.png');
	background-repeat: repeat-x;
	background-position: bottom left;
}

.archive .news-container {
	width: 555px;
}

.news-container h3 {
	/*margin: auto auto; no work in IE*/
	margin: 0;
	left: 0;
	right: 0;
	padding: 2px 2px 2px 46px;
	font-size: 12px;
	display: block;
	color: #FFF;
	background-color: #034b8b;
	border-bottom: 1px solid #555555;
}
.news-container h3 a {
	color: #FFF;
}

.news-wrap {
	display: inline;
}

/*
.news-container .date {
	position: absolute;
	top: 27px;
	left: 6px;
	color: #A6A6A6;
}
*/
.news-container .date {
	position: absolute;
	top: 2px;
	right: 6px;
	color: #A6A6A6;
}

.news-container .category {
	position: absolute;
	bottom: 3px;
	left: 6px;
	color: #034b8b;
}

.news-container .category-icon {
	position: absolute;
	left: 4px;
	top: -7px;
}

/*
.news-container .text {
	margin: 25px 6px 6px 6px;
	min-height: 100px;
}
*/

.news-container .text {
	margin: 0px 6px 6px 6px;
	min-height: 100px;
}

.inpost .text {
	height: 110px;
	overflow: hidden;
}

/*
.news-container .edit {
	position: absolute;
	top: 3px;
	right: 6px;
}
*/
.news-container .edit {
	position: absolute;
	top: -12px;
	right: 6px;
	padding: 2px;
	border: 1px solid #A6A6A6;
	background-color: #000033;
}

.news-container .edit a {
	color: #FFF;
}

.news-container a.more-link {
	position: absolute;
	bottom: 1px;
	right: 6px;
	font-weight: bold;
}

.news-container .thumb {
	float: right;
}
.news-container .thumb img.old_thumb {
	position: relative;
	top: -20px;
}

.thumb img.old_thumb {
	position: relative;
	top: -80px;
	border: 1px solid #A6A6A6;
	background-color: #FFFFFF;
	padding: 2px;
	float: right;
	margin: 5px;
}

.news-container .thumb img {
	border: 1px solid #A6A6A6;
	background-color: #FFFFFF;
	padding: 2px;
	margin: 5px;
}

.post-image {
	border: 1px solid #A6A6A6;
	background-color: #FFFFFF;
	padding: 2px;
	float: right;
	margin: 5px;
}

.post-thumbnail {
	border: 1px solid #A6A6A6;
	background-color: #FFFFFF;
	padding: 2px;
	float: left;
	margin: 5px;
}

#content div.single-post .hide-single {
	display: none;
	height: 1px;
	width: 1px;
}

/* GENERAL */
h1, h2, h3, h4 {
	font-family: Arial;
}

h1 {
	margin: 0.1em 0 0.3em 0;
	padding: 0;
}

h2 {
	margin: 0.1em 0 0.3em 0;
	padding: 0;
}

h3 {
	margin: 0.1em 0 0.3em 0;
	padding: 0;
}

h4 {
	margin: 0.1em 0 0.3em 0;
	padding: 0;
}

a {
	color: #0000AA;
	text-decoration: none;
}

a:hover {
	color: #4444FF;
	text-decoration: underline;
}

/* LISTS */
#left h4, #right h4 {
	display: block;
	border-bottom: 1px solid #A6A6A6;
}

div.navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.navigation ul li {
	padding-left: 1em;
	margin: 0;
}

div.navigation ul li a {
	display: block;
	margin-left: -0.8em;
	background-position: left center;
	background-repeat: no-repeat;
	border: 1px solid transparent;
}

div.navigation ul li a:hover {
	color: #0000FF;
	background-color: #F6F6FF;
	border: 1px solid #E6E6E6;
}

div.navigation ul li.current_page_item a {
	color: #AA0000;
	text-decoration: underline;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/menu_row_current.png');
}

div.navigation ul li.current_page_item li a {
	color: #0000AA;
	text-decoration: none;
	/*background-image: url('http://static.tifviking.no/tifvikingv3/images/menu_row.png');*/
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') -198px 0 no-repeat;
}

div.navigation ul li.current_page_item a:hover {
	background-color: #FFF6F6;
}

div.navigation ul li.current_page_item li a:hover {
	background-color: #F6F6FF;
}

/*
#left ul li a, #left ul li.current_page_item a {
	padding-left: 23px;
	line-height: 20px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/q_s.png');
}

#left ul li li a, #right ul li a, #left ul li li.current_page_item a, #left ul li.current_page_item li a {
	padding-left: 0.8em;
	line-height: 16px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/menu_row.png');
}
*/

div.navigation ul li a, div.navigation ul li.current_page_item a {
	padding-left: 0.8em;
	line-height: 16px;
	/*background-image: url('http://static.tifviking.no/tifvikingv3/images/menu_row.png');*/
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') -198px 4px no-repeat;
}

/*
#top ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#top ul li {
	display: block;
	float: left;
	padding: 3px;
	margin: 0;
}
*/

/* Schedule, todag */
ul.todayschedule, ul.todayschedule ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.todayschedule li {
	position: relative;
	padding: 1px;
}

ul.todayschedule li a {
	color: #000000;
	line-height: 1.5em;
}

ul.todayschedule li a:hover {
	text-decoration: none;
}

ul.todayschedule li a:hover {

}

ul.todayschedule ul {
	display: none;
}

ul.todayschedule li div.color {
	position: absolute;
	left: 40px;
	top: 2px;
	width: 10px;
	height: 10px;
	border: 1px solid #E6E6E6;
	display: block;
}

ul.todayschedule li span.clock {
	margin-right: 20px;
}

ul.todayschedule li:hover {
	background-color: #b0d8fe;
}
ul.todayschedule li:hover ul {
	display: block;
	position: absolute;
	width: 400px;
	top: -67px;
	left: 150px;
}

ul.todayschedule li:hover li {
	background: none;
}

table.tooltip td {
	background-image: url('http://static.tifviking.no/tifvikingv3/images/tooltip.png');
}

table.tooltip td.left {
	width: 51px;
}

table.tooltip td.right {
	width: 32px;
}

table.tooltip td.center {
	background-image: none;
	background: #FFFFFF;
	height: 80px;
	line-height: 1.8em;
	font-size: 12px;
	width: 200px;
}

table.tooltip td.top, table.tooltip td.bottom {
	height: 33px;
}

table.tooltip td.top {
	background-position: top center;
	text-align: center;
	font-size: 14px;
	color: #FFFFFF;
	padding-top: 8px;
}

table.tooltip td.bottom {
	background-position: bottom center;
}

table.tooltip td.left {
	background-position: 0px -34px;
}

table.tooltip td.right {
	background-position: center right;
}

table.tooltip td.top-left {
	background-position: top left;
}

table.tooltip td.top-right {
	background-position: top right;
}

table.tooltip td.bottom-left {
	background-position: bottom left;
}

table.tooltip td.bottom-right {
	background-position: bottom right;
}

table.tooltip td a {
	text-decoration: underline;
	color: #0000AA;
}
/* End, Schedule*/


img {
	border: 0;
}

.post-thumb {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

.post-thumb img {
	padding: 2px;
	border: 1px solid #A6A6A6;
}

table.posts-table .thumb {
	vertical-align: top;
}

table.posts-table td {
	border-bottom: 1px solid #E6E6E6;
}

table.posts-table .thumb img {
	width: 80px;
	margin-top: 3px;
	padding: 2px;
	border: 1px solid #A6A6A6;
}

table.posts-table span.read-more {
	display: block;
	margin-top: 8px;
}

div.widget {
	margin-bottom: 20px;
}

div.edit_post {
	display: block;
	margin-top: 20px;
	width: 600px;
	padding-left: 48px;
	min-height: 40px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/edit_large.png');
	background-position: top left;
	background-repeat: no-repeat;
}

#more-1 {
	display: block;
	clear: both;
	width: 100%;
	height: 5px;
}
/*
#left ul li.page-item-37 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/friidrett_s.png'); }
#left ul li.page-item-39 a  { background-image: url('http://static.tifviking.no/tifvikingv3/images/handball_s.png'); }
#left ul li.page-item-35 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/kappgang_s.png'); }
#left ul li.page-item-15 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/langrenn_s.png'); }
#left ul li.page-item-5 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/orientering_s.png'); }
#left ul li.page-item-41 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/turn_s.png'); }
#left ul li.page-item-43 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/volleyball_s.png'); }
#left ul li.page-item-31 a { background-image: url('http://static.tifviking.no/tifvikingv3/images/helsestudio_s.png'); }

#left ul li.page-item-2 li a,
#left ul li.page-item-37 li a,
#left ul li.page-item-39 li a,
#left ul li.page-item-35 li a,
#left ul li.page-item-15 li a,
#left ul li.page-item-5 li a,
#left ul li.page-item-41 li a,
#left ul li.page-item-43 li a,
#left ul li.page-item-31 li a {
	background-image: url('http://static.tifviking.no/tifvikingv3/images/menu_row.png');
}
*/

.postmetabox {
	color: #555;
	border-left: 4px solid #E6E6E6;
	padding-left: 4px;
	margin-left: 4px;
	margin-bottom: 10px;
}

.postmeta {
	color: #555;
	/*border-left: 4px solid #E6E6E6;*/
	padding-left: 4px;
	margin-left: 4px;
}

h4.comments {
	padding-top: 10px;
}

.ucomment_meta {
	background-color: #E6E6E6;
	border-bottom: 1px solid #A6A6A6;
}

.ucomment_meta .num {
	color: #555;
	padding-right: 10px;
}

.comment td {
	vertical-align: top;
}

.comment td.text p {
	margin-top: 0;
	margin-bottom: 10px;
}

#bottom-partner {
	left: 0;
	right: 0;
	text-align: center;
}

#left-partner {
	margin-top: 20px;
	margin-right: 10px;
	left: 0;
	right: 0;
	text-align: center;
}

#searchform {
	position: absolute;
	top: -21px;
	left: 800px;
	height: 24px;
	width: 190px;
	z-index: 5;
}

#searchform .hidden, #searchform .screen-reader-text { display: none; }
/*
#searchform input { border-width: 1px; float: left; }
#searchform #s { width: 80px; }
#searchsubmit { margin: 0; padding: 1px; font-size: 10px; }
*/

#searchform input {
	padding: 0;
	margin: 0;
	border: 1px solid #A6A6A6;
}

img.pdf {
	margin-left: 3px;
	margin-right: 3px;
}

/*
#searchform #s {
	bottom: 0;
	left: 26px;
	position: absolute;
	width: 105px;
	height: 17px;
	background: transparent;
}
#searchform #searchsubmit {
	bottom: 0;
	right: 0;
	position: absolute;
	width: 48px;
	height: 25px;
	background: transparent;
	color: transparent;
	font-size: 0;
}
#searchform div {
	position: relative;
	width: 186px;
	height: 25px;
	background-repeat: no-repeat;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/search.png');
}
*/

/*******************
	Logo
********************/

#logoviking, #logosenter {
	top: 0px;
	position: absolute;
	z-index: 2;
}

#logoviking {
	left: 45px;
}

#logosenter {
	right: 20px;
}

#tifviking {
	top: 35px;
	left: 0;
	right: 0;
	text-align: center;
	position: absolute;
}


/*******************
	Footer
********************/

#footer {
	position: relative;
	left: 0;
	right: 0;
	color: #FFFFFF;
	height: 20px;
	font-size: 10px;
	font-family: Verdana;
	background-color: #034b8b;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/contentbg.png');
	background-repeat: repeat-x;
	background-position: top left;
}

#contact {
	top: 2px;
	left: 0;
	right: 0;
	position: absolute;
	text-align: center;
}

#copyright {
	top: 2px;
	left: 10px;
	position: absolute;
}

#w3 {
	top: 2px;
	right: 2px;
	position: absolute;
}

#poweredby {
	top: 2px;
	right: 172px;
	position: absolute;
}

#footer a:link, #footer a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

#footer a:hover {
	color: #A6A6A6;
}

/* STANDARD TABLE */
table.std {
	border-left: 1px solid #A6A6A6;
	border-top: 1px solid #A6A6A6;
}

table.std th {
	color: #000000;
	background-color: #bbdeff;
	border-right: 1px solid #A6A6A6;
	border-bottom: 2px solid #555555;
	padding: 4px;
}

table.std td {
	border-right: 1px solid #E6E6E6;
	border-bottom: 2px solid #A6A6A6;
	padding: 4px;
}

table.std tr:hover td {
	background-color: #FFFFAA;
}


/* slider */
div.slides-container {
	position: relative;
	width: 780px;
	height: 269px;
}
div.slides-container ul {
	margin: 0;
	padding: 0;
}
div.slides-container ul li {
	float: left;
	width: 255px;
	text-align: center;
	padding: 2px;
}
div.slides-container ul li a {
	display: block;
	width: 254px;
	background-color: #E6E6E6;
	padding: 2px;
	text-align: center;
	text-decoration: none;
	border: 1px solid #A6A6A6;
	color: #555555;
}
div.slides-container ul li.current a, div.slides-container ul li a:hover {
	color: #FFFFFF;
	background-color: #034b8b;
}
div.slides-container ul li.current ul a {
	background: none;
}
div.slides-container ul {
	list-style-type: none;
}
div.slides-container ul ul {
	height: 1px;
	visibility: hidden;
	position: absolute;
	top: -1px;
	left: 0;
}
div.slides-container ul li:hover ul, div.slides-container ul li.current ul {
	visibility: visible;
	position: absolute;
	left: -2px;
	top: 20px;
	height: 150px;
}

div.slides-container ul ul li {

}
div.slides-container ul ul li a {
	background: none;
	border: none;
}
div.slides-container img {
	border: 0;
	padding: 0;
	margin: 0;
	border: 1px solid #A6A6A6;
	width: 768px; /* FIXME */
}

/* Wordpress Widget Related CSS Code
--------------------------------------------------*/
#wp-calendar {
	/*border: 1px solid #ddd;*/
	empty-cells: show;
	font-size: 0.9em;
	margin: 0;
	width: 90%;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
	text-decoration: none;
	font-weight:bold;
}

#wp-calendar a:hover {
/*	background: #e0e6e0; */
background:white;
	color: #333;
}

#wp-calendar caption {
	color: #14568A;	
	text-align: center;
	font-weight:bold;
	font-size:1.2em;
}

#wp-calendar td {
/*	color: #ccc;*/
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
}

#wp-calendar td.pad:hover {
	background: #fff;
}

#wp-calendar td:hover, #wp-calendar #today {
	background: #eee;
	color:#003366;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}

/* Captions & aligment */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* Not valid CSS
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	*/
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions & aligment */

#topmenu {
	top: 75px;
	left: 205px;	/* Distance from left edge */
	right: 10px;
	z-index: 10;
	position: absolute;
	text-align: center;
	font-size: 12px;
}

#topmenu .menu {
	float: left;
}

#breadcrumb {
	top: 102px;
	left: 0;
	right: 0;
	/*background-color: #E6E6E6;*/
	padding: 2px 0 5px 210px;
	z-index: 2;
	position: absolute;
	font-size: 14px;
	text-align: left;
}

#breadcrumb span.seperator {
	width: 20px;
	height: 15px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/crumb_arrow.png');
	background-position: center center;
	background-repeat: no-repeat;
}

#breadcrumb span.home {
	width: 19px;
	height: 17px;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/home.png');
	background-position: center center;
	background-repeat: no-repeat;
}

#topmenu .menu ul ul a, #topmenu .menu ul ul a:visited { border-color: #fff;}

table.todayschedule {
	width: 100%;
	margin-bottom: 15px;
}

table.todayschedule th {
	padding-top: 5px;
	text-align: left;
}

table.todayschedule td {
	padding: 2px;
	font-family: Verdana;
	font-size: 10px;
}

table.todayschedule .color span {
	display: block;
	border: 1px solid #E6E6E6;
	width: 10px;
	height: 10px;
}

table.todayschedule .spots {
	background-image: url('http://tifviking.ibooking.no/img/icons/status_free.png');
	background-position: center center;
	background-repeat: no-repeat;
}

table.todayschedule .spots span {
	display: block;
	width: 16px;
	font-family: Verdana;
	font-size: 10px;
}

table.todayschedule a {
	text-decoration: none;
	color: #000000;
}

table.front-buttons form {
	display: inline;
}

table.front-buttons input {
	margin: 2px;
	font-family: verdana;
	letter-spacing: 1px;
	font-size: 12px;
	width: 254px;
	height: 30px;
	background-color: #a7c9e5;
	border-style: ridge;
	border-color: #034580;
	border-width: 2px;
}


div.slides-container li a {
	position: relative;
}

div.rounded {
	position: absolute;
	width: 4px;
	height: 4px;
	background-repeat: no-repeat;
	font-size: 0;
	background-image: url('http://static.tifviking.no/tifvikingv3/images/corners/corners.png');
}

div.top-left {
	top: -1px;
	left: -1px;
	background-position: bottom right;
}
div.top-right {
	top: -1px;
	right: -1px;
	background-position: bottom left;
}
div.bottom-left {
	bottom: -1px;
	left: -1px;
	background-position: top right;
}
div.bottom-right {
	bottom: -1px;
	right: -1px;
	background-position: top left;
}

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#topmenu .menu {width:auto; height:27px; font-size:0.85em; position:relative; z-index:100;}
/* hack to correct IE5.5 faulty box model */
* html #topmenu .menu {width:auto; w\idth:auto;}
/* remove all the bullets, borders and padding from the default list styling */
#topmenu .menu ul {padding:0;margin:0;list-style-type:none;}
#topmenu .menu ul ul {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#topmenu .menu li {float:left;width:auto;position:relative;}
/* style the links for the top level */
#topmenu .menu a, #topmenu .menu a:visited {display:block;font-size:11px;text-decoration:none; color:#fff; width:auto; height:27px; border:1px solid #fff; border-width:0 1px 0 1px; margin-right: -1px; line-height:24px; padding-left: 10px; padding-right: 10px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html #topmenu .menu a, * html #topmenu .menu a:visited {width:auto; w\idth:auto;}

/* style the second level background */
#topmenu .menu ul ul a.drop, #topmenu .menu ul ul a.drop:visited {background:#b0d8fe url('http://static.tifviking.no/tifvikingv3/images/drop.gif') bottom right no-repeat;}
/* style the second level hover */
#topmenu .menu ul ul a.drop:hover{background:#1d6bbc url('http://static.tifviking.no/tifvikingv3/images/drop.gif') bottom right no-repeat; }
#topmenu .menu ul ul :hover > a.drop {background:#1d6bbc url('http://static.tifviking.no/tifvikingv3/images/drop.gif') bottom right no-repeat;}
/* style the third level background */
#topmenu .menu ul ul ul a, #topmenu .menu ul ul ul a:visited {background:#85c3fd;}
/* style the third level hover */
#topmenu .menu ul ul ul a:hover {background:#1d6bbc;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#topmenu .menu ul ul {visibility:hidden;position:absolute;height:0;top:26px;left:0; width:149px;border-top:1px solid #fff;}
/* another hack for IE5.5 */
* html #topmenu .menu ul ul {top:25px;t\op:26px;}

/* position the third level flyout menu */
#topmenu .menu ul ul ul{left:149px; top:-1px; width:149px;}

/* position the third level flyout menu for a left flyout */
#topmenu .menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#topmenu .menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
#topmenu .menu ul ul a, #topmenu .menu ul ul a:visited {background:#b0d8fe; color:#000; height:auto; line-height:1em; padding:5px 10px; width:128px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html #topmenu .menu ul ul a, * html #topmenu .menu ul ul a:visited {width:150px;w\idth:128px;}

/* style the top level hover */
#topmenu .menu a:hover, #topmenu .menu ul ul a:hover{color:#fff; background:#1d6bbc; }
#topmenu .menu :hover > a, #topmenu .menu ul ul :hover > a {color:#fff;background-color:#1d6bbc; }

/* make the second level visible when hover on first level list OR link */
#topmenu .menu ul li:hover ul,
#topmenu .menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
#topmenu .menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
#topmenu .menu ul :hover ul :hover ul{ visibility:visible;}


/* ================================================================ 
   This CSS is further CSS I have created specifically for Wordpress
   so that the current page is highlighted in two levels.
   If you want it in three levels let me know.

   Author: Isaac Rowntree
   Website: www.zackdesign.biz
=================================================================== */

#topmenu .menu ul ul .current_page_item a {
  color: #FFF;
  background-color: #1d6bbc;
  border-left: 1px solid #555;
}

#topmenu .menu .current_page_item a {
  color: #FFF;
  background-color: #1d6bbc;
}

#topmenu .menu ul .current_page_item ul a {
  color: black;
  background: #b0d8fe;
}

#topmenu .menu ul .current_page_item ul a:hover {
  color: white;
  background: #1d6bbc;
}

#topmenu .menu .current_page_item a:hover {
  /*background: white;*/
}

/* Sprites to reduce number of connections */
img.apix {
	border: 0;
	padding: 0;
	margin: 0;
}

/* Fix: Move up CSS and HTML */
#footer .mini-sprites-css, #footer .mini-sprites-html {
	font-size: 14px;
}

/* HTML/CSS validator */
.mini-sprites-css {
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') 0 0 no-repeat;
}
.mini-sprites-html {
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') -79px 0 no-repeat;
}
.mini-sprites-css img.apix, .mini-sprites-html img.apix {
	width: 80px;
	height: 15px;
}

/* Breadcrums home */
.mini-sprites-home {
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') -159px 0 no-repeat;
}
.mini-sprites-home img.apix {
	width: 19px;
	height: 17px;
}

/* Breadcrums separator */
.mini-sprites-separator {
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') -178px 0 no-repeat;
}
.mini-sprites-separator img.apix {
	width: 20px;
	height: 15px;
}

/* Menu dot */
.mini-sprites-menu-dot {
	background: transparent url('http://static.tifviking.no/tifvikingv3/images/minisprites.png') -198px 0 no-repeat;
}
.mini-sprites-menu-dot img.apix {
	width: 7px;
	height: 8px;
}

