/* style.css by H.J. Davey 02/2007 For use with the html file "tutorial.html"
/* Normalizes margin, padding */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td
{ margin : 0; padding : 0; }

/* Normalizes font-size for headers */
h1,h2,h3,h4,h5,h6 { font-size : 100%; }

/* Removes list-style from lists */
ol,ul { list-style : none; }

/* Normalizes font-style and font-weight to normal */
address, caption, cite, code, dfn, em, th, var
{ font-style : normal; font-weight : normal; }

/* Removes list-style from lists */
table { border-collapse : collapse; border-spacing : 0; }

/* Removes border from fieldset and img */
fieldset,img { border : 0; }

/* Left-aligns text in caption and th */
caption,th { text-align : left; }

/* Removes quotation marks from q */
q:before, q:after { content :''; }

/* This sets the font weight to start with.*/

h1,h2,h3,h4,p,a,li{
	font-weight:normal;
}
img.logo {
  position: absolute;
  left: 25px;
  top: 50px;
}

/* Try insofar as possible to set all font sizes here.
----- use em rather than px to allow more flexable font size changes in the browser */
h1{font-size: 1.2em; padding: 2px 2px;}
h2{font-size: 0.9em;}
h3{font-size: 0.8em;}
h4{font-size: 0.8em;}
p{font-size: 0.8em;}
li{font-size: 0.8em;}


html{
	/* This sets the font styles for the entire html file.*/
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
body{
	/* this sets the overall page width to a fixed 770px */
	/* float: left; */
	/* text-align:left;   */
	width: 100%px;
  height: 100%px;
	background:#FFF;  /* the sets the background color url(images/bg.gif) repeat-y fixed */
	color: Black; /* this sets the type color for this div and it's children */
}

/* ===== BRANDING ===== */
div#branding{
  height:194px;
	background: #FFF url(images/banner_bg.gif);
}

/***************************************************
  Header Menu
 ***************************************************/

#menu {/* this 'box' holds the menu */
/*   left: 20px;    */
   padding-left: 5%;
   width: 95%;
   padding-top: 2px;
   padding-bottom: 2px;
/*   height: 20px; */
/*   text-align: center;  all the menu items are left aligned in the 'box' */
   background-color: #f0d48a;
   background: url(images/naviBG.jpg);
}
#menu li {
/*	text-align: left;  */
/*  margin: 8px 8px 8px 8px;  */
	font-size: 0.7em;
}
/*
#menu li a {
  background: url(images/buttonBG.gif);
  margin: 8px 8px 8px 8px;
}
#menu li a:hover {
  background: url(images/buttonBG_hover.gif);
  margin: 8px 8px 8px 8px;
}
*/
#menu ul li {
  /* lets the menu item buttons be sized as needed for menu title*/
  /* width: 3em; */   /* if un-commented will set menu buttons to fixed width */
  display: inline; /* make this a horizontal menu */
  /*  left:10px; /* holds the menu 'box' to the left edge of the body div. Not really needed here.*/
  list-style: none; /* no decoration on menu items.*/
  /*  text-transform: uppercase;  */
  font-size: 0.7em;
  /*  background:Black;  */
  /* spacing between menu items  experiment with this*/
  /*  color:Black; /* font color for the menu items */
  /*  background-color: #9b92c6;   */
}
#menu ul li a{
  background: #888888; /* url(images/buttonUpperBG.gif); */
  text-align: left;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 1px;
  padding-bottom: 1px;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
  margin-right: 3px;
/*  position: relative; */
/*  left: 20px;  */
/*  padding: 2px 20px;     */
/*  margin: 0.1cm 0.1cm 0.1cm 0.5cm;  */
/* background-color: #b09b71; */
  color: White;
}
#menu ul li a:visited{
  background: #888888; /* url(images/buttonUpperBG.gif); */
  text-align: left;
  text-decoration: none;
  color: White;
  width: auto;
}
#menu ul li a:hover{
  background: #c31945; /* url(images/buttonUpperBG.gif); */
  text-align: left;
  text-decoration: none;
  color: White; /* color of menu items when mouse-over */
  width: auto;
/* background-color: #b09b71; */
}
	/* ===== Navigation-side (Vertical orientation - defaults to block) ===== */
  /* ===== Navigation-side ===== */
#navigation ul {
	list-style: none;
	margin: 2px 2px;
 }
#navigation li {
/*	text-align: left;  */
	margin: 2px auto;
/*	text-transform: uppercase;  */
	font-size: 0.8em;
	padding:2px;
/*	background: url(images/buttonBG.gif); */
	width: 80%;
}
#navigation li:hover {
/*	text-align: left;  */
	margin: 2px auto;
/*	text-transform: uppercase;  */
	font-size: 0.8em;
	padding:2px;
/*	background: url(images/buttonBGhover2.gif); */
	width: 80%;
}
#navigationleft ul {
	list-style: none;
	margin: 2px 2px;
 }
#navigationleft li {
/*	text-align: left;  */
	margin: 2px auto;
/*	text-transform: uppercase;  */
	font-size: 0.8em;
	padding:2px;
/*	background: url(images/buttonBG.gif); */
	width: 80%;
}
#navigationleft li:hover {
/*	text-align: left;  */
	margin: 2px auto;
/*	text-transform: uppercase;  */
	font-size: 0.8em;
	padding:2px;
/*	background: url(images/buttonBGhover2.gif); */
	width: 80%;
}
/*#navigation li a {
  background: url(images/buttonBG.gif);
	margin: 2px auto;
	padding:2px;
	width: 200px;
}
#navigation li a:hover {
  background: url(images/buttonBGhover2.gif);
	margin: 2px auto;
	padding:2px;
	width: 200px;
}
#navigation li a:visited {
  background: url(images/buttonBG.gif);
	margin: 2px auto;
	padding:2px;
	width: 200px;
}  */
#navigation a {
	text-decoration: none;
/*	position: relative;  */
/*  left: 15px;   */
  color: #c31945;
}
#navigation a:hover {
  text-decoration: underline;
  background: #c31945;
  color: white;
}
#navigationleft a {
	text-decoration: none;
/*	position: relative;  */
/*  left: 15px;   */
  color: #c31945;
}
#navigationleft a:hover {
  text-decoration: underline;
  background: #c31945;
  color: white;
}
/* ===== CALENDER ===== */


/* ===== CONTENT ===== */

div#content-main{
  margin-top: 30px;
  margin-right: 250px;
  margin-left: 220px;
/*	width:520px;    */
}

div#content-sub{
/* float:right; */
float: right;
/* left: 520px; */
/* top: 225px; */
width: 200px;
margin-left: 20px;
margin-top: 30px;
background: url('images/reunagrafiikka.gif');
height: 300px;
}
/* 10logo sijoittelu */
div#content-sub img{
margin:10px 0px 0px 20px;
}

div#content-subleft{
/* float:right; */
float: left;
/* left: 520px; */
margin-top: 30px;
width: 200px;
background: url('images/reunagrafiikka2.gif');
height: 500px;
}

/* 10logo sijoittelu */
div#content-sub img{
margin:10px 0px 0px 20px;
}

div#content-main h2{
	background: #888888;
	}
div#content-sub h2{
	background: #888888;
	}
div#content-main h2, div#content-sub h2{
	/*text-transform:uppercase;*/
	position: relative;
	left: -10px;
	padding: 8px 8px 8px 22px;
	text-align:left;
/*	letter-spacing: 0.1em;   */
	font-size: 0.9em;
	color: #844924;
	margin: 0 0;
	background: url(images/headerbg.gif) repeat-y;
	}
	div#content-main h3, div#content-sub h3{
/*	text-transform:uppercase;  */
	padding: 8px 0;
	text-align:left;
	font-weight: bold;
/*	letter-spacing: 0.1em;  */
/*	background: #666666;   */
	font-size: 0.9em;
	color: #888888;
  margin: 0 4px;
	/*padding: 0 30px;*/
	}
div#content-main p,div#content-sub p{
	margin:0;
	padding:5px 8px 15px;
	/*font-size: 0.7em;*/
}
.tyyli1{
  background: #999999;
/*	padding:5px 8px 15px;  */
	/*font-size: 0.7em;*/
	color: white;
	width: auto;
	float: none;
	}
/* ===== comments ===== */
div.comments div{
	background: #EEEEEE;
	padding: 4px 3px;
	margin-bottom:10px;
	}
div.comments div.odd{
	background:#E7EEF8;
}
div.comments p{
	padding: 10px;
	margin:0;
}
	/* =====================================================
div#content-main-title div,div#content-sub-title div{
	border:2px solid #1FA8EF;
	}	====================================================*/
/* ===== Site Info ===== */
div#site-info{
	clear:both;
	width: 100%;
	background: #B0D5E5;
	padding:15px 0;
	text-align:center;
	}
div#site-info p{
	/*font-size: 0.6em;*/
}
/* ===== navbar ===== */
#navbar {
	margin-top: 10px;
}
/* ===== Breadcrumbs ===== */
#breadcrumbs {
	width: auto;
	height: .6em;
	font-size: .6em;
	color: Black;
}
/* ===== Journal post template styles ===== */

#post-style {
  float: left;
  width: 460px;
  margin: 20px 0 0 0;
  padding: 0 0 0 1em;
  line-height: 1.5em;
  background-color: #F5F5DC;
  overflow: hidden;
  }
h2.date-header {
  margin-top: 0;
  padding-left: 14px;
  font-size: 90%;
  color: #ff9933;
  }
.post-text h3 {
  margin-top: 0;
  font: normal bold 130% 'Lucida Grande','Trebuchet MS';
  letter-spacing: -1px;
  color: #ff6633;
  }
.post-text {
  margin: 0 0 1.5em 0;
  padding: 0 0 1.5em 14px;
  border-bottom: 1px solid #ddd;
  }
.post-text h3 a,
.post-text h3 a:visited {
  color: #ff6633;
  text-decoration: none;
 }
.post-footer {
  margin: 0;
  padding: 0 0 0 14px;
  font-size: 88%;
  color: #999999;
}
.iframeholder {
  position: absolute;
  float:left;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.floatright {
  float: right;
}
.kuvakehyksella {
  float: right;
  border: 1px solid #cccccc;
  padding: 2px;
  margin: 7px;
  width: auto;
  font-size: 0.7em;
}

.sitaatti {
  border: 1px solid #000000;
  padding: 2px;
}
.tarppiloota {
width:auto;
background-color: #CCCCCC;
display: inline;
}


/* ========== End of CSS Styling ========== */
