/*
Theme Name: WPCandy v1
Theme URI: http://wcandy.com/
Version: 1.2
Author: Michael Castilla
Author: http://wpcandy.com/
*/

/* ===================== */
/* pekalicious additions */

a img {
  border: 0px;
}

.wp-caption {
  margin: 10px;
  padding: 10px;
  border: 1px solid #999;
  background-color: #eee;
}

.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  text-align: left;
  float: left;
}

/* =====================
 *
 * Body
 *
 * ===================== */

* {
  margin: 0;
  padding: 0;
}

* html .clear#top-of-page {
  height: 15px;
}

html {
  height: 100%;
}

body {
  height: 100%;
  width: 100%;
  font-family: 'Cambria',Georgia,'Times New Roman',Times,serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: #111111;
  /*background: url(images/headerbg.gif) top repeat-x #fbfbfb;*/
}

body a {
  color: #2279A6;
  text-decoration: underline;
}

body a:hover {
  color: #888888;
}

#mastercontainer { 
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin-bottom: -37px;
}

.clear {
  clear: both;
}

.clear#top-of-page {
  height: 43px;
}

.push {
  height: 37px;
}

/* =====================
 *
 * Header
 *
 * ===================== */

.header {
  width: 100%;
  height: 43px;   
  background: url(images/navbg.gif) repeat-x;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0px;
  left: 0px;
}

.header-container {
  font-family: Lucida Grande, Tahoma, Trebuchet MS, sans-serif;
  width: 900px;
  margin: 0px auto 0;
  padding: 0;
  height: 43px;
  font-size: 11px;
}

.header-pages {
  float: left;
  margin-left: 460px;
}

.header-rss {
  float: right;
}

.header-rss a img {
  border: 0px;
}

.logo {
  padding: 0;
  width: 100px;
  height: 21px;
  background: url(images/logo.gif) no-repeat;
  text-indent: -9999px;
  display: block;
  margin: 4px 20px 0 0;
}

.logo a {
  display: block;
  width: 79px;
  height: 21px;
}

.logo-list {
  float: left;
}

.logo-list li {
  list-style-type: none;
  color: #FFFFFF;
}

ul.nav {
  list-style: none;
  margin: 0; 
  padding: 0;
}

ul.nav li {
  float: right;
}

ul.nav li a {
  float: left;
  margin-left: 20px;
  margin-top: 16px;
  text-decoration: none;
  color: #FFFFFF;
}

/* ====================
 * 
 * Scrollover Styling 
 *
 * ==================== */

ul.nav a.scrollover {
  color: #FFFFFF;
  margin-top: 16px;
}

ul.nav a.scrollover em:first-line {
  color: #8bcc8a;
  margin-top: 16px;
}


.box {
  float: right;
  margin: 0;
  padding-right: 75px;
}

*+html .box {
  padding-right: 70px;
}

*html .box {
  padding-right: 75px;
}

.box .search {
  border: 1px solid #9a9a9a;
  width: 135px;
  float: left;
  height: 13px;
  padding-top: 3px;
  font-size: 10px;
  margin-top: 11px;
  margin-left: 100px;
  padding-left: 5px;
}

.box .searchbutton {
  padding-top: 13px;
  color: #ffffff;
  float: left;
  border: none;
  margin-left: 4px;
  cursor: pointer;
  background: transparent;
  font-size: 11px;
}

/* ====================
 *
 * Main Content 
 *
 * ==================== */

.container {
  width: 900px;
  margin: 0px auto 0;
  height: 100%;
  clear: both;
}

.main-content {
  width: 630px;
  margin: 0 auto;
  float: left;
  height: auto;
  min-height: 100%;
  margin-right: 15px;
  margin-top: 24px;
}

* html .post {
  margin-bottom: 0px;
}

* html .post-data {
  margin-bottom: 15px;
}

*+html .post-data {
  margin-bottom: 15px;
}

.post {
  width: 630px;
  margin: 0px 0px 15px;
}

.post .title a, .post .title-archives a {
  text-decoration: none;
  color: #1b5f82;
}

.post .title  a {
  font-size: 26px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.post .title-archives a {
  font-size: 22px;
}

.post .title-archives a:visited {
  color: #0e3244;
}

.post .title  a:hover, .post .title-archives a:hover {
  color: #888888;
}

.post li {
  padding: 0px;
  margin: 3px 0px;
}

.post ul, .post ol {
  margin-left: 40px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.post li.linkcat {
  list-style: none;
}

.post li.linkcat h2 {
  display: none;
}

.post .alttitle {
  font-size: 13px;
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 20px;
  font-weight: bold;
}

.post li ul {
  margin-left: 0px;
}

.entry {
  line-height: 20px;
}

.entry p {
  margin-bottom: 14px;
  text-align: justify;
}

.entry img {
  max-width: 530px;
}

.entry img a {
  border: none;
}

.entry .left {
  float: left;
  margin: 0 5px 0 0;
}

.entry .right {
  float: right;
  margin: 0 0 0 5px;
}

.entry blockquote {
  margin: 12px;
  padding-left: 26px;
  padding-top: 24px;
  padding-bottom: 14px;
  padding-right: 26px;
  background-color: #eee;
  font-style: italic;
  background-image: url('images/quote.png');
  background-position: 4px 4px;
  background-repeat: no-repeat;
  background-attachment: inherit;
}

.entry pre, .entry code {
  font-family: "Courier New", Courier, Monospace;
  line-height: 1.5;
}

.entry pre {
  /* border: 1px solid #ccc;*/
  white-space: pre;
  overflow: auto;
  overflow: auto;
  margin: 15px 15px 15px 15px;
  padding: 10px 15px;
  /* max-height: 300px; */
}

.entry h1 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 22px;
  margin-bottom: 4px;
}

.entry h2 {
  font-size: 20px;
  letter-spacing: -1px;
  /*margin-top: 30px;*/
  margin-bottom: 4px;
}

.entry h3 {
  font-size: 18px;
  font-weight: bold;
 }

.entry h1 a, .entry h2 a, .entry h3 a {
  text-decoration: none;
}

.post-data {
  float: left;
  width: 630px;
  height: 5px;  
  background: url(images/border.gif) bottom repeat-x;
  /* padding: 15px 0 15px; */
  padding-bottom: 15px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #bbb;
  text-align: right;
}

.post-data .date {
  color: #000;
  font-size: 18;
  font-weight: bold;
}

.post-data a {
  color: #000000;
  text-decoration: underline;
}	

.post-data img {
  margin-right: 10px;
}

.pages {
  line-height: 20px;
  background: url(images/border.gif) bottom repeat-x;
  padding-bottom: 15px;
}

.pages p {
  margin: 10px 0;
}

.bottom-nav {
  width: 520px;
  margin: 15px 0px 30px;
  position: relative;
  z-index: 99;
}

.bottom-nav a {
  color: #232323;
  text-decoration: none;
}

.bottom-nav-left {
  float: left;
}

.bottom-nav-right {	
  float: right;
}

.more-link {
  margin-top: 0px;
  padding-top: 0px;
}

.divider {
  width: 530px;
  height: 1px;
  background: url(images/border.gif) repeat-x;
  margin-top: 20px;
  margin-bottom: 20px;
  float: left;
}

.wp_syntax {
  font-size: 11px;
  font-family: Courier;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ====================
 *
 * Post Features
 *
 * ==================== */

 .similar-posts {
  margin-top: 30px;
}

.java5 {
  border: none;
}

#toc {
  border: 1px solid #ccc;
  background-color: #eee;
  padding: 8px;
}

#toc ul {
  margin: 0;
  margin-left: 12px;
  padding: 0;
}

#toc li {
  margin: 0;
  padding: 0;
}

#toc_title {
  text-align: center;
  font-weight: bold;
}

/* ====================
 *
 * Side Bar 
 *
 * ==================== */

* html .sidebar li.linkcat {
  margin-top: -10px;
}

*+html .sidebar li.linkcat {
  margin-top: -10px;
}

.sidebar {
  width: 245px;
  margin: 0;
  padding-left: 10px;
  float: left;
  background: url(images/side-border.gif) left repeat-y;
}

.sidebar ul, .sidebar li {
  margin: 0;
  padding: 0;
}

.sidebar ul {
  margin-left: 8px;
}

.sidebar ul li ul { 
  margin-bottom: 15px;
  margin-left: 0px;
}

.sidebar li.widget {
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
}

.sidebar li.widget ul li {
  padding: 0px 0px 0px 0px;
  margin-bottom: 3px;
}

.sidebar ul li {
  list-style: none;
}

.sidebar li.linkcat h2 {
  display: none;
}

.sidebar li.linkcat {
  margin-top: -15px;
}

.sidebar ul li ul li {
  padding: 5px 0px 0px 0px;
  margin-bottom: 3px;
}

.sidebar ul li ul li ul {
  margin-top: 10px;
  margin-bottom: -5px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #2279a6;
  font-size: 14px;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

.sidebar h2 {
  margin: 0px;
  padding: 0px;
  font-size:18px;
}

.sidebar .textwidget {
  margin-left: 0px;
  width: 180px;
  line-height: 18px;
}

.sidebar #search {
  margin-left: -15px;
}

.sidebar #search .search {
  border: 1px solid #9a9a9a;
  width: 135px;
  float: left;
  height: 13px;
  padding-top: 3px;
  font-size: 10px;
  padding-left: 5px;
}

.sidebar ul li#search form#searchform input{
  display: none;
}

.sidebar ul li.widget_tag_cloud h2 {
  margin-left: 0px;
}

.sidebar ul li.widget_tag_cloud {
  margin-left: -15px;
}

/* ====================
 *
 * Sidebar Widgets
 *
 * ==================== */
 #wp-calendar {
  margin-left: -15px;
  margin-top: -25px;
}

#wp-calendar caption {
  font-size: 18px;
  color: #111111;
  letter-spacing: -1px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-left: -10px;
}

/* Comments Template*/

.comments-template ol {
list-style: none;
width: 450px;
margin-top: 20px;
}

.comments-template ol li {
line-height: 18px;
margin: 0px 0px 10px 0px;
padding: 10px;
border: 1px solid #d2d2d2;
background-color: #ffffff;
}

.commentmetadata {
font-size: 12px;
margin: 10px 0px;
}

.commentmetadata a {
color: #2279a6;
}

.comments-template small {
font-size: 11px;
}

.comments-template p.nocomments {
padding: 0;
}

.comments-template textarea#comment {
margin: 15px 0;
}

.comments-template input#author, .comments-template input#email, .comments-template input#url {
margin: 10px 5px 5px 0px;
height: 16px;
width: 300px;
}

span.comment-text p {
padding: 10px 0;
}

/* ====================
 *
 * Footer 
 *
 * ==================== */

.footer {
  width: 100%;
  height: 37px;
  /*background: url(images/footerbg.gif) repeat-x;*/
  clear: both;
  text-align: center;
  padding-top: 25px;
  margin-top: 45px;
}

.footer a {
  text-decoration: none;
  color: #232323;
}

.footer img {
  margin-bottom: -1px;
  margin-left: 3px;
}

/* ====================
 *
 * Category Description
 *
 * ==================== */
 .cat-title a {
   color: #000;
   text-decoration: none;
 }
 
 .cat-description {
   margin-top: 18px;
   margin-bottom: 12px;
   padding: 16px;
   border: 2px solid #ccc;
   background-color: #eee;
 }