/*
    Theme Name: OneHamdi Grunge
    Theme URI: http://www.ikram-zidane.com
    Description: An '<a href="http://www.ikram-zidane.com">ikram-zidane<a/>' wordpress theme for onehamdi.com.
    Version: 1.0
    Author: Ikram-zidane
    Author URI: http://ikram-zidane.com
*/

/* GLOBAL LAYOUT AND STYLE
------------------------------------------------------------------------------------------------ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #fff url(images/bodybg.gif) repeat top left;
  font-size: 62.5%;
  font-family: georgia, arial, "Lucida Grande", verdana, helvetica, arial, tahoma, "trebuchet ms", sans-serif;
  color: #515151;
  line-height: 22px;
  text-align: center;
}

hr {
  display: none;
}

p {
  margin-bottom: 25px;
}

p.more {
  margin-bottom: 40px;
} 
p.center {
  text-align: center;
}
p.line {
  line-height: 30px;
}

div.clear {
  clear: both;
  height: 1px;
  font-size: 1px;
  line-height: 1px;
}

a {
  text-decoration: none;
  color: #14859D;
}

a:hover {
  color: #222;
}


/* CLASSES FOR IMAGES
------------------------------------------------------------------------------------------------ */

img {
  padding: 2px;
  border: 1px solid #C0C9C1;
  margin: 10px 15px;
  display: inline;
}

img.left {
  float: left;
  margin: 0 20px 5px 0;
}

img.right {
  float: right;
}

img.block {
  display: block;
}


img.none {
  margin: 0;
  border: none;
}







/* HEADER AND MENU
------------------------------------------------------------------------------------------------ */

#header {
  height: 143px;
  width: 100%;
  background: transparent url(images/header.gif) repeat top left;
  margin-bottom: 13px;
}

.header {
  height: 143px;
  width: 932px;
  margin: 0 auto;
}

#logo {
  padding-left: 366px;
  background: url(images/logo.gif) no-repeat top left;
  height: 143px;
  text-align: left;
}

#logo h1 {
  display: none;
}

ul#navigation {
  list-style-type: none;
  padding: 0;
  margin: 0;
  float: left;
  height: 17px;
  margin-top: 97px;
}

ul#navigation li {
  padding: 0;
  margin: 0;
  list-style-type: none;
  float: left;
  height: 17px;
}
ul#navigation li a {
  height: 17px;
  border: 0;
  text-decoration: none;
  display: block;
  background-image: url(images/menu.gif);
  background-repeat: no-repeat;
  background-color: transparent;
  padding: 0; margin: 0;
  border: none;
  margin-right: 27px;
  text-indent: -9999px;
  overflow: hidden;
}

li.homelink a {
  width: 39px;
  background-position: top left;
}
li.homelink a:hover {
  width: 39px;
  background-position: 0 -17px;
}

li.aboutlink a {
  width: 46px;
  background-position: -39px 0;
}
li.aboutlink a:hover {
  width: 46px;
  background-position: -39px -17px;
}

li.linklink a {
  width: 117px;
  background-position: -85px 0;
}
li.linklink a:hover {
  width: 117px;
  background-position: -85px -17px;
}

li.contactlink a {
  width: 61px;
  background-position: -202px 0;
}
li.contactlink a:hover {
  width: 61px;
  background-position: -202px -17px;
}





/* ENTRIES
------------------------------------------------------------------------------------------------ */

.post {
  padding-bottom: 75px;
  background: #fff url(images/seperator.gif) no-repeat bottom center;
  margin-bottom: 50px;
}

h2.entrytitle {
  font-size: 2.2em;
  font-weight: normal;
  letter-spacing: -1px;
  line-height: 25px;
  background: #fff url(images/h2.gif) no-repeat center left;
  margin-bottom: 5px
}

h2.entrytitle a {
  color: #F44E81;
}

h2.entrytitle a:hover {
  color: #222;
}

.postinfo {
  font-family: arial, 'trebuchet ms', tahoma;
  color: #929292;
  margin-bottom: 10px;
}

h3.continue-reading a {
  display: block;
  width: 201px;
  height: 16px;
  text-indent: -9999px;
  margin-top: 20px;
  background: #fff url(images/continuea.gif) no-repeat top left;
}

.wp-pagenavi {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 10px;
}

.wp-pagenavi a {
  border: 1px solid #E0DFDF;
  padding: 4px 6px;
}

.wp-pagenavi a:hover {
  border: 1px solid #666;
}

.wp-pagenavi span {
  margin-right: 5px;
}


/* SIDEBAR STUFF
------------------------------------------------------------------------------------------------ */

h2.sidebarheading {
  text-indent: -9999px;
  width: 342px;
  height: 32px;
  background: #fff url(images/heading.gif) no-repeat top left;
}

h2#mini-sidebar-gallery {
   background: #fff url(images/heading.gif) no-repeat 0 -32px;
   margin-top: 25px;
}


h2#heading-for-comment {
   background: #fff url(images/heading.gif) no-repeat 0 -64px;
  width: 342px;
  height: 32px;
  text-indent: -9999px;
  margin-bottom: 15px;
}

h2#heading-for-postingcomment {
   background: #fff url(images/heading.gif) no-repeat 0 -96px;
  width: 342px;
  height: 32px;
  text-indent: -9999px;
  margin-bottom: 15px;
}

div#about-me {
  width: 363px;
  height: 129px;
  float: left;
  background: #DA4673 url(images/aboutme.gif) no-repeat top left;
  color: #fff;
  font-family: tahoma, arial, 'trebuchet ms';
  line-height: 20px;
}

div#about-me p {
  padding: 26px 20px 0 30px;
}

div#about-me a {
  color: #fff;
  font-weight: bold;
  padding: 3px 5px;
  margin-left: 4px;
  background: #BF2D59;
}

div#about-me a:hover {
  background-color: #77203B;
}

div#mini-gallery {
  margin-top: 10px;
  padding-left: 8px;
  margin-bottom: 20px;
}

div#mini-gallery a img {
  border: 1px solid #A5D0DA;
  padding: 2px;
  margin: 2px;
}

div#mini-gallery a:hover img {
  border: 1px solid #EF799D;
}

div#shoutbox {
  float: left;
  width: 176px;
}

div.shoutboxcontent {
  padding-left: 10px;
}

div#ads-section {
  width: 178px;
  float: right;
}

div.adcontent {
  padding-right: 8px;
}

div#ads-section img, div#ads-section a img {
  padding: 0;
  border: none;
  margin: 0;
}

h3#rssfeed a {
  text-indent: -9999px;
  display: block;
  width: 362px;
  height: 85px;
  background: #fff url(images/rss.gif) no-repeat top left;
  margin: 15px 0;
}

/* CONTAINER
------------------------------------------------------------------------------------------------ */

#container {
  font-size: 1.1em;
  width: 932px;
  margin: 0 auto;
  text-align: left;
}

#content {
  float: left;
  width: 506px;
}

#sidebar {
  float: right;
  width: 363px;
}


/* BOTTOM CONTAINER
------------------------------------------------------------------------------------------------ */

#bottom {
  width: 100%;
  background: #D9416F url(images/bottombg.gif) repeat-x top left;
  font-size: 1.1em;
  color: #fff;
}

#bottom-ornament {
  height: 118px;
  width: 100%;
  clear: both;
  background: url(images/backdesign.gif) no-repeat top center;
}

#bottom-container {
  width: 932px;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 20px;
  padding-top: 15px;
}


/* STUFF IN BOTTOM CONTAINER
------------------------------------------------------------------------------------------------ */
#bottom-left {
  background: #CB3160 url(images/bottomleft.gif) repeat top left;
  width: 312px;
  float: left;
}


#bottom-center {
  float: left;
  width: 318px;
} 

#bottom-right {
  float: right;
  width: 260px;
}

#bottom-center ul {
  list-style-type: none;
  font-weight: bold;
  font-family: arial;
  margin-top: 3px;
}
#bottom-center ul li {
  width: 140px;
  display: block;
  float: left;
  overflow: hidden;
  padding-top: 3px;
  padding-bottom: 3px;
  border-bottom: 1px solid #E04C78;
}
#bottom-center ul li a {
  color: #fff;
  line-height: 23px;
  padding: 2px;
  border-bottom: 1px solid #E04C78;
}

#bottom-center ul li a:hover {
  background: #fff;
  color: #D9416F;
  border-bottom: 1px solid #EB7D9F;
}

.contentbottomcenter {
  padding-left: 35px;
}

span#bottompattern {
  display: block;
  width: 312px;
  height: 22px;
  background: #CB3160 url(images/bottomspan.gif) no-repeat top left;
}

h2#recent-post {
  display: block;
  width: 312px;
  height: 60px;
  margin: 0;
  padding: 0;
  background: #CB3160 url(images/recentpost.gif) repeat top left;
  text-indent: -9999px;
}

h2#categorylist {
  display: block;
  width: 280px;
  height: 43px;
  margin: 0;
  padding: 0;
  background: #D9416F url(images/h2bottom.gif) no-repeat top left;
  text-indent: -9999px;
}

h2#topcommenter {
  display: block;
  width: 260px;
  height: 43px;
  margin: 0;
  padding: 0;
  background: #D9416F url(images/h2bottom.gif) no-repeat 0 -43px;
  text-indent: -9999px;
}



ul#recentpostlist {
  padding: 0 0 0 19px;
  list-style-type: none;
}

ul#recentpostlist li {
  display: block;
  height: 51px;
  background: #CB3160 url(images/li.gif) no-repeat top left;
  width: 293px;
  padding-top: 4px;
  line-height: 18px;
}

ul#recentpostlist li a {
  color: #fff;
  padding-left: 36px;
}

ul#recentpostlist li span {
  color: #E587A5;
  display: block;
  padding-left: 36px;
}

ul#recentpostlist li span a {
  padding-left: 0;
  color: #E987A5;
}

#top-commentor {
  width: 260px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 13px;
}
#top-commentor li { 
  font-family: arial, tahoma, helvetica, 'trebuchet ms';
  font-weight: bold;
  clear: both;
  margin: 0;
  padding: 0 0 10px 0;
  position: relative;
  border-bottom: 2px dotted #E06A8E;
  margin-bottom: 20px;
}
#top-commentor strong {
  background: #D9416F;
  padding: 0 10px 0 0;
  position: absolute;
  bottom: -10px;
  left: 0;
}
#top-commentor em {
  background: #D9416F;
  font-weight: normal;
  padding: 0 0 0 5px;
  position: absolute;
  bottom: -10px;
  font-family: georgia, "times new roman";    
  font-style: normal;
  right: 0;
}

#top-commentor li a {
  color: #fff;
  padding: 3px;
}

#top-commentor li a:hover {
  background: #B42B55;
}

/* FOOTER STUFF
------------------------------------------------------------------------------------------------ */

#footer {
  clear: both;
  margin: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #CE3865;
  font-family: georgia;
  text-align: center;
}

.footer {
  width: 930px;
  margin: 0 auto;
  text-align: left;
  font-family: tahoma, arial, 'trebuchet ms', tahoma, helvetica, 'trebuchet ms';
}

#footer .footerright a {
  padding: 4px 6px;
  background-color: #B42B55;
  color: #fff;
  margin: 0 1px;
  border-bottom: 1px solid #D9416F;
}

#footer .footerright a:hover {
  background-color: #fff;
  color: #D9416F;
}

#footer .footerleft a {
  color: #fff;
  border-bottom: 1px solid #EC638C;
  padding: 4px 0;
}

#footer .footerleft a:hover {
  border-bottom: 1px solid #EE86A6;
}

.footerleft {
  float: left;
}
.footerright {
  float: right;
}


/* COMMENTS STUFF
------------------------------------------------------------------------------------------------ */

h3#comments {
  font-family: georgia, 'times new roman';
  font-size: 1.8em;
  letter-spacing: -1px;
  font-weight: normal;
  margin-bottom: 26px;
  border-bottom: 3px double #EEE;
  padding-bottom: 5px;
  color: #989898;
}

ol.commentlist {
  list-style-type: none;
  padding-bottom: 50px;
}

ol.commentlist li {
  margin-bottom: 20px;
  padding: 10px;
  background: #fff url(images/commentbg.gif) repeat-y -20px -20px;
  border: 3px double #BABABA;
}

ol.commentlist li.alt {
  background: #fff url(images/commentbg2.gif) repeat-y -30px -30px;
  border: 3px double #DDDDDD;
}

#commentform input {
  margin-right: 25px;
  border: none;
  background: #FBFDD6 url(images/form.gif) repeat-x bottom left;
  padding: 6px 8px;
  padding-bottom: 12px;
  font-size: 11px;
  font-family: georgia;
  width: 300px;
}

#commentform label {
  font-size: 1em;
  font-family: arial, tahoma, helvetica, "trebuchet ms"
}

#commentform textarea {
  border: none;
  background: #FBFDD6 url(images/form.gif) repeat-x bottom left;
  padding: 6px 8px;
  padding-bottom: 12px;
  font-size: 11px;
  font-family: georgia;
  width: 450px;
}

#commentform input#submit {
  width: 125px;
  background-color: #666;
  border: none;
  color: #fff;
  font-family: arial, tahoma, helvetica, "trebuchet ms";
  font-weight: bold;
}
 div#nocomment {
   margin-bottom: 40px;
 }
 
 h3.page-title {
   font-family: georgia, arial, tahoma;
   font-weight: normal;
   font-size: 1.8em;
   letter-spacing: -1px;
   margin-bottom: 10px;
   color: #fff;
   background-color: #222;
   padding: 4px;
   display: inline;
 }
 
 div.titleforarchive {
   margin-bottom: 10px;
   margin-top: 15px;
 }
 
 div.archivepost {
   padding: 20px 0;
   border-bottom: 1px solid #EEEEEE;
 }