/* YritysAkatemia CSS Document 11/2008 */

body {
	margin:0px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	background-color:#e2e0e1;
}

img {
	border:0px;
}

form {
	margin:0px;
	padding:0px;
}

div.wrap {
	margin:0px auto;
	width:968px;
	background:url(../images/bg.gif) left repeat-y;
}

div.navi {
	margin:0px 8px;
	background:url(../images/navi_bg.gif) bottom center no-repeat;
	border-right:5px solid #fff;
	border-left:5px solid #fff;
	position:relative;
	height:48px;
}

div.header {
	margin:0px 8px;
}

div.frontpage {
	margin:0px 8px;
	border:5px solid #fff;
}

div.defaultpage {
	margin:0px 8px;
	border:5px solid #fff;
}


/* Frontpage */

div.descbox {
	padding:10px 13px;
}

td.leftblock {
	width:277px;
	vertical-align:top;
	background:url(../images/leftb_bg.jpg) bottom center no-repeat #dcdbdb;
	border-bottom:1px solid #bfbebd;
	border-right:5px solid #fff;
}

td.centerblock {
	width:326px;
	vertical-align:top;
	border:1px solid #afb9d2;
	background-color:#f1f2f7;
}

div.newstop {
	padding:8px;
	padding-top:0px;
	background-color:#fff;
}

td.rightblock {
	width:332px;
	vertical-align:top;
	background:url(../images/logo.gif) no-repeat center bottom;
}

div.rightb_margin {
	padding:0px 0px 0px 10px;
	margin-left:5px;
	background-color:#fff;
	border-bottom:1px solid #c6c5c5;
}


/* Defaultpage */

td.defaultblocks {
	width:695px;
	vertical-align:top;
	border:1px solid #aeb8d1;
	border-left:5px solid #fff;
	background:url(../images/mainb_bg.gif) top repeat-x;
	border-top:0px;
	border-bottom:0px;
}

td.leftnavi {
	width:238px;
	vertical-align:top;
	border:1px solid #bfbebd;
	background:url(../images/leftnavi_bg.jpg) bottom center no-repeat #dcdbdb;
}

td.mainblock {
	width:497px;
	vertical-align:top;
	border-left:1px solid #aeb8d1;
	border-bottom:1px solid #aeb8d1;
}

td.mainblock_wide {
	width:692px;
	vertical-align:top;
	border-left:1px solid #aeb8d1;
	border-bottom:1px solid #aeb8d1;
}

td.rightinfoblock {
	width:197px;
	vertical-align:top;
	border-bottom:1px solid #aeb8d1;
}

div.mainb_margin {
	margin:14px 0px;
	padding:0px 20px 0px 14px;
	background:url(../images/dots_ver.gif) top right repeat-y;
}

div.mainwide_margin {
	margin:14px 0px;
	padding:0px 20px 0px 14px;
}

div.rightinfo_margin {
	margin:14px 0px;
	padding:0px 14px 0px 11px;
}

div.default_top {
	border-bottom:1px solid #b9c1d6;
	padding:8px 14px;
	border-left:1px solid #aeb8d1;
	border-top:1px solid #aeb8d1;
}


/* Horbar */

.horbar {
	background:url(../images/horbar.gif) repeat-x top;
	padding:13px 0px;
}

.horbaritem, .horbaritemselected {
	display:inline;
	font-weight:bold;
}

.horbaritem a {
	background:url(../images/horbaritem.gif) repeat-x top right;
	padding:13px;
	color:#711123;
	text-decoration:none;
}

.horbaritemselected a, .horbaritem a:hover {
	background:url(../images/horbaritemselected.gif) repeat-x top right;
	padding:13px;
	text-decoration:none;
}

.horbaritemselected a {
	color:#711123;
}


/* Footer */

div.footer {
	margin:0px auto;
	width:968px;
	background:url(../images/footer.gif) no-repeat left;
	text-align:center;
}

div.footer p {
	margin:0px;
	padding:15px 15px 20px 15px;
	font-size:11px;
	color:#666;
}

div.footer img {
	vertical-align:bottom;
	padding-bottom:1px;
}


/* Sidemenu */

.sidemenu {
	padding:10px 0;
}

.sidemenulevel {
	font-size:12px;
	}
	
.sidemenulink {
	padding:4px 7px;
	}

.sidemenulink a {
	color:#203778;
	text-decoration:underline;
	text-decoration:none;
	}
	
.sidemenulink a:hover {
	color:#333;
	}
	
a.sidemenuselected {
	text-decoration:underline;
	}
	
.sidemenulevel .sidemenulevel {
	font-size:11px;
	background-color:#f1efef;
	border-bottom:1px solid #c0bfbf;
	border-top:1px solid #c0bfbf;
	padding:3px 0px 3px 19px;
	}
	
.sidemenulevel .sidemenulevel .sidemenulevel {
	border:0px;
	background:none;
	}
	
.sidemenulevel .sidemenulevel .sidemenulink {
	border:0px;
	padding:3px 0px;
	}
	
.sidemenuarrow, .sidemenublank {
	float: left;
	height: 15px;
	margin:1px 3px 0px 0px;
}


/* Search and mailing list boxes */

div.searchbox {
	background:url(../images/searchbox_bg.gif) repeat-x top #a36570;
	border:1px solid #a56975;
	padding:10px 13px;
}

div.mailingbox {
	background:url(../images/mailingbox_bg.gif) repeat-x top #aba9aa;
	border-bottom:5px solid #fff;
	border-top:5px solid #fff;
	padding:10px 13px;
}

div.searchbox label {
	display:none;
}

div.mailingbox .addtoemaillistheading {
	display:none;
}

div.searchbox input {
	margin:0px;
	padding:2px;
	border:1px solid #ba96c6;
	color:#666;
}

div.searchbox input.searchboxsubmit {
	border:0px;
	padding:0px;
	vertical-align:bottom !important;
}

div.mailingbox input {
	margin:0px;
	padding:2px;
	border:1px solid #928d8e;
	color:#666;
}

div.mailingbox input.submit {
	border:0px;
	padding:0px;
	vertical-align:bottom !important;
}

div.searchbox img {
	margin-bottom:5px;
}

div.mailingbox img {
	margin-bottom:5px;
}


/* Content */

.content, .content p {
	margin:0px;
	font-size:12px;
	color:#333;
	line-height:16px;
}

div.defaultpage .content {
	padding-bottom:10px;
}

div.defaultpage .content .content {
	padding-bottom:0px;
}

td.rightblock .content .content {
	border-bottom:0px;
	padding-bottom:0px;
}

td.rightinfoblock .content {
	line-height:20px;
}

td.rightinfoblock .content .content {
	line-height:normal;
}

.content h1 {
	color:#711123;
	margin:0px;
	padding-bottom:10px;
	font-size:17px;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:normal;
}

.content h2 {
	color:#711123;
	margin:0px;
	padding-bottom:8px;
	font-size:15px;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:normal;
}

.content h3 {
	color:#711123;
	margin:0px;
	padding-bottom:8px;
	font-size:13px;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:normal;
}

.content a {
	color:#16347d;
	text-decoration:underline;
}

.content a:hover {
	text-decoration:none;
}

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

div.newstop .content img {
	margin:0px 10px 10px 0px;
}

.content .p4table {
	margin:0px;
	font-size:12px;
	color:#333;
	line-height:16px;
	width:100%;
}

form.p4form table {
	margin:15px 0px 5px 0px;
}
	
form.p4form td {
	padding:2px 8px 2px 0px;
}

div.content_image_caption {
	font-size:11px;
	padding:4px 10px 15px 10px;
	line-height:normal;
	font-weight:normal;
	text-align:center;
	text-decoration:none;
	color:#666;
	background:none;
}


/* News */

.content .newstitle {
	color:#711123 !important;
	margin:0px;
	padding-bottom:10px;
	font-size:17px !important;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:normal;
}

.content .newsdigesttitle {
	color:#711123;
	margin:0px;
	padding-bottom:10px;
	font-size:17px;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:normal;
}

.content .news h1 {
	font-size:15px;
	padding-bottom:8px;
}

.content .news h2 {
	font-size:13px;
	padding-bottom:8px;
}

td.rightinfoblock .newsdigesttitle {
	font-size:13px;
	padding-bottom:8px;
}

div.frontpage .newsdigesttitle {
	display:none;
}

div.frontpage .newsdigestitem {
	border-top:1px solid #afb9d2;
	padding:8px;
}

div.defaultpage .newsdigestitem {
	padding-bottom:10px;
}

td.rightinfoblock .newsreadmore {
	display:none;
}

div.frontpage .newsdigest .row1 {
	background-color:#f1f2f7;
}

div.frontpage .newsdigest .row2 {
	background-color:#e6e9f1;
}

.newsdate {
	font-size:11px;
	margin-right:5px;
}

div.frontpage .newsingress {
	font-size:11px;
	line-height:normal;
}

div.frontpage .newsreadmore {
	display:none;
}

.newsitemreadmore {
	margin-top:20px !important;
}


/* Path, printer */

div.path {
	font-size:11px;
	line-height:15px;
	color:#203779;
}

div.path a {
	color:#203779;
}

a.pathlink {
	text-decoration:none;
}

a:hover.pathlink {
	text-decoration:underline;
}

a.pathlinkcurrent {
	text-decoration:none;
	font-weight:bold;
}

a:hover.pathlinkcurrent {
	text-decoration:underline;
}

img.printericon {
	margin:0px 0px 0px 15px;
	float:right;
}


/* Search page */

.searchhilited {
	text-decoration:underline;
}
	
a.searchhilited {
	text-decoration:underline;
}
	
a:hover.searchhilited {
	text-decoration:none !important;
}
	
.searchresult {
	margin-bottom: 17px;
}
	
.searchresultcount {
	margin:20px 0px 10px 0px;
	line-height:18px;
	font-size:12px;
	font-weight:bold;
}
	
.searchheading a {
	font-size:12px;
	text-decoration:none;
}
	
.searchheading {
	margin-bottom: 5px;
}
	
.searchsummary {
	font-size: 12px;
}

input.searchsubmit {
	background:url(../images/button.gif) repeat-x top #3c5aa3;
	border:1px solid #26448d;
	color:#fff;
	margin: 0px;
	text-align: center;
	padding: 2px 5px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	vertical-align:bottom;
}


/* Various P4 styles */

body.contentbg {
	background-color:#fff;
	background-image:none;
}
	
.notpublic {
	color:#e20f2d;
}

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


/* Attachments */

a.attachment, a.file {
	display: block;
	background-position: left center;
	background-repeat: no-repeat;
	padding: 5px 0px 5px 26px;
	}
	
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;
}


/* Added fixes */

.content table.kalenteritaulukko img { margin:0px; }

.newsdigest .newsheading { padding-bottom:3px; }