/* Overrides */
body {    
    background-color: #f8f8f8;
    background-image: url(../img/bg_body.png);
    background-repeat: repeat-x;
    line-height: 100%;
    position: relative;
}

body.subpage {
    background-position: left -49px;
}

div#wrapper {
    background: none;
    border: none;
    padding-bottom: 85px;
}

div#content {
    background-image: none;
    font-size: 133%; /* Restore value as it were set 100% in body */
    margin: 0;
    padding: 0;
}

div.taustaviivat-2-palstaa {
    background-image: none;
}

div#footer {
    background-image: none;
    border-color: #9d9d9d;
    border-style: solid;
    border-width: 1px;
    border-top-width: 0;
    height: 100px;
}

div.taustaviivat-2-palstaa div.column-left {
    clear: left;
    display: inline;
    overflow: hidden;
    width: 198px;
}

div.taustaviivat-2-palstaa div.column-center-wide { 
    display: inline;
    margin: 0;
    overflow: hidden;
    width: 544px;
}

div#header {
    background-image: url(../img/bg_header.jpg);
}

div#header div.tunnus-vari {
    display: none;
}

h1 {
    overflow: hidden;
}

h4 {
    margin-bottom: 0.75em;
}

/* New styles */

/* Return link container */
div.return-link-container {
    background-color: #d6d6d6;
    border-bottom: 1px solid #b1b1b1;
    border-top: 1px solid #b1b1b1;
    color: #ff7800;
    font-family: Arial;
    font-size: 0.75em; /* 12pt */
    padding-bottom: 5px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 5px;
}

div.return-link-container p {
    margin: 0;
}
div.return-link-container a {
    color: #ff7800;
    text-decoration: none;
}


/* Content block */
div.content-block {
    background-color: #fff;
    background-image: url(../img/bg_content-block.png);
    background-repeat: repeat-y;
    border-color: #e9e9e9;
    border-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    clear: left;
    float: left;
    display: inline;
    margin-top: 12px;
    overflow: hidden;
    position: relative;
    width: 742px;
    
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

div.content-block:first-child {
    border-top-width: 0;
    margin-top: 0;
    
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

div.content-block:last-child {
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

div#content div.content-item {
    position: relative;
}

div.content-item.keywords {
    border-bottom: 1px dotted #000;
}
div.content-item.keywords h4 {
    font-family: Arial;
    font-size: 0.8125em;
    font-weight: bold;
    text-transform: uppercase;
}

div.content-item.keywords ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

div.content-item.keywords li {
    background-image: none;
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}
div.content-item.keywords li:after {
    content: ", ";
}
div.content-item.keywords li:last-child:after {
    content: "";
}
div.content-item.keywords a {
    color: #000;
    font-family: Arial;
    font-size: 0.75em;
    text-decoration: none;
}
div.content-item.keywords a:hover {
    color: #ff7800;
    text-decoration: underline;
}

/* Left column */

div.column-left {
    margin: 0;
}

div.column-left h3 {
    background-color: #fff;
    border-color: #dedede;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    color: #ff7800;
    font-family: Arial;
    font-size: 1.25em; /* 20pt */
    font-weight: bold;
    letter-spacing: -1px;
    margin: 0;
    min-height: 18px;
    padding-bottom: 4px;
    padding-left: 14px;
    padding-top: 26px;
    position: relative;
}

div.column-left h3:first-child {
    background-color: #eee;
}

div.column-left h4 {
    font-family: Georgia, Serif;
    font-size: 0.875em; /* 14pt */
    font-weight: normal;
}

div.column-left p {
    font-family: Georgia, Serif;
    font-size: 0.6875em; /* 11pt */
    line-height: 1.1em;
}
div.column-left p.date {
    font-family: Arial;
}

div.column-left div.content-item {    
    margin-left: 13px;
    margin-right: 14px;
    padding-bottom: 47px;
}

div.column-left ul.sidebar-list ul {    
    margin-left: 0;
    margin-right: 0;
}
div.column-left ul.sidebar-list li {
    background-image: url(../img/bg_dotted_line.png);
    background-repeat: repeat-x;
    list-style-type: none;
    margin-left: 0;    
    margin-right: 0;
    margin-top: 18px;
    padding: 0;
    padding-top: 18px;
}
div.column-left ul.sidebar-list li:first-child {
    background-image: none;
    padding-top: 0;
}

div.column-left ul.sidebar-list li p {
    /*margin-top: 14px;*/
}

div.column-bottom {
    background-image: url(../img/bg_sidebar-bottom.png);
    background-repeat: repeat-x;
    bottom: 0;    
    height: 41px;
    position: absolute;
    width: 100%;
}

div.column-bottom a {
    color: #000;
    display: block;
    font-family: Arial;    
    margin-left: 5px;
    margin-top: 13px;
    text-decoration: none;
}

div.column-bottom a:after {
    content: " >";
}

div.column-left div.column-bottom a {
    font-weight: bold;
    text-transform: uppercase;
}

/* Center (a.k.a. right) column */

div.inverse-colors {
    background-image: url(../img/bg_content-block_inverse-colors.png);    
}

body.subpage div.inverse-colors {
    background-image: url(../img/bg_subpage_content-block_inverse-colors.png);    
}

div.inverse-colors div.column-center-wide {
    color: #fff;
}
body.subpage div.inverse-colors div.column-center-wide {
    color: #000;
}

div.column-center-wide div.inverse-colors {
    background-position: -199px top;
    color: #fff;
}
body.subpage div.column-center-wide div.inverse-colors {
    background-position: -199px top;
    color: #000;
}

div.column-center-wide div.inverse-colors:first-child {
    -moz-border-radius-topright: 6px;
    -webkit-border-top-right-radius: 6px;
    border-top-right-radius: 6px;
}

div.column-center-wide h3 {
    /*border-bottom: 1px solid #e6e6e6;*/
    border-bottom: 0;
    color: #010101;
    font-family: Arial;    
    font-size: 1.3125em;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1em;
    margin: 0;
    min-height: 18px;
    padding-bottom: 4px;
    padding-left: 27px;
    padding-top: 26px;    
}
div.column-center-wide h4 {
    font-family: Georgia, Serif;
    font-size: 1.3125em;
    font-weight: normal;
    line-height: 1em;
}
div.column-center-wide h5 {
    font-family: Georgia, Serif;
    font-size: 0.875em; /* 14pt */
    font-weight: bold;    
    line-height: 1em;    
}
div.column-center-wide p {
    font-family: Georgia, Serif;
    font-size: 0.875em; /* 14pt */
    font-weight: normal;
    line-height: 1em; /* 15pt */
}
div.inverse-colors div.column-center-wide h3,
div.column-center-wide div.inverse-colors h3 {
    border-bottom: 1px solid #4c4c4c;
    color: #fff;
}
div.inverse-colors div.column-center-wide h4,
div.column-center-wide div.inverse-colors h4 {
    color: #fff;
}
div.inverse-colors div.column-center-wide h5,
div.column-center-wide div.inverse-colors h5 {
    color: #fff;
}
body.subpage div.inverse-colors div.column-center-wide h3,
body.subpage div.column-center-wide div.inverse-colors h3 {
    border-bottom: 1px solid #dedede;
    color: #000;
}
body.subpage div.inverse-colors div.column-center-wide h4,
body.subpage div.column-center-wide div.inverse-colors h4 {
    color: #000;
}
div.column-center-wide div.content-item {
    margin-left: 27px;
    margin-right: 27px;
    margin-top: 20px;
    padding-bottom: 28px;
}
div.column-center-wide h3 + div.content-item {
    /*margin-top: 0;*/
}

/* Page bottom element */
div.page-bottom {
    clear: both;
    overflow: hidden;
    padding-top: 20px;
}

/* Elements */
h3 a.rsslink {
    background-image: url(../img/bg_rsslink.png);
    background-repeat: no-repeat;
    bottom: 8px;
    display: block;
    height: 14px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: -9999px;
    width: 14px;
}

a.read-more {
    color: #ff7800;
    text-decoration: none;
}
a.read-more:after {
    content: " >";
}

div.content-item.image-left {
    padding-left: 170px;
    position: relative;
}
div.content-item.image-left img {
    left: 0;
    position: absolute;
    top: 0;
}

/* Scroller */
div#image-scroller-zoom-content {
    border: 1px solid #b5b5b5;
	overflow: hidden;
	position: relative;
	
	-moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
div#image-scroller-zoom-content div.description {    
    background-image: url(../img/image-scroller-zoom-text-hint.png);
    background-position: 470px 7px;
    background-repeat: no-repeat;
	background-color: #000;
	color: #fff;
	left: 0;
	opacity: 0.7;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
	position: absolute;
	text-align: left;
	width: 449px;
}
div#image-scroller-zoom-content div.description p {
    font-family: Arial;
    font-size: 0.875em;
    font-weight: bold;
}
div.image-scroller {
	margin-top: 33px;
	position: relative;
}
div.image-scroller div.scrollable {
	clear: left;
	height: 109px;
	margin-left: 22px;
	overflow: hidden;
	position: relative;
	width: 446px;
}
div.image-scroller div.items {
	height: 109px;
	position: absolute;
	width: 20000em;
}
div.image-scroller div.items div {
	float: left;
	margin-left: 6px;
	width: 106px;
}
div.image-scroller div.items a.frame-overlay {
    background-image: url(../img/overlay_scroller_item.png);
    background-repeat: no-repeat;
    display: block;
    height: 64px;
    position: absolute;
    top: 0;
    width: 106px;
}
div.image-scroller div.selected a.frame-overlay {
    background-image: url(../img/overlay_scroller_item_selected.png);
    background-repeat: no-repeat;
    display: block;
    height: 64px;
    width: 106px;
}
div.image-scroller div.items span.description {
    display: block;
    font-size: 0.6875em; /* 11pt */
    font-weight: bold;
    line-height: 1em; /* 16pt */
    letter-spacing: -20%;
    margin-top: 10px;
}
div.image-scroller div.items div:first-child {
    margin-left: 0;
}

div.image-scroller a.nav-scroller {
    background-repeat: no-repeat;
    background-position: center 21px;
    display: block;
    height: 63px;
	overflow: hidden;
    position: absolute;
	text-indent: -9999em;
    width: 16px;
}
div.image-scroller a.nav-scroller-disabled {
    display: none;
}
div.image-scroller a.nav-scroller-prev {
    background-image: url(../img/bg_scoller_arrow_left.png);
    left: 0;
    top: 0;
}
div.image-scroller a.nav-scroller-next {
    background-image: url(../img/bg_scoller_arrow_right.png);
    right: 0;
    top: 0;
}
body.subpage div.image-scroller a.nav-scroller-prev {
    background-image: url(../img/bg_subpage_scoller_arrow_left.png);
}
body.subpage div.image-scroller a.nav-scroller-next {
    background-image: url(../img/bg_subpage_scoller_arrow_right.png);
}
div#image-scroller-zoom-content {
    text-align: center;
}

/* Related reading */
ul.related-reading {
    list-style: none;
    margin: 0;
    margin-top: 50px;
    padding: 0;    
}
ul.related-reading li {
    background: none;
    border-top: 1px dotted #000;
    font-size: 0.75em;    
    margin: 0;
    margin-top: 10px;
    padding: 0;
    padding-top: 10px;    
}

ul.related-reading a {
    color: #ff7800;
    text-decoration: none;
} 

ul.related-reading a:hover {
    text-decoration: underline;
}

ul.related-reading a:after {
    content: "\A0>";
} 

/* Footer background */
div#footerbg {
    background-color: #eee;
    bottom: 0;
    height: 186px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: -1;
}
