/*
Theme Name: Scubacam
Theme URI: http://www.scubacam.com.sg
Description: Scubacam
Version: 1
Author: Colin Tan & William Lim
Author URI: http://colin.rantx.com
*/

/* RESET */
/* ----------------------------------------- */

/* Global reset */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
html, body, div, dl, dt, dd, pre, form, label, fieldset, input, blockquote, th, td, h4 { margin:0; padding:0 }
table { border-collapse:collapse; border-spacing:0 }
fieldset, img { border:0 }
caption, th { text-align:left }
q:before, q:after { content:''}
a img { border:none } /* Gets rid of IE's blue borders */

/* LAYOUT */
/* ----------------------------------------- */

/* These rather presentational classes are generated by WordPress, so it's useful to have some styles for them. Edit as you see fit. More info: http://codex.wordpress.org/CSS */
.aligncenter { display:block; margin:0 auto; }
.alignleft { float:left; padding:10px; }
.alignright { float:right; padding:10px; }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }

/* You might find the following useful */
br.dirtyLittleTrick { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */

html, body {
	height: 100%;
}
body {
	background-image: url(images/bg.jpg);
	background-repeat: repeat-y;
	font-family: "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-position: center;
}
#container {
	background-image: url(images/gradient.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	position: relative;
	min-height: 100%;
}
* html #container
{
	height: 100%;
}
#header {
	margin: 0 auto;
	padding: 0;
	width:960px;
	height:210px;
	clear: both;
}
#content {
	margin: 0 auto;
	padding: 0;
	width:960px;
	clear: both;
}
#page {
	width: 660px;
	margin-top: 0px;
	margin-right: 150px;
	margin-bottom: 0px;
	margin-left: 150px;
}
#page-products {
	width: 650px;
	margin-top: 0px;
	margin-right: 100px;
	margin-bottom: 0px;
	float: left;
	clear:none;
}
#page-sidebar {
	width: 150px;
	margin-left: 5px;
	float: left;
}
#blog {
	width: 600px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	margin-right: 20px;
	float: left;
}
#sidebar {
	width: 250px;
	margin: 0;
	padding-left: 10px;
	float:left;
}
#sidebar ul, li {
	padding-left: 2px;
	margin: 0;
}
#sidebar li {
	list-style:none;
}
#sidebar li h2 {
	font-size:14px;
	font-weight: bold;
}
#sidebar #flickr {
	padding-bottom: 10px;
}
#sidebar #flickr #flickr_badge_uber_wrapper {
	margin: 0 auto;
}
#footer {
	margin-left: auto;
	margin-right: auto;
	bottom: 0;
	padding: 0;
	width:100%;
	height: 150px;
	clear: both;
	font-size: 10px;
	color: #FFFFFF;
	text-align: center;
	background-color:#000000;
	position: relative;
}
#footer a {
	color:#FFF;
}
#footer a:active  {
	color: #FFF;
}
#footer a:visited {
	color: #FFF;
}
.post {
	line-height:22px;
}
a:link {
	color: #2779AA;
}
a:visited {
	color: #2779AA;
}
a:hover {
	text-decoration: none;
}
h2 {
	font-size: 18px;
	font-weight: bold;
	clear: both;
}
#blog h3 a {
	font-size: 16px;
	text-decoration: none;
	font-weight: bold;
}
h3 {
	border-bottom: 1px dotted #CCCCCC;
	display: block;
	clear:both;
}
h4 {
	clear: both;
	padding-top: 2px;
}
#products-content h1 {
	font-size: 16px;
	border-bottom: 1px solid #AED0EA;
	background-color: #DEEDF7;
	clear:both;
	padding: 5px;
}
.old {
	text-align: left;
}
.new {
	text-align: right;
}
.postmeta { 
	font-size: 11px;
	color: #666666;
	padding-top:-5px;
}
.breadcrumb { 
	font-size: 11px;
	color: #666666;
	padding: 5px;
	border-bottom: 1px dotted #999999;
}
.js #tabs {display: none;}
#links, #links ul {
	padding-left: 0;
	margin-left: 0;
}
#links li {
	list-style:none;
}
#links li ul li {
	list-style:none;
	padding-bottom: 10px;
	text-align: center;
}
/* WP STUFF */
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 12px Verdana, Arial, Sans-Serif;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 155px;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }

/* 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: 5px 0;
	}

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

.commentmetadata{
	margin: 0;
	display: block;
}
.commentmetadata a{
	color:#666666;
	font-size:10px;
	}
/* End Comments */

/*  PRODUCTS JH-Portfolio
/* ----------------------------------------- */
#products-image {
	clear:both;
	vertical-align: middle;
}
#products-image img { 
	padding: 5px; 
	margin: 10px; 
	border: 1px solid #a1a1a1; 
}
#products-content {

}
#products-more {
	border: 1px solid #999;
	background-color: #EFEFEF;
	padding: 5px;
	clear:both;
}
#products-additional-images {
	float: left;
	clear: both;
	width: 100%;
	border: 1px dotted #AED0EA;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 5px;
	text-align: center;
	background-color: #F2F5F7;
}
.thumblist-container {
	width: 120px;
	height: 120px;
	float: left;
	display: block;
	margin: 5px;
	text-align: center;
	line-height: 1.3em;
}
.thumblist {
	width: 100px;
	height: 80px;
	background-color:#FFF;
	border: 1px solid #a1a1a1;
	margin: 5px; 
	display: block; 
	float: left;
	-webkit-box-shadow: 2px 2px 2px #999;
	-moz-box-shadow: 2px 2px 2px #999;
}
.thumblist img {  max-height: 80px; max-width: 100px; }
.thumblist:hover { border: 1px solid #2779AA; }

#related-work li {
	list-style: none;
}
#related-work li a {
	color: #00F;
}
#related-work li img {
	border: none;
}

/*  TABS 
/* ----------------------------------------- 
Default CSS generated by dTabs */

#tarbar a {
	text-decoration: none;
	color:#0000FF;
}

/* style the tabs in IE (the trailing comma prevents other browsers from reading this) */
.tabbar li, .tabbar ul li, {
	
	/* make them horizontal in IE*/
	display: inline;
	
	/* space them a little in IE*/
	margin: 0 5px;
}

/* style the tabs */
.tab, .tabselected {
	
	/* make them horizontal in Firefox 2*/
	display: -moz-inline-box;
	
	/* make them horizontal in all other browsers*/
	display: inline-block;
	
	/* space them a little */
	padding: 5px;
	
	/* set a grey background for non-selected tabs (which we will overide for selected tabs later) */
	background-color: rgb(240,240,240);
	
	/* set a border, make it rounded at the top */
	border: 1px solid rgb(150,150,150);
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-khtml-border-radius-top-left: 5px;
	-khtml-border-radius-top-right: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
}

/* make changes to the selected tab */
.tabselected {
	
	/* set a white background */
	background-color: white;
	
	/* make the border along the bottom blend into the white background */
	border-bottom-color: white;
}

/* style the drop down menus */
.dmenu {
	/* left align the text */
	text-align: left;
	
	/* REQUIRED */
	position: absolute;
	
	/* js fade method should display them 23px below the top of the tabs */
	margin: 23px 0 0 0;
	
	/* put some space around the contents */
	padding: 5px 15px;
	
	/* set a grey background */
	background-color: rgb(240,240,240);
	
	/* set a border, round all the corners except the top left */
	border: 1px solid rgb(150,150,150);
	-moz-border-radius: 5px;
	-moz-border-radius-topleft: 0;
	-khtml-border-radius: 5px;
	-khtml-border-radius-top-left: 0;
	-webkit-border-radius: 5px;
	-webkit-border-top-left-radius: 0;
}
.tabbar .dmenu ul {
	
	/* put space at the top and bottom of top-level menus */
	padding: 5px 0 0 10px;
	
	/* stop ie going crazy */
	margin: 0;
	
}
.tabbar .dmenu ul li {
	
	/* stop ie from displaying list items inline */
	display: list-item;
	
}

/* REQUIRED: hide menus off screen by default */
.dmenu {
	left: -999em;
}

/* STYLING JUST FOR CSS MENUS */
.tabbar .fademenu .dmenu {
	
	/* position menus correctly */
	margin: 5px 0 0 -6px;
}
/* REQUIRED: show menus on hovering */
.tabbar .fademenu:hover .dmenu {
	left: auto;
}