/*
Theme Name: David Lang
Theme URI: http://www.andychung.ca
Description: Portfolio theme for David Lang, designed and built by Andy Chung
Version: 1.0
Author: Andy Chung
*/

* { 
  margin: 0; 
  padding: 0; 
}

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

body {
	font-family: "times New Roman", georgia, sans;
	line-height: 14px;
	color: #1a1a1a;
	height: 100%;
  margin: 60px 0 0 0;
  /*background-image: url("i/grid.jpg");
  background-repeat: repeat-y;*/
}

#next_arrow,
#prev_arrow {
  display: none;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

p {
  padding: 4px 0;
}

h1 {
  margin: 20px 0 0;
}

img {
  border: 0;
}

input {
  vertical-align: middle;
}

h2 {
  font-size: 12px;
}

blockquote {
	font-size: 12px;
	font-style: italic;
	color: #888;
}

* html blockquote {
  height: 1%;
}

blockquote p {
	font-size: 12px !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: 12px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

#wrapper {
	width: 700px;
	margin-left: 210px;
	padding: 0;
	background-color: white;
}

#logo {
	width: 40px;
	height: 40px;
	position: fixed;
	left: 10px;
	top: 10px;
	z-index: 1;
}

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

/* Header
-----------------------------------------------------------------------------*/
#header {
	width: 240px;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	padding: 56px 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	background-image: url("i/keys.png");
	background-position: left bottom;
	background-repeat: no-repeat;
}

#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: 12px;
}

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

#searchform {
	margin: 4px 0 0;
}

#searchform input {
  font-family: "times New Roman", georgia, serif;
	font-size: 12px;
	float: left;
	padding: 3px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	background-color: #f2f2f2;
}

#s {
	width: 100%;
	padding: 2px 0px;
	border-bottom: 1px solid #1a1a1a;
	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;
}

.menu {
  border-top: 1px solid #e6e6e6;
	clear: both;
	position: relative;
	margin: 4px 0 0 0;
	padding: 4px 0 0 0;
}

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

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

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

.menu li a:hover {
  color: #888;
}

.menu li.current_page_item:after {
	content: " ←";
}

.menu li.current_page_item a {
  color: #1a1a1a;
}

/* Content
-----------------------------------------------------------------------------*/
.content {
  width: 720px;
	padding: 0;
	overflow: hidden;
	margin: 0 0 0 240px;	
}

.content .column1,
.content .column2,
.content .column3 {
  margin: 0px 10px;
  display: inline-block;
  vertical-align: top;
  float: left;
}

.content .column1 {
  width: 220px;
}

.content .column2 {
  width: 460px;
}

.content .column3 {
  width: 700px;
}

.content .post .entry a,
.content .post .column1 a {
  color: #888;
}

.content .post .entry a:hover,
.content .post .column1 a:hover {
  color: #1a1a1a;
  background-color: yellow;
}

.content h2 {
	font-weight: normal;
  display: inline-block;
	padding: 4px 0;
}

.content h2.pagetitle {
  padding: 4px 0;
  margin: 0 0 16px 0;
  border-top: 1px solid #e6e6e6;
  display: block;
}

.content .postTop h2 {
	font-style: italic;
}

.content p,
.content li {
	font-size: 12px;
	line-height: 14px;
}

.content li li {
  font-size: 12px;
}

.content h2 a {
  color: #1a1a1a;
}

.content h2 a:hover {
  background-color: yellow;
}

.postTitle {
  font-style: italic;
}

.post {
  margin: 0 0 28px 0;
  display: inline;
  float: left;
  overflow: hidden;
  width: 100%;
}

.border {
  border-top: 1px solid #e6e6e6;
}

.right {
  text-align: right;
}

.post ul,
.post ol {
}

.post li {
  list-style-type: none;
}

.post .postmetadata {
	font-size: 12px;
	color: #333;
	padding: 4px 0;
}

.postmetadata a {
	color: #1a1a1a;
	font-style: italic;
	text-decoration: none;
}

.postmetadata a:hover {
	background-color: yellow;
	text-decoration: none;
}

.entry {
  text-align: left;
}

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

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

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

.entry h4 {
	font-size: 12px;
	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: 12px;
	padding: 0 0 22px;
}

.navigation {
	font-size: 12px;
	margin: 20px 0;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

h3#comments,
h3#respond {
  font-size: 12px;
  font-weight: normal;
  font-style: italic;
  margin-bottom: 16px;
}

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

.commentlist a,
#commentform a {
  color: #888;
}

.commentlist a:hover,
#commentform a:hover {
  background-color: yellow;
  color: #1a1a1a;
}

.commentlist li {
  display: inline;
  float: left;
  margin-bottom: 16px;
}

.cdata {
  padding: 4px 0 0 0;
  border-top: 1px solid #e6e6e6;
  text-align: right;
  font-style: italic;
}

.cdata strong {
  display: block;
}

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

.ctext {
  padding: 0;
  border-top: 1px solid #E6E6E6;
}

.commentlist li p {
	font-size: 12px !important;
	padding: 4px 0 0 0;
}

.commentmetadata {
	font-size: 12px;
  float: left;
  font-style: normal;
}

.commentmetadata a {
  float: right;
}

#author, #email, #url, #comment, #submit {
  font-family: "times New Roman", georgia, serif;
	font-size: 12px;
	padding: 2px;
	width: 220px;
  background-color: #f2f2f2;
  border: 1px solid #e6e6e6;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

label {
  margin-bottom: 4px;
  display: block;
}

#comment {
	width: 100%;
  height: 175px;
  font-family: "times New Roman", georgia, serif;
  font-size: 12px;
}

#submit {
	width: 115px;
	height: 22px;
	padding: 0;
	cursor: pointer;
	overflow: visible;
	float: right;
}


/* Sidebars
-----------------------------------------------------------------------------*/
#sidebars {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
	width: 240px;
	padding: 10px;
	font-size: 12px;
	line-height: 14px;
	background-color: #fff;
	margin: 14px 0 0 0;
	position: fixed;
	bottom: 0;
	left: 0;
}

* html #sidebars {
  height: 1%;
}

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

.l-sidebar {
	float: left;
	width: 270px;
	padding: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.r-sidebar {
	float: right;
	width: 270px;
	padding: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#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: #888;
}

#sidebars li a:hover {
	color: #1a1a1a;
}

#sidebars h2 {
	font: normal 12px;
	border-top: 1px solid #fff;
  margin: 0;
}

#sidebars h3 {
	font: normal 12px;
	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 #1a1a1a;
	font-size: 10px;
}

#button a {
	text-decoration: none;
}

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

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

#footer a{
	color: #808080;
}

#footer a:hover{
	color: #1a1a1a;
}

a.btn-slide {
  display: none;
}