/* ----------------------------------------------
	Template Name : FreshMedia
	Template Code : S-0021
	Version : 1.0   
	Author : Erwin Aligam
	Author URI : http://www.styleshout.com/       
	Last Date Modified : February 07, 2008	
 ------------------------------------------------ */
 
/* ----------------------------------------------
   HTML ELEMENTS
------------------------------------------------- */ 

/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }

body {
	font-family: "Trebuchet MS", Georgia, Verdana, Arial;
	font-size:10px;
	word-spacing:0.1em;
	color: #000000; 	
	margin: 0; padding: 0 0 50px 0; 
	background: #fff;
	text-align: center;
}

/* Links */
a, a:active, a:link {
	text-decoration: none;
	color: #0B9AC7;		
}
a:visited {
	text-decoration: none;
}
a:hover {
	color: #ffcc00;
	border-bottom: 1px dotted #ffcc00;
}

/* headers */
h1, h2, h3, h4 {
	font-family: "Georgia",Verdana, "Trebuchet MS", Arial;
/*	font-family: "Verdana";*/
	color: #555;

}
h1 {
	font-size:48px;
	font-weight: normal;
	padding: 0px 10px 5px 0px;
	margin: 0;
}
h2 {
	font-size: 36px;
	color: #ffcc00;
	padding: 0px 10px 5px 0px;
	margin: 0;
}
h3 {
	font-size: 24px;	
	font-weight: normal;
	color: #ffcc00;
	padding: 0px 10px 5px 0px;
	margin: 0;	
}
h4{
	font-size:21px;
	padding: 15px 10px 5px 0px;
}
h5{
	font-size:1em;

}

p, dl { padding: 10px; margin: 0; line-height:1.4em; font-size:1.3em; margin-bottom:10px;  }
p.leipa {max-width:800px;   }
p.full {max-width:900px; padding-bottom:0px;}
p.small {
width:430px;
padding-left:5px;
padding-right:5px;
color:#000000;
   }
p.yhteys { padding: 0px; margin: 0; line-height:1.4em; font-size:1.3em; margin-bottom:10px; float:left; width:300px; }
ul, ol {
	margin: 10px 20px;
	padding: 0 20px;
}
ul li{
	font: 1.1em/35px "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	line-height:1.6em; 
}
ul {list-style-type:circle; }
ul.a {list-style-type:square; font-size:12px;}
ul.b {list-style-type:none; padding:0; margin:0;}
ul.b li {
	padding-bottom:25px;
	font: 1.1em "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	float:left; 
	padding-right:2px;
	text-align:center;
	width:223px;
	}
ul.b li a:hover{
	border: 1px dotted #ffcc00;
}
dt {
  font-weight: bold;
  color: #895F30;
}
dd {
  padding-left: 25px; 
}

/* images */
img {
	border:none;
}
img.float-right {
  	margin: 5px 0px 10px 10px;  
}
img.float-left {f
  	margin: 5px 10px 10px 0px;
}
img.float-left {
  	margin: 5px 10px 10px 0px;
}
img.nborder {
	background: #fafafa;
	margin-top:10px;

}
img.middle{
	vertical-align:middle;
	margin-bottom:10px;
}
.center{
	text-align:center;
	vertical-align:middle;
	margin-left: auto;
    margin-right: auto;
}
DIV.vcenter {
    min-height: 10em;
    display: table-cell;
    vertical-align: middle;
	border: 1px solid #dcdcdc;
	 }

code {
  	margin: 5px 0;
  	padding: 15px;
  	text-align: left;
  	display: block;
  	overflow: auto;  
  	font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  	/* white-space: pre; */
  	border: 1px solid #ECF8FE;
	background: #ECF8FE;  
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #895F30;
}
blockquote {
	margin: 15px 10px;
 	padding: 10px 10px 10px 35px;  
     border: 1px solid #ECF8FE;
	background: #CCCCCC url(quote.jpg) no-repeat 10px 10px;
	font-weight: normal;
	font-size: 1.5em;
	line-height: 1.5em;
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;	
	color: #FF6600;	
	text-indent: -0.8em;
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 15px 10px;
	border:none;
	margin-left: auto;
margin-right: auto;

}
/*th {
	background: #ADD8E6 url(header-bg.jpg) repeat-x 0 -100px;
	height: 38px;
	padding-left: 12px;
	padding-right: 12px;
	color: #fff;
	text-align: left;
}
tr {
	height: 34px;
	background: #fff;
}
td {
	padding-left: 11px;
	padding-right: 11px;
}*/	
/* end - table */



/*------------------------------------------
   LAYOUT
-------------------------------------------*/ 
#wrap-out {
	position: relative;
	/*background: #fff url(header-bg.jpg) repeat-x;*/
	width: 900px;	
	margin: 0 auto;
	text-align: left;	
}
#wrap {
	/*background: url(header-photo.jpg) no-repeat right top;*/

	width: 900px;	
	margin: 0 auto;	
}
#wrapsmall {
	/*background: url(header-photo.jpg) no-repeat right top;*/
	width: 900px;	
	margin: 0 auto;	
}
#content-wrap {
	position: relative;
	clear: both;
	float: left;	
	width: 900px;	
	padding: 0; 		
	margin-top: 0px;	
	background: transparent;
	display: inline;
	margin-top:20px;	
}
#header {
	position: relative;
	width: 900px;	
	height: 350px;	
	padding: 0;	
	margin: 0 auto;
	background: #fff url(header-bg.jpg) repeat-x;
}
#headersmall {
	background: #fff url(header-bg_small.jpg) repeat-x;
	position: relative;
	width: 900px;	
	height: 180px;	
	padding: 0;	
	margin: 0 auto;
}

/*  Navigation  */
#nav {
	position: absolute;
	clear: both;	
	margin: 0; padding: 0;		
	height: 55px;
	left: 0;	top: 0px;	
	/*z-index: 99999;*/
	background: transparent;
	background-image:url(menupalkki.png);
		background-repeat:no-repeat;
}
#nav ul {
	float: left;
	list-style: none;
	width: 900px;		
	height: 55px;
	margin: 0;	padding: 0;	
	padding-left:27px;
	display: inline;
}
#nav ul li {
	display: inline;
	margin: 0; padding: 0;
	float:left;
}
#nav ul li a {
	height: 55px;
	float: left;
	margin: 0;	padding: 0;
	font: bold 15px/55px "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	text-decoration: none;	
	letter-spacing: -0.3px;
	color: #ffffff;
	width:100px;
	display:inline;
	text-align:center;
	padding-left:3px;
	
}
#nav ul li a:hover, 
#nav ul li a:active {
	color: #006697;
	border: none;
	background-image:url(menuvalittu.png);
	background-repeat:no-repeat;
}
#nav ul li#active a 
{
	background-image:url(menuvalittu.png);
		background-repeat:no-repeat;
}
#nav ul li#current a {	
	background-image:url(menuvalittu.png);
		background-repeat:no-repeat;
}

/*  Navigation  */
#navppush {
margin-top:315px;
}
#navp {
	/*position: absolute;*/
	/*clear: both;	*/
	margin: 0; padding: 0;		
	height: 30px;
	/*left: 0;	top: 35px;	*/
	z-index: 99999;
	margin-top:144px;
}
#navp ul {
	float: left;
	list-style: none;
	width: 900px;		
	height: 30px;
	margin: 0;	padding: 0;	
	display: inline;
}
#navp ul li {
	display: inline;
	margin: 0; padding: 0;
	float:left;
}
#navp ul li a {
	float: left;
	margin: 0;	padding: 0 10px;
	font: 12px/30px "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	text-decoration: none;	
	letter-spacing: -0.3px;
	color: #ffffff;
	display:inline;
	padding-bottom:8px;

}
#navp ul li a:hover, 
#navp ul li a:active {
	border: none;
	background: none;
	background-image:url(etusivu_aktiivi.gif);
	background-repeat:no-repeat;
	background-position:center;
	
}
#navp li#active a 
{
		background-image:url(etusivu_aktiivi.gif);
		background-repeat: no-repeat;
		background-position:center;
}
#navp ul li#current a {	
		background-image:url(etusivu_aktiivi.gif);
			background-position:center;
}
/*BRANDIT VALIKKO*/
#navb {
	text-align:center;
	vertical-align:middle;
	margin-left: auto;
    margin-right: auto;
		width: 480px;
	}
#navb ul {
	float: left;
	list-style: none;
	height: 125px;
	margin: 0;	padding: 0;	
	display: inline;
padding: 0;
margin: 0px auto; 
}
#navb ul li {
	display: inline;
	margin: 0; padding: 0;
	float:left;
}
#navb ul li a {
	float: left;
	margin: 0;	padding: 0 0px;
	font: 12px/30px "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	text-decoration: none;	
	letter-spacing: -0.3px;
	color: #ffffff;
	display:inline;
	padding-top:8px;
			height: 125px;
			width:120px;
				background-image:url(brandit/nappiPohja.jpg);
				background-repeat:no-repeat;
}
#navb ul li a:hover, 
#navb ul li a:active {
	border: none;
	background: none;
	background-image:url(brandit/nappiPohja_a.jpg);
	background-repeat:no-repeat;
	background-position:center;
	
}
#navb li#active a 
{
	background-image:url(brandit/nappiPohja_a.jpg);
		background-repeat: no-repeat;
		background-position:center;
}
#navb ul li#current a {	
	background-image:url(brandit/nappiPohja.jpg);
			background-position:center;
}
/*BRANDIT VALIKKO */


#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: normal 72px;
	font-family: "Georgia",Verdana, "Trebuchet MS", Arial;
	letter-spacing: -1.5px;
	color: #fff;
	text-transform: none;
	text-decoration: none;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 95px; left: 30px;	
}
#header h1#logo-text a:hover {
	background: none;	border: none;
}
#header p#intro {
	position: absolute;
	margin: 0; padding: 0;
	font-family: "Georgia",Verdana, "Trebuchet MS", Arial;
	font-weight: normal;
	font-size: 18px;
	line-height: 1.6em;
	font-style: italic;
	text-transform: none;
	color: #ffcc00;
	width: 400px;
	
	/* change the values of top and left to adjust the position */
	top: 150px; left: 35px;		
}
#headersmall h1#logo-text a {
	position: absolute;
	margin-top: 50px; padding: 0;
	font-family: "Georgia",Verdana, "Trebuchet MS", Arial;
	letter-spacing: -1.5px;
	color: #ffffff;
	text-transform: none;
	text-decoration: none;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 10px; right: 180px;	
}
#headersmall h1#logo-text a:hover {
	background: none;	border: none;
}
#headersmall p#intro {
	position: absolute;
	margin: 45px; padding: 0;
	font-family: "Georgia",Verdana, "Trebuchet MS", Arial;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.6em;
	font-style: italic;
	text-transform: none;
	color: #ffcc00;
	width: 400px;
	
	/* change the values of top and left to adjust the position */
	top: 80px; right: 0px;		
}

/* Main Column */
#main {
	float: right;
	width: 610px;
	padding: 0; margin: 0;
	display: inline;		
}
#main h2 {
	padding-bottom: 3px;
	margin-top: 15px;
	font: normal 3.5em Georgia, "Times New Roman", Times, serif;
	color: #ffcc00; 
	letter-spacing: -2px;	
	text-transform: none;

}
#main h2 a {
	color: #ffcc00;
	text-decoration: none;	
	background: none; border: none;
}
#main ul li {
	/*list-style-image: url(bullet.gif);*/
}
/* Main2 Column */
#main2 {
	float: left;
	width: 900px;
	padding: 0; 
	margin:0 auto;
	display: inline;	
}
#main2 h2 {
	padding-bottom: 3px;
	margin-top: 15px;
	font: normal 3.5em Georgia, "Times New Roman", Times, serif;
	color: #ffcc00; 
	letter-spacing: -2px;	
	text-transform: none;

}
#main2 h2 a {
	color: #ffcc00;
	text-decoration: none;	
	background: none; border: none;
}
#main2 ul li {
	/*list-style-image: url(bullet.gif);*/
}

/* front */
#front-wrap {
	position: relative;
	clear: both;
	padding: 1em 0 2.5em 0;
	margin-top: 30px;

	background: #ECF8FE;
	color: #777;
	width: 900px;
	float: left;		
}
#front-wrap h3 {

	text-transform: none;
	letter-spacing: 0;
	margin-left: 0;	
	color: #666666;	
}
#front-content {	
	margin: 0 auto;		
	width: 670px;
	text-align: center;	
}
#front-content ul.col-list {
	background: url(dots.gif) repeat-x left top;
	list-style: none;
	margin: 5px 0 0 5px; padding: 0;	
	width: 98%;
}
#front-content ul.col-list li {
	background: url(dots.gif) repeat-x left bottom;
}
#front-content ul.col-list li a {
	display: block;
	line-height: 2em;
	font-weight: bold;
	padding: 4px 0 4px 8px;
	width: 98%;	
	color: #777;
	border: none;
}
#front-content ul.col-list li a:hover {
	color: #333;
	text-decoration: none;
}
#front-content ul.col-list li a span {
	color: #989898;
	font-style: italic;
	font-weight: normal;

}
#front-content .col {
	width: 220px;
	padding: 0 0 30px 0;			
	display: inline;

}
#front-content .space-sep {
	margin-right: 10px;

}
#front-content .col2 {
	width: 220px;
	padding: 0 0 30px 0;	
	display: inline;	
}
#ref .cols {
	width: 40px;
	padding: 0 0 10px 0;			
	display: inline;
	margin-top:300px;
}
#ref .cols2 {
	width: 40px;
	padding: 0 0 10px 0;	
	display: inline;
	margin-top:300px;
	
}
#ref .cols3 {
	width: 810px;
	padding: 0 0 10px 0;	
	display: inline;	

}
#ref .cols4{
	width: 100px;
	padding: 0 0 30px 0;			
	display: inline;
}
#ref .cols5{
	width: 300px;
	padding: 0 0 30px 0;			
	display: inline;
}
/*  Navigation  */
ul.lista {
    list-style-type: square;
	list-style-image: url(list.gif);
	list-style-position: inside;
    margin: 0;
    padding: 0 0 20px 1.3em;
}

ul.lista li {
    color: #707070;
    font-size: 1.3em;
}

ul.lista li em {
    color: #aaa;
    font-weight: normal;
    font-size: 0.9em;
}

ul.listatausta {
    list-style-type: none;
    margin: 0;
    padding: 0 0 20px 0;
}

ul.listausta li {
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
    background: #eee;
    border: 1px solid #ddd;
    color: #707070;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 6px;
    padding: 3px 0;
    position: relative;
    text-align: center;
}

ul.listatausta li em {
    color: #aaa;
    font-weight: normal;
    font-size: 0.9em;
}


/*FRONt LOPPUU*/
/* footer */
#footer-wrap {
	position: relative;
	clear: both;
	padding: 1em 0 0 0;
	margin-top: 30px;
	font: normal 1em 'Trebuchet MS', Tahoma, sans-serif;	
	/*background: #ECF8FE;*/
	color: #777;
	width: 900px;
	float: left;	
	border-top: 1px solid #cccccc;
	background: url(footer.gif) repeat:none;
	background-image:url(footer.gif);
}
#footer-wrap h3 {
	font: normal 1.6em/1.6em 'Trebuchet MS', Tahoma, sans-serif;
	text-transform: none;
	letter-spacing: 0;
	margin-left: 0;	
	color: #666666;	
}
#footer-content {	
	margin: 0 auto;		
	width: 880px;
	text-align: left;	

}
#footer-content ul.col-list {
	background: url(dots.gif) repeat-x left top;
	list-style: none;
	margin: 5px 0 0 5px; padding: 0;	
	width: 98%;
}
#footer-content ul.col-list li {
	background: url(dots.gif) repeat-x left bottom;
}
#footer-content ul.col-list li a {
	display: block;
	line-height: 2em;
	font-weight: bold;
	padding: 4px 0 4px 8px;
	width: 98%;	
	color: #777;
	border: none;
}
#footer-content ul.col-list li a:hover {
	color: #333;
	text-decoration: none;
}
#footer-content ul.col-list li a span {
	color: #989898;
	font-style: italic;
	font-weight: normal;
}
#footer-content .col {
	width: 280px;
	padding: 0 0 0px 0;			
	display: inline;
}
#footer-content .space-sep {
	margin-right: 12px;
}
#footer-content .middle {
	border-right: 1px solid #cccccc;
		border-left: 1px solid #cccccc;
}
#footer-content .col2 {
	width: 285px;
	padding: 0 0 30px 0;	
	display: inline;	

}

/* postmeta */
.postmeta {	
	padding: 5px; margin: 20px 10px 15px 10px;	
	font-size: 1em;	
	color: #777;
	border: 1px solid #ECF8FE;
	background: #ECF8FE;
}
.postmeta .date{ margin: 0 10px 0 5px;	}
.postmeta a.comments { margin: 0 10px 0 5px;	}
.postmeta a.readmore { margin: 0 10px 0 5px;	}

.post-info { font-size: .95em; padding-top: 3px; margin-left: 5px; color: #bababa;	}
.post-info a { color: #C5935C; }

/* thumbnails */
p.thumbs{ padding: 12px 0 0 10px; }

.thumbs img { 
	position: relative;
	border: 1px solid #ebebeb;
	background: none;
	padding: 4px;
	margin: 5px;
	/* margin: 4px 7px 4px 4px; */	
}
.thumbs img:hover	{
	border: 1px solid #c5c5c5; 
	background: none;	
}
.thumbs a:hover { background-color: transparent; border: none }

/* alignment classes */
.float-left  { float: left; }
.float-leftt  { float: left; 
 margin-left: auto;
  margin-right: auto;}
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }
.levea {max-width:800px;}

/* display and additional classes */
.clearer { clear: both; }




/*KONTAKTI FORMIIIIIIIIIIIIIIIIIIIIIIIIIIIIII*/
label {
	display:block; 
	width:100px;
	padding-bottom:5px; 
	margin-top:10px;
	float:left;
	clear:both;
}

#contactform {
	width:610px; 
	overflow:hidden;
}

#contactform li {
	list-style:none; 
	padding-bottom:20px;
}

#contactform li .fieldbox {
	background:transparent url(subfield.jpg) no-repeat top left; 
	float:left; 
	height:27px; 
	padding-left:5px;
}

#contactform li .fieldbox input {
	background:transparent url(subfield.jpg) no-repeat top right; 
	height:27px; 
	padding-top:5px;
	width:400px;
		border:none;
}

#contactform li .msgbox {
	background:transparent url(msgfield.jpg) no-repeat top left; 
	float:left; 
	height:110px; 
	padding-left:5px;
	overflow:hidden;


}

#contactform li .msgbox textarea {
	background:transparent url(msgfield.jpg) no-repeat top right; 
	height:110px;
	padding-top:5px;
	width:400px;
	border:none;	 
	overflow:hidden;

}

#sendbutton {
	background:#acb4cb; color:#fff; 
	cursor:pointer;
	padding:5px 10px; 
	-moz-border-radius:4px;
	-webkit-border-radius:4px
}
/*CONTAKTI LOPPU*/


/*     caset       */
#container { position: relative; margin: 0; width: 810px; height: 550px; overflow: auto; }

.item { display: block; width: 810px; height: 500px; }
.item h3 { font-size: 16px; margin: 0px; color: #006699; }
.item p { font-size: 13px; max-width:800px; padding:0; margin:0; margin-bottom:10px;}
.item img {padding:0; margin:0;}


/* controls styling */
#controls1, #controls2, #controls3 { display: block; position: relative; margin: 2px auto; width: 500px;}

.prev_btn { float: left; }
.next_btn { float: right; }

.play_btn {
	clear: both; width: 100px; height: 25px; margin: 0 auto 12px; line-height: 25px; text-align: center; 
	text-transform: uppercase; font-size: 12px; color:#006699; border: 1px solid #0099cc; 
 }

.num_nav { text-align: center;}
.num_nav ul li { display: inline; margin: 0 2px; }
.num_nav ul li a { padding: 2px 3px; color:#006699; border: 1px solid #0099cc;  }
.num_nav ul li a.active, .num_nav ul li a:hover { border-color: #ffcc00; background-color:#ffcc00;}
.prev_btn, .next_btn { width: 35px; background-color:#fffff; }
/* caset */


