
body {
  background: #EDEDE5 none repeat scroll 0 0;
  margin: 0px;
  margin-left: 0px;
  padding: 0px;
  font-family: Tahoma, sans-serif, Arial, Verdana;
  font-size: 10pt;
}

td, th, h1, h2, h3, h4, h5 { text-transform: none; font-family: Tahoma, sans-serif, Arial, Verdana; }

div#sort-tip { width: 45em }

p#terms {
	border: 2px solid #888;
	width: 20em;
	text-align: center;
	margin: 2em;
	padding: 1em;
}

form
{
	margin: 0px;
	padding: 0px;
}

input, select, textarea, option, optgroup
{
	font-size: 1.1em;
	background: #eee;
}



input#search-button {
	/* font-size: 1.2em; */
	font-weight: bold;
	
   background: transparent url(hae-fi.png) no-repeat;
   overflow: hidden;
   height:32px;
   width: 57px;
   border: none;
   font-size: 0px;
   color: white;
  
}

input#search-button:hover {
    background-image: url(hae2-fi.png);
}


input, select {
    
    border-left: solid 1px #8a8982;
    border-top: solid 1px #8a8982;
    border-right: solid 1px white;
    border-bottom: solid 1px white;
}


input:hover {
    background-color: #EEEEEE;
}

option:hover {
    background-color: #fac489;
}

select {
	padding: 0.2em;
}


h1
{
	color: #1A579B;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 10px;
}

h2
{
	font-size: 1.0em;
	font-weight: bold;
	margin-bottom: 10px;
}

h3
{
	color: #ef8f26;
	xxbackground: #1A579B;
	font-size: 1.5em;
	font-weight: bold;
	xxmargin-top: 1em;
	margin-bottom: 1em;
	padding: 0.2em;
	width: 46em;
	border-radius-topleft: .75em;
	border-radius-topright: .75em;}


h4
{
	display: block;
	height: 25px;
	color: #C1434F;
	font-size: 1.1em;
	padding-top: 2px;
	margin: 0px 0px 10px 0px;
}

h5
{
	display: block;
	height: 25px;
	color: #C1434F;
	font-size: 1.1em;
	padding-top: 2px;
	margin: 0px;
}

a {
	color: #417BBC;
    text-decoration: none;
}

a:hover {
	color: #417BBC;
	text-decoration: none;
}

a img {
	border: 0px;
	text-decoration: none;
}

p {
	margin: 0px 0px 15px 0px;
	padding: 0px;
	font-size: /* 0.8em; */
	line-height: 1.5em;
}

li {
	margin: 0px;
	padding: 0px;
	font-size: /* 0.8em; */
}

hr {
	margin-left: 0em;
	margin-right: 150px;
	height: solid 1px #aaa;
}



#status {
    padding-top: 12px;
    margin-left: 20px;
}


table { 
	/* border: solid 1px #aaa; */
}

table#main {
	padding: /* 0.8em; */
	border: dotted 1px #5B90CA;
	width: 50em;
}

table#main td {
	vertical-align: top;
	padding: 0.5em;

}

div#search { padding: 0.5em; }

table#main div#search {

}

table#rtable {
	xmargin-right: 40px;
	xborder: dotted 1px #d2d0c4;
    margin-left: 20px;
}

tbody td { 
	vertical-align: top; 
}

thead td { 
	background: #1A579B;
    background: #8a8a82;
	color: #fff;
	font-weight: bold;
	margin-bottom: 1em;
	padding: 0.2em;
}

tbody tr {
    border-bottom: 1px solid #dfddd0;
    
}

th { 
	background: #1A579B;
    
	color: #fff;
	font-weight: bold;
	margin-bottom: 1em;
	padding: 0.2em;
	font-size: /* 0.8em; */
}

td.c1 { width: 27em; font-weight: bold;}
td.c2 { width: 18em; margin-left: 1em;}
td.c3 { width: 5em;}
td.c4 { width: 5em }
td.c5 { width: 15em }
td.c1, td.c2, td.c3, td.c4, td.c5 { 
	border-bottom: 1px dotted #8a8a82;
	font-size: /* 0.8em; */
	padding: 0.3em;
}

div#checkboxes { float: right}

div.sourcebox { 
	border-right: solid 1px black; 
	margin-bottom: 0.6em; 
	padding-right: 0.5em; 
	padding-bottom: 0em; 
	width: auto; 
	text-align: right; 
}

div.header {
	padding-bottom: 10px;
	border: 0px;
	border-bottom: 1px solid #1A579B;
	margin-right: 140px;
	margin-bottom: 5px;
}

div.links {
        width: 45em;
        margin-right: 100px;
}

div.links p {
        text-align: right;
}
       

div.footer {
	margin-top: 10px;
	border: 0px;
	margin-right: 140px;
	font-size: 85%;
    
}

select.filtered {
	width: 12em;
	height: 12em;
	margin-right: 0.5em;
	margin-top: 0.5em;
}

select#id_targets_from, select#id_targets_to { 
    width: 15em;
	height: 20em;

 
}





select#id_mat_type { width: 12em;  }


div.selector {

}

p.selector-filter {
    border-style: none !important;
    background: none !important;
}

a.selector-add, a.selector-remove {
  text-indent: -5px;
	color: white;
	font-size: 0px !important;
	letter-spacing: -10px; 
}

.selector-available h2, .selector-chosen h2 {
  font-size: 8pt;

}

thead .arrow	{font-family: webdings }


body {
    xxbackground: transparent url(header_bg.jpg) repeat-x scroll top left;
    background: #EDEDE5 url(header_bg.jpg) repeat-x scroll top left;
}

#wrap {
    xborder: solid 1px red;
    width: 904px;
    margin: 0 auto;
}


#head {
  
  height: 150px;
  min-width: 900px;
  position: relative;
  width: 100%;
  
  margin-top: 0px;
  padding-top: 0px;
}

#head_wrap {
    margin: auto;
    xwidth: 900px;
    xwidth: 870px;
    background: transparent url(toppi-fi.jpg) no-repeat scroll top left;
    height: 150px;
    
    
}





#foot {
    clear: both;
    background: transparent url(footer_top.jpg) no-repeat scroll left top;
    width: 900px;
    margin: 0 auto;
    
    padding-top: 42px;
}

#foot_wrap {
    background: transparent url(footer_bottom.jpg) no-repeat scroll left bottom;
    height: 20px;
    xxborder: solid 1px red;
    padding-left: 25px;
    padding-bottom: 19px;
    padding-top: 39px;
    margin-top: -39px;
}

#langselect {
    position: absolute;
    top: 80px;
    margin-left: 730px;

}

#langselect a {
	font-size: 8pt;
  color: black;
}

#langselect a:hover {
  color: white;
  background-color: #8a8982;
}


#navi {
    float: left;
    margin-right: -350px;
    position: absolute;
    right: 48%;
    top: 0;
    background-color: #8a8982;
    color: white;
}

#navi_wrap {
    float: left;
    background: transparent url(navi_bg_lt.jpg) no-repeat scroll left bottom;
}

#navi_wrap ul {
    background: transparent url(navi_bg_rt.jpg) no-repeat scroll right bottom;
    float: left;
    padding: 8px 10px 9px;
    margin: 0;
    list-style-position: outside;
    list-style-type: none;
}

#navi_wrap li {
    display: block;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

#navi a {
    color: white;
    font-weight: bold;
}

#navi a:hover {
    text-decoration: underline;
}

element.style {
    background: none;
}

#content {
    background: transparent url(main_full.jpg) no-repeat scroll left top;
    position: relative;
    float: left;
    width: 100%;
    padding: 0px 15px 15px;
    margin-top: -23px;
    xxborder: solid 1px yellow;
    margin-left: 0px;
    padding-left: 15px;
    margin-right: 0px;
    padding-right: 0px;
}



div.selector {
     background: none;
}

div#search {
    border: none;
}

table#main {
    border: none;
}

#etu_vasen {
    float: left;
    

}
#etu_oikea {
    float: left;
    width: 380px;
    margin-top: 20px;
    margin-left: 50px;
    xxborder-right: solid 1px white;
}


/* widgettien overrideja */

.selector {
    width: 640px;
    xxborder: solid 1px red;
}

.selector ul.selector-chooser {
    float: left;
    width: 59px;
    height: 102px;
    background: url(chooser-bg.png) top center no-repeat;
    margin: 8em 2px 0 2px;
    padding: 0;
    padding-top: 10px;
}

.selector-chooser li a
{
    height: 32px;
    width: 32px;
    margin-left: 10px;
    
}

.selector-add {
    background: url(selector-add.png) top center no-repeat;
    margin-bottom: 2px;
}

.selector-remove {
    background: url(selector-remove.png) top center no-repeat;
}

.selector h2 {
    font-size: 10pt;
}


#error_box {
    border: dashed 1px red;
    float: left;
    padding: 5px;
    background-color: #efdd61;
}


#kirj_navi {
    
    width: 870px;
    xborder: solid 1px green;
    padding: 0px 0 0px 10px;
    margin: 3px 24px 0 0;
    
}


#kirj_navi li {
    list-style-type: none;
    padding: 0 0;

    _margin: 0 0 0 0;
    xborder: solid 1px red;
    display: inline;
    _float: left;
}

#kirj_navi li a {
    
    background: url(navibg.jpg) no-repeat;
    height: 55px;
    padding: 0 0 0 0px;
    display: block;
    float: left;
    xborder: dotted 1px green;
}


#kirj_navi li a.nappi1 { width: 149px; background-position:  0px 0px }
#kirj_navi li a:hover.nappi1, #kirj_navi li a.nappi1.akt { background-position: 0px -57px }


#kirj_navi li a.nappi2 { width: 78px; background-position: -149px 0px }
#kirj_navi li a:hover.nappi2, #kirj_navi li a.nappi2.akt { background-position: -149px -57px }

#kirj_navi li a.nappi3 { width: 88px; background-position: -227px 0px }
#kirj_navi li a:hover.nappi3, #kirj_navi li a.nappi3.akt { background-position: -227px -57px }

#kirj_navi li a.nappi4 { width: 154px; background-position: -315px 0px }
#kirj_navi li a:hover.nappi4, #kirj_navi li a.nappi4.akt { background-position: -315px -57px }

#kirj_navi li a.nappi5 { width: 110px; background-position: -469px 0px }
#kirj_navi li a:hover.nappi5, #kirj_navi li a.nappi5.akt { background-position: -469px -57px }

#kirj_navi li a.nappi6 { width: 118px; background-position: -579px 0px }
#kirj_navi li a:hover.nappi6, #kirj_navi li a.nappi6.akt { background-position: -579px -57px }

#kirj_navi li a.nappi7 { width: 75px; background-position: -697px 0px }
#kirj_navi li a:hover.nappi7, #kirj_navi li a.nappi7.akt { background-position: -697px -57px }

#kirj_navi li a.nappi8 { width: 73px; background-position: -772px 0px }
#kirj_navi li a:hover.nappi8, #kirj_navi li a.nappi8.akt { background-position: -772px -57px }

#maakuntaalueet {
    position: absolute;
    right: 165px;
    width: 150px;
    
    top: 45px;
    
    
    display: none;
    background: transparent url(valikko_bg.png) no-repeat scroll bottom right;
    
    margin: 0;
    padding: 0px;
    margin-top: 5px;
    margin-left: 4px;
    padding-top: 0px;
    padding-bottom: 20px;
    
    
    z-index: 1;
    _background-color: #f3a042;
    _padding-bottom: 10px;
    _right: 188px;
}



#maakuntaalueet-wrap {
    padding-top: 12px;
    background-color: #f3a042;
    

}



#maakuntaalueet ul {
    padding: 10px;
    margin: 0;
    _padding: 0px;
    
}

#maakuntaalueet li {
    display: block;
    margin: 0;
    padding: 2px;
    height: 15px;
    _padding: 0px;
    
    
}

#maakuntaalueet li:hover {
    background: #f4c38a;
}

#maakuntaalueet a:hover {
    background: #f4c38a;
}

#maakuntaalueet li a {
    color: black;
    height: 15px;
    background: none;
    
    _float: none;
    _height: 10px;
    _margin-left: 25px;
}



#maakuntaalueet-nappi {
    xpadding-left: 8px;
    xpadding-right: 8px;
    xborder: solid 1px red;
    z-index: 100;
    padding: 0px;
}

#maakuntaalueet-nappi:hover {

    
}



#clear {
    clear: both;
}

#foot_links {
    float: left;
    
}

#kysy {
    float: right;
    margin-right: 30px;
    width: 178px;
    height: 62px;
    margin-top: -42px;
    
}
#frank {
    float: right;
    margin-right: 10px;
    width: 73px;
    height: 62px;
    margin-top: -42px;

}

#info_box {

}

#info_header {

}

#logolink {
    padding-top: 0px;
}

#logolink a {
    font-weight: bold;
    color: white;
}

#atffc {
	display: none;
}

