/* ----------------------------------------------------------------------------------
    Theme Name: Timmy Cai's Design Pad
    Version: 2.1
    Author: Timmy Cai
    Author URI: http://www.mydesignpad.com/
    CSS: Main Page
---------------------------------------------------------------------------------- */


/* COLORS
----------------------------------------------------------------------------------

Pale Beige: #ecdece
DarK Brown: #3e2105
Pink: #ec1863
Light Pink: #ec7ca4
Very Light Pink: #ebcdd7
Blue: #1989ca
Dark Blue: #0269a5
Light Blue:#9ec5e3
75% Gray: #666666
50% Gray: #959595
40% Gray: #acacac
Black: #000000
White: # ffffff
---------------------------------------------------------------------------------- */

/* DEFAULT STUFF
---------------------------------------------------------------------------------- */
.aligncenter { display:block; margin:0 auto; }
.alignleft { float:left }
.alignright { float:right } 
.clear-float { clear:both; display:block;} /* Use this br class to clear your floated columns */
div { position:relative } /* This will save you having to declare each div's position as 'relative' and allows you to absolutely position elements inside them */

html {
	background: url(../images/bg-tile.jpg) repeat left fixed;
}
body {
	background: url(../images/bg-topleft2.jpg) no-repeat fixed;
	min-height: 700px;
	font-family: "Tahoma", Lucida Grande, Arial, Verdana, sans-serif;
	font-size: 100%;
	letter-spacing: .03em;
}
.clip{
	top: 50px;
	padding-top: 150px;
	display: block;
	height: 458px;
	width: 500px;
	background: url(../images/video-bg.png) 28px 90px no-repeat;	
}

/* HEADER
---------------------------------------------------------------------------------- */
#page-wrap {
	background: url(../images/page-top.jpg) no-repeat center top;
	width:900px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -275px; /* the bottom margin is the negative value of the footer's height- for the sticky footer by Ryan Fait  */
	background-color: #ecdece;
}
#push {
	height: 275px;
}
#header {
	width:900px;
	height:290px;
	z-index: 300;
}
p{
	line-height:1.65em;
	font-size:0.875em;
	letter-spacing:.05em;
}
a, a:hover, a:active { 
	outline: none; 
}
/* NAVIGATION
---------------------------------------------------------------------------------- */
#global-logo{
	float: left;
	width: 322px;
	height:83px;
}
#global-logo a {
	float: left;
	margin-left: 50px;
	margin-top: 140px;
	width: 322px;
	height:83px;
	background: url(../images/global-logo-hover.png) no-repeat;
	text-indent: -300em;
	overflow: hidden;
}
#global-logo a:hover{
	background: url(../images/global-logo.png) no-repeat;
}
ul#nav {
	float: right;
	width: 419px;
	height:80px;
	margin-right: 50px;
	margin-top: 168px;
}
#nav li { 
	float: left; 
	display: inline; 
}
ul#nav li a{
	float:left;
	display:block;
	text-indent: -300em;
	overflow: hidden;
}	
li#home a{
	width: 83px;
	height:40px;
	background: url(../images/nav-home.png) top center no-repeat;
}
li#home a:hover{
	background: url(../images/nav-home.png) bottom center no-repeat;
}
li#work a{
	width: 77px;
	height:40px;
	background: url(../images/nav-work.png) top center no-repeat;
}
li#work a:hover{
	background: url(../images/nav-work.png) bottom center no-repeat;
}
li#about a{
	width: 83px;
	height:40px;
	background: url(../images/nav-about.png) top center no-repeat;
}
li#about a:hover{
	background: url(../images/nav-about.png) bottom center no-repeat;
}
li#blog a{
	width: 73px;
	height:40px;
	background: url(../images/nav-blog.png) top center no-repeat;
}
li#blog a:hover{
	background: url(../images/nav-blog.png) bottom center no-repeat;
}
li#contact a{
	width: 103px;
	height:40px;
	background: url(../images/nav-contact.png) top center no-repeat;
}
li#contact a:hover{
	background: url(../images/nav-contact.png) bottom center no-repeat;
}
/* ACTIVE NAVIGATION
---------------------------------------------------------------------------------- */
#home-active{
	position: absolute;
	top:170px;
	left:435px;
	width: 79px;
	height: 33px;
	background: url(../images/nav-home-bg.png) no-repeat;
}
#work-active{
	position: absolute;
	top:170px;
	left:510px;
	width: 75px;
	height: 33px;
	background: url(../images/nav-work-bg.png) no-repeat;
}
#about-active{
	position: absolute;
	top:170px;
	left:585px;
	width: 81px;
	height: 33px;
	background: url(../images/nav-about-bg.png) no-repeat;
}
#blog-active{
	position: absolute;
	top:170px;
	left:668px;
	width: 78px;
	height: 33px;
	background: url(../images/nav-blog-bg.png) no-repeat;
}
#contact-active{
	position: absolute;
	top:170px;
	left:744px;
	width: 97px;
	height: 33px;
	background: url(../images/nav-contact-bg.png) no-repeat;
}
/*  INTRO SLIDESHOW
---------------------------------------------------------------------------------- */

#intro {
	position: relative;
	left: 130px;
	top: 0px;	
	width:643px;
	height:450px;
	background: url(../images/sshow-bg.png) no-repeat;
	z-index: 100;
}
#slideshow{
	left: 62px;
	top: 49px;
	width:515px;
	height:265px;
	float: left;
	overflow: hidden;
}
#slideshow:hover{
	background: url(../images/sshow-hover.png) 25px bottom no-repeat;
	width:515px;
	height:290px;
}
#slideshow img{
	width:513px;
	height:263px;
	border: 1px solid #959595;
}
#control{
	position: absolute;
	display:inline-block;
	top:325px;
	left: 380px;
	width:220px;
	height:30px;
	z-index:300;
	float: right;
}
#control a#prev0{
	margin-top: 1px;
	margin-right: 6px;
	width: 13px;
	height: 19px;
	background:url(../images/prev.png) no-repeat;
	text-indent: -2000em;
	float: left;
}
#control a#prev0:hover{
	background:url(../images/prev-hover.png) no-repeat;
}
#control a#next0{
	margin-top: 1px;
	margin-left: 6px;
	width: 13px;
	height: 19px;
	background:url(../images/next.png) no-repeat;
	text-indent: -2000em;
	float: left;
}
#control a#next0:hover{
	background:url(../images/next-hover.png) no-repeat;
}
#control #intro-nav a {
	font-weight: bold;
	display: inline-block;
	border: 1.5px solid #f9b9d0;
	background: #fde8ef;
	text-decoration: none;
	margin: 0 5px; 
	float: left;
	padding: 0 5px 0 5px;
	color: #ec1863;
}
#control #intro-nav a:hover {
	background-color: #ec7ca4;
	color:white;
}
#control #intro-nav a.activeSlide {
	border: 1.5px solid #f475a1; 
	background: #ec1863;
	color: #fde8ef; 
}
#control #intro-nav a:focus { 
	outline: none; 
}
/* MAIN COLUMN
---------------------------------------------------------------------------------- */
#main-col{
	width:500px;
	min-height: 600px;
	float: left;
	margin-left: 50px;
	z-index: 300;
}
h1#recent-post-title, h1#contact-title, h1#about-title, h1#blog-title, h1#client-title{
	position: relative;
	width:330px;
	height: 58px;
	margin: 25px 0 40px 0;
	text-indent: -3000em;
	overflow: hidden;
}
h1#recent-post-title{
	background: url(../images/recent-posts.png) left no-repeat;	
}
h1#contact-title{
	background: url(../images/heading-contact.png) left no-repeat;	
}
h1#about-title{
	background: url(../images/heading-about.png) left no-repeat;	
}
h1#blog-title{
	background: url(../images/heading-blog.png) left no-repeat;	
}
h1#client-title{
	background: url(../images/heading-client.png) left no-repeat;	
}
h1#blank-title{
	padding-top: 12px;
	font-size: 1.35em;
	color: #ec1863;
	text-transform: uppercase;
	font-weight: bold;
	background: url(../images/heading-blank.png) top left no-repeat;
	position: relative;
	width:330px;
	height: 57px;
	margin: 25px 0 40px 0;
	text-indent: 23px;
}
h1#blank-title span{
	color: #1989ca;
}
#error{
	width:800px;
	height: 260px;
	text-indent: -3000em;
	overflow: hidden;
	margin: 0 0 0 23px;
	background: url(../images/heading-nothing2.png) left top no-repeat;	
}
#oh-no, #oh-yes{
	width:400px;
	height: 180px;
	text-indent: -3000em;
	overflow: hidden;
	margin: 0 0 0 23px;	
}
#oh-no{
	background: url(../images/heading-ohno.png) left top no-repeat;
}	
#oh-yes{
	background: url(../images/heading-ohyes.png) left top no-repeat;
}
#main-col h2{
	font-size: .95em;
	font-family: 'Georgia', Times, Times New Roman, serif;
	font-weight: bold;
	width:460px;
	margin-bottom: 10px;
	height: 40px;
	display: inline-block;
	padding: 10px 0 0 0;
	text-indent: 23px;
	background: url(../images/post-title-bg2.png) no-repeat;	
}
#main-col h2 a{
	color: #1989ca;
	font-size: 1.25em;
	text-decoration: none;
}
#main-col h2 a:hover{
	color: #0269a5;

}
#main-col p{
	letter-spacing:.05em;	
	color: #363636;
	float: left;
	margin: 0 0 8px 23px;
}
#main-col p i{
	color: #ec1863;
}
#main-col p a{
	color: #1989ca;
	text-decoration: none;
}
#main-col p a:hover{
	color: #0269a5;
}
#main-col p img{
	margin: 0 0 10px 0;
}
#main-col p img.big-pic{
	display: inline-block;
	float: left;
	margin: 0 15px 0 0;
	padding: 4px;
	border: 1px solid #d6bba2;
	background-color: white;
}
span.big{	
	color: #1989ca;
	font-size: 1.25em;
	font-weight: bold;
	line-height: 160%;
	font-family: 'Georgia', Times, Times New Roman, serif;
}

/* FOR ABOUT PAGE
----------------------------------------------------------------------------------*/ 
#main-col ul{
	width: 205px;
	float: left;
	margin: 15px 5px 10px 10px;
}
#main-col ul li.skillset{
	background-color: #f5ede4;
	width: 205px;
	font-size:.825em;
	float: left;
	color: #1989ca;
	list-style-position: outside;
	list-style-type: none;
	padding: 2px;
	margin: 5px 0 5px 13px;
}
li.skillset img{
	vertical-align: middle;
	padding: 5px 15px 5px 10px;
}
/* POST AREA
----------------------------------------- */
.post{
	float: left;
	display: block;
	width:460px;
}
.post p a img{
	padding: 4px;
	border: 1px solid #d6bba2;
	background-color: white;
}
#main-col .post ol p a img, #main-col .post ol li a img{
	padding: 4px;
	border: 1px solid #d6bba2;
	background-color: white;
	margin: 15px 0 5px 0px;
}
#main-col .post ol{
	float: left;
	display: block;
	border-top: 2px solid #1989ca;
	border-bottom: 2px solid #1989ca;  
	margin: 15px 0 20px 20px;
}
#main-col .post ol li{
	margin-left: 23px;
	list-style-type: decimal;
	list-style-position: outside;
	padding-bottom: 10px;
	padding-top: 10px;
	color: #363636;
	line-height:1.65em;
	font-size:0.875em;
	letter-spacing:.02em;
	float: left;
}
#main-col .post ol li a{
	text-decoration: none;
	color: #1989ca;
}
#main-col .post ol li a:hover{
	color: #0269a5;
}
#main-col .post a.more-link{
	color: #1989ca;
	text-decoration: none;
}
#main-col .post a.more-link:hover{
	text-decoration: none;
	color: #0269a5;
}
#main-col .post-stamp{
	text-align: right;
	width: 460px;
	float: right;
	color: #959595;
	padding-top: 10px;
	margin-bottom: 50px;
	font-size: .7em;
	background: url(../images/post-divide.png) no-repeat 0 top;
	z-index: 300;
}
#main-col .post-stamp a{
	text-decoration: none;
	color: #ec1863;
}
#main-col .post-stamp a:hover{
	color: #666666;
}
/* The owner info at the bottom of each single post
----------------------------------------- */
#main-col p.post-data{
	letter-spacing:.5px;
	font-size: .7em;
	line-height:1.5em;
	color: #959595;
}
#main-col p.post-data a{
	color: #1989ca;
}
#main-col p.post-data a:hover{
	color:#3e2105;
}
/* COMMENTS AREA
----------------------------------------- */
form{
	width: 420px;
	float: left;
}
#comments-wrap,#commentform-wrap{
	width: 420px;
	float: left;
	padding: 10px 0 30px 20px;	
}
h3.comment-heading{
	width: 400px;
	display: inline-block;
	font-size: 1.15em;
	padding-bottom: 8px;
	color: #1989ca;
}
h3.comment-heading strong{
	color: #1989ca;
}
h3.comment-heading span{
	font-size: .7em;
	color: #666666;
}
ol.people-comments{
	margin: 10px 0 0 0;
	width: 410px;
	float: left;
}
ol.people-comments .alt{
	width: 410px;
	float: left;
	padding: 0 0 15px 0;
	margin: 0 0 2px 0;
	color: black;	
	background: url(../images/comment-bottombg-alt.png) no-repeat 0 bottom #dcc8b2;	
}
ol.people-comments .alt .comment-topbg{
    width:410px;
    height: 10px;
    background: url(../images/comment-topbg-alt.png) no-repeat 0 top;    
}
ol.people-comments li{
	width: 410px;
	float: left;
	padding: 0 0 15px 0;
	margin: 0 0 2px 0;
	color: black;
	background: url(../images/comment-bottombg.png) no-repeat 0 bottom #f5ede3;
}
ol.people-comments li .comment-topbg{
	width:410px;
	height: 10px;
	background: url(../images/comment-topbg.png) no-repeat 0 top;	
}
ol.people-comments li a{
	font-size:.7em;
	text-decoration: none;
	color: #ec1863;
}
ol.people-comments li a:hover{
	color: #000000;
}
ol.people-comments li p{
	width: 370px;
}
ol.people-comments li .author{
	margin: 0px;
	padding: 0px 0 0 23px;
	width: 250px;
	font-size: 1em;
	color: #3e2105;
}
ol.people-comments li .author a{
	font-size: 1em;
	color: #1989ca;
}
ol.people-comments li .author a:hover{
	color: #ec1863;
	text-decoration: underline;
}
ol.people-comments li .author cite{
	font-weight: normal;
	color: #666666;
}
p.comment-date{
	width: 150px;
	float: right;
	padding-right: 20px;
}
p.comment-date a{
	color:#3e2105;
	float: right;
}
p.comment-date a:hover{
	text-decoration: underline;
}
/* Form Elements
-------------------------------------------- */
#contactform{
	width: 420px;
	margin-left: 20px;
}
#commentform{
	margin-left: -3px;
	padding: 0px;
	float:left;
	width: 420px;
}
#commentform p{
	margin: 4px;
}		
label{
	float: left;
	font-size: .9em;
	color: #666666;
}
#commentform input {
	width: 180px;
	padding: 2px;
	margin: 5px 0 1px 0;
}
p textarea#comment{
	width: 400px;
	padding: 4px;
}

/* CONTACT FORM
---------------------------------------------------------------------------------- */
#sendit.submit-button{
	display: block;
	text-indent:-300em;
	overflow: hidden;
	border-style: none; 
	margin-top: 10px;
	width:300px;
	height:22px;
	background: url(../images/button-send.png) no-repeat;
}
#sendit.submit-button:hover{
	background: url(../images/button-send-hover2.png) no-repeat;
}
#commentsubmit.submit-button{
	text-indent:-300em;
	overflow: hidden;
	border-style: none; 
	margin-top: 20px;
	width:300px;
	height:22px;
	background: url(../images/button-submit.png) no-repeat;
}
#commentsubmit.submit-button:hover{
	background: url(../images/button-submit-hover2.png) no-repeat;
}
#login.submit-button{
	display: block;
	text-indent:-300em;
	overflow: hidden;
	border-style: none; 
	margin-top: 10px;
	width:300px;
	height:22px;
	background: url(../images/button-login.png) no-repeat;
}
#login.submit-button:hover{
	background: url(../images/button-login-hover.png) no-repeat;
}
input, #budget input, #timeframe input, input#author, input#email, input#url{
	width:280px;
	margin-top: 0px;
}
input.info, textarea, p input.info {
	float: left;
	border:2px solid #ffffff;
	font-size: .9em;
	font-weight: bold;
	color: #959595;
	padding:4px;
	margin-right: 10px;
	background-color:#f5ede3;
} 
input.info:focus, input.info:hover,textarea:focus, textarea:hover{
	border: 2px solid #1989ca;
}
.fields, fieldset p{
	color: #666666;
	float: left;
} 
/* Post Nav
-------------------------------------------- */
ul.post-nav li.older, ul.post-nav li.newer{
	background-color: none;
	display: block;
	width: 140px;
	height: 25px;
	text-indent: -3000em;
	overflow: hidden;
}
ul.post-nav li.older a{
	background-color: none;
	display: block;
	width: 140px;
	height: 25px;
	background: url(../images/postnav.png) top no-repeat;
}
ul.post-nav li.older a:hover{
	background: url(../images/postnav-hover.png) top no-repeat;
}
ul.post-nav li.newer a{
	background-color: none;
	display: block;
	width: 140px;
	height: 25px;
	background: url(../images/postnav.png) bottom no-repeat;
}
ul.post-nav li.newer a:hover{
	background: url(../images/postnav-hover.png) bottom no-repeat;
}

/* SIDE COLUMN
---------------------------------------------------------------------------------- */
#side-col{
	width:310px;
	min-height: 750px;
	background: url(../images/side-footer.png) bottom left no-repeat;
	float: right;
	z-index: 100;
}
/* Twitter
---------------------------- */
#twitter{
	width:268px;
	height: 236px;
	background: url(../images/tim-tweets-2.png) no-repeat;
}
#twitter h1{
	display: block;
	width: 268px;
	height: 60px;
}
#twitter h1 a{
	display: block;
	width: 268px;
	height: 60px;
	text-indent: -300em;
	overflow: hidden;
}
#twitter h1 a:hover{
	background: url(../images/tweet-link.png) no-repeat top left;
}
#twitter-content{
	word-wrap: break-word;
	text-align: left;
	position: relative;
	padding: 28px 0 0 35px;
	width:195px;
	height: 150px;
	line-height: 160%;
	font-size: .85em;
	color: #3e2105;
}
#twitter-content a{
	color: #3e2105;
	text-decoration: underline;
}
#twitter-content a:hover{
	color: #ec1863;
}
.twitter-timestamp{
	font-size: .8em;
	color: #3e2105;
}
/* ---------------------------- */
/* About Tim
---------------------------- */
#about-tim{
	margin-top: 60px;
	width:268px;
	height: 376px;
	background: url(../images/about-tim-2.png) no-repeat;
	overflow: hidden;
}
#about-tim h1{
	display: block;
	width: 268px;
	height: 80px;
}
#about-tim h1 a{
	display: block;
	width: 268px;
	height: 80px;
	text-indent: -300em;
	overflow: hidden;
}
#about-tim h1 a:hover{
	background: url(../images/about-link.png) no-repeat 20px 10px;
}
#about-tim #testimonials ul li{
	word-wrap: break-word;
	text-align: left;
	position: relative;
	margin: 28px 0 0 35px;
	width:190px;
	height: 250px;
	line-height: 160%;
	font-size: .85em;
	color: #3e2105;
	background-color: none;
	border: none;
}
#about-tim .company li { 
	background: none; 
}
	
.company{
	line-height: 110%;
	font-size: .8em;
	color: #3e2105;
	background-color: none;
	border: none;
}
/* Fave Links
---------------------------- */
#fave-links{
	margin-top: 10px;
	width:268px;
	min-height: 376px;
	background: url(../images/fave-links.png) no-repeat;
	overflow: hidden;
}
#fave-content{
	text-align: left;
	position: relative;
	margin: 90px 0 0 35px;
	width:190px;
	line-height: 180%;
	font-size: .8em;
	color: #3e2105;
}
#fave-content h3{
	font-weight: bold;
}
#fave-content a{
	color: #3e2105;
	text-decoration: underline;
}
#fave-content a:hover{
	color: #ec1863;
	text-decoration: underline;
}
#fave-links ul{
	margin: 0 0 20px 0;
}



/* FOOTER
---------------------------------------------------------------------------------- */
#footer, #push {
	margin: 0 auto;
	width:900px;
	height: 275px; /* .push must be the same height as .footer */
}
#footer{
	width:900px;
	height: 275px;
	background:url(../images/page-bottom3.jpg) no-repeat;
}
#divCopyright{
	position: absolute;
	top: 180px;
	left:50px;
	float: left;
	width:780px;
	letter-spacing: .5px;
	color: white;
	font-size:.75em ;
}
#divCopyright a{
	text-decoration: none;
	color: white;
}
#divCopyright a:hover{
	color: #f475a1;
}
#back-to-top{
	float: right;
	width:241px;
	height: 46px;
	text-indent:-300em;
	overflow: hidden;
	background: url(../images/back-to-top.png) no-repeat;
}
#back-to-top:hover{
	background: url(../images/back-to-top-hover.png) no-repeat;
}
#w3c{
	letter-spacing: .5px;
	color: #d1d2d1;
	font-size:.75em;
	position: absolute;
	top: 210px;
	left:50px;
	float: left;
	}
#w3c p{
	float: left;
}
#w3c img{
margin: 0 5px 0 0;

}
#page-nav{
	width: 800px;
	margin:0 0 0 50px;
}
#next-page a{
	margin:15px 50px 0 0;
	width:130px;
	height:21px;
	background: url(../images/next-page.png) top no-repeat;
	z-index: 100;
	text-indent: -300em;
	float: right;
}
#next-page a:hover{
	background: url(../images/next-page.png) bottom no-repeat;
}
#previous-page a{
	margin:15px 0 0 0;
	width:130px;
	height:21px;
	background: url(../images/previous-page.png) top no-repeat;
	z-index: 100;
	text-indent: -300em;
	float: left;
}
#previous-page a:hover{
	background: url(../images/previous-page.png) bottom no-repeat;
}