/*  
	Theme Name: Bernskiold Media
	Theme URI: http://www.bernskioldmedia.com/
	Description: Custom design for Bernskiold Media. Designed by <a href="http://www.xldstudios.com/" title="XLD Studios">XLD Studios</a>.
	Version: 1.0
	Author: Erik Bernskiold, XLD Studios
	Author URI: http://www.xldstudios.com/
	Tags: modern, clean, professional, two column, fresh
*/

html, body {
	background: #1e2a30;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: Verdana, Arial, Tahoma, sans-serif;
	color: #505050;
	font-size: 12px;
	line-height: 18px;
}

#website-wrapper {
	width: 960px;
	margin: 0 auto 0 auto;
	position: relative;
}

#header {
	width: 960px;
	height: 55px;
	margin: 0 auto 0 auto;
	padding: 0;
	position: relative;
}

	#header h1 {
		margin: 10px 0 0 20px;
		padding: 0;
		width: 222px;
		height: 43px;
	}
	
		#header h1 a {
			display: block;
			background: url(images/logo.jpg) no-repeat;
			width: 222px;
			height: 43px;
			font-size: 1px;
			overflow: hidden;
			text-indent: -9999999em;
			margin: 10px 0 0 20px;
		}
		
	#header #lang_sel {
		position: absolute;
		right: 5px;
		top: 10px;
		width: 150px;
		z-index: 100;
	}
	
	#navigation {
		position: absolute;
		left: 340px;
		top: 5px;
		width: 550px;
		/*height: 43px;*/
		margin: 0;
		padding: 0;
		overflow: hidden;
	}
	
		#navigation ul {
			list-style: none;
			padding: 0;
			margin: 0;
    	}
    	
		#navigation li {
			float: left;
			margin: 0;
			list-style: none;
			background: none;
			padding: 0;
    	}
    	
		#navigation a {
			text-decoration: none;
			display: block;
			background: none;
			padding: 10px 10px 0 10px;
			margin-right: 20px;
			color: #ffffff;
			text-decoration: none;
			text-align: center;
			font-size: 14px;
			font-family: Verdana, Tahoma, sans-serif;
			font-style: normal;
			text-transform: lowercase;
    	}
		
		#navigation a:hover {
			color: #97a78c;
		}
		
		#navigation a.selected {
			color: #b8ec94;
		}
		
#sub-header-image {
	background: url(images/sub-header-image.jpg) center no-repeat;
	/*width: 960px;*/
	height: 184px;
	margin: 11px 0 0 0;
	padding: 0;
}

#content {
	background: #ffffff;
	margin: -20px 0 0 23px;
	padding: 15px;
	float: left;
	width: 650px;
	text-align: left;
	overflow: hidden;
}

#content-wide {
	background: #ffffff;
	margin: -20px 0 0 23px;
	padding: 15px;
	float: left;
	width: 930px;
	text-align: left;
	overflow: hidden;
}

#sidebar {
	float: right;
	width: 250px;
	margin: 20px 0 0 0;
	padding: 0;
	text-align: left;
	color: #cccccc;
	overflow: hidden;
}

#footer {
	clear: both;
	text-align: left;
	margin: 0;
	padding: 1px 0 0 50px;
	color: #56727c;
	font-size: 11px;
	font-style: italic;
}

	#footer a {
		color: #56727c;
		font-size: 11px;
		font-style: italic;
		text-decoration: none;
	}
	
	#footer a:hover {
		color: #6a8d9a;
	}


/* TEXT STYLES */

a:link, a:visited, a:active {
	color: #0099b9;
	text-decoration: none;
	outline:0px;
}
	
a:hover {
	color: #4a5265;
	text-decoration: none;
	outline:0px;
}

a.button {
    margin:15px 7px 8px 10px;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:12px;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}

	a.button:hover{
	    background-color:#dff4ff;
	    border:1px solid #c2e1ef;
	    color:#336699;
	}
	
	a.button:active{
	    background-color:#6299c5;
	    border:1px solid #6299c5;
	    color:#fff;
	}

#content p {
	padding: 2px 10px 3px 10px;
	margin: 3px;
	text-align: justify;
}

h1, h1 a, h1 a:visited, h1 a:active, h1 a:link {
	font-size: 24px;
	line-height: 30px;
	font-weight: lighter;
	font-family: Georgia, serif;
	text-transform: uppercase;
	color: #0f5f98;
	text-decoration: none;
	padding: 0 0 10px 10px;
	margin: 0;
}

h2, h2 a, h2 a:visited, h2 a:active, h2 a:link {
	font-size: 20px;
	font-family: Georgia, serif;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #0f5f98;
	text-decoration: none;
	padding: 5px 0 5px 0;
	margin: 0;
}

	h2.no-image {
		font-size: 28px;
		line-height: 32px;
	}

	h2.large-title {
		font-size: 32px;
	}
	
	h2.blog-title {
		font-size: 24px;
		font-weight: normal;
		font-family: Georgia, Times, serif;
	}

h3, h3 a, h3 a:visited, h3 a:active, h3 a:link {
	font-size: 18px;
	font-family: Georgia, serif;
	font-style: italic;
	font-weight: lighter;
	text-transform: lowercase;
	color: #6c5240;
	text-decoration: none;
	padding: 5px 0 5px 10px;
	margin: 0;
}

#sidebar p {
	line-height: 18px;
	font-size: 12px;
	margin: 0;
	padding: 0 0 0 3px;
	text-indent: 8px;
}

	#sidebar p.date {
		font-size: 10px;
		font-style: italic;
		color: #d3e5f2;
		margin: 0;
		padding: 0 0 10px 0;
	}
	
	#sidebar h2 {
		font-size: 20px;
		line-height: 20px;
		text-align: center;
		font-family: Georgia, serif;
		font-weight: bold;
		font-style: italic;
		text-transform: none;
		color: #79afc3;
		padding: 5px 0 10px 0;
		margin: 0;
	}
	
	#sidebar h3 a {
		font-size: 14px;
		line-height: 14px;
		font-family: Georgia, serif;
		font-style: italic;
		font-weight: bold;
		text-transform: none;
		color: #5da4d6;
		text-decoration: none;
		padding: 5px 0 2px 0;
		margin: 0;
	}

	#sidebar h3 a:hover {
		color: #90cbf4;
		text-decoration: underline;
	}

blockquote {
	margin: 15px 5px 0px 30px;
	padding: 5px 10px 5px 5px;
	font-style: italic;
	text-indent: 10px;
	border-left: 5px solid #ffd9c8;
	border-top: 2px solid #eee;
	border-bottom: 2px solid #eee;
	background: #f9f9f9;
}

code { font-family: Consolas, Monaco, "Courier New", Courier, monospace; }

pre {
	margin: 15px 5px 0px 30px;
	padding: 5px 10px 5px 5px;
	border-left: 5px solid #ffd9c8;
	border-top: 2px solid #eee;
	border-bottom: 2px solid #eee;
	background: #f9f9f9;
	font-size: 11px;
	line-height: 1.3em;
	overflow: auto;
}

pre a { font-weight: normal; }

a img {border:none;}

ol li {
  font: italic 14px Georgia, Times, serif;
  color: #999999;
  background:none;
  list-style:decimal;
}

ol p {
  font: normal 11px "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
  color: #505050;
  background:none;
  padding:none;
}

li {
	background: url(images/content_bullet.gif) no-repeat 5px 7px;
	padding: 2px 0 0 20px;
	list-style: none;
	list-style-position: inside;
}

.alert, .download, .info, .note{
	margin: 10px;
	padding: 10px 10px 10px 36px;
}

p.alert, p.download, p.info, p.note{
	margin: 10px;
	padding: 10px 10px 10px 36px !important;
}

.alert{
	border-top: 2px solid #f0baa2;
	border-bottom: 2px solid #f0baa2;
	padding: 10px 10px 10px 36px;
	background: #ffd9c8;
}

.download{
	border-top: 2px solid #d4ebaf;
	border-bottom: 2px solid #d4ebaf;
	background: #edfcd5;
}

.info{
	border-top: 2px solid #eee;
	border-bottom: 2px solid #eee;
	background: #f9f9f9;
}

.note{
	border-top: 2px solid #efe3ae;
	border-bottom: 2px solid #efe3ae;
	background: #fef6d2;
}

.wp-caption {
	border: 1px solid #c8c8c8;
	text-align: center;
	background-color: #ededed;
	padding-top: 5px;
	margin: 10px 15px 30px 15px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

#content .wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 13px;
	padding: 5px 0;
	margin: 0;
	text-align: center;
}

img.border {
	border: 3px solid #dddddd;
}

.postfoot {
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 12px 0px 12px 8px;
	margin:8px 0 8px 0;
	clear: both;
	font-family: Georgia, serif;
	font-size: 12px;
	text-transform: lowercase;
	letter-spacing: 2px;
}

/* SIMPLE CLASSES */

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

.bold { font-weight: bold; }
.italic { font-style: italic; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.sidebar-body-text {
	font-size: 14px;
	line-height: 20px;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.touch-top {
	margin-top: -25px;
}

/* =PageNavi
-------------------------------------------------------------- */
 
/* Use !important to override PageNavi CSS */

.wp-pagenavi {
	margin: 40px 20px 20px 50px;
}
 
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
	color: #fff !important;
	background: #226fb0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}
.wp-pagenavi a:hover {
	background: #4690cf !important;
	border: none !important;
}
.wp-pagenavi span.pages {
	color: #fff !important;
	background: #226fb0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}
.wp-pagenavi span.current {
	color: #fff !important;
	background: #1a7cd0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}
.wp-pagenavi span.extend {
	color: #fff !important;
	background: #226fb0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}


/* BLOG POST STYLES */

.postmetadata {
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 3px 10px 3px 10px;
	margin: 0 10px 20px 10px;
	text-indent: 0px;
	text-align: left;
}

#content .date {
	font-size: 10px;
	font-style: italic;
	margin: 0;
	padding: 0 0 0 20px;
	text-indent: none;
}

#content .single-post-header {
	margin: 30px 0 20px 0;
	padding: 0;
}

#content .single-post-photo {
	margin: 0 15px 0 0;
	padding: 0;
	float: left;
}

	#content .single-post-photo p {
		margin: 0;
		padding: 0;
	}

	#content .single-post-photo img {
		border: 3px solid #ccc;
		width: 200px;
		height: 100px;
	}

#content .single-post-meta {
	margin: 0 0 0 10px;
	padding: 0;
	width: 360px;
	float: left;
	position: relative;
}

	#content .single-meta-no-photo {
		margin: 0 0 0 10px;
		padding: 0;
		position: relative;
	}

		
.postfoot {
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 6px 0px 6px 5px;
	margin:4px 0 5px 0;
}

.post_footer {
	clear: both;
	border-top: 1px solid #aab7d1;
	border-bottom: 1px solid #aab7d1;
	font-style: italic;
	color: #645d3f;
	background: #e1e8f6;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin: 0 0 40px 0;
	padding: 3px 15px 3px 15px;
}

	.post_footer i {
		margin-left:3px;
		margin-right:3px;
		color:#b7b093;
		font-style:italic;
	}
	
	.post_footer strong {
		font-style:italic;
	}

	a.more-link {
		color: #0f5f98;
		text-decoration: none;
		font-family: Georgia, Times, serif;
		font-size: 12px;
		font-style: italic;
		font-weight: bold;
		margin: 5px 5px 5px 30px;
		padding: 0;
	}
	
	a.more-link:hover {
		background: #0f5f98;
		padding: 5px;
		color: #fff;
	}
	
	p.more-blog a {
	background: #0f5f98;
	padding: 6px 15px 6px 15px;
	margin: 10px 250px 30px 0;
	float: right;
	color: #fff;
	font-size: 12px;
	font-family: Helvetica, Arial, Verdana;
	font-weight: bold;
	text-transform: lowercase;
	width: 120px;
	height: 20px;
}

/* SIMPLE CLASSES */

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

.bold { font-weight: bold; }
.italic { font-style: italic; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.grey-bg {
	background: #2e2e2e;
	overflow: hidden;
	color: #eee;
	margin: 20px -15px 20px -15px;
}

	.grey-bg h3 {
		color: #fff;
	}
	
		.grey-bg h3 a { color: #fff; text-decoration: underline; }

/* PAGE STYLES */

.touch-side {
	margin: 0 -15px 0 -15px;
}


.touch-side-blog {
	margin: 0 -28px 0 -28px;
}


/* =PageNavi
-------------------------------------------------------------- */
 
/* Use !important to override PageNavi CSS */

.wp-pagenavi {
	margin: 40px 20px 20px 50px;
}
 
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
	color: #fff !important;
	background: #226fb0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}
.wp-pagenavi a:hover {
	background: #4690cf !important;
	border: none !important;
}
.wp-pagenavi span.pages {
	color: #fff !important;
	background: #226fb0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}
.wp-pagenavi span.current {
	color: #fff !important;
	background: #1a7cd0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}
.wp-pagenavi span.extend {
	color: #fff !important;
	background: #226fb0 !important;
	padding: 5px !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none !important;
}

/*
	COMMENTS
*/
.commentInputs 										{ width: 30%; float: left; margin: 0 19px 19px 0; }
#commentform textarea 								{ padding: 5px; height: 160px; width: 560px; border: 1px solid #ccc; 
													  margin: 0 0 10px 0; font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif; }
input.comment-field 								{ width: 100%; padding: 3px; border: 1px solid #ccc; 
													  font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif; }


.comment-text 										{ padding-left: 60px; }
h4#comments, h4#respond								{ font-size: 24px; }
#content-area ol#commentList						{ list-style: none; margin: 0; }
.commentArrow										{ position: absolute; left: -14px; top: 7px; }
.commentPreview .authorInfo							{ width: 115px; float: left; }
.commentPreview code								{ width: 375px; background: none; margin: 0; padding: 0; }

#commentList li.item                                { margin: 0 0 35px 0; }
#commentList .commentText,
.commentPreview .commentText						{ width: 380px; float: right; border: 1px solid #999; background: #eee; padding: 15px;
													  position: relative; min-height: 50px; margin: 0 0 10px 0; }
li.author .commentText p				{ color: black; }

	
ol.commentlist                        { list-style: none; margin: 0 auto 0 auto; padding: 0; text-indent: 0; width: 95%; }
ol.commentlist li                     { border:1px solid #d5d5d5; -moz-border-radius: 5px; 
                                                      -webkit-border-radius:5px; margin:0 0 10px; padding: 5px 7px 5px 57px; position:relative;  
                                                      background: none; list-style: none; }
ol.commentlist code                   { width: 370px; }
ol.commentlist li.alt                               {  }
ol.commentlist li.bypostauthor        { background: #eee; }
ol.commentlist li.byuser                            {  }
ol.commentlist li.comment-author-admin              {  }
ol.commentlist li.comment                           {  }
ol.commentlist li div.comment-author                { padding: 0 170px 0 0; }
ol.commentlist li div.vcard                         {  }
ol.commentlist li div.vcard cite.fn                 { font-style: normal; font-weight: bold; font-size: 14px; }
ol.commentlist li div.vcard cite.fn a.url           { color: #0f5f98; text-decoration: none;  }
ol.commentlist li div.vcard cite.fn a.url:hover     { color: #000; }
ol.commentlist li div.vcard img.avatar              { border: 5px solid #d5d5d5; left: 7px; position:absolute; top: 7px; }
ol.commentlist li div.vcard img.avatar-32           {  }
ol.commentlist li div.vcard img.photo               {  }
ol.commentlist li div.vcard span.says               {  }
ol.commentlist li div.commentmetadata               {  }
ol.commentlist li div.comment-meta                  { font: bold 10px helvetica,arial,sans-serif; position: absolute; right: 10px; 
                                                      text-align: right; top: 5px; }
ol.commentlist li div.comment-meta a                { color: #333; text-decoration:n one; }
ol.commentlist li div.comment-meta a:hover          { color: #000; }
ol.commentlist li p                                 { margin: 0 0 1em; }
ol.commentlist li ul                                { list-style: square; margin: 0 0 1em; padding: 0; text-indent: 0; }
ol.commentlist li div.reply                         { background: #999; border:1px solid #666; -moz-border-radius: 2px; font-size: 10px;
                                                      -webkit-border-radius: 2px; color:#fff; padding: 1px 3px; margin: 0 0 10px 0;
                                                      width: 40px; text-align: center; }
ol.commentlist li div.reply:hover                   { background: #fe4902; border: 1px solid #c00; }
ol.commentlist li div.reply a                       { color:#fff; text-decoration: none; text-transform: uppercase; }
ol.commentlist li ul.children                       { list-style:none; margin:1em 0 0; text-indent:0; }
ol.commentlist li ul.children li                    {  }
ol.commentlist li ul.children li.alt                {  }
ol.commentlist li ul.children li.bypostauthor       {  }
ol.commentlist li ul.children li.byuser             {  }
ol.commentlist li ul.children li.comment            {  }
ol.commentlist li ul.children li.comment-author-admin {}
ol.commentlist li ul.children li.depth-2            { margin:0 0 .25em; }
ol.commentlist li ul.children li.depth-3            { margin:0 0 .25em; }
ol.commentlist li ul.children li.depth-4            { margin:0 0 .25em; }
ol.commentlist li ul.children li.depth-5            {  }
ol.commentlist li ul.children li.odd                {  }
ol.commentlist li.even                              { background:#fff; }
ol.commentlist li.odd                               { background:#f6f6f6; }
ol.commentlist li.parent                            {  }
ol.commentlist li.pingback                          {  }
ol.commentlist li.pingback.parent                   {  }
ol.commentlist li.pingback div.vcard                { padding:0 170px 0 0; }
ol.commentlist li.thread-alt                        {  }
ol.commentlist li.thread-even                       {  }
ol.commentlist li.thread-odd                        {  }