/* @override http://markstory.localhost/css/base.css */
/* Base.css
 *
 * Basic CSS and layout for mark-story.com
 */
@import 'reset.css';

/** Headings **/
h1, h2, h3, h4, h5, p, li, blockquote {
	margin: 0 0 20px 0;
	line-height: 20px;
}
h1, h2, h3, h4, h5 {
	color: #3C5400;
	line-height:40px;
	text-shadow:#fff 0px 1px 1px
}
h4 {
	line-height: 20px;
}

a img {
	display: block;
}
a:link {
	color: #004875;
	text-decoration:none;
}
a:visited {
	color: #002e65;
	text-decoration:none;
}
#tags a:hover,
.node-list .tag-list a:hover,
body a:hover {
	color: #60A2B1;
	text-decoration:underline;
}

acronym {
	border-bottom:1px dashed #d1b540;
}
table {
	color: #000;
	font-size: 12px;
	line-height: 12px;
}
table th {
	text-align: center;
	font-weight: bold;
	color: #333;
}
table td,
table th {
	border-bottom: 1px solid #666;
	border-left: 2px solid #fff;
}
table td{
	border-bottom-color:#ccc;
}

.right {
	float:right;
}
.left {
	float:left;
}

/* @font-face rules generated by fontsquirrel.com and is based on the work of Paul Irish. */
/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */
@font-face {
	font-family: 'DeliciousBold';
	src: url('css/fonts/Delicious-Bold.eot');
	src: local('Delicious Bold'), local('Delicious-Bold'), url('/css/fonts/Delicious-Bold.woff') format('woff'), url('/css/fonts/Delicious-Bold.otf') format('opentype'), url('/css/fonts/Delicious-Bold.svg#Delicious-Bold') format('svg');
}
/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */
@font-face {
	font-family: 'DeliciousHeavy';
	src: url('css/fonts/Delicious-Heavy.eot');
	src: local('Delicious Heavy'), local('Delicious-Heavy'), url('/css/fonts/Delicious-Heavy.woff') format('woff'), url('/css/fonts/Delicious-Heavy.otf') format('opentype'), url('/css/fonts/Delicious-Heavy.svg#Delicious-Heavy') format('svg');
}

#main h1,
.blog h2,
.blog h3,
.blog h4,
.comments h4,
footer #validation a,
footer h3,
.image-thumbnails h4,
footer #bottom-nav li a,
#subscribe,
.node-list h2 {
	font-family: DeliciousBold, Arial, Tahoma, sans-serif;
}

strong {
	font-weight: bold;
}
em {
	font-style:italic;
}
blockquote {
	font-style: italic;
	background: url(/css/img/pullquote-left.png) top left no-repeat;

	padding: 0 0 0 80px;
	min-height: 38px;
}
blockquote p {
	background: url(/css/img/pullquote-right.png) bottom right no-repeat;
	margin: 0;
	padding: 0 80px 0 0;
	min-height: 38px;
}
blockquote cite {
	text-align: right;
	display: block;
	margin: 0;
}
cite {
	color: #a96560;
}
li code,
p code {
	font-family: Monaco, Consolas, "Courier New", monospace;
	background: #E6E6E6;
	color: #3a4606;
	padding: 1px 2px;
	border: 1px solid #E0DDDA;
	font-size: 12px;
}

/** Clear fixing **/
#content:after,
.clearfix:after,
footer .bottom .inner:after,
footer .col6:after,
#image-nav ul:after,
.side-block .inner:after,
form div:after {
	content: '.';
	display: inline-block;
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	margin:0;
	padding:0;
	line-height:0;
}
.clear {
	clear:both;
}

/** Containers **/
body {
	position: relative;
	font-family: Arial, sans-serif;
	color: #fff;
	background: #f7f5f2 url(/css/img/body_background.png) top left;
}
#wrapper {
	background: url(/css/img/header-background.png) top center no-repeat;
}
#site-header,
#content,
footer .top,
footer .bottom {
	margin: 0 auto;
	position: relative;
	width: 960px;
	padding: 0 20px;
}
#content,
footer {
	color: #000;
}

/* Content Areas */
#content {
	position: relative;
	clear: both;
	z-index: 1;
}
#main {
	float: left;
	position: relative;
	width: 714px;
}
#main-inner {
	position: relative;
}
#side {
	float: right;
	width: 256px;
	margin-right: -11px;
}

/* @group Form Elements */
form div {
	clear: both;
	margin:0 0 20px 0
}
form div.checkbox {
	margin: 0 0 20px;
}
input,
textarea {
	clear: both;
	display: block;
	margin: 0;
}
input[type=text],
input[type=url],
input[type=email] {
	width: 200px;
}

textarea {
	width: auto;
}
label {
	float: left;
	line-height:20px
}
form .r {
	color: #900;
}
.checkbox input {
	clear: none;
	display: inline;
	float: none;
}
.checkbox label {
	float: none;
}

/** error messages **/
form div.error {
	padding: 4px 2px;
}
div.error {
	background: rgba(216,179,176, 0.3);
	border: 1px solid #76130e;
	border-left: 0;
	border-right: 0;
}
.error input,
.error select,
.error textarea {
	border: 1px solid #76130e;
}
.error .error-message {
	color: #76130e;
	background: url(/css/img/icon/field_error.png) center left no-repeat;
	padding: 2px 0 2px 22px;
	margin: 0 0 0 4px;
}

/* submit buttons */
form .submit {
	clear: both;
	margin: 0;
	padding: 0;
	min-height: 20px; /* hasLayout trigger */
}
.submit .submit-button {
	border: 0;
	padding: 0;
	background: url(/css/img/button/submit.png) top left no-repeat;
	line-height: 35px;
	height: 35px;
	display: inline-block;
}
.submit .submit-button input {
	border: 0;
	margin: 0;
	padding: 0px 12px 0px 0;
	height: 35px;
	display: inline-block;
	position: relative;
	left: 12px;

	font-size: 16px;
	font-weight:bold;
	line-height: 35px;
	color: #fff;
	background: url(/css/img/button/submit.png) top right no-repeat;
	text-shadow: #2E3805 0 1px 0px;
}
.submit .submit-button:active,
.submit .submit-button:focus {
	background-position: 0px -35px;
}
.submit .submit-button:active input,
.submit .submit-button:focus input {
	color: #ddd;
	background-position: 100% -35px;
}

/* @end */


/* @group Top & Nav */
#site-header {
	height: 180px;
	padding: 0;
	width: 990px;
}
#site-header h1 {
	position: absolute;
	top: -25px;
	left: -140px;
}
#site-header h1 a {
	background: url(/css/img/mark-story.png) top left no-repeat;
	width: 364px;
	height:0;
	padding-top: 188px;
	overflow: hidden;
	display: block;
}
#site-header nav ul {
	list-style: none;
	font-family: DeliciousHeavy, Arial, Tahoma, sans-serif;
	font-size: 32px;
	padding: 94px 0 0 260px;
}
#site-header nav ul a {
	color: #004875;
}
#site-header nav ul a.active {
	color: #3C5400;
}
#site-header nav ul a:hover {
	color: #848D5B;
}
#site-header nav ul li {
	float: left;
	margin: 0 20px 0 0;
}

/** Search box **/
#search-box {
	float: right;
	margin: 7px 20px 0 0;
}
#search-box #search-terms {
	width: 162px;
	border: 1px solid #ccc;
	float: left;
	height: 18px;
}
#search-box .submit {
	float: left;
	clear: none;
	margin-left: 10px;
}

#main h1 {
	color: #640700;	
}
.blog h1.title,
.download h1.title,
.image h1.title {
	margin: 0 0 0 80px;
}
/* @end */


/* @group Home Page Blocks & elements */
.portfolio-block {
	background:  url(/css/img/portfolio-block-bkg.png) top left no-repeat;
	padding: 50px 0px 37px 60px;
	width: 625px;
	min-height: 300px;
	list-style: none;
}
.portfolio-block img {
	border: 0;
	margin: 0;
	padding: 0;
}
#content .portfolio-block li {
	margin: 0 0 20px 20px;
	list-style: none;
}
#content .portfolio-block p  {
	clear: both;
	margin: 0 20px;
}
#content .portfolio-block p a {
	color:  #750800;
}

#content .thumbnail-list,
#content .portfolio-block h1 {
	margin-left: 0;
}
/* @end */

/* @group Blog elements */
article header time {
	position:absolute;
	width: 60px;
	height: 60px;
	left: 0px;
	top: 0px;
	margin: 0;
	background: url(/css/img/image-sprite.png) 0px -200px no-repeat;
	text-align: center;
}
time .month,
time .day,
time .year {
	line-height: 10px;
	display: block;
	position:absolute;
	width: 60px;
	left: 0px;
}
time .month{
	font-size: 10px;
	top: 10px;
}
time .day {
	font-size: 17px;
	line-height: 18px;
	color: #750800;
	font-weight: bold;
	top: 21px;
}
time .year {
	font-size: 10px;
	top: 37px;
	color: #9e9c99;
}
article header #tags {
	margin: 0 0 20px 80px;
	padding: 0;
}
article header #tags li {
	display: inline;
	line-height: 20px;
	font-size: 11px;
}
article header #tags a {
	display: inline;
	color: #66645f;
	text-decoration: none;
}

/** body styles **/
article.post img {
	padding: 4px;
	border: 1px dashed #b5b5b5;
	margin: 9px;
}
p.note {
	margin: 0 0 20px 0;
	padding: 5px 5px 5px 35px;
	background: #ffefb0 url(/css/img/icon/info.png) 6px 50% no-repeat;
	color: #333;
	border-top: 1px solid #d1b540;
	border-bottom: 1px solid #d1b540;
}

/* lists */
article.post ul,
article.post ol {
	margin-left: 40px;
	margin-bottom: 20px;
}
article.post li,
article.post ul {
	list-style: disc;
	list-style-position: outside;
}
article.post li {
	margin-bottom: 0;
}

/** Lists of Posts **/
table td,
table th {
	padding: 4px 3px;
}

/** pagination elements **/
.paging {
	margin: 0;
	clear: both;
}
.paging a,
.paging span {
	padding: 2px;
}
.paging .current {
	color: #750800;
}
.paging div.disabled {
	display: inline;
}
.comments .paging {
	margin-left:110px;
}

/* @end */

/* @group Downloads */
.download .preview-image img {
	border: 3px double #999;
}
/* @end */


/* @group Tag List */
.tag-indicators dt {
	width:20%;
	clear: left;
	float: left;
}
.tag-indicators dt,
.tag-indicators dd {
	margin: 2px 0.4em 2px 0;
	text-align: right;

}
.tag-indicators dd {
	max-width: 75%;
	float: left;
	padding: 0 6px;
	background: #ccc;
}
/* @end */

/* @group Portfolio Section */
.image p {
	clear: both;
}
#main-image {
	padding: 15px;
	float: left;
	margin: 0 0 20px 0;
	background: #212121;
	border-bottom: 1px solid #8e8e8e;
	border-right: 1px solid #8e8e8e;
}
#main-image img {
	display: block;
	padding: 15px;
	margin: 0px;
	background: url(/css/img/portfolio-framemat.png) top left no-repeat;
}
.paging div.disabled {
	color: #999;
}
/* @end */


/* @group Node Listings */
#content .node-list {
	margin: 0;
}
.node-list article {
	position: relative;
	clear: both;
	float: none;
	margin:0 0 80px 0;
}
.node-list .date {
	position: absolute;
	top: 0;
	left: 5px;
}
.node-list h2 {
	margin: 0 0 20px 80px;
	min-height: 40px;
}
.node-list .details {
	margin: 0 0 0 40px;
	list-style: none;
}
.node-list .details li {
	list-style: none;
	clear: none;
	font-size: 0.75em;
	line-height:1.1em;
	color: #666;
	margin: 0;
}

/** node list tags **/
.node-list .tag-list {
	list-style: none;
	margin: 0;
}
.node-list .tag-list a {
	color: #66645f;
	line-height: 20px;
	text-decoration: none;
}


.node-list .more {
	float: left;
}
.node-list .more a {
	font-size: 14px;
	line-height: 20px;
}
body .node-list ul .comment-count {
	background: url(/css/img/image-sprite.png) 0px -289px no-repeat;
	padding: 5px 5px 12px;
	width: 15px;
	text-align: center;
	float: left;
	margin: -12px 0 0 -40px;
}
.comment-count a {
	color: #005c6f;
}


/** Download Specifics **/
.node-list .download .date {
	left:  -5px;
	top: 3px;
}
.node-list .download .preview-image img {
	border: 3px double #9e9e9e;
}
.node-list .download .download-but {
	margin: 6px 0 0 45px;
}
.download .download-but {
	background: url(/css/img/image-sprite.png) top left no-repeat;
	height: 20px;
	padding: 0 0 0 25px;
	display: block;
}
.blog .node-list .download p {
	margin-left:0;
}


/** Image specifics **/
.image-thumbnails.node-list article {
	float: left;
	clear: none;
	width: 100px;
	margin: 20px 10px;
	line-height: 1em;
	height: 5em;
}
.node-list.image-thumbnails h4 {
	font-size: 11px;
}
.node-list .image {
	min-height: 60px;
}
.node-list .framed {
	padding: 5px;
	float: left;
	position: absolute;
	top: -10px;
	left: -10px;
}
.node-list .framed img {
	padding: 5px;
}
.image-thumbnails.node-list a {
	float: left;
	clear: both;
	position: static;
}
/* @end */


/* @group Side Block */
.side-block {
	margin: 0 0 1em 0;
	background: url(/css/img/sidebox/sidebox_top_sprite.png) top left no-repeat;
	padding: 29px 0 0 0;
}
.side-block.recent-images {
	background: url(/css/img/sidebox/sidebox_top_sprite.png) 0px 255px no-repeat;
}
.side-block.links {
	background: url(/css/img/sidebox/sidebox_top_sprite.png) 0px 510px no-repeat;
}

.side-block .inner {
	padding: 0 21px 25px 31px;
	background: url(/css/img/sidebox/bottom_shadow.png) bottom left no-repeat;
}

.side-block h3 {
	margin: 0 0 0 19px;
	padding: 0 0 0 38px;
	color: #640700;
	font-size: 1.2em;
	line-height: 24px;
	font-family: DeliciousBold, "Trebuchet MS", Trebuchet, sans-serif;
}
.side-block h4 {
	margin: 0;
	font-size: 1em;
}
.side-block ul {
	list-style: none;
}
.side-block li {
	margin: 0 0 0.5em 0;
	padding: 0 0 0 10px;
	line-height: 16px;
	font-size: 12px;
}
.side-block li:hover {
	background-image: url(/css/img/eyeball.png);
	background-position:center left;
	background-repeat: no-repeat;
}
/** Different sideblocks have different backgrounds and icons **/
.side-block.writing h3,
.side-block h3 {
	background: url(/css/img/icon/sidebox-sprite.png) 10px 0px no-repeat;
}
.side-block.recent-comments h3 {
	background-position: 10px -60px;
}
.side-block.popular-content h3 {
	background-position: 10px -120px;
}
.side-block.recent-images h3 {
	background-position: 10px -180px;
}
.side-block.recent-downloads h3 {
	background-position: 10px -240px
}
.side-block.links h3 {
	background-position: 10px -300px;
}

.search input {
	float: left;
	width:155px;
	border: 1px solid #c9a820;
}
#search-block input[type=submit] {
	margin:  -1px 0 0 2px;
	padding: 0 4px;
	width:auto;
	clear: none;
}

/** recent artwork SideBlock **/
.side-block.artwork li,
.thumbnail-list li {
	float: left;
	padding: 5px;
	margin: 3px;
}
.side-block.artwork li a,
.thumbnail-list li a {
	padding: 6px;
	display: block;
}
.node-list .framed,
.thumbnail-list li {
	background: #212121;
	box-shadow: #444 2px 2px 2px;
	-webkit-box-shadow: #8f8f8f 0 2px 3px;
}
.node-list .framed img,
.thumbnail-list li a {
	background: #fff url(/css/img/sideBlock-framemat.png) top left no-repeat;
	margin: 0;
	border: 0;
}
.thumbnail-list li:hover {
	background-image: none;
}
.thumbnail-list li a:hover {
	border: 0;
}
.artwork img {
	display: block;
}

/* Search Sidebox */

/** Illustration section sub nav **/
.side-block dt {
	padding: 2px 2px 2px 5px;
	clear: both;
	background: url(/css/img/body_background.png);
	margin-bottom: 6px;
}
.side-block ul {
	padding: 5px 0;
	position:relative;
}
#image-nav ul {
	padding: 0;
}
#image-nav li {
	float: left;
	padding: 0px 3px 6px 3px;
	margin: 0;
	background: none;
}
#image-nav dt a:hover {
	background: 0;
	border: 0;
}
#image-nav li a img{
	opacity: 0.75;
}
#image-nav li a:hover img {
	opacity: 1;
	border: 0;
}
/* @end */


/* @group Comments */
#comment-list {
	position: relative;
}
.comments h4 {
	margin: 0 0 20px 80px;
}
.comments form {
	margin-left: 80px;
}
.comments fieldset {
	border: 0;
}
.comments form textarea {
	width:500px;
	height:160px;
}
#comment-block header {
	left: 0;
	top: 0;
	position: static;
	position: relative;
}
.comments h2 {
	font-family: DeliciousHeavy, "Trebuchet MS", Trebuchet, sans-serif;
	font-size: 96px;
	line-height: 100px;
	color: #984640;
	margin: 0 0 20px 80px;
}
.comments article {
	width: 640px;
	position: relative;
	padding: 0px 0 0 85px;
	left: -10px;
	min-height: 100px;
	margin:0 0 20px 0; 
	background: url(/css/img/image-sprite.png) -145px -100px no-repeat;
}
.comments article .comment-content {
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border: 10px solid #fff;
	padding: 10px;
	background: #fff;
	background: rgba(255,255,255, 0.4);
}

/* I'm awesome, so I get colour mouths! */
.comments article.author {
	background-position: -60px -200px;
}
.comments .author .commenter a,
.comments .author .commenter span {
	color: #750800;
}
.comments .comment-body {
	font-size:12px;
	line-height:14px;
	color: #434343;
}
.comments .comment-body p:last-child {
	margin: 0;
}
#main .comment-body pre {
	margin-left: 0;
}
p.commenter {
	margin: 20px 0 0 0;
	font-size: 10px;
	color: #7e7e7b;
}
p.commenter a,
p.commenter span  {
	font-family: Arial, sans-serif;
	font-size: 12px;
}
p.commenter a {
	color: #004875;
}
.comments label {
	font-size: 0.9em;
	padding: 0 4px;
}
.reminder {
	font-size: 9px;
	color: #777;
}
.overlay {
	background: #fff;
	text-align: center;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
/* @end */


/* @group Site Messages */
#errorMessage,
#flashMessage {
	font-size:20px;
	color: #640700;
	background: #D7B2AF;
	background: rgba(215,178,175,0.5);
	border-top: 1px solid #640700;
	border-bottom: 1px solid #640700;
	padding: 10px 20px;
	margin-bottom: 20px;
}
#flashMessage {
	background: #d3d8b7;
	background: rgba(211,216,183, 0.5);
	color: #2E3805;
	border-top-color:#2E3805;
	border-bottom-color: #2E3805;
}
/* @end */


/* @group Footer Elements */
footer {
	background: url(/css/img/footer-background.png) top left repeat-x;
	padding: 0;
	margin-top: -80px;
	z-index: 0;
	position: relative;
}
footer .inner {
	background: url(/css/img/footer-image.png) top center no-repeat;
}
footer .top {
	padding-top: 130px;
	min-height: 273px;
}
footer ul {
	list-style: none;
	padding: 0;
}
footer li,
footer p {
	font-size: 12px;
	line-height: 16px;
	margin:0 0 5px 0
}
footer p {
	margin-bottom: 12px;
}
footer h3 {
	font-size: 16px;
	line-height: 32px;
	margin: 0;
}

/** columns **/
.col1,
.col2,
.col3 {
	float: left;
	margin: 0 20px 0 0;
}

/** first column in a row **/
.col1.last,
.col2.last,
.col3.last {
	margin: 0;
}
.col1 {
	width:60px;
}
.col2 {
	width: 140px;
}
.col3 {
	width: 224px;
}
.col6 {
	width: 468px;
}

/** Last.fm **/
footer .lastfm li {
	clear: both;
	margin-bottom: 10px;
	padding: 0;
}
footer .lastfm span {
	float: right;
	font-size: 10px;
}

/** Twitter **/
footer .twitter {
	width: 175px;
	padding: 30px 0 0 0;
}
footer .twitter-message,
footer .twitter-message a {
	font-size: 12px;
	line-height: 14px;
	color: #002b47;
}
footer .twitter .tweet-time {
	float: right;
	font-size: 10px;
	color: #444;
	margin-bottom: 5px;
}


/** footer bottom **/
footer .bottom {
	clear: both;
	padding-top: 10px;
	min-height: 80px;
}
footer .bottom .col6 {
	float: left;
}
footer .bottom a {
	color: #fff;
}
#bottom-nav li {
	float: left;
	margin: 0 10px 0 0;
}
#bottom-nav li a {
	font-size: 18px;
}
footer #copyright {
	clear: both;
	color: #92918E;
	padding-top: 20px;
	margin:0;
}

#subscribe,
#validation {
	float: right;
	clear: right;
}
#rss-button {
	padding: 0px 40px 5px 0;
	float: right;
	height: 26px;
	font-size: 2.2em;
	background: url(/css/img/icon-rss.png) right center no-repeat;
}

.bottom #validation a {
	color: #8a2f28;
	background: url(/css/img/validation_bkg.png) top left no-repeat;
	font-size: 9px;
	line-height:10px
}

/* validation */
#validation {
	margin:0;
}
#validation a {
	padding: 4px 3px;
	margin: 0 0 0 10px;
}
/* @end */


/* Search Box form */
#search-form div.input {
	float: left;
	margin: 0;
}
#search-form #SearchTerms {
	width: 462px;
	margin-right: 20px;
}
#search-form .submit {
	float: left;
	clear: none;
	margin: 0;
}
#search-form .submit input {
	width: auto;
}
.search-total {
	clear: both;
	font-size: 12px;
}
.search-results p {
	clear: both;
}

/** Debug / Development **/
.cake-sql-log,
.cake-debug,
#cakeSession {
	background: #ececec;
	color: #111;
	width: 90%;
	margin: 0 auto;
}
.cake-sql-log td,
.cake-sql-log th{
	font-family:monaco, monospace;
	padding: 4px;
	border: 1px solid #ccc;
}
.cake-debug {
	white-space: pre;
}

/** grid time **/
#grid {
	width: 1000px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -500px;

}
#grid .horiz {
	/* 20px line height */
	height: 19px;
	border-bottom: 1px dotted #aaa;
	margin: 0;
	padding: 0;
}
#grid .vert {
	border-right:1px solid red;
	border-left:1px solid red;
}
