/* Pytty-kampanja CSS Document 7/2009 */

body {
	margin:0;
	padding:0;
	font-size:12px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-align:left;
}

body.etusivu {
	background-color:#f7d6d4;
}

body.tukkivat_jatteet {
	background-color:#e3e6d1;
}

body.ongelmajatteet {
	background-color:#f0deba;
}

body.itameri {
	background-color:#ebd1de;
}

body.aineistot {
	background-color:#d6e3e6;
}

body.pasvenska {
	background-color:#f0ebb0;
}

body.linkit {
	background-color:#b8dbd6;
}
	
body.contentbg {
	background-color:#fff;
	background-image:none;
	text-align:left;
}
	
form {
	margin:0;
	padding:0;
}

.notpublic {
	color:#dd0521;
}

img {
	border:0;
}

br.eoc {
	font-size:4px;
	height:4px;
}

div.wrap {
	width:1150px;
}

body.aineistot div.wrap {
	background:url(../images/pytty/pytty_aineistot.jpg) top left no-repeat;
}

body.pasvenska div.wrap {
	background:url(../images/pytty/pytty_pasvenska.jpg) top left no-repeat;
}

body.linkit div.wrap {
	background:url(../images/pytty/pytty_linkit.jpg) top left no-repeat;
}

div.navi {
	position:absolute;
	top:20px;
	left:104px;
	white-space:nowrap;
}

div.navi img {
	margin-right:35px;
}

div.blocks {
	padding-bottom:100px;
}

body.aineistot div.blocks {
	padding:110px 0 100px 0;
}

body.pasvenska div.blocks {
	padding:110px 0 100px 0;
}

body.linkit div.blocks {
	padding:110px 0 100px 0;
}

td.leftblock {
	width:485px;
	vertical-align:top;
}

td.leftblock .blockmargin {
	margin:115px 60px 0 113px;
}

body.pasvenska td.leftblock .blockmargin {
	margin:207px 40px 0 70px;
}

td.rightblock {
	width:663px;
	vertical-align:top;
}

body.linkit td.rightblock .blockmargin {
	margin:40px 100px 0 0;
}

div.footer {
	width:1148px;
	position:relative;
}

div.footer p {
	text-align: center;
	position:relative;
	top:-110px;
	font-size:11px;
	color:#000;
}


/* Content */

.content, .content p {
	font-size:11px;
	line-height:14px;
	color:#000;
	margin:0;
}

.content {
	margin-bottom:14px;
}

.content .content {
	margin:0;
}

.content h1 {
	font-size:18px;
	font-weight:bold;
	line-height:normal;
	margin:0 0 10px 0;
	color:#e63375;
}

.content h2 {
	font-size:16px;
	font-weight:bold;
	line-height:normal;
	margin:0 0 8px 0;
	color:#e63375;
}

.content h3 {
	font-size:14px;
	font-weight:bold;
	line-height:normal;
	margin:0 0 6px 0;
	color:#e63375;
}
	
.content a {
	text-decoration:none;
	color:#0083d7;
	font-weight:bold;
}
	
.content a:hover {
	text-decoration:underline;
}
	
div.content_image_caption {
	font-size:11px;
	padding:0 10px 15px 10px;
	line-height:normal;
	font-weight:normal;
	text-align:center;
	text-decoration:none;
	color:#555;
	background:none;
}

.content table.p4table {
	margin:0;
	font-size:11px;
	line-height:14px;
	color:#000;
}

.content table.p4table td {
	vertical-align:top;
}

form.p4form table {
	margin:15px 0px 5px 0px;
}

input.formsubmit {
	background-color:#e63375;
	padding:3px 5px;
	font-size:11px;
	font-weight:bold;
	color:#fff;
	border:2px solid #fff;
	margin:0;
	vertical-align:bottom;
	overflow:visible;
	cursor:pointer;
}
	
form.p4form td {
	padding:2px 8px 2px 0px;
	vertical-align:middle;
}

.content textarea {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	padding:2px;
}

.content input {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	padding:2px;
}

.content img {
	margin:10px;
}

img.contentbaricon,img.contentstateicon {
	border:none;
	margin:3px;
	padding:0;
}

.content img[align="left"] {
	margin-left:0px;
}
	
.content img[align="right"] {
	margin-right:0px;
}


/* Content exceptions */

td.leftblock .content img {
	margin:0;
}

td.rightblock .content .p4table {
	border-collapse:collapse;
}

td.rightblock .content .p4table td {
	vertical-align:bottom;
}

body.aineistot td.rightblock .content img {
	background:url(../images/pytty/esite_bg.gif) no-repeat center;
	margin:0;
	padding:18px 21px 23px 16px;
}

body.pasvenska td.rightblock .content img {
	background:url(../images/pytty/esite_bg_sv.gif) no-repeat center;
	margin:0;
	padding:18px 21px 23px 16px;
}


/* News */

.content .newstitle {
	font-size:18px;
	font-weight:bold;
	line-height:normal;
	margin:0 0 10px 0;
	color:#e63375;
}

.content .newsdigesttitle {
	font-size:18px;
	font-weight:bold;
	line-height:normal;
	margin:0 0 10px 0;
	color:#e63375;
}

.content .news h1 {
	font-size:16px;
	margin-bottom:8px;
}

.content .news h2 {
	font-size:14px;
	margin-bottom:6px;
}

.content .news h3 {
	font-size:12px;
	font-weight:bold;
	margin-bottom:4px;
}
	
.newsdate {
	font-size:11px;
	display:block;
}
	
.newsdigestitem .newsheading {
	margin:3px 0px;
}

.news .newsheading {
	margin:3px 0px;
}
	
.newsdigestitem {
	margin-bottom:10px;
}
	
.newsreadmore {
	display:none;
}

.newsingress {
	color:#444;
}

.newsdigestitem .newsingress {
	display:none;
}
	
div.news .newsingress {
	margin:2px 0px;
}
	
.content p.newsitemingress {
	margin-bottom:15px;
}
	
.content p.newsitemreadmore {
	margin-top:20px;
	display: block;
}
	
div.news .content {
	padding-bottom:0px;
}

.newsdigestimage, .newsimage {
	float:left;
}

.content .newsdigestimage img, .content .newsimage img {
	margin:0px 10px 10px 0px;
}

.content .newsdigesttitle img {
	margin:1px 0 0 2px;
	float:right;
}

.content .newstitle img {
	margin:1px 0 0 2px;
	float:right;
}

.content .newsclear {
	clear:both;
	font-size:1px;
	height:1px;
}
	
	
/* Attachments */

a.attachment, a.file {
	display: block;
	background-position: left center;
	background-repeat: no-repeat;
	padding: 5px 0px 5px 24px;
	}
	
a.file { background-image:url(../aimg/icons/file.gif); }
a.pdf { background-image:url(../aimg/icons/pdf.gif); }
a.txt { background-image:url(../aimg/icons/txt.gif); }
a.jpg { background-image:url(../aimg/icons/jpg.gif); }
a.gif { background-image:url(../aimg/icons/gif.gif); }
a.zip { background-image:url(../aimg/icons/zip.gif); }
a.word { background-image:url(../aimg/icons/word.gif); }
a.powerpoint { background-image:url(../aimg/icons/powerpoint.gif); }
a.excel { background-image:url(../aimg/icons/excel.gif); }
a.rtf { background-image:url(../aimg/icons/rtf.gif); }

.content_image a.attachment, .content_image a.file, .content_image a.jpg, .content_image a.gif {
	background: none;
	padding: 0px;
}