/*
Theme Name: Cokoon 2009
Theme URI: http://cokoon.com.au/
Description: Site designed by Yiyi Wang. Developed by Hody Hong. Project Managed by Peter Leung.
Version: 1.2
Author: Hody Hong
Author URI: http://hodyhong.net/
*/


/* font and color */
body {
	padding: 0;
	margin: 0;
	background: #343434;
}

body, textarea, input {
	font-family: helvetica, sans-serif, sans;
	font-size: 12px;
	color:#000;
	line-height: 16px;
}
a, h1 {
	color:#9e0000;
}
h1 {
	font-size:35px;
	position:absolute;
	font-weight:normal;
	letter-spacing: -2px;
}
h3 {
	font-size:12px;
	font-weight:normal;
	line-height:16px;
	padding-top:6px;
}
/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
.entry img {
	margin: 
	10px 0px;
}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

/* general stuff */

.clearBoth {
	clear: both;
} 


/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

select {
	width: 130px;
	}

#commentform {
	margin: 5px 0px 0 0;
	width: 600px;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 15px 0 16px;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: none;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
clear: both;
border: none;
	}

a img {
	border: none;
	}

/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	text-align: left;
}

.wp-caption img {
	margin: 10px 0 0px;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 10px;
	line-height: 17px;
	margin: 0 0 10px;
	font-style: italic;
}
/* End captions */


/* menu */
.header .menu {
	background:transparent url(images/menuBack.png) no-repeat scroll left top;
	height:350px;
	margin:auto;
	position:fixed;
	right:5%;
	top:30px;
	width:165px;
	z-index:25;
	padding: 30px 0 0;
}
.header .menu ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
	text-align:center;
}
.header .menu li {
	font-size:12px;
	line-height:30px;
	padding:0 10px;
	clear: both;
	text-align: center;
}
.header .menu a{
	color:#5F9B77;
	display:block;
	font-size:16px;
	height:28px;
	margin:auto;
	padding:2px;
	text-decoration:none;
	width:100px;
	outline: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.header .menu a:hover,
.header .menu a.selected {
	color: white;
	background: #5F9B77;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* home */

.header {
	position: relative;
}
#headerimg {
	height:165px;
	left:156px;
	position:absolute;
	top:25px;
	width:165px;
	z-index:5;
}
#headerimg h1{
	margin: 0;
}
#headerimg h1 span {
	display: none;
}
#headerimg h1 a {
	display: block;
	width:165px;
	height:165px;
	cursor: pointer;
}
div.homePage {
	padding: 0;
	margin: 0;
	font-size:12px;
	min-width:900px;
}
div.subPage{
	background: url(images/defultBackTop.jpg) no-repeat left top #F1EACA;
	position: relative;
	height: auto;
	z-index: 1;
}
.subPage .bottomBack{
	background: url(images/defultBackBottom.jpg) no-repeat bottom right;
	position: absolute;
	margin: 0 0 80px;
	padding: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	bottom: 0;

}
.wrapper {
	width: 900px;
	margin: 0 auto;
}
.homePage .wrapper {
	width: 100%;
}

#about, #team, #projects, #experiment, #contact, #works {
	height: 650px;
	position:relative;
	z-index: 10;
}

.content {
	height: 650px;
	position: relative;
	width: 900px;
	margin: 0 auto;
}


.vimeo object, .vimeo object embed, .vimeo, .vimeo p
 {
	width:100%;
	height:100%;
	margin:0 auto;
	padding:0;
	overflow:hidden;
}

#about {
	padding-bottom:355px;
	background: url(images/background/about.png) no-repeat center top;
}
#team {
	padding-bottom:345px;
	background: url(images/background/team.png) no-repeat center top;
}
#works{
	padding-bottom:355px;
	background: url(images/background/works.png) no-repeat center top;
}
#contact {
	padding-bottom:335px;
	background: url(images/background/contact.png) no-repeat center top;
}
#footer {
	height:52px;
	padding: 14px;
	text-align: center;
	background: #343434;

}
#footer span {
	float: right;
	display: block;
	padding:18px 0 20px 50px;
}
#footer img {
	float: left;
	margin-left:5px;
}
#footer p {
	height:52px;
	margin: auto;
	font-size: 10px;
	width: 540px;
	color: #fff;
}
#footer a {
	color: #fff;
}
#footer span.wordpress{
	background:transparent url(images/wordpress.gif) no-repeat scroll left center;
	display:block;
	float:left;
	height:15px;
	margin-top:6px;
	padding:10px 25px 5px 37px;
	text-align:left;
	width:128px;
}
ul {
	list-style:none;
	margin:0;
	padding:0;
}
/* about page */

.wrapper #about .flashVideo {
	height:320px;
	left:311px;
	position:relative;
	top:51px;
	width:498px;
	z-index: 5;
}

#about .videoScreenTop {
	background:transparent url(images/screen_01.png) no-repeat scroll 0 0;
	height:53px;
	position:absolute;
	width:495px;
	z-index:4;
}
#about .videoScreenLeft {
	background:transparent url(images/screen_02.png) no-repeat scroll 0 0;
	height:265px;
	position:absolute;
	top:53px;
	width:73px;
	z-index:4;
}
#about .videoScreenRight {
	background:transparent url(images/screen_04.png) no-repeat scroll 0 0;
	height:265px;
	position:absolute;
	right:3px;
	top:53px;
	width:46px;
	z-index:4;
}
#about .videoScreenBottom {
	background:transparent url(images/screen_05.png) no-repeat scroll 0 0;
	bottom:2px;
	height:48px;
	position:absolute;
	right:49px;
	width:376px;
	z-index:4;
}
#about #flashVideo a {
	left:65px;
	position:absolute;
	top:47px;
}
#about .aboutus {
	width:240px;
	position:absolute;
	top:396px;
	left:30px;
}
#about h1 {
	left:30px;
	top:333px;
}

#about .area {
	width: 205px;
	height: 270px;
	text-align: center;
	background: url(images/aboutBack.png) no-repeat center top;
	margin: 50px 0 0;
}
#about .area strong {
	display:block;
	margin:0 auto;
	padding:30px 0 0;
	width:90px;
}
/* team page */
#team .person {
	width:170px;
	height:170px;
	position:absolute;
	text-align:center;
}
#team .container {
	height:150px;
	margin-top:20px;
	width:185px;
	margin-left: 0px;
	padding: 0;
	position: relative;
}
#team .person .content {
	width:130px;
	height:87px;
	font-size:10px;
	line-height:14px;
	margin:auto;
	background:white;
	position: relative;
}
#team span.twitter-timestamp {
	position: absolute;
	width: 130px;
	height: 20px;
	bottom: -25px;
	display: block;
	left: 0;;
}
span.wow {
	font-size: 30px;
}
#team h1 {
	left:35px;
	top:40px;
}
#team .hody {
	left:45px;
	top:154px;
	width: 180px;
	height: 200px;
	background: url(images/speech3.png) no-repeat 5px top;
}
#team .yiyi{
	height:293px;
	left:103px;
	top:336px;
	width:255px;
	background: url(images/speech2.png) no-repeat left top;

}
#team .peter{
	left:170px;
	top:47px;
	width: 212px;
	height: 193px;
	background: url(images/speech1.png) no-repeat left top;
}

/* projectsAndExperiment page */
#projectsAndExperiment{
	width:700px;
	overflow:hidden;
	margin:0 115px 0 35px;
	padding-top:110px;
	position: relative;
}
#projectsAndExperiment li {
	float:left;
	width:700px;
}
#projectsAndExperiment li.project h2{
	display:block;
}
#projectsAndExperiment ul {
	margin-top:60px;
	overflow: hidden;	
}
#projectsAndExperiment ul, #projectsAndExperiment ul li{
	height:500px;
} 


#works .projectsControl{
	height:40px;
	position:absolute;
	top:70px;
	left:35px;	
	color:white;
}
#works .projectsControl a{
	color:white;
}
div.project h2 {
	color:white;
	display:block;
	font-size:13px;
	font-weight:normal;
	height:40px;
	line-height:20px;
	margin-bottom:10px;
	margin-top:10px;
	overflow:hidden;
	text-decoration:none;
	text-transform:capitalize;
}
.projectsControl #prevBtn, .projectsControl #nextBtn, .projectsControl #sp, .projectsControl #moreBtn {
	float:left;
	font-size:35px;
}
.projectsControl #prevBtn a, .projectsControl #nextBtn a, .projectsControl #moreBtn a {
	display: block;
	height: 35px;
}
div.project {
	width:200px;
	float:left;
	margin-right:33px;
}
div.project a {
	text-decoration: none;
}
div.project h2.projectTitle:hover {
	color: #f8f6e1;
}
/* contact form */
#contact h1 {
	color:#FCF4B5;
	left:328px;
	top:48px;
}
#contact .mmf{
	margin:auto;
	padding-left:60px;
	padding-top:107px;
	width:390px;
}

/* onfocus */
#contact .mmf input:focus, 
#contact .mmf textarea:focus, 
#commentform textarea:focus, 
#commentform input:focus,
.ss-form-entry textarea:focus, 
input.ss-q-short:focus,
input.ss-q-other:focus, 
.submit input:focus{
background: wheat;	
}
#contact .mmf input, 
#contact .mmf textarea, 
#commentform textarea, 
#commentform input,
.ss-form-entry textarea, 
input.ss-q-short,
input.ss-q-other, 
.submit input{
	border:none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}	
#contact .mmf p {
	margin-bottom:16px;
}
#contact .mmf .your-name input, 
#contact .mmf .your-email input, 
#commentform input, 
input.ss-q-short,
input.ss-q-other  {
	padding:6px;
	width:218px;
}
#contact .mmf .your-message textarea, 
#commentform textarea, 
.ss-form-entry textarea{
	height:210px;
	margin:1px 0px;
	padding:6px;
	width:369px;
}
#contact .mmf .submit input, 
input#submit, 
.submit input{
	font-size:17px;
	font-weight:bold;
	line-height:25px;
	margin-top:6px;
	padding:8px 17px;
	cursor: pointer;
	background:#b1d7c2;
	color:black;
}

/* sub Page */
.subPageHeader {
	height: 45px;
	width: 100%;
	background: #343434;
}
.subPageHeader h1 {
	color: white;
	font-size: 20px;
	margin:15px 0 0 20px;
	padding: 0;
}
.subPageHeader a{
	color: white;
	text-align: right;
	text-decoration: none;
	width: 100px;
	float: right;
	margin: 17px 20px 0 0;
}
.subPage .wrapper .single{
	width: 600px;
	padding: 25px;
	margin: auto;
}
.subPage .wrapper .moreProjects{
	margin:auto;
	padding:25px 10px 25px 25px;
	width:700px;
}
.moreProjects h1 {
	color:#9E0000;
	font-size:24px;
	font-weight:normal;
	line-height:36px;
	position:relative;
}
.moreProjects h2.projectTitle {
	color: #333333;
}
.moreProjects .project h2.projectTitle:hover {
	color: #000;
}
.subPage .projectMeta {
	left:185px;
	position:absolute;
	text-transform:capitalize;
	top:17px;
	color: white;
}
.subPage .projectMeta span {
	margin-right: 20px;
}
.subPage #content {
	min-height: 500px;
}
.subPage img {
	max-width: 600px;
	height: auto;
}
/* comment stuff */
#commentform textarea, 
.ss-form-entry textarea {
	margin:0;
	width:590px;
}
#respond h1 {
	position: relative;
}
.post-edit-link {
	position: absolute;	
}

.entry .gallery.nogap {
	margin: 10px 0px;
}

.entry .gallery.nogap img {
	margin: 0;
	padding: 0;
}
.rightMessage h2#smallTitle {
	color: #9E0000;
}
.rightMessage{
	color: #52463F;
	font-size: 14px;
	line-height:1.3em;
	padding-top:10px;
	min-height: 450px;
}
.rightMessage .bookmark img{
	margin: 0;
}

/* new CSS */
/* .subPage .wrapper {
	width: auto;
	margin: 0 0;
	height: 500px;
}
.subPage .wrapper .single{
	width: auto;
	padding: 25px;
	margin: 0;
}
*/
.ngg-galleryoverview.projectSlide {
	width: 620px;
	overflow: hidden;
	position: relative;
}
.projectSlide ul {
	overflow: hidden;
	width: 620px;
}
.projectSlide ul li {
	width: 620px;
	text-align: center;
}
.projectSlide .projectsControl {
	position: absolute;
	z-index: 20;
}
.projectSlide .projectsControl #prevBtn, 
.projectSlide .projectsControl #nextBtn   {
	font-size: 12px;
}
.projectSlide .projectsControl #prevBtn a, 
.projectSlide .projectsControl #nextBtn a  {
	height: 20px;
	background: #fff;
	padding: 5px 10px;
	margin-right: 5px;
}

iframe {
	overflow: hidden;
}


/* google form */

form#ss-form {
	clear: both;
	line-height: 1.8em;
}

form h2 {
	background: #333333;
	font-family: Helvetica Neue, Helvetica, Sans-serif, Sans;
	height: 18px;
	color: white;
	font-size: 16px;
	padding: 10px 15px;
	font-weight: normal;
}
label.ss-q-title {
	font-weight: bold;
}
.ss-form-entry {
	margin: 0 0 25px;
	clear:both;
}
span.ss-required-asterisk {
	color: #9E0000;
}
.ss-form-desc {
	font-size: 14px;
	color: #524640;
}
.ss-form-desc p {
	margin-left:220px;
	width:370px;
	padding-top: 10px;
}
.ss-form-desc img {
	margin: 0 45px 10px 0;
}
/*.ss-item {
	padding: 0 15px;
}
.ss-item.ss-section-header {
	padding: 0;
}*/
/* table css for form */
tr.ss-grid-row-odd {
	background: #ECE9D6;
}
tr.ss-grid-row-even {
}
.ss-scalerow,
.ss-scalenumbers,
.ss-gridrow {
	border-bottom: solid 1px #CED0BA;
}
.ss-form-entry table {
	width: 100%;
}

label.error {
	background:#FF9999 none repeat scroll 0 0;
	border:1px solid #990000;
	clear:both;
	color:#990000;
	float:left;
	height:18px;
	margin:10px 0;
	padding:5px 10px;
	width:578px;
	display: none;
}