a {
    border:none;
	text-decoration:none;
}
img {
    border:none;
    margin:0;
    padding:0;
}
.edrumAlignRight {
    text-align:right;
}
.edrumAlignLeft {
    text-align:left;
}
.edrumAlignCenter {
    text-align:center;
}
.edrumParagraphtitle {
    display:inline-block;
    font-weight:bold;
    margin:15px 0 8px 0;
}
#essfiLogo img {
    padding:5px 0 0 0;
}
div.h-divider {
    line-height:10px;
    height:10px;
    width:98%;
    margin:2px 0;
}
div.dotdiv {
    margin:2px auto 10px auto;
    height:1px;
    width:98%;
    background:url(/p/dot-div.gif) repeat-x top left;
}
body {
    background-color:#23272A;
    margin:0;
    padding:0;
    font-family:Verdana;
    text-align:center;
}
.center {
    display:block;
    margin:0 auto 5px auto;
}
form {
    margin:0;
    padding:0;
}
ul {
    list-style:none;
    margin:0;
    padding:0;
}
ul li {
    margin:0;
    padding:0;
}
ul li a {
    text-decoration:none;
    color:#000;
    font-size:12px;
}
#adTop {
    text-align:center;
	padding:8px 0 0 0;
}
#mainAdTop {
    text-align:center;
}
#wrapper,
.wrapper {
    background-color:#fff;
    border-top:solid 2px #cfd0d0;
    border-left:solid 3px #cfd0d0;
    border-right:solid 3px #cfd0d0;
    border-bottom:solid 2px #cfd0d0;
    text-align:left;
    margin:0 auto 1px auto;
    width:990px;
    padding:0 10px;
}
.fullWidth {
    background-color:#fff;
    width:990px;
}
.left {
    float:left;
}
.right {
    float:right;
}
.image-left {
    float:left;
    margin:6px 8px 8px 0;
}
.image-right {
    float:right;
    margin:6px 0 8px 8px;
}
.image-center {
    float:left;
    clear:both;
    margin:3px 0 8px 0;
}
.clear {
    clear:both;
}
#sitesNavi {
    margin: 5px 0;
    height:30px;
    line-height:30px;
    vertical-align:middle;
}
#toplinks {
    float:left;
    width:600px;
}
#toplinks ul {
    margin:0;
    padding:0;
    list-style:none;
}
#toplinks ul li {
   float:left;
   padding:0 3px;
   margin:0;
}
#toplinks a {
    font-size:11px;
    text-decoration:none;
    padding:0 3px;
    color:#000;
}
#toplinks a:hover {
    text-decoration:underline;
}
#searchWrapper {
    float:right;
    width:330px;
    text-align:right;
}
#header {
    height:73px;
    background:url('/p/new/header-bg.gif') repeat-x top left;
}
#mainHeader {
    width:968px;
    float:left;
}
#header .header-l {
    background:url('/p/new/header-left-bg.gif') no-repeat top left;
    width:11px;
    height:73px;
    padding:0;
    margin:0;
    float:left;
}
#header .header-r {
    background:url('/p/new/header-right-bg.gif') no-repeat top right;
    width:11px;
    height:73px;
    padding:0;
    margin:0;
    float:right;
}
#essfiLogo {
    float:left;
    width:200px;
    padding:5px 0 0 6px;
}
#namedays {
    width:320px;
    padding:10px 5px 0 13px;
    float:left;
    color:#343536;
    font-size:11px;
    margin:0;
}
#day {
    margin-top:8px;
    color:#343536;
    font-weight:bold;
    text-transform: capitalize;
    width:100%;
}
#names {
    margin-top:5px;
    width:100%;
}
#headerlinks {
    float:right;
}
#mainNavi {
    display:block;
    width:100%;
    font-family:Verdana;
    font-size:10px;
    height:35px;
    line-height:35px;
    background:url('/p/new/main-navi-bg.gif') repeat-x top left; 
}
#mainNavi ul {
    height:33px;
    background-color:transparent;
    list-style:none;
    margin:0;
    padding:0 0 0 17px;
}
#mainNavi ul li {
    height:31px;
    float:left;
    padding:0;
    margin:0 2px;
    background:url('/p/new/main-navi-bg.gif') repeat-x top left;
}
#mainNavi ul li.active {
    height:31px;
}
#mainNavi ul li a {
    display:block;
    _display:inline;
    line-height:31px;
    padding:0 3px;
    color:#fff;
    text-transform:uppercase;
    font-weight:bold;
    font-size:10px;
}
#mainNavi ul li a:hover {
    color:white;
    text-decoration:underline;
}
#mainNavi ul li.active a {
    color:#FFFFFF;
}
#mainNavi ul li.active a:hover {
    background:url('/p/new/active-navi-bg.gif') repeat-x top left;
}
#subNavi ul {
    background:transparent;
    list-style:none;
    margin:0;
    padding:0 0 0 3px;
}
#subNavi ul li {
    background:transparent;
    float:left;
    padding:0 3px;
    margin:0;
}
#subNavi ul li a:hover {
	text-decoration:underline;
}
#subNavi ul li.active {
    background:#fff;
}
#subNavi ul li a {
    padding:0 3px;
	font-size:11px;
    color:#333333;
}
#subNavi ul li.active a {
    color:#333333;
    font-weight:bold;
    text-decoration:none;
}
#subNavi {
    font-family:Verdana;
    font-size:13px;
    padding:0 0 3px 3px;
    height:20px;
    line-height:20px;
    vertical-align:middle;
}
#content {
    padding-top:8px;
    padding-bottom:3px;
    margin-bottom:1px;
}
.full-spacer {
    height:1px;
    background-color:transparent;
    width:100%;
    clear:both;
}
#tikkeri {
    background:#fff;
    height:20px;
    width:980px;
    margin:0;
    font-size:11px;
	padding:2px 0 0 0;
}
#tikkeri #tikkeriTitle {
    font-weight:bold;
    color:#951b2a;
    padding:1px 0 0 2px;
    float:left;
    width:63px;
}
#tikkeri #tikkeriTitle a {
    font-size:10px;
    font-weight:bold;
    color:#a62636;
    text-decoration:none;
}
.ad-notice-u {
    background:transparent url(/p/ad-notice-up.gif) no-repeat scroll left top;
    height:7px;
    padding:0 0 5px 0;
    margin:0 auto 18px;
    width:98%;
}
.ad-notice-d {
    background:transparent url(/p/ad-notice-d.gif) no-repeat scroll right top;
    height:7px;
    margin:18px auto 5px;
    width:98%;
}
#two-columns {
    background-color:#fff;
    float:left;
    width:830px;
    padding:0;
    margin:0;
    display:inline;
}
#mainColumn {
    background-color:#fff;
    float:left;
    width:505px;
    _width:500px;
    padding:0;
    margin:0;
}
#mainColumn .ad {
    margin:5px auto;
    text-align:center;
}
#mainColumn .h-spacer {
    height:15px;
    margin:0;
    padding:0;
}
#mainColumn .mainColumnBlock {
    width:495px;
    margin:10px auto;
    padding:0 0 8px 0;
}
#mainColumn .blockHeader {
    height:35px;
    line-height:35px;
    vertical-align:center;
    padding-left:10px;
    color:#494949;
    font-size:10px;
    text-transform:uppercase;
    font-weight:bold;
    background:url('/p/new/pp-header-bg.gif') repeat-x top left;
    border-left:1px #d9dbdd solid;
    border-right:1px #d9dbdd solid;
}
#mainColumn .blockContent {
    padding:0;
    margin:0;
}
#mainColumn .blockContent li.bullet {
    font-size:12px;
    background:url(/p/bullet-default.gif) no-repeat;
    background-position:5px 5px !important;
    list-style-type:none;
    margin:2px 5px 5px 0!important;
    padding-left:15px;
}
#mainColumn .blockContent li.bullet a {
    font-weight:bold;
}
#mainColumn .date-s {
    color:#838383;
    padding:0;
    margin:0;
    font-weight:normal;
}
#mainColumn .blockContent li.nobullet {
    font-size:12px;
    list-style-type:none;
    margin:2px 5px 5px 0!important;
    padding-left:15px;
}
#mainColumn .blockContent h1,
#mainColumn .blockContent h2 {
    font-size:24px;
    margin:3px 0 2px 5px;
}
#mainColumn .blockContent p {
    margin:3px 5px;
    font-size:13px;
}
.adgrid-item {
    float:left;
    width:141px; 
    margin:7px 8px;
    background-color:#fff; 
}
#mainColumn .kyselybox .title {
    font-size:10px;
    font-weight:bold;
    color:#FFFFFF;
    background:url('/p/new/main-box-title-basic-bg.gif') repeat-x top left;
    text-transform:uppercase;
    vertical-align:middle;
    line-height:36px;
    height:36px;
    padding-left:23px;
}
#mainColumn .kyselybox .kysely_text {
    display:inline;
    float:left;
    margin-left:5px;
}
#mainColumn .kyselybox {
    width:500px;
    background-color:#ffe8d6;
    margin-bottom:20px;
    overflow:hidden;
    border-left:solid 1px #f4d1b5;
    border-right:solid 1px #f4d1b5;
    border-bottom:solid 1px #f4d1b5;
}
#mainColumn .kyselybox h2 {
    color:#d87726;
    padding-left:18px;
    font-size:21px;
    font-weight:bold;
}
#mainColumn .kyselybox p {
    font-size:13px;
    color:#000;
    padding:0 8px 0 18px;
}
#mainColumn .kyselybox .kyselyyn {
    text-align:right;
    font-size:11px;
    font-weight:bold;
    color:#ffffff;
    margin:0 16px 8px 16px;
    padding-top:6px;
    padding-right:8px;
}
#mainColumn .kyselybox .kyselyyn a {
    color:#2e3132;
    font-size:10px;
    text-decoration:none;  
}
#mainColumn .kyselybox .kyselyyn a:hover {
    text-decoration:underline;
}
#mainColumn .tapahtumabox {
    margin-bottom:20px;
    width:500px;
    overflow:hidden;
    background-color:#D8CEB8;
    border-left:solid 1px #b7af9a;
    border-right:solid 1px #b7af9a;
    border-bottom:solid 1px #b7af9a;
}
#mainColumn .tapahtumabox .image-left {
   margin-left:10px;
}
#mainColumn .tapahtumabox .image-right {
   margin-right:18px;
}
#mainColumn .tapahtumabox h2 {
    margin-top:10px;
}
#mainColumn .tapahtumabox .image-right,
#mainColumn .tapahtumabox .image-left {
    margin-top:13px;
    margin-bottom:5px;
}
#mainColumn .tapahtumabox h2 {
    margin-bottom:0;
}
#mainColumn .tapahtumabox p {
    margin:5px 0 10px 0;
}
#mainColumn .tapahtumabox a {
    color:#000;
    text-decoration:none;
}
#mainColumn .tapahtumabox .title {
    font-size:10px;
    font-weight:bold;
    text-transform:uppercase;
    background:url('/p/new/main-box-title-tapahtumat-bg.gif');
    vertical-align:middle;
    line-height:36px;
    height:36px;
    padding-left:10px;
    color:#fff;
}
#mainColumn .tapahtumabox h2 {
    padding-left:10px;
    font-size:21px;
    font-weight:bold;
}
#mainColumn .tapahtumabox h2 a {
    color:#000;
}
#mainColumn .tapahtumabox p {
    font-size:13px;
    padding:0 8px 0 10px;
}
#mainColumn .tapahtumabox .foot {
    border-top:1px solid #000;
}
#mainColumn .tapahtumabox .katuLogo {
    float:left;
    width:70px;
}
#mainColumn .tapahtumabox .tapahtumaScroll {
    float:left;
    width:400px;
}
#mainColumn .kuvakuja .blockHeader {
    background:url('/p/kuvakuva_header_bg.png') repeat-x top left;
    border:none;
    color:#fff;
}
#mainColumn .kuvakuja .blockContent {
    padding:3px 0;
    background:#e6e8e9;
    text-align:center;
    border-right:solid #d3d6d7 1px;
    border-bottom:solid #d3d6d7 1px;
    border-left:solid #d3d6d7 1px;
}
#il_etu {
    clear:both;
    overflow:hidden;
    margin-bottom:5px;
}
#subColumn .ilmanlaatu {
    padding-left:15px;
    text-decoration:none;
    color:#000;
}
#subColumn .ilmanlaatu_title {
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
    font-size:11px;
    color:#2d58a9;
    margin-bottom:8px;
}
#subColumn .il_etu_img {
    margin:4px 8px 0 0;
    display:inline;
    float:left;
    width:30px;
    height:25px;
}
#subColumn .il_data {
    display:inline;
    float:left;
    width:250px;
}
#subColumn .il_mittauspiste_label {
    color:black;
    font-weight:bold;
    margin-right:4px;
}
#subColumn .il_desc,
#subColumn .il_paikka {
    color:black;
}
#subColumn {
    background-color:#fff;
    float:right;
    display:inline;
    width:305px;
    margin:0;
    margin-right:10px;
    _margin-right:0;
    font-size:12px;
}
#subColumn .subColumnBlock ul.tabs {
    margin:0 0 5px 0;
    padding:0;
    overflow:auto;
    border-bottom:1px solid #ccc;
}
#subColumn .subColumnBlock ul.tabs li {
    text-transform:uppercase;
    float:left;
    display:inline-block;
    margin:0 5px;
    padding:0;
    font-size:10px;
    color:#4C4C4C;
}
#subColumn .subColumnBlock ul.tabs li a {
    font-size:10px;
    color:#4C4D4E;
    font-weight:bold;
    text-transform:uppercase;
    cursor:pointer;
}
#subColumn .subColumnBlock ul.tabs li a.active {
    color:#A42028;
}
#lahetaVinkki img {
    margin:-8px 0 -9px 0;
    padding:1px 0 0 0px;
}
.subColumnBlock {
    padding:0;
    margin:0;
}	
#subColumn .blockContent {
    background:url('/p/new/box-bg-content.gif') repeat-x top left;
    background-color:#f3f3f3;
    padding:5px 0;
    border-bottom:1px solid #e2e2e2;
    border-left:1px solid #e2e2e2;
    border-right:1px solid #e2e2e2;
}
#subColumn .blockContent a:hover {
    color:#a42028;
}
#subColumn .radio .blockContent img {
    margin:0 auto;
    display:block;
    padding:0 0 10px 0;
}
#subColumn .blockContent .pages {
    margin:0 15px;
}
#subColumn .blockContent .pages a {
    font-size: 11px;
    font-weight:bold;
    color:black;
    text-decoration:none;
}
#subColumn .uutiset {	
    padding:5px 0 0 0;
}
#subColumn .radio .blockContent {
    padding:0;
}
#subColumn .radio .blockContent .ohjelmatext {
    padding:0 10px 10px 10px
}
#subColumn #weather-content {
    background:url('/p/new/box-bg-weather-content.gif') repeat-x top left;
    background-color:#FFFFFF;
}
#weather-content img {
    display:block;
    padding:10px 0 0 15px;
}
#subColumn .blockHeader {
    height:35px;
    line-height:35px;
    vertical-align:center;
    padding-left:16px;
    color:#FFFFFF;
    font-size:10px;
    text-transform:uppercase;
    font-weight:bold;
    background:url('/p/new/sub-header-bg.gif') no-repeat top left;
}
#subColumn .kuvakujaSidebarBlock .blockHeader {
    background:url('/p/new/sub-header-bg-kuvakuja.jpg') no-repeat top left;
}
#subColumn .blockFooter {
    border-left:1px solid #e2e2e2;
    border-right:1px solid #e2e2e2;
    border-bottom:1px solid #e2e2e2;
    background:url('/p/new/blockfooter-bg.gif') repeat-x top left;
    text-align:right;
    line-height:28px;
    vertical-align:middle;
    margin:0;
}
#subColumn .blockFooter img {
    margin:1px 3px 2px 5px;
    vertical-align:middle;
}
#subColumn .blockFooter a {
    margin:1px 0 0 0;
    vertical-align:middle;
    color:#1e1e1e;
    font-weight:bold;
}
#subColumn .blockFooter a:hover {
    color:#951b2a;
}
#subColumn .date-s {
    margin: 0 5px;
    font-size:11px;
}
#subColumn .h-spacer {
    height:8px;
    margin:0;
    padding:0;
}
#subColumn .latestnavi .blockContent {
    padding:0 0 0 0;
}
#subColumn .latestnavi {
    text-align:left;
    padding:0 3px 8px 15px;
    border-bottom:1px #e2e2e2 solid;
}
#subColumn .latestnavi a {
    font-size:10px;
    font-weight:bold;
    text-decoration:none;
    text-transform:uppercase;
}
#subColumn .latestnavi a:hover {
    text-decoration:underline;
}
#tuoreet {
    padding:5px 0 1px 0;
}
#subColumn ul {
    margin:5px 0 5px 0;
}
#subColumn ul li {
    font-size:12px;
    list-style-type:none;
    margin:2px 5px 2px 0;
    padding-left:15px;
}
#subColumn ul li.bullet {
    font-size:12px;
    background:url(/p/bullet-default.gif) no-repeat;
    background-position:5px 5px !important;
    list-style-type:none;
    margin:2px 5px 5px 0!important;
    padding-left:15px;
}
#subColumn ul li.nobullet {
    font-size:12px;
    list-style-type:none;
    margin:2px 5px 5px 0;
    padding-left:12px;
}
#subColumn li.image {
    text-align:center;
    margin:0;
    padding:0;
}
#subColumn .date-s {
    color:#838383;
}
#subColumn .ad {
    text-align:center;
    margin:1px 0;
    border-left:solid 1px #e2e2e2;
    border-right:solid 1px #e2e2e2;
}
#subColumn .blogs .blockContent,
#subColumn .split .blockContent {
    padding:8px 5px 0 0;
}
#subColumn .blogs .blockContent img,
#subColumn .split .blockContent img {
    margin-bottom:7px;
    margin-left:10px;
}
#subColumn .blogs a.head {
    font-weight:bold;
}
.blogimage {
    float:left;
    width:30%;
}
.blogimage img {
    margin-left:7px;
}
.blogtext {
    float:left;
    width:65%;
}

#bannerColumn {
    background-color:#fff;
    text-align:center;
    display:inline;
    float:right;
    padding:0;
    margin:0;
    width:160px;
}
#bannerColumn .ad {
    margin:5px 0;
}
#yhteistyossa {
    margin:20px 0;
}
.first {
    margin-top:0;
}
.article {
    padding:0;
    margin:0 0 20px 2px;
    clear:both;
}
.article .section {
    height:13px;
    line-height:13px;
    margin:0;
    font-size:10px;
    font-weight:bold;
    text-transform:uppercase;
    vertical-align:top;
}
.article .section a {
    color:#951b2a;
    text-decoration:none;
}
.article .activecomments {
    margin:0;
}
.article .activecomments a {
    text-transform:uppercase;
    font-weight:bold;
}
.article a.msgcount {
    font-weight:normal;
    color:#FFFFFF;
    background-color:#951b2a;
    border-left:1px solid #951b2a;
    border-right:1px solid #951b2a;
}
.article h1,
.article h2 {
    font-size:24px;
    font-weight:bold;
}
.article h1,
.article h2 {
    color:#3f4040;
    margin:1px 0 3px 0;
    padding:0;
}
.article h1 a,
.article h2 a {
    text-decoration:none;
    color:#23272A
}
.article h1 a:hover,
.article h2 a:hover {
    text-decoration:underline;
}
.article p {
    font-size:12px;
    margin:0;
}
.article p a {
  color:#000;
}
.article .article-body {
    margin:10px 5px;
    font-size:13px;
}
.article .date {
    font-size:11px;
    margin:5px 0;
}
.article .extraHtml {
    margin:20px 0 10px 0;
}
.article .image-txt {
    font-size:11px;
    margin:5px;
}
.article p {
    font-size:13px;
    line-height:16px;
}
.article p a img {
    margin:0;
    padding:1px 0 3px 0;
    vertical-align:middle;    
}
.article .source {
    text-align:right;
    margin:5px;
    font-size:12px;
}
.article ul,
#mainColumn .blockContent ul {
    margin:10px 5px 5px 5px;
    font-size:12px;
}
.article ul li,
#mainColumn .blockContent ul li{
    line-height:18px;
    margin-bottom:3px;
    margin-left:10px;
}
.article ul li img,
#mainColumn .blockContent ul li img,
.article ul li a,
#mainColumn .blockContent ul li a{
    vertical-align:middle;
}
.article ul li a:hover,
#mainColumn .blockContent ul li a:hover {
	text-decoration:underline;
}
.article .share {
    font-size:12px;
    margin:10px 5px;
    text-align:center;
    border-bottom:1px solid #d8d8d8;
    padding-bottom:10px;
}
.article .share a {
    text-decoration:none;
    font-weight:bold;
    color:#4C4D4E;
}
.article .share a:hover {	
	color:#951b2a;
}
#mainColumn .survey {
  background-color: #f7f7f7;
  margin:10px 0;
}
#subColumn .survey {
        background-color: #f7f7f7;
        padding: 5px;
}

/* results */

.survey h5 {
    font-size:13px;
    font-weight:bold;
    margin: 7px 7px 7px 0;
    padding-left:8px;
}

.answers,
.result {
        width: 100%;
        margin: 8px 0;
}
.answers a { 
    font-weight:bold;
    text-decoration:none;
}
.result .column-wrapper {
        float: left;
}

.result .percent {
    color: #fff; 
    font-weight: bold; 
    text-align: center; 
    overflow: hidden;
    height:30px;
    line-height:30px;
    text-shadow: #000 0.1em 0.1em 0.2em;
    width: 100%;
}
.answers .answer1 {
    width:27%;
    float:left;
    margin:0 1px;
}
.answers .answer1 a {
    color:green;
}
.answers .answer2 {
    width:27%;
    float:left;
    margin:0 1px;
    text-align:center;
}
.answers .answer2 a {
    color:#8c8c8c;
}
.answers .answer3 {
    width:27%;
    float:left;
    margin:0 1px;
    text-align:right;
}
.answers .answer3 a {
    color:#951b2a;
}
#surveyReply,
.surveyReply {
    margin:7px;
    text-align:center;
}
#surveyReply .virhe,
.surveyReply .virhe {
    color:#951b2a;
    font-size:12px;
}
#surveyReply .kiitos,
.surveyReply .kiitos {
    color:green;
    font-size:12px;
}
.result {
    margin:7px 0;
}
.result .column1 {
        background-color: #a8d574;
        padding: 1px;
        border-top: 1px solid #78a741;
        border-left: 1px solid #78a741;
        border-bottom: 1px solid #78a741;
}

.result .column2 {
        background-color: #8c8c8c;
        padding: 1px;
        border: 1px solid #585858;
}

.result .column3 {
        background-color: #d27777;
        padding: 1px;
        border-top: 1px solid #b24242;
        border-right: 1px solid #b24242;
        border-bottom: 1px solid #b24242;
}

.result .column1 .percent {
        background: #8fc750 url(../p/survey-bg1.gif) repeat-x top left;
        overflow: hidden;
}

.result .column2 .percent {
        background: #646464 url(../p/survey-bg2.gif) repeat-x top left;
        overflow: hidden;
}

.result .column3 .percent {
        background: #c45252 url(../p/survey-bg3.gif) repeat-x top left;
        overflow: hidden;
}
#cartoon {
    text-align:center;
	margin:0 0 15px 0;
}
#cartoon .sectionHeader {
    margin:15px 0;
    padding-left:15px;
    text-align:left;
    font-weight:bold;
	text-transform:uppercase;
	font-size:10px;
	color:#951B2A;
}
#footer-wrapper {
    padding:0;
    width:1010px;
    border-top:2px solid #cfd0d0;
    border-left:3px solid #cfd0d0;
    border-right:3px solid #cfd0d0;
    border-bottom:none;
    margin-bottom:45px;
}
#footer a {
  text-decoration:none;
  font-size:12px;
  color:#000;
}

#footer .footlinks {
    text-align:left;
    width:100%;
    background:url('/p/new/footer_bg_bottom.gif') repeat-x top left;
    height:182px;
    margin:0;
    padding:0;
}

#footer .footlinks  ul li a {
    font-weight:normal;
    font-size: 12px;
}
#footer .footlinks  ul li a:hover {
    text-decoration:underline;
}
#footer #footerIcons {
    background:url('/p/new/footer_bg_top.gif') repeat-x top left;
    padding:0 0 0 0;
    height:92px;
    margin:0;
}
#footer #footerIcons img{
    padding:7px 0 0 0;
}
#footer .foot_essfi img,
#footer .foot_ess img {
    padding:20px 5px 0 0;
    display:block;
}
#footer .footlinks .foot_ess {
    background:url('/p/new/footer_divider.gif') no-repeat right 5px;
    float:left;
    padding-right:20px;
    padding-left:20px;
    height:155px;
}
#footer .foot_essfi {
    background:url('/p/new/footer_divider.gif') no-repeat right 5px;
    margin-right:40px;
    padding-right:20px;
    height:155px;
}
#footer .footlinks .foot_ess .footer_text {
    font-size:12px;
    padding:5px 20px 0 0;
}
#footer .foot_essfi img {
    padding:20px 0 0 20px;
}
#footer .foot_essfi .footer_text {
    padding:3px 0 0 20px;
    font-size:12px;
}
#footer .footlinks .footlinks_1,
#footer .footlinks .footlinks_2,
#footer .footlinks .footlinks_3,
#footer .footlinks .foot_essfi {
    display:inline;
    float:left;
}
#footer .footlinks .footlinks_1,
#footer .footlinks .footlinks_2,
#footer .footlinks .footlinks_3 {
    line-height:22px;
}
#footer .footlinks ul {
    margin:10px 10px 0 20px;
}
#footer #footerMedialinks {
    margin-top:4px;
    display:block;
    text-align:center;
}
#footer #footerMedialinks ul {
    float:none;
    margin:0;
    padding:0;
}
#footer #footerMedialinks ul li {
    display:inline;
    color:#fff;
}
#footer #footerMedialinks ul li a {
    color:#fff;
    margin: 0 5px;
}
/* videot */
#libnav {
  background: url(../p/video-nav.jpg)  top right repeat-x;
  height:30px;
  display:block;
  width:98%;
  margin:0 8px 0 8px;
  padding:0;
}

#tablist{
    font: bold 10px Verdana;
    text-transform:uppercase;
    margin:0;
}

#tablist li {
    list-style: none;
    display: inline;
    padding: 0;
    margin:0;
}

#tablist li .inwrap {
    background: url(../p/video-nav.jpg)  top right repeat-x;
    height:30px;
    padding:0;
    display:inline-block;
    margin: 0;
    *display:inline;

}

#tablist li .inwrap a{
    text-decoration:none;
    line-height:30px;
    margin:8px;
    padding:0;
    color:white;
}

#tablist li .inwrap a:link, 
#tablist li a:visited {
    color:white;
    font-size:10px;
}

#tablist li .inwrap a:hover {
  color:#white;
  text-decoration:underline;
}

#tablist li.current {
    
}
#tablist li.current .inwrap {
    font-size:10px;
    background: url(../p/video-nav-active.jpg)  top right repeat-x;
    zoom:1;
    *display:inline;
}
#tablist li.current .inwrap a {
    color:white;
    font-size:10px;
    text-decoration:none;
}
#subnav {
  height:25px;
  display:block;
  width:96%;
  margin:2px 12px 5px 12px;
  padding:0;
}
#subtablist{
    font: bold 12px Verdana;
    margin:0;
}
#subtablist li {
    list-style: none;
    display: inline;
    padding: 0;
    margin:0;
}
#subtablist li .inwrap {
    height:25px;
    padding:0;
    display:inline-block;
    margin: 0;
    *display:inline;
}
#subtablist li .inwrap a{
    text-decoration: none;
    line-height:25px;
    margin:10px;
    padding:0;
    color:#b51634;
}
#subtablist li.current .inwrap a {
    color:#494d50;
    text-decoration:underline;
}
#subtablist li .inwrap a:hover{
  color:#525252;
}

.ytGallery {
    display:inline;
    float:left;
    width:145px;
    padding:3px;
    height:230px;
    margin:5px;
}
.ytGallery .image img {
    margin:10px;
}
.ytGallery .text {
    font-size:11px;
}

div.gallery {
    background: url(../p/video-thumb-bg.jpg)  top right repeat-x;
    font-family: Arial,Helvetica,sans-serif;
    color:#525252;
    line-height: 14px;
    font-size: 10px;
    margin: 4px;
    float:left;
    padding:0 10px 10px 10px;
    height:140px;
    width:95px;
    border:solid 1px #CCCCCC;
    text-align:center;
    overflow:hidden;
    cursor:pointer;
}
div.gallery a {
    color:black;
    text-decoration:none;
    font-size:11px;
}

div.gallery div.image img {
    width:97px;
    height:55px;
    margin:0;
    margin-left:-2px;
    margin-top:1px;
    padding-bottom:0;
    border:1px solid black;
}

div.gallery div.image {
    margin: 0 0 2px 0;
    padding: 0 0 2px 0;
    border:none;
    border-bottom: 1px dashed red;
}

div.gallery div.title { 
  text-align:left;
  margin: 0;
  padding: 0;
  border:none;
  word-wrap: break-word;
  overflow: hidden;
  min-height:10px;
}
div.gallery div.date {
  text-align: left;
  padding:0;
  color:white;
}

#dreamwrap {
  margin:8px 8px 1px 8px;
  width:98%;
  height:400px;
  background-color:#0e1114;
  background: url(../p/video-bg.jpg)  top left repeat-x;
  border:#3c3f42 3px solid;
}
#dreamplayer_div {
  height:344px;
  width:576px;
  margin:35px auto;
}
#dreamplayer {
    height:344px;
    width:576px;
}
#dreamplayer_text {
    color:white;
    min-height: 80px;
    margin:0 8px 0 8px;
    width:98%;
    background-color:#3c4043;
    background: url(../p/videotxt-bg.jpg)  top right repeat;
    border:#3c3f42 3px solid;
}
#dreamplayer_text h5 {
    font-size: 14px;
    font-weight: bold;
    margin:10px 2px 2px 23px;
    padding:0;
}
#dreamplayer_text p.date {
  font-size: 0.8em;
  margin:2px 0 2px 23px;
  padding:0;
}
#dreamplayer_text p.desc {
  font-size: 0.9em;
  margin:3px 0 15px 23px;
  padding:0;
}
#dreamplayer_text p.videolink {
  float:left;
  margin: auto auto 5px 10px;
  padding: 0;
  font-size:0.8em;
}
#dreamplayer_text p.videolink input{
  width:160px;
}
#extra_info {
    font-size:11px;
    width:98%;
    margin:5px 8px 5px 8px;
    padding:0;
    overflow:hidden;
    height:60px;
}

#laheta_kaverille {
    height:55px;
    width:45%;
    float:left;
    padding:0;
    border-right:1px solid black;
}
#laheta_kaverille span.icon{
     margin:0 8px 0 20px;
}
#extra_info span.head {
    display:block;
    color:#bd2031;
    font-weight:bold;
    margin:10px 0 0 0;
}
#laheta_kaverille span.head {
    margin-left:20px;
}

#linkitys span.head {
    margin-bottom:3px;
}
#linkitys {
    width:50%;
    float:right;
}
div #library {
  display:blcok;
  width:98%;
  margin:0 8px 0 8px;
  padding:0px;
  overflow:hidden;
}
div.pagination {
  font-family:Verdana;
  display:block;
  height:25px;
  padding: 0;
  margin: 0 8px 0 8px;
  width: 98%;
  border-bottom:1px #28282a solid;
  overflow:hidden;
}
span.pages {
  font-size:10px;
  margin:6px 0 0 0;
  width:70%;
  float:left;
  display:inline-block;
  background-color:transparent;
}
span.total {
  font-size:0.9em;
  color:#bd2031;
  float:right;
  margin:4px 0 0 0;
  padding:0 10px 0 0;
  width:24.8%;
  display:inline-block;
  text-align:right;
}
span.pages a {
    color:#464848;
}
span.pages a:hover {
    text-decoration:underline;
}
span.pages a:active {
    color:#000000;
}
span.pages a b {
    color:#000000;
}
div#items {
  margin:5px 0 0 0;
  padding:0 0 50px 0;
  overflow:hidden;
}
/* videot loppu */
.comment_title {
    color:#a72331;
    text-transform:uppercase;
    font-size:11px;
    font-weight:bold;
    margin:15px 0 12px 0;
}
#commentform {
    border-bottom:#d8d8d8 solid 1px;
    clear:both;
    padding-bottom:20px;
}
#commentform .label {
    display:block;
    font-size:12px;
    margin:0 0 3px 0;
}
#commentform .label .ltext {
    font-weight:normal;
    margin:0 5px;
}
#commentform .input {
    width:200px;
    display:block;
    margin:0 0 7px 0;
}
#commentform input,
#commentform textarea {
    background-color:#F0F0F0;
}
#commentform textarea {
    width:500px;
    height:100px;
    background-color:#F0F0F0
}
#comments .pages {
    color:#000;
    font-size:11px;
    font-weight:normal;
    display:inline;
    float:right;
    margin: 5px 0;
}
#comments .pages a {
    color:#000;
    font-size:11px;
    font-weight:bold;
}
#comments .post {
    background-color:#f0f0f0;
    margin:0 0 4px 0;
    clear:both;
    font-size:12px;
    padding:10px 0 15px 0;
    border: 1px solid #e2e2e2;
}
#comments .post .name {
    font-weight:bold;
    margin-right:5px;
    padding-left:7px;
}
#comments .post .time {
    margin-left:5px;
}
#comments .post .message {
    padding: 10px 7px 0 7px;
}
#comments .error-notice {
    font-weight:bold;
    color:red;
    font-size:12px;
}
#arkisto ul li a {
    font-size:13px;
    font-weight:none;
}
#arkisto ul li a .date-s {
    color:#666666;
    margin:0 5px;
    font-weight:normal;
}
#arkisto ul li a:hover {
    color:black;
    font-size:13px;
    font-weight:bold;
    text-decoration:none;
}
#arkisto ul li {
    margin:3px 0;
    line-height:14px;
}
#arkisto .pages {
    margin:10px 5px;
}
#arkisto .pages a {
    font-size: 11px;
    font-weight:bold;
	color:black;
    text-decoration:none;
}
#arkisto .pages a:hover {
	color:#A42028;
	text-decoration:underline;
}
/* lomakkeita */
.defaultForm
{
    padding: 10px 40px 10px 10px;
    width: 435px;
    margin:20px 0px;
}

.defaultForm p.selitys
{
    width: 435px;
    padding-left:120px;
    font-size:11px;
}

.defaultForm input[type="text"], 
.defaultForm textarea, 
.defaultForm input[type="file"]
{
    width: 145px;
    margin-bottom: 10px;
}

.defaultForm textarea
{
    width:350px;
    height:70px;
}

.defaultForm input[type="submit"]
{
    margin:10px;
    width:100px;
    font-weight:bold;
}
.defaultForm input[type="checkbox"] {
    margin:0 2px 0 4px;
}

.defaultForm span.small_label {
  padding:0 5px;
}

.defaultForm label
{
    width: 120px;
    display: block;
    float: left;
    margin-bottom: 10px;
    font-weight:bold;
    text-align: right;
    padding-right: 20px;
}
.defaultForm h4 {
    display:block;
    margin: 3px 0 5px 0;
    font-size:14px;
}
.defaultForm div {
    line-height:20px;
    display:block;
    margin: 10px 0 10px 0;
    padding: 0 10px;
    clear:both;
}
#oikotieAsunnot {
    width:435px;
    display:block;
    margin:0 auto;
}
#nakoislehdet {
    clear:both;
    overflow:hidden;
    margin-bottom:30px;
}
#nakoislehdet .sectionHeader {
    font-weight:bold;
    margin:15px 0;
    font-size:10px;
    text-transform:uppercase;
    color:#951B2A;
    padding-left:15px;
}
#nakoislehdet ul li a {
    color:#23272a;
    font-size:12px;
    text-decoration:none;
    font-weight:none;
}
#nakoislehdet ul li a:hover {
    text-decoration:underline;
}
#nakoislehdet img {
    border:1px solid #ccc;
}
#nakoislehdet .lehtiTitle {
    margin-bottom:20px;
    color:#23272a;
    font-weight:bold;
    font-size:15px;
}
#nakoislehdet .paper,
#nakoislehdet .links {
    float:left;
    display:inline;
}
#nakoislehdet .links {
    margin-left:15px;
}
#nakoislehdet .lehtiDesc {
    padding:10px 6px 6px 6px;
    font-size:12px;
}
.nakoislehti1 {
    background:url(../p/new/nakoislehti-bg.gif);
    width:300px;
    margin-left:200px;
    float:left;
    display:inline;
}
.nakoislehti2 {
    background:url(../p/new/nakoislehti-bg.gif);
    width:300px;
    margin-left:100px;
    float:left;
    display:inline;
}
#jessinosto {
    width:500px;
}
#jessinosto .header{
    background:url(../p/new/jessivinjetti.gif) no-repeat;
    line-height:27px;
    vertical-align:middle;
    padding:11px 0 0 10px;
    height:46px;
    color:#fff;
    font-weight:bold;
    font-size:10px;
    text-transform:uppercase;
    background-color:#fef1f2;
}
#jessinosto .article h1 a, #jessinosto .article h2 a {
    font-size:21px;
    color:#bc1821;
    margin-bottom:8px;
}
#jessinosto .article p {
   padding-left:3px;
}
#jessinosto .article  {
    background-color:#fef1f2;
    border-left:solid 1px #F3D1D2;
    border-right:solid 1px #F3D1D2;
    border-bottom:solid 1px #F3D1D2;
    margin:-3px 0 4px 0;
    padding:0 5px 10px 6px;
}
#jessinosto .second  {
    margin-top:3px;
    border-top:solid 1px #d9d8d8;
    padding-top:5px;
}
#jessinosto .section a {
    color:#951B2A;
}
#jessillaAsiaa {
    background:#f3f3f3;
    border:1px solid #E2E2E2;
}
#jessillaAsiaa .text {
    font-size:14px;
    margin:0 20px 0 20px;
    padding:10px 0 15px 0;
}
#subColumn .menokatu .blockHeader {
    background:url('/p/new/mkatu_sidebar.jpg') no-repeat top left;
}
#subColumn .menokatu .blockContent {
    background:#d8ceb8;
    border-left: 1px solid #b7af9a;
    border-right: 1px solid #b7af9a;
}
#subColumn .menokatu .event {
    margin:7px 5px;
    min-height:23px;
    padding:0 0 0 27px;
}
#subColumn .menokatu .event .eventTitle {
  display:block;
  font-weight:bold;
  margin-left:2px;
}
#subColumn .menokatu .event .eventInfo {
  display:block;
  font-weight:normal;
  margin-left:2px;

}
#subColumn #mkatu_search {
    background:#000;
}
#mainColumn .pages {
    margin:5px 0 20xp 20px;
}
.pages a {
    font-size:11px;
    font-weight:bold;
    color:#000;
}
.articlehit {
    padding:5px 0;
    margin:5px;
}
.articlehit .date {
    margin:4px 0 0 0;
    font-size:10px;
    font-weight:bold;
}
.articlehit h2 {
    margin:1px 0 4px 0;
    font-size:14px;
    font-weight:bold;
}
.articlehit h2 a {
    color:#000;
}
.articlehit .text a {
    color:#000;
    font-size:12px;
}
.hitcount {
    margin: 10px;
    font-size:12px;
    color:#A62636;
}
#timantitnosto {
  width:500px;
  font-family:Verdana;
  font-size:12px;
  background-color:#d7ebee;
}
#timantitnosto .header {
    background:url(/p/new/timantitvinjetti.gif) no-repeat;
    line-height:50px;
    height:56px;
    padding-left:11px;
    background-color:#d7ebee;
    color:#FFFFFF;
}
#timantitnosto .header h1 {
    font-size:10px;
    font-weight:bold;
    text-transform:uppercase;
    margin:0;
    padding:0;
}
#timantitnosto .content {
    background-color:#d7ebee;
    border-left:solid 1px #c5d8dd;
    border-right:solid 1px #c5d8dd;
    border-bottom:solid 1px #c5d8dd;
    padding:0 5px 10px 6px;
}
#timantitnosto .content h2 {
  font-size:21px;
  color:#22505d;
  margin:5px 5px 8px 0;
}
#timantitnosto .content p {
    margin-top:-5px;
    font-size:12px;
}
#timantitnosto a {
  text-decoration:none;
  color:#22505D;
}
.slideshownav {
    height:13px;
    line-height:13px;
    text-align:right;
}
.slideshownav a {
    margin:0 3px;
    color:black;
    font-size:11px;
}
.slideshownav a.activeSlide {
    font-weight:bold;
}
#mainColumn .voteBox {
    background:url(/p/new/survey_bg.gif) repeat-x;
    background-color:#d0d0d0;
    padding: 10px 0 5px 0;
    border: 1px solid #e2e2e2;
}
#mainColumn .voteBox h2 {
    padding:0 5px 5px 15px;
    font-size:18px;
    color:#3f4040;
}
#subColumn .voteBox .answerbuttons,
#mainColumn .voteBox .answerbuttons {
    text-align:center;
}
#mainColumn .voteBox .answerbuttons .answer1,
#mainColumn .voteBox .answerbuttons .answer2,
#mainColumn .voteBox .answerbuttons .answer3,
#subColumn .voteBox .answerbuttons .answer1,
#subColumn .voteBox .answerbuttons .answer2,
#subColumn .voteBox .answerbuttons .answer3 {
    width:auto;
    height:30px;
    line-height:30px;
    float:none;
    display:inline-block;
    zoom:1;
    *display:inline;
}
#mainColumn .voteBox .answerbuttons .answer1 a,
#mainColumn .voteBox .answerbuttons .answer2 a,
#mainColumn .voteBox .answerbuttons .answer3 a,
#subColumn .voteBox .answerbuttons .answer1 a,
#subColumn .voteBox .answerbuttons .answer2 a,
#subColumn .voteBox .answerbuttons .answer3 a {
    font-size:14px;
    margin:0 10px;
}

#mainColumn .voteBox .answerbuttons .answer1 a,
#subColumn .voteBox .answerbuttons .answer1 a {
    color:white;
    text-shadow: #000 0.1em 0.1em 0.2em;
}
#mainColumn .voteBox .answerbuttons .answer2 a,
#subColumn .voteBox .answerbuttons .answer2 a {
    color:white;
    text-shadow: #000 0.1em 0.1em 0.2em;
}
#mainColumn .voteBox .answerbuttons .answer3 a,
#subColumn .voteBox .answerbuttons .answer3 a {
    color:white;
    text-shadow: #000 0.1em 0.1em 0.2em;
}
#mainColumn .voteBox .answerbuttons .answer1,
#subColumn .voteBox .answerbuttons .answer1 {
    background:url('/p/survey-bg1.gif') top left repeat-x;
    background-color:#A8D574;
    border:1px solid #78a741;
    padding:1px;
}
#mainColumn .voteBox .answerbuttons .answer2,
#subColumn .voteBox .answerbuttons .answer2 {
    background:url('/p/survey-bg2.gif') top left repeat-x;
    background-color:#8C8C8C;
    border:1px solid #585858;
    padding:1px;
}
#mainColumn .voteBox .answerbuttons .answer3,
#subColumn .voteBox .answerbuttons .answer3 {
    background:url('/p/survey-bg3.gif') top left repeat-x;
    background-color:#D27777;
    border:1px solid #B24242;
    padding:1px;
}
#mainColumn .voteBox .surveyResults,
#subColumn .voteBox .surveyResults {
    width:80%;
    margin:5px auto;
}
#subColumn .voteArticle a,
#subColumn .voteBox a {
    color:#23272a;
}
#subColumn .voteArticle p {
    margin:15px 10px;
}
#subColumn .voteArticle h3 {
    font-size:12px;
    font-weight:bold;
    margin:15px 10px;
}
#subColumn .voteBox {
    border-top:1px solid #e2e2e2;
}
#subColumn .voteBox h2 {
    font-size:12px;
    font-weight:bold;
    margin:15px 10px;    
}
#paivanPointit {
    margin:3px 0 0 1px;
}
.pointitContent {
    padding:2px 0 0 2px;
}
.full {
    margin:8px;
}
#adTikker {
    background-color:transparent;
    width:100%;
    height:45px;
    position:fixed;
    bottom:0%;
    left:0%;
}
#adTikker .closeButton{
    position:fixed;
    display:inline;
    bottom:47px;
    right:10px;
}
#adTikker .closeButton a {
    color:#fff;
    font-weight:bold;
    font-size:11px;
}
#terve24nosto .blockHeader {
    background:url('http://www.xess.fi/p/terve24_head.jpg') top left repeat-x;
    color:#fff;
    border-bottom:2px solid #763980;
}
#terve24nosto .article {
    margin-bottom:5px;
}
#terve24nosto .blockContent {
    margin:0 0 2px 0;
    background:#F8F7F5;
    padding:0 0 10px 0;
    border:1px solid #DAD6CB;
    border-top:none;    
}
#terve24nosto .image-left {
    margin-left:6px;
}
#terve24nosto h2 {
    margin-top:5px;
}
#terve24nosto .terve24palvelut_box {
    background-image:url('/p/terve24palvelut_bg.png');
}
#terve24nosto .box_left {
    background-position:top right;
    float:left;
    margin:3px 0 0 5px;
}
#terve24nosto .box_right {
    background-position:top left;
    float:right;
    margin:3px 5px 0 0;
}
#terve24nosto .terve24palvelut_box img{
    float:right;
    padding: 4px;
    border:0;
}
#terve24linkit {
    font-size:12px;
    color:#b2428f;
    font-weight: bold;
    padding:10px 0 10px 5px;
    margin:0;
}

#terve24nosto #terve24linkit ul{
    padding:5px 0 0 0;
    margin:0;
}
#terve24nosto #terve24linkit ul li {
    list-style:square;
    color:#000;
    margin-left:15px;
    line-height:15px;
}
#terve24nosto #terve24linkit ul li a {
    text-decoration:none;
}
#terve24nosto #terve24linkit ul li a:hover {
    color:#b2428f;
}
.terve24palvelut_box {
    width:238px;
    min-height:127px;
    border:1px solid #DAD6CB;
    margin:1px 0 0 0;
    padding:0;
}

.terve24palvelut_box img{
    float:right;
    padding: 4px;
    border:0;
}

.terve24palvelut_otsikko {
    padding:4px 0 0 5px;
    font-size:14px;
    color:#b2428f;
    font-weight: bold;
}
	
.terve24palvelut_otsikko a {
    color:#b2428f;
    text-decoration:none;
}
	
.terve24palvelut_leipis {
    padding:11px 0 0 5px;
    font-size:10px;
    color:black;
}
.terve24palvelut_leipis a{
    color:black;
    font-decoration:none;
}
#terve24ad {
    background:#F8F7F5;
    border:1px solid #DAD6CB;
    border-bottom:2px solid #763980;
    padding:20px 0;
    position:relative;
    min-height:25px;
}
#terve24ad a#terve24link img {
    position:absolute;
    bottom:3px;
    right:2px;
}
#terve24nosto input.button {
    font-size:10px;
    background: none repeat scroll 0 0 #AE007B;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    padding: 1px;
    text-align: center;
    text-transform: uppercase;
}
#terve24nosto input.text {
    height:15px;
}
