/*
Theme Name: achaleon
Theme URI: http://www.achaleon.com
Description: Web site of Achaleon Limited
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
		light grey:	#686A69;   (104,106,105)
		dark grey:	#353738;	(53,55,56)
		orange:  	#C56D15;   (197,109,21)

*/
 
/* 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: 5px 18px 10px 20px;  /* 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;
	}
	.post_title_class img.alignleft  /* when an image is used within a post (esp. on 'clients' page) style is different to usual images */
	{
		margin: 0px 20px 10px 0px;
	}
	img.alignleft
	{
		margin: 20px 20px 10px 0px;  /* puts spacing around 'placed' images on RHS of pages */
		clear: right;    /* allows images to be simply stacked on RHS of pages */
	}
	
	.aligncenter
	{
		text-align: center;
	}

body
{
	font-family: arial, helvetica, sans-serif; 
	color: #686A69;  
	font-size: 10pt;
	text-align: center;
	background: url(background.jpg) top left;
}

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

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

/* menu */
	div#access
	{
		float: left;
	}
	div#menu
	{
		margin-left: 8px;
		width: 612px;
		height:37px;
		background: url(menu_background.jpg) no-repeat;
		padding-top: 5px;
	}
	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;
		background: url(button_bg.jpg) repeat-x;
	}
	div#menu ul a
	{
		display:block;
		padding-top: 3px;
		text-decoration:none;
		font-family: arial,helvetica,sans-serif;
		font-size: 10pt;
		font-weight: bold;
		color: #353738;
		text-align: center;
	}
	div#menu ul li
	{
		float:left;
		width: 102px;
	}
	div#menu ul ul a
	{
		display:block;
		margin-right:1em;
		padding: 6px 0px 7px 10px;
		text-decoration:none;
		font-family: arial,helvetica,sans-serif;
		font-size: 10pt;
		font-weight: normal;
		color: #353738;
	}
	div#menu ul a:hover
	{
		color: #C56D15;
	}
	div#menu ul ul li
	{
		float:left;
	}
	
	div#menu ul ul ul a {
		font-style:italic;
	}
	div#menu ul li ul {
		left:-999em;
		position:absolute;
	}
	div#menu ul li:hover ul {
		left:auto;
	}

/* mid part - content and 'sidebars' */
	div#container
	{
		float: left;
		width: 620px;
		min-height: 400px;
	}
	div#container_homepage
	{
		position: relative;
		width: 620px;
		overflow: hidden;
		height: 220px;
	}
	div#content
	{
		margin-left: 25px;
		width: 572px;
	}
	div#content_homepage
	{
		margin-left: 25px;		
		width: 572px;
	}
	.entry-content
	{
		position: relative;    /* gives this div position, so any absolutely positioned divs within it have this as their root position*/
	}
	.page .entry-title, .page .entry-title_homepage /* on all pages (not posts) hide the 'entry title' (=page name on the menu)*/
	{
		display:none;
	}

	/* 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: 40px }
	div#content ol { list-style-type: decimal }
	div#content ul { list-style: disc outside none; }

	div#content p, div#content p a, div#content_homepage p, div#content_homepage p a, div#content h6, div#content_homepage h6, div#content h6 a, div#content_homepage h6 a   /* h6 is call to action text*/
	{
		font-family: arial, helvetica, sans-serif; 
		color: #686A69;  
		font-size: 10pt;
		font-weight: normal;
		margin: 8px 0px 8px 0;
	}
	div#content p a:hover, div#content_homepage p a:hover
	{
		color: #C56D15;
	}
	
	div#content h1, div#content_homepage h1
	{
		color: #C56D15;
		font-size: 11pt;
		font-weight: bold;
		padding-top: 12px;
	}
	div#content h2, div#content_homepage h2
	{
		color: #C56D15;
		font-size: 10pt;
		font-weight: bold;
		padding-top: 0px;
	}
	div#content h3, div#content_homepage h3
	{
		font-size: 10pt;
		font-weight: bold;
	}
	div#content h6, div#content_homepage h6, div#content h6 a, div#content_homepage h6  a  /* call to action text */
	{
		color: #C56D15;
	}
	div#content h6 a:hover, div#content_homepage h6 a:hover
	{
		color: #686A69;
	}
	div#content_homepage li, div#content_homepage li a
	{
		font-weight: bold;
		padding-bottom: 10px;
		color: #686A69;
		text-decoration: none;
	}
	div#content li a
	{
		color: #686A69;
	}
	div#content_homepage li a:hover, div#content li a:hover
	{
		color: #C56D15;
	}
	
	.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;
	}
	#primary  /* on pages (not posts) other than the homepage, hide the primary sidebar */
	{
		display:none;
	}
	
	.home #primary
	{
		display: block;
		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;
	}

/* three content boxes on homepage: */		
	.page-template-page-ach-home-php #primary  /* on the homepage, show the primary sidebar */
	{
		width: 868px;
	}
	div.execphpwidget
	{
		position: relative;
		top: -40px; /*moves contents of secondary sidebar up level with top of menu*/
	}
	.home div.execphpwidget
	{
		top: 0px;
	}
	div.execphpwidget h1, div.execphpwidget h1 a
	{
		color: #353738;
		font-size: 10pt;
		font-weight: bold;
		margin-bottom: 20px;
		margin-top: 10px;
		text-decoration: none;
		text-align: center;
	}
	div.execphpwidget h1 a:hover
	{
		color: #C56D15;
	}
	div.execphpwidget p
	{
		color: #686A69;
		font-size: 10pt;
		font-weight: normal;
		margin: 0px 18px 5px 18px;
	}
	div.execphpwidget h6, div.execphpwidget h6 a, div.execphpwidget h6 a:hover     /* 'more' hyperlink */
	{
		color: #C56D15;
		font-size: 8pt;
		font-weight: normal;
		text-align: right;
	}
	div.execphpwidget h6 a:hover
	{
		color: #353738;
	}
	div#homepage_extra_field_box1, div#homepage_extra_field_box2, div#homepage_extra_field_box3
	{
		background: url(newspanel.jpg) no-repeat;
		width: 280px;
		height: 189px;
		overflow: hidden;
		float: left;
		margin-left: 7px;
	}
	
/* box on right of homepage with flash testimonial */
	div#rightbox_homepage
	{
		position: absolute;
		top: 149px;
		left: 619px;
		width: 245px;
		height: 250px;
	}
	
/* extra fields on inner pages: */		
	#secondary /* on inner pages, show the secondary sidebar */
	{
		display: block;
		float: right;
		z-index: 10;
	}
	div#innerpage_extra_field_box1, div#innerpage_extra_field_box2, div#innerpage_extra_field_box3, div#innerpage_extra_field_box4
	{
		width: 241px; 
		margin-right: 7px;
		background: #cccccc;
		margin-bottom: 6px;
	}
	div#innerpage_extra_field_box2, div#innerpage_extra_field_box3, div#innerpage_extra_field_box4
	{
		padding-top: 16px;
		padding-bottom: 16px;
	}
	div#contact_box
	{
		background: #e4e4e4 url(contact_panel_bg.jpg) repeat-x;
		padding: 16px 22px 16px 22px;
		width: 198px;
	}
	div#contact_box h1, div#innerpage_extra_field_box2 h1
	{
		padding-bottom: 10px;
		margin: 0px;
		text-align: left;
		color: #C56D15;
		font-size: 11pt;
		font-weight: bold;
	}
	div#innerpage_extra_field_box2 h1
	{
		padding-left: 16px;
	}
	div#contact_box p, div#contact_box p a
	{
		padding-bottom: 10px;
		margin: 0px;
		color: #353738;
		text-decoration: none;
	}
	div#innerpage_extra_field_box2 p, div#innerpage_extra_field_box2 p a
	{
		color: #353738;
	}
	div#contact_box a:hover
	{
		color: #C56D15;
	}
	div#contact_box .label 
	{ 
		width: 40px; 
		float: left; 
		text-align: right; 
		margin-right: 5px; 
		display: block;
		color: #C56D15;
	}

/* portfolio pages - posts displayed within a page */	
	div#content ul.get_posts_class
	{
		margin: 10px 0 10px 0;
	}
	ul.get_posts_class li   /* each portfolio item is a <li>*/
	{
		background: #eeedf0;
		list-style:none;
		margin-left: 0px;
		margin-bottom: 14px;
		padding: 6px 12px 6px 6px;
	}
	ul.get_posts_class img
	{
		margin-right: 12px;
	}

/* news pages */
	div.entry-meta
	{
		display:none;
	}
	div#nav-above, div#nav-below
	{
		display:none;
	}
	
	
/* footer */
	div#footer
	{
		clear: both;
		position: relative;
		top: 25px;
	}
	div#footer p
	{
		color: #686A69;
		font-size: 7pt;
		text-align: center;
	}

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

