﻿/*

	terrafirma1.0 by nodethirtythree design
	http://www.nodethirtythree.com

	adapted to BlogEngine.NET by Vctor Rivero 
	http://www.rivero.org

*/

*
{
padding: 0px;
margin: 0px;
}

h1
{
	color: #FF7800;
	font-size: 20px;
	font-family:  新細明體, Arial, Helvetica, sans-serif;
	margin-left:20px;
	
}
h2 {
	color: #FF7800;
	font-size: 14px;
	font-family:新細明體 , Arial, Helvetica, sans-serif;
	background-color: #FFF;
}
body
{
font-size: 13px;
font-family: helvetica, sans-serif;
color: #8C8C73;
line-height: 18px;
background-repeat:repeat-x;
}

a
{
color: #FF7800;
text-decoration: none;
}

a:hover
{
text-decoration: none;
}

sup
{
font-size: 0.5em;
}


p
{
margin-bottom: 14px;
text-align: justify;
}

.picA
{
position: relative;
top: -2px;
background: url('images/a47.gif') no-repeat;
width: 76px;
height: 74px;
padding: 8px;
}

img {
	border: none;
}

img.picB
{
position: relative;
top: -2px;
background: url('images/a26.gif') no-repeat;
width: 146px;
height: 75px;
padding: 7px;
}

img.floatleft
{
float: left;
margin: 0px 14px 3px 0px;
}


ul.linklist
{
list-style: none;
}

ul.linklist li
{
border-top: solid 1px #EEEEEE;
padding-top: 5px;
margin: 5px 0px 0px 0px;
}

ul.linklist li.first
{
border-top: 0px;
margin-top: 0px;
padding-top: 0px;
}

#upbg
{
position: absolute;
top: 0px;
left: 0px;
background: #fff url('images/upbg.gif') no-repeat;
width: 747px;
height: 264px;
z-index: 1;
}

#outer
{
position: relative;
width: 747px;
margin: 0 auto;
background: #fff url('images/abg.gif') repeat-y;
}

#inner
{
position: relative;
padding: 13px 30px 13px 30px;
z-index: 2;
}


#header
{
position: absolute;
background: #FF7800 url('images/a8.gif') repeat-x;
width: 202px;
height: 92px;
color: #fff;
padding-left: 20px;
}

#header span
{
font-weight: normal;
}

#header h1 a
{
position: absolute;
font-size: 23px;
letter-spacing: -1px;
top: 25px;
color:White;
}

#header p
{
position: absolute;
font-size: 10px;
line-height:normal;
font-weight: normal;
font-style:italic;
color: White;
top: 51px;
padding-right:30px;
}

#header sup
{
color: #FCE2CA;
}

#splash
{
position: absolute;
right: 30px;
background: #EAEAE2 url('images/a10.jpg') no-repeat;
width: 458px;
height: 92px;
}


#menu
{
position: relative;
background: #46461F url('images/a16.gif') repeat-x;
height: 67px;
padding: 0px 20px 0px 5px;
margin: 98px 0px 20px 0px;
}

#menu ul
{
}

#menu ul li
{
display: inline;
line-height: 52px;
padding-left: 3px;
}

#menu ul li.first
{
border-left: 0px;
}

#menu ul li a
{
background-color: transparent;
background-repeat: repeat-x;
padding: 8px 12px 8px 12px;
font-size: 12px;
color: #fff;
font-weight: bold;
}

#menu ul li a:hover
{
background: #fff url('images/a18.gif') repeat-x top;
color: #4A4A24;
text-decoration: none;
}


#date
{
position: absolute;
top: 0px;
line-height: 52px;
color: #BDBDA2;
right: 30px;
font-weight: bold;
font-size: 12px;
letter-spacing: -1px;
}

#secondarycontent
{
position: relative;
width: 180px;
float: right;
padding-left:0px;
}

#secondarycontent h3
{
position: relative;
top: 4px;
font-size: 16px;
line-height: 25px;
color: #656551;
letter-spacing: -1px;
background: url('images/a22.gif') bottom repeat-x;
padding: 3px 0px 0px 0px;
margin-bottom: 8px;
}

#secondarycontent .content
{
padding: 0px 10px 0px 0px;
margin-bottom: 20px;
word-wrap:break-word;
}

#primarycontent
{
position: relative;
width: 480px;
float: left;
}

#primarycontent h3 a
{
position: relative;
top: 4px;
font-size: 18px;
line-height: 25px;
color: #656551;
letter-spacing: -1px;
margin-bottom: 20px;
}

#primarycontent .content
{
padding: 0px 15px 0px 15px;
margin-bottom: 20px;
}

#primarycontent .post
{
margin-bottom: 30px;
word-wrap:break-word;
}

#primarycontent .post .header
{
position: relative;
background: url('images/a22.gif') bottom repeat-x;
padding: 0px 0px 10px 5px;
}

#primarycontent .post .date
{
position: absolute;
right: 15px;
top: 0px;
line-height: 35px;
color: #AFAFA4;
font-weight: bold;
}

#primarycontent .post .content
{
margin-top:15px;
margin-bottom: 0px;
word-wrap:break-word;
}

#primarycontent .post .footer
{
position: relative;
top: -10px;
background: url('images/a50.gif') repeat ;
height: 100%;
padding:15px 0px 0px 20px;
}

#primarycontent .post .footer ul
{
list-style: none;
position: absolute;
right: 15px;
bottom: 15px;
}

#primarycontent .post .footer ul li
{
display: inline;
line-height: 14px;
padding-left: 17px;
margin-left: 25px;
background-repeat: no-repeat;
background-position: 0px 2px;
}

#primarycontent .post .footer ul li.printerfriendly
{
background-image: url('images/a41.gif');
}

#primarycontent .post .footer ul li.comments
{
background-image: url('images/a36.gif');
}

#primarycontent .post .footer ul li.readmore
{
background-image: url('images/a38.gif');
}

#footer
{
position: relative;
clear: both;
height: 100%;
text-align: center;
line-height: 66px;
background-image: url('images/a50.gif');
color: #A8A88D;
padding-left:10px;
}

#footer a
{
color: #8C8C73;
}


/* BlogEngine.NET additions */

#postnavigation{
	height: 20px;
	margin-bottom: 10px;
	text-align: center;
	color: Gray;
}


/*----------------------------
					Comments
----------------------------*/

#comment 
{
	margin-bottom:10px;	
}

.comment {
	border: 1px solid silver;
	background-color: White;
	padding: 3px 10px;
	margin-top:5px;
	margin-bottom: 10px;
}

.comment .date {
	font-size: 10px;
	color: #666666;
	text-align: right;
	margin: 0;
	padding: 3px 0px;
	border-bottom: 1px dashed silver;
}

.comment .author {
	margin: 0;
	padding: 3px 0px;
	border-top: 1px dashed silver;
}

.self {
	border: 1px solid black;
}

.comment .gravatar {
	float: left;
	clear: both;
	margin: 5px 10px 5px 0;
}

.comment .gravatar img {
	height: 80px;
	width: 80px;
}

.comment .content {
	min-height: 85px;
	margin: 5px;
}

.comment img.flag{
	position: relative;
	top : 2px;
}

.success{
	color:Green;
	font-weight: bold;
}


.commentForm 
{
	padding: 5px;
}
	
.commentForm h1 
{
	font-size:15px;
	margin-bottom:10px;
	
}

.commentForm h2
{
	font-size:15px;
	
}

.commentForm label {
	float: left;
	display: block;
	width: 345px;
}

.commentForm input {
	width: 345px;
}

.commentForm textarea {
	width: 100%;
	height: 150px;
}
	
	
/*----------------------------
					 Blogroll
----------------------------*/

#blogroll ul {
	list-style-type: none;
	margin: 0 0 3px 0;
	padding: 0px;
}

#blogroll ul li ul li a {
	margin-left: 25px;
	color: #666666;
}

#blogroll ul li a img {
	border: none;
	margin-right: 3px;
}

/*----------------------------
					 Posts
----------------------------*/

div.mceContentBody {
	border: 1px solid silver;
	padding: 3px 10px;
	margin-bottom: 20px;
	background-color: white;
	line-height: 17px;
}
div.post 
{	
	padding: 3px 10px;
	margin-left:10px;
	background-color: white;
	line-height: 17px;
	word-wrap:break-word;
}
div.post h1, .mceContentBody h1 {
	margin: 0 0 7px 0;
	position: relative;
	top: 1px;
}
.postheader  {
	position: relative;
	font-size: 15px;
	color: #FD9501;
	text-decoration: none;
	font-family: "新細明體";
	font-weight: bold;
	line-height: 26px;
}
div.post .author {
	color: #666666;
	font-size: 10px;
	float: left;
	text-transform: capitalize;
}

div.post .pubDate {
	color: #666666;
	font-size: 10px;
	float: right;
}

div.post .text {
	margin-top: 5px;
	font-size: 13px;
	color: #676565;
	text-decoration: none;
	letter-spacing: 1px;
	font-family: "新細明體";
	margin-bottom:10px;
}

div.post .text h2 {
	margin-bottom: -10px;
}

div.post .text h3 {
	font-size: 11px;
	margin-bottom: -10px;
	padding: 0;
}

div.post .postfooter {
	margin-top: 5px;
	font-size: 13px;
	color: #676565;
	text-decoration: none;
	letter-spacing: 1px;
	font-family: "新細明體";
	margin-bottom:10px;
}
div.post .postfooter a
{
	color: #FF7800;
	text-decoration: none;
}

div.post .postfooter a:hover
{
	text-decoration: none;
}
div.post .bottom {
	margin-bottom: 45px;
}

div.post .categories {
	margin-bottom: 5px;
	float: right;
}

div.post .tags {
	float: left;
	margin-bottom: 5px;
}

div.post .text a[href^="http:"] {
	background: url(../../pics/remote.gif) right top no-repeat;
	padding-right: 10px;
  white-space: nowrap;
  color:Red;
}


/*----------------------------
				 Tag cloud
----------------------------*/

#tagcloud {
	margin-left:10px;
    white-space:normal;
    margin-right:10px;
}

#tagcloud li {
	display: inline;
	margin-top: 10px;
}

#tagcloud a 
{

    font-weight:bold;
	margin-right: 3px;
	display:table-caption;
	display: inline;
}

#tagcloud A.biggest {
	font-size: 20px;
	color: #CB2D0C;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
#tagcloud A.big {
	FONT-SIZE: 17px; COLOR: #ff7800
}
#tagcloud A.medium {
	font-size: 15px;
	color: #3960A1;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
#tagcloud A.small {
	font-size: 13px;
	color: #666633;
	text-decoration: none;
	letter-spacing: 1px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}
#tagcloud A.smallest {
	font-size: 13px;
	color: #666633;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 20px;
	font-family: Arial, Helvetica, sans-serif;
}
#tagcloud a.none {
	font-size: 12px;
	color:darkgray;
}
/*----------------------------
				Recent posts
----------------------------*/

div #recentPosts li
{
	width:270px;
	font-size:1.2em;
	font-weight:bold;
	padding-left:0;
	list-style-type:none;
}
div #recentPosts li a
{
	font-size: 15px;
	color: #F44C0B;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 18px;
	font-family: Arial, Helvetica, sans-serif;
	white-space:normal;
}
div #recentPosts li p
{
	margin-bottom:1em;
	font-size:80%;
	font-weight:normal;
	line-height:1em;
	color:#666666;	
	table-layout:fixed;
	word-break:break-all;
	overflow:hidden;
	padding-bottom:15px;
	border-bottom: dashed 1px gray;

}
/*----------------------------
				Hot Commands
----------------------------*/

div #hotCommants li
{
	width:270px;
	font-weight:bold;
	margin-left:15px;
	font-size: 15px;
	color: #F44C0B;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 18px;
	font-family: Arial, Helvetica, sans-serif;
	white-space:normal;
	list-style-type:disc;

}
div #hotCommants li a
{
	font-size: 15px;
	color: #F44C0B;
	letter-spacing: 1px;
	line-height: 18px;
	font-family: Arial, Helvetica, sans-serif;
	white-space:normal;
}

/*Hot Blogs*/
div #HotBlogs ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-transform: capitalize;
}


div #HotBlogs li
{
	width:100%;
 	height:50px;
	padding-left:0px;
	padding-bottom: 5px;
	margin-bottom:5px;
	}

div #HotBlogs li td
{
    vertical-align:top;
}
div #HotBlogs li a
{
	padding-left:5px;
	font-family:新細明體;
	color:#F44C0B;
	font-weight:bold;
	font-size:16px;
}
div #HotBlogs li p
{
	padding-top:5px;
	padding-left:5px;
	width:95%;
	font-size:13px;
	font-weight:normal;
	line-height:1.2em;
	color:#666666;	
	table-layout:fixed;
	word-break:break-all;
	overflow:hidden;
}
div #HotBlogs li span
{
	padding-top:5px;
	float:right;
	position:relative ;	
}

div #AllHotBlogs li
{
 	height:50px;
	padding-left:0;
	padding-bottom: 15px;
	margin-bottom:5px;
	border-bottom : dashed 1px gray;
	 list-style-type:none;
	}

div #AllHotBlogs li a
{
	padding-left:5px;
	font-family:新細明體;
	color:#F44C0B;
	font-weight:bold;
	font-size:16px;
}
div #AllHotBlogs li p
{
	padding-top:5px;
	padding-left:5px;
	width:100%;
	font-size:13px;
	font-weight:normal;
	line-height:1.2em;
	color:#666666;	
	word-break:break-all;
	overflow:hidden;

}
div #AllHotBlogs li span
{
	padding-top:5px;
	float:right;
	position:relative ;	
}



/*----------------------------
			Recent comments
----------------------------*/

ul.recentComments li{
	padding-bottom: 10px;
	text-transform: none;
}

ul.recentComments li a.postTitle{
	font-weight: bold;
}

/*----------------------------
			Social bookmarks
----------------------------*/

.bookmarks {
	float: left;
}

.bookmarks a img {
	filter: alpha(opacity=35);
	-moz-opacity: .35;
	opacity: .35;
}

.bookmarks a:hover img {
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

/*----------------------------
			Related Posts
----------------------------*/

#relatedPosts {
	background: white;
	padding: 5px 10px 10px 10px;
	margin:5px 0px 15px 0px;
	border: 1px solid silver;
}

#relatedPosts h1 {
	padding: 0px 0px 12px 0px;
}

#relatedPosts a {
	display: block;
	margin-top: 3px;
}

#relatedPosts span {
	color: #666666;
	text-indent: 10px;
	font-size: 10px;
}
/*----------------------------
			Blog List
----------------------------*/


/*----------------------------
					Archive
----------------------------*/

#archive {
	background-color: White;
	border: 1px solid silver;
	padding: 10px;
}

#archive h1 {
	margin: 0;
	border-bottom: 1px dashed silver;
	padding-bottom: 9px;
}

#archive h2 {
	border-bottom: 1px solid silver;
	padding-bottom: 4px;
	font-size: 12px;
	margin-bottom: 10px;
}

#archive h2 img {
	margin-right: 3px;
}

#archive ul {
	list-style-type: square;
	margin: 0 10px;
	padding: 10px;
}

#archive ul li {
	margin-right: 20px;
}

#archive span {
	display: block;
	margin-bottom: 3px;
}

#archive span a {
	margin-left: 4px;
}
/*----------------------------
					Star rater
----------------------------*/

.rating p{
	display: inline;
	position: relative;
	top: 14px;
	left: 55px;
}

.star-rating {
	position: relative;
	width: 125px;
	height: 25px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}

.star-rating li {
	display: inline;
}

.star-rating a, .star-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -1000em;
	height: 25px;
	line-height: 25px;
	outline: none;
	overflow: hidden;
	border: none;
}

.star-rating a:hover, .star-rating a:active, .star-rating a:focus {
	background-position: left bottom;
}

.star-rating a.one-star {
	width: 20%;
	z-index: 6;
}

.star-rating a.two-stars {
	width: 40%;
	z-index: 5;
}

.star-rating a.three-stars {
	width: 60%;
	z-index: 4;
}
.star-rating a.four-stars {
	width: 80%;
	z-index: 3;
}
.star-rating a.five-stars {
	width: 100%;
	z-index: 2;
}
.star-rating .current-rating {
	z-index: 1;
	background-position: left center;
}

/* smaller star */
.small-star {
	width: 50px;
	height: 10px;
}
.small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating {
	background-image: url(../../pics/star_small.gif);
	line-height: 10px;
	height: 10px;
}

/*----------------------------
				Contact page
----------------------------*/

#contact{
	background : white;
	padding: 10px;
	border: 1px solid silver;
}

#contact h1{
	margin-top: 0;
}

#contact label{
	display: block;
	padding-top: 5px;	
}

#contact input.field{
	width: 200px;
}

#contact textarea{
	display: block;	
	overflow: auto;
	width: 75%;
	height: 150px;
	margin: 0;
}

/* code styles for CodeFormatter Extension*/
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: Consolas, "Courier New", Courier, Monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }

/*----------------------------
				Search page
----------------------------*/

.searchresult{
	margin-bottom: 20px;
}

.searchresult a{
	font-weight: bold;
}

.searchresult span.text{
	clear: both;
	display: block;
	margin: 3px 0;
}

.searchresult span.type{
	display: block;
}

.searchresult span.url{
	color: Gray;
}

.searchpage ul.paging{
 list-style-type: none;
 margin:0px;
 margin-bottom: 20px;
 padding:0px;
}

.searchpage ul.paging li{
 display: inline;
 border: 1px solid gray; 
 background: #f1f1f1;
 margin-right: 5px;
}

.searchpage ul.paging li a{
 padding: 5px 8px;
}

.searchpage ul.paging li.active{
 background: #f1f1f1;
 border: 1px solid black;
}

/*----------------------------
			Syntax highlighter
----------------------------*/

.code
{
	font-size: 12px;
	color: black;
	font-family: Consolas, "Courier New", Courier, Monospace;
	background-color: #F1F1F1;
  line-height: normal;
}

.code p{
	padding: 5px;
}

.code .rem { color: #008000; }

.code .kwrd { color: #0000ff; }

.code .str { color: #006080; }

.code .op { color: #0000c0; }

.code .preproc { color: #0000ff; }

.code .asp { background-color: #ffff00; }

.code .html { color: #800000; }

.code .attr { color: #ff0000; }

.code .alt {	background-color: #f4f4f4; }

.code .lnum { color: #606060;}

/*----------------------------
					XFN tags
----------------------------*/

div.post .content a[rel] {
	padding-right:11px;
	background-repeat: no-repeat;
	background-position: right center;
}
div.post .content a[rel="me"] {	
	background-image:url('../../pics/xfn/me.gif');
}

/*-------- [ These should cascade to pick the correct icon for the contact ]--*/

/*-------- [ Normal contacts ]--*/
div.post .content a[rel~="contact"] ,
div.post .content a[rel~="acquaintance"],
div.post .content a[rel~="friend"] {
	background-image:url('../../pics/xfn/contact.gif');
}
/*-------- [ Normal contacts youve met ]--*/
div.post .content a[rel~="contact"][rel~="met"] ,
div.post .content a[rel~="acquaintance"][rel~="met"] ,
div.post .content a[rel~="friend"][rel~="met"] {
	background-image:url('../../pics/xfn/contactMet.gif');
}

/*-------- [ Colleague and co worker icon more important than contact ]--*/
div.post .content a[rel~="colleague"] ,
div.post .content a[rel~="co-worker"] {
	background-image:url('../../pics/xfn/colleague.gif');
}
/*-------- [ Colleague and co worker icon when met ]--*/
div.post .content a[rel~="colleague"][rel~="met"] ,
div.post .content a[rel~="co-worker"][rel~="met"] {
	background-image:url('../../pics/xfn/colleagueMet.gif');
}

/*-------- [ Sweethearts are more important than work!!! ]--*/
div.post .content a[rel~="muse"] ,
div.post .content a[rel~="crush"] ,  
div.post .content a[rel~="date"] ,
a[rel~="sweetheart"] {
	background-image:url('../../pics/xfn/sweet.gif');
}
/*-------- [ ...and if youve met them thats even better ]--*/
div.post .content a[rel~="muse"][rel~="met"] ,
div.post .content a[rel~="crush"][rel~="met"] ,  
div.post .content a[rel~="date"][rel~="met"] ,
div.post .content a[rel~="sweetheart"][rel~="met"] {
	background-image:url('../../pics/xfn/sweetMet.gif');
}


