/*
Theme Name: Toolbox
Description: An ultra-minimal HTML5 starter theme.
Author: The Automattic Theme Team
Author URI: http://themeshaper.com/
Version: 0.3
Tags: translation-ready, microformats, rtl-language-support

Modified by: Billy Fan

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/



/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	clear: both;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }




/* =General HTML re-defined
-------------------------------------------------------------- */

body{
	font-family: 'Lucida Grande',Verdana,'Bitstream Vera Sans',Arial,sans-serif;
	font-size: 12px;
	line-height: 24px;
	color: #333;
	background: #e2f6fb url(images/body_bg.jpg) no-repeat center top fixed;
}

a:link,
a:visited{
	color:#39c;
}

a:active,
a:hover{
	color:#41bdd8;
}

p{
	margin: 12px 0;
}

h1,h2,h3,h4{
	margin: 18px 0;
	color: #036;
}

h3,h4{
	margin: 14px 0;
}

h1{
	font-size:24px;
}

h2{
	font-size: 18px;
}

h3{
	font-size: 14px;
}


/* =Structure
-------------------------------------------------------------- */

#page {
	display: block;
	margin: 5px auto;
	width: 960px;
}
#primary {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 280px 0 0;
}

#main-outter{
	padding: 20px;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	/*background: #f2f6fb;*/
	background: #fff;
	/*background: transparent url(images/bg_main_top.png) no-repeat;*/
	/*margin: 0 0 0;*/
}

#main{
	/*padding: 10px 20px;*/
	min-height: 400px;
	background: transparent url(images/bg_main_middle.gif) repeat-y -20px;
}

#main-bottom{
	height: 10px;
	/*background: transparent url(images/bg_main_bottom.png) no-repeat;*/
	margin: 0 0 10px;
}

#main .widget-area {
	float: right;
	overflow: hidden;
	width: 240px;
}


#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */

.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */

.screen-reader-text {
	position: absolute;
	left: -9000em;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	float:left;
	margin: 0;
}

#site-description {
	display: none;
}


/* =Search Form
-------------------------------------------------------------- */
#searchform{
	float: right;
}

#searchform label {
	display: none;
}
#searchform input#s {
	width: 252px;
	height: 16px;
	padding: 8px 40px 8px 8px;
	border: 0px;
	background: transparent url(images/site_controls.gif) no-repeat 0px -120px;
	margin: 9px 0;
	color: #369;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#searchform input#searchsubmit {
	position:absolute;
	margin: 9px 0px 9px -32px;
	width: 32px;
	height: 32px;
	border: 0px;
	background: transparent;
	padding: 0px;
	cursor: point;
	text-indent: -9999px;
}



/* =Menu
-------------------------------------------------------------- */

#access {
	background: transparent url(images/site_controls.gif) no-repeat center 0px;
	display: block;
	margin: 0 auto 10px;
	height: 40px;
}

#access div.menu{
	margin-left: 40px;
}

#access div.menu > ul > li{
	width: 100px;
	text-align: center;
}


#access ul {
	list-style: none;
	margin: 0 auto;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 40px;
	padding: 0 12px;
	text-decoration: none;
	color: #036;
}

#access ul.children a{
	/*text-align: left;*/
}

#access ul ul {
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	float: left;
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #008ab4;
	color: #fff;
	line-height: 24px;
	padding: 5px 10px;
	height: auto;
	width: 150px;
	/*padding: .5em .5em .5em 1em;
	width: 10em;*/
}

#access li.current_page_item > a,
#access li.current_page_ancestor > a{
	background: transparent url(images/site_controls.gif) repeat-x 0px -80px;
	color: #fff;
}

#access li:hover > a{
	background: transparent url(images/site_controls.gif) repeat-x 0px -40px;
	color: #fff;
}


#access ul.children li.current_page_ancestor > a,
#access ul.children li.current_page_item > a{
	background: #008ab4;
}

#access ul ul.children a:hover {
	background: #006b90;
}
#access ul li:hover > ul {
	display: block;
}






/* =BreadCrumb
-------------------------------------------------------------- */
#breadcrumb_container{
	margin-top: -5px;
}








/* =Content
-------------------------------------------------------------- */

#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0 0;
}
.page-link {
	margin: 0 0 1em 0;
}

/* 404 page */

.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */

.post .notice,
.error404 #searchform {
	background: #EEE;
	display: block;
	padding: 1em;
}

/* Image Attachments */

.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #EEE;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}




/* =Forms
-------------------------------------------------------------- */


input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */

.required {
	color: #CC0033;
}


/* =Comments
-------------------------------------------------------------- */

#respond input[type=text] {
	float: left;
	margin: 0 1em 0 0;
	width: 60%;
}
#respond .comment-form-comment label {
	display: none;
}
#respond textarea {
	margin: 0 1em 1em 0;
	float: left;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget-area {
	
}
.widget-area ul {
	list-style: none;
}

.widget-container{
	padding: 5px;
	border: 1px solid #a1d8e6;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #f8fefe;
	margin: 0 0 20px;
}

.widget-container h2{
	background: transparent url(images/site_controls.gif) no-repeat center 0px;
	margin: -5px -5px 5px;
	padding: 5px 10px;
}

.widget-container a{
	text-decoration: none;
	color: #369;
	display: block;
}

.widget-container h2,
.widget-container h2 a{
	color: white;
}

.widget-container li a:active,
.widget-container li a:hover{
	background: #a1d8e6;
}

.widget-container li.current_page_item > a{
	font-weight: bold;
}

.widget-container ul{
	text-indent: 12px;
}

.widget-container ul ul{
	text-indent: 24px;
}

.widget-container ul ul ul{
	text-indent: 36px;
}

.widget-container ul ul ul ul{
	text-indent: 48px;
}



.widget-area ul ul {
/*	list-style: disc;*/
	/*padding: 0 0 0 12px;*/
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}


/* =Footer
-------------------------------------------------------------- */


#colophon {
	background: transparent url(images/footer_line.png) no-repeat center 10px;
	padding: 20px 0 0 0;
}

a#logo-bottom{
	float: left;
	display: block;
	line-height: 24px;
	height: 24px;
}

a#logo-bottom img{
	vertical-align: bottom;
}

#site-copyright{
	float:right;
	line-height: 24px;
	margin-bottom: 30px;
}

#site-copyright a{
	/*padding-top:5px;*/
	/*vertical-align: text-top;*/
}

/* =WordPress basics
-------------------------------------------------------------- */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}










/* =Custom Classes in People Section
-------------------------------------------------------------- */

div.people-info-container{
	margin: 20px 20px 20px 30px;
	padding: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #A1D8E6;
}


div.people-info-container h2{
	border-bottom:1px solid #A1D8E6;
	margin: -10px -10px 10px;
	padding: 5px 10px;
}

div.people-info-container a{
	text-decoration: none;
	display: block;
}

div.people-portrait-container{
	float:left;
	width: 240px;
	text-align:center;
	line-height:100%;
}

div.people-basic-info{
	float:left;
	line-height:22px;
}

div.people-portrait-container a,
div.people-basic-info a{
	display: inline;
}








/* =Global Classes
-------------------------------------------------------------- */
.clear-block{
	clear: both;
	height: 1px;
}
