﻿/*
Theme Name: Supporterklubben Älgarna
Theme URI: http://www.algarna.net
Description: The 2010 theme for Älgarna.
Author: Andreas Isberg
Version: 1.0
Tags: one-column, black, white, fixed-width
*/


/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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 {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	clear: both;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }


html {
	height: 100%;
	background: #84B1F0;
}

body {
	height: 100%;
	font-family: Georgia;
}

#wrapper {
	background-color: #FFFFFF;
	min-height: 100%;
	width: 820px;
	margin: 0 auto;
	border-left: 2px solid #000;
	border-right: 2px solid #000;
}
* html #wrapper { /* IE6 hack */
	height: 100%;
}

#header {
	padding: 10px 0 10px 0;
	font-size: 300%;
	background: transparent url("img/panorama.jpg") no-repeat top left;
	height: 230px;
	text-align: right;
}
#header img {
	margin-right: -100px;
}

#nav {
	width: 180px;
	border: 2px solid #000;
	border-left: none;
	margin: 0 0 0 822px;
	background-color: white;
	font-size: 150%;
	padding: 0 5px 0 5px;
}
#nav li {
	padding: 5px;
	border-bottom: 1px solid gray;
}
#nav li:last-child {
	border-bottom: none;
}
#nav li.active a{
	color: black;
}
#nav li.active img{
	opacity: 1;
}
#nav img {
	opacity: 0.5;
	padding-right: 5px;
}
#nav a:hover {
	text-decoration: none;
}

#nav a:hover img{
	opacity: 1;
}

#content {
	margin: -212px 10px 0 10px;
	padding: 10px 5px 10px 5px;
}

#content h2 {
	font-size: 270%;
	font-family: Georgia;
	font-weight: normal;
	padding-bottom: 10px;
}

#content  .post {
	margin-left: 115px;
	padding-bottom: 40px;
}

#content .post .posted {
	float: left;
	width: 45px;
	margin-left: -115px;
	text-align: center;
	padding: 5px 70px 10px 0;
	text-align: right;
	border-bottom: 1px solid gray;
}

#content .post .text-type {
	background: transparent url("img/icon/text.png") no-repeat right center;
}
#content .post .video-type {
	background: transparent url("img/icon/video.png") no-repeat right center;
}
#content .post .audio-type {
	background: transparent url("img/icon/audio.png") no-repeat right center;
}

#content .post .day {
	font-size: 190%;
}

#content .post .text {
	padding: 5px 0 5px 10px;
}

#content .post .text .title {
	font-size: 180%;}

#content .post .text .author {
	font-size: 80%;
	padding: 5px 0 5px 10px;
}

#footer {
	clear: both;
	border-top: 1px solid #000;
	margin: 0 10px 0 10px;
	text-align: center;
	padding: 10px 5px 10px 5px;
	font-size: 80%;
	line-height: 1.3;
}

.clear {
	clear: both;
}

a {
	color: grey;
	text-decoration: none;
}
a:hover {
	color: black;
	text-decoration: underline;
}


a.user {
	background-image: url("img/icon/user.png");
	background-repeat: no-repeat;
	background-position: left center;
	-moz-background-size: contain;
	padding-left: 16px;
}

a.comments {
	background: transparent url("img/icon/comments.png") no-repeat left center;
	-moz-background-size: contain;
	padding-left: 20px;
}
#links ul li {
	display: inline-block; /*http://stackoverflow.com/questions/1536618/css-float-problem-in-a-list*/
	vertical-align: top;
	padding: 0 30px 30px 0;
	width: 45%;
}
#links ul li h3 {
	font-size: 200%;
	text-decoration: underline;
}
#links ul li ul li {
	display: list-item;
	padding: 5px 0 0 0;
	width: 100%;
}
#links ul li ul li img {
	display: none;
}
#links ul li ul li a:hover {
	position: relative;
}

#links ul li ul li a:hover img {
	display: block;
	position: absolute;
	top: 30px;
	left: 100px;
}

#klubb img {
	float: left;
	padding-right: 20px;
}

#klubb .information {
	float: left;
}

#klubb .information .supporters {
	display: inline;
}

#klubb .information .supporters {
	display: inline;
}

#klubb .information li {
	padding-bottom: 5px;
}

#klubb .information .supporters li {
	display: inline;
	border-left: 1px solid gray;
	padding: 0 10px 0 10px;
}

#klubb .information .supporters li:first-child {
	border: 0;
	padding-left: 0;
}