/*

Theme Name: Vikingcon
Theme URI: http://www.viking-con.dk
Description: Theme for viking-con.
Version: 1.0
Author: Kristoffer Mads Soerensen / Lars Nyberg
Author URI: http://www.kristoffermads.dk, http://wwwlarsnyberg.dk
Tags: 

CSS last edited 12. september 2009

*/
/* ************************************************
CSS reset begin 
v1.0 | 20080212 http://meyerweb.com/eric/tools/css/reset/
************************************************ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background-color: transparent;
	border: 0;
	font-size: 100%;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

address {font-style: normal}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* CSS reset end */

/* ************************************************
Basic styles
************************************************ */

body {
	background-color: #efe9e9;

	/* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-family: sans-serif;*/
	font-family: lucida sans unicode,lucida grande,sans-serif;
	font-size: 14px; 
	line-height: 1.57;
    text-align: center;
	}

/* Margin */
p, 
ul, 
ol, 
dl, 
address, 
table,  
fieldset {
	margin-bottom: .5em; /* 7px */
}


/* Headlines */
h1 {
	border-bottom: 2px solid #fff;
	color:#6B6B6B;	
	font-size: 1.5em; 	/* 21px */
	font-weight: bold;
    line-height: 1; 
	margin-bottom: .33em; /* 7px */
	padding-bottom: .33em; /* 7px */

	}
	.post h1 {
		margin-bottom: 0; 
	}
	.box h1 {
		font-size: 1.1em;
		line-height: 1.5;
		border: none;
		margin-bottom: 0;
	}

h2 {
	color:#6B6B6B;	
	font-size: 1.29em; 	/* 18px */
	font-weight: bold;
    line-height: 1;
	margin-bottom: .39em; /* 7px */
	margin-top: .78em;
}
h3 {
	font-size: 1em; 	/* 14px */
	font-weight: bold;
	margin-bottom: 0; 
}
h4 {
	font-size: 1em; 	/* 14px */
	font-weight: normal;
	margin-bottom: .5em; /* 7px */
}

/* Links */

a:link,
a:visited {
	color: #2b7385;
	text-decoration: none;
}

a:hover,
a:focus,
a:active 
{
	text-decoration: underline;
	color: #F60003;
}

/*a:visited {
	color: #B85B5A;
	text-decoration: none;
}*/

a img {
	border: none;
}

.readmore {
	padding-right: 10px; 
	background: transparent no-repeat url('img/readmore.gif') right .36em; 
}

/*lists*/
ul {
	margin-left: 1.5em; 
	list-style-type: circle;
}
ol {
	margin-left: 1.5em; 
	list-style-type: decimal;
}
dl {
	}
	dt {
		font-style: italic; 
		font-weight: bold;
	}
	dd {
		margin-left: .5em;
	}

blockquote {
	margin: 1em; 
	font-style: italic;
	}
	blockquote em {
		font-style: normal;
	}
q {
	font-style: italic;
	}

/*tables*/
table {
	}
	caption {
		text-align: left;
		color:#6B6B6B;	
		font-size: 1.29em; 	/* 18px */
		font-weight: bold;
		line-height: 1;
		margin-bottom: .39em; /* 7px */
		margin-top: .78em;
	}
	table td, 
	table th {
		border:1px solid #FFFFFF;
		padding:0.5em;
		vertical-align:top;
	}
	table th {
		background-color:#E5E1E0;
	}

	.event_table {font-size: .9em; width: 100%}
	.event_table .event_icon {width: 25px; }
	.event_table .event_name {width: 212px}
	.event_table .event_time {width: 71px; text-align: center}
	.event_table .event_desc {width: 212px}

sup {
	vertical-align:super; 
	font-size: .79em;
}
sub {
	vertical-align:sub; 
	font-size: .79em;
}

pre,
code,
kbd,
tt,
samp,
tt {
	font-family: "andale mono", monospace;
}

/* ************* */



#content img {border: 8px solid #e4e1e1; margin: 10px -140px 10px 10px; float: right;position: relative}
#content table img,
#content .event_images img,
#content img.icon {Float: none; border: none; margin: 0; position: auto}
#content .event_images {border: 8px solid #e4e1e1; margin: 10px -140px 10px 10px; float: right;position: relative}
.photo_copyright {background-color: #e4e1e1; text-align: right}
.photo_copyright .icon {vertical-align: center}

/* Basic styles end */

/* ************************************************
Structure
************************************************ */

.section {
	width: 940px; 
	margin: 0 auto;
	text-align: left;
	}

#login {
	background-color: #333; 
	height: 60px;
	display: none;
	}
#top {
	background: #fff repeat-x url('img/top.jpg');
	}
	#header {
		position: relative;
		overflow: auto;
		}
		#logo {
			float: left; 
			width: 410px;
			}
		#showlogin {
			position: absolute; 
			right: 0; 
			width: 118px; 
			height: 28px; 
			background: no-repeat url('img/tab.gif');
			text-align: center;
			}
	#intro {
		clear: both; 
		background: #fff repeat-x url('img/border.gif') bottom left;
		}
		#teaser {
			padding-bottom: 78px; 
			overflow: auto; 
			}
			#teaser.illu {
				background: no-repeat url('img/topillu_wizard.png') 680px bottom; 
				min-height: 115px;			
			}
			#teaser p {
				margin: 35px 210px 15px 80px; 
				font-size: 1.5em; 
				line-height: 1.5;
				color: #7B8188;
				text-align: center;
				}
			#teaser.illu p {
				
				}


#main {
	position: relative;
	}
	#main.wide {
		width: 100%;
		}
	#content {
		margin-left: 50px;
		width: 520px;
		}
		#content.subpage {
			padding-left: 200px;
		}
		#content.blog {
			float: left;
			}
			#content .post {
				margin-bottom: 3em;
				}
				.postinfo {
					text-align: right; 
					font-size: .85em; 
					margin-bottom: 1em;
				}
	#sidebar {
		margin-left: 50px; 
		float: left; 
		width: 250px;
		}
		.box {
			margin-bottom: 30px;
			clear: left;
			}
			.box.tilmeld {
				font-size: 1.57em; 
				font-weight: bold; 
				text-transform: uppercase; 
				border: 1px dotted; 
				color: #2b7385;
				padding: .6em .3em
				}
				.box.tilmeld img {
					vertical-align: middle;
					float: none;
				}

			.box a:hover, 
			.box a:focus, 
			.box a:active {
				text-decoration: none;
			}
			.box.facebook {
				background: transparent url('img/facebook.png') no-repeat left top;
				padding-left: 54px;
				padding-top: 5px;
			}
			.box.stock {
				background: transparent url('img/stock.png') no-repeat left top;
				padding-left: 54px;
				padding-top: 5px;
			}
			.box.help {
				background: transparent url('img/help.png') no-repeat left top;
				padding-left: 54px;
				padding-top: 5px;
			}
			.box.info {
				background: transparent url('img/info.png') no-repeat left top;
				padding-left: 54px;
				padding-top: 5px;
			}
	

#footer { 
	}
	#footercontent {
		border-top: 1px solid #2b7385; 
		margin: 10px 0 0 50px; 
		padding: 10px 0;
		}
	#footer.subpage #footercontent {
		margin-left: 250px;
		}

/* Structure end */

/* ************************************************
Navigation
************************************************ */

.menu,
.menu * {
	display: block; 
	list-style-type: none;
	}

/* mainmenu*/
#mainmenu {
	float: left; 
	margin-top: 45px;
	}
	#mainmenu li {
		color: #fff;
		float: left; 
		padding: 0 .5em; 
		border-left: 1px solid #fff; 
		font-size: 1em; 	/* 14px */
		text-transform: uppercase;
		font-family: verdana, sans-serif;
		
			}
			#mainmenu .menu li:first-child
			{
				border-left: none; 
			}
			#mainmenu .current_page_item a,
			#mainmenu .current_page_ancestor a{
				text-decoration: underline;
				}
				#mainmenu a {
					color: #fff; 
					}
/* submenu */
#submenu {
	position: absolute; 
	top: -76px; 
	left: -75%; 
	background-color: #e4e1e1; 
	width: 100%; 
	height: 100%; 
	text-align: right;
	padding-bottom: 157px;
	}

	#submenu ul {
		position: absolute; 
		right: 0; 
		text-align: left; 
		margin-top: 20px;
		}
		#submenu li {
			padding-left: 15px; 
			margin: 5px 20px 5px 20px; 
			width: 160px;
			}
			#submenu ul ul {
				position: relative; 
				margin-top: 0; 
				margin-left: 0;
				}
				#submenu li li {
					margin: 0; 
					padding-left: 15px;
					}
				#submenu a:link,
				#submenu a:visited {
					color: #666;
				}
				#submenu a:hover,
				#submeny a:focus,
				#submenu a:active {
					color: #2b7385;
				}

		#submenu .current_page_item {
			background:transparent url('img/arrow.gif') no-repeat scroll 0 5px;
		}

	#footer {
		clear: both;
		}
		#footer .menu {
			overflow: auto;
			}
			#footer .menu li {
				float: left;
				margin-right: 1em;
			}
		
		.iconlink img {
			display: inline;
		}
		
		#footer .menu a {
			color: #000;
		}

	#showlogin a {
		color: #fff
	}

/* Shortcuts and debug */

.left {
	text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.clear {
	clear: both;
}
.hide {
	position: absolute;
	left: -999em;
	top: -999em;
}

.debug {background-color: red}
.debug * {background-color: green}
.debug * * {background-color: blue}

.stock td{
      font-size:12px;
      line-height:20px;
      padding:3px;
      text-align:center;
}
.large.stock td div.diff{
      width:50px;
}
.large.stock td div.value{
      width:50px;
}
.large.stock td div.url{
      width:400px;
}
.stock thead td{font-weight:bold;}

.stock td  div.url{
      width:155px;
      padding-left:5px;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-size:12px;
	line-height:20px;
	text-align:left;
}

.stock .negative{
      background-image:url('img/stock_down.gif');
      background-position:3px 9px;
      background-repeat:no-repeat;
      padding-left:16px;
}
.stock .positive{
      background-image:url('img/stock_up.gif');
      background-position:3px 9px;
      background-repeat:no-repeat;
      padding-left:16px;
}