/*
Theme Name: Craig Russell Fracture Theme
Theme URI: http://www.craig-russell.co.uk
Description: New Theme for my web site
Author: Craig Russell
Version: 1.0
Tags: grey, blue, white, two-columns, fixed-width
*/

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
	font-size: 1em;
	-background-color: #3b627e;
	background: #e0e5e5 url('img/paper-bg.jpg');
}

.center {
	width: 900px;
	margin: auto;
}

/* Menu Bar */

#menubar {
	height: 2.6em;
	background-color: #333;
	border-bottom: 1px solid #666;
	z-index: 99999;
	position: fixed;
	width: 100%;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

.menu {
	list-style-type: none;
}

.menu > .menu-item {
	float: left;
}

.menu li:hover > ul {
	display: block;
}

.sub-menu {
	background-color: #333;
	list-style-type: none;
	display: none;
	position: absolute;
	float:left;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

.menu-item a {
	display: block;
	padding: 0.5em 1em;
	margin: 0.2em;
	text-decoration: none;
	color: #ccc;
}

.sub-menu a {
	margin-top: 0;
	min-width: 8em;
}

.menu-item a:hover{
	color: #fff;
	background-color: #666;
}

/* Search Form */

#searchform {
	float: right;
	padding: 0.3em 0;
}

#searchform #s {
	border: 0px;
	padding: 0.4em;
	font-size: 1em;
	color: #666;
}

#searchform #searchsubmit {
	border: 0px;
	padding: 0.35em;
	background-color: #333;
	color: #ccc;
	cursor: pointer;
	cursor: hand;
	font-size: 1em;
}

#searchform #searchsubmit:hover {
	color: #fff;
	background-color: #666;
}

/* Header */

#header {
	clear: both;
	-background: #3b627e url('img/header1.png') no-repeat bottom center;
	margin-bottom: 20px;
}

#header h1 {
	font-size: 6em;
	padding-top: 40px;
	letter-spacing: -3px;
}

#header h1 span {
	display: block;
	padding-left: 40px;
	font-size: 0.5em;
	letter-spacing: 5px;
	color: #999;
	border-bottom: 3px solid #999;
}

/* Content */

#content {
	float: left;
	width: 580px;
}

.content-box {
	background-color: #fff;
	padding: 15px;;

}

.shadow-box-280 {
	margin-bottom: 10px;
	background-image: url('img/280-shadow-trans.png');
	background-repeat: no-repeat;
	background-position: top center;
	height: 30px;
}

.shadow-box-580 {
	margin-bottom: 10px;
	background-image: url('img/580-shadow-trans.png');
	background-repeat: no-repeat;
	background-position: top center;
	height: 30px;
}

.shadow-box-500 {
	margin-bottom: 10px;
	background-image: url('img/500-shadow-trans.png');
	background-repeat: no-repeat;
	background-position: top right;
	height: 30px;
}

.shadow-box-900 {
	margin-bottom: 10px;
	background-image: url('img/900-shadow-trans.png');
	background-repeat: no-repeat;
	background-position: top right;
	height: 30px;
}

/* Post */

.post-title {
	font-size: 1.5em;
	letter-spacing: -1px;
	display: block;
	text-decoration: none;
	cursor: pointer;
	cursor: hand;
}

.post-meta {
	font-size: 0.8em;
	color: #999;
}

.post-content {
	margin-top: 1em;
	font-family: Georgia, "Bitstream Charter", serif;
	line-height: 1.5em;
	color: #333;
}

.print-only {
	display: none;
}

.post-more {
	margin-bottom: 0.5em;
	text-align: right;
}

.post-more a {
	display: block;
	float: right;
	text-decoration: none;
	padding: 0.5em;
	background-color: #ddd;
}

.more-link{
	display: none;
}

/* Custom Post Type : Paper Toy */

.papertoy-largeimage {
	margin-top: 1em;
	text-align: center;
}

.papertoy-download span {

}

.papertoy-download {
	text-align: center;
	margin-bottom: 1em;
}

/* Custom Page - Portfolio*/

#portfolio {width: 900px;}
#portfolio a img {float: left; margin-left: 2em; margin-bottom: 2em;}

/* Custom Page - Home */

#home-box h1{
	font-size: 3.6em;
	font-weight: bold;
	line-height: 1.2em;
	color: #999;
}

#home-box h1 span {
	color: #666;
	font-style: italic;
}

#slideshow-box a,
#slideshow-box a img {
	margin: 0;
	padding: 0;
	border-width: 0;
}

#news-box h1 a {
	text-decoration: none;
	color: #333;
}

#news-box h1 a:hover {
	color: #3d8bc2;
}

/* Disqus Comments */

#dsq-content{
	background-color: #fff;
	padding: 15px;
}

/* Comments */

.commentlist {
	list-style-type: none;
}

.comment-avatar {
	width: 80px;
	height: 80px;
	float: left;
	padding-top: 15px;
	background-image: url('img/avatar-trans.png');
	background-repeat: no-repeat;
	background-position: top left;
}

.comment-avatar img{
	margin: 2px;
}

.comment-box {
	width: 470px;
	float: right;
	background-color: #fff;
	padding: 15px;
}

.comment-author {
	font-style: italic;
	font-weight: bold;
	margin-bottom: 1em;
	color: #333;
}

.comment-text {
	font-family: Georgia, "Bitstream Charter", serif;
}

/* Comment Form */

#respond {
	width: 470px;
	float: right;
	background-color: #fff;
	padding: 15px;
}

#reply-title {
	font-style: italic;
	font-weight: bold;
	margin-bottom: 0.5em;
	color: #333;
}

#commentform span {
	color: red;
}

#commentform label{
	color: #666;
}

#commentform input{
	font-size: 1.1em;
	display: block;
	border: 1px solid #999;
	padding: 5px;
}

.comment-notes {
	font-style: italic;
	font-size: 0.8em;
	margin-bottom: 1em;
	color: #999;
}

.comment-form-comment textarea{
	width: 460px;
	border: 1px solid #999;
	padding: 0.3em;
}

.form-allowed-tags {
	display: none;
}

/* Contact Form*/

#contactform #notes {
	font-style: italic;
	font-size: 0.8em;
	margin-bottom: 1em;
	color: #999;
}

#contactform span {
	color: red;
}

#contactform label{
	color: #666;
}

#contactform input{
	font-size: 1.1em;
	display: block;
	border: 1px solid #999;
	padding: 5px;
}

#contactform textarea {
	width: 460px;
	border: 1px solid #999;
	padding: 0.3em;
	font-size: 1.1em;
}

/* Blog Navigation */

#blog-nav a {
	display: block;
	padding: 0.5em;
	background-color: #fff;
	min-width: 5em;
	max-width: 250px;
	text-align: center;
	text-decoration: none;
}

#blog-nav #next {
	float: right;
	margin-bottom: 30px;
}

#blog-nav #prev {
	float: left;
	margin-bottom: 30px;
}

/* Side Bar */

.sidebar {
	float: right;
	width: 280px;
}

.sidebar-title {
	font-size: 1.5em;
	letter-spacing: -1px;
}

.sidebar ul {
	margin-top: 1em;
}

.sidebar li {
	margin-left: 0.3em;
	margin-bottom: 0.3em;
	list-style-type: none;
}

.featured-link {
	display: block;
	margin-top: 1em;
}


.sidebar .icon {
	height: 32px;
	width: 32px;
	margin-bottom: -12px;
	margin-top: 10px;
	border-width: 0;
}

/* Footer */

#footer {
	clear: both;
	background: #353635 url('img/foot-grad-1.png') repeat-x top;
	border-top: 3px solid #333;
	padding: 40px 0;
	color: #ccc;
}

#footer ul {
	list-style-type: none;
}

#footer #widget-list li:first-child {
	margin-left: 0;
}

#footer .widget-container {
	width: 280px;
	margin-left: 30px;
	float: left;
}

#footer .widget-container h3 {
	color: #fff;
	margin-bottom: 0.5em;
}

/* Widget Formatting */

.sidebar select {
	border: 0px solid #666;
	padding: 5px 10px;
	width: 250px;
	font-size: 1em;
	background-color: #ddd;
	color: #3d8bc2;
}

/* OLD Twitter Widget in Footer*/

#twitter_update_list {
	font-size: 0.8em;
}

#twitter_update_list li {
	margin-bottom: 0.5em;
}

/* Twitter Widget in Footer */

#tweets {
	font-size: 0.8em;
}

#tweets li {
	margin-bottom: 0.5em;
}

/* Images in Widgets in Footer */


#footer img{
	padding: 4px;
	border: 1px solid #3d8bc2;
	margin: 2px;
}

#footer img:hover{
	border: 1px solid #c23d3e;
}

#footer a {
	color: #3d8bc2;
}

#footer a:hover {
	color: #c23d3e;
}

/* Text Elements */

blockquote {
	margin: 0 1em;
	padding-left: 1em;
	border-left: 3px solid #999;
}

code {
	display: inline;
	font-family: Courier New, Courier, monospace;
}

p {
	margin-bottom: 1.5em;
}

h1, h2, h3, h4, h5, .post-title, .sidebar-title {
	font-family: Verdana, Geneva, sans-serif;
	color: #333;
	font-weight: none;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.1em;
	margin-bottom: 0.5em;
}

small {
	font-size: 0.9em;
}

a {
	color: #666;
}

a img {
	padding: 8px;
	border-width: 2px;
	color: #999;
}

a:hover,
a:hover img {
	color: #3d8bc2;
}

.clearboth {
	clear: both;
}

.post-content ul, .post-content ol {
	margin-bottom: 1.5em;
}

.post-content li{
	margin-left: 1.5em;
}

/* Image alignment styles from WP */
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

.mysyntax {
    font--size: 0.8em;
}

code {
    font-size: 0.8em;
}

