/*
Theme Name: Andy Chung
Theme URI: 
Description: 
Version: 1.0
Author: Andy Chung
Author URI: http://www.andychung.ca
Tags: 
*/

* { 
  margin: 0; 
  padding: 0; 
}

html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }

body {
	font-family: "Andale Mono", Monaco, Courier, Mono;
	line-height: 14px;
	color: #000;
	background-color: #FFF;
}

a {
	color: #000;
	text-decoration: underline;
}

a:hover {
	color: #000;
	text-decoration: none;
}

a.btn-slide {
  position: fixed;
  font-size: 10px;
  font-family: "Andale Mono", Monaco, Courier, Mono;
	line-height: 14px;
	color: #CCC;
	right: 10px;
	top: 12px;
	text-decoration: none;
}

p {
  margin: 0; 
  padding: 7px 0;
}

p.nocomments {
  display: none;
}

h1 {
  margin: 20px 0 0;
}

img {
  border: 0;
}

input {
  vertical-align: middle;
}

h2 {
	font: normal 10px "Andale Mono", Monaco, Courier, Mono;

	margin: 0 0 12px;
}

blockquote {
	margin: 14px 0 14px 28px;
	font-size: 10px;
	font-style: italic;
}

* html blockquote {
  height: 1%;
}

blockquote p {
	font-size: 10px !important;
	margin: 0;
}

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

img.aligncenter {
  margin: 7px;
}

.alignleft {
  float: left;
}

img.alignleft {
  margin: 5px 10px 3px 0;
}

.alignright {
  float: right;
}

img.alignright {
  margin: 5px 0 3px 10px;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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;
}

.wp-caption p.wp-caption-text {
	font-size: 10px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

#wrapper {
	width: 540px;
	margin: 10px 0 0 10px;
	padding: 0;
	background-color: white;
}

#logo {
	width: 124px;
	height: 24px;
	position: fixed;
  top: 6px;
	left: 12px;
	z-index: 1;
}

.fadeThis {
	width: 124px;
	height: 24px;
	position:relative;
	display:block;
	background:url("i/logo.jpg") 0 -24px no-repeat;
}
	
.fadeThis * {
	display: none;
}
	
.fadeThis span.hover {
	width: 124px;
	height: 24px;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	background:url("i/logo.jpg") 0 0 no-repeat;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	width: 540px;
	background-color: transparent;
	border-top: 1px dotted #000;
	border-bottom: 1px dotted #000;
}

#header a {
  text-decoration: none;
  color: #000;
}

#top{
	float: right;
	text-align: right;
}

#top li {
	display: inline;
}

#top a {
	color: #808080;
	margin: 0 0 0 13px;
	background: url(i/toparrow.gif) center left no-repeat;
	padding: 0 0 0 12px;
	font-size: 10px;
}

#top .current_page_item a {
	background-image: url(i/toparrow2.gif);
}

#searchform {
	margin: 20px 0 0;
}

#searchform input {
	font: 10px "Andale Mono", Monaco, Courier, Mono;

	float: left;
	padding: 3px;
	background-color: black;
	color: white;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	
}

#s {
	width: 100%;
	padding: 2px 0px;
	border-bottom: 1px solid #000;
	border: none;
	margin-right: 5px;
}

#searchsubmit {
	background: #E60000;
	border: 0;
	padding: 2px 7px;
	color: #fff;
	font-weight: bold !important;
	overflow: visible;
	height: 24px;
	cursor: pointer;
}

#logo {
	float: left;
	color: #808080;
	line-height: 0.85em;
	font-size: 3.3em;
	margin: 14px 0 15px;
}

#logo span {
	display: block;
	font-size: 0.38em;
	font-weight: normal;
	text-transform: uppercase;
}

.menu {
	padding: 1px 0 0 0;
	clear: both;
	position: relative;
}

.italic {
  font-style: italic;
  font-variant: normal;
  text-transform: none;
}

.menu li {
	font-size: 10px;
	display: inline-block;
}

.menu li a {
	margin: 0 12px 0 0;
	color: #000;
	font-size: 10px;
}

.menu li a:hover {
	text-decoration: none;
	border-bottom: none;
	color: red;
}

.menu li.current_page_item {
	background: none;
}

/* Content
-----------------------------------------------------------------------------*/
#container {
	width: 100%;
	margin-bottom: 0px;
}

* html #container {
  height: 1%;
}

#container:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

#content {
	width: 540px;
	padding: 0;	
}

#content img {
  max-width: 100%;
  height: auto;
  padding: 0;
}

#content h2 {
	font: normal 10px "Andale Mono", Monaco, Courier, Mono;

	padding: 0 0 3px;
	margin-bottom: 14px;
}

#content h2.pagetitle {
	padding-left: 3px;
	padding: 28px 0 4px;
}

#content h3 {
	font: normal 10px "Andale Mono", Monaco, Courier, Mono;

	padding: 1px 0 4px;
	margin-bottom: 0.2em;
}

.noUnderline a {
  text-decoration: none;
}

#content p,
#content li {
	font-size: 10px;
	line-height: 14px;
}

#content p a{

}

#content p a:hover{

}

#content li a{

}

#content li li {
  font-size: 10px;
}

#content .post {
	margin: 0;
}

#content .post h2,
#content .post h3 {
	font-size: 10px;
	margin: 0;
	padding: 28px 0 0 0;
}

#content .l-sidebar h2,
#content .l-sidebar h3,
#content .r-sidebar h2,
#content .r-sidebar h3 {
  padding: 7px 0 0 0;
}

.mainTitle a {
  display: inline-block;
}

.commentCount a{
  float: right;
  text-decoration: none;
  display: inline-block;
}

#content h2 a:hover {
  color: #000;
	border-bottom: none;
}

#content h3 a:hover {
	border-bottom: none;
}

.post ul,
.post ol {
	margin: 7px 0 7px 35px;
}

.post li {
	padding: 0;
}

.post .postmetadata {
	font-size: 10px;
	padding: 0 0 7px;
	color: #333;
	display:inline;
}

.postmetadata a {
	color: #000;
	text-decoration: none;
}

.postmetadata a:hover {
	text-decoration: underline;
}

.entry {
  text-align: left;
}

.entry h1 {
	font-size: 10px;
	margin: 15px 0 10px;
}

.entry h2 {
	font-size: 10px !important;
	font-weight: bold !important;
	margin: 15px 0 10px !important;
	padding: 0 !important;
	border: none !important;
}

.entry h3 {
	font-size: 10px !important;
	font-weight: bold !important;
	margin: 15px 0 10px !important;
	padding: 0 !important;
}

.entry h4 {
	font-size: 10px;
	margin: 15px 0 10px;
	font-weight: bold !important;
}

.line {
	clear: both;
	padding: 3px;
	margin: 0 0 15px;
	background: url(i/smalldot.gif) repeat-x;
}

.nav {
	font-size: 10px;
	padding: 0 0 22px;
}

.navigation {
	font-size: 10px;
	margin: 20px 0;
	height: 1.3em;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

#commentform {
  margin: 30px 0 0 0;
}

h3#comments,
h3#respond {
	padding: 1px 0 4px;
}

.commentlist {
	margin: 10px 0 0 0;
	list-style-type: none;
}

.commentlist li {
	padding: 2px 0;
	margin: 5px 0;
	border-top: 1px dotted #000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.cdata {
	padding: 0;
	height: 1%;
}

.cdata strong {
  display: block;
}

#content img.avatar {
  float: right;
	display: none;
	border: 0;
	margin: 1px 1px 0;
}

.ctext {
  padding: 0;
}

.commentlist li p {
	font-size: 10px !important;
}

.commentmetadata {
	font-size: 10px;
}

.commentmetadata a {
  color: #000;
  float: right;
}

#author, #email, #url, #comment, #submit {
	font: 10px "Andale Mono", Monaco, Courier, Mono;
	padding: 2px 0px;
	width: 200px;
	border: 1px dotted #000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#comment {
	width: 100%;
	height: 100px;
}

#commentform p {
  margin: 0;
  padding: 5px 0;
}

#submit {
	width: 75px;
	padding: 0;
	background: #000;
	color: #FFF;
	cursor: pointer;
	overflow: visible;
}

#content h2.center {
  padding-top: 28px;
}


/* Sidebars
-----------------------------------------------------------------------------*/
#sidebars {
	clear: both;
	width: 540px;
	font-size: 10px;
	line-height: 14px;
	padding: 10px;
	border: 1px dotted #000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: fixed;
	left: 50%;
	margin-left: -270px;
	z-index: 100;
	top: 50%;
	margin-top: -87px;
	background-color: white;
	-moz-box-shadow: 0 0 10px #CCC;
	-webkit-box-shadow: 0 0 10px #CCC;
	box-shadow: 0 0 10px #CCC;
}

* html #sidebars {
  height: 1%;
}

#sidebars:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

.l-sidebar {
	float: left;
	width: 250px;
}

.r-sidebar {
	float: right;
	width: 250px;
}

#sidebars ul {
	margin: 0 0 15px;
}

#sidebars li {
	list-style: none;
	margin: 0;
}

#sidebars li ul {
  margin: 0 0 3px 12px;
}

#sidebars li li {
  padding: 3px 0 0;
	border: none;
}

#sidebars li a {
	padding: 0 0 0 0;
	color: #000;
}

#sidebars h2 {
	font: normal 10px "Andale Mono", Monaco, Courier, Mono;

  margin: 0;
}

#sidebars h3 {
	font: normal 1.4em/1.1em "Andale Mono", Monaco, Courier, Mono;

	padding: 0 0 3px;
}

.tags,
#tag_cloud {
	margin: 0 0 15px;
}

.tags {
  text-align: center;
}

.tags a,
#tag_cloud a {
	color: #808080;
	margin: 0 2px;
}

#wp-calendar {
  width: 100%;
	margin: 0 0 12px;
}

#wp-calendar td {
  text-align: center;
}


/* Button
-----------------------------------------------------------------------------*/
#button {
	border-bottom: 1px dotted #000;
	font-size: 10px;
}

#button a {
	text-decoration: none;
}

#button a:hover{
	text-decoration: line-through;
	border-bottom: none;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	clear: both;
	font-size: 10px;
	color: #808080;
}

#footer a{
	color: #808080;
}

#footer a:hover{
	color: #000;
}

a.btn-slide {
  outline: none;
}

#next_arrow {
  color:#CCCCCC;
  font-family: "Andale Mono", Monaco, Courier, Mono;
  font-size:10px;
  line-height:14px;
  position: fixed;
  top: 12px;
  right: 124px;
  z-index: 2;
}

* html #next_arrow {
  display: none;
}

#next_arrow:hover {
  cursor: pointer;
}

#prev_arrow {
  color:#CCCCCC;
  font-family: "Andale Mono", Monaco, Courier, Mono;
  font-size:10px;
  line-height:14px;
  position: fixed;
  top: 12px;
  right: 70px;
  z-index: 2;
}

* html #prev_arrow {
  display: none;
}

#prev_arrow:hover {
  cursor: pointer;
}