/*
Theme Name: JoWe2010
Theme URI: http://www.westenhoefer.de
Description: Theme für Joachim Westenhöfer
Author: Daniel Siemssen
Version: 0.2

based on twentyten
*/

@import url(css/reset.css);
@import url(css/basic.css);


/* =Structure
-------------------------------------------------------------- */

body {
  background: #ffff9a;
}
#wrapper {
  margin-left: 10px;
  width: 970px;
}
#header {
  height: 91px;
  margin: 12px 0 18px 110px;
  width: 850px;
}
#main {
  width: 960px;
  margin-right: 10px;
}
#container {
  float: right;
  width: 628px;
  border: 1px solid #ffd933;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  background: #fff;
}
#container.wide {
  width: 838px;
}
#sidebar {
  float: right;
  overflow: hidden;
  width: 210px;
  margin: 12px 0px;
}

/* =Header
-------------------------------------------------------------- */

#header {
  background: #ffff9a url(images/header_bg.png) no-repeat 10px 13px;
}
#branding {
  margin-right: 18px;
  float: left;
}
#branding img {
  display: block;
  height: 0;
  width: 302px;
  padding-bottom: 91px;
  background: url(images/header_logo.png) no-repeat;
}


/* =Menu
-------------------------------------------------------------- */

#access {
  margin: 13px 10px 0;
  display: block;
  float: right;
}
#nav {
  list-style: none;
}
#nav li {
  margin: 0 8px;
  float: left;
}
#nav a {
  overflow: hidden;
  position: relative;
  display: block;
  height: 65px;
  border: none;
}
#nav span {
  background: url(images/navigation.png) no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
}
#nav .profile { width: 38px; }
#nav .profile span { background-position: 0px 0px; }
#nav .profile a:hover span,
#nav .profile a:focus span,
#nav .profile a:active span { background-position: 0px -65px; }
#nav .profile.current_page_item a span,
#nav .profile.current-page-ancestor a span { background-position: 0px -130px; }
#nav .news { width: 68px; }
#nav .news span { background-position: -38px 0px; }
#nav .news a:hover span,
#nav .news a:focus span,
#nav .news a:active span {  background-position: -38px -65px; }
#nav .news.current_page_item a span,
#nav .news.current-page-ancestor a span { background-position: -38px -130px; }
#nav .teaching { width: 41px; }
#nav .teaching span { background-position: -106px 0px; }
#nav .teaching a:hover span,
#nav .teaching a:focus span,
#nav .teaching a:active span { background-position: -106px -65px; }
#nav .teaching.current_page_item a span,
#nav .teaching.current-page-ancestor a span { background-position: -106px -130px; }
#nav .research { width: 75px; }
#nav .research span { background-position: -147px 0px; }
#nav .research a:hover span,
#nav .research a:focus span,
#nav .research a:active span { background-position: -147px -65px; }
#nav .research.current_page_item a span,
#nav .research.current-page-ancestor a span { background-position: -147px -130px; }
#nav .contact { width: 57px; }
#nav .contact span { background-position: -222px 0px; }
#nav .contact a:hover span,
#nav .contact a:focus span,
#nav .contact a:active span { background-position: -222px -65px; }
#nav .contact.current_page_item a span,
#nav .contact.current-page-ancestor a span { background-position: -222px -130px; }


/* =Content
-------------------------------------------------------------- */

#main {
  overflow: hidden;
  margin-bottom: 18px;
}
#content {
  margin: 11px 17px;
}
.page-title {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: bold;
}
.page-title span {
  font-weight: normal;
}
.entry-title a:link, .entry-title a:visited {
  color: #000;
  border: none;
}
.entry-title a:active, .entry-title a:hover, .entry-title a:focus {
  color: #d40000;
}
.entry-content,
.entry-summary {
  clear: both;
  padding: 0;
}
.page-link, .year-link {
  font-weight: bold;
  text-align: center;
}
.page-link a:link, .year-link a:link,
.page-link a:visited, .year-link a:visited {
  background: #eee;
  color: #333;
  font-weight: normal;
  padding: .25em .5em;
  margin: 0 .2em;
  border: none;
}
.page-link a:active, .year-link a:active,
.page-link a:hover, .year-link a:hover {
  color: #d40000;
}
.left-120, .left-80 {
  border-color: #ffd933;
  border-style: solid;
  border-width: 1px 0 1px 1px;
  -moz-border-radius: 2px 0 0 2px;
  -webkit-border-radius: 2px 0 0 2px;
  -khtml-border-radius: 2px 0 0 2px;
  border-radius: 2px 0 0 2px;
  background-color: #ffe665;
  float: left;
  font-size: 20px;
  line-height: 26px;
  overflow: none;
  padding: 0 5px;
  text-align: center;
}
.left-120 {
  margin-left: -138px;
  width: 109px;
}
.left-80 {
  margin-left: -98px;
  width: 69px;
}
.col-left {
  width: 385px;
  margin-right: 17px;
  float: left;
}
.col-right {
  width: 385px;
  margin-left: 17px;
  float: right;
}

ul.publications {
  list-style: none;
}
ul.publications li {
  margin: 1em 0;
}
.pub-title {
  font-size: 16px;
  font-weight: bold;
}
.pub-authors {
  font-style: italic;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
	overflow: hidden;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}


/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
  list-style: none;
  margin-left: 0;
}
.widget-container {
  margin: 0 0 18px 0;
}
.widget-area a {
  border: 0;
}
.widget-container ul {
  padding: 0 18px 0 0;
}
.widget-container ul ul {
  padding: 0;
}
.widget-container ul li {
  margin: 0;
  padding-left: 18px;
  background: url(images/dot.png) 7px 8px no-repeat;
}
.widget-title {
  background: #ffe665;
  border-color: #ffd933;
  border-style: solid;
  border-width: 1px 1px 1px 0;
  -moz-border-radius: 0 2px 2px 0;
  -webkit-border-radius: 0 2px 2px 0;
  -khtml-border-radius: 0 2px 2px 0;
  border-radius: 0 2px 2px 0;
  color: #222;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 3px;
  padding: 0 18px;
}

.widget-container .textwidget {
  padding: 0 0 0 18px;
}

#widget-subpages ul li.current {
  background: url(images/arrow_li.png) 5px 7px no-repeat; 
}
#widget-subpages h3.current {
  background: #ffe665 url(images/arrow_h.png) 5px 7px no-repeat;
}
#widget-subpages .current a, #widget-subpages .current .children a:hover {
  color: #a00;
}
#widget-subpages .current .children a {
  color: #500;
}

/* Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
  -webkit-text-size-adjust: 140%;
}

code {
  -webkit-text-size-adjust: 160%;
}

#access, .entry-meta, .entry-utility, .widget_search label, .navigation, .widget-area {
  -webkit-text-size-adjust: 120%;
}


/* =Print Style
-------------------------------------------------------------- */

@media print {
  body {
    background: none;
  }
  #wrapper {
    float: none;
    clear: both;
    display: block;
    position: relative;
    margin: 0;
    width: 838px;
  }
  #header {
    background: none;
    margin: 0 0 64px;
  }
  #main {
    margin: 0;
    width: 838px;
  }
  #container {
    border: none;
    float: none;
  }
  #branding {
    margin: 0;
    float: none;
  }
  #branding img {
    background: transparent;
    height: 91px;
    padding: 0;
  }
  #access,
  #respond,
  .edit-link,
  .navigation,
  .page-link,
  .widget-area {
    display: none;
  }
  .left-120, .left-80 {
    float: none;
    border: none;
    background: transparent;
    margin: inherit;
    padding: inherit;
    text-align: left;
    width: auto;
  }
}
