/* Yleiset */

body {
	background-color: #f8f8f8;
	color: #4c4c4c;
	margin: 0;
	padding: 0;
}

a {
	color: #539BCD;
	font-weight: normal;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* Perusrakenteen elementit */

div#container {
	width: 100%;
	background-image: url( ../img/bg_page.gif );
	background-position: top center;
	background-repeat: repeat-y;
	text-align: center;
}

div#page {
    position: relative; /* Tämä on linkin sijoittamiseksi logon päälle */
	width: 930px;
	text-align:left;
	margin: 0 auto;
}
a#logo-link {
    position: absolute;
    top: 17px;
    left: 38px;
    width: 120px;
    height: 40px;
}
a#logo-link span { display: none; }

div#content {
	text-align: left;
	font: normal "Times New Roman",Times,serif;
	background-image: url( ../img/content_bg_stripes.gif );
	background-position: top left;
	background-repeat: repeat-y;
}

/* Footer */

div#footer {
	clear: both;
	width: 100%;
	text-align: center;
	background-color: #f8f8f8;
	background-image: url( ../img/bg_page_bottom.gif );
	color: #595959;
	background-position: top center;
	background-repeat: no-repeat;
	padding-top: 32px;
	padding-bottom: 30px;
	font: 12px "Trebuchet MS",Trebuchet,Arial,sans-serif;
/*	line-height: 6.6em;*/
}

div#footer div {
	display: inline;
	background-image: url( ../img/footer-bullet.gif );
	background-position: 11px 6px;
	padding-left: 28px;
	background-repeat: no-repeat;
}
div#footer div span {
	margin-left: 13px;
}
div#footer div span a {
	padding-left: 13px;
	background-image: url( ../img/footer-linkbullet.gif );
	background-position: 0 2px;
	background-repeat: no-repeat;
}
div#footer div#footername {
	font-weight: bold;
}
div#footer div#footername, div#footer div#infoemaillink {
	background-image: none;
	padding-left: 0;
}
div#infoemaillink {
	display:inline;
}
div#footer img {
	vertical-align: middle;
}
div#footer a {
	color: #595959;
}

/* H1, sivun suuri koristekuva */

div#container h1 {
	margin: 0;
	padding: 0 0 15px 0;
	width: 930px;
	height: 256px;
	background-repeat: no-repeat;
}

div#container h1 img {
    display: block;
    width: 910px;
    height: 240px;
    padding: 5px 0px 0px 10px;
}

div#container h1 span {
	display: none;
}

/* Varsinainen navigaatio */

ul#nav1 {
	margin: 0;
	text-align: left;
	background: url( ../img/informatum_logo_upperleft.gif ) no-repeat top left;
	/* padding: 32px 0 12px 180px; */
	/* testataan saako line-heightilla osumaan paremmin safarillakin */
	height: 65px;
	list-style: none;
	line-height:4.5em;
	padding-left:180px;
	color: #bfbfbf;
}

ul#nav1 li {
	display:inline;
	margin:0 10px;
}

ul#nav1 li a {
	font: 13px "Trebuchet MS",Trebuchet,Arial,sans-serif;
	font-weight: normal;
}
ul#nav1 li.active a {
	color: #000;
}

/* Kakkosnavigaatio, vasen palsta */

div#nav2 {
	width: 170px;
	padding: 0 20px 0 10px;
	float: left;
}
div#nav2 h2 {
	margin: 0 0 8px 0;
	font: italic 13px "Times New Roman",Times,serif;
	color: #4c4c4c;
}
div#nav2 ul {
	margin: 0 0 16px 0;
	padding: 0;
	list-style: none;
}
div#nav2 ul li {
	font: 12px/1.2 "Trebuchet MS",Trebuchet,Arial,sans-serif;
	margin: 6px 0;
	padding: 0 0 0 13px;
	background-image: url( ../img/navi-bullet.gif );
	background-position: top left;
	background-repeat: no-repeat;
}

div#nav2 ul li a, div#nav2 ul li#current li a {
	color: #539BCD;
	font-weight: normal;
	text-decoration: none;
}
div#nav2 ul li a:hover {
	text-decoration: underline;
}
div#nav2 ul li#current a {
	color: #000;
}

/* Varsinainen sivu, keskipalsta */

div#maincontent {
	float: left;
	width: 420px;
	padding: 0 45px 0 45px;
	font: 13px/1.7 "Times New Roman",Times,serif;
}
div#maincontent table.blog {
    width: 100%;
}
.pagination span, .pagination strong, .pagination a {
    padding: 2px;
}

div#maincontent h2, td.contentheading {
	margin: 0 0 1em 0;
	padding: 0;
	font: 30px "Times New Roman",Times,serif;
}

div#maincontent h3 {
	margin: 1.5em 0 1em 0;
	font: 14px "Times New Roman",Times,serif;
	font-weight: bold;
	color: #262626;
}

div#maincontent .highlight {
	line-height:1.3em;
    margin-left: 20px;
}

div#maincontent h2.highlight, div#maincontent h3.highlight, div#maincontent h4.highlight {
	margin: 2em 0px 7px 0px;
	background-position: bottom left;
	background-repeat: repeat-x;
	padding: 0 0 10px 0;
	font: 16px "Trebuchet MS",Trebuchet,Arial,sans-serif;
}

ul.linklist {
	border-top: 1px solid #d9d9d9;
	margin: 10px 0 16px 0;
	padding: 0;
	list-style: none;
}
ul.linklist li {
	font: 12px/1.2 "Trebuchet MS",Trebuchet,Arial,sans-serif;
	margin: 6px 0;
	padding: 0 0 0 13px;
	background-image: url( ../img/navi-bullet.gif );
	background-position: top left;
	background-repeat: no-repeat;
}

ul.linklist li a {
	color: #539BCD;
	font-weight: normal;
	text-decoration: none;
}
ul.linklist li a:hover {
	text-decoration: underline;
}
div#maincontent p {
	margin: 10px 0;
}

div#maincontent p.highlight {
	margin: 7px 0px 7px 20px;
}
div#maincontent p.endhighlight {
	font: 12px/1.2 "Trebuchet MS",Trebuchet,Arial,sans-serif;
        margin: 14px 0px 16px 0px;
        padding: 4px 0px 0px;
	border-top: 1px solid #d9d9d9;
}
div#maincontent p.endhighlight a {
	padding: 0 0 0 13px;
	background: url( ../img/navi-bullet.gif ) no-repeat top left;
}

/* Muu info, oikea palsta */

div#extrainfo {
	width: 210px;
	float: left;
	font: 13px/1.6 "Times New Roman",Times,serif;
}

div#extrainfo p, div#nav2 .notice p {
	margin: 7px 0;
}
div#extrainfo .notice {
    background: url( ../img/infobox_extra_bg.gif ) repeat-y top left;
}
div#nav2 .notice {
    width: 175px;
    margin: 10px 0px 0px -6px;
    background: url( ../img/infobox_narrow_extra_bg.gif ) repeat-y top left;
}
div#extrainfo .notice .noticecontent, div#extrainfo .findoutmore {
	background: url( ../img/infobox_body_bg.gif ) no-repeat bottom left;
	margin-bottom: 10px;
}
div#nav2 .noticecontent {
	background: url( ../img/infobox_narrow_body_bg.gif ) no-repeat bottom left;
}
div#extrainfo .findoutmore .linklist {
    border: 0px;
}

div#nav2 .noticecontent {
	font: 12px/1.6 "Times New Roman",Times,serif;
}
div#extrainfo .noticecontent, div#nav2 .noticecontent {
	padding: 0 10px 10px 23px;
	font-size: 12px;
}
div#nav2 .noticecontent {
    padding: 0 10px 10px 18px;
}

div#extrainfo .notice h2, div#extrainfo .findoutmore h2, div#nav2 .notice h2 {
	background-color: #b74299;
	color: #fff;
	margin: 0;
	font: 14px "Trebuchet MS",Trebuchet,Arial,sans-serif;
	line-height: 1em;
	font-weight: normal;
	padding: 10px 0 0 23px;
	height: 23px;
	background: url( ../img/infobox_heading_bg.gif ) no-repeat top left;
}

div#extrainfo .notice h2, div#nav2 .notice h2 {
	background-color: #ccc;
	margin-bottom: 7px;
	background-image: url( ../img/testimonialbox_heading_bg.gif );
	color: #b74299;
}
div#nav2 .notice h2 {
    padding: 10px 0px 0px 18px;
	background-image: url( ../img/testimonialbox_narrow_heading_bg.gif );
}

div#nav2 .noticecontent ul li {
	font: 13px/1.6 "Times New Roman",Times,serif;
}
div#extrainfo .noticecontent ul, div#nav2 .noticecontent ul {
	margin: 7px 0 0 0;
	padding: 0 0 14px 0;
	list-style: none;
}
div#extrainfo .noticecontent ul li, div#nav2 .noticecontent ul li {
	margin: 2px 0;
	font-size: 13px;
	padding: 0 0 0 13px;
	background-image: url( ../img/navi-bullet.gif );
	background-position: 0px 4px;
	background-repeat: no-repeat;
}
div#extrainfo .noticecontent ul li a, div#nav2 .noticecontent ul li a {
	color: #539BCD;
	font-weight: bold;
	font-style: italic;
	text-decoration: none;
}
div#extrainfo .noticecontent ul li a:hover, div#nav2 .noticecontent ul li a:hover {
	text-decoration: underline;
}

div#extrainfo .testimonialnotice {
	background-image: url( ../img/testimonialbox_heading_bg.gif );
	background-position: top left;
	background-repeat: no-repeat;
	margin-bottom: 10px;
}

div#extrainfo .testimonialnotice h2 {
	color: #b74299;
	margin: 0 0 6px 0;
	font: 14px "Trebuchet MS",Trebuchet,Arial,sans-serif;
	line-height: 1em;
	font-weight: normal;
	padding: 10px 0 0 23px;
	height: 24px;
}

div#extrainfo .testimonialcontent {
	font-size: 12px;
	font-style: italic;
}
div#extrainfo .testimonialsignature {
	font-size: 12px;
}

div#extrainfo .noticecontent img.highlight {
    display: block;
    margin: 0px auto -10px;
}

div#extrainfo .testimoniallink {
	background: url("../img/testimonialbox_link_bg.gif") no-repeat bottom left;
	padding: 6px 0px 0px 23px;
	height: 24px;
	background-color: #fff;
}

.testimoniallink a {
	display: block;
	padding: 0 0 0 13px;
	background-image: url( ../img/navi-bullet.gif );
	background-position: 0 1px;
	background-repeat: no-repeat;
	color: #539BCD;
	font: italic 13px "Times New Roman",Times,serif;
	text-decoration: none;
}
.testimoniallink a:hover {
	text-decoration: underline;
}


/* Case-sivuilla suurempi maincontent-alue ja oikea palsta poissa */

body.wide div#maincontent {
	width: 675px;
	padding-right: 0;
}
body.wide div#extrainfo {
	display:none;
}



/* Etusivu */

body#home div#container h1 {
        position: relative;
	background-image: url( ../img/heading_bg_home.gif );
        padding: 5px 10px 15px;
	height: 500px;
}

body#home div#content {
	background-image: none;
}

body#home div.excerptbox {
	float: left;
	width: 210px;
	margin: 7px 14px 0 10px !important;
	margin: 7px 19px 0 5px;
	font: 12px "Times New Roman",Times,serif;
}

body#home div.excerptbox .excerptcontent {
	height: 150px;
	overflow: hidden;
	font: 12px "Times New Roman",Times,serif;
}

body#home div.excerptbox h2 {
	margin: 0;
	color: #a64250;
	background-image: url( ../img/heading_tx_stroke.gif );
	background-position: bottom left;
	background-repeat: repeat-x;
	padding: 0 0 10px 0;
	font: 16px "Trebuchet MS",Trebuchet,Arial,sans-serif;
}

body#home div.excerptbox h2 a {
	color: #a64250;
}	

body#home div.excerptbox p {
	margin: 8px 0;
}
body#home div.excerptbox p.shortexcerpt {
	margin-top: 8px;
	font-style: italic;
}

body#home div.excerptbox ul.linklist {
	margin-top: 10px;
}
body#home div.excerptbox ul.linklist li {
	font: 12px "Times New Roman",Times,serif;
	font-weight: bold;
	font-style: italic;
}

.loginbox {
	float:left;
	background-image: url( ../img/loginbox_heading_bg.gif );
	background-position: top left;
	background-repeat: no-repeat;
	margin-left:10px !important;
	margin-left:5px;
	width: 210px;
	font: 12px "Times New Roman",Times,serif;
}

.loginboxcontent {
	height: 154px;
	overflow: hidden;
	padding: 0 7px 0 23px;
}

.loginbox h2 {
	color: #4c4c4c;
	margin: 0 0 6px 0;
	font: 16px "Trebuchet MS",Trebuchet,Arial,sans-serif;
	line-height: 1em;
	font-weight: normal;
	padding: 8px 0 0 0;
	height: 28px;
}
.loginbox h2 a {
	color: #4c4c4c;
}
.loginboxlink {
	background-image: url( ../img/loginbox_link_bg.gif );
	background-position: bottom left;
	background-repeat: no-repeat;
	padding: 15px 0 0 23px;
	height: 25px;
	background-color: #fff;
}

.loginboxlink a {
	display: block;
	padding: 0 0 0 13px;
	background-image: url( ../img/navi-bullet.gif );
	background-position: 0 1px;
	background-repeat: no-repeat;
	color: #539BCD;
	font: italic 12px "Times New Roman",Times,serif;
	text-decoration: none;
}
.loginboxlink a:hover {
	text-decoration: underline;
}


/* Etusivun ison kuvan linkki */

body#home div#container h1 a {
	display: block;
	position: absolute;
	top: 280px;
	left: 80px;
	width: 120px;
	height: 35px;
}

body#home div#container h1 span {
}

/* Lomakkeet */

div.row {
    clear: left;
    padding-top: 1.5ex;
}
div.row label, div.row input, div.row span {
    display: inline;
    float: left;
}
div.align label, div.align span {
    width: 150px;
}
div.align label {
    border-top: 1px solid #eee;
}

/* Vaihtuvat teemat */

div#container h1 {
	background-image: url( ../img/alasivu_kuvitus_oletuskuva.gif );
}

div#maincontent h2, div#maincontent h2 a, td.contentheading, td.contentheading a {
	color: #a64250;
}

div#maincontent h3.highlight, div#maincontent h3.highlight a {
	color: #a64250;
	background-image: url( ../img/heading_tx_stroke.gif );
}

/* Saattaa vaikuttaa blogin asuun */
span.article_separator { display: none; }
