body {
	background-color: #eceee8;
	background-image: url(../i/body_bg.jpg);
	margin: 0px;
	padding: 0px;
}

.navitd {
	background-image: url(../i/navi_bg.jpg);
	height: 66px;
}
.navitd2 {
	text-align: center;
}
.flashtd {
	height: 225px;
	padding-right: 24px;
	padding-left: 23px;
	background-color: #FFFFFF;
}
.maintd {
	background-image: url(../i/maintd_bg.jpg);
	vertical-align: top;
	width: 645px;
	padding-top: 40px;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
	background-color: #FFFFFF;
	background-repeat: repeat-x;
}
.right {
	vertical-align: top;
	width: 230px;
	padding-right: 20px;
	padding-left: 20px;
	background-color: #FFFFFF;
	background-image: url(../i/maintd_bg.jpg);
	background-repeat: repeat-x;
	padding-top: 40px;
	padding-bottom: 30px;
}
.navitable {
	background-image: url(../i/body_bg.jpg);
	border: 3px solid #CCCCCC;
}
.ajanktd {
	padding: 15px;
}

.ots {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 24px;
	line-height: 34px;
	font-weight: bold;
	color: #25338A;
	letter-spacing: 1px;
}
.vots {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #3F4847;
	font-weight: bold;
}
.t {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #3C4446;
}
.tcopy {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	line-height: 18px;
	color: #666666;
}
.copy {
	text-align: center;
}
.aots {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 18px;
	line-height: 28px;
	font-weight: bold;
	color: #F0F0F0;
}
.avots {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #CCCCCC;
	line-height: 22px;
}
.at {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	line-height: 18px;
	color: #CCCCCC;
}
b {
	font-size: 14px;
	color: #465153;
}
a:link {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	color: #51678C;
	text-decoration: underline;
	line-height: 20px;
}
a:visited {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	color: #51678C;
	text-decoration: underline;
	line-height: 20px;
}
a:active {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	color: #51678C;
	text-decoration: underline;
	line-height: 20px;
}
a:hover {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 14px;
	color: #84A2C6;
	line-height: 20px;
}
a.navi:link {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #1B1A18;
	text-decoration: none;
	line-height: 14px;
	text-transform: uppercase;
}
a.navi:visited {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #22211F;
	text-decoration: none;
	line-height: 14px;
	text-transform: uppercase;
}
a.navi:active {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #0D0C0A;
	text-decoration: none;
	line-height: 14px;
	text-transform: uppercase;
}
a.navi:hover {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #CCCCCC;
	text-decoration: none;
	line-height: 14px;
	text-transform: uppercase;
}
a.navi2:link {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 18px;
	color: #25338A;
	text-decoration: underline;
	line-height: 24px;
}
a.navi2:visited {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 18px;
	color: #25338A;
	text-decoration: underline;
	line-height: 24px;
}
a.navi2:active {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 18px;
	color: #25338A;
	text-decoration: underline;
	line-height: 24px;
}
a.navi2:hover {
	font-family: "Palatino Linotype", Arial, sans-serif;
	font-size: 18px;
	color: #12110F;
	text-decoration: none;
	line-height: 24px;
}
/* Pakolliset */
.textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	width: 240px;
	border: 1px solid #100F0D;
	background-color: #FFFFFF;
	overflow: auto;
	margin: 1px;
}
.button {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #495456;
	border: 1px solid #000000;
}
.textfield {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	width: 240px;
	border: 1px solid #100F0D;
	margin: 1px;
	background-color: #FFFFFF;
}

.image {
	border-color: #EEEEEE;
	margin: 3px;
}
pre	{
	margin: 0px;
	padding: 0px;
}
/* Pakolliset loppuu*/


.mySlides {display: none;}
.imgcarusel {vertical-align: middle;
  width: 100%;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.9s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3.5s;
  animation-name: fade;
  animation-duration: 3.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
