/*
	Style based on "TicTac" wordpress theme by Meng Gao
*/

/* Main */ 

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-size: small;
	text-align: center;
	color: #333;
	background: #e0e0e0;
}

#page {
	width: 847px;
	margin: 0 auto;
	text-align: left;
	background: url(/images/tile.gif) repeat-y;
}

#nav {
	margin: 0 41px 0 41px;
	padding: 3px 0;
	background-color: #363636;
}

#nav .selected {
	background-color: #d0801e;
}

#nav a:hover {
	background-color: #b35503;
	text-decoration: none;
}


/* Header */

#header {
	margin: 0;
	padding: 0;
	font-family: "Lucida Grande", "Trebuchet MS";
	background: #e0e0e0 url(/images/top_div.gif) no-repeat top left;	
}
  
#header h1 {
	margin: 0;
	padding: 45px 10px 50px 0px;
	font-size: 200%;
	color: #fff;
	text-shadow: #81A75B 2px 2px 2px;
	background: url(/images/top_h1.gif) no-repeat bottom left;
}

#header h1 a {
	text-decoration: none;
	color: #fff;
}

#header h1 a:hover {
	color: #eee;
}

#header .small {
	font-size: 50%;
	font-weight: normal;
}

/* Sidebar */
#sidebar {
	margin: 0 41px 0 547px;
	padding: 40px 0 0 0;
	font-size: 85%;
	line-height: 1.4em;
	color: #999;
	background: url(/images/sidebar_bg.gif) no-repeat 0 0;
}

#sidebar form {
	margin: 0;
}

#sidebar p {
	margin: 0;
	padding: 5px 10px 1em 10px;
	margin-left: -5px;
}

#sidebar div {
	margin: 0px 15px .5em 20px;
	padding: 5px;
	border-bottom: 1px solid #ddd;
}

#sidebar .last {
	border-bottom: none;
}

#sidebar ul li {
	background: url(/images/tictac_orange.gif) no-repeat 0 6px;
}
  
#sidebar #searchform #s {
	width: 115px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

#sidebar h2 {
	margin: 0 0 0 0;
	padding: 22px 0 0 30px;
	font-family: "Lucida Grande", "Trebuchet MS";
	font-size: 130%;
	color: #666;
	height: 32px;
	background: url(/images/sidebar_icon.gif) no-repeat 0 15px;
	height: 32px !important; /* for most browsers */
	height /**/:57px; /* for IE5/Win */
}

/* Comments */
#comments {
	padding-top: 10px;
	font-size: 85%;
	line-height: 1.5em;
	color: #666;
	background: #eee url(/images/comments_curve.gif) no-repeat top left;
}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#comments h4 {
	margin: 20px 0 15px 0;
	padding: 8px 0 0 40px;
	font-family: "Lucida Grande", "Trebuchet MS";
	font-size: 130%;
	color: #666;
	background: url(/images/bubbles.gif) no-repeat 10px 0;
	height: 29px !important; /* for most browsers */
}
	
.comment-body {
	padding: 0 10px 0 25px;
	background: url(/images/tictac_orange.gif) no-repeat 10px 5px;
}

.comment-body p {
	margin-bottom: 0;
}

#comments ul {
	margin-left: 0;
}

#comments li {
	background: none;
	padding-left: 0;
}

/* Calendar */

#calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#calendar #next a {
	font-size: 100%;
	padding-right: 10px;
	text-align: right;
}

#calendar #prev a {
	font-size: 100%;
	padding-left: 10px;
	text-align: left;
}

#calendar a {
	display: block;
}

#calendar caption {
	text-align: center;
	width: 100%;
}

#calendar th {
	padding: 3px 0;
	text-align: center;
}

#calendar td {
	padding: 3px 0;
	text-align: center;
}

#calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff;
}
	
#calendar #prev a {
	font-size: 9pt;
}

#calendar a {
	text-decoration: none;
}

#calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
}

#calendar th {
	font-style: normal;
	text-transform: capitalize;
}

/* Post */
.post {
	margin: 0 0 1.5em 0;
	padding: 0 0 1.5em 14px;
	border-bottom: 1px solid #ddd;
}
 
.post h2 {
	font: 22px "Geogian, Verdana";
}

.post h3 {
	margin-top: 0;
	font-family: "Lucida Grande", "Trebuchet MS";
	font-size: 130%;
	letter-spacing: -1px;
	color: #d0801e;
}

.project {
	margin: 25px 15px 10px 15px;
}

/* Footer */
#footer {
	margin: 0px;
	padding: 0 0 9px 0;
	font-size: 85%;
	color: #ddd;
	background: url(/images/bottom_sill.gif) no-repeat bottom left;
}

#footer p {
	margin: 0px;
	padding: 20px 320px 20px 95px;
	background: url(/images/bottom_sash.gif) no-repeat top left;
}

.clear { /* to fix IE6 padding-top issue */
	clear: both;
	height: 0;
}

/* Everything Else */
.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

h1 {
	font-size: 4em;
	text-align: center;
	padding-top: 70px;
	margin: 0;
}

h2 {
	font-size: 1.6em;
	margin: 30px 0 0;
}

h2.pagetitle {
	font-size: 1.6em;
	margin-top: 30px;
	text-align: center;
}

h3 {
	font-size: 1.3em;
	padding: 0;
	margin: 30px 0 0;
}

.description {
	font-size: 1.2em;
	text-align: center;
}

h1, h1 a, h1 a:hover, h1 a:visited, .description {
	text-decoration: none;
	color: white;
}

/*
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #666;
}*/

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #calendar caption, cite {
	text-decoration: none;
}

h4.date-header {
	margin-top: 0;
	padding-left: 14px;
	font-size: 90%;
	color: #f93;
	background: url(/images/date_icon.gif) no-repeat 0 50%;
	clear: both;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	color: #f63;
}

.linecomment { color: #FF8000; }
.blockcomment { color: #FF8000; }
.prepro { color: #0000BB; }
.select {}
.quote { color: #DD0000; }
.category1 { color: #007700;  }
.category2 { color: #0000BB; }
.category3 { color: #0000BB; }
pre {
	border: 1px dotted #d4d4d4;
	background: #FBFAF8;
	padding: 3px;
	overflow: auto;
	width: 95%;
	max-height: 450px;
	margin: 0px auto;
}

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
}

a, h2 a:hover, h3 a:hover {
	color: #06c;
}

a:link {
	color: #b35503;
}

a:visited {
	color: #b35503;
}

a:hover {
	color: #000000;
}

a:active {
	color: #c33;

}

img {
	border: none;
}

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.center {
	text-align: center;
}


select {
	width: 130px;
}

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#commentform #submit {
	margin: 0;
	float: right;
}

.alt {
	margin: 0;
	padding: 10px;
}

#commentform p {
	margin: 5px 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	margin: 4px 0 0 0;
	padding: 0 10px 1em 60px;
	color: #999;
	background: url(/images/comment_arrow.gif) no-repeat 44px 2px;
}

acronym, abbr, span.caps {
	cursor: help;
}

abbr, acronym {
	cursor: help;
	font-style: normal;
	border-bottom: 1px dotted;
}

blockquote {
	margin: 0 0 0 30px;
	padding: 10px 0 0 20px;
	font-size: 88%;
	line-height: 1.5em;
	color: #666;
	/*background: url(/images/quotes.gif) no-repeat top left;*/
}

blockquote p {
	margin-top: 0;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

hr {
	display: none;
}

ul {
	list-style: none;
	margin: 0 0 20px 30px;
	padding: 0;
}

li {
	list-style: none;
	padding-left: 14px;
	margin-bottom: 3px;
}
  
.entry ul li{
	background: url(/images/tictac_orange.gif) no-repeat 0 6px;
}

.thumb_left {
	margin: 10px;
	float: left;
}

.thumb_right {
	margin: 10px;
	float: right;
}

.subtitle {
	color: #6aa09a;
	border-bottom: 1px dotted #adadad;	font: 16px Georgian;}

.formlabel {
	width: 25%; 
	text-align: right;
	clear: both; 
	float: left; 
	display: inline; 
	padding: 3px; 
	margin: 2px 5px 2px 5px;
}

.forminput {
	width: 70%;  
	float: right; 
	display: inline; 
	padding: 3px; 
	margin: 0px;
	
}

#banner-popup {
	text-align: left;
	background: #b35503;
	border-bottom: 9px solid #d0801e;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-size: 24px;
	color: #fff;
	font-weight:300;
	padding:15px; 
}

#popup-body {
	text-align: left;	
	background: #fff;
}

.popupentry {
	margin: 0;	
}
