/*
Theme Name: HSOY
Theme URI: http://www.hsoyry.fi/
Description: Theme for HSOY
Version: 1.0
Author: Markus Koljonen
Author URI: http://iki.fi/markus.koljonen/
Tags: blue, black, cyan, fixed width, three columns
*/


/* colours

Light blue: #189df3

*/

* {
  margin: 0;
  padding: 0;
}
html {
}
body {
  width: 1060px;
  margin: 0 auto; /* center content */
  background: url(graphics/background-top.png) black repeat-x top left;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: smaller;
  line-height: 140%;
  letter-spacing: .2px;
  color: white;
}
#container {
}
#header {
  width: 747px;
  height: 235px;
  background: url(graphics/hsoy-logo-header.png) transparent no-repeat top left;
}
#header h1, #header h2 {
  text-indent: -5000px; /* Hide text without making it unselectable */
}
#header h1 {
  height: 205px;
}
#header h2 {
  height: 0; margin: 0;
}

/* General */

a {
  color: #189df3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  color: #189df3;
}
h2 {
  clear: both;
  font-size: 200%;
  line-height: 115%;
  margin: .6em 0 .8em 0;
  text-align: center;
  letter-spacing: 1px;
}
h3 {
  font-size: 130%;
  margin: .8em 0 .6em 0;
  letter-spacing: .5px;
}
p {
  margin-bottom: .5em;
}
div.hr {
  margin: 14px auto 10px auto; /* Center */
  width: 47px;
  height: 16px;
  border-width: 0;
  background: url(graphics/blue-ornament.png) transparent no-repeat top left;
}
img {
  padding: 4px;
  border: #052031 1px solid;
}

/* 1st level navigation menu */

#menu {
/*
  text-align: center;
  margin: 0 auto;
  border: 1px red solid; */
  margin-left: 62px;
}
#menu ul {
/*  margin: 0 auto;
  border: 1px green solid; */
}

/* unselected */
#menu li {
  display: block;
  float: left;
  list-style-type: none;
  background: url(graphics/navi-aqua-right-top.png) transparent no-repeat top right;
  margin-bottom: 20px;
  margin-right: 5px;
}
#menu li a {
  display: block;
  color: white;
  letter-spacing: .5px;
  text-decoration: none;
  background: url(graphics/navi-aqua-right-bottom.png) transparent no-repeat bottom right;
}
#menu li a span {
  display: block;
  background: url(graphics/navi-aqua-left-top.png) transparent no-repeat top left;
}
#menu li a span span {
  display: block;
  padding: 4px 12px;
  background: url(graphics/navi-aqua-left-bottom.png) transparent no-repeat bottom left;
}

/* selected & hover */
#menu li.current_page_item, #menu li.current_page_ancestor, #menu li:hover {
  background: url(graphics/navi-red-right-top.png) transparent no-repeat top right;
}
#menu li.current_page_item a, #menu li.current_page_ancestor a, #menu li:hover a {
  background: url(graphics/navi-red-right-bottom.png) transparent no-repeat bottom right;
}
#menu li.current_page_item a span, #menu li.current_page_ancestor a span, #menu li:hover a span {
  background: url(graphics/navi-red-left-top.png) transparent no-repeat top left;
}
#menu li.current_page_item a span span, #menu li.current_page_ancestor a span span, #menu li:hover a span span {
  background: url(graphics/navi-red-left-bottom.png) transparent no-repeat bottom left;
}

/* Columns */

#content {
  float: left;
  position: relative;
  margin: 0 auto; /* Center */
}
#sidebar1, #main, #sidebar2 {
  background: url(graphics/content-background-right.png) transparent no-repeat top right;
  float: left;
}
.column {
  background: url(graphics/content-background-left.png) transparent no-repeat top left;
  padding: 10px;
  min-height: 318px; /* Make sure the background gradient isn't cut off */
}
/* for Internet Explorer */
/*\*/
* html .column {
height: 318px;
}
/**/
#sidebar1 {
  margin-left: 60px; /* Room for the photo */
  margin-bottom: 183px; /* Room for the nightflowers */
}

#sidebar1 .column, #sidebar2 .column {
  width: 220px;
}
#main .column {
  width: 460px;
}
#main {
  margin-right: 10px;
  margin-left: 10px;
}

/* Right sidebar */

#sidebar2 h3 {
  padding-left: 25px;
  font-size: 130%;
  text-align: left;
}
#ajankohtaista {
  background: url(graphics/alarm-icon.png) transparent no-repeat left 50%;
}
#uusin-blogiviesti {
  background: url(graphics/quill-icon.png) transparent no-repeat left 50%;
}
#sidebar2 ul {
  list-style-type: none;
}

a.bloglink {
  color: white !important;
  display: block;
  padding: 3px 8px;
}
a.bloglink:hover {
  text-decoration: none;
  background-color: #01202f;
}
.credits {
  text-align: center;
}

/* Center */

#main ul, #main ol {
  margin-left: 1.5em;
}

/* Left sidebar */

#submenu {
  text-align: center;
  font-size: 110%;
  margin-top: 10px;
}
#submenu li {
  margin-bottom: 2px;
}
#submenu a {
  display: block;
  padding: 3px;
}
#submenu .current_page_item {
  background-color: #011823;
}
#submenu li:hover {
  background-color: #01202f;
}
#submenu a:hover {
  color: #ddf2ff;
  text-decoration: none;
}

#sidebar1 h2 {
  display: none;
}
#sidebar1 ul {
  list-style-type: none;  
}
#sidebar1 img.profile {
  float: left;
  position: relative;
  right: 100px;
  bottom: 20px;
  margin-right: -100px;
  margin-bottom: -30px;
  border: 0;
}
.contentbox {
  margin-top: 1em;
}
#links {
  margin-top: 20px;
  text-align: center; 
}
#links a img {
  border-width: 0;
  margin-bottom: 10px;
}

/* Individual pages */

#post-2 h2 {
  display: none;
}
#post-2 .entry h2 {
  display: block;
}
.postmetadata {
  color:  #052031;
  margin-top: 1em;
  padding-top: .5em;
  font-size: 90%;
  border-top: #052031 1px solid;
}
.blognavi {

}
.blognavi .previous {
  width: 47%;
  float: left;
  text-align: right;
}
.blognavi .next {
  width: 47%;
  float: right;
  text-align: left;
}
.bloglinkdate {
  color: #189df3;
}
a:hover .bloglinkdate {
  
}
