/*
Theme Name: HKPB Theme Two
Theme URI: http://www.stablesclub.com
Description: Wordpress theme developed for HKPB Scientific
Author: Paul McCarthy
Author URI: http://www.paulmc.org/whatithink
Version: 1.0
*/



/* basics */

* {
	margin: 0;
	padding: 0;
}

body {
	width: 1024px;
	display: block;
	margin: 0 auto;
	background: #fff;
	font-size: 75%;
	font-family: helvetica, verdana, arial, sans-serif;
	line-height: 1.5em;
}

#container {
	width: 1024px;
	margin-bottom: 40px;
}
	
h1 {
	font-size: 8em;
}

h2 {
	font-size: 2em; 
}

h3 {
	font-size: 1.5em; 
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1.1em;
}

h6 {
	font-size: 1em;
}

/* images and misc. */

img {
	border: none;
	padding: 6px;
}

img a {
	border:none;
}

img.left {
	float: left; 
	border: none; 
	padding: 6px; 
}

img.right	{
	float: right;
	border: none;
	padding: 6px;
}

code{
	margin:10px;
	font-family:"Courier New", Courier, monospace;
}

a[href$='.pdf'] {
	display: inline-block;
	padding-left: 20px;
	line-height: 18px;
	background: transparent url("images/pdf.png") center left no-repeat;
}

a[href$='.doc'] {
	display: inline-block;
	padding-left: 20px;
	line-height: 18px;
	background: transparent url("images/word.gif") center left no-repeat;
}

a[href$='.xls'] {
	display: inline-block;
	padding-left: 20px;
	line-height: 18px;
	background: transparent url("images/excel.gif") center left no-repeat;
}

/* header */

#header {
	background: url("images/logo.png") no-repeat;
	width: 1024px;
	height: 194px;
	margin: 0;
	}


#header h1{
	text-indent: -9999px;
	}

#header h2{
	text-indent: -9999px;
	}

#header .searchform {
	float: right;
	margin: 10px 40px;
}

#header .s {
	border: 1px solid #036564;
	padding: 3px;
	color: #036564;
	background-color: transparent;
	width: 175px;
}
#header .searchsubmit {
	border: 1px solid #036564;
	padding: 3px;
	color: #036564;
	background-color: transparent;
}

/* main menu */

#menu_cont {
	width: 800px;
	display: block;
	margin-left: 180px;
}

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	width: 800px;
	height: 30px;
	position: relative;
	z-index: 100;
	text-align: center;
	display: block;
	margin: 0 auto;
}

/* hack to correct IE5.5 faulty box model */

* html .menu {
	width: 1024px;
	w\idth: 1024px;
}

/* remove all the bullets, borders and padding from the default list styling */

.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	text-align: center;
}

.menu ul ul {
	width: 200px;
	text-align: center;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float: left;
	width: 200px;
	position:relative;
	text-align: center;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display: block;
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	width: 200px;
	height: 30px;
	background: url("images/tabbg.png") no-repeat left;
	line-height: 30px;
	font-weight: bold;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width: 199px;
	w\idth: 198px;
	text-align: center;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: url("images/submenu.png") no-repeat left;
	color: #fff;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	background: url("images/submenu.png") no-repeat left;
	color: #fff;
}

.menu ul ul :hover > a.drop {
	background: url("images/submenu.png") no-repeat left;
	color: #fff;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: url("images/subsubmenu.png") no-repeat left;
	color: #fff;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background: url("images/subsubmenuh.png") no-repeat left;
	color: #fff;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 30px;
	left: 0;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 30px;
	t\op: 30px;
}

/* position the third level flyout menu */
.menu ul ul ul {
	left: 200px;
	top: 0;
	width: 200px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -200px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position: absolute;
	top: 0;
	left: 0;
	border-collapse: collapse;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background: url("images/submenu.png") no-repeat left top;
	color: #fff;
	height: 40px;
	line-height: 40px;
	padding: 5px;
	width: 200px;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width: 199px;
	w\idth: 198px;
}

/* style the top level hover */
.menu a:hover {
	color: #000;
	background: url("images/curtab.png") no-repeat;
}

.menu ul ul a:hover {
	color: #fff;
	background: url("images/submenuh.png") no-repeat;
}

.menu ul ul ul a:hover {
	color: #fff;
	background: url("images/subsubmenuh.png") no-repeat;
}

.menu :hover > a, .menu ul ul :hover > a {

}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
	visibility: visible;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility: hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility: visible;
}

.menu a.current_page_link {
	background: url("images/curtab.png") no-repeat;
	color: #000;
}

.menu ul ul a.current_page_link {
	background: url("images/submenuh.png") no-repeat;
	color: #fff;
}	

.menu a.current_parent {
	background: url("images/curtab.png") no-repeat;
	color: #000;
}

.menu ul ul a.current_parent {
	background: url("images/submenuh.png") no-repeat;
	color: #fff;
}

.menu ul ul ul a.current_page_link {
	background: url("images/subsubmenuh.png") no-repeat;
	color: #fff;
}

/* content */


#content {
	float: right;
	width: 720px;
	margin: 0 40px 0 0;
	padding: 0;
	background-color: transparent;
}	

#content p {
	margin: 25px 0;
}

#content h2 {
	margin: 20px 0;
}

#content a:link, #content:visited {
	color: #050;
	text-decoration: underline;
	font-weight: bold;
}

#content a:hover {
	color: #0a0;
	text-decoration: none;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	width: 95%;
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
	font-size: .9em;
	font-weight: bold;
}

/* sidebar */

#sidebar {
	float: left;
	width: 180px;
	height: 100%;
	margin: 0;
	padding: 0 10px;
	background-color: transparent;
	text-align: left;
}

#sidebar h2 {
	padding: 10px 0;
	color: #050;
	font-size: 1.5em;
	font-weight: bold;
	border-bottom: 1px dotted #050;
}

#sidebar ul {
	list-style-type: none;
}

#sidebar ul li {
	padding: 5px 0;
	margin: 0;
}

#sidebar ul ul ul {
	display: none;
}

#sidebar .textwidget {
	color: #050;
	padding: 5px 0;
}

#sidebar p {
	margin: 10px 0;
} 


#sidebar ul li a:link, #sidebar ul li a:visited {
	color: #036564;
	text-decoration: none;

}

#sidebar ul li a:hover {
	color: #031634;
	text-decoration: underline;
}

/* footer */

#footer {
	width: 1024px;
	height: 80px;
	clear: both;
	display: block;
	margin: 20px auto;
	text-align: center;
	background-color: transparent;
	color: #000;
	font-size: .9em;
}

#footer a:link, #footer a:visited {

}

#footer a:hover {

}
	
#footer ul {
	list-style-type: none;
	margin: 20px 0;
}

#footer ul li {
	display: inline;
	padding: 20px;
}

#footer a:link, #footer  a:visited {
	color: #050;
	text-decoration: none;

}

#footer a:hover {
	color: #0a0;
	text-decoration: underline;
}

.imgroll {
	width: 576px;
	height: 432px;
}

#hkpbmap {
	background: url("images/advisors.jpg") no-repeat;
	width: 768px;
	height: 290px;
	padding: 0;
	margin: 0;
}

img.hideimage {
	display: none;
}

table.pic {
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	border-spacing: 0;
	width: 768px;
}

table.pic td {
	border-collapse: collapse;
}

table.pic img {
	margin: 0;
	padding: 0;
}

table.xpic {
	border-collapse: collapse;
	margin: 0 auto;
	padding: 0;
	border-spacing: 0;
	width: 432px;
}

table.xpic td {
	border-collapse: collapse;
}

table.xpic img {
	margin: 0;
	padding: 0;
}
	

div#xprofile_box {
	padding: 5px;
	width: 564px;
	background-color: #fff;
	color: #888;
	border: 1px solid #000;
	margin: 0 auto;
}


a#seamus_link:hover td.profiles {
	display: block;
}


.clearfaq {
	clear: both;
	float: none;
	padding-top: 40px;
}

.post {
	margin: 20px 0;
}

.post h2 {
	line-height: 1.5em;
}

#ansshot, #answork, #anshist, #ansbio {
	margin-top: 40px;
}

.entry h4 {
	line-height: 1.2em;
	margin: 25px 0;
	color: #050;
}

.entry ul {
	list-style-position: inside;
}

.entry a.faqclose {
	display: inline-block;
	padding-left: 20px;
	line-height: 18px;
	background: url("images/up.png") no-repeat center left;
}

#quesshot, #queswork, #queshist, #quesbio {
	padding-left: 20px;
	line-height: 18px;
	background: url("images/down.png") no-repeat center left;
}

.post-edit-link {
	clear: both;
}

#imgcont {
	display: block;
	margin: 0 auto;
	width: 99%;
}

#imghomeleft {
	width: 275px;
	float: left;
	margin: 0 10px;
}

#imghomeleft img {
	border: 1px solid #050;
}

#imghomeleft p {
	font-weight: bolder;
	color: #050;
	text-align: center;
}

#imghomeright {
	width: 275px;
	float: right;
	margin: 0 10px;
}

#imghomeright img {
	border: 1px solid #050;
}

#imghomeright p {
	font-weight: bolder;
	color: #050;
	text-align: center;
}

#investorstable {
	margin: 40px auto;
	border-collapse: collapse;
	padding: 5px;
}

#investorstable th {
	border: 1px solid #000;
	padding: 5px;
	text-align: center;
	font-size: 1.2em;
}

#investorstable td {
	border: 1px solid #000;
	padding: 5px;
	text-align: center;
}
