/*general styles that are not size-related*/
/*color palette
main colors:
blue #0073B0
gray #BCBCBC
black #000000
white #FFFFFF
*/
html {
    overflow-y: scroll;
}

body, div, img, p, ul, ol, form, h1, h2, h3, dd, dt {
    margin: 0;
    padding: 0;
}

body{
	background-color: #ececec !important;
	font-family: arial,verdana,lucida,helvetica,sans-serif;
    /*font-size: small;*/
	font-size: 12px;
	color: #000000;
}

body > br {
	display: none;
}

.row {
	width: 100%;
	margin: 0;
}

.col-md-12, .col-sm-12, .col-lg, .col-xs-12{
	padding: 0;
}

#page-content #content .row .col {
    padding: 0px;
}

div.title-level {
	padding: 0.8em 0 0;
}


.noshow {
	display: none;
}

#container {
	max-width: 1010px;
	margin: auto;
	
}

#above-main-navigation {
	background-color: #ffffff;
}

#above-main-navigation li, #main-navigation li, #footer li{
	list-style: none;
}


#main-navigation {
	background-color: #0073b0;
}

#main-navigation a.active, #main-navigation a:hover {
    background-color: #ffffff;
    border-top: 0.5px solid #d7e9ef;
	color: #000000;
}

/*#box {
	background-color: #ececec;
}
*/

#logo h1 {
	display: none;
}

.hakunappi {
   /* background: none repeat scroll 0 0 #C8E1E8;
    border-color: #C8E1E8 #006699 #006699 #C8E1E8;
    border-width: 1px;
    color: #003366;*/
	background: url("/site/img/search.png") no-repeat;
    font-size: 1em;
    /*font-weight: bold;*/
    height: 32px;
	width: 32px;
    margin-left: 0;
	padding: 3px;
	border: 1px solid #bcbcbc;
	border-left: none;
	vertical-align: top;
}

#site-information li:after, #site-navigation li:after, #language-home li:after{
	content: "  |  ";
	color: #bcbcbc;
}

#footer #site-information li:last-child:after , #site-navigation li:last-child:after, #language-home li:last-child:after{
    content: " ";
}

#language-versions ul {
    list-style-type: none;
    margin-top: 5px;
}

#site-information a, #site-information span {
    padding: 0.3em;
}

#change-styleversion span {
	margin: 0 15px;
}

a:link {
	color: #0073B0;
}
a:visited {

}
a:hover {
	color: #338fc0;
	text-decoration: none;
}

a {
    text-decoration: none;
}

a:not([href]) {
    color: #000000;
    text-decoration: none;
}

#logo > a {
	display: block;
    height: 72px;
    width: 255px;
}

#logo.fi > a, #logo > a.fi {
	    background: url("/site/img/tklogo_fi.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#logo.sv > a, #logo > a.sv{
	    background: url("/site/img/tklogo_sv.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#logo.en > a, #logo > a.en{
	    background: url("/site/img/tklogo_en.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.btn-success,
.btn-success:link,
.btn-success:hover,
.btn.success:focus,
.btn-success:active,
.btn-success.focus,
.btn-success.active {
	color:#FFF;
}

/* ZOOM CURSOR FOR ZOOMABLE VERTINET CONTENT */
a[href*="viewpage"]{
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

h1, h2, h3, h4 {
    /*color: #000000;*/
    font-weight: normal;
    line-height: normal;
    padding: 0.8em 0 0;
	clear: both;
}

h1 {
    font-size: 20px;
    margin: 0 0 0;
}

h2 {
    /*font-weight: bold;*/
    font-size: 17px;
   /* padding: 1em 0 0;*/
}

h3 {
	font-size: 15px;
	/*padding: 1em 0 0;*/
	margin: 0;
}

h4{
	font-weight: bold;
	font-size: 12px;
	/*padding: 0.8em 0 0;*/
	margin: 0;
}

a:link > h1, a:link  > h2, a:link  > h3, a:link   > h4{
	color: #0073B0;
}
a.valkoinen{
	color: #ffffff;
	text-decoration: underline;
}

h1 + h2, h1 > div > div + h2 {
    padding: 0.5em 0 0;
}


#content p {
    margin: 0.5em 1em 0.8em 0;
    max-width: 875px;
}

#content ul {
	margin: 0.5em 1em 0.8em 0;
	/*list-style-type: none;*/
}

#content p + span, #content p + h2 {
	margin-top: 1em;
}

#content p + p {
    margin-top: 0.8em;
}

#content p + ul {
    margin-top: 0.8em;
}

#content li {
    line-height: 1.2em;
    padding: 2px 0;
}

#content p + h2 {
    margin-top: 1em;
}

#content h1 + dl, #content h2 + dl, #content h3 + dl, #content h4 + dl{
	margin-top: 0.8em;
}

#content img{
	height: auto;
    max-width: 99%;
	image-rendering: optimizeQuality;
}

#content td p {
    margin: 0 !important;
}


#content button, #content input[type="button"], textarea[type="text"], input[type="email"], input[type="reset"], input[type="submit"], input[type="text"] {
        border-radius: 0 !important;
        box-shadow: none;

}

.viittausohje p {
    word-wrap: break-word;
}

.embed-container {
        position:relative;
        padding-bottom:56.25%;
        padding-top:5px;
        height:0;
        overflow:hidden;
}

.embed-container iframe, .embed-container object, .embed-container embed {
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        max-width: 550px;
}


/*classifications*/

/*force images in classifications tables to max 400px so they fit in the middle space*/
/*a bit of a hack but relative sizes wouldn't work, possibly because of the tables*/
#content .definition > img{
	height: auto;
    max-width: 375px;
	image-rendering: optimizeQuality;
}

.term_index  td{
	padding-right: 20px;
}

.term_index  td:last-child{
	padding-right: 0px;
}


/*the whole classification pages*/
/*they're terrible, but at least make the tables more readable*/
#vpalsta td{
	padding-right: 20px;
}


ol {
    margin: 0 0 0 2em;
}
.clear {
    clear: both;
    height: 0;
    width: 0;
}

.above-main-navigation{
	background-color: #ffffff;
	/*padding-bottom: 0.5em;*/
}

#search input, #search-stats input, #data-collections input {
    border-radius: 0;
   /* color: #555555;*/
    display: inline-block;
    font-size: 12px;
    /*height: 25px;
    line-height: 20px;*/
    margin-bottom: 10px;
    padding: 0 3px;
    vertical-align: middle;
}

.searchfield{
	max-width: 445px;
	min-width: 255px;
	border: 1px solid #bcbcbc;
	height: 32px;
	border-right: none;
	background-color: #f7f7f7;
	margin: 0;
}

#resizer ul {
    list-style: none outside none;
}

#resizer li {
    display: inline-block;
    float: left;
    padding: 2px 5px;
}

#main-navigation ul li{
	background-color: #0073b0;
}

#main-navigation ul li a {
    /*background: none repeat scroll 0 0 #0099CC;*/
    color: #FFFFFF;
    display: block;
    padding: 0em 1em;
    text-decoration: none;
	text-transform: uppercase;
}

#main-navigation ul li a.activesection {
	background-color: #ffffff;
    /*display: inline-block;*/
    padding: 0em 1em;
	border-top: 1px solid #c1d4d9;
	color: #000000;
	/*width: 100%;*/

}

.hakunappi span {
	display: none;
}

#print {
    cursor: pointer;
    float: right;
    padding: 1em 14px;
    vertical-align: bottom;
}

/*tämänhetkisen valikkopalan tausta valkoinen*/
#left-navigation h2.current_page, #left-navigation p.current, #left-navigation li.current_page{
    background-color: #ffffff;
}

/*teksti sininen, jos linkki*/
#left-navigation h2.current_page > a, #left-navigation p.current > a, #left-navigation li.current_page > a{
	color: #0073b0;
}

#left-navigation.til p.name{
	font-weight: bold;
}

#left-navigation.til p.aihealue_name a{
	border-bottom: 1px solid #99c7df;
}

/*mainoskuvat vasemmassa valikossa*/
#left-navigation img {
	margin-bottom: 1em;
}

/*nappulat ja kentät vasemmassa valikossa*/
#left-navigation form input{
	margin: 0.5em 0.2em 0.2em 1.7em;
}


#left-navigation ul {
    list-style-type: none;
    margin: 1em 0 0;
	/*padding: 5px 0 0.8em 0;*/
}

#left-navigation ul > ul {
    margin: 0;
}

#left-navigation ul.navlist-menu-level-0 {
    margin-top: 0;
}

.nav.nav-list.navlist-menu-level-2 {
    padding-left: 0.8em;
}

.nav.nav-list.navlist-menu-level-1 {
    padding-left: 0.8em;
}

/*#left-navigation nav li {
    padding-left: 1.7em;
}*/

#left-navigation{
	margin: 0 0 0 0;
	/*background-color: #e9f5f9; ei paletista poimittu väri */
	background-color: #e0effa;
}

#left-navigation li.active ul {
	background-color: #e0effa;
}

#left-navigation h2{
	background-color: #0073B0;
	color: #ffffff;
	display: block;
	height: 26px;
	vertical-align: middle;
	margin-top: 35px;
	font-size: 14px;
}

#left-navigation h2.section_name{
	text-transform: uppercase;
	color: #0073B0;
	margin-top: 0;
	background: none;
	font-size: 14px;
	padding-left: 0.9em;
}

/*section name (e.g. TUOTTEET JA PALVELUT) in capitals*/
#left-navigation .section_name, #left-navigation h2{
	text-transform: uppercase;
	padding-left: 0.9em;
}

/*section name in capitals in the new system*/
/*feel free to make up a better solution if you can*/
/*#left-navigation li[id^=tree-menu-tup-index] > a, #left-navigation li[id^=tree-menu-til-index] > a , #left-navigation li[id^=tree-menu-meta-index] > a, #left-navigation li[id^=tree-menu-keruu-index] > a, #left-navigation li[id^=tree-menu-ajk-index] > a, #left-navigation li[id^=tree-menu-org-index] > a{
	text-transform: uppercase;
	padding-left: 0.9em;
}*/

#left-navigation li.active-branch:first-child > a{
	text-transform: uppercase;
	padding-left: 0.9em;
}

#left-navigation h2.current_page{
	background-color: #ffffff;
}

#left-navigation .active{
	background-color: #ffffff;
}

#left-navigation a:visited {
	color: #0073B0;
}

/*overwrite bootstrap for focus in left navigation*/
.nav > li > a:focus{
	background-color: #ffffff;
}

#left-navigation hr {
	display: none;
}

#find-stats, #pub-calender, #data-collections, #key-numbers, #new-in-data-collections {
	background-color: #ffffff;
	margin: 15px 0;
	
}
#new-stats, #front-news {
	background-color: #ffffff;
}
/*
#new-stats, #front-news {
	margin-top: 27px;
}
*/
#alertbox {
	background: #dc5034 url("/site/img/alert-white.png") no-repeat 10px 3px;
	color: #ffffff;
	margin-top: 27px;
	padding: 0.8em 2em 0.8em 5em;
	
}

#alertbox:not(:empty) + #new-stats {
    margin-top: 15px;
}

#alertbox:empty {
	display: none;
	padding: 0;
	margin: 0;
}

#alertbox p, #alertbox a {
	color: #ffffff;
	font-weight: bold;
}

#alertbox a:hover {
	text-decoration: underline;
}

#remove_alert {
    border: 1px solid #ffffff;
    float: right;
    margin-right: -1em;
    padding: 0 0.5em;
}

#tietokannat {
	background-image: url("/site/img/tietokannat.png");
}

#suomilukuina {
	background-image: url("/site/img/suomilukuina.png");
}

#findikaattori {
	background-image: url("/site/img/findikaattori.png");
}

#ttblogi {
	background-image: url("/site/img/tietotrendit.png");
}

#tilastokoulu {
	background-image: url("/site/img/tilastokoulu.png");
}

#tutkimusaineistot {
	background-image: url("/site/img/tutkimusaineistot.png");
}

#luokitukset {
	background-image: url("/site/img/luokitukset.png");
}

#avoindata {
	background-image: url("/site/img/avoindata.png");
}

#svt {
	background-image: url("/site/img/svt.png");
}

#vuosikirja {
	background-image: url("/site/img/vuosikirja.png");
}

#aluetieto {
	background-image: url("/site/img/aluetieto.png");
}

.internal, .external {
    margin-top: 15px;
}

/*somenapit etusivulla*/
.follow-buttons {
	float: right;
}

.follow-buttons a:last-child {
	margin-right: 0;
}

.fb-follow, .twitter-follow, .li-follow, .ss-follow, .rss-order, .newsletter-order {
	height: 20px;
	width: 20px;
	float: left;
	margin: 5px 2px 5px 2px;
	border-radius: 3px;
}

.fb-follow {
	background: url("/site/img/facebook_20x20.png") no-repeat;
	background-size: 20px 20px;
	
}

.twitter-follow {
	background: url("/site/img/twitter_20x20.png") no-repeat;
	background-size: 20px 20px;
}

.li-follow {
	background: url("/site/img/linkedin_20x20.png") no-repeat;
	background-size: 20px 20px;
	
}

.ss-follow{
	background: url("/site/img/slideshare_20x20.png") no-repeat;
	background-size: 20px 20px;
}

#content {
	background-color: #ffffff;
}


#right p, #right li, #right ul {
	background-color: #ffffff;
}

#sivupalkki_oikea {
	padding: 15px;
	background-color: #ffffff;
}

#sivupalkki_oikea a {
	line-height: 14px;
	padding: 0.5em 0;
}

#sivupalkki_oikea p a {
    display: inline-block;
    margin: 0;
}

@media screen and (min-width: 1001px){
	/*kavennettu vasenta valikkoa, normaalisti bootstrapissa col-md-3 on 25%*/
	.nav-panel{
		padding: 0;
		width: 21%;
	}
	/*content muutettu leveämmäksi kuin bootstrapissa, normaalisti col-md-7 on 58.3333*/
	#content {
		width: 59.5%;
	}
	/*kustomoidun välin saamiseksi elementteihin*/
	.panel-6{
	width: 48%; 
}

	.panel-3{
		width: 24%;
	}
}
	

#new-stats ul, #search-stats ul, #data-collections ul, #key-numbers ul , #service-buttons ul, #service-buttons-external ul{
	list-style:  none outside none;
}

#new-stats h2, #front-news h2, #data-collections h2, #key-numbers h2, #find-stats h2 {
	text-transform: uppercase;
	/*padding: 0.5em 1em;*/
	font-size: 14px;
}

#key-numbers h2, #find-stats h2, #new-stats h2, #data-collections h2 {
    padding-left: 20px;
    padding-right: 20px;
}

#find-stats a p, #data-collections a p {
	color: #000000;
	padding: 0.5em 1.5em;
}

#tabs h2 {
	padding: 0.5em 0;
	text-transform: uppercase;
}

/*#content ul {*/
	/*list-style: outside none none;*/
	/*list-style-type: none;
    margin: 0;
    padding: 0 0 0 0px;
}*/


/*#content ul li {
	text-align: bottom;
	background-image: url("/site/img/bullet-blue.gif");
    background-repeat: no-repeat;
    background-position: 0px center; 
    padding-left: 15px;
}*/

#content ul {
	list-style-image: url("/site/img/bullet-blue.gif");
	padding-left: 10px;
}

#content ul.nav-tabs {
	list-style: none;
}

#content .nav li {
	background-image: none;
}

#content > hr {
    visibility: hidden;
}

input {
	margin: 3px;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0 5px;
}

.alphabet_valid_text{
	font-weight: bold;
	font-size: 1.2em;
	line-height: 26px;
	margin: 0 0.5em;
	color: #0073b0;
}

.carousel-control.right, .carousel-control.left {
    background-image: none;
}

.carousel-control {
	opacity: 1;
}

#carousel-controlbar {
	height: 40px;
    margin-top: 25px;
    width: 100%;
	/*position: absolute;*/
}
.carousel-caption {
    bottom: 1em;
    color: #000000;
    left: 1.5em;
    padding: 10px;
    position: absolute;
    right: 1.5em;
    text-align: left;
    top: 180px;
    z-index: 10;
	text-shadow: none;
}

.carousel-indicators {
    bottom: 0;
    float: left;
    left: 20px;
    list-style: none outside none;
    margin-left: 0;
    padding: 10px 0 0;
    position: relative;
    text-align: left;
    width: 35%;
    z-index: 15;
	margin-right: 2em;
}

#carouselButtons {
    float: left;
	width: 10%
   
}

.btn-xs {
	border-radius: 0;
	padding: 1px 4px;
}

.carousel-indicators .active {
    background-color: #0073b0;
    height: 12px;
    margin: 0;
    width: 12px;
}

.carousel-indicators li {
    background-color: #ffffff;
    border: 1px solid #0073b0;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    width: 10px;
}

.carousel-control .glyphicon {
    visibility: hidden;
}

#service-buttons.internal li {
	background-color: #338fc0;
}

#service-buttons-external.external li {
	background-color: #33c1ba;
}

.modal-content {
    padding: 10px;
}

.alphabet_valid_text, .alphabet_valid_link {
	margin: 1em 0;
}

.alphabet_valid_link a:visited{
	color: #0073b0;
}

.xxl-table {
	overflow-x: auto;
}

.viittausohje {
    border: 1px solid #66abd0;
    padding: 0.2em 2em;
	margin-bottom: 15px;
}

#footer {

    clear: both;
    padding-top: 0.4em;
    width: 100%;
	background: #ffffff;
	min-height: 75px;
}

.ulnostyle {
	list-style: none;
	margin-top: 1em;
}

.clear{
	clear: both;
	height: 0px;
	width: 0px;
}

.checkbox-label {
	display: block;
}

/*lomaketyyli*/
/*tekstikenttään vähän tilavuutta, mutta ei hakukenttään*/
input[type=text], textarea, !.searchfield{
	margin-top: 5px;
	margin-bottom:10px;
}

#left-navigation ul:last-child {
	border-bottom: none;
}

/*bootstrap-modalia varten*/

#contentWrapper {
    padding: 5px;
}

#contentWrapper form {
    padding: 15px;
}

#contentWrapper form input {
    width: 40%;
	padding: 2px;
}

#subjects {
    padding: 10px;
}

.stats {
    padding: 0 20px;
	list-style: none outside none;
}

.stats li {
    margin-bottom: 8px;
}

.stats li  a{
    font-weight: bold;
}

.highlightedText{
	background-color: rgba(254,203,0,0.6);
}

/*Pikan templaatit*/

.IsoKuva {
	max-width: 100%;
	/*padding: 2%;*/
}

.isokuva {
	max-width: 99%;
	display: block;
	/*margin-left: auto;
	margin-right: auto;*/
}

.artikkelimeta {
    /*padding-bottom: 10px;*/
}

.artikkelimeta .julkaisupvm {
    clear: both;
    display: block;
    float: none;
}

.artikkelimeta span {
    font-size: 10px;
    line-height: 12px;
    text-transform: uppercase;
}

.artikkelimeta .kirjoittaja {
    color: #666666;
    display: block;
    font-size: 12px;
    line-height: 12px;
    margin-top: 5px;
}

.artikkeliteksti {
    width: 100%;
}

.inkkukuva {
    padding-top:3.608em;
    vertical-align: top;
    width: 25%;
}

.ingressikuva {
    margin-bottom: 15px;
    margin-right: 15px;
    max-width: 110px;
}

.inkkukuva + .artikkeliteksti {
    width: 74%;
}

.inkkukuva, .artikkeliteksti {
    display: inline-block;
}

.artikkeli a p, .artikkeli a h1, .artikkeli a h2, .artikkelimeta a span {
    color: #000000;
}

/*puolen palstan levyiset kuvat*/
.pienikuva {
	max-width: 100%;
}

.PieniKuvaOikea{
	max-width: 45%;
	padding-left: 2%;
	/*padding-right: 2%;*/
}

.PieniKuvaVasen{
	max-width: 45%;
	/*padding-left: 2%;*/
	padding-right: 2%;
}

.PieniKuvaOikea {
	float: right;
}

.PieniKuvaVasen {
	float: left;
}

.otsikollinenEsittely {
	width: 100%;
	margin: 2% 0;
	display: inline-block;
}

.otsikollinenEsittely .pienikuva{
	float: left;
	margin-right: 1em;
	margin-top: 0.5em;
	max-width: 45%;
}

#content .otsikollinenEsittely > ul {
    float: left;
    max-width: 55%;
    margin-left: 2%
}

.pic-text {
    margin: 1em 0;
    padding: 5px 0;
    width: 100%;
}

.pic-text img {
    float: left;
    margin-right: 1em;
    padding-top: 4px;
}

/*taulukot*/
a table {
    color: #000000;
}

table {
	margin: 0 0 2em;
}

table.taulu, table.rtaulu {
	border-bottom: 1px solid #d7d7d7;
    	border-collapse: collapse;
	border-color: 1px solid #d7d7d7;
   	/* border-color: #323232;
    	border-right: 1px solid #323232;*/
    	empty-cells: show;
	font-size: small;
}

table:not(.taulu) th, table:not(.taulu) td{
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.taulu td.ala, .rtaulu td.ala {
    border-collapse: collapse;
    empty-cells: show;
}
.taulu td, .rtaulu td {
    border-collapse: collapse;
    border: 1px solid #d7d7d7;
    /*border-left: 1px solid #323232;
    border-top: 1px solid #323232;*/
    empty-cells: show;
    padding: 4px;
}

.vaalea {
    background: none repeat scroll 0 0 #e5e4e4;
}

.tumma{
	background: #999999 !important;
	color: #ffffff;
}

.taulu td.oikea, .rtaulu td.oikea {
    border-collapse: collapse;
    empty-cells: show;
    white-space: nowrap;
}
.taulu td.ala, .rtaulu td.ala {
    border-collapse: collapse;
    empty-cells: show;
}
.taulu th, .rtaulu th {
    border: 1px solid #d7d7d7;
    /*border-left: 1px solid #323232;
    border-top: 1px solid #323232;*/
	background-color: #cac9c9;
    padding: 4px;
}
.oikea {
    text-align: right;
}
.vasen {
    text-align: left;
}
.keski {
    text-align: center;
}
.ala {
    vertical-align: bottom;
}
.pkeski {
    vertical-align: middle;
}
.yla {
    vertical-align: top;
}

.taulu, .taulu  tr, .taulu  tr  td, .rtaulu, .rtaulu tr, .rtaulu tr td {
	border: solid 1px #d7d7d7;
	border-collapse: collapse;
}

.taulu, .rtaulu {
	max-width: 98%;
	/*margin-left: auto;
	margin-right: auto;*/
}

/* seepraraidoitettu taulukko */
.seepra th{
	background: none repeat scroll 0 0 #cac9c9;
	border: 1px solid #ffffff;
	line-height: 1.em;
}

.seepra td {
	border: 1px solid #ffffff;
}

.seepra tr:nth-child(even) {
	background-color: #f2f2f2;
}

/*kevennetty taulukko*/

.kevyttaulu th, .kevyttaulu tr, .kevyttaulu td{
	border: 1px solid #d7d7d7;
}

.kevyttaulu th {
    border-bottom: 2px solid #d7d7d7;
}


h1 + .taulu, h2 + .taulu, h3 + .taulu, h4 + .taulu{
	margin-top: 10px;
}

/* ison taulukon avauslinkit */

a.xxl-link{
	display: block;
	background-color: #0073b0;
	color: #ffffff;
	max-width: 40%;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	margin-top: 5px;
	margin-bottom: 10px;
}

a.xxl-link:active, a.xxl-link:focus{
	text-decoration: none;
	outline: none;
}


/*kunnat-taulukot*/
table.kunnat {
	/*border-right: 1px solid;*/
	/*border-bottom: 1px solid;*/
	border-style: none;
	border-color: #d7d7d7;
    empty-cells: show;
    border-collapse: collapse;
    font-size: small;
}
.kunnat td {
	/*border-left: 1px solid;*/
	border-top: 1px solid;
	border-color: #d7d7d7;
	padding: 4px;
	empty-cells: show;
	border-collapse: collapse;
}

.kunnat td.oikea { 
        white-space: nowrap;
	/*white-space: normal;*/
        empty-cells: show;
        border-collapse: collapse;
		border-right: 1px solid #d7d7d7;

 }

.kunnat td.ala {
	/*white-space: nowrap;*/
        empty-cells: show;
        border-collapse: collapse;
}

.kunnat td.luvut {
	width: 5em;
	/*white-space: nowrap;*/
        empty-cells: show;
      /*  border-collapse: collapse;*/
		border-right: 1px solid #d7d7d7;
}

.kunnat td.koko {
	width: 6em;
	/*white-space: nowrap;*/
        empty-cells: show;
      /*  border-collapse: collapse;*/
		border-right: 1px solid #d7d7d;
		border-left: 1px solid #d7d7d7;
}

.kunnat td.vika {
	/*white-space: nowrap;*/
        empty-cells: show;
      /*  border-collapse: collapse;*/
		border-bottom: 1px solid #d7d7d7;
}

.kunnat td.empty {
	/*white-space: nowrap;*/
        empty-cells: show;
      /*  border-collapse: collapse;*/
		border: none;
		height: 0.5em;
}

.kunnat th.vika{
	/*white-space: nowrap;*/
        empty-cells: show;
      /*  border-collapse: collapse;*/
		border-bottom: 1px solid #d7d7d7;
}

.kunnat th {
	width: 30em;
	border-left: 1px solid;
	border-top: 1px solid;
	border-color: #d7d7d7;
	padding: 4px;
	font-weight: normal;	
	cellmargin: 0;
	cellpadding: 0;
	
        /*white-space: normal;*/
	
}

.kunnat th.tumma_sin, .kunnat td.tumma_sin {
	background: #cac9c9;
	font-weight: bold;
}

.vaalea_sin {
    background-color: #f2f2f2;
}

.kunnat sup {
	font-size: 0.8em;
}

table.lakkautetut {
        border-right: 1px solid;
        border-bottom: 1px solid;
        border-style: none;
        border-color: #FFFFFF;
        empty-cells: show;
        border-collapse: collapse;
        font-size: small;
}

.lakkautetut tr:nth-child(even) { background: #FFFFFF }

.lakkautetut tr:nth-child(odd) { background:  #f2f2f2 }

.lakkautetut th { text-align: left; background : #c8e1e8; border-left: 1px solid; border-color: #FFFFFF}

.lakkautetut td { padding: 4px; border-left: 1px solid; border-color: #FFFFFF }

.lakkautetut td:nth-child(odd) { text-align: left }

.lakkautetut td:nth-child(even) {text-align: right}


/*kuvatekstit, taulukoiden selitystekstit*/
.kuvateksti, .selitys {
	/*font-style: italic;*/
}

/*taulukoiden ja kuvien otsikot*/
.kuvaotsikko, .tauluotsikko{
	font-weight: bold;
	/*text-align: center;*/
}

#content p.taulukko, p.kuvio { 
	font-weight: bold; 
	margin-bottom: 0.4em;
}
p.lahde, p.lisatiedot { font-style: italic; font-weight: normal; }

/*Verti-kuviot*/ 

.img-with-text {
	float: left;
	text-align: center;
	vertical-align: top;
	margin-bottom: 15px;
}

.verti3 .img-with-text {
	max-width: 33%;
}

.verti2 .img-with-text {
	max-width: 50%;
}

.verti1 .img-with-text {
	max-width: 100%;
}

.verti3 {
	max-width: 100%;
}

.verti2{
	max-width: 70%;
}

.verti1{
	max-width: 33%;
}


.verti1 ~ p, .verti2 ~ p,  .verti3 ~ p{
	clear: both;
}

.verti1, .verti2{
	margin-left: auto;
	margin-right: auto;
}

.verti1, .verti2, .verti3 {
	padding-bottom: 2%;
	height: auto;
}

.vertiotsikko{
	text-align: center;
	font-weight: bold;
}

/*taulukkomaiset listaukset*/
.listaus > span {
	padding-right: 70px;
}

.listaus > span:last-child {
	padding-right: 0px;
}

#content p.listaus {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/*naamakuvatemplaatti*/

#content img.kasvokuva{
	max-width: 25%;
	float: left;
	margin-bottom: 2%;
	display: block;
}

#content p.esittely {
	padding-bottom: 2%;
	display: block;
	margin-top: 0;
}

.esittelyboksi{
	max-width: 68%;
	float: left;
	padding-left: 2%;
}

.tekstiOtsikko {
}

.otsikkoKuvanVieressa{
	padding-left: 2%;
	display: inline-block;
	width: 70%;
}

body hr {
	margin-bottom: 0px;
	margin-top: 20px;
}

/*ukk-listauksen tyylit*/
.panel-group {
    margin-top: 0.5em;
}

.panel-default > .panel-heading {
	background-color: #f2f2f2;
}

.panel-heading {
    padding: 0.3em 1em;
}

.panel-title {
    padding: 0;
	font-size: 15px;
}

.panel.panel-default {
    border-radius: 0;
}

.panel-title .collapsed {
    color: #0073b0;
}

/* tilastot-osio */

.punainenlaatikko{
    border-color: #C30045;
    border-style: solid;
    border-width: 2px;
    margin-bottom: 1em;
    padding: 0.3em 1em;
}

.punainenlaatikko p{
	font-weight: bold;
	font-size: larger;
	color: #C30045;
}

.aihelista {
	-webkit-columns: 200px; /* Chrome, Safari, Opera */
    -moz-columns: 200px; /* Firefox */
    columns: 200px;
}

.korjaus{
	color: #C30045;
}

/*bootstrap-ylikirjoitusta*/
sub, sup {
	line-height: 1;
}
sub {
	position:relative;
	top: 0.2em;
}
/*kuvion otsikko*/

p.kuvio { font-weight: bold; }

/*lähde & lisätiedot*/

p.lahde{
	font-style: italic;
}

p.lisatiedot{
	font-style: italic;
}
ul.navlist-menu-level-0 {
 min-height:32px;
}

/*#lisatieto2 a, #lisatieto2 a:hover, #lisatieto2 a:focus {
	color:#ffffff!important;
	text-decoration:underline;
}*/
#right ul.toc li {
    padding-bottom: 0.6em!important;
    padding-top: 0.3em!important;
}

#right .toc {
	max-width:170px;
}

/*
#right p a, #right .toc a{
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
*/

#left-navigation ul > ul > ul {
     margin-top: -4px;
}
#lisatieto2 {
     padding: 12px;
}
#lisatieto2, #lisatieto2 * {
     background-color: #f2f2f2;
}

/*svt*/
.svt::after {
    background: rgba(0, 0, 0, 0) url("/site/img/SVT_harm_pieni.gif") no-repeat scroll 0 0;
    content: "";
    display: inline-block;
    height: 15px;
    margin-left: 4px;
    width: 16px;
}

.pagination {
	border-radius: 0;
}

.pagination > li:last-child > a, .pagination > li:last-child > span,.pagination > li:first-child > a, .pagination > li:first-child > span {
	border-radius: 0;
}
.btn-success {
    color: #fff;
    background-color: #7ab800;
    border-color: #7ab800;
}

.btn-success:hover,.btn-success:focus,.btn-success.focus,.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success {
    color: #fff;
    background-color: #008542;
    border-color: #008542;
}

