/* basic tags */

html, body, div, span, p, h1, h2, h3, a, ul {
	border: 0;
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
}
acronym {
    border-bottom: 1px dotted black;
}
body {
    color: #333;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 76%;
}
h1 {
    line-height: 32px;
	font-size: 24px;
	font-family: Georgia, Times, Serif;
    font-weight: normal;
    margin: 30px 0 20px 0;
}
h2,
h3 {
	clear:left;
	font-weight: normal;
    line-height: 24px;
	font-size: 20px;
	font-family: Georgia, Times, Serif;
    margin: 40px 0 15px;
}
input, select, textarea {
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: .9em;
}
img {
    float: left;
    margin: 0 10px 5px 0;
}
ol, p, ul {
    line-height: 140%;
}
p {
	margin-bottom: 10px;
	line-height: 18px;
	font-size: 13px;
	font-family: verdana, arial, helvetica, sans-serif;
}
table {
	margin-bottom: 8px;
}
table th, table td {
    padding: 2px;
    vertical-align: top;
}
table th {
    text-align: left;
}


/* link tags */
a:link, a:visited {
	color: #444475;
	text-decoration: none;
	border-bottom: 1px hidden;
}
a#fancybox-close:hover,
a#fancybox-close:active {
    border: none;
}
#nav_menu a {
	color: #000;
	text-decoration: none;
}
#main_content form a,
#main_content ol a,
#main_content p a,
#main_content table a {
	text-decoration: underline;
}
.frontpage #main a,
.frontpage #main a:visited {
	text-decoration: none;
}
.frontpage #main_content a:hover,
.frontpage #main_content a:active {
	text-decoration: underline;
}
#main_content .initials a {
	margin-right: 3px;
}
.accentedLinks a,
.kirjat #main_content p a:first-child,
.verkkojulkaisut #main_content p a:first-child {
	background: url(../images/shortcut_arrow.png) 0 2px no-repeat;
	padding-left: 25px;
	text-decoration: none !important;
}
.accentedLinks a:hover,
.kirjat #main_content p a:first-child:hover,
.verkkojulkaisut #main_content p a:first-child:hover {
	text-decoration: underline !important;
}
h1 a,
h1 a:visited,
h1 a:hover,
h1 a:active,
h2 a,
h2 a:visited,
h2 a:hover,
h2 a:active,
h3 a,
h3 a:visited,
h3 a:hover,
h3 a:active {
    color: #000 !important;
    text-decoration: none !important;
}
a.open_access {
	color: green;
}


/* tailored styles */
.attention, .error {
	color: #f00;
}
p#caption {
	font-size: 10px;
	float: left;
	line-height: 14px;
	margin: 0 10px 7px 0;
	text-align: left;
	width: 144px;
}
p#caption img {
	float: none;
	padding: 1px;
	border: 1px solid #C3C2C2;
	margin: 0 0 5px 0;
}
#credits {
	color: #999;
	font-size: 90%;
	text-align: left;
	border-top: 1px dotted #999;
}
#content h2 {
	margin-top: 12px;
}
.front_news, .front_person, .front_search {
	padding: 5px 10px 20px 60px;
	margin-bottom: 30px;
}
.front_news {
	background: #dfd9cc url("../images/palkki_ajankohta.gif") no-repeat top left;
}

/* front page search */
.front_search {
	background: #B0B1DD url("../images/palkki_haku.gif") no-repeat top left;
}
.front_search h2 {
	border: 0;
}
.front_search form {
	margin-top: 15px;
}
.front_search form * {
	float: left;
}
.front_search input,
.front_search select {
	height: 32px;
	border: 0;
	padding: 0;
	margin-right: 15px;
}
.front_search #searchInput {
	width: 205px;
	padding: 0 10px 0 10px;
	line-height: 32px;
}
.front_search #searchSelectHolder {
	background: #FFF url("../images/select_arrow.png") no-repeat right;
	width: 245px;
  	height: 32px;
	overflow: hidden;
	margin-right: 15px;
}
.front_search select {
	width: 265px;
	padding: 6px 0 8px 10px;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.front_search select option {
	padding: 2px 6px;
}
.front_search select option:hover {
	background-color: #B0B1DD;
}
.front_search #searchSubmit {
	width: 65px;
	font-weight: bold;
	background-color: #D3D5F0;
	cursor: pointer;
}

/* front page person */
.front_person {
	background: #CADECD url("../images/palkki_ihmiset2.gif") no-repeat top left;
}
.front_person img {
	margin-right: 15px;
}
.front_person h2 span {
	float: right;
	font-weight: normal;
	font-size: 12px;
}
.front_person p {
	margin-left: 150px;
}


.front_news img {
	margin-right: 15px;
}
img#initial {
	border: 0;
}
img.search {
	padding-top:15px;
}
.line {
	clear: left;
	margin: 16px 0;
	border-bottom: 1px solid #999;
}
p#descr {
	font-style: italic;
}
p#descr em {
	font-style: normal;
}
#right_column {
	float: right;
	width: 30%;
	height: 100%;
}
#main_content {
	float: left;
	width: 66%;
	padding: 0 2% 15px 0;
}
body.frontpage #main_content {
	width: 100%;
	padding: 0 0 15px 0;
}
#slogan {
	float: right;
	width: 30%;
	color: #fff;
	background: #444475 url("../images/slogan.gif") no-repeat center center;
	height: 95px;
	padding: 0;
	margin: 0;
}
#content {
	width: 764px;
	margin: 0 auto;
}
#header {
	background: #D2D4F0 url("../images/up_color_shadeup.gif") repeat-x top;
	height: 145px;
}
#ylapalkki {
	color: #C7B295;
	background-color: transparent;
	text-align: left;
	height: 95px;
	width: 764px;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}
#nav {
	width: 764px;
	height: 40px;
	padding: 0;
	padding-top: 10px;
	margin-left: auto;
	margin-right: auto;
}
#nav_menu li {
	float: left;
	padding: 6px 10px 6px 10px;
	margin-right: 5px;
	font-size: 14px;
}
#nav_menu li:hover, #nav_menu li:hover a {
	background-color: #676899;
	color: #FFF;
}
#indent_where {
	min-height: 160px;
}
#padding {
	height: 50px;
}
.indent_nav, #indent_db, #indent_where, #indent_search {
	padding: 5px 10px 15px 40px;
}
.indent_nav h3 {
	font-size: 16px;
	margin: 6px 0;
}
#indent_search {
	background: #b0b0e1 url("../images/palkki_haku.gif") no-repeat top left;
}
#indent_search input {
	margin-bottom: 5px;
}
#indent_search input[type=text] {
	width: 150px;
}
#indent_search form {
	padding-top: 10px;
}
.spacer {
	border-bottom: 3px solid #fff;
}
#indent_where a:visited, #indent_where a:link, #indent_where a:hover, #indent_where a:active, #right_column a:visited, #right_column a:link, #right_column a:hover, #right_column a:active {
	font-size: 1em;
}
#bread {
	margin-top: 5px;
	font-size: 90%;
}
#date {
	color: #999;
	font-size: 0.9em;
	}
#description {
    font-size: 120%;
    letter-spacing:.5px;
}


/* generals */
table#details td p {
	margin: 0;
	padding: 0;
}
table#details td#bio p {
	margin-top: 0;
	margin-bottom: 0.8em;
	padding: 0;
}
table#details td {
	line-height: 135%;
	padding-bottom: 0.4em;
}
table td#notes, table td#notes p {
	font-style: italic;
}


/* english */
table#details_eng td p {
	margin-top: 0;
	padding: 0;
}
table#details_eng td {
	line-height: 135%;
	padding-bottom: 0.4em;
}


/* header */
#heading {
	float: left;
	width: 70%;
	height: 95px;
	border, padding, margin: 0;
	background: transparent url("../images/main/logo.gif") no-repeat top left;
}
#logo {
	float: left;
	margin-top: -2px;
}
#logo img {
	border: 0;
}
#logo_wrapper {
	height: 77px;
	display: block;
	border, padding, margin: 0;
}
#sublogo {
	clear: both;
	float: left;
	margin-top: 8px;
	border, padding, margin: 0;
}
#sublogo img {
	border: 0;
}


/* lang */
#lang {
	clear: both;
	color: #fff;
	border-top: 1px solid #fff;
	padding-left: 290px;
}
#lang img {
	border: 0;
	margin: 0;
	padding: 0;
}


/* search result */
img.search {
	border: none;
}


/* form with div's */
#css_form {
	display: block;
}
#css_form input, #css_form textarea, #css_form select {
	margin: 0 0 5px 3px;
}
#css_form input {
	width: 350px;
}
#css_form input.checkbox,#css_form input.radio {
	width: auto;
}
#css_form input.button {
	background-color: #fcfcfc;
	color: #333;
	margin-top: 5px;
	margin-right: 10px;
	width: 170px;
}
#css_form input.checkbox {
	margin-bottom: 2px;
}
#css_form input.narrow {
	width: 75px;
}
#css_form input.mid {
	width: 150px;
}
#css_form input.wide {
	width: 300px;
}
#css_form label {
	float: left;
	padding: 4px 10px 8px;
	text-align: left;
	width: 83%;
}
#css_form br {
	clear: left;
}
fieldset div {
	clear: both;
	margin: 0 0 10px 140px;
}
fieldset p {
	margin: 10px 0 0 10px;
}
legend {
	margin-left: 10px;
	padding-left: 3px;
	padding-right: 3px;
}
.mceEditor {
	height: 350px;
}


/* social */
div#facebook {
    float:right;
    height:20px;
    line-height:20px;
    padding:6px 0;
    width:30%;
}
div#facebook img {
    border:none;
    margin:0 4px 0 0;
    width:18px;
}


/* borrowed */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* end hide from IE-mac */


/* shared */
.notification {
    background:url("https://www.tietokannat.info/shared_files/icons/information.png") no-repeat scroll 7px 7px #FFFAE1;
    border:1px solid #EECCAA;
    color:#666;
    font-size: 13px;
    margin:0 10px 10px;
    padding:7px 7px 7px 35px;
}

/* APE Payment */
.ape_box {
    border: 2px outset #aaa;
    padding: 10px;
    width: 440px;
    height: 180px
}

/* front page shortcuts */
.shortcuts {
	float: right;
	width: 180px;
}
.shortcuts li {
	list-style: url('../images/shortcut_arrow.png');
	line-height: 13px;
	margin-bottom: 5px;
}
.shortcuts li a {
	color: #7273A7;
	vertical-align: top;
}


#leipis {
	width: 550px;
	margin-bottom: 24px;
}
#leipis p {
	line-height: 20px;
	font-size: 13px;
}
#leipis a {
	color: #7273A7;
}

.creditsLink {
	margin-left: 20px;
}
.right {
	float: right;
}
.left {
	float: left;
}
.clear {
	clear: both;
	margin: 0;
	padding: 0;
	height: 0;
}
.verkkojulkaisut #main_content h2 {
	margin-top: 36px;
}

#leipis.biggerText p {
	font-size: 14px;
	line-height: 24px;
}
#main_content ul.extrainfo,
#main_content ul.extrainfo li {
	list-style: square;
	margin-left: 12px;
}
p input[type=submit] {
	margin-top: 12px;
}
