/* 
-------------------------------*/

body {
	background:url(../images/bg.gif) center top repeat-y;
	font-size:72%;
}

ul, ol, p {
}

blockquote {
	padding:20px 50px;
}

h1, h2, h3 {
  font-family: "Trebuchet MS", Trebuchet, Helvetica, Arial sans-serif;
}

h1 {
  font-size:1.6em;
}

h3 {
	margin-bottom:0;
	font-size: 1.2em;
}

blockquote {
	font-style:normal;
}

a {
	color: #c30;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	color: #000;
}

img{
	background:#fff;
	padding:5px;
}

a:hover img {
	background:#eee;
}


#wrap {
	width: 960px;
	margin: 0 auto;
	overflow:hidden;
}

#header {
	width:960px;
	background:#e9ecd7 url('../images/hd.jpg') center top no-repeat;
	height:107px; margin-bottom:20px;
}

  #header h1,
  #header h1 a{
  	width:350px;
  	height:85px;
  }

  #header h1 {
    float:left;
  }

  #header h1 a{
  	display:block; overflow:hidden; text-indent:-5000px;
  }

  #header h1 a:hover {
    background:none;
  }

#menu1 {
  font-family: "Lucida Grande", "Verdana", "Helvetica", "Arial", sans-serif; 
  float:right; width:400px;
  padding:20px 38px 0 0;
}
  #menu1 ul {
    float:right;
    list-style:none; margin:0;
    text-transform:lowercase;
  }
  #menu1 li {
    float:left; margin-right:12px;
  }
  #menu1 li.last { margin-right:0; }

  #menu1 a {
    height:33px; 
    display:block; overflow:hidden; text-indent:-5000px;
  }
  #menu1 .home a {
    width:73px;
    background:url(../images/menu/home.png) left top no-repeat;
  }
  #menu1 .portfolio a {
    width:105px;
    background:url(../images/menu/portfolio.png) left top no-repeat;
  }
  #menu1 .blog a {
    width:73px;
    background:url(../images/menu/blog.png) left top no-repeat;
  }
  #menu1 .contact a {
    width:91px;
    background:url(../images/menu/contact.png) left top no-repeat;
  }
  #menu1 a:hover, #menu1 .selected a {
    background-position: 0px -33px;
  }


/**
 * CONTENT
 *
**/

#content {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
}

/* FOOTER 
---------------------*/

#footer {
	font-family: Helvetica, Arial, sans-serif;
	clear: both;
	width: 960px;
	overflow:auto;
}

#footer ul {
	margin-left:14px;
	float:left;
	list-style:none;
	line-height: 35px;
}

#footer ul li {
	float:left;
	font-size:12px;
	color:#666;
	margin-right:20px;
	font-weight: bold;
}
#footer ul li a,
#footer p a{
	color: #666;
	text-decoration: underline;
}

#footer ul li a:hover,
#footer p a:hover{
	color:#000;
	background:none;
	color: #333;
}

#footer p.feeds {
	float:right;		
	margin-right:20px;
	font-size:12px;
	color:#666;
	font-weight: bold;
	line-height: 35px;
}



/* 
-------------------------------*/
#nav {
	overflow:hidden;
	margin:0;
	position:absolute;
}


/* 
-------------------------------*/

#side-nav ul {
	margin-bottom:0;
}
#side-nav li {
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	float: left;
	list-style: none;
}

#side-nav li a{
	color: #000;
	font-weight: bold;
	display: block;
	padding:11px;
	text-decoration: none;
}

#side-nav li a:hover{
	background: #333;
	color: #fff;
	text-decoration: none;
}



/* 
-------------------------------*/

#side-nav {
	float:right;
}

#side-nav li a{
	font-weight:normal;
}


/* 
-------------------------------*/

#nav ul li a.active {
	background: #333;
	color: #fff;
	text-decoration: none;
}



/* 
-------------------------------*/
#nav {
	overflow:hidden;
	margin:0;
	position:absolute;
}


/* 
-------------------------------*/

#side-nav ul {
	margin-bottom:0;
}
#side-nav li {
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	float: left;
	list-style: none;
}

#side-nav li a{
	color: #000;
	font-weight: bold;
	display: block;
	padding:11px;
	text-decoration: none;
}

#side-nav li a:hover{
	background: #333;
	color: #fff;
	text-decoration: none;
}



/* 
-------------------------------*/

#side-nav {
	float:right;
}

#side-nav li a{
	font-weight:normal;
}


/* 
-------------------------------*/

#nav ul li a.active {
	background: #333;
	color: #fff;
	text-decoration: none;
}



/* FORM
-------------------------------*/
#content form {
	margin-bottom:20px;
}
#content form fieldset {
    padding:20px;
    border:1px solid #ccc;
    margin-bottom:20px;
}
#content form fieldset legend {
    border:1px solid #ccc;
    padding:10px;
	font-size:12px;
	font-weight:bold;
}
#content form fieldset .field {
    clear:both;
    overflow:hidden;
    margin-bottom:10px;
}
#content form fieldset .comments_error,
#content form fieldset .main-error {
    clear:both;
    overflow:hidden;
    margin-bottom:10px;
	font-weight:bold;
	color:#f00;
}
#content form fieldset .main-error p{
	font-weight:bold;
}
#content form fieldset .field.last {
    margin-bottom:0px;
}
#content form fieldset .field.last .info p.last {
    margin-bottom:0px;
}
#content form label {
    font-weight:bold;
    margin-top:4px;
    float:left;
    margin-right:20px;
}

#content form .field .info .error{
	color:red;
}
#content form fieldset input, textarea, select, option {
    font-size:12px;
    margin-right:8px;
}    
#content form fieldset .field.checkbox label {
    float:none;
}
#content form fieldset .field.checkbox input {
    float:left;
	display:inline;
}
#content form fieldset .field .inline {
    width:auto;
    margin-right:4px;
}

/* CAPTCHA
-------------------------------*/
#content form .field.captcha img {
	padding:1px;
	border:1px solid #ccc;
}



/* Buttons
-------------------------------*/

#content form .submit input {
	padding:2px 12px;
	border-width:1px;
  border-color: #666;
  font-size: 12px;
	font-weight:bold;
  font-family: Arial,Helvetica,sans-serif;
  color: #fff;
  text-align: center;
}

#content form .submit input {
	background: #0078d4;
}



/* Messages, errors and infos
-------------------------------*/

form .error {
	color:red;
	font-weight:bold;
}


/* 
-------------------------------*/



#content form label {
    width:100px;
}

#content form .field.captcha,
#content form fieldset h4,
#content form fieldset .field.checkbox,
#content form .field .info {
    margin-left:120px;
}


/* ARTICLE 
-------------------------------*/


.article {
	margin-bottom:60px;
	overflow: hidden;
	padding-top:0;
}


.article blockquote {
	border: 1px solid #ccc;
	padding: 14px;
	padding-bottom:0;
	overflow: hidden;
	margin-right:10px;
	margin-bottom:14px;
	font-size:1em;
}
.article h3{
	font-weight: bold;
	line-height: 1.2em;
}
.article h3 a {
	text-decoration: none;
}

.article h3 a:hover{
	text-decoration: none;
	color: #fff;
}

.article h4 {
	font-size: 12px;
	font-weight: bold;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
	margin-bottom:0;
}


.article .meta {
	font-size: 11px;
	margin-bottom: 0px;
	font-weight: bold;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}


.article #comment {
	width:404px;
}

.article #comment {
	font-size:11px;
}

.article #comment ul li {
	margin-top:20px;
}
#txpCommentInputForm input#preview {
  text-transform: capitalize;
}


/* ARTICLE LIST
-------------------------------*/
.article-list .article h3{
	margin-bottom:0;
}



/* COMMENTS
------------------------*/

#main ol.comments {
	width:400px;
	list-style:none;
	margin-bottom:20px;
	padding-bottom:20px;

}

#main ol.comments li{
	margin-bottom:16px;
}

#main ol.comments li cite{
	font-style:normal;
	font-weight:bold;
}

#main ol.comments li blockquote{
	padding:10px; 
	border:1px dotted #ccc;
	margin-left:0;
}

form#txpCommentInputForm {
}



/* ENTRY NAV
-----------------------*/

ul.entrynav {
  clear:both; display:block; overflow:hidden;
	margin:30px 0 0 0;
}

ul.entrynav li{
	width:180px;
	list-style:none;
	font-size:12px;
}

ul.entrynav li span{
	font-size:32px;
	height:50px;
}

ul.entrynav li.prev {
	float:left;
}

ul.entrynav li.next {
	float:right;
	text-align:right;
}

ul.entrynav li.prev span {
	float:left;
	padding-right:10px;
}



ul.entrynav li.next * {
	padding-left:10px;
}

/**
 * HOME
 *
**/

body.default #main {
	margin-right: 20px;
	margin:0;
	padding-left:80px;
	float:none;
	width: 502px;
	margin-bottom:20px;
	overflow: hidden;
	background: url(../images/kris-khaira.jpg) left top no-repeat;
}

body.default h2 {
  display: none;
}

/**
 * PORTFOLIO
 *
**/

body.portfolio #main {
  margin:0 38px;
}

body.portfolio #design ul,
body.portfolio #development ul {
  list-style:none; margin-left:0;
}

body.portfolio #development {
  width:312px;
  float:left;
  margin:0px 65px 0 0;
}
  body.portfolio #development h2 {
    width:219px; height:27px; 
    background:url(../images/hd_webdevelopment.png) left top no-repeat;
    display:block; overflow:hidden; text-indent:-5000px;
  }
body.portfolio #design {
  width:507px;
  float:left;
}
  body.portfolio #design h2 {
    width:82px; height:27px; 
    background:url(../images/hd_design.png) left top no-repeat;
    display:block; overflow:hidden; text-indent:-5000px;
  }
  body.portfolio #design .tn {
    width:170px;
    height:90px;
    background:url(../images/portfolio_tn.png) top left no-repeat;
    float:left;
    margin-right:10px;
  }
  body.portfolio #design .tn img {
    padding:5px;
  }
  body.portfolio #design .tn a {
    padding:0;
  }
  body.portfolio #design li {
    margin-bottom:10px;
    clear:both; display:block; overflow:hidden;
  }
  
  body.portfolio #design .details {
    float:right;
    width:327px;
    height:90px;
  }

body.portfolio .project {
  margin-bottom:24px;
}
body.portfolio .project h3 {
  margin-bottom:0;
  line-height:1.2em;
}

body.portfolio .fullinfo {
  clear:both; display:block; overflow:hidden;
  
}

body.portfolio .fullinfo .tn {
  width:510px;
  float:left;
  text-align:right;
  margin-right:20px;
}

body.portfolio .fullinfo .details {
  width:354px;
  float:left;
}

/**
 * CONTACT
 *
**/



body.contact #main {
  margin:0 38px;
}
body.contact #main h1 {
  width:219px; height:27px; 
  background:url(../images/hd_contact.png) left top no-repeat;
  display:block; overflow:hidden; text-indent:-5000px;
}

body.contact h3 {
	color:#fff;
	background:#333;
	text-transform:uppercase;
	font-weight:bold;
	text-indent:10px;
	padding:6px 0;
}





/**
 * BLOG
 *
**/


body.blog #main {
	width: 650px;
	margin:0 30px 20px 0;
	float:right;
	overflow:hidden;
}

  body.blog .article h3{
    margin-bottom:10px;
  }


body.blog #side1 {
	width:220px;
	float:left;
	margin-left:36px;
}

  body.blog #side1 h3 {
    color:#333;
  	text-transform:uppercase;
  	font-weight:bold;
  	padding:6px 0;
  }

  body.blog #side1 ul,
  body.blog #side1 ol {
    list-style:none;
    margin-left:0px;
  }

  body.blog #side1 ul.linklist li p{
    margin:0;
    padding:0;
  }


  body.blog #side1 .badge {
     margin:10px 10px 20px 10px;
     clear:both; display:block; overflow:hidden;
     padding:0;
  }
  body.blog #side1 img {
    padding:0;
  }

  body.blog #twitter_div li {
    margin-bottom:10px;
    padding-bottom:10px;
    border-bottom:1px dotted #990;
  }



/* SEARCH
-------------------------------*/

body.search dl.searchresults {
	width:400px;
	overflow:hidden;
}
body.search dl.searchresults dt {
	font-size:14px;
}
body.search dl.searchresults dd.excerpt {
	padding:5px 0;
	margin:5px 0;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	
}
body.search dl.searchresults dd.date {
	margin-bottom:18px;
	font-weight:bold;
}
