/*
Theme Name: Webpal
Theme URI: http://www.webpal.se/
Description: Webpal wordpress theme.
Version: 2
Author: Niklas Olsson
*/
*, html {
	margin:0;
	padding:0;
}
body {
	font: 62.5%/1 'Helvetica neue',Helvetica,Arial,Sans-serif; /* 1em = 10px */
	background-color: #d1dbbd;
	color:#333;
	margin-bottom: 15px;
}
/*--------------------------------------------------------------------  BASICS */

a {
	text-decoration:none;
	color:#3e606f;
}
a:hover {
	text-decoration:none;
}

h1, h2, h3, h4 {
	font-style:normal;
	font-weight:normal;
	line-height: 1;
	font-size: 1em;
}

/*--------------------------------------------------------------------  WRAP */

.wrap {
	background: #fff url(img/wrap-bg.gif) 0 0 repeat-y;
	width: 908px;
	margin: 0 auto;
}

/*--------------------------------------------------------------------  LOGO */

#logo {
	display:block;
	width:132px;
	height:44px;
	text-indent:-9009px;
	background:transparent url(img/webpal.gif) no-repeat 0 0;
	font-size:0.1em;
	margin-left: 24px;
}
#logo a {
	display:block;
	outline:none;
	width:100%;
	height:100%;
}

/*--------------------------------------------------------------------  HEADER */

#header {
	padding-top: 20px;
	background: #fff url(img/header-bg.gif) 0 bottom repeat-x;
	margin: 0 5px;
	width: 898px;
}

/*--------------------------------------------------------------------  MAINNAV */

#mainnav {
	float:right;
	width: 700px;
	margin-top: 35px;
}
#mainnav ul {
	list-style:none;
	padding-right: 22px;
}
#mainnav li {
	display:inline;
}
#mainnav li a {
	display:block;
	float:right;
	background: #e4e4e4 url(img/mainnav-bg.gif) 0 bottom repeat-x;
	padding: 0 15px;
	font: 1.2em/28px Arial,sans-serif;
	margin-right: 2px;
	color: #666;
}
#mainnav li.sel a {
	background: #193441 url(img/mainnav-sel-bg.gif) 0 1px repeat-x;
	color: #fff;
	padding: 0 14px;
	border-left: 1px solid #193441;
	border-right: 1px solid #193441;
}
#mainnav li.sel a:hover {
	color: #fff;
	background: #193441 url(img/mainnav-sel-bg.gif) 0 0 repeat-x;	
}
#mainnav li a:hover {
	color: #000;
	background-color: #ccc;
	background-image: none;
}

/*--------------------------------------------------------------------  PROMOTE */

.promote {
	clear:both;
	margin: 0 4px;
	background-color: #193441;
	background: #193441 url(img/promote-portfolio.jpg) right 0 no-repeat;
	padding: 25px 350px 0 40px;
	height: 134px;
	color: #fff;
	overflow:hidden;
}
#blogg {
	background: #193441 url(img/niklas.jpg) right 0 no-repeat;
	padding: 35px 350px 0 40px;
	height: 124px;
}
#home {

}
#portfolio {
	background: #193441 url(img/promote-portfolio.jpg) right 0 no-repeat;
	padding: 25px 350px 0 40px;
	height: 134px;
}
.promote h1 {
	font-size:2.4em;
}
.promote p {
	font-size: 1.2em;
	line-height: 1.5;
	margin-top: 10px;
}
.promote a {
	color: #fff;
	text-decoration:underline;
}

/*--------------------------------------------------------------------  SUBNAV */

#sidebar {
	width: 270px;
	float:right;
	display:inline;
	background-color: #fff;
}

#sidebar h2 {
	font-size: 1.2em;
	font-weight:bold;
	margin-bottom: 0.6em;
	background: #193441 url(img/mainnav-sel-bg.gif) 0 0 repeat-x;
	border: 1px solid #193441;
	line-height: 25px;
	color: #fff;
	padding-left: 10px;
}
#wordpress {
	background: #fff url(img/wordpress-logo.gif) 0 bottom no-repeat;
}
.sidebar-info {
	padding: 10px;
	padding-top: 0;
}
.sidebar-info h3 {
	font-size: 1.8em;
	line-height: 1.2;
	margin-bottom: 0.5em;
	color: #193441;
}
.sidebar-info p {
	font-size: 1.4em;
	margin-bottom: 0.5em;
	line-height: 1.3em;
}
.sidebar-info a {
	border-bottom: 1px solid #ccc;
}
.sidebar-info a:hover {
	background-color: #ededed;
}
#sidebar ul {
	list-style:none;
	margin-bottom: 1.6em;
	border-bottom: 1px solid #e5e5e5;
	margin: 10px;
}
#sidebar li a {
	display:block;
	width: 226px;
	padding-left: 24px;
	line-height:26px;
	font-size: 1.2em;
	border-top: 1px solid #e5e5e5;
	background: #fff url(img/arrow-right.gif) 10px center no-repeat;
}
#sidebar li a:hover {
	background: #dedede url(img/arrow-right-black.gif) 10px center no-repeat;
	color: #000;
}
#sidebar li.sel a {
	background: #dedede url(img/arrow-right-black.gif) 10px center no-repeat;
	color: #000;
}
li#rss a:hover {
	background:  #dedede url(img/rss.gif) 4px center no-repeat;
	color: #000;
}

li#rss a {
	background:  #fff url(img/rss.gif) 4px center no-repeat;
}

#searcharea {
	background: #193441 url(img/mainnav-sel-bg.gif) 0 0 repeat-x;
	height: 29px;
	padding:7px 9px 0 9px;
	text-align:right;
	border: 1px solid #193441;
}
#s{
	height: 19px;
	width: 197px;
	background-color: #fff;
	border: 1px solid #ccc;
	float:left;
	color: #333;
}
#s:focus {
	background-color: #eef3e4;
}

#searchsubmit {
	border: 1px solid #fff;
	width:43px;
	height: 21px;
	background: #fff url(img/searchsubmit-bg.gif) 0 bottom repeat-x;
	color: #193441;
	font-size: 1.2em;
}
/*--------------------------------------------------------------------  CONTENT */

.morelinks {
	background: #fff url(img/post-bg.gif) 0 0 repeat-x;
	border:1px solid #fff;
	padding: 0 13px;
	line-height:33px;
	font-size: 1.2em;
}
#later a {
	float:right;
	background: url(img/arrow-right.gif) right center no-repeat;
	padding-right: 10px;
}
#earlier a {
	background: url(img/arrow-left.gif) left center no-repeat;
	padding-left: 10px;
}
.morelinks a:hover {
	text-decoration:underline;
}

/*--------------------------------------------------------------------  POST */

#innerwrap {
	margin: 0 4px;
	padding: 12px 9px 0 9px;
	background: #e4e4e4 url(img/innerwrap-bg.gif) 0 1px repeat-x;
	border-left: 1px solid #e4e4e4;
	border-right: 1px solid #e4e4e4;
	
}
#content {
	float:left;
	width: 600px;
	display:inline;
}
.post {
	clear:both;
	margin-bottom: 20px;
	background: #fff url(img/post-bg.gif) 0 0 repeat-x;
	border: 1px solid #fff;
	padding: 10px 20px 5px 20px;
}

.post h3 {
	font-size: 1.8em;
	color: #193441;
	margin: 1.2em 0 0.5em 0;
	clear:both;
}
.post h1 a {
	text-decoration:none;
	color: #193441;
	border:0;
}
.post h1 a:hover {
	background-color: transparent;
}
.post h1 {
	font-size: 2.4em;
	color: #193441;
	line-height: 1.2;
	margin-top: -3px;
	font-weight:bold;
}
.post p {
	font-size: 1.4em;
	line-height: 1.5em;
	margin-bottom: 1.2em;
}
.post ul {
	list-style:none;
	margin-bottom: 1em;
}
.post li {
	font-size: 1.3em;
	line-height: 1.4;
	background: url(img/dot.gif) 8px 0.5em no-repeat;
	padding-left: 20px;
	margin-bottom: 0.5em;
}
.post a {
	border-bottom: 1px solid #ccc;
}
.post a:hover {
	background-color: #ededed;
}
.page-title {
	background: url(img/dotted-line.gif) 0 bottom repeat-x;
	padding-bottom: 7px;
	margin-bottom: 15px;
}
.category {
	color: #808080;
	font-size: 1.2em;
	background: url(img/dotted-line.gif) 0 bottom repeat-x;
	line-height: 1.2;
	padding-bottom: 7px;
	margin-bottom: 1.2em;
	margin-top: 1px;
}
.category a {
}
.category a:hover {
}

/*--------------------------------------------------------------------  FOOTER */

#footer {
	clear:both;
	background: url(img/footer-bg.gif) 0 0 no-repeat;
	height: 55px;
	padding: 0 24px;
	color: #ccc;
	line-height: 51px;
	font-size: 1.2em;
}
#footer a {
	color: #fff;
	text-decoration:underline;
}
#footer a:hover {
	text-decoration:none;
}
#copyright {
	float:right;
}

/*------------------------------------------------------ FORM */


/*--------------------------------------------------------------------  MISC */

.clearfix {
	font-size:0.00001px;
	visibility:hidden;
	height:0;
	clear:both;
}

code {
	font: 1.1em/1.2 Arial, verdana, sans-serif;
	border: 1px solid #ccc;
	padding: 5px;
	background-color: #fff;
	display:block;
}
 
abbr {
	cursor:help;
	border-bottom: 1px dotted #808080;
}

strong {
	font-weight:bold;
}

.ddsg-sitemap li li {
	font-size: 1em;
}

/*--------------------------------------------------------------------  COMMENTS */

.comments {
	border-top: 1px solid #e5e5e5;
	margin-top: 2em;
}
.comments h3 {
	margin-top:8px;
}


#submit {
	padding: 3px 5px;
	margin-bottom: 10px;
}


label {
	display:block;
	font-size: 1.2em;
	line-height: 1.2;
	margin-bottom: 3px;
}
#author, #email, #url {
	margin-bottom: 13px;
	padding: 2px;
	width: 200px;
	border: 1px solid #ccc;
}
#comment {
	margin-bottom: 10px;
	width: 450px;
	height: 100px;
	padding: 2px;
	border: 1px solid #ccc;	
}

#author:focus, #email:focus, #url:focus {
	background-color: #eef3e4;
}
#comment:focus {
	background-color: #eef3e4;
}

.comments li {
	padding: 0;
	background-image: none;
	clear:both;
	margin-bottom: 1em;
	background: url(img/dotted-line.gif) 0 0 repeat-x;
	padding-top: 1.2em;
	font-size: 1em;
}
.comment-time {
	color: #808080;
	margin-left: 15px;
	font-size: 0.9em;
}
.comment-meta {
	float:left;
	width: 165px;
	padding-bottom: 1em;
	font-size: 1.3em;
	overflow:hidden;
}
.comment-text {
	width:390px;
	overflow:hidden;
}
.comment-text p {
	font-size: 1.3em;
}
#write-comment {
	padding-bottom: 0.5em;
	background: url(img/dotted-line.gif) 0 bottom repeat-x;
	margin-bottom: 1em;
}

/*--------------------------------------------------------------------  IMAGES */

.img-right {
	float:right;
	margin-left: 10px;
	margin-bottom: 3px;
}
.img-left {
	float:left;
	margin-right: 10px;
	margin-bottom: 3px;
}
.fancy {
	border: 1px solid #e5e5e5;
	padding: 6px;
}

.short {
	background: url(img/dotted-line.gif) 0 bottom repeat-x;
	margin-bottom: 10px;
}
.short p {
	margin-bottom:0;
	padding-bottom: 1em;
}
.short img {
	margin-bottom: 5px;
	border:0;
}

.short h2 {
	font-size: 2.0em;
	clear:both;
	line-height: 1.2;
	color: #808080;
}
.short h2 a {
	color: #193441;
	border:0;
}
.short h2 a:hover {
	background-color: #fff;
}
.date{
	color: #808080;
	margin-bottom: 0.3em;
}
.lone-heading {
	padding-bottom: 1em;
}
.lone-heading h2 {
	font-size: 1.4em;
}
.lone-heading h2 a:hover {
	text-decoration:underline;
}