/*	Main CSS file (should look perfect on Firefox 3)
	Andrew Hedges, andrew (at) hedges (dot) name
	Created: 2008-09-18
*/

/* hide the grid
html {
	background: url(http://cameronmoll.com/img/pics/960grid.png);
	background: url(../imgs/grid.png);
}
*/

body {
	background: white;
	color: #333;
	font: 14px/1.5 Georgia, Serif;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	font-family: Helvetica, Sans-Serif;
	color: black;
}

h1 {
	font-size: 32px;
	line-height: 42px;
	margin: 0 0 9px -160px;
	padding: 32px 0 0 0;
	text-align: justify;
	letter-spacing: 0.05em;
	text-shadow: #ccc 0 1px 2px;
}

h2 {
	font: italic normal 21px/21px "Book Antiqua", Palatino, Georgia, Serif;
	margin: 0 0 18px -160px;
	padding: 4px 0 0 0;
	text-align: justify;
}

h2 em {
	font-style: normal;
}

/*
.column-right {
	opacity: 0.25;
	-webkit-transition: opacity 500ms;
}

.column-right:hover {
	opacity: 1.0;
}
*/

.column-right h2 {
	font: 63px/42px Helvetica, Sans-Serif;
	margin: 0 0 18px 0;
	padding: 2px 0 0 0;
	text-align: left;
}

.column-right h2 a:visited {
	color: #33c;
}

h3 {
	font-size: 18px;
	line-height: 18px;
	margin: 0 0 18px 0;
	padding: 6px 0 0 0;
}

h4 {
	font-size: 14px;
	line-height: 21px;
	margin: 0 0 15px 0;
	padding: 6px 0 0 0;
}

p, ul, ol, dl, dd, pre, table {
	font-size: 14px;
	line-height: 21px;
	margin: 0 0 16px 0;
	padding: 5px 0 0 0;
}

dt {
    font-weight: bold;
    margin-left: -21px;
}

p, blockquote, ul, dl {
	text-align: justify;
}

p.jump-link {
	display: none;
}

.column-right p, .column-right p em, .column-right ul {
	text-align: left;
	font-size: 12px;
	font-family: Helvetica, Sans-Serif;
	color: #666;
}

.column-right p strong {
	color: #333;
}

.column-right a {
	color: #66c;
}

.column-right ul {
	list-style: none;
}

.column-right hr {
	margin-left: -21px;
}

blockquote {
	border-top: solid 1px #e7e7e7;
	border-bottom: solid 1px #e7e7e7;
	font-style: italic;
	font-family: "Book Antiqua", Palatino, Georgia, Serif;
	font-size: 16px;
	line-height: 21px;
	margin: -1px 0 14px 0;
	padding: 26px 0 22px 0;
}

.comment blockquote {
	padding: 19px 0 15px 0;
}

.comment blockquote p {
	margin-bottom: 0;
	padding-top: 0;
}

.comment.me blockquote {
	border-top-color: #ccc;
	border-bottom-color: #ccc;
}

form {
	margin: 0;
	padding: 0;
}

form p {
	margin-bottom: 15px;
}

p.datetime {
	font-variant: small-caps;
	font-size: 12px;
	margin: 0 0 15px -160px;
	padding: 6px 0 0 0;
}

p.hang {
	text-indent: -0.45em;
}

blockquote.hang {
	text-indent: -0.505em;
}

p.dedent:first-line,
p.outdent:first-line {
	font-weight: bold;
	font-variant: small-caps;
}

p.dedent:first-letter,
p.outdent:first-letter {
	font-size: 8em;
	line-height: 1;
	font-weight: normal;
	margin: 0.05em 0 0 -800px;
	letter-spacing: 0.05em;
	padding-right: 460px;
	float: right;
	color: black;
	text-shadow: #ccc 0 2px 4px;
}

p.end-mark {
	text-align: center;
}

p.end-mark img {
	border: none;
}

a.twitter {
	padding-left: 20px;
	background: transparent url(../imgs/icon-twitter.png) no-repeat;
}

a.permalink {
	display: inline-block;
	width: 31px;
	height: 24px;
	margin-top: 0.5em;
	background: white url(../imgs/end-mark.png) 0 0 no-repeat;
}

a.permalink:hover {
	background-position: 0 -24px;
}

code {
	font-family: "Panic Sans", "Andale Mono", Monaco, Monospace;
	font-size: 12px;
}

h2 code {
	font-size: 17px;
}

pre.sh_sourceCode {
	font-size: 12px;
	line-height: 14px;
	margin: 0 0 12px 0;
	padding: 9px 0 0 0;
}

table {
	border: solid 1px #333;
	border-collapse: collapse;
	margin-left: -160px;
	width: 620px;
}

table th,
table td
{
	text-align: left;
	padding: 5px 10px;
}

table th {
	background: #333;
	color: white;
}

table td {
	border-right: solid 1px #333;
	border-bottom: solid 1px #333;
}

table thead th,
table tbody tr:hover th,
table tbody tr:hover td
{
	background: #333;
	color: white;
}

table th a {
	color: #ccc;
}

table th a:hover {
	color: white;
}

iframe {
	margin: 0 0 0 -160px;
	width: 615px;
	border: none;
}

iframe.iphone-viewport {
	float: left;
	clear: left;
	margin: 0 1em 1em -160px;
	width: 320px;
	height: 480px;
	border: solid 1px #333;
}

a {
	color: #33c;
	text-decoration: none;
}

a:visited {
	color: #a90061;
}

a:active,
a:hover
{
	color: #008234;
	text-decoration: underline;
}

a img {
	border: none;
}

a.jump {
	display: none;
}

a.size-0 { font-size: 10px; }
a.size-1 { font-size: 12px; }
a.size-2 { font-size: 14px; }
a.size-3 { font-size: 16px; }
a.size-4 { font-size: 18px; }
a.size-5 { font-size: 20px; }

.footer strong a {
	color: black;
}

hr {
	border: none;
	color: #e7e7e7;
	background-color: #e7e7e7;
	height: 1px;
	margin: -1px 0 21px 0;
}


hr.footer {
	color: #ccc;
	background-color: #ccc;
}

strong, em {
	color: black;
}

.amp {
	font-family: "Hoefler Text", Baskerville, Constantia, Georgia, Serif;
	font-style: italic;
	line-height: 0.75;
}

.tooltip {
	border-bottom: dotted 1px #3c3;
	cursor: help;
}

.count {
	color: #333;
	font-size: 12px;
}

.icon-16 {
	position: relative;
	bottom: -3px;
	margin: 0 0.25em 0 0;
}

.icon-rss {
	padding-left: 18px;
	background: transparent url(../imgs/icon-rss.png) no-repeat;
}

.icon-16,
.icon-rss
{
	-webkit-transition-property: -webkit-transform;
	-webkit-transition-duration: 100ms;
	-webkit-transform: scale(1.0);
}
 
.icon-16:hover,
.icon-rss:hover
{
	-webkit-transform: scale(1.25);
}

.clearer {
	clear: both;
	height: 0px;
	font-size: 0px;
	line-height: 0px;
}

/* comments */
blockquote.comment-header {
	text-align: center;
	clear: left;
}

input[type=search],
.comment-form input[type=text],
.comment-form textarea
{
	border: solid 1px #e8e8e8;
	border-top-color: #666;
}

.comment-form {
	margin: 0;
	padding: 0;
	width: 450px;
}

.comment-form h3 {
	padding-top: 1.5em;
}

.comment-form label {
	display: block;
	padding: 10px 0;
}

.comment-form label.captcha {
	display: none;
}

.comment-form input[type=text],
.comment-form textarea
{
	width: 450px;
}

.comment-form textarea {
	height: 120px;
}

.wmd-preview {
	margin-bottom: 7px;
}

.comment {
	font-size: 14px;
	line-height: 21px;
	margin: 0 320px 0 0;
	padding: 18px 1em 15px 1em;
	border-right: solid 1px #ccc;
}

.comment.wmd-preview {
	margin-right: 0;
}

.comment img.gravatar {
	float: left;
	margin:8px 0 0 -96px;
	width: 64px;
	height: 64px;
/* 	border: solid 1px #666; */
/* 	-webkit-box-shadow: #b0b0b0 0 3px 6px; */
}

.comment.odd {
	background: #f1f5fa;
	border-top: solid 1px #dce6f0;
}

.comment.even {
	background: white;
	border-top: solid 1px white;
}

.comment.me {
	background: #e8e8e8;
	border-top: solid 1px #ccc;
}

.comment .byline {
	margin: 7px 0 0 0;
	font-size: 12px;
	font-variant: small-caps;
}

.comment.odd .byline {
	border-top: solid 1px #dce6f0;
}

.comment.even .byline {
	border-top: solid 1px #e8e8e8;
}

.comment.me .byline {
	border-top: solid 1px #ccc;
}

.byline .star {
	font-family: "Hiragino Kaku Gothic Pro", "Osaka", "Zapf Dingbats";
	font-size: 10px;
	display: block;
	float: right;
	text-align: right;
}

.spammers-beware {
	font-style: italic;
	font-size: 12px;
}

.spammers-beware code {
	font-style: normal;
}

/* modal photos */
.modalData {
	text-align: center;
}

.modalData a {
	background: black;
	color: white;
	font-weight: bold;
	display: inline-block;
	width: 100px;
	padding: 4px;
	margin: 4px auto;
	opacity: 0.5;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.modalData a:hover {
	opacity: 0.75;
}

.modalData img {
	border: solid 20px #ccc;
	cursor: pointer;
}

.modalContainer {
	top: 0;
	left: 50%;
	margin-left: -420px;
	width: 840px;
	background: transparent;
	text-align: center;
}

.modalOverlay {
	background: black;
	cursor: pointer;
}

.twitshirt img {
	float: left;
	margin: 0 10px 14px 0;
	border: none;
}

.twitshirt-ajax a {
	display: inline-block;
	padding-right: 21px;
}

.twitshirt-ajax a.loading {
	background: url(../imgs/ajax-loader-arrows-inverted.gif) right 2px no-repeat;
}

/* banner ad */
.banner-ad {
	position: fixed;
	top: 0;
	right: 0;
	width: 222px;
	height: 222px;
	cursor: pointer;
	display: none;
}

#banner-ad-trimit {
 	background: transparent url(/blog/assets/imgs/banner-trimit.png) no-repeat top left;
}

#banner-ad-phpfr {
 	background: transparent url(/blog/assets/imgs/banner-phpfr.png) no-repeat top left;
}

#banner-ad-twitter {
 	background: transparent url(/blog/assets/imgs/banner-twitter.png) no-repeat top left;
}

#banner-ad-simple-templates {
 	background: transparent url(/blog/assets/imgs/banner-simple-templates.png) no-repeat top left;
}

/*	Layout CSS file (should look perfect in Firefox 3)
	960 grid, centered on the page
	Andrew Hedges, andrew (at) hedges (dot) name
	Created: 2008-09-18
*/

body {
	width: 800px;
	margin: 16px auto 0 auto;
	padding: 0 0 21px 160px;
}

.column-right {
	position: relative;
	float: right;
	width: 299px;
	height: auto;
	margin: 0 0 0 21px;
	padding: 1px 0 20px 21px;
	border-left: solid 1px #ccc;
	background: white;
}

.shadow-right-top, .shadow-right-bottom {
	position: absolute;
	left: 0;
	width: 12px;
	height: 12px;
	background: white url(../imgs/shadow-right-top.png) no-repeat;
	
	display: none;
}

.shadow-right-top {
	top: 0;
}

.shadow-right-bottom {
	bottom: 0;
	background-image: url(../imgs/shadow-right-bottom.png);
}

.photo-left {
	margin: 0 21px 0 -160px;
	float: left;
}

.photo-left p {
	font: italic normal 16px/21px "Book Antiqua", Palatino, Georgia, Serif;
	text-align: center;
	padding-top: 0;
	line-height: 21px;
}

.photo-left img {
	width: 283px;
	display: block;
	border: solid 8px #ccc;
}

hr.footer,
p.footer
{
	clear: both;
	margin-left: -160px;
}

#adsense-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 15px;
	text-align: center;
	background: #787878;
	border-bottom: solid 1px #131313;
}

#adsense-top div {
	width: 960px;
	text-align: left;
	margin: 0 auto;
}

#amazon-nav {
	width: 299px;
	overflow: hidden;
}

.ad iframe {
	margin-left: 0;
}

#chitika iframe {
	width: 300px;
}

/* instagram */

#insta-photos a {
    display: inline-block;
    height: 120px;
    margin: 0 10px 10px 0;
    width: 120px;
}

