/*
Theme Name: Hassan Ijaz
Theme URI:
Description: 
Tags:
Author:
Author URI:
Version: 1.0

*/

/* Reset */

html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, code, img, 
small, strong, dl, 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, sans-serif;
}
ol, ul {
	list-style: none;
}

/* End Reset */

h2 {
 font-size: 27px;
}

p {
 font-size: 14px;
}

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

a:hover {
 text-decoration: underline;
}

input {
 background: #696969;
 border: 1px solid #c3c3c3;
 color: #cbcbcb;
 padding: 3px;
}

input:focus, input:hover {
 background: #ededed;
 color: #4e4e4e;
}


/* Main Styles */

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

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

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

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

/* Navigation */

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

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

#header ul li a { 
 color: #cbcbcb;
 font-size: 16px;
 position: relative;
 top: -7px;
 left: 3px;
}

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

#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-3 {
 background: url(img/nav/contact.png) no-repeat;
 width: 35px;
 height: 31px;
}

/* Search Box */

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

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

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

#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: 28px 0 51px 0;
 float: right;
 background: url(img/slogan.png) no-repeat;
 width: 818px;
 height: 45px;
 text-indent: -9999px;
 border-right: 1px solid white;
 padding-right: 50px;
}

/* Main Content */

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

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

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

#main #primary .post-item {
 background: #fafafa url(img/postBG.jpg) repeat-x ;
 margin-bottom: 28px;
 border: 1px solid white;
 border-right: 1px solid #dfdfdf;
 border-bottom: 1px solid #dfdfdf;
 -moz-border-radius-top-right: 5px;
 -webkit-border-top-right-radius: 5px;
 position: relative;
 overflow: hidden;
 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: 0;
}

.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: 170px;
 min-width: 170px;
 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;
}

/* 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/commentIcon.png) no-repeat;
 height: 48px;
 width: 48px;
 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;
 line-height: 12px;
 font-size: 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: 8%;
 overflow: hidden;
}

.widget h2 {
 background: #5b5b5b;
 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;
 line-height: 22px;
 border-bottom: 1px solid white;
 border-top: 1px solid #ececec;
}

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

.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 {
 padding-left: 1em;
 margin-left: 2em;
 list-style: disc;
 line-height: 2em;
}

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

/* 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;
}


