/*=================================*/
/* Nivo Slider Demo
/* November 2010
/* By: Gilbert Pellegrom
/* http://dev7studios.com
/*=================================*/

/*====================*/
/*=== Reset Styles ===*/
/*====================*/

table {
	border-collapse:separate;
	border-spacing:0;
}
caption, th, td {
	text-align:left;
	font-weight:normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:"";
}
blockquote, q {
	quotes:"" "";
}
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/*===================*/
/*=== Main Styles ===*/
/*===================*/
body {
	margin: 0;
	font-family: "Trebuchet MS";
	font-size: 14px;
	background-image: url(pics/wood.jpg);
}


a, a:active  a:visited{
	color:#000000;
}
h1 {
	font-family: 'Antic Slab', "Trebuchet MS";
	font-size: 24px;
	font-weight: normal;
	margin-top: 0px;
		line-height: normal;

}

h2 {
	font-family: 'Antic Slab', "Trebuchet MS";
	font-size: 18px;
	font-weight: normal;
	margin-top: 0px;
		line-height: normal;
	
}

h3 {
	font-family:  'Antic Slab', "Trebuchet MS";
	font-size: 16px;
	font-weight: normal;
	margin-top: 0px;
	line-height: normal;
}
h4 {
	font-family: 'Antic Slab', "Trebuchet MS";
	font-size: 14px;
	font-weight: normal;
	margin-top: 0px;
	line-height: normal;
}

.theme-default #slider {
	width:1000px; /* Make sure your images are the same size */
	height:383px; /* Make sure your images are the same size */
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

p {
font-family:"Trebuchet MS";
	font-size: 13px;
}

/*====================*/
/*=== Other Styles ===*/
/*====================*/
.clear {
	clear:both;
}


#wrapper-oma {
	width: 922px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	background-repeat: repeat-x;
	background-position: left top;
	height: 265px;
}
#content {
	width: 922px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 8px;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	background-image: url(pics/content-bgr.jpg);
}
#content-wrapper2 {
	margin-right: 20px;
	margin-left: 20px;
	margin-top: 10px;
}
.contentpalsta {
	width: 882px;
	float: left;
	font-size:13px;
	line-height: 1.3em;
}

.contentpalsta-sub {
	width: 600px;
	float: left;
	font-size:13px;
	padding-right:8px;
	line-height: 1.5em;
}


#contentpalsta h1 {
	font-size: 22px;
	text-transform: uppercase;
	color: #000066;
	font-weight: normal;
	background-image: url(pics/header-bgr.png);
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000066;
	font-style:normal;
	background-repeat: repeat-x;
	margin-top: 10px;
}
#contentpalsta .palsta-wide {
	float: left;
	font-family: "Trebuchet MS";
	padding-right: 12px;
	padding-left: 12px;
	padding-top: 12px;
	margin-left: 15px;
	width: 570px;
}

#contentpalsta .palsta1 {
	width: 248px;
	float: left;
	font-family: "Trebuchet MS";
	padding-right: 12px;
	padding-left: 12px;
	padding-top: 12px;
}

#contentpalsta .palsta2 {
	width: 248px;
	float: left;
	padding-right: 12px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCCCCC;
	padding-left: 12px;
	font-family: "Trebuchet MS";
	padding-top: 12px;
	margin-left: 30px;
}

#contentpalsta .palsta3 {
	width: 248px;
	float: right;
	padding-right: 12px;
	margin-left: 14px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCCCCC;
	padding-left: 12px;
	font-family: "Trebuchet MS";
	padding-top: 12px;
}
#wrapper-content {
	width: 934px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	background-image: url(pics/text-bgr.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: 7px;
}

#links {
	background-image: url(pics/links-bgr.png);
	height: 47px;
	width: 680px;
	background-repeat: repeat-x;
	margin-top: 0px;
	margin-bottom: 0px;
	position: absolute;
	margin-left: 200px;
}

.link-banner {
	font-family: 'Antic Slab', serif;
	text-transform: uppercase;
	color: #FFFFFF;
	height: 45px;
	list-style-type: none;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-left: 30px;
}
.link-banner li {
	list-style-type: none;
	float: left;
	padding-top: 6px;
	height: 20px;
	padding-right: 20px;
	padding-left: 20px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FFFFFF;
	padding-bottom: 6px;
}

.link-banner a {
	color: #FFFFFF;
	display: block;	
	text-decoration:none;
}

.link-banner a:hover {
	color: #FFFFFF;
	display: block;
	height:35px;
	padding-top:5px;
	text-decoration:none;
}
.link-banner ul {
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#main-wrapper {
	background-position: left top;
	width: 100%;
	float: left;
	padding-top: 40px;
}


#footer {
	width: 882px;
	padding-bottom: 10px;
	padding-top: 10px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #32327A;
	margin-right: 20px;
	margin-left: 20px;
	margin-top: 10px;
}
.footer-box {
	display: block;
	float: left;
	width: 200px;
	color: #4D4D4D;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #333333;
	padding-left: 30px;
	font-size: 12px;
}
.footer img {
	float: left;
	margin-right: 30px;
	padding: 5px;
}
.footer-box a, .footer-box-right a {
	color: #4D4D4D;
}

.footer-box-right {
	display: block;
	float: right;
	width: 200px;
	color: #4D4D4D;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #333333;
	padding-left: 30px;
	font-size: 12px;
	text-align: right;
}
#contentpalsta .icons {
	width: 100%;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #F4A323;
	float: left;
	text-align: center;
	margin-top: 8px;
	padding-top: 8px;
}
.icons img {
	padding-top: 8px;
	padding-right: 30px;
	padding-bottom: 8px;
	padding-left: 30px;
}
#content-palsta-right {
	width: 210px;
	height: auto;
	margin-right: 0px;
	padding-left: 30px;
	padding-top: 40px;
	float: right;
}
.index {
	width: 70%;
	float: left;
}
.index {
	background-image: url(pics/rightbar-bgr.png);
	background-position: right top;
	background-repeat: repeat-y;
}


img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.side-picture {
	float: left;
	width: 130px;
	margin-right: 20px;
	height: 150px;
	-webkit-box-shadow: 3px , 0.5);
	-moz-box-shadow: 3px , 0.5);
	box-shadow: 3px , 0.5);
}
.side-picture img {
	border: 3px solid #FFFFFF;
	-webkit-box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.3);
box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.3); 
}

.line {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F0A121;
	padding-top: 10px;
	margin-bottom: 15px;
	clear: both;
}
.h2image img {
	margin:0px;
	padding-top: 6px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 6px;
}

.h2image  {
	width:auto;
	float: right;
	margin-left: 20px;
	border: 1px solid #999999;
	background-color: #FFFFFF;
	display: block;
}
.icon {
	width: 165px;
	margin-right: 10px;
	margin-bottom: 10px;
	float: left;
}.icon img {
	width: auto;
	float: left;
}
.special {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F9A728;
	width: auto;
	padding-bottom: 5px;
	text-transform: uppercase;
}
.special2 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F9A728;
	padding-bottom: 10px;
	width: auto;
	clear: right;
	float: left;	
}

.special3 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F9A728;
	width: auto;
	padding-bottom: 5px;
	text-transform: uppercase;
	font-weight: bold;
	font-size:18px;
}

#palsta-sub1 {
	float: left;
	width: 270px;
	margin-right: 20px;
}
#palsta-sub2 {
	float: left;
	width: 250px;
}
.palsta-subit {
	padding: 3px;
}
.palsta-subit h3 {
	line-height:1.4em;

}
.palsta-wide {
	padding-right: 30px;
}

.palsta3 a {
	color: #000000;
	text-decoration: underline;
}
.button {
	width: 195px;
	background-image: url(pics/button-wide.png);
	background-repeat: no-repeat;
	height: 25px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	text-transform: uppercase;
	color: #FFFFFF;
	font-weight: bold;
	clear: both;
	float: left;
	text-align: center;
}
.palsta-sub3 {
	float: left;
	width: 167px;
	margin-right: 10px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCCCCC;
	padding-right: 10px;
	}
	

.opaque {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // first!
	filter: alpha(opacity=50);					// second!
}


	
.palsta1 h3 {
	font-size: 17px;
}
.footer {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	padding-top:30px;
}
.tekstilogo {
	background-color: #FFFFFF;
	border: 2px solid #999999;
	height: 60px;
	width: 160px;
	margin: 0px;
	padding: 1px;
	text-align: center;
}



.tb-1 {
	padding:0px;
	width:184px;
	height:26px;
	border: none;
	background-image: url(pics/quick-message.png);
	background-repeat: no-repeat;
	background-position: center top;
	opacity: 0.5;
	padding-top: 4px;
	padding-right: 4px;
	padding-bottom: 4px;
	padding-left: 10px;
}

.tb-2 {
	padding:0px;
	width:187px;
	height:115px;
	border: none;
	background-image: url(pics/quick-message-02.png);
	background-repeat: no-repeat;
	background-position: center top;
	opacity: 0.5;
	padding-top: 4px;
	padding-right: 4px;
	padding-bottom: 4px;
	padding-left: 10px;
	font-family:"Trebuchet MS";
	font-size:11px;
}

.back_to_top {
	background-image: url(pics/arrow-up.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F9A728;
	text-align: center;
	height: 14px;
	color: #F9A728;
	clear: both;
	padding-top: 20px;
}
.back_to_top a {
	color: #F9A728;
}
.print {
	float: right;
	height: 15px;
	margin-right: 5px;
	padding-top: 15px;
}
.lightgray-small-text {
	font-size: 11px;
	color: #666666;
}

.main1 {
	background-repeat: repeat-x;
	width: 100%;
	margin-top: 0px;
	height: 280px;
	background-image: url(pics/topbanner.png);
}
.slider-wrapper {
	padding-top: 75px;
}
#nav-one {
	height: 40px;
}
#header {
	height: 80px;
	background-image: url(pics/header-bgr.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	padding-top: 20px;
	padding-right: 40px;
	padding-bottom: 20px;
	padding-left: 40px;
}
.subtext {
	float: left;
	width: 540px;
	font-size: 14px;
	color: #033461;
	font-family: "Trebuchet MS";
	line-height: 1.4em;
}
#header .title {
	float: left;
	width: 300px;
	text-transform: uppercase;
	color: #FFFFFF;
	line-height: 1.3em;
	font-size: 16px;
	font-family: 'Antic Slab', serif;
}


#nav-bottom {
	height: auto;
	width: 934px;
	margin-right: auto;
	margin-left: auto;
}
#footer table {
	font-family: "Trebuchet MS";
	font-size: 11px;
	color: #32327A;
}
#footer img {
	padding-right: 10px;
	display: block;
	float: left;
}
#footer a {
	color:#32327A;
}
#nav-bottom li {
	float: left;
	list-style-type: none;
	padding-right: 20px;
	padding-left: 20px;
	margin-right: auto;
	margin-left: auto;
	font-family: 'Antic Slab', serif;
	text-transform: uppercase;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #DBCEBD;
}


.linkbanner-navibottom {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	height: 50px;
	width: 600px;
}
.linkbanner-navibottom li {
	color: #FAEDDC;
}

.valittu {
	font-weight: bold;
}
.linkbanner-navibottom a {
	color: #FDF2E2;
	text-decoration: none;
}

.linkbanner-navibottom a:hover {
	color: #FDF2E2;
	text-decoration: underline;
}

.linkkitausta {
	background-image: url(pics/linkki-tausta.png);
	height: 30px;
	background-repeat: no-repeat;
	padding-top: 23px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 40px;
	text-transform: uppercase;
	font-size: 14px;
	font-family: 'Antic Slab', serif;
	color: #5D4526;
}
.toppicture {
	padding-top: 75px;
}
.linkkitausta a {
	color: #000066;
}

.noborder img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.blue {
	color: #32327A;
	font-size: 11px;
	padding-right: 50px;
}

#contentpalsta .palsta-wide img {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
.imageframe {
	height: 160px;
	width: 260px;
	z-index: 1;
	position: relative;
}

.imageframe img
{
position:absolute;
left:0px;
top:0px;
z-index:-1;
}

.test
{
	margin-top:13px;
	margin-left:10px;
}
