/*
Theme Name: myCdes
Theme URI: http://www.cdes.ws/
Description: a start over blog theme.
Version: 0.1
Author: Ahmed Al Haddad
Author URI: http://www.cdes.ws/
Tags: cdes
*/

body {
  background: #30353d url(lib/imgs/bodybg.jpg) repeat left top;
  font-family: "Geeza Pro", Arial,Helvetica,sans-serif;
  font-size: 62.5%; /* Resets 1em to 10px */
}

#page {
  background: #3e4749 url(lib/imgs/pagebg.jpg) repeat-y center top;
  width: 772px;
  margin: 0 auto;
  overflow: hidden;
}

#wrap {
  width: 732px;
  padding: 0 20px;
  margin: 0 auto;
  overflow: hidden;
}

/* header */
#header {
  background: url(lib/imgs/headerbg.jpg) no-repeat center top;
  width: 772px;
  height: 180px;
  margin: 0 auto;
  position: relative;
}

.blogtitle {
  background: url(lib/imgs/blogtitle.png) no-repeat right top;
  width: 190px;
  height: 64px;
  position: absolute;
  top: 73px;
  right: 188px;
}

.myphoto {
  background: url(lib/imgs/photo.png) no-repeat right top;
  width: 231px;
  height: 190px;
  position: absolute;
  top: 30px;
  left: 10px;
}

#header span {visibility: hidden}

/* content */
.content-out {
  background: url(lib/imgs/content-out.jpg) no-repeat right bottom;
  float: right;
  width: 510px;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.content-in {
  background: #54575c url(lib/imgs/content-in.jpg) no-repeat right top;
}

.apost {padding: 20px 10px}

h2.posttitle {
  font-family: "Geeza Pro", Arial,Helvetica,sans-serif;
  font-size: 3em;
  color: #fff;
  padding: 0 0 10px;
  text-shadow: 0 1px 0 #333;
  font-weight: normal;
  margin: 0;
}

h2.posttitle a {
  text-decoration: none;
  color: #fff;
}

.meta {
  font-family: "Geeza Pro", Arial,Helvetica,sans-serif;
  background: url(lib/imgs/postmeta.png) no-repeat right top;
  height: 31px;
  line-height: 30px;
}

.meta li {float: right}

.meta .tags {
  width: 375px;
  padding: 0 10px;
  font-size: 1.6em;
  color: #999999;
}

.meta .date {
  text-align: center;
  width: 80px;
  padding: 0 10px 0 5px;
  font-size: 1.4em;
  color: #000;
  text-shadow: 0 1px 0 #555;
}

.meta span {
  font-weight: bold;
  color: #ccc;
}

.entry {
  text-align: justify;
  line-height: 170%;
  color: #fff;
  padding: 10px;
  font-size: 1.5em;
  font-weight: bold;
}

.entry p {
  padding: 5px 0;
}

.interactions {
  color: #333;
  font-size: 14px;
  text-align: left;
  padding-bottom: 2px;
  border-bottom: 1px solid #505050;
  overflow: hidden;
}

.interactions li {float: left;margin-right: 20px;}

.interactions .views {background: url(lib/imgs/iconviews.jpg) no-repeat right center;padding-right: 16px}
.interactions .comments {background: url(lib/imgs/iconcomments.jpg) no-repeat right center;padding-right: 20px}
.interactions a {color: #333;text-decoration: none;}

.pages {
  background: url(lib/imgs/pagnating.jpg) no-repeat right top;
  width: 490px;
  height: 25px;
  line-height: 25px;
  margin: 0 auto;
}

/* sidebar */
#sidebar {
  float: left;
  width: 200px;
  padding-top: 60px;
}

#sidebar h2 {
  background: url(lib/imgs/sidebartop.jpg) no-repeat right top;
  padding: 0 10px 0 0;
  margin: 0;
  height: 46px;
  line-height: 40px;
  font-family: "Geeza Pro", Arial,Helvetica,sans-serif;
  font-size: 1.5em;
  color: #330000;
}

#sidebar ul li {
  margin-bottom: 20px;
  color: #999999;
  background: url(lib/imgs/sidebarbot.jpg) no-repeat right bottom;
}

#sidebar ul li ul, #sidebar ul li div {padding: 5px 10px;}

#sidebar ul li ul li {
  margin: 0 0 10px;
  font-size: 1.4em;
  padding: 0;
  background: none;
}

#searchform {
  text-align: center;
}


#sidebar #s {
  width: 115px;
  height: 16px;
  background: #222;
  color: #ccc;
  border: 0;
  border-bottom:1px solid #444;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  vertical-align: middle;
  font-family: "Geeza Pro", Tahoma, Arial,Helvetica,sans-serif;
  padding: 4px 4px 0;
  margin:2px 0 5px 5px;
  text-align: right;
}

#searchsubmit {
  background: #ccc;
  color: #333;
  border: 0;
  border-top:1px solid #eee;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  vertical-align: middle;
  font-family: "Geeza Pro", Tahoma, Arial,Helvetica,sans-serif;
  margin:2px 0 5px 5px;
  padding:0 5px 3px;
}


/* headings */


/* footer */
#footer {
  clear: both;
  background: url(lib/imgs/footer.jpg) no-repeat right top;
  margin-bottom: 10px;
  color: #777;
  position: relative;
  height: 40px;
  line-height: 40px;
  font-size: 12px;
}

#footer .footr, #footer .footc, #footer .footl { 
  position: absolute;
  top: 0;
  line-height: 40px;
  height: 40px;
}

#footer .footr {
  right: 20px;
  width: 220px;
  text-align: right;
}

#footer .footc {
  right: 250px;
  width: 230px;
  text-align: center;
}

#footer .footl {
  right: 490px;
  width: 235px;
  text-align: left;
}

#footer .cc img {margin-top: 4px;}

/* comments */
.commentlist li, #commentform input, #commentform textarea {
	font: 1.2em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1.2em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	margin-left: 10px;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.2em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#commentform input.thm {
	width: 170px;
	padding: 3px;
	margin: 5px 5px 1px 0;
	background: #222;
    color: #ccc;
    border: 0;
    border-bottom:1px solid #777;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-family: "Geeza Pro", Arial,Helvetica,sans-serif;
    }

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 470px;
	height: 100px;
	padding: 10px;
	background: #222;
    color: #ccc;
    border: 0;
    border-bottom:1px solid #777;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-family: "Geeza Pro", Arial,Helvetica,sans-serif;
	}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 0 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

#commentform small {
    font-size: 1.2em;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
.comment-body {
  background: #444;
  padding: 15px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  color: #aaa;
  border-bottom:1px solid #777;
}

.comment-body a {color:#eee}

/* Links */
a {
  color: #999;
  text-decoration: none;
}

a:hover {
  color: #ff8800;
  text-decoration: underline;
}

/*	Begin Headers */
h1 {
    font-size: 2em;
	padding: 20px;
	margin: 0;
	}

h2 {
	padding: 30px 10px 0;
	font-size: 2.8em;
	}

h3 {
	padding: 30px 10px 0;
	font-size: 2em;
	color: #bbb;
	}

.entry h1,.entry h2,.entry h3 {
  padding:20px 0 10px;
  margin:0;
  color:#ffff00;
  font-size: 1em;
}

.entry h2 {font-size: 1.4em;}
.entry h3 {font-size: 1.2em;}

.entry ul, .entry ol {
  margin: 5px 40px 10px 0;
}

.entry ul, .entry ol {
  list-style-type: disc;
}

.entry ol {
  list-style-type: decimal;
}
	
.pagetitle {
  text-align: center;
  color: #ffff00;
  text-shadow: 0 2px 0 #333;
}
/* End Headers */


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

.facebook {
    background: url(lib/imgs/fb.gif) no-repeat right top;
    width: 150px;
    height: 58px;
    display: block;
    margin: 0 auto;
}

#searchform .screen-reader-text {
  display: none;
}

