@import url(http://fonts.googleapis.com/css?family=Ropa+Sans);
@import url(http://fonts.googleapis.com/css?family=Orbitron:900);
@import url(http://fonts.googleapis.com/css?family=Boogaloo);
@import url(http://fonts.googleapis.com/css?family=Permanent+Marker);
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,700);
@import url(http://fonts.googleapis.com/css?family=Alef:400,700);

body {
	background-color: rgb(255, 255, 255);
	height: 100%;
	color: rgb(11,11,97);
	font-size: 15px;
	font-family: 'Alef', sans-serif;
	text-decoration: none;
	text-align: center;
	margin: 0px;
	padding: 0px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	}

@media (max-width: 519px) {
	body {
		font-size: 12px;
		}

	header {
		padding-top: 10px;
		}

	DIV.otsikko {
		font-size: 3em;
		padding-top: 10px;
		}

	nav	{
		position: relative;
		width: 100%;
		text-decoration: none;
		text-align: center;
		}
	article	{
		position: relative;
		margin-right: auto;
		width: 100%;
		text-decoration: none;
		text-align: center;
		font-size: 1em;
		}
	footer {
		font-size: 0.5em;
		}
	#valikko {
		display: none;
		}
	DIV.linkit {
		}
	DIV.linkki {
		}
	.linkki_teksti {
		display: block;
		}
	.linkki_selite {
		display: block;
		}
	.linkki_kontrollit {
		display: block;
		}
	a.linkit_ulos {
		display: none;
		}
	tr.lomake {
		height: 40px;
		}
	DIV.lomake {
		display: table;
		}
	DIV.lomake_rivi {
		display: table-row;
		}
	span.lomake_sarake {
		display: block;
		}
	IMG.skaalattu_kuva_100_mobile {
		max-width : 100%;
		max-height : auto;
		}
	DIV.login {
		display: inline-block;
		position: relative;
		}
	}

@media (max-width: 899px) and (min-width: 520px) {
	body {
		font-size: 90%;
		}

	header {
		padding-top: 5px;
		}

	DIV.otsikko {
		font-size: 3em;
		}

	nav	{
		position: relative;
		float: left;
		width: 30%;
		color: #FFFFFF;
		text-decoration: none;
		text-align: center;
		}
	article	{
		position: relative;
		margin-right: auto;
		float: left;
		width: 70%;
		text-decoration: none;
		text-align: center;
		font-size: 1em;
		}
	footer {
		font-size: 0.8em;
		}
	#valikko_opener {
		display: none;
		}
	DIV.linkit {
		}
	DIV.linkki {
		}
	.linkki_teksti {
		display: block;
		}
	.linkki_selite {
		display: block;
		}
	.linkki_kontrollit {
		display: block;
		}
	DIV.lomake {
		display: table;
		}
	DIV.lomake_rivi {
		display: table-row;
		}
	span.lomake_sarake {
		display: table-cell;
		}
	IMG.skaalattu_kuva_100_mobile {
		max-width : 90%;
		max-height : auto;
		}
	DIV.login {
		display: inline-block;
		position: absolute;
		}
	}

@media (min-width: 900px) {
	body {
		padding-top: 0px;
		padding-bottom: 15px;
		}

	header {
		padding-top: 0px;
		}

	DIV.otsikko {
		font-size: 5em;
		}

	nav	{
		position: relative;
		float: left;
		width: 20%;
		text-decoration: none;
		text-align: center;
		}

	article	{
		position: relative;
		margin-right: auto;
		float: left;
		width: 80%;
		text-decoration: none;
		text-align: center;
		font-size: 1em;
		}
		
	div.main	{
		margin-left: 20px;
		margin-right: 20px;
		margin-bottom: 20px;
		padding: 20px;
		border-width: 0px;
		border-radius: 5px;
		background: rgba(150, 150, 150, 0.0);
		box-shadow: 3px 3px 6px rgba(0,0,0,0.0);
		}
	footer {
		font-size: 0.8em;
		}
	#valikko_opener {
		display: none;
		}
	DIV.linkit {
		display: table;
		}
	DIV.linkki {
		display: table-row;
		}
	span.linkki_teksti {
		display: table-cell;
		width: 30%;
		}
	span.linkki_selite {
		display: table-cell;
		}
	span.linkki_kontrollit {
		display: table-cell;
		}
	DIV.lomake {
		display: table;
		}
	DIV.lomake_rivi {
		display: table-row;
		}
	span.lomake_sarake {
		display: table-cell;
		}
	DIV.login {
		display: inline-block;
		position: absolute;
		}
	}
	
div.ylapalkki {
	background-color: #FFFFFF;
	background-image: url('../taustakuvat/jcstausta4.png');
	background-position: top;
	background-repeat: no-repeat;
	background-attachment: scroll;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../taustakuvat/jcstausta4.png', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader000(src='../taustakuvat/jcstausta4.png', sizingMethod='scale')"; 
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
	margin-bottom: 20px;
	}
	
div.runko {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
	min-height: 400px;
	position: relative;
	}
   
header {
	background-color: rgba(11, 11, 97, 0.8);
	margin: 0px;
	position: relative;
	font-family: 'Orbitron', sans-serif;
	font-weight: 900;
	width: 100%;
	text-decoration: none;
	text-align: left;
	color: rgb(255, 255, 255);
	font-variant: small-caps;
	text-shadow: 
		1px 1px #0B0B61,
		1px 0px #0B0B61,
		1px -1px #0B0B61,
		0px 1px #0B0B61,
		0px -1px #0B0B61,
		-1px 1px #0B0B61,
		-1px 0px #0B0B61,
		-1px -0px #0B0B61,
		4px 4px 0px rgba(150, 150, 150, 0.8);
	}
	
footer {
	margin-top: 10px;
	margin-bottom: 0px;
	width: 100%;
	clear: both;
	margin-left:auto;
	margin-right:auto;
	text-decoration: none;
	text-align: center;
	font-size: 0.7em;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: rgb(150, 150, 150);
	}


section.scrolli {
	display: block;
	position: relative;
	color:  rgb(255, 255, 255);
	background-color: rgba(150, 150, 150, 0.8);
	text-decoration: none;
	text-align: center;
	font-size: 1.2em;
	text-shadow: 1px 1px 0px rgba(11, 11, 97, 1.0);
	}
h1 {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-weight: 400;
	text-decoration: none;
	text-align: center;
	font-size: 3em;
	margin: 10px;
	}

h2 {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	text-decoration: none;
	text-align: center;
	font-size: 2em;
	font-weight: 400;
	margin: 5px;
	}

h3 {
	text-decoration: none;
	text-align: center;
	font-size: 1.2em;
	margin: 5px;
	}

p {
	text-decoration: none;
	text-align: justify;
	font-size: 1em;
	margin: 5px;
	}

DIV.kielet {
	position: absolute;
	top: 5px;
	right: 2px;
	color: #FFFFFF;
	display: block;
	font-weight: bold;
	line-height: 100%;
	width: 100%;
	font-size: 0.8em;
	text-align: right;
	}

DIV.otsikko {
	display: block;
	line-height: 150%;
	width: 100%;
	text-align: center;
	}

DIV.paivystys {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	display: block;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	padding: 2px;
	min-height: 45px;
	color: #FFFFFF;
	text-shadow: 1px 1px 1px #000000;
	background: rgba(255, 0, 0, 0.9);
	font-size: 1.4em;
	font-weight: 700;
	box-shadow: 0px 0px 20px rgba(0 ,0 ,0 ,0.3) inset, 2px 2px 2px rgba(0,0,0,0.3);
	border-radius: 5px;
	}

DIV.paivystys:hover {
	box-shadow: 0px 0px 20px rgba(255,255,255,1.0) inset, 2px 2px 2px rgba(0,0,0,0.3);
	}

DIV.login {
	z-index: 10;
	top: 1px;
	left: 1px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 150px;
	font-family: 'Ropa Sans', sans-serif;
	color: rgb(11, 11, 97);
	font-size: 1.0em;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 5px;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
	}
DIV.login:hover {
	background-color: rgba(200, 200, 255, 0.9);
	}

ul.etusivu {
	list-style-type: square;
	list-style-position: inside;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 90%;
	font-size: 1.2em;
	text-decoration: none;
	text-align: center;
	border-collapse: collapse;
	padding: 5px;
	}

li {
	}
	
ul.valikko {
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 120%;
	}

li. {
	display: inline;
	}

A {
	text-decoration: none;
	color: inherit;
	}

A.linkki {
	text-decoration: none;
	font-weight: bold;
	color: inherit;
	}
	
A.kieli {
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
	background: rgba(255, 255, 255, 0.5);
	font-weight: normal;
	text-decoration: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	border-width: 1px;
	border-style: outset;
	border-color: rgba(0, 0, 0, 0.2);
	}
.linkit_sivuihin {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	display: block;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	min-height: 30px;
	text-align: center;
	color: rgb(11, 11, 97);
	font-size: 1.3em;
	font-weight: 400;
	padding: 2px;
	text-decoration: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	border-style: solid;
	border-color: rgba(255, 120, 00, 0.0);
	border-width: 1px;
	border-radius: 5px;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
	}
.linkit_sivuihin:hover {
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
	border-style: solid;
	border-color: rgba(61, 61, 157, 1.0);
	border-width: 1px;
	border-radius: 5px;
	background-color: rgba(11, 11, 97, 0.05);
	}

a.linkit_ulos {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	display: block;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	min-height: 30px;
	text-align: center;
	color: rgb(61, 61, 157);
	font-size: 1.3em;
	font-weight: normal;
	padding: 2px;
	text-decoration: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	border-style: solid;
	border-color: rgba(255, 120, 00, 0.0);
	border-width: 1px;
	border-radius: 5px;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
	}
a.linkit_ulos:hover {
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
	border-style: solid;
	border-color: rgba(61, 61, 157, 1.0);
	border-width: 1px;
	border-radius: 5px;
	background-color: rgba(11, 11, 97, 0.05);
	}

a.hallintalinkit {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	display: block;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	min-height: 30px;
	text-align: center;
	font-size: 1.3em;
	font-weight: normal;
	padding: 2px;
	text-decoration: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	border-style: solid;
	border-color: rgba(255, 120, 00, 0.0);
	border-width: 1px;
	border-radius: 5px;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
	background-color: rgba(255, 120, 00, 0.8);
	}
a.hallintalinkit:hover {
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
	border-style: solid;
	border-color: rgba(255, 120, 00, 1.0);
	border-width: 1px;
	border-radius: 5px;
	background-color: rgba(255, 120, 00, 1.0);
	}

	
A.toimintopainike {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	color: rgb(11, 11, 91);
	text-shadow: 0px 0px 0px #000000;
    font-size: 1em;
    background: rgba(255, 150, 0, 0.9);
    border-color: rgba(255, 150, 0, 0.9);
    border-width: 1px;
    border-style: outset;
	border-radius: 5px;
    margin: 5px;
    padding-left: 5px;
    padding-right: 5px;
	text-decoration: none;
	line-height: 25px;
	}

A.toimintopainike:hover {
    border-style: inset;
	}


.nappi {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	color: rgb(11, 11, 91);
	text-shadow: 0px 0px 0px #000000;
    font-size: 1em;
    background: rgba(255, 150, 0, 0.9);
    border-color: rgba(255, 150, 0, 0.9);
    border-width: 1px;
    border-style: outset;
	border-radius: 5px;
    margin: 15px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
	text-decoration: none;
	line-height: 100%;
	}

.nappi:hover {
    border-style: inset;
	}

div.login_form {
	}
	
#login1 {
	display: none;
	}

DIV.lomake {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	padding: 5px;
	width: 95%;
	font-size: 1em;
	text-decoration: none;
	text-align: left;
	border-collapse: collapse;
	}

DIV.lomake_rivi {
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #FFFFFF;
	}

.lomake_sarake {
	font-weight: normal;
	vertical-align: middle;
	}

DIV.linkit {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	padding: 5px;
	width: 95%;
	font-size: 1em;
	text-decoration: none;
	text-align: left;
	border-collapse: collapse;
	}

DIV.linkki {
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #FFFFFF;
	}

.linkki_selite {
	font-size: 0.8em;
	font-weight: normal;
	}

.linkki_kontrollit {
	font-size: 0.8em;
	}

table.lomake {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	font-size: 1.0em;
	color: rgb(11, 11, 97);
	text-decoration: none;
	text-align: left;
	background: rgba(255, 150, 0, 0.2);
	border-collapse: collapse;
	border-width: 2px;
	border-style: solid;
	border-color: rgba(255, 150, 0, 0.9);
	border-radius: 5px;
	}

tr.lomake {
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: rgba(255, 150, 0, 0.3);
	}

tr.lomake_otsikko {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
	text-align: center;
	font-weight: strong;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFF00;
	}

tr.lomake_header {
	background: rgba(255, 255, 255, 0.3);
	color: #FFFFFF;
	text-align: center;
	font-weight: strong;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFF00;
	}

td.lomake_muutto_muu {
	background: #FFFF00;
	}

div.ohje {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 90%;
	font-size: 1em;
	text-decoration: none;
	text-align: left;
	border-collapse: collapse;
	border-radius: 5px;
	padding: 5px;
	background: rgba(11, 11, 91, 0.1);
	box-shadow: 3px 3px 6px rgba(0,0,0,0.5);
	}

tr.talonkirjat {
	border-top-width: 1px;
	border-top-style: dashed;
	border-top-color: #FFFFFF;
	}

table.kiinteistot {
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	font-size: 1em;
	text-decoration: none;
	text-align: left;
	}

table.alaosa {
	width: 100%;
	vertical-align: top;
	text-align: center;
	padding: 2px;
	border-collapse: collapse;
	line-height: 120%;
	}

td.alaosa {
	vertical-align: top;
	border-right-collapse: collapse;
	}

A.alaosa {
	text-decoration: none;
	color: inherit;
	}
	
input.lomake_text {
	font-family: 'Alef', sans-serif;
    font-size: 1em;
	text-align: left;
	color: rgb(11, 11, 97);
    background-color: rgba(0, 0, 255, 0.1);
    border-width: 1px;
	border-style: inline;
    border-color: rgba(255, 255, 255, 0.7);
	text-shadow: 1px 1px 2px rgba(0, 0, 255, 0.3);
	box-shadow: inset 1px 1px 4px rgba(0,0,0,0.3);
	}
	
input.lomake_text_100 {
	font-family: 'Alef', sans-serif;
    font-size: 1em;
	text-align: left;
	width: 100%;
	color: rgb(11, 11, 97);
    background-color: rgba(0, 0, 255, 0.1);
    border-width: 1px;
	border-style: inline;
    border-color: rgba(255, 255, 255, 0.7);
	text-shadow: 1px 1px 2px rgba(0, 0, 255, 0.3);
	box-shadow: inset 1px 1px 4px rgba(0,0,0,0.3);
	}

select.lomake {
	font-family: 'Alef', sans-serif;
    font-size: 1em;
	text-align: left;
	color: rgb(11, 11, 97);
    background-color: rgba(0, 0, 255, 0.1);
	text-shadow: 1px 1px 2px rgba(0, 0, 255, 0.3);
    border-width: 1px;
	border-style: solid;
    border-color: rgba(255, 255, 255, 0.7);
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
	box-shadow: inset 1px 1px 4px rgba(0,0,0,0.3);
	}

textarea.lomake {
	font-family: 'Alef', sans-serif;
    font-size: 1em;
	text-align: left;
	width: 97%;
	color: rgb(11, 11, 97);
    background-color: rgba(0, 0, 255, 0.1);
    border-width: 1px;
	border-style: inline;
    border-color: rgba(255, 255, 255, 0.7);
	text-shadow: 1px 1px 2px rgba(0, 0, 255, 0.3);
	box-shadow: inset 1px 1px 4px rgba(0,0,0,0.3);
	}

MARQUEE.scrolli {
	height: 30px;
    font-size: 1.2em;
    margin: 0px;
	line-height: 130%;
	vertical-align: bottom;
	}

IMG.skaalattu_kuva_100 {
	max-width : 100%;
	max-height : auto;
	}
IMG.skaalattu_kuva_80 {
	max-width : 80%;
	max-height : auto;
	}
IMG.skaalattu_kuva_50 {
	max-width : 50%;
	max-height : auto;
	}
table.kaannos {
	width: 100%;
	}
tr.kaannos {
	}
td.kaannos_otsikko {
	padding: 5px;
	background: rgba(255, 255, 255, 0.3);
	border-width: 1px;
	border-color: rgba(255, 255, 255, 0.5);
	border-style: solid;
	}

td.kaannos {
	padding: 5px;
	background: rgba(255, 255, 255, 0.1);
	border-width: 1px;
	border-color: rgba(255, 255, 255, 0.3);
	border-style: solid;
	}

td.kaannos_iso {
	width: 45%;
	padding: 5px;
	background: rgba(255, 255, 255, 0.1);
	border-width: 1px;
	border-color: rgba(255, 255, 255, 0.3);
	border-style: solid;
	}

video.etusivun_video {
	width: 100%;
	max-width: 600px;
	height: auto;
	}
	
div.etusivun_video {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	padding: 5px;
	width: 80%;
	background-color: rgb(0, 0, 0);
	max-width: 500px;
	box-shadow: 5px 5px 4px rgba(0,0,0,0.7);
	}