/*
Theme Name: BecBLog
Theme URI: http://www.ckymedia.com/
Description: 'This is a standed blog layout'
Author: Bec Lee
Author URI: http://beclee.com
Version: 1.0

*/


/* Reset */

html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, 
address, code, img,
small, strong, d1, dt, dd, ol, ul, li,
fieldset, form, label {
      margin: 0;
      padding: 0;
      border: 0;
      outline: 0;
      font-size: 100%;
      vertical-align: baseline;
      background: transparent;
}
body {
        line-height: 1.5;
        font-family: helvetica, arial, san-serif;
}
ol, ul {
        list-style: none;
}

/* End Reset */

h2 {
   font-size: 27px;
}

/*base text style*/
p {
   font-size: 14px;
}

/*link text style*/
a {
   text-decoration: none;
   color: #4e4e4e;
   font-size: 14px;
}

/*hover link text style*/
a:hover {
   text-decoration: underline;
}

/*search box style*/
input {
   background: #696969;
   border: 1px solid #c3c3c3;
   color: #cbcbcb;
   padding: 3px;
}

/*search hover and in box style*/
input:focus, input:hover {
   background: #ededed;
   color: #4e4e4e;
}


/* Main Styles */

body {
 background: #ffffff url(img/bg.jpg) repeat-x;

}

#wrap {
 width: 960px;
 margin: auto;
}

#header {
 position: relative;
}

#header h1 {
 background: url(img/logo.png) no-repeat;
 width: 168px;
 height: 149px;
 text-indent: -9999px;
 float: left;
 position: relative;
 top: -2px;
}

#header h1 a {
 width: 169px;
 height: 71px;
 display: block;
}

/* Navigation */

#header ul {
 overflow: hidden;
 padding-left: 93px;
}

#header ul li {
 float: left;
 padding-left: 40px;
 margin-right: 40px;
 margin-top: 20px;
}

#header ul li a { 
 color: #c90100;
 font-size: 16px;
 position: relative;
 left: 3px;
 padding: 5px;
 text-decoration: underline;
}

#header ul li a:hover {
 text-decoration: none;
 color: #191919;
 text-decoration: underline;
}

#header ul li#home {
 background: url(img/nav/home.png) no-repeat;
 width: 31px;
 height: 34px;
}

#header ul li.page-item-2 {
 background: url(img/nav/camera.png) no-repeat;
 width: 37px;
 height: 36px;
}

#header ul li.page-item-4 {
 background: url(img/nav/contact.png) no-repeat;
 width: 35px;
 height: 31px;
}

/* Search Box */

#header #search {
   width: 270px;
   height: 66px;
   position: absolute;
   right: 0;
   top: 15px;
   background: url(img/searchIcon.png) no-repeat;
}

/* targets the RSS icon*/
#header #search img {
   position: absolute;
   right: 0; top: 0;
}

#header #search input#s {
   width: 130px;
   margin-left: 44px;
}

#header #rss {
   float: right;
   margin: 0; padding: 0;
}

#rss img {
   width: 30px;
   padding-right: 1px;
   margin-top: 13px;
}

#header p#slogan {
   font-size: 2em;
   margin: 50px 0 50px 0;
   float: right;
   background: url(img/slogan.png) no-repeat;
   width: 544px;
   height: 49px;
   text-indent: -9999px;
   border-right: 1px gray;
   padding-right: 0px;
}

/* Main Content*/

#main {
   clear: both;
   overflow: hidden;
}

#main #primary {
   float: left;
   width: 630px;
}

#main #sidebar {
   float: right;
   width: 300px;
}

#main #primary .post-item,
#page_content {
   background: #fafafa url(img/postBG.jpg) repeat-x;
   margin-bottom: 10px;
   border: 1px solid white;
   border-right: 2px solid #dfdfdf;
   border-bottom: 2px solid #dfdfdf;
   -moz-border-radius-topright: 5px;
   -webkit-border-top-right-radius: 5px;
   position: relative;
   overflow: hidden;
   padding-top: 10px;
   padding-right: 40px;
   padding-left: 30px;
   padding-bottom: 20px;
}

.post-item img {
   float: left;
   margin: 30px 20px 30px 0px;
   padding: 4px;
   border: 1px solid #a8a8a8;
}

#primary h2 {
   letter-spacing: 1px;
   font-weight: normal;
   padding-right: .5em;
   line-height: 32px;
   margin-bottom: .2em;
}

.post-item h2 {
 padding-top: 30px;
 margin-bottom: 0px;
}

.post-item h2 a{
 font-size: 27px;
}


.post-item p.meta {
   background: #9c2323;
   color: white;
   font-size: 11px;
   font-style: normal;
   padding: 4px;
   margin-left: 230px;
   margin-bottom: 1.6em;
   width: 210px;
   min-width: 210px;
   height: 15px;
   line-height: 15px;
   text-align: center;
   border-top: 1px solid #750d0d;
   border-left: 1px solid #750d0d;
   border-right: 1px solid #bc3d3d;
   border-bottom: 1px solid #bc3d3d;
}

.post-item p {
   color: #7e7e7e;
   font-style: italic;
   margin-bottom: 1.2em;
   margin-left: 230px;
   font-size: .8em;
}

.single .post-item p {
 margin-left: 0;
}

.weblink {
 padding-top: 12px;
}

/* More Link */

a.more-link {
 background: #e1e1e1;
 padding: 6px;
 color: #696969;
 border: 1px solid #a4a4a4;
 font-size: .9em;
 height: 15px;
 line-height: 15px;
 width: 70px;
 min-width: 70px;
 text-align: center;
}

div.numComments {
 background: url(img/numComments.png) no-repeat;
 height: 38px;
 width: 43px;
 line-height: 38px;
 position: absolute;
 right: 15px;
 top: 13px;
 text-align: center;
}

/* Next and Previous Buttons */

#morePrev a {
   background: url(img/nextPrevButton.jpg) no-repeat;
   padding: 8px;
   color: white;
   font-size: 12px;
   line-height: 12px;
   font-style: italic;
   float: right;
   border: 1px solid white;
   border-right: none;
   border-left: none;
}

/* Sidebar */

.widget {
 background: #fafafa url(img/postBG.jpg) repeat-x;
 border: 1px solid white;
 border-right: 1px solid #dfdfdf;
 border-bottom: 1px solid #dfdfdf;
 -moz-border-radius-topleft: 5px;
 -webkit-border-top-left-radius: 5px;
 margin-bottom: 28px;
 padding: 5%;
 overflow: hidden;
}

.widget h2{
   background: #9c2323;
   color: white;
   margin: 4% 0;
   font-size: 12px;
   font-weight: normal;
   padding: 3px 0 2px 8px;
   border: 1px solid white;
   border-right: 1px solid #dfdfdf;
   border-bottom: 1px solid #dfdfdf;
}


.widget ul li {
   padding: 3px 0 3px 0;
   line-height: 22px; 
   border-bottom: 1px solid white;
   border-top: 1px solid #ececec;
}

.widget a {
 font-size: 12px;
}

.widget ul li:first-child{
   border-top: none;
}

.widget ul li:last-child{
   border-bottom: none;
}

.widget ul li a {
   font-size: 12px;
}

/* Single Posts */

body.single div.post-item p {
 font-style: normal;
}

.single div.post-item ul {
 margin: 1em 0;
 color: #7e7e7e;
}

.single .post-item ul li {
 padding-left: 1em;
 margin-left: 2em;
 list-style: disc;
 line-height: 2em;
}

.single .post-item p.meta {
 margin-left: 230px;
}

/* page content */

#page_content {
 padding-bottom: 20px;
}

#page_content h2 a {
 color: black;
}

#page_content h2,
#page_content h3 {
 margin: 1em 0;
}

/* comments Template */

#comments_template {
 margin-top: 2em;
 background: #ededed;
 border: 1px solid white;
 border-right: 1px solid #dfdfdf;
 border-bottom: 1px solid #dfdfdf;
 clear: both;
 margin-bottom: 28px;
 overflow: hidden;
 padding-right: 40px;
 padding-left: 30px;
 padding-top: 30px;
 -moz-border-radius-topright: 5px;
 -webkit-border-top-right-radius: 5px;
 position: relative;
}

#comments_template input {
 background: white;
 margin-right: 10px;
}

#comments_template li {
 clear: left;
 border-bottom: 1px solid #d3d3d3;
 border-top: 1px solid white;
 padding: 2em 0;
 overflow: hidden;
}

#comments_template li:first-child {
 border-top: none;
}

#comments_template li:last-child {
 border-bottom: none;
}

#comments_template .avatar {
 float: left;
 margin-right: 25px;
 background: #afafaf;
 border: 1px solid white;
 border-right: none;
 border-bottom: none;
 padding: 4px
}

.main_comment {
 background: white;
 margin-left: 133px;
 padding: 15px;
 position: relative;
}

.main_comment span.arrow {
 width: 0;
 height: 0;
 line-height: 0;
 border-bottom: 25px solid #ededed;
 border-right: 20px solid white;
 position: absolute;
 top: 10px;
 left: -20px;
}