body{
	font-family: Verdana, Arial, Sans-serif;
	font-size: 10pt;
}
a {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: none;
}
a:focus {
	color: #000;
	text-decoration: none;
}
h1 {
	font-size: 2.5em;
	font-weight: bolder;
	line-height: 3.5em;
	margin: 0px;
	margin-left: 1em;
}
h2 {
	font-size: 1.5em;
	font-weight: bolder;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
img {
	border: 0px;
}


#sivu {
	width: 780px;
	margin: auto;
}
#sivu>div {
	clear: both;
}

#otsikko {
	padding: 30px;
	overflow: auto;
}
#otsikko>* {
	float: left;
}
#otsikko img {
	height: 9em;
}

#laatikot {

}
#laatikot>div {
	float: left;
	width: 260px;
}
#laatikot>div a:first-of-type>div {
	height: 450px;
}
#laatikot>div a:last-of-type>div {
	height: 180px;
}
#laatikot div:only-of-type {
	padding: 10px;
	margin: 5px;
	padding-bottom: 2em;
	color: #EEE;
	position: relative;
}
#laatikot>div div>span {
	display: block;
	position: absolute;
	top: inherit;
	bottom: 1em;
	right: 1em;
	width: 1em;
	height: 1em;
}
#laatikot>div div:hover>span {
	color: #5AF;
}
#sivu div:only-of-type:hover {
	opacity: 0.8;
}

#tapahtuma-logot {
	min-height: 10px;
	padding: 20px;
	text-align: center;
}
#tapahtuma-logot div {
	display: inline-block;
	padding: 20px;
	text-align: center;
	font-weight: bold;
}
#tapahtuma-logot div:hover {
	opacity: 0.8;
}
#tapahtuma-logot img {
	max-height: 100px;
}

.partio div {
	background-color: #A70;
}
.suunnistus div {
	background-color: #333;
}
.soitto div {
	background-color: #48B;
}

@media only screen and (max-width: 788px) {
	body {
		font-size: 11pt;
	}
	h1 {
		line-height: initial;
		font-size: 2em;
		margin: 10px;
	}
    #sivu {
		width: auto;
	}
	#sivu>div {
		overflow: auto;
	}
	#otsikko {
		text-align: center;
		overflow: visible;
	}
	#otsikko>* {
		float: none;
	}
	#laatikot>div {
		width: inherit;
		height: auto;
	}
	#laatikot div:only-of-type {
		width: inherit;
		margin: 0px;
		margin-bottom: 2px;
	}
	#laatikot>div div {
		height: auto !important;
	}
}