*{
	margin: 0;
	padding: 0;
	font-family: Arial;
	line-height:150%;
}

body
{
	font-size:76%;
  background-color: #efefef;
  margin: 0;
  margin-bottom:20px;
/*background:url('http://dev.script.kodinx.fi/new/bg.png');*/
}

body, div#wrapper
{
/*	background-color:#FFF;*/
}

ul, ul li
{
list-style:none; 
}

img
{
border:0;
}

p
{
margin-bottom:10px;
}

h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a
{
/*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
	color: #333;
}

h1 a, h2 a, h3 a, h4 a, a, .jsaction
{
  color: #824A1D;
}

h1
{
font-size:24px;
}

h2
{
font-size:20px;
}

h4
{
font-size:16px;
}

a, .jsaction
{
	text-decoration:underline;
	font-weight:bold;
	cursor:pointer;
}

a:hover, .jsaction:hover, div#footer ul li a:hover
{
  color:#000;
}

#fade { /*--Transparent background layer--*/
	display: none; /*--hidden by default--*/
	background: #000;
	position: fixed; left: 0; top: 0;
	width: 100%; height: 100%;
	opacity: .80;
	z-index: 9999;
}

#popup h1
{
	border-bottom:1px dotted #999;  
}

.popup_block{
	display: none; /*--hidden by default--*/
	background: #fff;
/*	border:20px solid #FFF;*/
	padding: 20px;
	float: left;
        font-size:16px;
	position: fixed;
	top: 50%; left: 50%;
	/*top:0;left:50%;*/
  border:2px solid #FFF;
	margin:0px auto;
	z-index: 99999; 
/*
	-webkit-box-shadow: 0px 0px 20px #FFF;
	-moz-box-shadow: 0px 0px 20px #FFF;
	box-shadow: 0px 0px 20px #FFF;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
*/
}
img.btn_close {
	float: right;
	margin: -55px -55px 0 0;
}
/*--Making IE6 Understand Fixed Positioning--*/
*html #fade {
	position: absolute;
}
*html .popup_block {
	position: absolute;
}





label
{
  display:inline;
  font-weight:bold;
  margin-right:6px;
}

input, textarea
{
  margin-top:2px;
  margin-bottom:2px;
  font-size:12px;
  padding:1px;
  letter-spacing:1px;
  border:1px solid #CCC;
}

textarea
{
/*  font-style:italic;  */
}

input.error, textarea.error
{
  border:1px dotted red;
}

input.text
{
/*width:188px;*/
}

input.tagged, textarea.tagged
{
  color:#ccc;
}

input.ok
{
  float:left;
  margin-right:10px;
}

input.cancel
{
  float:right;
  margin-right:0;
}
/*
input.cancel:hover
{
  	-webkit-box-shadow: 0px 0px 10px red;
	-moz-box-shadow: 0px 0px 10px red;
	box-shadow: 0px 0px 10px red;  
}
*/



input.submit
{
padding:4px;
border:1px solid #ccc;
font-weight:bold;
}

input.submit:hover
{
  cursor:pointer;
  border:1px solid #999;
}


div#container
{
	width:850px;
	margin:0px auto;
	background-color:#fff;
}

div#topad 
{
  width:100%;
  text-align:center;
  background-color: #efefef;
  padding:10px 0;
  margin-bottom:50px;
  height:90px;
}


div#footerwrapper
{
background-color: #efefef;
margin-left:-1px;
margin-right:-1px;
}

div#footer
{
width:828px;
margin-top:10px;


/*margin-left:-20px;*/
padding-left:20px;
text-align:center;  
padding-top:20px;


}


div#footer ul li
{
  padding:10px;  
}

div#footer ul li a
{
  color:#fff;
}

div#footer ul, div#footer ul li
{
  display:inline;
}

div#footer p
{
  margin-top:20px;
  padding:20px;
  margin-left:-20px;
  margin-bottom:0;
  	border:1px solid #ccc;
  	border-top:0;
-webkit-border-bottom-right-radius: 50px;
-moz-border-radius-bottomright: 50px;
border-bottom-right-radius: 50px;	
}

div#wrapper
{
	padding:0px 0px;
	padding-top:0px;
	background-color:#fff;
	border:1px solid #ccc;
	border-bottom:0;
	border-top:0;
-webkit-border-top-left-radius: 50px;
-moz-border-radius-topleft: 50px;
border-top-left-radius: 50px;	

		
}

div#leftbar
{
	background-color:#fff;
}

div.ad728
{
	padding-top:16px;
	padding-bottom:10px;
	margin-top:10px;
	margin-bottom:10px;
	width:848px;
	margin-left:-20px;
	text-align:center;
	clear:both;

	/*
		-webkit-box-shadow: 0px 0px 20px #999;
	-moz-box-shadow: 0px 0px 20px #999;
	box-shadow: 0px 0px 20px #999;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;*/
}

.divider
{
	width:798px;
	height:1px;
	margin-top:10px;
        margin-bottom:10px;
	border-bottom:1px solid #ccc;
	clear:both;
}

div#leftbarwrapper
{
	width:808px;
	float:left;
}

div#rightbar
{
	width:170px;
	text-align:right;
	float:right;
}

div#rightbar img
{
	margin-bottom:10px;
}

div#content
{
  margin-left:20px;
	width:808px;
	float:left;
/*border-right:1px dotted #999;*/
/*	padding-right:10px;*/
/*background-color:#ccc;*/
}

div#news
{
	width:180px;
	float:right;
}

div#news ul, div#news ul li
{
	list-style:none;
}

div#logo
{
	width:808px;
	height:140px;
	margin-bottom:10px;
/*	border-top:1px dotted #999;
	border-bottom:1px dotted #999;*/
/*
	-webkit-box-shadow: 0px 0px 20px #999;
	-moz-box-shadow: 0px 0px 20px #999;
	box-shadow: 0px 0px 20px #999;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
*/

}


div#navi
{
  	width:808px;
	width:848px;
	/*margin-left:-20px;*/
	/*
	-webkit-box-shadow: 0px 0px 20px #999;
	-moz-box-shadow: 0px 0px 20px #999;
	box-shadow: 0px 0px 20px #999;
	-webkit-border-top-left-radius: 10px;
	-moz-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-top-right-radius: 10px;
	border-top-right-radius: 10px;*/

/*padding-top:6px;
padding-bottom:7px;
margin-bottom:10px;
padding-left:20px;*/
height:31px;
padding-top:5px;
margin-bottom:10px;
}

div#navi ul
{
  float:left;
}

div#navi ul.right
{
  float:right;
}



div#navi ul li, div#navi ul
{
display:inline;
margin:0;
/*padding:3px;*/
padding-top:2px;
padding-bottom:1px;
}

div#navi ul li
{
  padding:10px;
}

div#navi ul li
{

margin-left:-3px;  
  padding:11px;
  /*  padding-top:8px;*/
}


div#navi ul li.first
{
  margin-left:0px;
  /*
	-webkit-border-top-left-radius: 10px;
	-moz-border-top-left-radius: 10px;
	border-top-left-radius: 10px;*/
}

div#navi ul li.last
{
border-right:0;
}


div#navi ul li.first a
{


}



div#navi ul li.selected a, div#navi ul li.selected a:hover, div#navi ul li a:hover
{
  color:#000;
}

div#navi ul li a
{
font-size:14px;
color:#fff;
text-decoration:none;
}

div#topwrapper
{
background-color: #efefef;
margin-left:-1px;
margin-right:-1px;
}
div#topbanner
{
-webkit-border-top-left-radius: 50px;
-moz-border-radius-topleft: 50px;
border-top-left-radius: 50px;	
/*-webkit-border-bottom-right-radius: 50px;
-moz-border-radius-bottomright: 50px;
border-bottom-right-radius: 50px;	*/

border:1px solid #ccc;
border-bottom:0;

width:828px;
/*margin-left:-20px;*/
padding-left:20px;

padding-bottom:10px;
}

div#topbanner img
{
  margin-top:40px;
}

div#topbanner p a
{
  float:right;
  margin-left:24px;
  letter-spacing:1px;
  text-transform: uppercase;  
  text-decoration: none;
  font-weight:bold;
}

div#loginbox
{
  float:right;  
  text-align:right;
  height:160px;
  margin-right:20px;
}

div#loginbox img
{
  margin:0;
  padding:0;
}

div#newlogin
{  
  text-align:left;

}

div#loginnavi
{
  margin:10px 0;

}

div#loginbox ul, div#loginbox ul li
{
  display:inline;
  margin-top:10px;
  margin-bottom:10px;  
  margin-left:10px; 
}

div#newitems ul, div#newitems ul li
{
  display:block;
  margin:0;
  padding:0;
}

div.cright
{
	width:392px;
	float:left;
	border-left:1px solid #ccc;
	margin-left:-1px;
	padding-left:11px;
}

div.cleft
{
	width:392px;
	float:left;
	border-right:1px solid #ccc;
	padding-right:11px;

}

hr
{
  border-top:1px solid #ccc;
}


.photo 
{
	float:left;

  background-color:none;
  margin-bottom:10px;
 	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;	
  cursor:pointer;
border:1px solid #bbb;
  -webkit-box-shadow: 0px 0px 5px #888;
	-moz-box-shadow: 0px 0px 5px #888;
	box-shadow: 0px 0px 5px #888;  
}

.photo:hover
{
  -webkit-box-shadow: 0px 0px 10px #000;
  -moz-box-shadow: 0px 0px 10px #000;
  box-shadow: 0px 0px 10px #000;    
  border:1px solid #777;
}

.photo:hover
{
  -webkit-box-shadow: 0px 0px 10px #000;
  -moz-box-shadow: 0px 0px 10px #000;
  box-shadow: 0px 0px 10px #000;    
  border:1px solid #777;
}


.photo-caption
{
  height: 15px;
  position: relative;
  background-color: #000;
  filter:alpha(opacity=70);
  -moz-opacity:0.7;
  -khtml-opacity: 0.7;
  opacity: 0.7;
  text-align:center;
  display:none;
   	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0; 
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;   
}


.photo
{
  width:100px;
  height:100px;
  margin-right:10px;
}

div#imagecontent
{
  width:640px;  
	margin:0px auto;  
}

div#imagecontent .photo
{
  margin:5px;
}

div#imagecontent .photo-caption
{
  height:40px;
}

.small.photo
{
  margin-right:10px;
  margin-bottom:9px;
}

.small.photo, .photo-caption
{
  width:60px;
  height:60px;
 	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;  
}

.large.photo, .large .photo-caption
{
  width:200px;
  height:200px;
  margin-right:14px;
  -webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.full.photo, .full .photo-caption
{
  width:640px;
  height:480px;
  margin-right:14px;
  -webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.photo-caption
{
  -webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;  
  -webkit-border-top-left-radius: 15px;
  -moz-border-radius-topleft: 15px;
  border-top-left-radius: 15px;	 
  -webkit-border-top-right-radius: 15px;
  -moz-border-radius-topright: 15px;
  border-top-right-radius: 15px;	    
}

.small .photo-caption
{
  -webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;  
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-left-radius: 10px;	 
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  border-top-right-radius: 10px;	   
}

.large .photo-caption, .full .photo-caption
{
  -webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;  
  -webkit-border-top-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  border-top-left-radius: 20px;	 
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topright: 20px;
  border-top-right-radius: 20px;	   
}
.photo-caption
{
  height:20px;
}



.large .photo-caption
{
  height:38px;
}

.photo-caption a, .photo-caption span
{
  line-height: 20px;
  font-size: 12px;
  margin: 0;
  padding: 0;
  text-decoration: none;
  	letter-spacing:.1em;
  	color:#FFF;
  	font-weight:bold;
}

.large .photo-caption a, .large .photo-caption span
{
  line-height: 38px;
  font-size:18px;
}

.full .photo-caption
{
  display:block;
  height:140px;
}

.full .photo-caption a, .full .photo-caption span
{
  line-height:40px;
}

p.intro
{
  margin-top:10px;
/*  font-style:italic;*/
  letter-spacing:.1em;
  word-wrap: break-word;
}

div.desc
{
  float:right;

  /*	min-height:84px;*/
  width:253px;
  padding:8px;
}


div#contact, div#info, div.info
{
  width:367px;
  padding:10px;
}



div.desc, div#contact, div#info
{
	background-color: #f5f5f5;
  -webkit-box-shadow: 0px 0px 10px #eee;
	-moz-box-shadow: 0px 0px 10px #eee;
	box-shadow: 0px 0px 10px #eee;
   margin-bottom:20px;
}


p.accepted
{
  font-weight:bold;
  text-transform:uppercase;
  text-decoration: underline;
  letter-spacing:1px;
  font-size:18px;
}
      .large.desc
      {
	width:153px;
	height:184px;
        margin-bottom:20px;
	margin-left:0;
      }

      .full.desc
      {
	width:563px;
	height:184px;
	margin-right:10px;
      }

      .fullUser.desc
      {
	width:663px;
	min-height:84px;
        height:auto;
	margin-right:10px;
      }

      .fullfull.desc
      {
	width:783px;
        height:auto;
	margin-right:10px;
      }

      .fullnormal.desc
      {
	width:663px;
        height:auto;
	margin-right:10px;
      }
      
      .request.desc
      {
	width:253px;
        margin-bottom:10px;
	min-height:84px;
	height:auto;
      }

      div.desc p
      {
        margin:0;
        padding:0;
      }

      div.desc h1, div.desc h1 a
      {
	font-size:12px;
      }

      div.full h1, div.full h1 a
      {
	font-size:18px;
      }

      div.fullUser h1, div.fullUser h1 a
      {
	font-size:12px;
      }

      .large.desc
      {
      }

div.paging
{
  float:right;
  margin-bottom:20px;
  margin-right:10px;
}

div.paging ul li
{
  float:left;  
}

div.paging ul, div.paging ul li
{
list-style:none;
display:inline;
}

div.paging ul li a
{
font-size:15px;
text-decoration:none;
}

div.mini ul li span
{
font-size:12px;
text-decoration:none;
}

div.paging ul li
{
  margin-left:10px;
  padding:10px;
  padding-top:12px;
  border:1px solid #ccc;
  background-color: #f5f5f5;
}

div.mini ul li
{
  margin-left:5px;
  padding:5px;
  padding-top:6px;
}

div.paging ul li.selected
{
  border:1px solid #333;
  background-color: #f5f5f5;
}

div.paging ul li.selected a, div.paging ul li.selected span
{
  color:#000;
}

p.error
{
  color:red;
  font-weight:bold;
  font-size:12px;
}

div#sitenavi
{
  background-color: #efefef;
  padding-left:40px;
}

div#sitenavi ul, div#sitenavi ul li
{
  display:inline;
  background-color: #efefef;
}

div#sitenavi ul li
{
  margin-right:10px;
}

div#sitenavi ul li a
{
  letter-spacing:1px;
  text-transform: uppercase;  
  text-decoration: none;
  font-weight:bold;
}

span.new
{
  margin-left:6px;
  letter-spacing:1px;
  text-transform:uppercase;
  text-decoration:none;
  font-weight:bold;
  color:green;
}

div.mainlist h1 a
{
 text-decoration:none;font-size:14px;color:#000; 
}

span.itemdate
{
  float:right;
  font-weight:bold;
  font-size:10px;
}

