/*
Theme Name: Grey Matter
Theme URI: http://masnikov.com/grey_matter
Description: <a href="http://masnikov.com/grey_matter">Grey Matter 2.1</a> is a light and clean WordPress theme. If you like it, you can make a <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2451070">donation</a>.
Version: 2.1
Author: Nikolaj Masnikov
Author URI: http://masnikov.com
Tags: silver, white, light, two-columns, fixed-width, right-sidebar, photoblogging

  Grey Matter is a light and clean, widget ready, free and easy to use WordPress theme with two columns.
  It was designed and built by Nikolaj Masnikov: http://masnikov.com

  The CSS, XHTML and design is released under GNU General Public License version 3 (GPLv3):
  http://www.opensource.org/licenses/gpl-3.0.html

  In this theme are used some icons from Glass Style RSS Icon Set by Bittbox (www.bitbox.com)
  and from Diagona Icon Set by Yusuke Kamiyamane (www.pinvoke.com). Both sets are licensed under GPL.

  WHAT'S NEW

  2.1 (2009.03.22)
      • Drop-down menus for subpages (thanks to Stanley www.seoadsensethemes.com).
      • Some minor design changes.
*/

html, body {
  height: 100%;
}

body {
  margin: 0 auto;
  padding: 0;
  /*font-family: Georgia, "Times New Roman", Times, serif;*/
  font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
  font-size: 62.5%;
  color: #000;
  background: #31519C url(img/html_bg.jpg) repeat-x;
}

img {
  border: 0;
}


a {
  color: #009A31;
  text-decoration: none;
}

a:hover {
  color: #009A31;
  text-decoration: underline;
}

#wrapper {
  margin: 0 auto;
  width: 960px;
  background: #fff url(img/back.png) top center repeat-y;
}

#header {
  background: url(img/header.png) 0 0 no-repeat;
  width: 960px;
  height: 135px;
  clear: both;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid #006108; /* don't touch it! */
  font-size: 130%;
  color: #747474;
}

#header h2 {
  margin: 0;
  padding:15px 0;
  width:100%;
  height:20px;
}

#header h1 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 42px;
  line-height:80px;
  font-weight: normal;
  margin: 0 0 0 40px;
  padding:0;
  width:600px;
  overflow:hidden;
  color:#fff;
  display:block;
  float:left;
}
#header h1 a {
  color:#fff;
  margin: 0;
  padding:0;
  font-size: 42px;
  line-height:80px;
  display:block;
  float:left;
}

#header_sidebar {
  float: right;
  width: 250px;
  margin: 0 25px 0 0;
  display: inline;
  vertical-align: top;
}


/* Drop-down menus */
ul#dropmenu {
  margin:10px 20px;
  padding:0;
  list-style:none;
  position:relative;
  z-index:300;
  width:250px;
  float:right;
  display:inline;
}

ul#dropmenu li {
  float:right;
  margin-left:10px;
  position:relative;
}
ul#dropmenu li a {
  display:block;
  color:#fff;
  padding:5px 10px;
  text-decoration:none;
}

ul#dropmenu li a:hover {
  color: #009A31;
  background:#fff;
}


#dropmenu li ul {
  width:10em;
  top:auto;
  background:#103073;
}

#dropmenu li ul a {
  width:  8.9em;
  /*height: auto;*/
  float:  left;
  text-align: left;
}

/* Sub-menu */
#dropmenu ul ul {
  top:auto;
}

#dropmenu li ul ul {
  left: 10em;
  margin: 0;
}

#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
/* Drop-down menus */


#content {
  clear: both;
  font-size: 130%;
  line-height: 140%;
  float: left;
  width: 600px;
  min-width: 600px;
  margin: 0px 0px 0px 40px;
  display: inline;
}

#content a {
 border-bottom: 1px dotted;
 /*text-decoration: underline;*/
}

#content blockquote, #content code {
  border-left: 3px #DDD solid;
  background: #F5F5F5;
  padding: 5px 0 2px 10px;
  margin: 0 0 10px 15px;
}

#content code {
	font: 12px Monaco, "Lucida Console", "Courier New", "Courier", monospace;
	display: block;
}

#content a:hover {
  text-decoration: none;
  border-bottom: #000 1px solid;
}

#content h1 {
  font-size: 190%;
  line-height: 120%;
  color: #103073;
  font-weight: normal;
  margin: 20px 0 15px 0;
}

#content h2 {
  font-size: 160%;
  line-height: 150%;
  font-weight: normal;
}

#content h3 {
  font-size: 130%;
  line-height: 130%;
  font-weight: normal;
  margin: 5px 0 5px 0;
}

#content a h1, #content h1 a {
  color: #103073;
  text-decoration: none;
  border: 0 none;
}

#content a:hover h1, #content h1 a:hover {
  color: #10388C;
  text-decoration: none;
  border-bottom: 1px dotted;
}

#content p {
  margin: 0 0 10px 0;
}

#content ul, #content ol {
  padding: 0 0 0 30px;
}

#content ul li, #content ol li {
  margin: 3px 0 3px 0;
  padding: 0;
}

#counters {
  width: 0px;
  height: 0px;
  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 0;
}

#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 30px 0;
  padding: 0;
}

#sidebar {
  font-size: 120%;
  line-height: 130%;
  float: right;
  width: 250px;
  min-width: 250px;
  margin: 0px 25px 0px 0px;
  display: inline;
}

#tag_cloud {
  line-height: 200%;
}

#sidebar img {
  float: none;
}

#sidebar p {
  margin: 0 0 5px 0;
}

#sidebar h2 {
  font-size: 100%;
  font-weight: normal;
  color: #103073;
  background-color: #E7EBE7;
  padding: 0px 8px;
  line-height: 180%;
  margin: 0 0 10px 0;
}

#sidebar ul {
  list-style: none;
  /*margin: 0 0 25px 0;*/
  padding: 0;
  margin: 0;
}

#sidebar ul li {
  margin: 0 0 25px 0;
}

#sidebar ul ul {
  padding: 0 0 0 8px;
}

#sidebar ul ul li {
  margin: 0 0 5px 0;
}

#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 0;
  background: #F5F5F5;
  line-height: 120%;     /*check it*/
  padding: 4px 0;        /*check it*/
}

#postmeta a {
  color: #444;
  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 -30px 0 -30px;
	padding: 0;
}

.postnav li.left {
	display: block;
	float: left;
}

.postnav li.right {
	display: block;
	float: right;
}

.pagenav {
	width: 600px;
	float: left;
	list-style: none;
	line-height: 100%;
 	margin: 20px -30px 0 -30px;
	padding: 0;
}


.pagenav li.left {
	display: block;
	float: left;
}

.pagenav li.right {
	display: block;
	float: right;
}

#footer {
  font-size: 130%;
  clear: both;
  width: 920px;
  margin: 0 auto;
  padding:25px 20px;
  background:#006108 url(img/footer.png) 0 0 no-repeat;
  border: 0;
  color:#fff;
}
#footer p {
	margin:0;
	padding:0;
}
#footer a {
  color:#fff;
}

.hasFloat:after {
  content: "";
  display: block;
  clear: both;
}

#searchform input {
  font-family:Tahoma, Arial, Helvetica, sans-serif;
  font-size:12px;
  background-color:#297584;
  margin: 0;
  padding: 2px 4px 2px 4px;
  border:#0D4B71 1px solid;
  color:#fff;
  width: 55px;
}

#searchform input:hover {
  cursor:pointer;
  background-color:#105D7B;
  border:#0D4B71 1px solid;
  color:#fff;
}

#searchform #s {
  font-family:Tahoma, Arial, Helvetica, sans-serif;
  font-size:12px;
  margin: 0 5px 0 0;
  background-color:#E7EBE7;
  padding: 3px 4px 3px 4px;
  border:#18657B 1px solid;
  color:#000;
  width: 175px;
}

#content .pagetitle {
	margin-bottom: 20px;
  font-size: 220%;
  font-weight: normal;
}

img#wpstats {
  width: 0px;
  height: 0px;
  padding: 0px;
  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;
}


