/* CONTENT STYLES */

body, p, td p, li, code {
	font-family: Tahoma, Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 14px;
	color: Black;
}

p {
	margin-top: 0;
	margin-bottom: 1.0em;
}


a, a:link, a:visited {
	color : #c20318;
	font-weight: normal;
	text-decoration : underline;
}
a:hover, a:active {
	color : #c20318;
	font-weight: normal;
	text-decoration: underline;
}

.linktext {
	color : #c20318;
	font-weight: normal;
	text-decoration: none;
}


td.maincontents {
	letter-spacing: normal;
}



img {
	border: 0;
}




/* Headings */
h1, h2, h3, h4 {
	margin: 0 0 10px 0;
	letter-spacing: normal;
}

h1, h2, h3 {
	font-family: Arial, Geneva, Helvetica, sans-serif;
	font-weight: bold;
	color: Black;
}

h1 {
	font-size: 28px;
	font-weight: normal;
}

h2 {
	font-size: 14px;
}

h3 {
	font-size : 12px;
}

h4 {
	color: Black;
	font-size: 11px;
}

h1.contactpagetitle {
	font-size: 30px;
	font-weight: normal;
}

h2.newslist {
	font-size: 12px;
}

.h1subtitle {
	font-family: Arial, Geneva, Helvetica, sans-serif;
	font-weight : bold;
	font-size : 12px;
	color: #333333;
}

fieldset {
	border: solid 1px #999999;
	padding: 8px;
	background-color: #F8F8F8;
}

legend {
	color: #707070;
	font-size : 12px;
	font-weight: bold;
}

/* Yleiset asemointimääritykset */
.left {
	text-align : left;
}
.center {
	text-align : center;
}
.right {
	text-align : right;
}


.error {
	color: Red;
}

.note {
	font-size: 10px;
}

.required {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #c00000;
	font-weight: bold;
	font-size: 11px;
}

.offline {
	color: Gray;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}


/* Form Styles */
input, textarea, formfield, button, select {
	background-color: White;
	font-family: Arial, Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #333333; 
	font-weight: normal;
	border: solid 1px #999999;
}

input.button {
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	background-color: #EEEEEE;
	color : Black;
	border: 1px solid #999999;
	font-weight: normal;
	font-size: 11px;
}


.noborder, input.noborder, #maincontentarea .noborder {
	border: 0;
	background-color: transparent;
}



.deleted, h1.deleted, a.deleted, a.deleted:link, a.deleted:visited {
	text-decoration: line-through;
}

a.deleted:hover, a.deleted:active {
	text-decoration: line-through;
}

/* Page image styles */
td.pageimageright {
	padding: 0 0 0 20px;
	text-align: right;
}

td.pageimage {
	padding: 0;
}

/* Page image text styles */
td.pageimagetext {
	vertical-align: bottom;
	padding: 0 0 0 10px;
	letter-spacing: normal;	
}

td.pageimagetext p {
	margin: 0 0 0.6em 0;
	letter-spacing: normal;	
}

div.pagesectioncontentsfirst
{
    border: 2px solid red;
}

/* Content Section Styles */
td.pagesectioncell, td.maincontents td.pagesectioncell {
	padding: 0 10px;
}

td.imagesleft {
	padding-right: 10px;
}
td.imagesright {
	padding-left: 10px;
}


table.imgwrapperleft {
	margin: 0 auto 1em 0;
}
table.imgwrappercenter {
	margin: 0 auto 1em auto;
}
table.imgwrapperright {
	margin: 0 0 1em auto;
}

table.left {
	margin: 0 auto 0 0;
}
table.center {
	margin: 0 auto 0 auto;
}
table.right {
	margin: 0 0 0 auto;
}



.kuvateksti {
	font-size: 11px;
	color: #333333;
	margin-top: -0.9em;
	margin-bottom: 1em;
}

/* Section images printed with div */
.sectionimageleft {
	float: left;
	padding-right: 10px;
}
.sectionimageright {
	float: right;
	padding-left: 10px;
}
.sectionimageleft img, .sectionimageright img {
	padding: 0;
}



/* Images with thumb border */
.thumbborder, img.thumbborder, td.maincontents img.thumbborder {
	border: 1px solid Black;
}

.thumbborderinvisible, img.thumbborderinvisible, td.maincontents img.thumbborderinvisible {
	border: 1px solid White;
}

.thumbborderactive, img.thumbborderactive, td.maincontents img.thumbborderactive {
	border: 2px solid Black;
}

.thumbborderinactive, img.thumbborderinactive, td.maincontents img.thumbborderinactive {
	border: 2px solid White;
}



/* Notification Box Styles */
td.huombox {
	background-color: #D8EAFB;
	border: 1px solid #003466;
	/* background-color: #FFD9DF;
	border: 1px solid #cc0000; */
	padding: 10px;
	vertical-align: middle;
}
td.huombox p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

td.notice {
	background-color: #FBEDBB;
	border: 1px solid #999999;
	padding: 10px;
	vertical-align: middle;
}
td.notice p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	color: #333333;
}




/* Image Teaser Styles */
#imageteaser {
	float: left;
	padding: 0;
	margin: 0;
}

td.colored {
	background-color: #F0F0F0;
}


/* Article attachment styles */
table.attachments {

}

table.attachments td {
	padding: 2px 5px 2px 5px;
}

table.attachments td.header {
	background-color : transparent;
}

table.attachments td.header {
	padding : 2px;
	border-bottom: 1px solid Gray;
}

table.attachments td p, table.attachments td.header p {
	margin: 0px;
}

table.attachments td.header p {
	color : Black;
	font-size : 11px;
	font-weight: bold;
}

table.attachments td.header a, table.attachments td.header a:link, table.attachments td.header a:visited {
	color : White;
	font-weight: bold;
	text-decoration : underline;
}
table.attachments td.header a:hover, table.attachments td.header a:active {
	color : White;
	font-weight: bold;
	text-decoration : none;
}




