/*  
Theme Name: MiinaKajos.net
Theme URI: http://www.miinakajos.net/
Description: Theme for miinakajos.net
Version: 0.1
Author: Ilkka Rinne
Author URI: http://www.kuvitelmaa.net/

/* Taustan asetukset */
  body {
    margin: 0px;
    color: black;
    background-color: white;

    /* Ei "tapetoida" taustakuvalla, vaikka selaimen ikkuna olisi kuinka iso */
    background-repeat: no-repeat;

    /* Ei liikuteta taustakuvaa skrollattaessa */
    background-attachment: fixed;

    font-family: Palatino, Arial, Helvetica, sans-serif;
   	font-size: 90%;
  }
  
  /* Otsikkopalkki */
  div.title {
    position: absolute; left: 0px; top: 0px;
    width: 100%;
    height: 3em;
    color: rgb(230,230,230);
    background-color: rgb(150,20,20);
    overflow: hidden;
  }

  div.title div.backdrop {
    position: absolute;
    right: -40px;
    top: -25px;
    z-index: -1;
    font-size: 700%;
    background-color: inherit;
    color: rgb(165,35,35);
    white-space: nowrap;
  }

  /* Navigointipalkki */
  div.menu {
    position: absolute; right:0px; top: 3em;
    min-width:10em;
    max-width:15em;
    width: 25%;
    height: 85%;
    line-height: 130%;
    font-size: 100%;
    padding-left: 1em;
    padding-bottom: 2em;
    margin-top: 0px;
    border-left-style: dashed;
    border-left-width: 1px;
    border-left-color: rgb(150,20,20);
    background-color: white;
  }

   div.menu a {
    text-decoration:none;
    color: rgb(20,20,120);
   }

  div.menu .page_item a {
    font-weight: bold;
    color: rgb(75,75,100);
    background-color: inherit;
  }

div.menu li a {
  color: rgb(65,65,90);
  background-color: white;
  font-weight: normal;
}

  div.menu li.current_page_item a {
    text-decoration: none;  
    color: rgb(120,20,20);
    background-color: rgb(240,240,240);
    font-weight: bold;
    margin-left: 0px;
    padding-left: 0px;
    border-left-style: solid;
    border-left-width: 0px;
    border-left-color: rgb(150,20,20);
  }

div.menu li.page_item ul a {
  color: rgb(65,65,100);
  background-color: white;
  font-weight: normal;
}

div.menu li.page_item ul li.current_page_item a {
   color: rgb(120,20,20);
   background-color: rgb(240,240,240); 
}

div.menu li.current_page_item ul {
  margin-top: 0px;
  margin-bottom: 0.5em; 
}

div.menu li.current_page_item ul li {
  margin-top: 0px;
  margin-bottom: 0px;
}

div.menu li.page_item ul {
  margin-top: 0px;
  margin-bottom: 0.5em; 
}

div.menu li.page_item ul li.current_page_item {
  margin-top: 0px;
  margin-bottom: 0px;
}

  div.menu div.banners {
     position: relative;
     left: 0px;
     font-size: small;
  }

  
   div.menu ul li ul {
     /*margin:10px;*/
   }

  /* Varsinainen sivun sisältö */
  div.content {
    position: absolute; 
    left: 0px; 
    top: 3em;
    min-width: 32em;
    width: 65%;
    max-width: 60em;
    padding-right: 1em;
    padding-left: 3em;
    padding-top: 1em;
    padding-bottom: 2em;
    text-align: justify;
    color: rgb(20,20,20);
    background-color: inherit; 
    overflow: hidden;
  }

  div.content a {
    text-decoration:none;
    color: rgb(20,20,120);
    background-color: rgb(240,240,240);
  }

  div.content a:hover {
    text-decoration: underline;
  }


  div.content p {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
    padding-top: 0px;
    padding-bottom: 0px;
    line-height: 132%;
  }

  div.title h1 {
    font-variant: small-caps;
    margin-top: 0.3em;
    margin-bottom: 1em;
    margin-left: 0.5em;
    font-size: 170%;
  }

  div.title h1 a {
    text-decoration: none;
    color: rgb(230,230,230);
    background-color: rgb(150,20,20);
  }

  div.content h2 {
    clear: both;
    margin-top: 1em;
    margin-bottom: 0.5em;
    margin-left: 0px;
    font-size: 120%;
    text-align: left;
  }

 div.content h3 {
    clear: both;
    margin-top: 1em;
    margin-bottom: 0.5em;
    margin-left: 0px;
    font-size: 100%;
  }

  div.menu h2 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    margin-left: 0px;
    font-size: 100%;
    color: rgb(75,75,80);
  }

 div.menu h2 a {
    color: rgb(75,75,80);
  }

 div.menu h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    margin-left: 0px;
    font-size: 100%;
    
  }
  
 td#aboutme {
    vertical-align: top;  
    background-color: rgb(245,245,245);
    text-align: left;
    width: 50%;
    margin-right: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
  }

 td#aboutme p {
    padding-top: 0px;
    margin-top: 0px;
  }

 td#highlights {
    text-align: left;
    clear: both;
    vertical-align: top;
    background-color: white;
    width: 100%;
  }

 td#latest {
    vertical-align: top;
    text-align: left;
    margin-top: 1em;
    padding-left: 1em;
    width: 50%;
  }
 td#latest ul {
   margin-left: 0px;
   padding-left: 0px;
 }
 
 td#latest ul li {
	margin-bottom: 1em;
	list-style-type:none;
	margin-left: 0px;
 }
 td#latest a {
    background-color: white;
 }
 td#home_footer {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: black;
 	vertical-align: top;
    margin-top: 0.5em;
    margin-bottom: 2em;
    padding-left: 1em;
    padding-right: 1em;
 }

div.image_left {
  float: left;
  margin-left: 0px;
  margin-right: 5px;
  margin-top: 0px;
  margin-bottom: 1em;	  
}

div.image_left img {
  margin-left: 0px;
  margin-right: 3px;
  margin-bottom: 3px;
}

div.image_left span {
  display: block;
  font-size: smaller;
  font-weight: normal;
  margin-bottom: 5px;
  margin-right: 2px;
}

div.image_right {
  float: right;
  margin-right: 0px;
  margin-left: 5px;
  margin-top: 0px;
  margin-bottom: 1em;	  
}

div.image_right img {
  margin-right: 0px;
  margin-left: 3px;
  margin-bottom: 3px;
}

div.image_right span {
  display: block;
  font-size: smaller;
  font-weight: normal;
  margin-bottom: 5px;
  margin-left: 2px;
}

div.image {
  margin-right: 0px;
  margin-left: 5px;
  margin-top: 0px;
  margin-bottom: 1em;	  
}

div.image img {
  margin-left: 0px;
  margin-right: 3px;
  margin-bottom: 3px;
}

div.image span {
  display: block;
  font-size: smaller;
  font-weight: normal;
  margin-bottom: 5px;
  margin-left: 2px;
}
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

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

.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;
	}
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar-container {
       float: left;
       padding-right: 0.5em;
       padding-bottom: 1em;
}

#wp-calendar-container-menu {
       position: absolute; right: 0px;top:3em;
	border-left-style: dashed;
    border-left-width: 1px;
    border-left-color: rgb(150,20,20);
    background-color: white;
       padding-left: 1em;
       padding-bottom: 1em;
       min-width:10em;
       max-width:15em;
       width: 25%;
       text-align: left;
}
#wp-calendar-container-menu h3 {
	margin-bottom: 0.5em;
	font-size: 100%;
	font-weight: bold;
	margin-top: 0.2em;	
}

#wp-calendar-container-menu a {
    text-decoration: none;
}

#wp-calendar-container-menu h3 a {
	color: rgb(65,65,90);	
  	background-color: white;
	text-decoration: none;
}

#wp-calendar {
        padding: 10px;
        padding-right: 1em;
        background-color: rgb(240,240,240);
}

#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

div.postmetadata {
	clear: left;
        font-size:80%;
        background-color: rgb(245,245,245);
        padding-top: 1em;
        padding-left: 1em;
        padding-right: 1em;
        padding-bottom:1em;
}
div.postmetadata p {
   margin-bottom: 0px;
}

div.postmetadata a {
  background-color: inherit;
}	

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
	}

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
div.menu ul, div.menu ul ol {
	margin: 0;
	padding: 0;
	}
 
div.menu ul li.page_item {
     margin-left:0px;
}

div.menu ul li {
	list-style-type: none;
	list-style-image: none;
        margin-left:0.5em;
	margin-bottom: 0.2em;
	}

div.menu ul p, div.menu ul select {
	margin: 5px 0 8px;
	}

div.menu ul ul, div.menu ul ol {
	margin: 5px 0 0 10px;
	}

div.menu ul ul ul, div.menu ul ol {
	margin: 0 0 0 10px;
	}

ol li, div.menu ul ol li {
	list-style: decimal outside;
	}

div.menu ul ul li, div.menu ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
	
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: left;
        white-space: nowrap;
	}

div.menu #searchform #s {
	width: 8em;;
	padding: 2px;
	}

div.menu #searchsubmit {
	padding: 1px;
        border-style: solid;
        border-color: rgb(180,180,180);
        border-width: 1px;
        background-color: rgb(245,245,245);
        color: rgb(80,80,80);
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
        border-style: solid;
        border-width: 1px;
        border-color: rgb(80,80,80);
        color: rgb(80,80,80);
        background-color: rgb(245,245,245);
	}
	
.alt {
	margin: 0;
	padding: 10px;
	}

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

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

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */

acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}							
}

p.signature {
  text-align: left;
  font-style: italic;
  margin-left: 2em;
}

.serif {
  font-variant: small-caps;
  font-size: 80%;  
  text-align:right;
}
#bannerform td {
  text-align:left;
}
