/*
Theme Name: kingstone
Theme URI: http://www.achaleon.com
Description: King Stone Products web site
Author: Philip Jones
Author URI: http://www.achaleon.com
Template: sandbox
Version: 1.6
.
This work is released under the GNU General Public License 2:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
.
*/

/* colours in this theme
		lavender:	#ccccff;	(204,204,255)
		blue:		#2453a3;	(53,55,56)
		grey bg:  	#333333;	(51,51,51)

*/
 
/* reset browser stylings */
	html, body, address, blockquote, div, dl, form, 
	h1, h2, h3, h4, h5, h6, p, pre, table, 
	dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
	a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
	strong, sub, sup, tt, var, legend, fieldset, ol, ul 
	{
		 margin: 0px;
		 padding: 0px; 
	}
	ul  { list-style: none; }
/* end of reset */

/* styles across the entire site */
	img
	{
		border: none;
	}
	img.alignright 
	{
		margin: 0px 18px 10px 45px;  /* puts spacing around 'placed' images on RHS of pages */
		clear: right;    /* allows images to be simply stacked on RHS of pages */
	}
	.alignright
	{
		float: right;
	}
	.alignleft
	{
		float: left;
	}
	.aligncenter
	{
		text-align: center;
	}

body
{
	font-family: arial, helvetica, sans-serif; 
	color: #333333;  
	font-size: 10pt;
	text-align: center;
	background: #333333;
}

div#wrapper 
{
	margin: 0 auto;
	text-align: left;
	width: 940px;
	position: relative;
	top: 10px;
	left: 0px;
}

/* header */
	div#header
	{
		background: url(header.jpg) no-repeat top left;
		height: 126px;
	}
	h1#blog-title  {display: none;}
	div#blog-description {display: none;}
	div.skip-link {display: none;}

/* menu */
	div#access
	{
		background: #ccccff;
	}
	div#menu
	{
		margin-left: 8px;
		width: 734px;
		height:31px;
		padding-top: 9px;
	}
	div#menu ul
	{
		line-height:1;
		list-style:none;
		margin:0;
		padding:0;
	}
	div#menu ul ul 
	{
		line-height:1;
		list-style:none;
		margin:0;
		padding:0;
	}
	div#menu ul a
	{
		display:block;
		padding-top: 3px;
		text-decoration:none;
		font-family: arial,helvetica,sans-serif;
		font-size: 11pt;
		font-weight: bold;
		color: #2453a3;
		text-align: center;
	}
	div#menu ul li
	{
		float:left;
		width: 145px;
	}
	div#menu ul a:hover
	{
		color: #ffffff;
	}
	div#menu ul li:hover ul {
		left:auto;
	}

/* mid part - content and 'sidebars' */
	div#container
	{
		position: relative;
		background: #ccccff;
	}
	div#content
	{
		width: 744px;
		min-height: 500px;
		background: #ffffff;
		padding-bottom: 30px;
	}
	.page .entry-title /* on all pages (not posts) hide the 'entry title' (=page name on the menu)*/
	{
		display:none;
	}
	div.textwidget
	{
		padding-top: 30px;
	}
	div.textwidget p
	{
		padding-top: 20px;
	}
	div.textwidget a
	{
		padding-left: 15px;
		margin-bottom: 20px;
		text-decoration:none;
		font-family: arial,helvetica,sans-serif;
		font-size: 11pt;
		font-weight: bold;
		color: #2453a3;		
	}
	div.textwidget a:hover
	{
		color: #ffffff;
	}
	
	/* set margins (left and right) for various items of content */
	div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6, div#content p
	{
		margin-left: 25px;
		margin-right: 25px;
	}
	
	/* set list styles to defaults recommended by W3C for content area on inner pages*/
	div#content ol, div#content ul { display: block }
	div#content ol, div#content ul { margin: 1.12em 0 }
	div#content ol, div#content ul { margin-left: 65px; margin-right: 25px; }
	div#content ol { list-style-type: decimal }
	div#content ul { list-style: disc outside none; }

	div#content p, div#content p a, div#content h6, div#content h6 a  /* h6 is call to action text */
	{
		font-family: arial, helvetica, sans-serif; 
		color: #333333;
		font-size: 10pt;
		font-weight: normal;
		margin-top: 8px;
		margin-bottom: 8px;
	}
	div#content p a:hover, div#content ol a:hover, div#content ul a:hover
	{
		color: #2453a3;
	}
	
	div#content h1
	{
		color: #2453a3;
		font-size: 11pt;
		font-weight: bold;
		padding-top: 20px;
		padding-bottom: 12px;
	}
	div#content h2
	{
		color: #2453a3;
		font-size: 10pt;
		font-weight: bold;
		padding-top: 0px;
	}
	div#content h3
	{
		color: #2453a3;
		font-size: 10pt;
		font-weight: bold;
	}
	div#content h6, div#content h6 a  /* call to action text */
	{
		color: #2453a3;
		font-style: italic;
		padding-bottom: 25px;
	}
	div#content h6 a:hover
	{
		color: #333333;
	}

	div#content li a
	{
		color: #333333;
	}
	
	.blog #primary, .blog #secondary , .single #primary, .single #secondary , .archive #primary, .archive #secondary  /* on news page, blog entries and news archive hide the primary and secondary sidebars */
	{
		display:none;
	}
	.page-template-default #primary  /* on pages (not posts) other than the homepage, hide the primary sidebar */
	{
		display:none;
	}

	div#primary
	{
		position: relative;
		width: 680px;
		overflow: hidden;
	}	
	
	h3.widgettitle
	{
		display: none;
	}

	.page-template-page-ach-home-php #secondary   /* on the homepage, hide the secondary sidebar */	
	{
		display:none;
	}
	div.execphpwidget p
	{
		text-align: center;
	}
	
/* extra fields on (inner) pages: */		
	.page-template-default #secondary /* on inner pages, show the secondary sidebar */
	{
		position: absolute;
		left: 744px;
		top: 166px;
		display: block;
		width: 196px;
	}
	
/* footer */
	div#footer
	{
		position: relative;
		top: 15px;
	}
	div#footer p, div#footer p a
	{
		color: #ffffff;
		font-size: 8pt;
		text-align: center;
	}

/* contact forms*/
	span.wpcf7-list-item 
	{
		display:block;
	}
