@charset "utf-8";
/** clearfix **/
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


/** reset **/
h1, h2, h3, h4, h5, h6, p, ul, li, fieldset, legend, label, input, textarea, select {
	font-weight: normal;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: none;
}

/** body **/
body {
    font-family: Arial, sans-serif;
    font-size: 85%;    
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

/** headings **/
h2 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 5px;
}
div.subnavi h2 {
	margin-bottom: 0;
}
h3 {
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 10px;
}
div.bloglist h3 {
	margin-bottom: 0;
}

/** general **/
hr {
    display: none;
}

/** images **/
img.alignright {
    display: inline;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

.rightcolumn img {
    display: inline;
    float: right;
    margin-left: 10px;
    margin-bottom: 7px;
}

.leftcolumn img {
    display: inline;
    float: right;
    margin-left: 10px;
    margin-bottom: 7px;
}

.leftcolumn a {
    font-size: 0.9em;
    font-weight: bold;
}

img.alignleft {
    display: inline;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}



/** link styles **/
a, a:link {
	color: #001866;
	text-decoration: none;
}     
a:visited {
	color: #10162a;	
}  
a:hover {	
	text-decoration: underline;
}   
 
div#navigation a {
    color: #ff0;    
    text-transform: uppercase;
}
div#navigation a.selected {
    color: #fff;
    font-weight: bold;
}
div#maincontent a.readmore {
    font-size: 0.9em;
    font-weight: bold;
}

div#partners a {
    font-weight: bold;
}
div#partners h2 a {
	display: block;
	height: 100%;
}
div#links a {
    border: 0;
}
div#links a img {
    border: 0;
}

p.event {
	margin-bottom: 10px;
}



/** paragraph styles **/
p {
	font-size: 1em;
}
div#maincontent p {
    font-size: 1em;
    margin-bottom: 7px;
}

div#maincontent p.contentintroduction {
	font-size: 0.7em;
	margin-bottom: 0;
	text-transform: uppercase;	
}

div#maincontent p.separated {
    background: url("../img/bg_dashed_line.gif");
    background-repeat: repeat-x;
    background-position: left top;
    font-size: 0.8em;
    padding-top: 10px;
}

div#partners p {
    color: #333;
    font-size: 0.8em;
    line-height: 1.125em;
}

div#partners p.introduction {
    background-image: url("../img/bg_dotted_line.gif");
    background-position: left bottom;
    background-repeat: repeat-x;
    font-size: 0.9em;
    height: 3.8em;    
    margin-bottom: 10px;    
    padding-bottom: 5px;
    border: 0px solid #000000;
}

div#partners div.introduction {
    background-image: url("../img/bg_dotted_line.gif");
    background-position: left bottom;
    background-repeat: repeat-x;
    font-size: 0.9em;
    height: 3.8em;    
    margin-bottom: 10px;    
    padding-bottom: 5px;
    border: 0px solid #000000;
}

div#partners div.introduction p { 
    font-size: 0.9em;
}



div#footer p {
    background-color: inherit;
    background-image: url("../img/bg_footer_p_separator.gif");
    background-repeat: no-repeat;
    background-position: left center;    
    color: inherit;
    display: inline;
    font-size: 0.8125em;    
    padding-left: 11px;
}

div#footer p:first-child {
    background-image: none;
    padding-left: 0;
}

div#footer .footerTop p {
	background-image: none;
}

/** site structure **/
div.siteblock {
	width: 960px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
}

div#masthead {
	height: 80px;
	position: relative;
}

div#masthead a {
	height: 80px;
	display: block;
	width: 120px;
}

div#banner {
	height: 100px;
	left: 128px;
	overflow: hidden;
	position: absolute;
	text-indent: 0;
	top: 10px;
	width: 580px;
}

div#navigation {
	background-color: #5e5e50;
    min-height: 25px;
}

div#maincontent {
	background-color: #e5e5e5; 
    background-image: url("../img/bg_maincontent.gif");
	background-repeat: repeat-x;
	border-bottom-color: #5e5e50;
	border-bottom-style: solid;
	border-bottom-width: 2px;
	padding-bottom: 7px;
    padding-top: 10px;
}    

body.etusivu div#maincontent div.container {}

div#footer {
    width: 100%;
}

div#footer .footerTop {
	border-top: 1px solid #bebdbf;
    color: #5e5e50;
    font-size: 1.2em;
    margin-top: 20px;
    padding: 8px 0 5px 0;
    text-align: center;
    width: 100%;
}

div#footer .footerBottom {
	background-repeat: repeat-x;
    background-color: #807e82;
    background-image: url("../img/bg5-tile.gif");
    color: #fff;
    font-size: 1.2em;
    height: 24px;
    padding-top: 5px;
    text-align: center;
    width: 100%;
}
	
div#footer .footerBottom .footerBottomContent {
	background-repeat: no-repeat;
	background-color: #807e82;
	background-image: url("../img/tat-footerlogo.gif");
	display: inline;
	padding-left: 61px;
}

div#footer .footerBottom a {
	color: #c2c2c2;
	text-decoration: underline;
	font-size: 0.9em;
}

div#footer .footerBottom a:hover {
	color: #fff;
}

/** columns **/

/* to follow the logic of its friends, this should really be quartercolumn. but it isn't. */
div.column {
    display: inline;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    width: 220px;
}

div.column h2.pagename{
	margin-top: 34px;
}

div.column.leftcolumn {
	float: left;
}

div.column.rightcolumn {
	float: right;
}

div.column.halfcolumn {
    width: 450px;
}
div.column.singlecolumn {
	width: 100%;
}

div.columncontainer {
    background: #fff;
    display: inline;
    float: left;
}

div.columncontainer.padded {
    margin-left: 10px;
    margin-right: 10px;    
    padding-bottom: 34px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 34px;
    width: 600px;
}

div.columncontainer.padded div.singlecolumn {
	width: 580px;
}

div.columncontainer.padded div.halfcolumn {
	width: 280px;
}

div.columncontainer.padded ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/** forms **/
fieldset {
	border: 0;
}

legend {
	display: none;
}

label {
	display: block;
}

label span {
}

/* update ie6.css if you change this */
label input[type=text] {
	display: block;
	margin-bottom: 10px;
	width: 100%;
}
/* doubled because ie6 ignores the above rule */
label textarea,
label select {
	display: block;
	margin-bottom: 10px;
	width: 100%;
}
/* update ie6.css if you change this */
input[type=submit] {
	padding-left: 10px;
	padding-right: 10px;
}

/** date **/
span.date {
    color: #487f37;
}
div.liftup span.date:after,
div.blogtext span.date:after {
    content: " |";
}


div.blogi div.object-right {
    float: right;
}

img.blogger,
img.mapper {
	float: right;
	display: block;
	margin: 5px 0px 5px 5px;
}

/** masthead **/
div#masthead {
    background-image: url("../img/logo_tat_ryhma_new.png"); 
    background-position: 0px 12px;
    background-repeat: no-repeat;
    text-indent: -10000px;
    overflow: hidden;
    left: 20px;
}

/** navigation **/
div#navigation {
    clear: both;
}
div#sitenavi {
    display: inline;
    float: left;
    font-size: 0.8em;
    margin-left: 10px;
    margin-top: 6px;
}
div#langnavi {
    display: inline;
    float: right;
    font-size: 0.7em;
    margin-right: 10px;
    margin-top: 7px;
}
div#navigation ul {
    list-style-type: none;
}
div#navigation li {
    background-image: url("../img/bg_nav_li_separator.gif");
    background-repeat: no-repeat;
    background-position: left center;
    display: inline;
    padding-left: 11px;
}
div#navigation li:first-child {
    background-image: none;
    padding-left: 0;
}

/** in-page subnavigation **/

div.subnavi {
}

div.subnavi ul {
    margin-top: 0px;
    list-style-type: none;
}

div.subnavi a {
    font-size: 0.75em;
}

div.subnavi li.selected a {
    font-weight: bold;
}

div.subnavi li.menudepth1 {
	margin-left: 0px;
}

div.subnavi li.menudepth2 {
	margin-left: 10px;
}

div.subnavi li.menudepth3 {
	margin-left: 20px;
}

div.subnavi li.menudepth4 {
	margin-left: 30px;
}

/** partners **/
div#partners.etusivu ul {
	background-image: url("../img/bg_partners.gif");
	background-position: center bottom;
	background-repeat: no-repeat;
    list-style-type: none;
}

div#partners li {        
    display: inline;
    float: left;
    height: auto;
    margin-left: 10px;
    margin-right: 10px;
    width: 220px;
}

body.etusivu div#partners li {
    border-bottom-width: 4px;
    padding-bottom: 10px;
}

div#partners h2 {
	background-position: 50% 25px;
	background-repeat: no-repeat;	
	height: 4em;
	text-indent: -1000px;
	overflow: hidden;
}

div#partners li#tat h2 {
    background-image: url("../img/logo-tat-new.png");
}

div#partners li#finnfacts h2 {
    background-image: url("../img/logo-finnfacts-new.png");
}

div#partners li#infor h2 {
    background-image: url("../img/logo-infor-new.png");
}

div#partners li#t-media h2 {
    background-image: url("../img/logo-t-media-new.png");        
}

/** links **/
div#links {
    margin-top: 2em;
    overflow: hidden;
    position: relative;    
}

div#links ul {
    display: block;
    float: left;
    left: 50%;
    list-style-type: none;
    list-style-position: inside;
    position: relative;
}

div#links li {
    background-position: left top;
    background-repeat: no-repeat;
    display: inline;
    float: left;
    height: 115px;
    left: -50%;
    font-size: 0.8em;
    line-height: 0.82em;
    padding-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    text-align: center;
    width: 100px;
}

div#links a {
	display: block;	
	padding: 0 2px;
	margin: 0;
	width: 96px;
	line-height: 14px;
}

div#links p {
	line-height: 14px;
	margin: 0;
}

li#inforin-kirjakauppa {
	background-image: url("../img/bg_link_inforin-kirjakauppa.gif");
}
li#opetat {
	background-image: url("../img/bg_link_opetat.gif");
}
li#kun-koulu-loppuu {
	background-image: url("../img/bg_link_kun-koulu-loppuu.gif");
}
li#ipnc {
	background-image: url("../img/bg_link_ipnc-2008.gif");
}
li#mista-oljy-tulee {
	background-image: url("../img/bg_link_mista-oljy-tulee.gif");
}
li#hyvat-kaytannot {
	background-image: url("../img/bg_link_hyvat-kaytannot.gif");
}


/* TABBED MENU */

#tabmenu {
	color: black;
	/*border-bottom: 2px solid black;*/
	margin: 0px 0px 0px 0px;
	padding: 0px;
	z-index: 1;
	padding-left: 10px 
}

#tabmenu li {
	display: inline;
	overflow: hidden;
	list-style-type: none; 
	background: none;
	padding-left: 0;
}

#tabmenu a, a.active {
	color: black;
	background: #ccced2;
	padding: 2px 5px 0px 5px;
	margin: 0;
	text-decoration: none; 
}

#tabmenu a.active {
	background: #E3E4E9;
}

#tabmenu a:hover {
	color: #fff;
	background: #ADC09F; 
}

#tabmenu a:visited {
	/*color: #E8E9BE; */
}

#tabmenu a.active:hover {
	background: #ABAD85;
	/*color: #DEDECF; */
}

/* CLASS styles */

/* user notification thing */
.usermessage {
	background-color: #ffce7b;
	border: 1px solid #ffa500;
	color: Black;
	font-weight: bold;
	margin: 2em 0em 1em 0em;
	padding: 0.5em 1em;
	vertical-align: middle;
}

.errormessage {
	color: red;
	font-weight: bold;
}

.errorinput {
	border: 1px solid red;
}

.item{
	display: inline;
}

.adminheading {
	background: #E3E4E9 url("../img/bg_header.jpg");
	font-weight: bold;
	padding: 5px;
	border-top: 10px;
}

.adminheading2 {
	background: #9FCBE8 url("../img/bg_header2.jpg");
	font-weight: bold;
	padding: 5px;
}

.adminheading2 a {
	color: black;
}


/*
** exove
*/
table#personel {
	border-collapse: collapse;
	width: 100%;
}

table#personel caption {
	text-align: left;
	padding-bottom: 10px;
}

table#personel td {
	padding-bottom: 10px;
	vertical-align: top;
}

table#personel td.first {
	width: 120px;
}

.hiddenField {
	display: none;
}

.emptyField.hiddenField {
	display: none;
}

#topsearch {
	float: right;
	height: 30px;
	margin-top: 30px;
	text-indent: 0;
	padding-right: 30px;
}

#masthead a,
banner {
	float: left;
}

#topsearch {
	text-align: right;
	width: 216px;
}

#topsearch #language {
	margin: 10px 0 20px 0;
	text-align: right;
}

#topsearch .searchbox {
	float: left;
	width: 150px;
	height: 19px;
	padding: 3px 0 0 4px;
	border: 1px solid #5e5e50;
}

#topsearch .button {
	float: left;
	font-size: 13px;
	margin-left: 4px;
	height: 24px;
	width: 55px;
	background: #5e5e50;
	border: 1px solid #5e5e50;
	color: #fff;
}

#topsearch small {
	line-height: 20px;
}

.content-search td {
	padding-bottom: 20px;
}

.contactsForm div {
	float: none;
	margin: 0 10px 10px 10px;
	display: block;
	clear: both;
}

.contactsForm div input {
	width: 100px;
}

.contactsForm .textAreaBox textarea {
	width: 481px;
}

.contactsForm .textAreaBox {
	width: 100%;
}

.contactsForm .feedback_button {
	clear: both;
}

.contactsForm .feedback_button input {
	width: auto;
}

.contactsForm .howToContact input {
	width: auto;
	margin-right: 10px;
}

.contactsForm .howToContact div.radioItem {
	display: block;
	float: none;
	margin: 5px 0 0 0;
}

.contactsForm .hiddenField {
	display: none;
}

.contactsForm .radioItem label {
	display: inline;
}


#rss-link {
	background: transparent url("../img/rss-icon.gif") center left no-repeat;
	padding-left:20px;
	margin-top:20px;
	line-height: 15px;	
}

.addInfo {
	clear: both;
	padding-top: 20px;
	margin-left: 10px;
}
