/*  
Theme Name: Henrik Carlsson
Theme URI: http://henrikcarlsson.se
Description: This is theme number 4 for kalkyl.nu / henrikcarlsson.se, now renamed to "Henrik Carlsson"
Version: 0.7
Author: mrhenko
Author URI: http://henrikcarlsson.se/

*/

@import url("typo.css");
@import url("cat-colors.css");
@import url("comments-form.css");
@import url("latestactivity.css");
@import url("gallery.css");



/*	Reset	*/
a img {
	border-style: none;
}


.cssgradients body {
	background-image: -webkit-gradient(
    					linear,
   						left bottom,
						left top,
						color-stop(0.3, rgb(0,0,0)),
						color-stop(0, rgb(0,7,84))
					);
	background-image: -moz-linear-gradient(
						center bottom,
						rgb(0,7,84) 0%,
						rgb(0,0,0) 30%
					);
	background-attachment: fixed;
}

body {
	background-color: #000000;
}

section#wrapper {
	display: block;
	position: relative;
	max-width: 940px;
	top: 80px;
	margin-left: auto;
	margin-right: auto;
}

header {
	display: block;
}

header#branding {
	position: relative;
	height: 100px;
	top: -20px;
	width: 940px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	
	background-image: url("graphics/masthead.png");
	background-repeat: no-repeat;
	
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-bottom-color: #4d7274;
	border-bottom-color: rgba(154, 228, 232, 0.5);
}

@media screen and (max-width: 959px) {
	header#branding {
		width: 100%;
	}
}

header#branding:hover {
	border-bottom-color: rgba(154, 228, 232, 0.8);
}

header#branding h1 {
	position: absolute;
	top: 40px;
	right: 0px;
	
	/*-webkit-box-reflect: below -5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.5, transparent), to(white));*/
}

header#branding h1 a {
	color: rgba(154, 228, 232, 0.5);
	text-decoration: none;
}

.no-rgba header#branding h1 a {
	color: #4d7274;
}

header#branding h1 a:hover {
	color: rgba(154, 228, 232, 0.8);
}

header.post-header h2 {
	margin-top: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

nav#main-navigation {
	display: block;
	position: absolute;
	top: 100px;
	right: 50%;
	margin-right: -469px;
}

@media screen and (max-width: 959px) {
	nav#main-navigation {
		display: block;
		position: static;
		top: 100px;
		margin-right: auto;
}
}

nav#main-navigation ul {
	float: left;
	padding: 0px;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
}

nav#main-navigation li {
	float: left;
	width: 118px;
	padding: 10px;
	text-align: center;
}

nav#main-navigation li:first-of-type {
	margin-left: 0px;
	border-left-style: none;
	
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	-webkit-border-top-left-radius: 15px;
	-webkit-border-bottom-left-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-bottomleft: 15px;
}

nav#main-navigation li:last-of-type {
	margin-right: 0px;
	border-right-style: none;
	
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	-webkit-border-top-right-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
	-moz-border-radius-topright: 15px;
	-moz-border-radius-bottomright: 15px;
}

section#main_content {
	display: block;
	float: left;
	width: 620px;
	
	margin-right: 20px;
}

section#main_content.extra_wide {
	width: 940px;
}

aside {
	width: 300px;
	float: right;
	padding: 0px;
}

@media screen and (max-width: 959px) {
	aside {
		clear: both;
		float: none;
		position: relative;
		margin: 0px auto;
	//	width: 100%;
	}
	//aside ul, aside div {
	//	float: left;	
	//}
}

aside span {
	margin: 0px;
	margin-bottom: 20px;
}

/*footer.post-footer {
	display: block;
	width: 100%;
	float: left;
	clear: both;
}*/

footer.page-footer {
	float: left;
	clear: both;
}

section#contact {
	display: block;
	position: relative;
	width: 340px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
	top: 80px;
	border-color: rgba(154, 228, 232, 0.5);
	border-style: solid;
	border-width: 1px;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
}


article {
	display: block;
	
	border-left-width: 5px;
	border-left-style: solid;
}

article ul {
	list-style-type: square;
	margin-left: 10px;
}

article li {
	margin-left: 5px;
	padding-left: 5px;
}

article dl {
	padding-left: 10px;
	padding-right: 10px;
}

article dd, article dt {
	margin: 0px;
}

article dd {
	margin-bottom: 14px;
}

article .sub_postmeta {
	display: none;
	//opacity: 0;
	//-webkit-transition: all 0.5s linear;
}

article:hover .sub_postmeta {
	display: inline;
	//opacity: 1;
}

.post-header h2 {	
	padding-top: 40px;
	padding-left: 10px;
}

p, ul, li {
	padding-left: 10px;
	padding-right: 10px;
}

aside ul {
	padding-left: 0px;
}

ul {
	list-style-type: none;
}

h2, h3 {
	padding: 10px;
}

aside h2 {
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

h2 a, h3 a {
	padding-left: 10px;
	padding-right: 10px;
	
}

footer h2, footer h3, footer h2 a, footer h3 a {
	padding-left: 0px;
}

aside h2 a, aside h3 a {
	padding-left: 0px;
	padding-right: 0px;
	
}

ol.commentlist li {
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

div.comments li:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.15);
}

div.comments li:nth-child(odd) {
	background-color: rgba(255, 255, 255, 0.1);
}

.postmeta {
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	-webkit-border-top-right-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
	-moz-border-radius-topright: 15px;
	-moz-border-radius-bottomright: 15px;
	
	padding-top: 5px;
	padding-bottom: 5px;
}

/* FreshFromFriendFeed */
div.ffff_content {
	min-height: 50px;
	/*border-color: #cccccc;
	border-style: solid;
	border-width: 2px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;*/
	
	padding-top: 1px;
	padding-left: 1px;
	padding-right: 5px;
	
	margin: 0em;
	
}

ffff_content img {
	margin-right: 5px;
}

div.ffff_content p {
	margin: 0px;
	padding: 0px;
	padding-left: 3px;
} 

img.profile_image {
	float: left;
	margin-right: 5px;
}

.service_icon img {
	position: relative;
	margin-left: -21px;
	margin-right: 5px;
}

/*	Sidebar links	*/
aside a {
	font-family: Helvetica;
	color: rgba(154, 228, 232, 0.5);
	text-decoration: none;
	font-weight: bold;
}

aside a:hover {
	color: rgba(154, 228, 232, 0.8);
	text-decoration: underline;
	font-weight: bold;
}

/*aside ul li {
	background-color: rgba(154, 228, 232, 0.5);
	margin: 10px;
	margin-left: 0px;
	padding: 10px;
	
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}*/

nav#main-navigation ul {
	background-color: #4B6E6E;
}

.rgba nav#main-navigation ul {
	background-color: rgba(154, 228, 232, 0.5);
}

/* aside ul li a */

.rgba nav#main-navigation li a {
	color: rgba(255, 255, 255, 0.6);
}

nav#main-navigation li a {
	display: block;
	color: #cccccc;
	text-decoration: none;
	font-weight: bold;
}

/*aside ul li:hover*/

nav#main-navigation li:hover {
	background-color: rgba(154, 228, 232, 0.8);
}

/*aside ul li a:hover*/

aside ul li a {
	display: block;
}

aside ul.latestactivity li a {
	display: inline;
}

nav#main-navigation li a:hover {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
}

/* posts-nav-link */
nav.posts-nav-link a {
	margin-top: 40px;
	display: block;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	font-weight: bold;
	background-color: rgba(154, 228, 232, 0.5);
	width: 200px;
	padding: 10px;
	text-align: center;
	
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	
	margin: 25px;
	
	float: left;
}

.no-rgba nav.posts-nav-link a {
	background-color: #4d7274;
	color: #b8c7c7;
}

nav.posts-nav-link a:hover {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
	background-color: rgba(154, 228, 232, 0.8);
}

.no-rgba nav.posts-nav-link a:hover {
	background-color: #b8c7c7;
	color: #f2f8f8;
}

/*	Comments	*/
img.avatar {
	float: left;
	clear: both;
	width: 60px;
	height: 60px;
	margin: 5px;
}

/*	Footer	*/
footer.page-footer {
	margin-top: 40px;
	padding: 20px;
	padding-left: 0px;
	padding-right: 0px;
	
	border-top-style: solid;
	border-top-width: 2px;
	border-top-color: rgba(154, 228, 232, 0.5);
}

.no-rgba footer.page-footer {
	border-top-color: #4d7274;
}

footer.page-footer:hover {
	border-top-color: rgba(154, 228, 232, 0.8);
}

footer.page-footer p, footer.page-footer ul, footer.page-footer li {
	font-size: 12px;
	margin-top: 0px;
	padding-left: 0px;
}


section.leftmost, section.left, section.right, section.rightmost {
	display: inline;
	float: left;
	width: 220px;
	margin-left: 0px;
	margin-right: 20px;
}

section.rightmost {
	margin-right: 0px;
}

footer.page-footer section h3 {
	font-size: 14px;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
}

section.fullright, section.fullleft {
	display: inline;
	float: left;
	margin-left: 0px;
	margin-right: 20px;
	
	width: 380px;
	padding-left: 30px;
	padding-right: 30px;
}

.csscolumns footer.page-footer section.fullright {
	width: 460px;
	margin-right: 0px;
	
	column-count: 2;
	column-width: 220px;
	column-gap: 20px;
	-moz-column-count: 2;
	-moz-column-width: 220px;
	-moz-column-gap: 20px;
	-webkit-column-count: 2;
	-webkit-column-width: 220px;
	-moz-column-gap: 20px;
	
	padding-left: 0px;
	padding-right: 0px;
}

footer.page-footer section.fullright p {
	padding: 0px;
}

.has-javascript {
	color: #ff0000;
}

.js .has-javascript {
	display: none;
}

div.alignright {
	float: right;
}
