@charset "UTF-8";

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small,
strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, figcaption, figure, footer, header, hgroup, menu, nav,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}


blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}


table {
	border-collapse: separate;
	border-spacing: 0 1em;
}

td {
	line-height: 1.5em;
}

td:first-child {
	padding: 0 4em 0 0;
}


hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}


input,
select {
	vertical-align: middle;
}


body {
	line-height: 1;
	font-family: "Roboto", Arial, sans-serif;
	color: #000;
	background-color: #fff;
	padding: 1em;
	text-align: center
}


header {
	margin: 0 0 1em;
}

header div + div {
	background: url(/images/flug_banner.png) center no-repeat, url(/images/flug_logo_h90.png) right no-repeat;
	height: 90px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	color: #005cd1;
	text-transform: uppercase;
}

h1 {
	margin: 1.7em 0 1em;
	font-size: 1.5em;
}

h1.header {
	margin: 0.5em 0 1em;
}

h1 span {
	font-size: 80%;
}

h1 a {
	color: #005cd1;
	text-decoration: none;
	display: none;
}

h1 a:after {
	content: " » ";
}

h1:hover a {
	display: inline-block;
}

h1 a:hover {
	text-decoration: underline;
}

h1 > a {
	font-size: 50%;
}

h1 > a + a {
	font-size: 75%;
}

h2,
h3 {
	margin: 1.7em 0 1em;
}

h2,
h2.merkit,
h3.merkit {
	font-size: 1.3em;
}

h2.header {
	margin: 0.1em 0 0.5em;
}

h2 span {
	font-size: 70%;
}

h3,
h4,
h5,
h6 {
	margin: 1.5em 0;
	font-size: 1em;
}

section.arkisto h3 {
	margin: 2.5em 0 1em;
}

.avustukset h4 {
	margin: 1.5em 0 0.5em 2em;
}


#toggler,
#menu-toggle,
.sub-toggler,
.submenu-toggle {
	display: none;
}


nav {
	background-color: #eee;
}

nav header {
	display: none;
}

nav ul {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-width: 1000px;
	text-align: left;
}

nav li {
	display: inline-block;
	padding: 0.5em 0.7em;
	font-size: 1.2em;
}

nav li#open {
	background: #005cd1;
}

nav li#open a {
	color: #fff;
}

nav li#open li a {
	color: #005cd1;
}

nav li:hover {
	background-color: #fff;
}

nav li a:hover {
	text-decoration: none;
}

nav li ul {
	position: absolute;
	display: none;
	border: 1px solid #005cd1;
	border-top: 0 none;
	background-color: #fff;
	width: auto;
}

nav li:hover ul {
	z-index: 1;
	display: table;
	position: absolute;
	margin: 0.5em 0 0 -0.7em;
}

nav li li {
	display: block;
	font-size: 100%;
	padding: 0;
	margin: 0;
}

nav li li:hover {
	background: #eee;
}

nav li li a {
	display: block;
	padding: 0.5em 0.7em;
	border-bottom: 1px dashed #ccc;
}

nav li li:last-child a {
	border-bottom: 0 none;
}


#columns {
	max-width: 1000px;
	border-bottom: 1px solid #aaa;
	margin: 0 auto;
	padding: 0 0 1.5em;
	display: block;
}

#columns:after {
	content: "";
	display: table;
	clear: both;
}


section {
	width: 75%;
	max-width: 600px;
	text-align: left;
	background-color: #fff;
	float: left;
}

section ul {
	list-style-position: outside;
	font-size: 110%;
	margin-left: 1em;
	margin-bottom: 1em;
}

section li {
	line-height: 1.5em;
}


aside {
	width: 25%;
	max-width: 450px;
	text-align: left;
	float: right;
	hyphens: auto;
	/* word-wrap: break-word; */
}

aside a,
aside h3,
aside h4,
aside h5,
aside span {
	hyphens: none;
}

aside h3 {
	padding: 0 0 0.5em;
	border-bottom: 1px solid #005cd1;
}

aside h4:first {
	margin: 2.5em 0 0;
}

aside p + h4,
aside p + h5 {
	margin: 2.5em 0 1.5em;
}

aside ul {
	list-style-position: outside;
	font-size: 1.1em;
	margin: 0 0 1em 1em;
}

aside li {
	line-height: 1.5em;
}

aside p.indent {
	margin: 0 0 1em 1em;
}

aside p + p.indent {
	margin: -1em 0 1em 1em;
}

aside i {
	font-size: 80%;
	color: #666;
}


p {
	font-size: 1.1em;
	margin: 0 0 1.2em;
	line-height: 1.5em;
}

.avustukset h4 + p {
	margin: 0 0 1.2em 2em;
}


a:link,
a:visited {
	text-decoration: none;
	color: #005cd1;
}

a:hover {
	text-decoration: underline;
}

a.pdf {
	background: url(/images/pdf.gif) 0 50% no-repeat;
	font-size: 80%;
	padding-left: 25px;
}


address {
	font-size: 110%;
	line-height: 1.5em;
}

p  + address {
	margin: -1em 0 1em;
}


ol.outer,
ol.inner,
ul.outer,
ul.inner {
	list-style-position: outside;
}

ol.outer,
ul.outer {
	margin-left: 1em;
	font-size: 110%;
}

ol.inner,
ul.inner {
	font-size: 100%;
}

ol.inner,
ul.inner {
	margin: 0 0 1em 4em;
}

ol.outer p,
ol.inner p {
	font-size: 100%;
	margin-left: 4em;
}

ol.outer p {
	margin-left: 3em;
}

ol.outer li p:first-child,
ol.inner li p:first-child {
	margin-top: 1em;
}

ol.outer + p {
	margin-top: 1.5em;
}

ol.saannot li p:first-child {
	font-weight: bold;
}



footer {
	width: 90%;
	max-width: 1000px;
	margin: 1.5em auto;
	font-size: 90%;
	text-align: left;
}

footer div {
	text-align: center;
}

footer img {
	padding: 0.5em 1em 0 0;
}


form div {
	margin: 0 0 1em;
}

form label {
	display: block;
	margin: 0 0 0.25em;
}

form input {
	width: 100%;
	border: 1px solid #aaa;
	padding: 0.5em;
	font-size: 100%;
}

form input[type=text]:focus,
form input[type=email]:focus {
	border: 1px solid #666;
	-webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 3px 1px rgba(0,0,0,0.5);
	box-shadow: 0 0 3px 1px rgba(0,0,0,0.5);
}

form input[type=radio] {
	width: auto !important;
	border: none;
	margin: 0 0.5em 0 0;
}

form input[type=radio] + label {
	display: inline-block;
	margin: 0 1em 0 0;
}

form input[type=submit] {
	width: auto !important;
	border: none;
	padding: 0.75em;
	font-weight: bold;
	background-color: #005cd1;
	color: #fff;
}

form legend {
	font-weight: bold;
	margin: 1em 0;
	text-transform: uppercase;
}

.form-required,
.virhe {
	color: #f00;
}

img.left {
	float: left;
	margin: 0 2em 2em 0;
	vertical-align: top;
}

.right {
	float: right;
}

.huom {
	background-color: #f7f388;
	color: #c20c34;
	padding: 0.1em 0.3em;
}

.kuvateksti {
	font-size: 80%;
	font-style: italic;
	padding: 0.5em 0 0;
}

code {
	background-color: #f0f0f0;
	border: 1px solid #e6e6e6;
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	border-radius: 0.25em;
	padding: 0.2em;
	line-height: 1.5em;
}


@media only screen and (min-width: 768px) and (max-width: 959px) {


	section {
		width: 74%;
	}

	aside {
		width: 24%;
		font-size: 90%;
	}
	
}


@media only screen and (max-width: 767px) {

	header div + div {
		background: url(../images/flug_banner.png) center top no-repeat;
		height: 62px;
	}

	header,
	nav,
	#columns,
	section,
	aside,
	footer {
		float: none;
		margin-right: auto;
		margin-left: auto;
		width: 100%;
		max-width: none;
	}

	aside {
		border-top: 1px solid #aaa;
		padding: 1em 0 0;
	}


	footer a {
		float: none !important;
	}

	#toggler {
		display: block;
		cursor: pointer;
		height: 43px;
		line-height: 43px;
		background: #005cd1 url(/images/navi_bg_o.gif) repeat-x;
	}

	#toggler img {
		float: right;
	}

	#menu-toggle,
	nav {
		display: none;
	}

	#menu-toggle:checked + nav {
		display: block;
		float: right;
		margin: 0 10px;
		z-index: 99;
		background: none;
		position: relative;
	}

	nav ul {
		position: absolute;
		float: right;
		list-style-type: none;
		top: 0;
		right: -10px;
		width: 100% !important;
		z-index: 100;
		background-color: #fff;
		border: 1px solid #005cd1;
		border-top: 0 none;
	}

	nav li ul {
		display: block;
		position: relative !important;
		float: none !important;
		margin: 0 0 0 -0.5em;
		padding: 0;
		border: 0 none;
	}		

	nav li {
		display: block;
		width: auto;
		float: none !important;
		clear: left;
		font-size: 1.2em;
		padding: 0;
		background: #fff none;
		white-space: nowrap;
	}

	nav li a {
		display: block;
		margin: 0;
		padding: 0.5em;
		font-weight: bold;
		border-bottom: 1px dashed #ccc;
	}

	nav li:last-child a {
		border-bottom: 0 none;
	}

	nav li li:last-child a {
		border-bottom: 1px dashed #ccc;
	}

	nav li#open {
		background: #005cd1;
	}

	nav li#open a {
		color: #fff;
	}

	nav li:hover {
		background: #eee;
	}

	nav li:hover ul {
		margin: 0 0 0 -0.5em;
	}

	nav li li a:before {
		content: "» ";
	}

	nav li li,
	nav li li a {
		font-size: 1em;
	}

	label u {
		text-decoration: none;
	}

}


@media only screen and (min-width: 320px) and (max-width: 479px) {

	header div + div  {
		background: url(/images/flug_banner_320.png) center top no-repeat;
		height: 38px;
	}

}


@media only screen and (min-width: 480px) and (max-width: 540px) {

	header div + div {
		background: #fff url(/images/flug_banner_480.png) center top no-repeat;
		height: 57px;
	}

}

@media only screen and (min-width: 2880px) {

	body {
		font-size: 1.2em;
	}

	#columns,
	section,
	aside {
		max-width: none;
	}

	#columns {
		width: 90%;
	}

}
