/*!
 * Almega WordPress Theme
 * Master Stylesheet
 * © 2010 Daytona Communication AB
 */


/**
 * GENERAL
 */

body {
  font-size: 10px;
  background: #f9f9f9;
  text-align: center;
  border-top: 5px solid #252525;
}

#wrapper {
  text-align: left;
}

#header,
#main,
#footer {
  width: 960px;
  margin: 0 auto;
}

#content-wrapper {
  overflow: hidden; zoom: 1;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

#main {
  overflow: hidden; zoom: 1;
  padding: 40px 0 30px;
  background: url('../images/bg_2-1-1.gif') repeat-y;
}

#container, #primary, #secondary {
  float: left;
  padding: 0 20px;
}
  #secondary { float: right; }

#container { width: 440px; }
#primary, #secondary { width: 200px; }

.page-title,
.widgettitle,
#disqus_thread h3 {
  padding-bottom: 6px;
  border-bottom: 2px solid #ececec;
}


/**
 * HEADER
 */

#header {
  width: 920px;
  overflow: hidden; zoom: 1;
  padding: 38px 20px;;
  border-bottom: 1px solid #ececec;
}

#header #branding { float: left; }

#header #searchform {
  position: relative;
  float: right;
  margin-top: -2px;
}
  .js #header #searchform label { position: absolute; top: -999%; left: -999%; }
  #header #searchform input#s {
    padding: 7px 10px 7px 28px;
    line-height: 14px;
    border: 2px solid #ececec;
  }
  #header #searchform input#searchsubmit {
    position: absolute;
    top: 9px; left: 10px;
    display: block;
    width: 15px; height: 14px;
    margin: 0; padding: 0;
    border: none;
    background: url('../images/button_search-icon.gif') 0 0 no-repeat;
    text-indent: -999%; overflow: hidden;
    cursor: pointer;
  }
    #header #searchform input#searchsubmit:hover { background-position: 0 -14px; }


/**
 * FOOTER
 */

#footer {}

  #footer #subsidiary {
    float: left;
    width: 100%;
    padding: 20px 0;
    background: url('../images/bg_1-1-1-1.gif') 0 0 repeat-y;
    border-bottom: 1px solid #ececec;
  }
    #footer #subsidiary .widgetcontainer {
      float: left;
      width: 200px;
      padding: 0 20px;
      border-bottom: 0;
    }

#footer #siteinfo {
  clear: left;
  overflow: hidden; zoom: 1;
  padding: 20px;
  line-height: 12px;
}
  #footer #siteinfo p {
    float: left;
  }
  #footer #siteinfo p.logo {
    margin-right: 20px;
  }
    #footer #siteinfo p.logo a {
      display: block;
      width: 66px;
      height: 12px;
      text-indent: -999%;
      overflow: hidden;
      background: url('../images/footer-logo.gif') 0 0 no-repeat;
    }
  #footer #siteinfo span.divider {
    padding: 0 0.4em;
  }


/**
 * SIDEBARS
 */

.aside .widgetcontainer {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ececec;
}

.aside .widget_categories ul,
.aside .widget_archive ul,
.aside .widget_popular_tags ul,
.aside .widget_thematic_rsslinks ul {
  overflow: hidden; zoom: 1;
  margin: -6px 0 -17px;
}
  .aside .widget_categories ul li,
  .aside .widget_archive ul li,
  .aside .widget_popular_tags ul li,
  .aside .widget_thematic_rsslinks ul li {
    float: left;
    width: 100%;
    border-bottom: 1px solid #ececec;
  }
  .aside .widget_categories ul a,
  .aside .widget_archive ul a,
  .aside .widget_popular_tags ul a,
  .aside .widget_thematic_rsslinks ul a {
    display: block;
    float: left;
    width: 100%;
    padding: 6px 0;
  }

.aside .widget_about_almega {
  padding-bottom: 0;
  border-bottom: 0;
}

.aside .widget_twitter {
  padding-bottom: 0;
}
  .aside .widget_twitter .entry-meta {
    display: block;
  }
  .aside .widget_twitter .from-meta {
    display: none;
  }

.aside .widget_network_latest_posts {
  padding-bottom: 10px;
}

.aside .widget_almega_archives .archives {
  position: relative;
  float: left;
  width: 100%;
  line-height: 28px;
}
  .aside .widget_almega_archives .archives h4 {
    float: left;
    width: 178px;
    padding: 0 10px;
    background: #fff url('../images/archives-dropdown-icon.gif') 180px 0 no-repeat;
    border: 1px solid #e1e1e1;
    cursor: pointer;
  }
  .aside .widget_almega_archives .archives.active h4 {
    background-position: 180px -28px;
  }
  .aside .widget_almega_archives .archives ul {
    position: absolute;
    bottom: 29px;
    left: 0;
    width: 198px;
    background: #fff;
    border: solid #e1e1e1;
    border-width: 1px 1px 0;
  }
    .aside .widget_almega_archives .archives ul li {
      border-bottom: 1px solid #f1f1f1;
    }
    .aside .widget_almega_archives .archives ul li a {
      padding: 0 10px;
      display: block;
    }
    .aside .widget_almega_archives .archives ul li a:hover {
      background-color: #f1f1f1;
    }

.aside .widget_authors li {
	margin-top: 10px;	
}
	.aside .widget_authors li a {
		margin-left: 10px;
	}
	.aside .widget_authors li img {
		background:none repeat scroll 0 0 #FFFFFF;
		border:1px solid #ECECEC;
		margin-top:4px;
		padding:3px;
	}

/**
 * MAIN CONTENT
 */

.navigation {
  overflow: hidden; zoom: 1;
}
  .navigation#nav-below {
    background: url('../images/horizontal-line.gif') 0 15px repeat-x;
  }
  .navigation .nav-previous,
  .navigation .nav-previous a { float: left; }
  .navigation .nav-next,
  .navigation .nav-next a     { float: right; }
    .navigation .nav-previous a,
    .navigation .nav-next a { margin-top: 28px; }
    .navigation .nav-previous .meta-nav { display: none; }
    .navigation .nav-next     .meta-nav { display: none; }
    .navigation .nav-previous a:before { content: "←"; }
    .navigation .nav-next     a:after { content: "→"; }

.page-intro {
  padding: 0 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #ececec;
}

/**
 * ENTRIES
 */

.hentry {
  position: relative;
}

.not-singular .hentry {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ececec;
}
  .not-singular .first-entry {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

.hentry.with-author-avatar .entry-title,
.hentry.with-author-avatar .entry-meta {
  padding-left: 60px;
}

/* Entry meta */

.entry-meta { margin-top: 8px; }
  .entry-meta p {
    display: inline;
    margin-right: 12px;
  }
    .entry-meta p.entry-date,
    .entry-meta p.entry-tags,
    .entry-meta p.entry-comments {
      padding-left: 19px;
      background: url('../images/entry-meta-icons.gif') no-repeat;
    }
    .entry-meta p.entry-date     { background-position: 0   0px; }
    .entry-meta p.entry-comments { background-position: 0 -20px; }
    .entry-meta p.entry-tags     { background-position: 0 -40px; }
  .entry-meta .meta-label {
    position: absolute;
    top: -999%;
    left: -999%;
  }

  .entry-meta .author-avatar {
    position: absolute;
    top: 30px;
    left: 0;
  }
  .first-entry .entry-meta .author-avatar {
    top: 0;
  }
    .entry-meta .author-avatar img {
      margin-top: 4px;
      padding: 3px;
      background: #fff;
      border: 1px solid #ececec;
    }

