/* Start of CMSMS style sheet 'Kansanterveys -oletustyyli' */
dfn {
   display: none;

   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}

#main.terveysmessut #data {
  width: 340px;
  margin-right: 20px;
}

#main.terveysmessut #data p {
  text-align: left;
}

#sidebar.terveysmessut {
  width: 300px;
}

#sidebar {
  float: left;
  width: 200px;
}

body {
	background: #fff url("uploads/images/img/bg_body.gif");
	margin: 0;
	font: 11px normal tahoma,helvetica,sans-serif;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

table {
  text-align: left;
}

th {
  font: 11px normal tahoma,helvetica,sans-serif;
  font-style: bold;
  text-align: left;
  padding: 0 .5em 0 .5em;
}

td {
  text-align: left;
}

td p {
  text-align: left;
  font: 11px normal tahoma,helvetica,sans-serif;
  margin: 0.5em; 
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

a:link, a:visited, a:hover, a:active {
	color: #b80009;
}

h1,h2,h3,h4,h5,h6 {
	margin: .5em 0 1em 0;
}

h1 {
	font-size: 160%;
}
h2 {
	font-size: 150%;
}
h3 {
  	font-size: 130%;
}
h4 {
	font-size: 120%;
}
h5 {
	font-size: 110%;
}
h6 {
	font-size: 100%;
}


/* Asemointi & osiot */
#header {
	position: relative;
	width: 940px;
	height: 147px;
	float: left;
	background: url("uploads/images/img/bg_hd2.jpg") 0 0 no-repeat;
}

#header.hankkeet {
	background: url("uploads/images/img/bg_hd_mitta.jpg") 0 0 no-repeat;
}

#contact {
	position: absolute;
	right: 60px;
	bottom: 25px;
	color: #fff;
	font-size: 90%;
	line-height: 25px;
}
#main {
	position: relative;
	clear: both;
	float: left;
	width: 883px;
}

#navi {
	float: left;
	width: 196px;
}

#data, data.nojustify {
	float: left;
	width: 460px; 
	padding-right: 10px;
}

#data p {
	text-align: justify;
}


#data.nojustify p, p.nojustify {
	text-align: left;
}

.nojustify {
  text-align: left;
}

#hilights {
	float: left;
	width: 193px;
	margin-left: 10px;
}

.hilight {
	background: url("uploads/images/img/bg_hilight.gif") 0 0 no-repeat;
	width: 193px;
	margin-top: 1em;
	margin-bottom: 1.5em;
	overflow: visible;
}

.hilight h3 {
	color: #fff;
	font-weight: bold;
	font-size: 90%;
	line-height: 25px;
	padding: 0 .8em;
	margin: 0;
}

.hilight p {
        margin: 0;
	padding: .9em .8em .3em .8em;
	line-height: 1.2em;
	color: #5a666a;
}
.hilight a {
        display: block;
	background: url("uploads/images/img/icon_morearrow.gif") 100% 50% no-repeat;
	line-height: 20px;
	text-align: right;
	padding-right: 14px;
	margin-right: .8em;
}

#footer {
	position: relative;
	clear: both;
	width: 850px;
	float: left;
	font-size: 85%;
	color: #7e7f80;
	margin: 2em 0 0 .6em;
	border-top: 1px solid #ebeced;
	padding-top: .3em;
}
#copy {
	float: left;
}
#updated{
	float: right;
}

/* Valikko */

li.currentpage h3 {
  font-size: 100%;
  margin: 0;
  padding: 0;
}

li.activeparent ul li.currentpage h3 {
  font-weight: normal;
}

#navi a:link, #navi a:visited, #navi a:hover, #navi a:active {
	color: #000;
	text-decoration: none;
}

#navi ul {
	list-style: none;	
	margin: 0 0 0 10px;
	padding: 0;
	line-height: 1.1em;
}

#navi ul ul {
        display: none;
	margin: 5px 0 0 0;
}

#navi ul li {
	font-weight: bold;
	width: 154px;
	border-top: 1px solid #ebeced;
	padding: 5px 0px 5px 14px;
}
#navi ul li:hover {
	background-color: #dce9f5;
}

#navi ul ul li:hover {
	background-color: #fce9f5;
}

#navi ul li.first {
	border-top: 1px solid #fff;
}

#navi ul li.currentpage, #navi ul li.activeparent {
	background: url("uploads/images/img/icon_navi1.gif") 0 5px no-repeat;
}
#navi ul li ul li.currentpage {
	background: url("uploads/images/img/icon_navi2.gif") 5px 8px no-repeat;
}

#navi ul li.currentpage ul, #navi ul li.activeparent ul {
  display: block;
}

#navi ul li ul li {
	border: none;
	font-weight: normal;
        width: 140px;
}

.sidebanner {
	float: right;
	margin: 15px 0px 15px 15px;
}

.henkilokuva {
	float:left;
	margin: 5px;
        padding: 10px 10px 10px 10px;
        background: url("uploads/images/img/henkilobg.jpg") 6px 6px no-repeat;
}

.henkilo {
	clear: both;
	margin: 5px;
}

.img-shadow {
  float:left;
  background: url("uploads/images/img/shadowAlpha.png") no-repeat bottom right !important;
  background: url("uploads/images/img/shadow.gif") no-repeat bottom right;
  margin: 10px 0 0 10px !important;
  margin: 10px 0 0 5px;
  }

.img-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #a9a9a9;
  margin: -6px 6px 6px -6px;
  padding: 4px;
  }

.sisennys {
  margin-left: 25px;
}

/* End of 'Kansanterveys -oletustyyli' */

