/* 
	k052.css 
	kyyhkynen.net stylesheet v2005.2
	(c) kimmo at kyyhkynen.net 2005

	please don't steal or copy code; for inspirational use only
*/

* { margin: 0; padding: 0; }
html {
	height: 100%;
}
body {
	font-family: Tahoma, Arial, helvetica, sans-serif;
	font-size: 62.5%;
	background: #91c676 url(/images/k052_header_left.gif) repeat-x top left;
	height: 100%;
}

#container {
	position: relative;
	float: right;
	width: 90%;
	height: 100%;
	background: #fff url(/images/k052_content_bg.gif) repeat-y top left;
	text-align: left;
}
body>#container {
	height: auto;
	min-width: 780px;
	min-height: 100%;
}
#container:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

/** header **/

#header {
	position: relative;
	width: 70%;
	float: left;
	background: transparent url(/images/k052_header_bg.gif) no-repeat top left;
	height: 128px;
}
#header h1 {
	position: absolute;
	width: 334px;
	height: 166px;
	background: transparent url(/images/k052_title.gif) no-repeat top left;
	left: 37px;
	top: 17px;
}
#header>h1 { background: none; }
#header h1 a {
	display: block;
	float: left;
	width: 100%;
	height: 100%;
	text-decoration: none;
	letter-spacing: -1000em;
}
/*\*/html>body #header h1 a { letter-spacing: normal; text-indent: -999em; overflow: hidden; background-image: url(/images/k052_title.png); }

/** navigation **/

#header ul {
	display: block;
	position: absolute;
	list-style: none;
	right: 0;
	top: 100px;
	z-index: 5;
}
#header ul li {
	display: block;
	float: left;
	font-size: 1.4em;
	letter-spacing: 0.2em;
	font-weight: bold;
	text-align: center;
}
#header ul li a {
	display: block;
	float: left;
	width: 140px;
	height: 28px;
	line-height: 28px;
	text-decoration: none;
	color: #000;
}
#header ul li a:hover {
	background: transparent url(/images/k052_menu_hover.gif) no-repeat center top;
}
#header ul li>a:hover {
	background-image: url(/images/k052_menu_hover.png)
}
#header ul li a span {
}
.kuvia #header ul li.kuvia, .tekstia #header ul li.tekstia {
	width: 140px;
	background: transparent url(/images/k052_menu_selected.gif) no-repeat center top;
}
.tekstia #header ul li.tekstia {
	margin-right: -2em;
}
.kuvia #header ul li.kuvia {
	margin-left: -2em;
}
.kuvia #header ul>li.kuvia, .tekstia #header ul>li.tekstia {
	background-image: url(/images/k052_menu_selected.png);
}

/** info **/
#header div#info {
	float: right;
	position: absolute;
	right: 0;
	bottom: 33px;
	height: 46px;
	width: auto;
	background: #bfbfbf url(/images/k052_info_bg_l.gif) no-repeat top left;
}
#header div#info p {
	display: block;
	width: 19em;
	text-align: center;
	height: 100%;
	padding: 0 30px;
	background: transparent url(/images/k052_info_bg_r.gif) no-repeat bottom right;
}
#header div#info p strong {
	line-height: 2em;
}

/** content **/

#content {
	display: block;
	float: left;
	clear: both;
	width: 100%;
	background: transparent url(/images/k052_header_line.gif) repeat-x left top;
	margin-top: -33px;
	
}

#leftcol {
	width: 65%;
	float: left;
	padding: 90px 0 50px 0;
	margin-right: 50px;
}
#rightcol {
	position: relative;
	width: 25%;
	float: left;
	padding-top: 10px;
}

/** oikea palsta **/
#rightcol h2 {
	font-size: 1.4em;
	letter-spacing: 0.2em;
	width: 202px;
	text-align: right;
	clear: both;
}

#xmlchatform {
	display: block;
	width: 222px;
	height: 126px;
	background: transparent url(/images/k052_chat_formbg.gif) no-repeat left top;
}
#xmlchatform label {
	margin: 14px 0 -10px 10px;
	float: left;
	clear: both;
	font-size: 1em;
	color: #999;
}
#xmlchatform label span {
	display: block;
	clear: both;
}
#xmlchatform input {
	float: right;
	clear: both;
	margin: 15px 12px 0 0;
	font-size: 1em;
	width: 53px;
	height: 21px;
	padding: 0 0 3px 0;
	background: transparent url(/images/k052_chat_btn.gif) no-repeat left top;
	border: none;
}
#xmlchatform input[disabled] {
	text-decoration: line-through;
}
#xmlchatform input[type="submit"]:hover {
	background-image: url(/images/k052_chat_btn_hover.gif);
}
#xmlchatform label input {
	display: block;
	margin: 0;
	float: left;
	width: 190px;
	height: auto;
	font-size: 1em;
	padding: 3px 4px;
	border: 1px solid #ddd;
	background: #fff url(/images/k052_chat_inputbg.gif) no-repeat left top;
}
#xmlchatoutput {
	font-size: 1.1em;
	width: 20em;
	margin: 10px 0 40px 0;
}
#xmlchatoutput dt {
	position: relative;	
	color: #666;
	padding: 0.8em 0 0.5em 24px;
	background: transparent url(/images/k052_chat_icon.gif) no-repeat left bottom;
}
#xmlchatoutput dt span {
	position: absolute;
	right: 0;
}
#xmlchatoutput dd {
	padding: 0.5em 0 1em;
	background: transparent url(/images/k052_chat_line.gif) repeat-x left bottom;
}
	

/** leipätekstit **/
#leftcol h2 {
	font-size: 1.5em;
	margin-left: 140px;
	margin-bottom: 0.5em;
}
#leftcol h2 a {
	color: #000;
	text-decoration: none;
}
#leftcol h2 a:hover {
	text-decoration: underline;
	color: #666;
}
#leftcol h3 {
	margin: 0 0 0.5em 140px;
	font-size: 1.2em;
	clear: left;
}
#leftcol h4 {
	float: left;
	width: 120px;
	margin-top: -1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.3em;
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: #557246;
}
#leftcol h4 span {
	display: block;
	clear: both;
	font-size: 3.6em;
	line-height: 1.2em;
	margin-top: -0.2em;
}
div.excerpt {
	clear: both;
	margin-bottom: 100px;
}
div.article {
	padding-bottom: 110px !important;
}
div.excerpt p { text-align: justify; }
div.article p { clear: both; }
div.article p.right { text-align: right; }
div.article p, div.excerpt p {
	margin-left: 140px;
	font-size: 1.3em;
	letter-spacing: 0.01em;
	line-height: 1.6em;
	word-spacing: 0.25em;
	/*text-align: justify;*/
	margin-bottom: 1em;
}
div.excerpt p a {
	color: #999;
	text-decoration: none;
	border-bottom: 1px dashed #999;
}
div.excerpt p.go a {
	font-size: 0.8em;
	display: block;
	line-height: 16px;
	padding-left: 20px;
	background: transparent url(/images/k052_page_white_go.gif) no-repeat left center;
	border: none;
}
div.excerpt p a:hover {
	text-decoration: none;
	border-bottom: 1px solid #333;
	color: #333;
}
div.excerpt p.go a:hover {
	text-decoration: underline;
	border: none;
	color: #333;
}
div.excerpt img {
	float: right;
	margin: 5px 15px;
	padding: 5px;
	border: 1px solid #ccc;
	background-color: #eee;
}	
div.excerpt a:hover img {
	border: 1px solid #999;
	background-color: #fff;
}
div.excerpt ul {
	margin-left: 140px;
	font-size: 1.3em;
}
div.excerpt ul li {
	padding: 0 0 0.5em 0.5em;
	margin-left: 1.5em;
}
div.article h2 a {
	font-size: 1.2em;
}
div.article h4 {
}
div.article ul {
	margin: 0 0 1em 180px;
	font-size: 1.2em;
}
div.article p a {
	color: #666;
	text-decoration: none;
	font-weight: bold;
}
div.article p a:hover {
	color: #999;
	text-decoration: underline;
}
div.article img {
	margin: .5em 1em .5em 0;
	padding: 5px;
	border: 1px solid #ddd;
}	
* html div.article img {
	margin: .5em;
}
div.article img[align="right"] {
	margin: 0 .5em .5em 1em;
}
/* marginaalissa oleva kuva */
div.article a.thumb {
	display: block;
	float: left;
	border: 1px solid #ccc;
	background-color: #efe;
	padding: 5px;
	margin: 0 5px;
	width: 109px;
}
div.article a.video { 
	width: 154px;
	background-color: #ffc; 
}
/* tekstin seassa oleva kuva */
div.article p a.thumb {
	margin: 5px 10px 5px 0;
}
div.article a.right {	
	margin: 5px 0 5px 10px !important;
	float: right; 
}
div.article a.thumb img {
	border: 1px solid #000;
	margin: 3px;
	padding: 0;
}
div.article a.thumb img.p {
	margin: 3px 15px;
}
div.article a.thumb span {
	display: block;
	color: #000;
	font-weight: normal;
	word-spacing: normal;
}
div.article p a.thumb span {
	font-size: 0.8em;
	line-height: 1.2em;
	text-align: left;
}
div.article a.thumb:hover {
	text-decoration: none;
	border: 2px solid #000;
	padding: 4px;
	background-color: #fff;
}

/** multipage controls **/
ul#pages1, ul#pages2 {
	list-style: none;
	margin-left: 140px;
	width: auto;
	font-size: 1em;
}
ul#pages1 li, ul#pages2 li {
	display: block;
	font-size: 1.2em;
	color: #999;
}
ul#pages1 a, ul#pages2 a {
	display: block;
	border: 1px solid #663;
	border-color: #cc9 #996 #996 #cc9;
	padding: 3px 6px;
	text-decoration: none;
	color: #333;
}
li.pgStart a { padding-left: 20px !important; background: #ffc url(/images/k052_larr_d.gif) no-repeat 5px 6px; }
li.pgPrev a { padding-left: 16px !important; background: #ffc url(/images/k052_larr.gif) no-repeat 5px 6px; }
li.pgEnd a { padding-right: 20px !important; background: #ffc url(/images/k052_rarr_d.gif) no-repeat 93% 6px; }
li.pgNext a { padding-right: 16px !important; background: #ffc url(/images/k052_rarr.gif) no-repeat 93% 6px; }
* html ul#pages1 a, * html ul#pages2 a { white-space: nowrap; width: 1%; }
ul#pages1 a:hover, ul#pages2 a:hover {
	border-color: #663 #996 #996 #663;
	background-color: #ff9;
	color: #000;
}
li.pgEmpty {
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 3px 6px;
}
li.pgStart, li.pgPrev {
	float: left;
	margin-right: 0.5em;
}
li.pgEnd, li.pgNext {
	float: right;
	margin-left: 0.5em;
}
li.pgNext { margin-left: -15em; }
li.pgEnd { margin-left: -6em; }
ul>li.pgNext { margin-right: 6.5em; }


/** kommentit **/
h3.comments {
	font-size: 1.4em;
	letter-spacing: 0.2em;
	color: #000;
	padding-bottom: 10px;
	text-align: right;
	background: transparent url(/images/k052_chat_line.gif) repeat-x left bottom;
}
ol.comments {
	list-style: none;
}
ol.comments li {
	display: block;
	clear: both;
}
ol.comments p {
	font-size: 1.2em;
	margin-left: 4em;
}
ol.comments li>p {
	padding-top: 0.5em;
}
ol.comments li div {
	color: #ccc;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 5em;
	line-height: 1em;
	float: left;
}
ol.comments li span {
	display: block;
	clear: both;
	text-align: right;
	font-size: 1em;
	font-weight: normal;
	color: #999;
	padding: 1em 0 1em;
	background: transparent url(/images/k052_chat_line.gif) repeat-x left bottom;
}
ol.comments li a {
	color: #999;
	font-weight: bold;
	text-decoration: underline;
}
#txpCommentInputForm {
	margin-top: 1em;
}
* html #txpCommentInputForm {
	margin: 0;
}
#txpCommentInputForm fieldset {
	border: 0;
	padding: 0;
	margin-bottom: 10px;
}
#txpCommentInputForm label {
	font-weight: bold;
	font-size: 0.9em;
	display: block;
	margin: 5px 10px 0 0;
	clear: none;
	float: left;
	color: #f00;
}
#txpCommentInputForm label.msg {
	float: none;
	clear: both;
}
#txpCommentInputForm label span {
	display: block;
	color: #000;
}
#txpCommentInputForm input, #txpCommentInputForm textarea {
	border: 1px solid #999;
	border-color: #999 #ccc #ccc #999;
	padding: 3px;
	font-family: Tahoma, Arial, helvetica, sans-serif;
	font-weight: normal;
	font-size: 1.1em;
	letter-spacing: 0.02em;
	color: #333;
	float: left;
	background: #fff url(/images/k052_chat_inputbg.gif) no-repeat left top;
}
#txpCommentInputForm input.button {
	border-color: #ccc #999 #999 #ccc;
	background: #eee;
	font-weight: bold;
	margin-right: 10px;
}
#txpCommentInputForm input:focus, #txpCommentInputForm textarea:focus {
	border: 1px solid #000;
	background: #efd;
}
#txpCommentInputForm textarea {
	width: 100%;
	height: 8em;
}

/** loppu **/
#footer {
	position: relative;
	float: right;
	width: 90%;
	height: 121px;
	margin-top: -121px;
}

body>#footer {
	position: fixed;
	bottom: 0;
	right: 0;
	min-width: 780px;
	background: transparent url(/images/k052_footer.png) no-repeat left bottom;
}

#footer ul {
	height: 121px;
	background: transparent url(/images/k052_footer.gif) no-repeat left bottom;
	padding-left: 100px;
}
body>#footer ul {
	background: none;
}
#footer li {
	margin-top: 100px;
	margin-right: 3em;
	display: block;
	float: left;
}
#footer li a {
	text-decoration: none;
	color: #557246;
}
#footer li a:hover {
	color: #ef9;
}