*{
	margin:0;
	padding:0;
}
img{
	border:0;
}
html, body {
	height:100%;
}
body{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#666666;
	background-color:#f4f4f4;
}
#wrapper {
	min-height:100%;
	position:relative;
}
#container{
	width:990px;
	margin:0 auto;
	padding-bottom:190px;	/* Height of the footer, make sure this is the same as the sum of footer heights */
	position:relative;
}

#header-container{
	background: #9b6fa7 url(../images/header_bg.jpg) no-repeat top center;
	height:152px;
}
#header{
	width:990px;
	margin:0 auto;
	position:relative;
}
#logo{
	position:absolute;
	top:50px;
	left:0;
	
}
#logo a{
	width:400px;
	height:65px;
	display:block;
	outline:none;
}
#logo a strong{
	display:none;
}
a{
	color:#d32a7f;
}

h1{
	font-size:25px;
	color:#36c6e3;
	font-family:"Times New Roman", Times, serif;
	font-weight:normal;
	margin-bottom:20px;
	margin-right:40px;
	margin-top:15px;
}
h1,h2,h3{
	color:#36c6e3;
}

#content h2{
	margin-bottom:10px;
}


#content{	
	padding-left:10px;
	padding-bottom:20px;
}


p.page-ingress{

	width:90%;
	margin:20px 0 30px 0;
}

.page{
	background-color:white;
	border:1px dotted #CCCCCC;
	padding:20px 10px 50px 15px;
	margin-right:10px;
}
.page p{
	margin-bottom:15px;
	line-height:18px;
}



/* login area */

input#email-login, input#salasana{
	width:160px;
	background:url(../images/login_input_bg.gif) no-repeat;
	padding:2px 3px;
	border:0;
}

#login-box{
	right:15px;
	top:0px;
	position:absolute;
	width:390px;

}
#login-box label{
	width: 80px;
	float: left;
	color:white;
	text-align: right;
	margin-right: 8px;
	display: block;	
}
#login-box a{
	color:white;
}

#login-box p{
	font-size:11px;
	color:white;
	margin-bottom:5px;
}
#login-form{
	height:60px;
	display:none;
	overflow:hidden;
	padding:15px 10px 25px 10px;
	background-color:black;	
}
button#submit-button, input#submit-button{
	padding:0;
	border:0;
}


#login-col1{
	float:left;
	width:255px;	
}
#login-col2{
	float:left;
	width:90px;	
}

#login-register-button{
	background:transparent url(../images/login_register_bg.gif) no-repeat;
	float:left;
	width:150px;	
	padding-left:20px;
}
#login-button{
	background:transparent url(../images/login_kirjaudu_bg.gif) no-repeat;
	float:left;
	width:140px;	
	cursor:pointer;
	padding-left:15px;	
	margin-left:30px;
}
#login-links{
	background:transparent url(../images/login_footer.gif) no-repeat right top;
	padding:10px;
	width:370px;
	height:30px;
	float:right;
}




/* frontpage */


h2.gallery-main-title, h2.gallery-news-title{

	clear:left;
	font-weight:normal;
	margin:0 0 5px 0;
	padding-top:5px;
	padding-left:10px;
	font-size:22px;

}

h2.gallery-title{

	clear:left;
	font-weight:normal;
	margin:0 0 0 0;
	padding-bottom:3px;
	padding-top:5px;
	padding-left:20px;


}

h2.gallery-title a{
	font-size:18px;
	display:block;
	position:relative;
	text-decoration:none;
	color:#36c6e3;
}
h2.gallery-title a span{
	position:absolute;
	right:20px;
	top:5px;
	font-size:12px;
	color:#b4b4b4;

}

#front-col1{
	clear:left;
	float:left;
	width:378px;
	margin-right:40px;
}
#front-col2{
	float:left;
	width:570px;
	margin-right:-10px;
}
#front-gallery{
	clear:left;
}

#front-main-work{	
	width:377px;
	padding:1px 0 0 0;
	background:transparent url(../images/kuukauden_teos.gif) no-repeat;
}
#front-main-work-bottom{
	background:transparent url(../images/kuukauden_teos.gif) no-repeat left bottom;
	
	height:15px;
	margin:0;
	margin-bottom:20px;	

	padding:0;
	
}
#front-main-work h3 a{
	font-size:12px;
	text-transform:uppercase;
	color:#e3368d;
	padding:6px;
	text-decoration:none;
}
#front-main-work #front-main-ingress p{
	padding-left:10px;
}
#front-main-work p{
	padding:5px 8px;
	font-size:11px;
}
#front-main-work h3{
	padding-left:4px;
}
#front-main-work p.read-more{
	padding-left:10px;
}
#front-main-work p.read-more a{
	color:#666666;
}
#front-main-work h2{
	margin-bottom:20px;
	font-size:18px;
	font-weight:normal;
}
#front-main-work img{

	border:1px solid #999;

}
#front-col2 .gallery-block{
	margin-right:12px;
}

#news a{
	text-decoration:none;
	color:#666;
}

#news p{
background-color:white;
	margin:3px 0;
	padding:7px 6px;
		
}
#news p span{
	font-weight:normal;
	font-size:11px;
}
#news p span.labelfield{
	color:#999999;
}
a.titlefield{
	display:block;
		color:#666666;
	font-weight:bold;
	padding-right:8px;
}



/* gallery listing */
h2{
	clear:left;
}
#gallery-list{
	clear:left;
}
#gallery-navi {
	float:right;
	margin-right:30px;
	background-color:white;
	padding:10px;
		border:1px dotted #CCCCCC;
}
#gallery-navi li{
	float:left;
	display:inline;
	margin:0 5px;
}
#pagination{
	clear:left;
	padding-top:20px;	
}
#pagination div{
	padding:4px;
	background-color:#efefef;
}


#next-button{
	
	height:120px;
	padding-top:70px;
	text-align:center;
	width:136px;
	float:left;
	position:relative;
}
#next-button a{
	
	padding:5px 0px;
}

.gallery-block{
	position:relative;
	width:166px;
	float:left;
	margin-right:12px;
	margin-bottom:15px;
	padding:5px 5px 0px 5px;
	height:128px;
	background:white url(../images/thumb_bg_w.gif) no-repeat;
}
#gallery-list .gallery-block, #user-gallery .gallery-block{
	margin-right:18px;
	margin-bottom:18px;
}


.gallery-block img.blockx{
	border:1px solid #c2c2c2;
	height:94px;
	width:164px;
}
.gallery-block p{	
	font-size:10px;
	text-transform:uppercase;
	padding-left:1px;
	padding-top:1px;
}
.gallery-block em.block-nick{
	display:block;
	color:#999999;
	font-style:normal;
	font-size:11px;
	text-transform:none;
}
.gallery-block a{
	text-decoration:none;
	color:#e3368d;
	display:block;
}
.gallery-block:hover{
	background:white url(../images/thumb_bg_over.gif) no-repeat;
}
.gallery-block span.comment-count{
	position:absolute;
	right:8px;
	bottom:17px;
	font-size:10px;
}
.gallery-block span.band{
	position:absolute;
	top:0;
	left:0;
	z-index:1000;
	width:54px;
	height:54px;
}
.gallery-block span.type-1{
	background:transparent url(../images/band_image.gif) no-repeat;
}
.gallery-block span.type-2{
	background:transparent url(../images/band_www.gif) no-repeat;
}
.gallery-block span.type-3{
	background:transparent url(../images/band_flash.gif) no-repeat;
}
.gallery-block span.type-4{
	background:transparent url(../images/band_video.gif) no-repeat;
}

.gallery-block span img{
	border:none;
	padding-top:2px;
	margin-right:3px;
}
hr{
	clear:left;
	height:1px;
	border:none;
	border-top:1px solid #CCCCCC;
	margin:10px 30px;
}
#play-again{
	display:none;
	position:absolute;
	right:100px;
	bottom:10px;
	z-index:10;
}
#play-again a{
	display:block;	
	text-decoration:none;
	color:white;
	font-weight:bold;
	background:url(../images/trans65.png);
	padding:10px 20px;
}
#play-again a:hover{
	background:black;
}
#gallery-image{
	width:710px;
	float:left;
	margin-right:20px;	
	text-align:center;
}
.main-image{
	border:1px solid #dcdcdc;
	background-color:white;
	padding:5px;
	margin-bottom:20px;
}

#gallery-info{
	
	width:210px;
	float:left;
}

.project-description li{
	margin-bottom:10px;
}
.project-description span{
	display:block;
	font-weight:bold;
	margin-bottom:5px;
}
a.extra-image{
	display:block;
	outline:none;
}
.extra-image img{
	width:120px;
	margin:5px 0;
	padding:4px;
	border:1px solid #dcdcdc;
}
#haastattelu{
	margin:10px 15px;
	text-align:left;
}



/* comments */

#comments{
	margin-top:20px;
	margin-left:15px;
}
.comment-box{
	position:relative;
	margin-top:7px;
}
.comment-avatar{
	float:left;
	width:50px;
}
.comment-text{
	background-color:#FFFFFF;
	border:1px solid #dcdcdc;
	padding:15px;
	margin:10px;
	width:450px;
	float:left;
}
.comment-text textarea{
	width:100%;
	height:70px;
	margin-bottom:10px;
}
.comment-nick{
	position:absolute;
	top:-3px;
	left:70px;
	background-color:white;
	padding:3px;
	color:#999999;
	text-decoration:none;
}
h3.comment-header{
	color:#999999;
	margin-bottom:10px;
	margin-top:20px;
}


/* user page */

#userpage{
	background-color:white;
	padding:15px;
	border:1px dotted #CCCCCC;
}

#user-pic{
	width:200px;
	float:left;
	clear:left;
	padding-bottom:15px;
	height:210px;
	overflow:hidden;
}
#user-pic img{
	padding:4px;
	border:1px solid #fefefe;
	background-color:white;
}

#user-info{
	width:300px;
	float:left;
}
tr.hili{
	background-color:#efefef;
}
#user-picture{
	width:168px;

	padding:4px;
	border:1px solid #fefefe;
}
#user-info li span{
	font-weight:bold;
	width:90px;
	margin-right:10px;
	display:block;
	float:left;
	
}	

#user-info ul{
	list-style:none;
}
#user-info li{
	margin:5px;
}
#user-gallery{
	
	margin-top:0px;
	clear:left;
	padding-top:20px;
}

#user-about{
	padding:0;
	float:left;
	width:400px;
	margin:0;
}


table#userlist{
	clear:left;
	margin:10px;
}
table#userlist th{
	padding:7px 22px;
	margin-bottom:5px;
	text-align:left;
}
th#td_name{
	width:150px;
}
th#td_nick{
	width:150px;
}
th#td_city{
	width:150px;
}

table#userlist td{
	padding:5px 22px;
}
table#userlist tr.top{
	background:#fefefe url(../images/admin_navi_bg2.gif) repeat-x -25px 3px;
}





/* navi */

#navi{
	position:absolute;
	top:100px;
	right:10px;
}

#navi ul{

	list-style:none;
}
#navi ul li{
	float:left;
	margin:0 4px;
}
#navi li a{
	color:white;
	text-decoration:none;

	font-weight:bold;
	font-size:16px;
	padding:5px 8px;
}
#navi li a:hover{
	color:#990033;
	text-decoration:none;
	background-color:white;
	font-weight:bold;
	padding:5px 8px;
}



/* footer */

#footer-container{
	position:absolute;
	bottom:0;
	clear:both;
	background-color:#E4E4E4;
	padding-top:10px;
	padding-bottom:30px;
	width:100%;
}
#footer{
	width:990px;
	margin:0 auto;
	position:relative;
}
#footer ul#footer-first{
	width:380px;
}
#footer ul#footer-second{
	width:430px;
}
#footer ul#footer-third{
	width:80px;
}
#footer ul{
	width:200px;
	float:left;
	margin-left:10px;
	height:115px;	
	margin-right:20px;

}
#footer li h3{
	font-size:13px;
}
#footer li{
	margin-bottom:10px;
	font-size:11px;
}
#footer a{
	color:#666666;
}



/* forms */

ul{
	list-style:none;
}
li{
	margin:5px;
}
label{
	display:block;
	width:180px;
	text-align:right;
	float:left;
	font-weight:bold;
	margin-right:20px;
}

#register-table td{
	padding:6px;
}

/* general, errors etc */

.clear{
	clear:both;
}
.backlink{
	float:right;
}
.error{
	margin-bottom:15px;
	color:#FF0000;
	margin-left:30px;
}
