body, html {
	margin-top:10px;
	padding:0;
	background:#999999;	
	}
	
body {
display:block;
	min-width:700px;
	}

#wrap {
	background-image: url(kuva/bgkuva.jpg);
	background-color:#FFFFFF;
	background-repeat: no-repeat;
	margin:0 auto;
	width:750px;
	border:1px solid;
	border-color: #666666;
	}

#leipis{
	font-family: verdana, tahoma, arial;
	font-size: 9PT;
	width: 320px;
	margin-left:40px;
	}
	
.leipis{
	font-family: verdana, tahoma, arial;
	font-size: 9PT;
	width: 320px;
	margin-left:40px;
	}

#cv2{
	font-family: verdana, tahoma, arial;
	font-size: 9PT;
	margin-top: 50px;
	margin-left:90px;
	margin-bottom: 40px;
	}

#cv2 a{
	font-family: verdana, tahoma, arial;
	font-size: 8pt;
	text-decoration:none;
	color:#000000;
	}
	
#cv2 a:hover {
	font-family: verdana, tahoma, arial;
	font-size: 8pt;
	text-decoration:none;
	color:#CC0000;
	}




	
hr {
width:85%;
color:#CCCCCC;
background-color:#CCCCCC;
border: none 0;
height:1px;
size:1px;
	}
	
hr.katko {
background-color:#666666;
	border: none 0; 
	border-top: 1px dashed #CCCCCC;/*the border*/
	width: 85%;
	text-align: center;
	height: 1px;/*whatever the total width of the border-top and border-bottom equal*/
    }
	
#main {
	
	width:600px;
	min-height:430px;
	margin-top: 20px;	
	}
	
#uutinen {
	
	width:600px;
	min-height:430px;
	margin-top:30px;	
	margin-left:70px;
	margin-bottom: 100px;
	}


	
#uutinen img	{
	margin-bottom: 10px;
	margin-left:20px;
	margin-right: 20px;
	}






#sidebar {
	float:right;
	width:340px;
	margin-top:35px;
	}

#galleria {
	text-align:center;
	min-height:430px;
	background:#666666;
	margin:50px;
	
	}


#galleria img {
	border: 0px;
	}



#sidebar ul {
	margin-bottom:0;
    }
   
#footer {
	text-align: center;
	background:#666666;
	clear:both;
	height: 20px;
	font-size: 8pt;	
	padding: 10px;
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	text-decoration: none;
	margin-top: 50px;

	}
	
.gathead {
position:relative;
top:2px;
	margin-left:5px;
	margin-right:5px;
	}
	
.thumbnaillinkki {

margin:8px;

	}
	
#gallerynavi {
	position:relative;
	bottom:22px;
	padding:0px;
	margin:0px;
	background-color:#333333;
	height:22px;
	display:block;
	
	}
	
#gallerykuvanavi {
	position:relative;
	bottom:22px;
	padding:0px;
	margin:0px;
	background-color:#333333;
	height:22px;
	display:block;
	
	}
	
#kirjaudu {
	position:relative;
	bottom:16px;
	margin:0 auto;
	text-align:right;
	width:650px;
	}
	
.kuvadivi {
background:#666666;
text-align:center;
margin:50px;
	}
	
#kuvateksti{
width:500px;
margin:0 auto;
}
	
#takaisin {
	
	}
	
/*-------tekstit alkaa------*/

.uutinen {
	font-family: verdana, tahoma, arial;
	font-size: 9PT;
	}

#kir {

margin-top:30px;
margin-bottom:20px;

}

#kir a{
	font-family: verdana, tahoma, arial;
	font-size: 8pt;
	text-decoration:none;
	color:#000000;
	}
	
#kir a:hover {
	font-family: verdana, tahoma, arial;
	font-size: 8pt;
	text-decoration:none;
	color:#CC0000;
	}

H2{
	font-family: verdana, tahoma, georgia;
	font-size: 12PT;
	MARGIN-TOP:10PX;
	margin-left:40px;
	}

H3{
	font-family: verdana, tahoma, georgia;
	font-size: 8PT;
	MARGIN-bottom:5PX;
	margin-left:40px;
	}
	
H4{
	font-family: verdana, tahoma, georgia;
	font-size: 12PT;
	}


H5{
	font-family: verdana, tahoma, georgia;
	font-size: 12PT;
	MARGIN-TOP:30PX;
	margin-bottom: 10px;
	}

H1{
	font-family: verdana, tahoma, georgia;
	font-size: 11PT;
	MARGIN-TOP:40PX;
	margin-bottom: 20px;
	font-weight: heavy;
	
	}



#main h2, #main h3, #main p {
	padding:0 10px;
    }

#footer a {
	padding:5px;
	margin:0;
	font-size: 8pt;
    }

a:visited {
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	text-decoration: none;
	}

a:link {
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	text-decoration: none;
	}

a:hover {
	color: #FFFFFF;
	font-family: verdana, georgia, verdana, arial;	
	text-decoration: none;
	}


#media2 {
	margin-left:120px;
	margin-bottom: 40px;
	}


#media2 a{
	font-family: verdana, tahoma, arial;
	font-size: 8pt;
	text-decoration:none;
	color:#000000;
	}
	
#media2 a:hover {
	font-family: verdana, tahoma, arial;
	font-size: 8pt;
	text-decoration:none;
	color:#CC0000;
	}




.galleryheader {
position:relative;
bottom:22px;
font-variant:small-caps;
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 12pt;
	text-decoration: none;
	}
	
	.controlheader {
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 12pt;
	text-decoration: none;
	}

.gathead a{
font-variant:small-caps;
	color: #FFFFFF;
	font-family: verdana, georgia, verdana, arial;
	font-size: 10pt;
	text-decoration: none;
	}
	
.gathead a:hover{
	color:#CC0000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 10pt;
	text-decoration: none;
	}
	
.kirjaudulinkki a{
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 8pt;
	text-decoration: none;
	}
	
.kirjaudulinkki a:hover{
	color:#CC0000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 8pt;
	text-decoration: none;
	}

.kuvaotsikko {
	color: #000000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 12pt;
	text-decoration: none;
	}
	
.takaisin a{
	color: #FFFFFF;
	font-family: verdana, georgia, verdana, arial;
	font-size: 8pt;
	text-decoration: none;
	
	}
	
.takaisin a:hover{
	color:#CC0000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 8pt;
	text-decoration: none;
	}
	
.cpanel a{
	color: #FFFFFF;
	font-family: verdana, georgia, verdana, arial;
	font-size: 9pt;
	text-decoration: none;
	}
	
.cpanel a:hover{
	color:#CC0000;
	font-family: verdana, georgia, verdana, arial;
	font-size: 9pt;
	text-decoration: none;
	}

/*-------tekstit loppuu------*/

/*-------navi alkaa------*/




#navbar {
	margin-left:200px;
	padding: 0px;
	repeat-x;
	height: 30px;
	list-style: none;
	
	}

#navbar li {
	float: left;
	}

#navbar a {
	text-decoration: none;
	display: block;
	height: 30px;
	text-indent: -5000px;
	}

#navbar #news {
	background: url(nav_news.png) no-repeat 0px 0px;
	width: 80px;
	}

*html #navbar #news {
	b\ackground: url(nav_news.gif) no-repeat 0px 0px;
	w\idth: 80px;
	}

#navbar #news:hover {
	background-position: 0 -30px;
	}

#navbar #portfolio {
	background: url(nav_portfolio.png) no-repeat 0px 0px;
	width: 114px;
	}

*html #navbar #portfolio {
	b\ackground: url(nav_portfolio.gif) no-repeat 0px 0px;
	w\idth: 114px;
	}

#navbar #portfolio:hover {
	background-position: 0 -30px;
	}

#navbar #cv{
	background: url(nav_cv.png) no-repeat 0px 0px;
	width: 60px;
	}

*html #navbar #cv{
	b\ackground: url(nav_cv.gif) no-repeat 0px 0px;
	w\idth: 60px;
	}

#navbar #cv:hover {
	background-position: 0 -30px;
	}

#navbar #media {
	background: url(nav_media.png) no-repeat 0px 0px;
	width: 81px;
	}

*html #navbar #media {
	b\ackground: url(nav_media.gif) no-repeat 0px 0px;
	w\idth: 81px;
	}

#navbar #media:hover {
	background-position: 0 -30px;
	}
	
/*-------navi loppuu------*/