/*  
Theme Name: Gearstones News
Description: Gearstones News theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 0.4
Author: Robert Naylor
Author URI: http://pobice.co.uk/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/
@media screen {

/* Begin Typography & Colors */
body {
      font-family: Verdana,serif,Helvetica,sans-serif;
      color: #000;      background-color: #005A00;
      margin: 0;
      padding: 0;
}

/* Lists */
ol { 
	list-style-type: decimal; 
	margin-left: 1em;
}
ul { margin-left: 1em; }

/* Tables */
table {
	border-spacing: 0;	border: 0;
	border: 0.05em solid green;
}
table.center {
	margin-left: auto;
	margin-right: auto;
}
td { 
	border: 0.05em solid green;
	padding: 0.2em;
	font-size : 1em;
}
th { 
	background-color : #a8dda0;
	border: 0.05em solid green;
}
th.century {
	border: 0px;
	background: none;
}
/* Headers */
H1 {
	font-size:  2.5em;
	font-family: 'Times New Roman', Verdana, serif;
	color:#005A00;
	font-weight:bold;
	text-align: center;
	margin: 0.1em;
	padding: 0;
}
H2 {	
	font-size: 2em;
	font-family: 'Times New Roman', Verdana, serif;
	color:#005A00;
	margin-bottom: 0;
	padding: 0;
}
H3 {	
	font-size: 1.2em;
	color:#1E9000;
	margin: 5px 5px 15px 5px;
}
H4 {	
	font-size:1em;
	color:#1E9000;
	margin: 5px 5px 10px 5px;
}

/* Links */
A:Visited { font-weight:normal;}
H3 A:Visited { font-weight:bold;}
A:Active {
	color:Red;
	font-weight:bold;
}
A:Hover {color:#E8A608;}
#menu_style a { 
	/* Allows you to click on the entire li area */
	display:block; 
	width: 94.545454545%;
	padding: 0.6em 0.3em 0.6em 0.3em;
	text-decoration:none;
}
#menu_style A:Hover {text-decoration:underline;}
/* Misc */
B, Strong {	font-weight:bold; }
img { border: none;}

.copy { color:#8000ff; }
.center {text-align: center;}
.hidden { display: none; }
.nomargin {margin: 0px; }

/* Divs */
div { /*KEEP CHANGES TO A MINMUM HERE*/
	margin: 0.1em;}
div#main {
	background-color: #E0F8E0;
	line-height: 1.1; /* IE Bug Fix */
	padding: 0 0.5em 0.5em 0.5em;
	border: 2px solid #000;
	margin: 0.5em;	
}

/* Should Contain just banner image */
div#header {
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	text-align:center;
	width: 744px;
}
/* Menu System - Divs can't be called menu due to IE bugs*/
div#menu_style {
	background-color: #E0F8E0;
	float: left;
	position: relative;
	line-height: 1.1; /* IE Bug Fix */
	width: 150px; /* Yet Another IE Bug Fix */
	min-width: 150px;
	width: 11em; 
	margin: -120px 5px 5px 0px; 
	border: 2px solid #000;
	padding: 0 0 0.1em 0;
	font-size:0.8em;
}

div#footer {
	background-color: #E0F8E0;
	float: right;
	width: 550px;
	padding: 2px;
	height: auto;
	border: 2px solid #000;
	margin-bottom: 5px;
	margin-right: 10px;
	margin-left: auto;
	font-size:0.7em;
}
div.center {
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	text-align:center;
}

/* Sections Links */
div#page_links {
	display: table; 
	height: 1%;
}
/* Content */
div#content {
	display: table; 
	height: 1%;
	margin-left: auto;
	margin-right: auto;
}

/* Details Panel */
div#details {
	border: 1px solid #000;
	width: 70%;
	margin-left: auto;
	margin-right: auto;	
}

/* Content which only shows up on printing or old browsers */
.printonly{ display: none; }

.gallery-row  {	padding-bottom: 0.3em; }

/* Menus */
#menu_style li.page_item {
	background-color:#E3F6CE;
	margin: 0.15em 0em 0em 0.15em;
	border: 1px solid #000;
	position: relative;
}

#menu_style li.page_item:Hover {
	background-color:#BFFFBF !important;
}
 
#menu_style li.current_page_item ul li, #menu_style li.current_page_ancestor ul li {
	background-color:#d4e6c0;
}

#menu_style li.current_page_ancestor ul li.current_page_item ul li {
	background-color:#E3F6CE;
}

#menu_style li.current_page_item, #menu_style li.current_page_ancestor, 
#menu_style li.current_page_item:Hover, #menu_style li.current_page_ancestor:Hover {
	background-color:#BEF781 !important;
}

#menu_style ul li ul { display: none; }
#menu_style ul li.current_page_item ul, #menu_style ul li.current_page_ancestor ul { display: block; }
#menu_style ul li.current_page_item ul li ul, #menu_style ul li.current_page_ancestor ul li ul  { display: none; }
#menu_style ul li.current_page_ancestor ul li.current_page_item ul, #menu_style ul li.current_page_ancestor ul li.current_page_ancestor ul { display: block; }
#menu_style ul{
	margin: 0;
	padding: 0;
	padding-bottom: 0.15em;
	margin-right: 0.2em;
	list-style: none;
}
/* End Entry Lists */

/* Search */
#searchresults {
	display: table; 
	height: 1%;
	margin-left: auto;
	margin-right: auto;
	min-width: 610px;
}

/* Alignments */
.alignright {
	float: right;
	margin-left: 0.5em;
	margin-top: 1.01em; /* FF Bug Fix */
}
.alignleft {
	float: left;
	margin-right: 0.5em;
	margin-top: 1.01em; /* FF Bug Fix */
	clear: left;
}
.clear { clear: both; }

/* Caption */
div.wp-caption {
	background-color: #ddd;
	text-align: center;
	border: 1px solid #000;
	padding: 3px 0px 0px 0px;
	display: inline-block;
	margin: 5px;
}
}

@media print {  /* style sheet for print goes here */
	.dontprint, .hidden { display: none; }
	.printonly{ display: block; }

	div#menu_style, div#header, div#footer img, div#page_links{ display: none; }
}
