/*Theme
Name: Grey Matter
Theme URI: http://masnikov.com/grey_matterDescription: <a href="http://masnikov.com/grey_matter">Grey Matter</a> — an advanced WordPress theme.
Version: 1.4
Author: Nikolaj MasnikovAuthor
URI: http://masnikov.com
Tags: fixed width, two columns, widgets, widget ready, grey, gray, simple, right sidebar, valid CSS, valid XHTML*/

/* -- Gallery Photo (detail page) --------- */
div.gallery-photo
{
	text-align:center;
	left:-5px;
	position:relative;
}

img.gallery-photo
{
	background-color:#f3f3f3;
	border:1px solid #ddd;
	padding:7px;
	-moz-border-radius:3px;
}

#prevArrow img,#nextArrow img
{
	border-style:none;
}

/* -- Gallery thumbnails ------------------ */
.block-core-Navigator
{
	display:block;
	clear:both;
	height:20px;
}

.first-and-previous
{
	width:33%;
	text-align:left;
	display:inline;
	float:left;
}

.current
{
	width:33%;
	text-align:center;
	display:inline;
	float:left;
}

.next-and-last
{
	width:33%;
	text-align:right;
	display:inline;
	float:right;
}

.photorow
{
	display:table-row;
}

.gallery-thumb
{
	float:left;
	text-align:center;
	width:200px;
}

.gallery-thumb img
{
	background-color:#D0D0D0;
	padding:3px;
	margin:0;
	-moz-border-radius:3px;
}

.gallery-thumb a img
{
	border-color:#ccc;
}

.gallery-thumb a:hover img
{
	background-color:#747474;
}

/* -- Gallery Items ----------------------- */
.gallery-items
{
	margin:0;
	clear:both;
}

.gallery-empty
{
	padding:.5em 1.5em;
	margin:1.5em 3em;
	border:1px solid #ddd;
	background-color:#ffe;
	font-size:1.2em;
}

/* -- Gallery Album listing --------------- */
.gallery-album
{
	width:200px;
	display:inline;
	float:left;
	overflow:hidden;
}

.albumname
{
	text-align:center;
	width:99%;
}

.gallery-album p
{
	font-size:1em;
}

.meta
{
	color:#999;
	font-size:.9em;
	text-align:center;
	margin-bottom:20px;
}

/* -- ExifInfo ---------------------------- */
.block-exif-ExifInfo div
{
	font-size:.8em;
	color:#999;
	margin:1em 0;
}

table.gbDataTable
{
	width:100%;
	border-collapse:collapse;
}

table.gbDataTable td
{
	padding:.2em .5em .2em 0;
	border-bottom:1px solid #eee;
}

table.gbDataTable td.gbEven
{
	font-weight:bold;
}

.gbBusy
{
	background-color:#ae9!important;
}

/* -- Admin ------------------------------- */
.gallery-admin h2
{
	font-size:1.2em;
	margin-top:2em;
	overflow:hidden;
}

.gallery-admin h4
{
	margin-bottom:.5em;
}

.giSuccess,.giWarning,.giError
{
	font-weight:bold;
}

.giSuccess
{
	color:#5c0;
}

.giWarning
{
	color:#c50;
}

.giError
{
	color:#a44;
}

.gallery-admin .gbBlock
{
	margin:1.5em 0 2em;
}

#gsSidebar
{
	width:13em;
	overflow:hidden;
	padding-right:1em;
}

#gsSidebarCol
{
	width:1%;
}

#gsSidebar ul
{
	padding:.2em 0 1.5em;
	margin:0;
	font-weight:bold;
}

#gsSidebar ul ul
{
	font-weight:normal;
}

#gsSidebar li.gbAdminLink
{
	list-style:none;
	padding:.2em 0;
	margin:0;
}

.gbTabBar
{
	padding:.2em 0;
	border-bottom:1px solid #ccc;
}

.gbTabBar a
{
	border:1px solid #ccc;
	padding:.2em 1em;
	background-color:#eee;
	margin:0 .2em;
}

.gbTabBar .giSelected
{
	margin:0 .2em;
	padding:.2em 1em;
	border:1px solid #ccc;
	border-bottom:1px solid #fff;
	font-weight:bold;
	background-color:#fff;
}

.giUpdated,.giNew
{
	font:normal 9px Arial;
	text-transform:uppercase;
	color:#222;
	background-color:#ffea88;
	padding:0 3px;
	margin-left:3px;
}

.autoCompleteShadow
{
	background-color:#a0a0a0!important;
}

.autoCompleteContainer
{
	border-color:#404040 #404040 #0a0;
	background-color:#fff;
}

.autoCompleteContainer li.yui-ac-highlight
{
	background-color:#38c;
	color:#fff;
}

.gallery-admin
{
	clear:both;
	font-size:140%;
	line-height:140%;
	float:left;
	width:900px;
	min-width:900px;
	margin:0 0 0 40px;
	display:inline;
}

.twittertime
{
	font-size:10px;
	text-decoration:none;
	display:inline;
	font-family:verdana, arial;
}

.one-image
{
	display:block;
	width:250px;
	text-align:center;
	padding-top:4px;
	padding-bottom:4px;
}

html,body
{
	height:100%;
}

body
{
	margin:0 auto;
	padding:0;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:62.5%;
	color:#555555;
	background:#b1b1b1;
}

img
{
	border:0;
}

img a,a img
{
	border:0;
}

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

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

#wrapper
{
	margin:0 auto;
	width:960px;
	background:#b1b1b1 url(/themes/greymatter/images/back.gif) top center repeat-y;
}

#header
{
	background-image:url(/themes/greymatter/images/header.jpg);
	width:960px;
	height:135px;
	clear:both;
	margin:0 auto;
	padding:0;
	border-top:1px solid #b1b1b1;
/* don't touch it! */
	font-size:130%;
	color:#747474;
}

#header a,#header a:hover,#header a:visited
{
	color:#606060;
	text-decoration:none;
}

#header h2
{
	font-size:120%;
	font-weight:normal;
	margin:0;
}

#header h1
{
	font-size:350%;
	font-weight:normal;
	margin:0;
}

#header_siteheader
{
	clear:both;
	float:left;
	width:600px;
	height:83px;
	margin:0 0 0 40px;
	line-height:83px;
	display:inline;
}

#header_sidebar
{
	float:right;
	width:250px;
	height:49px;
	margin:0 25px 0 0;
	display:inline;
	vertical-align:top;
	padding-top:32px;
}

#header img
{
	float:left;
	margin:15px 25px 14px 0;
}

#content
{
	clear:both;
	font-size:140%;
	line-height:140%;
	float:left;
	width:600px;
	min-width:600px;
	margin:0 0 0 40px;
	display:inline;
}

#content img
{
	border:0;
/*margin: 10px 10px 10px 10px;*/
}

#content blockquote,#content code
{
	border-left:5px #DDD solid;
	background:#F5F5F5;
	padding:5px 0 2px 10px;
	margin:0 0 10px 20px;
}

#content code
{
	font:12px Monaco, "Lucida Console", "Courier New", "Courier", monospace;
	display:block;
}

#content h1
{
	font-size:190%;
	line-height:120%;
	color:#747474;
	font-weight:normal;
	margin:20px 0 15px;
}

#content a h1,#content h1 a
{
	color:#606060;
	text-decoration:none;
	border:0 none;
}

#content a:hover h1,#content h1 a:hover
{
	color:#444;
	text-decoration:none;
	border-bottom:1px dotted;
}

#content p
{
	margin:0 0 10px;
}

#content ul,#content ol
{
	padding:0 0 0 30px;
}

#content ul li,#content ol li
{
	margin:3px 0;
	padding:0;
}

#counters
{
	width:0;
	height:0;
	display:none;
	float:left;
}

#comments
{
	font-size:90%;
	line-height:140%;
}

.commenter
{
	color:#808080;
	font-size:90%;
}

#comments h1
{
	font-size:150%;
	line-height:120%;
	color:#606060;
	font-weight:normal;
	margin:30px 0 10px;
}

#comments img
{
	float:none;
	margin:0 5px 0 0;
}

#comments ul,#comments ol
{
	padding:0 0 0 25px;
}

#comments ul
{
	list-style:square;
}

#comments ul li,#comments ol li
{
	margin:0 0 40px;
	padding:0;
}

#sidebar
{
	font-size:120%;
	line-height:130%;
	float:right;
	width:250px;
	min-width:250px;
	margin:0 25px 0 0;
	display:inline;
}

#tag_cloud
{
	line-height:200%;
}

#sidebar img
{
	float:none;
}

#sidebar p
{
	margin:0 0 5px;
}

#sidebar h2
{
	font-size:120%;
	font-weight:normal;
	color:#DDD;
	background-color:#747474;
	padding:0 8px;
	line-height:180%;
	margin:0 0 10px;
}

#sidebar ul
{
	list-style:none;
	margin:0 0 25px;
	padding:0;
}

#sidebar ul li
{
	margin:0;
}

#sidebar ul ul
{
	padding:0 0 0 8px;
}

#sidebar ul ul li
{
	margin:0 0 7px;
}

#postmeta
{
	font-family:"Trebuchet MS", "Myriad Pro", Verdana, Tahoma, Arial, Helvetica;
	font-size:85%;
	border-top:1px solid #CCC;
	clear:both;
	color:#747474;
	margin:10px 0 20px;
}

#postmeta a
{
	color:#747474;
	border:0 none;
}

#postmeta a:hover
{
	color:#000;
	border:0 none;
	text-decoration:underline;
}

#postmeta img
{
	vertical-align:middle;
	margin:0 4px 0 0;
}

.postnav
{
	width:600px;
	float:left;
	list-style:none;
	line-height:100%;
	margin:0;
	padding:0;
}

.postnav li.left
{
	display:block;
	float:left;
}

.postnav li.right
{
	display:block;
	float:right;
}

#footer
{
	font-size:130%;
	clear:both;
	width:960px;
	margin:0 auto;
	height:109px;
	background:#b1b1b1 url(/themes/greymatter/images/footer.gif) center no-repeat;
	border:0;
}

#footer_content
{
	line-height:150%;
	text-align:center;
	height:58px;
	width:600px;
	margin:0 0 0 40px;
}

#footer_content p
{
	padding:10px 0 0;
}

#blackband_bottom_left,#blackband_bottom_right
{
	width:440px;
	height:30px;
	color:#CCC;
	line-height:30px;
}

#blackband_top_left
{
	width:250px;
	height:30px;
	color:#CCC;
	line-height:30px;
}

#blackband_top_right
{
	width:630px;
	height:30px;
	color:#CCC;
	line-height:30px;
}

#blackband_top_left,#blackband_top_right
{
	margin-top:19px;
	line-height:32px;
}

#blackband_bottom_left,#blackband_top_left
{
	margin-left:40px;
	float:left;
	display:inline;
}

#blackband_bottom_right,#blackband_top_right
{
	margin-right:40px;
	float:right;
	text-align:right;
	display:inline;
}

#blackband_top_right
{
	margin-right:34px;
}

#blackband_top_right ul
{
	margin-top:0;
	float:right;
}

#blackband_top_right ul li
{
	line-height:32px;
	float:left;
	list-style:none;
	display:inline;
}

#blackband_top_right ul li a
{
	padding:0 6px 0 0;
	display:inline;
}

#blackband_top_right ul li a:hover,#blackband_bottom_right a:hover,#blackband_bottom_left a:hover
{
	color:#FFF;
	text-decoration:underline;
	display:inline;
}

#blackband_top_right a,#blackband_top_right a:active,#blackband_top_right a:visited
{
	color:#FFF;
	text-decoration:none;
	display:block;
	display:inline;
}

#blackband_bottom_right a,#blackband_bottom_right a:active,#blackband_bottom_left a,#blackband_bottom_left a:active
{
	color:#FFF;
	text-decoration:none;
	display:inline;
}

.hasFloat:after
{
	content:"";
	display:block;
	clear:both;
}

#searchform input
{
	font-family:Tahoma, Arial, Helvetica, sans-serif;
	font-size:12px;
	background-color:#747474;
	margin:0;
	padding:2px 4px;
	border:#747474 1px solid;
	color:#DDD;
	width:55px;
}

#searchform input:hover
{
	cursor:pointer;
	background-color:#606060;
	border:#222 1px solid;
	color:#fff;
}

#searchform #s
{
	font-family:Tahoma, Arial, Helvetica, sans-serif;
	font-size:12px;
	margin:0 10px 0 0;
	background-color:#DDD;
	padding:3px 4px;
	border:#747474 1px solid;
	color:#606060;
	width:170px;
}

#content .pagetitle
{
	margin-bottom:20px;
	font-size:220%;
	font-weight:normal;
}

img#wpstats
{
	width:0;
	height:0;
	padding:0;
	border:none;
	overflow:hidden;
}

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

.alignleft
{
	float:left;
}

.alignright
{
	float:right;
}

.wp-caption
{
	border:1px solid #ddd;
	text-align:center;
	background-color:#f3f3f3;
	padding-top:4px;
	margin:10px;
/* optional rounded corners for browsers that support it */
	-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:11px;
	line-height:17px;
	padding:0 4px 5px;
	margin:0;
}