html
{
    height: 100%;
    width: 100%;
    background: #fff url('../images/hbg.jpg') repeat-x top center;
}

body
{
    min-height: 100%;
    width: 100%;
    min-width: 960px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333;
    line-height: 1.6em;
    height: 100%; /* needed for container min-height */
}


.wmuSlider
{
    overflow: hidden;
}

.slides_container article
{
    width: 700px;
    height: 170px;
    display: block;
}

a:link, a:visited, a:focus
{
    color: #3c6be1;
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

a.out::after
{
	content: " ";
    background: url('../images/linkout_ico.png') no-repeat center right;
    padding-right: 13px;
}

p
{
    margin: 1em 0;
}

h1, h2, h3, h4
{
    font-family: Georgia, serif;
    font-weight: normal;
    color: #000;
}

h1
{
    font-size: 43px;
}

h1 a
{
    color: #00237c;
}

h2
{
    font-size: 20px;
}

h3
{
    font-size: 18px;
}


h1 strong, h1 b, h2 strong, h2 b, h3 strong, h3 b, h4 strong, h4 b
{
    font-weight: normal;
}


a, a.FCK__AnchorC, a.FCK__AnchorC:hover
{
    color: #000;
    text-decoration: none;
}

h4
{
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #333333;
}

.mobile
{
    display: none;
}
/*
.desktop {
	display: block;
}
*/


/*
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
 */

#main
{
    width: 940px;
    margin: 0 auto; 
/*padding-bottom: 435px !important; */ /*12.11.2012 280px !important; bottom padding for footer */ 
/* overflow-x: hidden; */
}

#container
{
    position: relative; /* needed for footer positioning*/
    margin: 0 auto; /* center, not in IE5 */
    width: 100%;
    height: auto !important; /* real browsers */
    height: 100%; /* IE6: treaded as min-height*/
    min-height: 100%; /* real browsers */
}

#mainhead
{
    height: 195px;
}

#mainhead .mtop
{
    height: 134px;
    float: left;
    width: 100%;
}

#mainhead .mtop #logo
{
    float: left;
    margin-left: 39px;
}

#mainhead .mtop .info
{
    float: right;
    width: 640px;
}

#mainhead #apulinkit
{
    float: right;
    text-align: right;
    height: 59px;
    margin-top: 12px;
}

#mainhead #apulinkit li
{
    float: left;
    padding: 0 8px;
    border-right: 1px dotted #0f0f0f;
    line-height: 1.2em;
}

#mainhead #apulinkit li:first-child
{
    padding-left: 0;
}

#mainhead #apulinkit li:last-child
{
    padding-right: 0;
    border: 0;
}

#mainhead #apulinkit a
{
    color: #00237c;
}

#mainhead #osoite
{
    clear: none;
    float: left;
    width: 310px; /*280px;*/
    line-height: 16px;
    margin-top: 70px;
}

#mainhead .search
{
    float: right;
    width: 220px;
}

#mainhead .search form, #sisalto .search
{
    float: right;
    width: 219px;
    margin-top: 7px;
}

#mainhead .search #searchtext, #sisalto .search #searchtext,
#sisalto .search #searchtextContactInfo
{
    padding: 5px 8px 5px 8px;
    border: 0;
    font-size: 10px;
    font-style: italic;
    color: #bbbbbb;
    width: 70%;
    float: left;
    -moz-border-radius: 0;
    border-radius: 0;
}

#mainhead .search #searchtext.active, #sisalto .search #searchtext.active
{
    color: #333;
    font-style: normal;
}

#mainhead .search #submitsearch, #sisalto .search #submitsearch
{
    width: 22%;
    font-size: 10px;
    color: #333;
    float: right;
    border: 1px solid #dcdcdc;
    background-color: #f1f1f1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6'); /* for IE */
    background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-gradient( 		linear, 		left top, 		left bottom, 		color-stop(0.5, rgb(254,254,254)), 		color-stop(1, rgb(230,230,230)) 	);
    padding: 4px 4px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#mainhead #kirjasin_toiminnot
{
    float: right;
    margin-top: 12px;
}

#mainhead #kirjasin_toiminnot a
{
    float: left;
}

#mainhead #kirjasin_toiminnot img:first-child
{
    margin-right: 6px;
}


/* Paanavigaatio */
#paanavigaatio-wrapper
{
    float: left;
    width: 100%;
}
#paanavigaatio-wrapper.large
{
    position: relative;
}
#paanavigaatio-clear
{
    display: none;
}
/* IE ei tarvitse tata tyylia, kts. seuraava rivi */
html > body #paanavigaatio-clear
{
    display: block;
    clear: both;
}
/* Ei nayteta IE:lle */
#paanavigaatio-wrapper.large #paanavigaatio
{
    position: absolute;
    width: 1020px;
    left: 0px; /* uudistus-2015 -40px; */
}
#paanavigaatio-wrapper.large #paanavigaatio ul li.taso1
{
    width: auto !important;
	padding-right: 2em; /* uudistus-2015  */
}





#paanavigaatio
{
    display: block;
    font: 11px Arial, Helvetica, sans-serif;
    width: 100%;
    float: left;
}
#paanavigaatio ul
{
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
    clear: both;
}
#paanavigaatio ul li.taso1
{
    text-align: center;
    margin: 0;
    border: 0;
    float: left;
    display: inline;
    position: relative;
    width: 15em;
    height: 41px !important;
    z-index: 10;
}
#paanavigaatio ul li.valittu
{
    background-color: #FAE072;
}
#paanavigaatio ul li:hover
{
    background-color: #000;
}
#paanavigaatio ul li.valittu a
{
    color: #000;
}
#paanavigaatio ul li:hover a
{
    color: #fff;
}
#paanavigaatio ul li:hover li a, #paanavigaatio ul li.valittu li a
{
    color: #00237C;
}
#paanavigaatio ul li:first-child a
{
    border-left: none;
}
#paanavigaatio ul li ul li:hover
{
    background-color: #D9D9D9;
}
#paanavigaatio ul li a
{
    padding: 0 5px;
}

/* 1-tason linkkivarit */
#paanavigaatio ul li a
{
    border-left: 1px dotted #7D8077;
    font: 12px/22px Arial, Helvetica, sans-serif;
    color: white;
    text-decoration: none;
    display: block;
    margin-top: 8px;
}
/* Jotta wrappays toimii, annetaan ID kaikille elementeille */
/* Huom! Poistetetaan formin-2015 uudistuksessa alanavigaatiokohtaiset maarittelyt tarpeettomina paitsi yksi:*/
#paanavigaatio ul li#ministerietochbeskickningar, #paanavigaatio ul li#ministryanddiplomaticmissions {
	width: 192px
}
#paanavigaatio ul li#servicesandfinancialsupport, #paanavigaatio ul li#ministryandmissionsabroad  {
	width: 16em;
}
#paanavigaatio ul li#theministryandthemissionsabroad, #paanavigaatio ul li#enteringtofinlandandtravellingabroad {
	width: 22em;
}

#paanavigaatio ul li#enteringfinlandandtravellingabroad a
{
    font: 12px/14px Arial, Helvetica, sans-serif;
    margin-top: 7px;
}

/*suomi*/
/*#paanavigaatio ul li#ajankohtaista
{
    width: 8em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#ulko-jaturvallisuuspolitiikka
{
    width: 11em;
    height: 2.9em;
}
#paanavigaatio ul li#ulko-jaturvallisuuspolitiikka a
{
    width: 9em;
    line-height: 1em;
}
*/
/* linkeille ylamarginaalia, saadaan ne pystysuunnassa asettumaan */
/*#paanavigaatio ul li#ulko-jaturvallisuuspolitiikka ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#kauppapolitiikka
{
    width: 9.5em;
    line-height: 1em;
    height: 2.9em;
}
*/
/*        #paanavigaatio ul li#kauppapolitiikka a { margin-top: 4px; line-height: 1em; }
        #paanavigaatio ul li#kauppapolitiikka ul li a {   } */
/*#paanavigaatio ul li#taloudellisetulkosuhteet
{
    width: 8em;
    height: 2.9em;
}
#paanavigaatio ul li#taloudellisetulkosuhteet a
{
    width: 6em;
    line-height: 1em;
}
#paanavigaatio ul li#taloudellisetulkosuhteet ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#kehityspolitiikka
{
    width: 9em;
    line-height: 1em;
    height: 2.9em;
}
#paanavigaatio ul li#kansainvalinenyhteistyo
{
    width: 9em;
    height: 2.9em;
}
#paanavigaatio ul li#kansainvalinenyhteistyo a
{
    width: 7em;
    line-height: 1em;
}
#paanavigaatio ul li#kansainvalinenyhteistyo ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#eu
{
    width: 3em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#ihmisoikeudet
{
    width: 8em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#maatjaalueet
{
    width: 8em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#palvelut
{
    width: 5.5em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#ministerio
{
    width: 6.5em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#edustustot
{
    width: 6.5em;
    line-height: 1.2em;
    height: 2.9em;
}
*/
/*ruotsi*/
/*#paanavigaatio ul li#aktuellt
{
    width: 6em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#utrikes-ochsakerhetspolitik
{
    width: 10em;
    height: 2.9em;
}
#paanavigaatio ul li#utrikes-ochsakerhetspolitik a
{
    width: 8em;
    line-height: 1em;
}
#paanavigaatio ul li#utrikes-ochsakerhetspolitik ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#handelspolitik
{
    width: 9em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#externaekonomiskarelationer
{
    width: 11.5em;
    height: 2.9em;
}
#paanavigaatio ul li#externaekonomiskarelationer a
{
    width: 9.5em;
    line-height: 1em;
}
#paanavigaatio ul li#externaekonomiskarelationer ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#utvecklingspolitik
{
    width: 10em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#internationelltsamarbete
{
    width: 8.5em;
    height: 2.9em;
}
#paanavigaatio ul li#internationelltsamarbete a
{
    width: 6.5em;
    line-height: 1em;
}
#paanavigaatio ul li#internationelltsamarbete ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#eu
{
    width: 3em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#manskligarattigheter
{
    width: 7.5em;
    height: 2.9em;
}
#paanavigaatio ul li#manskligarattigheter a
{
    width: 5.5em;
    line-height: 1em;
}
#paanavigaatio ul li#manskligarattigheter ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#landerochregioner
{
    width: 7.5em;
    height: 2.9em;
}
#paanavigaatio ul li#landerochregioner a
{
    width: 5.5em;
    line-height: 1em;
}
#paanavigaatio ul li#landerochregioner ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#tjanster
{
    width: 5.5em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#ministeriet
{
    width: 6.5em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#beskickningar
{
    width: 8.5em;
    line-height: 1.2em;
    height: 2.9em;
}
*/
/*englanti*/
/*#paanavigaatio ul li#currentevents
{
    width: 6em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#foreignandsecuritypolicy
{
    width: 9em;
    height: 2.9em;
}
#paanavigaatio ul li#foreignandsecuritypolicy a
{
    width: 7em;
    line-height: 1em;
}
#paanavigaatio ul li#foreignandsecuritypolicy ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#tradepolicy
{
    width: 8em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#externaleconomicrelations
{
    width: 10.5em;
    height: 2.9em;
}
#paanavigaatio ul li#externaleconomicrelations a
{
    width: 8.5em;
    line-height: 1em;
}
#paanavigaatio ul li#externaleconomicrelations ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#developmentpolicy
{
    width: 8.5em;
    height: 2.9em;
}
#paanavigaatio ul li#developmentpolicy a
{
    width: 6.5em;
    line-height: 1em;
}
#paanavigaatio ul li#developmentpolicy ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#internationalcooperation
{
    width: 8em;
    height: 2.9em;
}
#paanavigaatio ul li#internationalcooperation a
{
    width: 6em;
    line-height: 1em;
}
#paanavigaatio ul li#internationalcooperation ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#theeu
{
    width: 4em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#humanrights
{
    width: 8em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#countriesandregions
{
    width: 9em;
    height: 2.9em;
}
#paanavigaatio ul li#countriesandregions a
{
    width: 7em;
    line-height: 1em;
}
#paanavigaatio ul li#countriesandregions ul li a
{
    width: 160px;
    line-height: 1.2em;
}
#paanavigaatio ul li#services
{
    width: 6em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#ministry
{
    width: 6em;
    line-height: 1.2em;
    height: 2.9em;
}
#paanavigaatio ul li#diplomaticmissions
{
    width: 7em;
    height: 2.9em;
}
#paanavigaatio ul li#diplomaticmissions a
{
    width: 5em;
    line-height: 1em;
}
#paanavigaatio ul li#diplomaticmissions ul li a
{
    width: 160px;
    line-height: 1.2em;
}
*/

/* Valitun taustavari */
#paanavigaatio ul li.valittu, #paanavigaatio ul li.valittu:hover, #paanavigaatio ul li.taso1 ul li.valittu, #paanavigaatio ul li.taso1 ul li.valittu:hover
{
}

#paanavigaatio ul li.valittu ul li a, #paanavigaatio ul li.valittu ul li.valittu a, #paanavigaatio ul li.valittu ul li.valittu a:hover
{
}

/* Alanavi */
#paanavigaatio ul li.taso1 ul
{
    text-align: left;
    position: absolute;
    top: 42px;
    list-style: none;
    padding: 0px;
    margin-top: -2px;
    margin-left: 0;
    border: none;
    background-color: #00237D;
    visibility: hidden;
    z-index: 1000;
    left: 0;
}

/* Alanavin mouseover */
#paanavigaatio ul li:hover ul, 
#paanavigaatio ul li:hover li:hover ul, 
#paanavigaatio ul li:hover li:hover li:hover ul
{
    visibility: visible;
}

/* Alanavin yleiset ominaisuudet */
#paanavigaatio ul li ul
{
    text-align: left;
    position: absolute;
    top: 35px;
    left: -2px;
    list-style: none;
    padding: 0px;
    border: none;
    background-color: #00237D;
    visibility: hidden;
    z-index: 1000;
}
#paanavigaatio ul li ul li
{
    text-align: left;
    display: block;
    float: left;
    position: static;
    background-color: #D9D9D9;
    color: black;
    width: 190px;
    border-left: 1px solid #081533;
    border-right: 1px solid #081533;
}
#paanavigaatio ul li ul li.ensimmainen
{
    border-top: none;
}
#paanavigaatio ul li ul li.viimeinen
{
    border-bottom: 1px solid #00237D;
}
#paanavigaatio ul li ul li a
{
    border-left: none;
    display: block;
    line-height: 14px;
    margin: 0 10px;
    color: black;
    width: 160px;
    color: #00237C;
    border-bottom: 1px solid #F3F3F3;
    padding: 5px;
}
#paanavigaatio ul li ul li a:hover, 
#paanavigaatio ul li ul li:hover a
{
    text-decoration: underline;
}

/*#paanavigaatio ul li ul.navi-vasemmalle
{
    left: -10em;
}*/ /*poistettu uudesta forminista 2015*/


/* uudistus-2015 */
#paanavigaatio li.header {
	padding: 15px 15px 5px 15px;
	width: 160px;
	font-weight: bold;
	color: #666;
}

#sivunavigaatio li.header {
	margin-top: 20px;
	font-weight: bold;
	color: #666;
	border-bottom: 0;
}

#mainhead #mainnav
{
    clear: both;
    float: left;
    width: 100%;
}

#mainhead #mainnav li
{
    float: left;
    vertical-align: middle;
    display: table;
    padding: 7px 0;
    line-height: 12px;
    position: relative;
    z-index: 10;
}

#mainhead #mainnav li.mobile
{
    display: none;
}

#mainhead #mainnav li a
{
    vertical-align: middle;
    height: 27px;
    display: table-cell;
    border-right: 1px dotted #8091be;
    padding: 0 6px;
}

#mainhead #mainnav li a:hover
{
    text-decoration: none;
}

#mainhead #mainnav li:hover, #mainhead #mainnav li.valittu
{
    background-color: #e6e6e6;
    color: #00237c;
}

#mainhead #mainnav li:hover a, #mainhead #mainnav li.valittu a
{
    color: #00237c;
}

#mainhead #mainnav li:last-child a
{
    border: 0;
}

#mainhead #mainnav li:first-child a
{
}

#mainhead #mainnav li a
{
    color: #fff;
}

#mainhead #mainnav li ul
{
    position: absolute;
    display: none;
    left: -1px;
    top: 40px;
    background-color: #d9d9d9;
    border: 1px solid #081533;
    border-top: none;
    min-width: 100%;
    z-index: 999;
}

#mainhead #mainnav li:hover ul
{
    display: block;
}


#mainhead #mainnav li ul li
{
    clear: both;
    float: left;
    display: list-item;
    border: none;
    position: static;
    white-space: nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

#mainhead #mainnav li ul li:hover
{
    background-color: #d9d9d9;
}


#mainhead #mainnav li ul li a
{
    border: none;
    display: block;
    margin: 0;
    margin: 0 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f3f3;
    height: auto;
}

#mainhead #mainnav li ul li a:hover
{
    text-decoration: underline;
}

#sisalto
{
    width: 700px;
    float: left;
}

#biglift
{
    overflow: hidden;
    margin-bottom: 20px;
    position: relative; 
/* height: 330px; */
}

#biglift article
{
    position: relative;
    float: left;
    overflow: hidden;
}

#biglift img
{
    float: left;
}

#biglift .text
{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    bottom: 0;
    padding: 6px 15px;
    clear: both;
    width: 670px;
}

#biglift .text h1
{
    margin: 0;
    padding: 0;
    margin-bottom: 4px;
    line-height: 1.1em;
    font-size: 20px;
}

#biglift .text p
{
    line-height: 17px;
}

#biglift .text p:first-of-type
{
    margin-top: 0;
}

#biglift .text p:last-child
{
    margin-bottom: 0;
}

.wmuSliderPagination
{
    position: absolute;
    top: 265px;
    right: 3px;
}

.wmuSliderPagination li
{
    float: left;
    padding: 0 2px;
}

.wmuSliderPagination li a
{
    width: 13px;
    height: 13px;
    background: url('../images/sliderbtn.png') no-repeat center center;
    text-indent: -9999px;
    line-height: 0;
    font-size: 0;
    display: block;
}
.wmuSliderPagination li a.wmuActive
{
    background: url('../images/sliderbtna.png') no-repeat center center;
}

#frontarticles
{
    /* width: 460px; uudistus-2015 */
    width: 700px;
    float: left;
    margin-bottom: 20px;
}
/* uudistus-2015 */
.kuvanostonteksti {
	background: rgba(255,255,255,0.85);
	position: absolute;
	bottom: 0;
	width: 100%;
}
#frontarticles article:hover .kuvanostonteksti {
	background: rgba(255,255,255,0.9);
}

#subfrontpagearticles
{
    margin-bottom: 20px;
}

#frontarticles article
{
    background-color: #f3f3f3;
    margin-bottom: 20px;
    float: left;
    /* padding-bottom: 5px; */
	position: relative;
}

#subfrontpagearticles article.newslift
{
    background-color: #f3f3f3;
    margin: 0 0 20px 0;
    padding-bottom: 5px;
    display: block;
}

#frontarticles article img
{
    float: none;
    clear: both;
    font-size: 0;
    line-height: 0;
    display: block;
    margin: 0 auto;
    vertical-align: bottom;
    width: 700px; /*Formin-2015 testausta. */
    /*height: 200px;*/
}

#subfrontpagearticles article.newslift img
{
    float: right;
    clear: none;
    font-size: 0;
    line-height: 0;
    display: block;
    margin: 8px 0 0 8px;
    vertical-align: bottom;
}

#frontarticles article h2, #frontarticles article p
{
    clear: both;
    padding: 0 15px 10px 15px;
}

#subfrontpagearticles article.newslift h2, #subfrontpagearticles article.newslift p
{
    clear: none;
    padding: 0 15px;
}

#frontarticles article h2, #subfrontpagearticles article.newslift h2
{
    line-height: 1.3em;
    margin: 0;
    padding: 6px 15px;
    padding-bottom: 0;
}

#frontarticles article p, #subfrontpagearticles article.newslift p
{
    margin: 0.8em 0 0 0;
}

/* uudistus-2015 koko nosto on linkkinä -> tekstivärit ja hover */
#frontarticles article:hover {
	background-color: #e8e8e8;
}
#frontarticles article a {
	color: #333;
}
#frontarticles article a:hover {
	color: #333; /* #3c6be1; */
	text-decoration: none;
}
#frontarticles article:hover h2 {
	color: #4467c0; /* tai tummempi #00237c */
}
.blogitem:hover, .moduli.some .tweet:hover, #bannerit div.banneri:hover {
	background: #f7f7f4;
}
.blogitem a:hover, .moduli.some .tweet a:hover, #bannerit a:hover {
	text-decoration: none;
}
.blogitem a:link, .blogitem a:visited, .blogitem a:focus, .blogitem a:hover {
	color: #333;
}
.moduli.some .tweet a, #bannerit a {
	display: block;
}

#frontarticles article:last-child
{
    margin-bottom: 0;
}

#fplinks
{
    width: 215px;
    float: right;
}

.moduli, #tyokalut div
{
    border: 1px solid #dedede;
    background-color: #fefefe;
    margin-bottom: 20px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f4f4f4'); /* for IE */
    background-image: linear-gradient(top, rgb(255,255,255) 50%, rgb(244,244,244) 100%);
    background-image: -o-linear-gradient(top, rgb(255,255,255) 50%, rgb(244,244,244) 100%);
    background-image: -moz-linear-gradient(top, rgb(255,255,255) 50%, rgb(244,244,244) 100%);
    background-image: -webkit-linear-gradient(top, rgb(255,255,255) 50%, rgb(244,244,244) 100%);
    background-image: -ms-linear-gradient(top, rgb(255,255,255) 50%, rgb(244,244,244) 100%);
    background-image: -webkit-gradient( 		linear, 		left top, 		left bottom, 		color-stop(0.5, rgb(255,255,255)), 		color-stop(1, rgb(244,244,244)) 	);
    float: left; 
/*width: 213px;*/
    width: 100%;
}

#fplinks .moduli {
	background: transparent;
}
#fplinks .moduli p {
	padding: 0px 8px;
	margin-bottom: 0;
}
/* 
#fplinks .moduli li {
	margin-left: 16px;
	list-style-position: initial;
}
*/

#tyokalut div
{
    width: 211px;
}

.moduli a, #tyokalut div a
{
    color: #00237c;
}

.moduli h3
{
    background-color: #fdf3c7;
    border-bottom: 1px dotted #757472;
    display: block;
    padding: 8px;
    font-size: 17px;
    font-family: Georgia, serif;
    font-weight: normal;
    line-height: 1.3em;
    color: #333;
}

.moduli h3 a
{
    color: #333;
}

#tyokalut div h3
{
    background-color: #fdf3c7;
    border-bottom: 1px dotted #757472;
    display: block;
    padding: 8px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1em;
    color: #333;
}

.moduli ul, #tyokalut div ul
{
    list-style-type: disc;
    list-style-position: inside;
    padding: 8px;
}

.moduli ul li, #tyokalut div ul li
{
    padding-bottom: 5px;
    line-height: 1.4em;
}

.moduli ul li:last-child, #tyokalut ul li:last-child
{
    padding-bottom: 0;
}

.moduli.raamit, #tyokalut div
{
    filter: none;
    background-color: #fff;
    background-image: none;
}

.moduli.raamit ul, #tyokalut div ul
{
    list-style-type: none;
    list-style-position: outside;
    padding: 8px 0;
}

.moduli.raamit.dotted ul, #tyokalut div ul
{
    list-style-type: disc;
    list-style-position: inside;
}

.moduli.raamit.dotted ul li, #tyokalut div ul li
{
    list-style-type: disc;
    border-bottom: none !important;
}

.moduli.raamit ul li, #tyokalut div ul li
{
    border-bottom: 1px solid #f3f3f3;
    padding: 5px 8px 5px 8px;
}

.moduli.raamit ul li:first-child, #tyokalut div ul li:first-child
{
    padding-top: 0;
}

.moduli.raamit ul li:last-child, #tyokalut div ul li:last-child
{
    border: 0;
    padding-bottom: 0;
}

.moduli.raamit h4, #tyokalut div h4, .moduli.raamit .otsikko
{
    /*.otsikko should be deprecated*/
    background-color: #f3f3f3;
    border-bottom: none;
    display: block;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 6px 8px;
    font-weight: bold;
    color: #333333;
    line-height: 1em;
}

.moduli.nobg
{
    list-style-position: outside;
    filter: none;
    background-color: transparent;
    border: none !important;
    background-image: none;
    width: 100%;
}

.moduli.nobg p:first-child
{
    margin-top: 0;
}

.moduli.nobg img
{
    margin-bottom: 8px;
    line-height: 0;
    font-size: 0;
    float: none;
    clear: both;
    vertical-align: bottom;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.moduli.nobg h4
{
    clear: both;
}

.moduli.nobg.fb
{
    vertical-align: middle;
}

.moduli.nobg.fb img
{
    margin-bottom: 8px;
    line-height: 0;
    font-size: 0;
    float: left !important;
    clear: both;
    vertical-align: bottom;
    margin: 0;
    display: block;
    margin-right: 8px;
    width: 48px;
}

.moduli.nobg.fb img.mobile
{
    display: none;
}

.moduli.nobg.fb img.desktop
{
    display: block;
}

    .moduli.nobg form
    {
        float: right;
        width: 219px;
        margin-top: 7px;
    }

        .moduli.nobg form #searchtextcontactinfo
        {
            padding: 5px 8px 5px 8px;
            border: 1px solid #dedede;
            font-size: 10px;
            font-style: italic;
            color: #bbbbbb;
            width: 65%;
            float: left;
            -moz-border-radius: 0;
            border-radius: 0;
            margin-left: 6px;
        }

            .moduli.nobg form #searchtextcontactinfo.active
            {
                color: #333;
                font-style: normal;
            }


        .moduli.nobg form #submitsearch
        {
            width: 22%;
            font-size: 10px;
            color: #333;
            float: right;
            border: 1px solid #dcdcdc;
            background-color: #f1f1f1;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6'); /* for IE */
            background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
            background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
            background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
            background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
            background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
            background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0.5, rgb(254,254,254)), color-stop(1, rgb(230,230,230)) );
            padding: 4px 4px;
            -moz-border-radius: 3px;
            border-radius: 3px;
        }

.moduli.some
{
    border-bottom: 1px solid #ededed !important;
    margin-bottom: 10px;
}

.moduli.some h4
{
    background: transparent url('../images/twitter_ico.jpg') no-repeat left;
    padding-left: 20px;
    margin-bottom: 8px;
    min-height: 12px;
}

.moduli.some h4.fb
{
    background: transparent url('../images/fb_ico.jpg') no-repeat left;
}

.moduli.some h4 a
{
    color: #3c6be1;
}

.moduli.some .tweet
{
    width: 100%;
    float: left;
    margin-bottom: 10px;
}
.moduli.some .tweet .twicon
{
    float: left;
    width: 48px;
}

/* .moduli.some*/
#fbslot .tweet .msg
{
    float: right;
    width: 162px;
}

.moduli.some .tweet .msg p
{
    margin: 0.3em 0;
}

.moduli.some .tweet .name
{
    /* font-weight: bold; */
    color: #000;
    line-height: 1.4em;
}
.moduli.some .tweet a
{
    color: #333;
}
.moduli.some .tweet .hash, .moduli.some .tweet .date
{
    color: #989797;
    font-size: 10px;
}

.moduli.somelinks
{
    margin-bottom: 10px;
}

.moduli.somelinks ul
{
    padding: 0;
}

.moduli.somelinks li
{
    padding: 0 0 0 30px !important;
    border: none !important;
    margin-bottom: 10px;
    min-height: 27px;
}

.moduli.somelinks li.fbandtwr
{
    background: url('../images/fb_ja_twr.jpg') no-repeat left center;
}

.moduli.somelinks li.fb
{
    background: url('../images/fb_ico.jpg') no-repeat 3px center;
}

/* otsikoidut modulit alasivuilla uudistus-2015 */
#palsta .moduli {
	width: 99%;
	background: 0;
	clear: both;
}
#palsta .moduli h3 {
	margin: 0px;
	clear: both;
}
#palsta .moduli p {
	padding: 8px 8px 0px 8px;
	margin: 0px;
}
#palsta .moduli ul {
	list-style-type: none; /* ei bulletteja, check */ 
	margin: 0px;
}
#palsta .moduli ul.palstoitettu {
	width: 45%;
	float: left;
	margin-right: 5px; /* heitto */
}

/* AVOIMUUS-sivun tyypinen gridi uudistus-2015 */
#palsta div.grid ul {
	list-style-type: none; 
	margin: 0px; 
	width: 100%;
}
#palsta div.grid ul li {
	width: 48%; 
	float: left;
	margin-right: 8px;
}


#smallnews
{
    width: 460px;
    float: left;
}

.linkkilaatikko
{
    width: 220px;
    float: left;
}

.linkkilaatikko h4
{
    margin-bottom: 6px;
    padding-top: 6px;
}

.linkkilaatikko ul
{
    list-style-type: none;
}

.linkkilaatikko ul li
{
    padding-bottom: 15px;
}

.linkkilaatikko a
{
    color: #00237c;
}

.vasempaan
{
    text-align: left;
    float: left;
}

.linkkilaatikko .lisaa
{
    width: 100%;
    clear: both;
    float: left;
    margin-top: 8px;
    padding-bottom: 20px;
    text-align: right;
}

.linkkilaatikko .lisaa .orderrss
{
    float: right;
    color: #000;
}

.linkkilaatikko .lisaa .more
{
    float: left;
    color: #3c6be1;
}


#smallnews .lifts
{
    width: 220px;
    float: right;
}

#side
{
    width: 220px;
    float: right;
}

#side .moduli.raamit.blogs
{
    vertical-align: middle;
}

#side .moduli.raamit.blogs ul
{
    padding: 6px 0;
}

#side .moduli.raamit.blogs ul li
{
    padding: 5px;
}

#side .moduli.raamit.blogs ul li:first-child
{
    padding-top: 0;
}

#side .moduli.raamit.blogs ul li:last-child
{
    padding-bottom: 0;
}


#side .moduli.raamit.blogs .blogitem
{
    vertical-align: middle;
    display: table;
    width: 100%;
    border-collapse: collapse;
}

#side .moduli.raamit.blogs .blogitem img
{
    padding-right: 6px;
}

#side .moduli.raamit.blogs .blogitem a.descr
{
    vertical-align: middle;
    display: table-cell;
}

.blogs .blogitem .blogicon
{
    float: left;
    width: 70px;
}

.blogs .blogitem .blogicon img.avatar
{
    width: 64px;
    padding-right: 6px;
    height: 64px;
}
.blogs .blogitem .msg
{
    width: 140px;
    float: right;
}

#bannerit
{
    border-top: 2px solid #051b53;
    margin-top: 20px;
    padding: 20px 0;
    clear: both;
    width: 100%;
    float: left;
}

#bannerit div.banneri
{
    width: 220px;
    margin-right: 20px;
    background-color: #eee;
    float: left;
}

#bannerit div.banneri:last-child
{
    margin-right: 0;
}

#bannerit div.banneri img
{
    float: none;
    line-height: 0;
    font-size: 0;
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    vertical-align: bottom;
}

#bannerit div.banneri p
{
    clear: both;
    padding: 8px 10px;
    margin: 0;
}

#bannerit a
{
    color: #333; /* uudistus-2015 #00237c; */
}

#mainfooter
{
    clear: both;
    width: 100%;
    background-color: #081533; 
/*position: absolute; 	
bottom: 0;*/ /*poistettu 12.11.2012, ei selv?? miksi n?in alunperin m??ritelty, eik? flown mukaan*/
    overflow-x: hidden;
}

#mainfooter .fcontainer
{
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 40px;
}

#mainfooter .links
{
    width: 220px;
    margin-right: 20px;
    float: left;
}

#mainfooter .links:last-child
{
    margin: 0;
}

#mainfooter h4, #mainfooter a
{
    color: #fff;
}

#mainfooter h4
{
    margin: 15px 0 2px; /* 8.11.2012*/
 /*line-height: 1em;*/
}

#mainfooter ul
{
    margin-bottom: 1em;
}

#mainfooter li
{
    padding-bottom: 4px; /* 8px*/
    font-size: 11px;
    line-height: 1.4em;
}

#mainfooter .copylinks
{
    padding-top: 10px;
    border-top: 1px solid #61697d;
}

#mainfooter #alatunniste
{
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 11px;
    padding-bottom: 30px;
    line-height: 1em;
}

#mainfooter #alatunniste a
{
    color: #fff;
}


.breadcrumb
{
    width: 100%;
    float: left;
    border-bottom: 1px solid #ededed;
    padding-bottom: 19px;
    margin-bottom: 20px;
    line-height: 1em;
    font-size: 11px;
}

.breadcrumb li
{
    float: left;
    background: url('../images/bc_2.jpg') no-repeat left center;
    padding-left: 10px;
    padding-right: 6px;
}

.breadcrumb li:first-child
{
    background: none;
    padding-left: 0;
}

.breadcrumb li a
{
    color: #00237c;
}


/*
 * alasivu
 ********************************/

#sivunavigaatio
{
    float: left;
    width: 220px;
}

#sivunavigaatio.empty
{
    padding-bottom: 246px;
    background: url('../images/sidelion.jpg') no-repeat center bottom;
}


#sivunavigaatio h4
{
    line-height: 1em;
}


#sivunavigaatio #osionimi, #sivunavigaatio #osionimiN, #sivunavigaatio #osionimiM
{
    line-height: 1em;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #333333;
}

#sivunavigaatio ul
{
    background: #f3f3f3 url(../images/sidenavilion.jpg) no-repeat center 20px;
    padding: 8px 10px;
    margin-top: 18px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#sivunavigaatio ul ul
{
    background: transparent;
    margin-top: 0;
}

#sivunavigaatio ul li
{
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 3px;
    margin-bottom: 3px;
}

#sivunavigaatio ul li:last-child
{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#sivunavigaatio ul li a
{
    color: #00237c;
    display: block;
}

#sivunavigaatio ul li.valittu a
{
    font-weight: bold;
    color: #000;
}

#sivunavigaatio ul li.valittu a.valittu
{
    color: #000;
    font-weight: bold;
    border-bottom: none;
}

#sivunavigaatio ul li ul
{
    margin: 0;
    padding: 0;
    margin-left: 3px;
    margin-top: 2px;
}

#sivunavigaatio ul li ul li
{
    background: url('../images/smenu_arrow.jpg') no-repeat left 8px;
    padding-left: 10px;
    border: none;
    margin-bottom: 0;
    padding-bottom: 2px;
}

#sivunavigaatio ul li.valittu ul li a
{
    font-weight: normal;
    color: #00237C;
}

body.alasivu #sisalto
{
    float: right;
}

body.alasivu #segintro
{
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

body.alasivu #segintro .text
{
    width: 100%; /*width: 460px;*/ 
/*float: left;*/
}

body.alasivu #segintro .text p:last-child
{
    margin-bottom: 0;
}

body.alasivu #segintro .text h1
{
    font-size: 20px;
    color: #000;
    line-height: 1em;
    margin-bottom: 15px;
}

body.alasivu #segintro img
{
    float: right; 
/*max-width: 220px;*/
    padding-left: 5px;
}

body.alasivu .lifts
{
    width: 220px;
    margin-right: 20px;
    float: left;
}

body.alasivu .lifts:last-child, body.alasivu .lifts.last
{
    margin-right: 0;
}


/*
 * alasivu
 ********************************/


body.alasivu #main
{
    padding-bottom: 20px;
}

#palsta, #palsta-levea, #osioetusivu-palsta
{
    width: 467px;
    float: left;
    margin-bottom: 20px;
    overflow: hidden;
}

#palsta-levea
{
    width: 100%;
}

#osioetusivu-palsta
{
    width: 100%;
}

#palsta aside, #palsta-levea aside
{
    float: right;
    background-color: #fdf3c7;
    padding: 8px;
    width: 210px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-left: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#palsta aside h4, #palsta-levea aside h4
{
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #000;
}

#palsta aside h1, #palsta-levea aside h1
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    padding-bottom: 7px;
    margin-bottom: 7px;
    border-bottom: solid 1px #000;
}
#palsta aside p, #palsta-levea aside p
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333;
}

#palsta aside p:last-child, #palsta-levea aside p:last-child
{
    margin-bottom: 0;
}

#palsta .kuvitusoikealla, #palsta-levea .kuvitusoikealla, #kriisi-ilmoitus .kuvitusoikealla
{
    float: right;
    margin: 1.3em 0.2em 1em 2em;
    width: 215px;
    font-size: 90%;
    color: #555;
    line-height: 1.6em;
}

#palsta .kuvitusvasemmalla, #palsta-levea .kuvitusvasemmalla, #kriisi-ilmoitus .kuvitusvasemmalla, #kriisinosto .kuvitusvasemmalla
{
    float: left;
    margin: 1.3em 2em 1em 0;
    padding-right: 0.1em;
    width: 215px;
    font-size: 90%;
    color: #555;
    line-height: 1.6em;
}

#palsta .kuva, #palsta-levea .kuva, #kriisi-ilmoitus .kuva
{
    border: medium none;
    display: block;
    float: none;
    margin: 0;
    padding-bottom: 0.5em;
}

#palsta ul,
#yhteystiedot_um ul
{
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 1em;
    margin-bottom: 5px;
}

#palsta ul li,
#yhteystiedot_um ul li
{
    margin-bottom: 3px;
}

#palsta ol,
#yhteystiedot_um ol
{
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 5px;
}
#palsta ol li,
#yhteystiedot_um ol li
{
    margin-bottom: 3px;
}

#tyokalut
{
    width: 213px;
    float: right;
}

#tyokalut .moduli
{
    width: 100%;
}

body.alasivu #sisalto
{
    float: right;
}

#palsta h1, #palsta-levea h1, #osioetusivu-palsta h1
{
    line-height: 1.2em;
    font-size: 20px;
    margin-bottom: 15px;
}

#palsta h2, #palsta-levea h2, #osioetusivu-palsta h2
{
    line-height: 1.2em;
    font-size: 16px;
    margin-top: 1em;
}

#palsta h3, #palsta-levea h3, #osioetusivu-palsta h3
{
    line-height: 1.2em;
    font-size: 14px;
    margin-top: 1em;
}

#palsta h2 b, #palsta h3 b
{
    font-weight: normal;
}

#palsta img[align="left"], #palsta-levea img[align="left"]
{
    float: left;
    margin: 2px 16px 2px 0;
}

#palsta img[align="right"], #palsta-levea img[align="right"]
{
    float: right;
    margin: 2px 0em 2px 16px;
}

#palsta img.vasempaan, #palsta-levea img.vasempaan
{
    float: left;
    margin: 2px 16px 2px 0;
}

#palsta span p:first-of-type, #palsta-levea span p:first-of-type
{
    margin-top: 0;
}

#palsta span p:first-of-type img, #palsta-levea span p:first-of-type img
{
    margin-top: 0;
    margin-bottom: 15px;
}

#palsta p.ingressi, #palsta p.ingress, #palsta-levea p.ingressi, #palsta-levea p.ingress
{
    margin-top: 0;
    margin-bottom: 15px;
    clear: none;
    font-size: 14px;
    font-family: Georgia, serif;
    line-height: 1.4em;
}

#palsta #ankkurit, #palsta-levea #ankkurit, #osioetusivu-palsta #ankkurit
{
    clear: both;
    width: 100%;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed; 
/*padding: 10px 0;*/
    margin: 10px 0;
}

#palsta #ankkurit ul, #palsta-levea #ankkurit ul, #osioetusivu-palsta #ankkurit ul
{
    list-style-type: disc;
    margin-left: 20px;
}

#palsta #ankkurit ul li, #palsta-levea #ankkurit ul li, #osioetusivu-palsta #ankkurit ul li
{
    margin-bottom: 3px;
}

#palsta .atticon, #palsta-levea .atticon, #osioetusivu-palsta .atticon
{
    margin: 0 5px 0 0 !important;
    vertical-align: middle;
}

#palsta .raamiton, #palsta .raamiton table, #palsta .raamiton tbody td, #palsta .raamiton tfoot td, #palsta .raamiton thead td, 
#palsta-levea .raamiton, #palsta-levea .raamiton table, #palsta-levea .raamiton tbody td, #palsta-levea .raamiton tfoot td, #palsta-levea .raamiton thead td
{
    border: none;
}


a.textbtn
{
    float: left;
    border: 1px solid #dcdcdc;
    background-color: #f1f1f1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6'); /* for IE */
    background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-gradient( 		linear, 		left top, 		left bottom, 		color-stop(0.5, rgb(254,254,254)), 		color-stop(1, rgb(230,230,230)) 	);
    padding: 2px 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #000;
    margin-right: 5px;
}

a.textbtn:hover
{
    text-decoration: none;
}

a.textbtn.print span
{
    background: url('../images/print_ico.png') no-repeat left center;
    padding-left: 17px;
}

a.textbtn.share span
{
    background: url('../images/share_ico.png') no-repeat left center;
    padding-left: 17px;
}
a.textbtn img {
    margin: 0;
    padding: 0;
    height: 18px;
}
a.textbtn.twitter, a.textbtn.facebook, a.textbtn.email {
	padding: 2px 3px;
	float: left;
	height: 20px;
} 

#tyokalualatunniste
{
    border: none !important;
    padding-top: 0;
    margin-top: 0;
}

#tyokalualatunniste p:first-child
{
    padding-top: 0;
    margin-top: 0;
}



/*
 * Hakutulokset
 ************************/
#palsta table, #palsta-levea table
{
    border-top: 1px solid #dedede;
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    empty-cells: show;
    margin: 1em 0 1em 0;
    padding: 0;
    font: 12px/18px Arial, Helvetica, sans-serif;
    color: #333333;
    clear: both;
}
#palsta tr, #palsta-levea tr
{
    margin: 0;
    padding: 0;
}
#palsta td, #palsta tbody td, #palsta-levea td, #palsta-levea tbody td
{
    margin: 0;
    padding: 10px;
    border-left: 1px solid #dedede;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    vertical-align: top;
}
#palsta thead td, #palsta tfoot td, #palsta-levea thead td, #palsta-levea tfoot td
{
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #dedede;
    background: #f3f3f3;
    vertical-align: top;
    text-align: center;
}
#palsta caption, #palsta-levea caption
{
    margin: 1em 0 0 2em;
    caption-side: top;
    width: auto;
    text-align: left;
    font-style: italic;
}
#palsta .sarakeotsikko, #palsta .sarakeotsikkooikeatasaus, 
#palsta-levea .sarakeotsikko, #palsta-levea .sarakeotsikkooikeatasaus
{
    background-color: #f3f3f3;
    color: #111;
    font-weight: bold;
    vertical-align: bottom;
}
#palsta .summasolu, #palsta .summasoluoikeatasaus, 
#palsta-levea .summasolu, #palsta-levea .summasoluoikeatasaus
{
    border-top: 2px solid #dedede;
}
#palsta .raamiton .summasolu, #palsta .raamiton .summasoluoikeatasaus, 
#palsta-levea .raamiton .summasolu, #palsta-levea .raamiton .summasoluoikeatasaus
{
    border-top: 2px solid #dedede;
}
#palsta .oikeatasaus, #palsta .summasoluoikeatasaus, #palsta .sarakeotsikkooikeatasaus, 
#palsta-levea .oikeatasaus, #palsta-levea .summasoluoikeatasaus, #palsta-levea .sarakeotsikkooikeatasaus
{
    text-align: right;
}

#advSearch
{
    display: block;
    padding-top: 16px;
}
#searchCriteria strong.label
{
    display: block;
}
#searchCriteria .TemplateID
{
    width: 250px;
}
#searchCriteria .DescendantNodeID
{
    width: 250px;
}
#searchCriteria .SearchText, #searchCriteria .DateEnd, #searchCriteria .DateStart
{
    width: 145px;
}

#searchresults h2
{
    color: #C03;
}
#searchresults .type
{
    color: #090;
}
#searchresults ul
{
    margin-top: 5px;
    margin-bottom: 5px;
}
#searchresults p
{
    max-width: 650px;
}

/* #searchresults table tbody tr.bgColor {background-color: #F7F7F4 ;}  */
#searchresults table tbody tr:nth-child(odd)
{
    background-color: #f3f3f3;
}
#searchresults table tbody tr:first-child
{
    background-color: transparent;
}
#searchresults table tbody tr:first-child td
{
    border: none;
    padding: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #dedede;
}
#searchresults table tbody tr:first-child td span
{
    float: left;
    font-weight: bold;
}
#searchresults table tbody tr:first-child td .order
{
    float: right;
}
#searchresults table tbody tr:first-child td .order span
{
    float: none;
    padding-right: 5px;
    font-weight: normal;
}
#searchresults table
{
    border: none;
}
#searchresults a, #palsta-levea a
{
    color: #00237d;
}
#searchresults table tbody tr td > a:first-child
{
    font-weight: bold;
}
#searchresults small
{
    font-size: 11px;
}
#searchresults br
{
    line-height: 2em;
    height: 200%;
}
#searchresults br:last-child
{
    line-height: 1em;
    height: 100%;
}
#flapContainer
{
    margin: 10px 13px 20px 0px;
}

#ctl00_Canvas1_ctl01_ctl01_pnlReturnToSearch
{
    padding-bottom: 10px;
    clear: both;
}
#ctl00_Canvas1_ctl01_ctl01_pnlReturnToSearch p
{
    margin: 0;
    padding-top: 1em;
}
#ctl00_Canvas1_ctl01_ctl01_pnlReturnToSearch br
{
    display: none;
    line-height: 0;
    font-size: 0;
    height: 0;
}

#FocusSearch
{
    clear: both;
}

#FocusSearch a
{
    color: #00237d;
}


#sisalto .search
{
    clear: both;
    float: left;
    margin-top: 0;
}

    #sisalto .search #searchtext, #sisalto .search #searchtextContactInfo
{
    border: 1px solid #dedede;
    font-style: normal;
    color: #333;
    font-size: 12px;
}

#sisalto .search
{
    width: 100%;
}

    #sisalto .search #submitsearch, #sisalto .search #submitsearchContactInfo
{
    float: left;
    padding: 6px;
    margin-left: 3px;
}

/*
 * Ajankohtaista
 *****************************/

#ajankohtaista-linkit
{
}
#ajankohtaista-linkit .lisaa a
{
    color: #3c6be1;
}
#ajankohtaista-linkit #linkki-wrapper-vasen
{
    width: 338px;
    float: left;
}
#ajankohtaista-linkit #linkki-wrapper-oikea
{
    width: 338px;
    float: right;
}
#ajankohtaista-linkit .linkkilaatikko
{
    width: 338px;
    border-bottom: 1px solid #ededed;
    float: right;
    margin-top: 10px;
}
#ajankohtaista-linkit .linkkilaatikko:first-child
{
    margin-top: 0;
}
#ajankohtaista-linkit .linkkilaatikko:last-child
{
    border-bottom: none;
}
#ajankohtaista-linkit .linkkilaatikko.vasen-clear
{
    margin-right: 20px;
    clear: none;
    float: left;
}
#ajankohtaista-linkit .linkkilaatikko .lisaa
{
    padding-bottom: 13px;
    margin-top: 3px;
}
#ajankohtaista-linkit .linkkilaatikko ul li
{
    padding-bottom: 10px;
}


/*
 * Palaute
 *******************************/

#objekti #flap p:first-child br
{
    display: none;
    visibility: hidden;
}



/*
 * Tarkennettu haku
 *******************************/
#palsta #searchwords
{
    border: none !important;
}
#palsta #searchwords td
{
    padding: 2px 0;
    margin: 0;
    border: none !important;
}
#palsta #searchwords input
{
    width: 280px;
    float: right;
}

#ctl00_Canvas1_ctl01_ctl01_btnSearchTop
{
    margin-bottom: 15px;
}

#ctl00_Canvas1_ctl01_ctl01_rblLanguageSelection
{
    display: block;
    border: none !important;
    margin: 0 !important;
    margin-left: 10px !important;
}
#ctl00_Canvas1_ctl01_ctl01_rblLanguageSelection tbody
{
    display: block;
    padding: 0;
    margin: 0;
    border: none;
}
#ctl00_Canvas1_ctl01_ctl01_rblLanguageSelection tr
{
    display: block;
    padding: 0;
    margin: 0;
    border: none;
}
#ctl00_Canvas1_ctl01_ctl01_rblLanguageSelection tr td
{
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    padding-bottom: 8px;
}
#ctl00_Canvas1_ctl01_ctl01_rblLanguageSelection tr td input
{
    vertical-align: middle;
    line-height: 1.6em;
}
#ctl00_Canvas1_ctl01_ctl01_rblLanguageSelection tr td label
{
    vertical-align: middle;
    line-height: 1.6em;
    padding-left: 3px;
}

#ctl00_Canvas1_ctl01_ctl01_lblDateCriteria
{
    line-height: 2.1em;
}
#ctl00_Canvas1_ctl01_ctl01_tbDateStart
{
    margin-right: 5px;
    width: 110px;
}
#ctl00_Canvas1_ctl01_ctl01_tbDateEnd
{
    margin-left: 5px;
    width: 110px;
}

#ctl00_Canvas1_ctl01_ctl01_lblExtendSearch
{
    display: block;
    line-height: 2em;
    padding-top: 8px;
}

#ctl00_Canvas1_ctl01_ctl01_cbSearchWholeSite
{
    float: left;
    height: 35px;
    margin: 0 10px;
}

#ctl00_Canvas1_ctl01_ctl01_ucInternetTopicArea_pnlContent
{
    clear: both;
    display: block;
    padding-top: 2px;
}
#ctl00_Canvas1_ctl01_ctl01_ucInternetTopicArea_pnlContent p
{
    margin: 0.8em 0;
}

#ctl00_Canvas1_ctl01_ctl01_ucInternetTopicArea_cblNodes
{
    border: none !important;
    margin-left: 10px !important;
    margin-top: 8px !important;
}
#ctl00_Canvas1_ctl01_ctl01_ucInternetTopicArea_cblNodes td
{
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    padding-bottom: 5px !important;
}
#ctl00_Canvas1_ctl01_ctl01_ucInternetTopicArea_cblNodes input
{
    margin-right: 5px;
    vertical-align: middle;
}
#ctl00_Canvas1_ctl01_ctl01_ucInternetTopicArea_cblNodes label
{
    vertical-align: middle;
}

#ctl00_Canvas1_ctl01_ctl01_btnSearchBottom
{
    margin-top: 4px;
}

#hakutulokset_thaku
{
    border-bottom: 1px solid #ededed;
    padding-bottom: 2px;
    margin-bottom: 27px;
}
#hakutulokset_thaku .search
{
    margin-bottom: 20px;
}
#hakutulokset_thaku .stext
{
    font-weight: bold;
    font-style: italic;
}

/*
 * Lehdist?tiedotteet
 *******************************/

#ajankohtaista-linkit
{
}
#ajankohtaista-linkit .linkkilaatikko.big
{
    width: 467px;
}
#ajankohtaista-linkit .linkkilaatikko.big form select
{
    margin-right: 3px;
}
#ajankohtaista-linkit .linkkilaatikko.big .lisaa
{
    width: 467px;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    padding: 5px 0;
    margin: 10px 0;
}


/*
 * Kriisinosto
 *******************************/

#kriisinosto
{
    width: 98%;
    float: left;
    background-color: #c80000;
    margin-bottom: 20px;
    padding: 6px 1% 10px 1%;
    -moz-border-radius: 12px;
    border-radius: 12px;
}
#kriisinosto .descr
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #fff;
    text-align: center;
    margin-bottom: 6px;
    font-weight: bold;
}

#kriisinosto .descr.nomargin
{
    margin-bottom: 0;
}

#kriisinosto .kriisicontainer
{
    overflow: hidden;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

#kriisinosto .content
{
    background-color: #fff9e0;
    width: 661px;
    float: left;
    height: 100%;
    padding: 15px;
    padding-bottom: 1000px;
    margin-bottom: -1000px;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
}

#kriisinosto h1
{
    font-size: 20px;
    line-height: 1.2em;
}

#kriisinosto h2
{
    font-size: 16px;
}

#kriisinosto h3
{
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

#kriisinosto .moreinfo
{
    width: 200px;
    float: left;
    background-color: #fae073;
    height: 100%;
    padding: 15px;
    padding-bottom: 1000px;
    margin-bottom: -1000px;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
}

#kriisinosto .moreinfo ul
{
    list-style-type: none;
    list-style-position: outside;
    line-height: 1.4em;
    margin-top: 8px;
}

#kriisinosto .moreinfo ul li
{
    padding: 6px 0;
    padding-left: 9px;
    background: url('../images/listbullet.png') no-repeat left 12px;
}

#kriisinosto .moreinfo a
{
    color: #00237c;
}



/*
 * Uutiskirje
 *******************************/

#ctl00_Canvas1_ctl01_ctl01_txtEmailNew
{
    margin-bottom: 10px;
    width: 220px;
}

#ctl00_Canvas1_ctl01_ctl01_rblMailFormatNew
{
    display: block;
    border: none !important;
    margin: 0.8em 0 1em 0 !important;
}
#ctl00_Canvas1_ctl01_ctl01_rblMailFormatNew tbody
{
    display: block;
}
#ctl00_Canvas1_ctl01_ctl01_rblMailFormatNew tr
{
    display: block;
}
#ctl00_Canvas1_ctl01_ctl01_rblMailFormatNew tr td
{
    display: block;
    border: none !important;
    padding: 0 0 8px 10px;
}
#ctl00_Canvas1_ctl01_ctl01_rblMailFormatNew tr td input
{
    margin-right: 5px;
    vertical-align: middle;
}
#ctl00_Canvas1_ctl01_ctl01_rblMailFormatNew tr td label
{
    vertical-align: middle;
}


#ctl00_Canvas1_ctl01_ctl01_cblNodesNew
{
    display: block;
    border: none !important;
    margin: 0.8em 0 1em 0 !important;
}
#ctl00_Canvas1_ctl01_ctl01_cblNodesNew tbody
{
    display: block;
}
#ctl00_Canvas1_ctl01_ctl01_cblNodesNew tr
{
    display: block;
}
#ctl00_Canvas1_ctl01_ctl01_cblNodesNew tr td
{
    display: none;
}
#ctl00_Canvas1_ctl01_ctl01_cblNodesNew tr td:first-child
{
    display: block;
    border: none !important;
    padding: 0 0 8px 10px;
}
#ctl00_Canvas1_ctl01_ctl01_cblNodesNew tr td input
{
    margin-right: 5px;
    vertical-align: middle;
}
#ctl00_Canvas1_ctl01_ctl01_cblNodesNew tr td label
{
    vertical-align: middle;
}




/*
 * Palautelomake
 *******************************/

#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl08_X470_1_0
{
    display: block;
    border: none !important;
    margin: 0.8em 0 1.2em 0 !important;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl08_X470_1_0 tbody
{
    display: block;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl08_X470_1_0 tr
{
    display: block;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl08_X470_1_0 tr td
{
    display: block;
    border: none !important;
    padding: 0 0 8px 10px;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl08_X470_1_0 tr td input
{
    margin-right: 5px;
    vertical-align: middle;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl08_X470_1_0 tr td label
{
    vertical-align: middle;
}


#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl14_X472_1_0
{
    display: block;
    border: none !important;
    margin: 0.8em 0 1.2em 0 !important;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl14_X472_1_0 tbody
{
    display: block;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl14_X472_1_0 tr
{
    display: block;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl14_X472_1_0 tr td
{
    display: block;
    border: none !important;
    padding: 0 0 8px 10px;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl14_X472_1_0 tr td input
{
    margin-right: 5px;
    vertical-align: middle;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl14_X472_1_0 tr td label
{
    vertical-align: middle;
}

#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl10_X445_1_0
{
    width: 220px;
    margin-bottom: 13px;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl12_X446_1_0
{
    width: 336px;
    height: 200px;
}
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl25_X477_1_0
{
    margin-bottom: 10px;
}

#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl10_X445_1_0, #ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl12_X446_1_0, #ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl17_X474_1_0, 
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl19_X444_1_0, #ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl21_X475_1_0, #ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl23_X476_1_0, 
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl25_X477_1_0
{
    margin-top: 4px;
}

#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl17_X474_1_0, 
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl19_X444_1_0, #ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl21_X475_1_0, #ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl23_X476_1_0, 
#ctl00_Canvas1__8d6062a8eaadf0_ctl01_ctl25_X477_1_0
{
    width: 220px;
}


/*
 * Kalenteri
 ************************************/

#kalenteritoiminnot
{
    border: none !important;
    display: block;
}
#kalenteritoiminnot tr, #kalenteritoiminnot tbody
{
    border: none !important;
    display: block;
    clear: both;
    float: left;
}
#kalenteritoiminnot td
{
    border: none !important;
    display: block;
    float: left;
    padding: 0 !important;
    padding-bottom: 10px !important;
}
#kalenteritoiminnot td label
{
    width: 210px;
    display: block;
    vertical-align: middle;
}
#kalenteritoiminnot td input
{
    margin-right: 5px;
    vertical-align: middle;
}
#kalenteritoiminnot tr:last-child
{
}

#kalenteritoiminnot .raamiton
{
    border: none !important;
}
#kalenteritoiminnot .raamiton td
{
    border: none !important;
    vertical-align: middle;
}
#kalenteritoiminnot .raamiton td select
{
    margin-right: 10px;
}
#kalenteritoiminnot .raamiton td a
{
    vertical-align: middle;
}

#kalenteri .sarakeotsikko
{
    background-color: #fdf3c7 !important;
}
#kalenteri .sarakeotsikko a
{
    color: #000;
    display: block;
    background: url('../images/order_down.png') no-repeat right center;
}

#kalenterilistaus
{
}
#kalenterilistaus tr:nth-child(odd)
{
    background-color: #f3f3f3;
}


/*
 * Maalistaus
 ****************/

#maat-vasen a
{
    color: #00237c;
}
#maat-vasen div strong
{
    font-size: 16px;
    font-family: Georgia, serif;
}
#maat-vasen div div
{
    margin-top: 5px;
}
#maat-vasen div div strong
{
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 0;
}
#maat-vasen div
{
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ededed;
}
#maat-vasen div div
{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#tyokalut #countrySelector, #mobileTyokalut #countrySelector
{
    list-style-type: none !important;
    padding: 8px 0 !important;
}
#tyokalut #countrySelector li, #mobileTyokalut #countrySelector li
{
    float: left;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}
#tyokalut #countrySelector li a, #mobileTyokalut #countrySelector li a, #tyokalut #countrySelector li span, #mobileTyokalut #countrySelector li span
{
    background-image: none;
    margin: 1px;
    display: block;
    width: 14px;
    text-align: center;
    list-style-type: none !important;
    float: left;
    text-transform: uppercase;
    border: 1px solid #dcdcdc;
    background-color: #f1f1f1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6'); /* for IE */
    background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-gradient( 		linear, 		left top, 		left bottom, 		color-stop(0.5, rgb(254,254,254)), 		color-stop(1, rgb(230,230,230)) 	);
    padding: 4px 4px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
#tyokalut #countrySelector li span, #mobileTyokalut #countrySelector li span {
	color: #eee !important;
	background: #fff !important;
}

#tyokalut #countrySelector li a.selected, #mobileTyokalut #countrySelector li a.selected
{
    background-color: #f1f1f1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#fefefe'); /* for IE */
    background-image: linear-gradient(top, rgb(230,230,230) 50%, rgb(254,254,254) 100%);
    background-image: -o-linear-gradient(top, rgb(230,230,230) 50%, rgb(254,254,254) 100%);
    background-image: -moz-linear-gradient(top, rgb(230,230,230) 50%, rgb(254,254,254) 100%);
    background-image: -webkit-linear-gradient(top, rgb(230,230,230) 50%, rgb(254,254,254) 100%);
    background-image: -ms-linear-gradient(top, rgb(230,230,230) 50%, rgb(254,254,254) 100%);
    background-image: -webkit-gradient( 		linear, 		left top, 		left bottom, 		color-stop(0.5, rgb(230,230,230)), 		color-stop(1, rgb(254,254,254)) 	);
}

#searchCountry, #searchCountryMob
{
    margin-top: 5px;
}

#countryVal, #countryValMob
{
    width: 167px;
    float: left;
    padding: 3px;
}
#submitSC
{
    float: right;
    border: 1px solid #dcdcdc;
    background-color: #f1f1f1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6'); /* for IE */
    background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-gradient( 		linear, 		left top, 		left bottom, 		color-stop(0.5, rgb(254,254,254)), 		color-stop(1, rgb(230,230,230)) 	);
    padding: 2px 4px;
    font-size: 16px;
    width: 30px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#searchList, #searchListMob
{
    border: none !important;
    clear: both;
}

#searchList ul, #searchListMob ul
{
    width: 167px;
    padding: 0;
    background-color: #f3f3f3 !important;
    border: 1px solid #dedede !important;
}

#tyokalut #searchList ul, #mobileTyokalut #searchListMob ul
{
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#tyokalut #searchList ul li, #mobileTyokalut #searchListMob ul li
{
    list-style-type: none !important;
    border-bottom: 1px solid #dedede !important;
    padding: 0 !important;
    margin: 0 !important;
}
#tyokalut #searchList ul li:last-child, #mobileTyokalut #searchListMob ul li:last-child
{
    margin-bottom: 0 !important;
    border-bottom: none !important;
}
#tyokalut #searchList ul li a, #mobileTyokalut #searchListMob ul li a
{
    color: #000 !important;
    display: block;
    padding: 5px;
    cursor: pointer;
}
#tyokalut #searchList ul li a:hover, #mobileTyokalut #searchListMob ul li a:hover
{
    text-decoration: none;
}

#mobileTyokalut
{
    display: none;
}

.kainalo
{
    border: 1px solid #CECECE;
    margin: 1em 0 1em 0;
    color: #333333;
    padding: 0 0.5em 0.5em 0.5em;
    background: #ecebe4; /*width: 100%;*/
    overflow: hidden;
}
.kainalo p {
	margin: 1em 0 !important;
}

#palsta a img, #side a img
{
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}
#palsta a img:hover, #side a img:hover
{
    opacity: 0.6;
    filter: alpha(opacity=60); /* For IE8 and earlier */
}

.kuvitus1
{
    color: #555555;
    float: left;
    font-size: 90%;
    line-height: 1.6em;
    margin: 1.3em 2em 1em 0;
    padding-right: 0.1em;
    width: 215px;
}

.kuvitus2
{
    color: #555555;
    float: right;
    font-size: 90%;
    line-height: 1.6em;
    margin: 1.3em 0.2em 1em 2em;
    width: 215px;
}

.kuvitus3
{
    color: #555555;
    font-size: 90%;
    line-height: 1.6em;
    margin: 1.3em 0.2em 1em 0;
    width: 100%;
}

.kuvitus4
{
    color: #555555;
    float: left;
    font-size: 90%;
    line-height: 1.6em;
    margin: 1.3em 2em 1em 0;
    padding-right: 0.1em;
    width: 100px;
}

.kuvitus5
{
    color: #555555;
    font-size: 90%;
    line-height: 1.6em;
 /*ei asemointia*/
}

.kuvitus6
{
    /*pystykuva*/
    color: #555555;
    font-size: 90%;
    line-height: 1.6em;
    float: right;
    margin: 1.3em 0.2em 1em 2em;
    width: 100px;
}

/*.kuvateksti, .kuvituscopyright
{
    color: #555555;
    font-size: 90%;
    line-height: 1.6em;
}*/

img.kuva1
{
    width: 215px;
}
img.kuva2
{
    width: 215px;
}
img.kuva3
{
    width: 465px;
}
img.kuva4
{
    width: 100px;
}

img.kuva6
{
    width: 100px;
}

/* AHA-KYT */

#item1, #item2, #item3
{
    display: inline;
}
#item1:after, #item2:after
{
    content: " \00BB\00a0 ";
}
#kytCaseState
{
    margin-bottom: 12px;
}
#palsta .tiivistetty P
{
    margin: 0px;
}
/* AHA-KYT -piilotukset */
#kytGeoTargetArea, #kytPba, #astCreatedDate, #kytCaseState, #kytDecisionState, #uhCaseStatus, #astFinishedDate, #parentNativeId
{
    display: none;
}

#kytWwwUrl a
{
    word-break: break-all;
}

/* Tooltip */
.tooltip, .arrow:after
{
    background: #081533;
    border: 2px solid white;
}

.tooltip
{
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    display: inline-block;
    position: absolute;
    padding: 10px 20px;
    color: white;
    border-radius: 20px;
    margin-top: 20px;
    text-align: center;
    font-stretch: condensed;
    text-decoration: none;
    box-shadow: 0 0 7px #ccc;
}
.arrow
{
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 40px;
    margin-left: -35px;
    bottom: -16px;
    display: none;
}
.arrow:after
{
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    -webkit-box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
    -moz-box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
    box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}
.tooltip.active
{
    visibility: visible;
    opacity: 1;
    margin-top: 5px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}
.tooltip.out
{
    visibility: hidden;
    opacity: 0;
    margin-top: -20px;
}


/*Ossi*/



#palsta div.henkilot,
#osioetusivu-palsta div.henkilot
{
    margin: 1em 0;
}

#palsta .henkilot div.vcard,
#osioetusivu-palsta .henkilot div.vcard
{
    margin: 1em 0 1em 0;
    padding: 0;
    clear: both;
    overflow: hidden;
}

#palsta .henkilot div.vcard div.photo, 
#osioetusivu-palsta .henkilot div.vcard div.photo


{
    margin: 0 1em 0 0;

    padding: 0;

    float: left;

    width: 64px;

}


#palsta .henkilot div.vcard div.info, 
#osioetusivu-palsta .henkilot div.vcard div.info

{

    margin: 0;

    padding: 0;

    float: left;

    width: 390px;

}

#palsta .henkilot div.vcard div.info ul,
#osioetusivu-palsta .henkilot div.vcard div.info ul 
{
    margin-top: 3px;
    margin-bottom: 0;
    margin-left: 20px;
    list-style-type: disc;
}

#palsta ul.emaillist, #palsta ul.wwwlist, #palsta ul.phonelist,
#osioetusivu-palsta ul.emaillist, #osioetusivu-palsta ul.wwwlist, #osioetusivu-palsta ul.phonelist
{
    margin-top: 3px;
    margin-bottom: 0;
    /*margin-left: 20px;
    list-style-type: disc;*/
}

.propvalues  
{
    margin-top: 3px;
    margin-bottom: 0;
    /*margin-left: 20px;*/
}

#palsta .vcard h4,
#osioetusivu-palsta .vcard h4
{
    margin-top: 1em;

    color: #000;
}


.ossiaddressesall .propvalues h4
{
    /*margin-left: -20px;*/
}

.ossiasiakasid, .ossilahdetunniste, .ossilatitude, .ossilongitude
{
    display: none;
}

.propertyt .mobile /*.mobile käytössä myös mobiiliversiolle*/
{
    display: block;
}


#palsta h2.organisation-unit,
#osioetusivu-palsta h2.organisation-unit 
{
    margin: 0 0 0.6em 0;
}

#palsta .tel .type, #palsta .email .type,
#osioetusivu-palsta .tel .type, #osioetusivu-palsta .email .type
{
   display:none;
}

.henkilot div.emailinfo
{
    margin-top: 1em;
    clear: both;
}


/*dippi*/
#headofmissions_list .maa {
	font-weight: bold;
}
#headofmissions_list .sukunimi {
	text-transform: uppercase;
}
div.direx div.henkilot .fn /*.family-name*/,
div.yhdistettydirex div.henkilot .fn /*.family-name*/ {
	/*font-weight: bold;*/
}
div.direx div.henkilot div.vcard,
div.yhdistettydirex div.henkilot div.vcard
{
    margin: 1.8em 0 1em 0;
    padding: 0;
    clear: both;
    overflow: hidden;
}
.specifier:before {
    content: "\0020";
}

/*.honorific-prefix:after {
    content: "\0020";
}*/

/* Magnific Popup CSS */
.mfp-bg
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.mfp-wrap
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container
{
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mfp-container:before
{
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before
{
    display: none;
}

.mfp-content
{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content
{
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur
{
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close
{
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom
{
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content
{
    cursor: auto;
}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter
{
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure
{
    display: none;
}

.mfp-hide
{
    display: none !important;
}

.mfp-preloader
{
    color: #cccccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}
.mfp-preloader a
{
    color: #cccccc;
}
.mfp-preloader a:hover
{
    color: white;
}

.mfp-s-ready .mfp-preloader
{
    display: none;
}

.mfp-s-error .mfp-content
{
    display: none;
}

button.mfp-close, button.mfp-arrow
{
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
}
button::-moz-focus-inner
{
    padding: 0;
    border: 0;
}

.mfp-close
{
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    filter: alpha(opacity=65);
    padding: 0 0 18px 10px;
    color: white;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover, .mfp-close:focus
{
    opacity: 1;
    filter: alpha(opacity=100);
}
.mfp-close:active
{
    top: 1px;
}

.mfp-close-btn-in .mfp-close
{
    color: #333333;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close
{
    color: white;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter
{
    position: absolute;
    top: 0;
    right: 0;
    color: #cccccc;
    font-size: 12px;
    line-height: 18px;
}

.mfp-arrow
{
    position: absolute;
    opacity: 0.65;
    filter: alpha(opacity=65);
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active
{
    margin-top: -54px;
}
.mfp-arrow:hover, .mfp-arrow:focus
{
    opacity: 1;
    filter: alpha(opacity=100);
}
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a
{
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}
.mfp-arrow:after, .mfp-arrow .mfp-a
{
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}
.mfp-arrow:before, .mfp-arrow .mfp-b
{
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left
{
    left: 0;
}
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a
{
    border-right: 17px solid white;
    margin-left: 31px;
}
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b
{
    margin-left: 25px;
    border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right
{
    right: 0;
}
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a
{
    border-left: 17px solid white;
    margin-left: 39px;
}
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b
{
    border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder
{
    padding-top: 40px;
    padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content
{
    line-height: 0;
    width: 100%;
    max-width: 900px;
}
.mfp-iframe-holder .mfp-close
{
    top: -40px;
}

.mfp-iframe-scaler
{
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}
.mfp-iframe-scaler iframe
{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: black;
}

/* Main image in popup */
img.mfp-img
{
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure
{
    line-height: 0;
}
.mfp-figure:after
{
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444;
}
.mfp-figure small
{
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px;
}
.mfp-figure figure
{
    margin: 0;
}

.mfp-bottom-bar
{
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title
{
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content
{
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure
{
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px)
{
    /**
           * Remove all paddings around the image on small screen
           */
    .mfp-img-mobile .mfp-image-holder
    {
        padding-left: 0;
        padding-right: 0;
    }
    .mfp-img-mobile img.mfp-img
    {
        padding: 0;
    }
    .mfp-img-mobile .mfp-figure:after
    {
        top: 0;
        bottom: 0;
    }
    .mfp-img-mobile .mfp-figure small
    {
        display: inline;
        margin-left: 5px;
    }
    .mfp-img-mobile .mfp-bottom-bar
    {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .mfp-img-mobile .mfp-bottom-bar:empty
    {
        padding: 0;
    }
    .mfp-img-mobile .mfp-counter
    {
        right: 5px;
        top: 3px;
    }
    .mfp-img-mobile .mfp-close
    {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px)
{
    .mfp-arrow
    {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }
    .mfp-arrow-left
    {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }
    .mfp-arrow-right
    {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }
    .mfp-container
    {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.mfp-ie7 .mfp-img
{
    padding: 0;
}
.mfp-ie7 .mfp-bottom-bar
{
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
}
.mfp-ie7 .mfp-container
{
    padding: 0;
}
.mfp-ie7 .mfp-content
{
    padding-top: 44px;
}
.mfp-ie7 .mfp-close
{
    top: 0;
    right: 0;
    padding-top: 0;
}


.tabContainer table
{
    border-spacing: 0px;
    margin-top: 4px;
    margin-left: 4px;
    height: 12px;
    margin-bottom: 0 !important;
}

    .tabContainer table td
    {
        padding: 0px;
        margin: 3px 0px 0px 0px;
        vertical-align: middle;
        height: 12px;
        position: relative;
        border-color: #ff9933;
        background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(243,243,243) 100%);
        background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(243,243,243) 100%);
        background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(243,243,243) 100%);
        background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(243,243,243) 100%);
        background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(243,243,243) 100%);
        background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0.5, rgb(254,254,254)), color-stop(1, rgb(230,230,230)) );
        color: white;
    }

        .tabContainer table td:hover
        {
            background: #fbE173;
            border-color: #fbE173;
        }

        .tabContainer table td.selected
        {
            border-color: #fbE173;
            background: #fbE173;
            border-color: #fbE173;
            color: #000000;
        }

        .tabContainer table td a
        {
            display: block;
            margin: auto 0px auto 0px;
            color: #000000;
            word-wrap: break-word;
        }

        .tabContainer table td span
        {
            display: block;
            margin: auto 0px auto 0px;
            color: #000000;
            word-wrap: break-word;
        }

/* Filtterilistaus */

.filteredlist table tr
{
    border-bottom: 1px solid #ededed;
}


.filteredlist table th
{
    padding-bottom: 10px;
    text-align: left;
    vertical-align:top;
}

.btnfilter
{
    border: 1px solid #dcdcdc;
    background-color: #f1f1f1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6'); /* for IE */
    background-image: linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -o-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -moz-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -ms-linear-gradient(top, rgb(254,254,254) 50%, rgb(230,230,230) 100%);
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0.5, rgb(254,254,254)), color-stop(1, rgb(230,230,230)) );
     padding: 2px 6px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #000;
    margin-right: 5px;
}

#palsta ul.palstoja2 {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	-moz-column-count: 2; /* Firefox */
	column-count: 2;

	-webkit-column-gap: 40px; /* Chrome, Safari, Opera */
	-moz-column-gap: 40px; /* Firefox */
	column-gap: 40px; /*IE, jotta bulletit mahtuu näkyviin, pitää olla tilaa */
}

#palsta ul.palstoja2 li {
	-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
	page-break-inside: avoid; /* Deprecated Firefox */
	-moz-column-break-inside:avoid; /* Current Firefox */
	column-break-inside:avoid;
	break-inside: avoid; /* IE 10+ */
	break-inside: avoid-column;
}

#palsta ul.palstoja3 {
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
	-moz-column-count: 3; /* Firefox */
	column-count: 3;

	-webkit-column-gap: 40px; /* Chrome, Safari, Opera */
	-moz-column-gap: 40px; /* Firefox */
	column-gap: 40px; /*IE, jotta bulletit mahtuu näkyviin, pitää olla tilaa */
}

