* {
	border: 0;
	outline: 0;
	font-family: Times, Times New Roman, Georgia, serif;
	font-size: 16px;
	color: #000033;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	min-width: 1000px;
}

body {
	background-color: #ffffff;
	background-image: url(http://www.jtalsi.fi/gfx/body_background.png);
	background-position: center;
	background-repeat: repeat-y;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h2 {
	margin-top: 10px;
	margin-bottom: 25px;
	color: #cc0000;
	font-size: 18px;
	font-weight: bold;
}

h3 {
	margin-top: 10px;
	margin-bottom: 25px;
	color: #cc0000;
	font-size: 16px;
	font-weight: bold;
}

input, select, textarea {
	border: 1px solid #000033;
}

ul {
	margin-left: 0;
	margin-right: 0;
}

#bottomframe h2, #sideframe1 h2 {
	color: #000033;
}

#title {
	display: none;
}

#bodycontainer {
	width: 1000px;
	min-height: 100%;
	margin-left: auto;
	margin-right: auto;
	background-image: url(http://www.jtalsi.fi/gfx/bodycontainer_background.png);
	background-position: bottom right;
	background-repeat: no-repeat;
}

#header {
	background-color: #99ccff;
	width: 1000px;
	height: 160px;
	margin-left: auto;
	margin-right: auto;
	border-top: 2px solid #003366;
	border-bottom: 2px solid #003366;
}

#logo {
	float: left;
	margin-left: 30px;
	margin-top: 30px;
}

#menu {
	float: right;
	width: 700px;
	height: 41px;
	margin-top: 119px;
	margin-right: 30px;
}

#menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

#menu ul li {
	display: inline;
	text-align: center;
}

#menu ul li a {
	float: left;
	width: 142px;
	height: 39px;
	background-image: url(http://www.jtalsi.fi/gfx/menu_button.png);
	margin-right: 30px;
	line-height: 39px;
	color: #cc0000;
	font-size: 16px;
	font-weight: bold;
	padding-top: 2px;
}

#menu ul li a:hover {
	text-decoration: underline;
}

#leftframe_container {
	width: 726px;
	float: left;
	margin-top: 30px;
	margin-left: 22px;
}

#bodyframe_top {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/leftframe_yellow_top.png);
}

#bodyframe {
	width: 670px;
	min-height: 400px;
	background-image: url(http://www.jtalsi.fi/gfx/leftframe_yellow_background.png);
	padding-top: 1px;	/* png has 14px padding, total 15px */
	padding-left: 28px;	/* png has -8px padding, total 20px */
	padding-right: 28px;	/* png has -8px padding, total 20px */
	padding-bottom: 18px;	/* png has  7px padding, total 25px */
}

#bodyframe_bottom {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/leftframe_yellow_bottom.png);
	margin-bottom: 19px;
}

#bottomframe_top {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/leftframe_blue_top.png);
}

#bottomframe {
	width: 670px;
	min-height: 100px;
	background-image: url(http://www.jtalsi.fi/gfx/leftframe_blue_background.png);
	padding-top: 1px;	/* png has 14px padding, total 15px */
	padding-left: 28px;	/* png has -8px padding, total 20px */
	padding-right: 28px;	/* png has -8px padding, total 20px */
	padding-bottom: 8px;	/* png has  7px padding, total 15px */
}

#bottomframe_bottom {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/leftframe_blue_bottom.png);
	margin-bottom: 19px;
}

#rightframe_container {
	width: 216px;
	float: right;
	margin-top: 30px;
	margin-right: 22px;
}

#sideframe_top, #sideframe3_top {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_red_top.png);
}

#sideframe, #sideframe3 {
	width: 160px;
	min-height: 100px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_red_background.png);
	padding-top: 1px;	/* png has 14px padding, total 15px */
	padding-left: 28px;	/* png has -8px padding, total 20px */
	padding-right: 28px;	/* png has -8px padding, total 20px */
	padding-bottom: 8px;	/* png has  7px padding, total 15px */
}

#sideframe3 {
	min-height: 0;
}

#sideframe_bottom, #sideframe3_bottom {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_red_bottom.png);
	margin-bottom: 19px;
}

#sideframe1_top {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_blue_top.png);
}

#sideframe1 {
	width: 160px;
	min-height: 50px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_blue_background.png);
	padding-top: 1px;	/* png has 14px padding, total 15px */
	padding-left: 28px;	/* png has -8px padding, total 20px */
	padding-right: 28px;	/* png has -8px padding, total 20px */
	padding-bottom: 8px;	/* png has  7px padding, total 15px */
}

#sideframe1_bottom {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_blue_bottom.png);
	margin-bottom: 19px;
}

#sideframe2_top {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_yellow_top.png);
}

#sideframe2 {
	width: 160px;
	min-height: 50px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_yellow_background.png);
	padding-top: 1px;	/* png has 14px padding, total 15px */
	padding-left: 28px;	/* png has -8px padding, total 20px */
	padding-right: 28px;	/* png has -8px padding, total 20px */
	padding-bottom: 8px;	/* png has  7px padding, total 15px */
}

#sideframe2_bottom {
	height: 16px;
	background-image: url(http://www.jtalsi.fi/gfx/rightframe_yellow_bottom.png);
	margin-bottom: 19px;
}

#footertext {
	width: 726px;
	float: left;
	margin-left: 22px;
	margin-bottom: 22px;
	text-align: center;
	color: #99ccff;
	font-size: 16px;
}

#footertext a {
	color: #99ccff;
}

#footer {
	clear: both;
}

.largeimgbox {
	margin-top: 10px;
	margin-bottom: 25px;
}

.largeimgbox img {
	border: 1px solid #003366;
}

.textpageimage {
	float: right;
	margin-top: 60px;
}

.textpageimage img {
	border: 1px solid #003366;
}

#bodyframe h2 {
	font-size: 20px;
}

#bodyframe h3 {
	font-size: 18px;
}

#bodyframe p {
	margin-top: 10px;
	margin-bottom: 25px;
	width: 450px;
	text-align: left;
}

#bodyframe p a {
	color: #cc0000;
}

.small {
	font-size: 13px;
}

.small a {
	font-size: 13px;
}


.imgbox-outer {
	width: 120px;
	min-height: 120px;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	margin-bottom: 5px;
	zoom: 1;
	*display: inline;
	_height: 120px;
	text-align: center;
}

.imgbox-outer a {
	font-size: 12px;
	color: #000033;
}

.imgbox-outer a:hover {
	text-decoration: none;
}

.imgbox-inner {
	width: 120px;
	height: 90px;
	border: 1px solid #003366;
	background-color: #ccccff;
	text-align: center;
}
