/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }				<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/


/* Bakgrunnsfarger og sånn */
body.custom {
    background: #D8D8D8;
}

.custom #container {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 0.3em;
    background: #B8B8B8;
    border: 0.4em solid #C8C8C8;
}

.custom #page {
    background: #fff;
}




/* Fix frame issue 1.5.1 */
.custom .headline_area .post_image { 
margin-left:0.03em; 
padding: 1em; 
  border-width: 0.1em;
  background:#EEEEEE none repeat scroll 0 0;
  border-color:#DDDDDD;
  border-style:solid;
 }
 
.custom .format_text .post_image { 
margin-left:0.03em; 
  padding: 0.414em; 
  border-width: 0.071em; 
  background:#EEEEEE none repeat scroll 0 0;
  border-color:#DDDDDD;
  border-style:solid;
}


.custom .teaser .post_image_link .thumb { 
  margin: 0.8em 0.8em 0.8em 0em; 
  border-width: 0.071em; 
  border-color: #736F6E;
  border-style:solid;
 } 
 
.custom .format_teaser .post_image_link .thumb { 
  margin: 0.333em 0.333em 0.333em 0em;
  border-width: 0.071em; 
  border-color: #736F6E;
  border-style:solid; 
 }


/* Fra DIYanswers - endre space på teasers - endre lengde på excerpts */

.teaser .format_teaser {
   margin-bottom:4px;
   margin-top:4px;
}


/* Sociable endring av css-del-linker */

div.sociable { margin: 16px 0; background:#F5F5F5 none repeat scroll 0 0;
border:1px solid #DDDDDD; padding: 5px;}

span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
	position: absolute;
	display: block;
	top: -5em;
	background: #ffe;
	border: 1px solid #ccc;
	color: black;
	line-height: 1.25em;
}
.sociable span {
	display: block;
}
.sociable ul {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
}
.sociable ul li {
	background: none;
	display: inline !important;
	list-style-type: none;
	margin: 0;
	padding: 1px;
}
.sociable ul li:before { content: ""; }
.sociable img {
	float: none;
	width: 16px;
	height: 16px;
	border: 0;
	margin: 0;
	padding: 0;
}

.sociable-hovers {
	opacity: .4;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}
.sociable-hovers:hover {
	opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);
}


/* Legge til ikon på widget-headers */

.custom li.widget_stray_quotes h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/sitat.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_dropularRSS h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/dropular.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_ilastfm h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/lastfm.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_flickrRSS h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/flickr.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_rrm_popular_posts h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/popular.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_rrm_similar_posts h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/similar.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_sideblog h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/asides.gif') no-repeat center left; text-indent: 15px; }


.custom li.widget_twitter h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/twitter.gif') no-repeat center left; text-indent: 15px; }

.custom li.widget_text h3 { background: url('http://www.erikkruse.no/wp-content/themes/thesis_151/custom/images/ikoner/presentasjon.gif') no-repeat center left; text-indent: 15px; }

/* Ta bort linje under content */

.prev_next {
border-top: none;
}

/* Egen footer-kode */

#footerbox ul {
	padding-left: 0;
	margin-left: 0;
	color: #fff;
	float: left;
	width: 940px;
	font-family: georgia, times, serif;
        font-size:1.3em;
        line-height:1.385em;
}
#footerbox ul li {
	display: inline;
	color: #000;
	text-decoration: none;
	float: left;
	border-right: 2px solid #ddd;
        padding: 10px;
	width: 210px;
}
#footerbox ul li a{
	font-size: 14px;
}
#footerbox ul li a:hover {
	color: #666;
}



/* Endre 3px double til 4 px double header og footer */

#header { border-bottom: 4px double #ddd; clear: both; }
#footer { color: #888; border-top: none; text-align: right; clear: both; }
