

body {
	background-color: #000;
    color: #FF6600;
	font-size: 80%; /* Base font size: 14px */
	font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	line-height: 1.3;
	margin: 0;
	padding: 0;
	text-align: left;
	}
	
.body {
	clear: both; 
	margin: 0 auto; 
	width: 90%;
	max-width: 1200px;
}

h2 {font-size: 1.6em}	/* 22px */
h3 {font-size: 1.4em}	/* 20px */
h4 {font-size: 1.3em}	/* 18px */
h5 {font-size: 1.1em}	/* 16px */
h6 {font-size: 1em}		/* 14px */

h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 0.4em;
	color: #FF6600;
}

.mainHeader img {
	width: 100%;
	height: auto;
	margin: 0 0;
}


.mainNav {
	background: #666;
	font-size: 1.1em;
	height: 40px;
	text-align: center;
	margin-bottom: 2px;
}

.mainNav ul {
	margin:0;
	padding:0;
	position: absolute;
	text-decoration: none;
}

.mainNav ul li{
    color: #FFF;
    cursor: pointer;
	min-width: 150px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	text-decoration: none;
}

.mainNav li {
	float: left;
	background: #666; 
	display: inline;
	border-right: 2px solid #000;
	text-decoration: none;
}

.mainNav li a {
	display:block;
	color: #fff;;
	text-decoration: none;
}

.mainNav li:hover a {
	color: #000;
	background-color: #A2A2A2;
	text-shadow: none !important;
	text-decoration: none;
	padding: 0;
	margin: 0;
}


.mainNav .active {
	background: #FF6600;
	color: #CCC;
	text-shadow: none !important;
	-webkit-tap-highlight-color: #FF6600;
	*pointer-events: none !important;
}

.mainNav li:hover ul a {
	background: #666;
	color: #fff;
}

.mainNav li:hover ul a:hover {
	color: #000;
	background-color: #A2A2A2;
	text-shadow: none !important;
}

.mainNav li ul {
	display: none;
}

.mainNav li ul li {
	display: block;
	border-bottom: 2px solid #000;
	clear:both;
}

.mainNav li ul li a {
	width: 150px;
}

label{
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label:hover {
	color: #000;
	background-color: #A2A2A2;
	text-shadow: none !important;
}

#menu {
    display: none;
}

#menu:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#menu:checked ~ ul {
    display: block;
}


#historia {
    display: none;
}

#historia:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#historia:checked ~ ul {
    display: block;
}

#tilastoja {
    display: none;
}

#tilastoja:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#tilastoja:checked ~ ul {
    display: block;
}

#julkaisut {
    display: none;
}

#julkaisut:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#julkaisut:checked ~ ul {
    display: block;
}

#vuosiluku {
    display: none;
}

#vuosiluku:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

.triangel {
	color: #CCC;
	font-size: 1em;
	padding-left: 3px;
}

#vuosiluku:checked ~ ul {
    display: block;
}

.mainContent {
	width: 100%;
	float: left;
	overflow: hidden;
	line-height: 25px;
	
}

.LeftContent {
	background-color: #000;
	margin-bottom: 0;
	display: block;
	height: auto;
}

.otsikkoInfo {
	height: auto;
	color: #fff;
	margin: 10px auto 0px auto;
	padding: 1% 4%;
	display: block;
	border: 1px solid #FF6600;
	line-height: 25px;
}

#selitys {
	color: #00FF00;
}


#nimi {
	color: #FF6600;
}



/* end of Content Area */


/* Footer */

.mainFooter {
	width: 100%;
	float: left;
	color: #FFF;
	text-align: center;
	margin-top: 1%;
	padding-left: 0;
	background-color: #666;			
}

.mainFooter p {
	width: 91%;
	margin: 1% auto;
}

/* end of Footer */

/* Media Queries */

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

.body {
	width: 100%;
	font-size: 75%;
	-webkit-text-size-adjust: none;
	text-align: left;
}

.mainHeader img {
	width: 95%;
}

#historia:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#historia:checked ~ ul {
    display: block;
}

#tilastoja:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#tilastoja:checked ~ ul {
    display: block;
}

#julkaisut:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#julkaisut:checked ~ ul {
    display: block;
}

#vuosiluku:checked ~ label {
	border-bottom: 1px solid #000;
	background: #FF6600;
}

#vuosiluku:checked ~ ul {
    display: block;
}

.mainNav {
	height: 60px;
	*font-size: 105%;
}

.mainNav ul {
	display: block;
	position: absolute;
	width: 100%;
}

.mainNav ul li{
    cursor: pointer;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	position: static;
	border-bottom: 1px solid #000;
}

.mainNav li {
	width: 100%;
}

.mainNav li a {
	line-height: 30px;
}

.mainNav li:hover ul a {
	height: 30px;
	line-height: 30px;
}
		
.mainNav li ul li a {
	margin: 0;
}

.mainNav li ul li {
	border-bottom: 1px solid #000;
}
	
.mainNav a:link, .mainNav a:visited {
	height: 30px;
	width: 100%;
}
	
.mainNav a:active,
.mainNav .active a:link, .mainNav .active a:visited {
	text-shadow: none;
}

#triangel {
	font-size: 0.9em;
	padding-left: 3px;
}

	
.mainContent {
	width: 100%;
	float: left;
	overflow: hidden;
	line-height: 25px;
}

.leftContent {	
	background-color: #000;
	padding: 0 5%;
	margin-bottom: 0;
	width: 90%;
}

.otsikkoInfo {
	width: 90%;
}
	
.mainFooter {
	margin: 2% 0;	
}
	
.mainFooter p {
	width: 86%;
	margin: 2% auto;
	}
	

}
