/*
ATVA 2024
*/
html{
	height: 100%;
}
body{
	background-color: #606060;
	font-family: arial, verdana, sans-serif;
	color: #ffffff;
	margin: 0px;
	height: 100%;
}
header, footer{
	text-align: center;
	background-color: #606060;
}
header{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px;
}
nav{
	text-align: center;
	background-color: #ffffff;
}
article{
	background-color: #c0c0c0;
	color: #000000;
	padding: 50px;
	max-width: 1020px;
	margin-left: auto;
	margin-right: auto;
	overflow:auto;
	padding-bottom: 40px;
}
footer {
	position: relative;
	margin-top: -30px;
	padding: 10px;
}
h1{
	display: block;
	color: #ffffff;
	background-color: #008000;
	margin-top: 30px;
	margin-bottom: 0px;
	padding-left: 5px;
}
.main{
	background-color: #ffffff;
}
.navLinkActive{
	display: inline-block;
	background-color: #00c000;
	width: 280px;
}
.navLink{
	display: inline-block;
	background-color: #008000;
	width: 280px;
}
.navLink:hover{
	background-color: #00c000;
}
.navLink a:hover, .navLinkActive a:hover{
	color: #ffffff;
	font-weight: bold;
}
.navLink a:link, .navLinkActive a:link{
	color: #ffffff;
}
.navLink a:visited, .navLinkActive a:visited{
	color: #ffffff;
}
.navLink a:active, .navLinkActive a:active{
	color: #000000;
}
.navLink a{
	display: block;
	padding: 10px;
	text-decoration: none;
}
.navLinkActive a{
	display: block;
	padding: 10px;
	text-decoration: none;
	font-weight: bold;
}
a:hover{
	color: #000000;
	font-weight: bold;
}
a:link,
a:visited,
a:active{
	color: #000000;
}

footer a:link,
footer a:link,
footer a:visited,
footer a:active{
	color: #ffffff;
	text-decoration: none;
	font-weight: normal;
}
footer a:hover{
	text-decoration: underline;
}

.frame {
	margin-top: -40px;
	margin-left: -40px;
	margin-right: -40px;
    position: relative;
    padding-bottom: 54%;
    padding-top: 0px;
}
.frame iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}

.footerLeft{
	display: inline-block;
	float: left;
	padding-left: 0px;
}
.footerCenter{
	display: inline-block;
}
.footerRight{
	display: inline-block;
	float: right;
	padding-right: 20px;
}
header, section, footer, aside, nav, article, figure{ 
	display: block; 
}
img.logo{
	max-width: 100%;
	max-height: 20%;
}
img.right{
	float: right;
}
img.left{
	float: left;
}
table{
	background: #ffffff;
    border: 2px solid green
}
th{
	padding: 5px;
	text-align: left;
}
td{
	padding: 5px;
    border-top: 1px solid green;
}
td:first-child{
    border-right: 1px solid green;
}
td.label{
	font-weight: bold;
	text-align: right;
}
.small{
	font-size: 0.75em;
	color: #000000;
}
iframe.kartta{
	height: calc(100vh - 583px);
	min-height: 500px;
	border: none;
}
#kartta-linkkialue{
    position: relative;
}
#kartta-linkkialue a{
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    background-color: #008000;
    color: #ffffff;
    margin-right: 4px;
    padding: 14px;
    padding-bottom: 5px;
    padding-top: 10px;
    border-radius: 17px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
#kartta-linkkialue a.kartta-painike.aktiivinen{
	background: #000000;
}
#kartta-linkkialue a:hover{
	background-color: #00c000;
}
#kartta-linkkialue a.kartta-painike.aktiivinen,
#kartta-linkkialue a.kartta-painike.aktiivinen:hover{
	background: #000000;
	cursor: default;
}
img#aluekartta{
	width: 100%;
}

@media(max-width: 1200px){
	.main{
		background-color: #c0c0c0;
	}
	.navLink,
	.navLinkActive{
		width: 50%;
	}
	iframe.kartta{
		height: calc(100vh - 621px);
	}
}

/*SIVUKOHTAISET*/
.sivu-kartta article{
	max-width: 1120px;
	padding: 0px;
    padding-bottom: 34px;
	text-align: center;
}

/*ALUEKARTTA*/
body.aluekartta{
	background-color: #ffffff;
}
body.aluekartta #kartta-alue{
    cursor: grab;
    overflow: scroll;
    position: fixed;
    top: 33px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
body.aluekartta #kartta-linkkialue{
	position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    background-color: green;
}
body.aluekartta #kartta-linkkialue a{
	border-radius: 0px;
}
body.aluekartta img#aluekartta{
	min-width: 2048px;
	pointer-events: none;
}