﻿ /* CSS layout */
p, h1, h2, h3, h4, h5, h6 {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}


body {
	margin: 0px;
	color: #4F3A33;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}
h1 {
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 3.75rem;
	text-align: center;
	color: #646B86;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

h2 {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 2rem;
	color: #646B86;
	text-transform: none;
	text-align: center;
	letter-spacing: 0.05rem;
	font-weight: normal;
	line-height: 3.75rem;
}
h3 {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 2.6rem;
	letter-spacing: 0.1rem;
	background-color: #FAFAFA;
	background: linear-gradient(to bottom, #ffffff, #F3F6F7, #ffffff);
	column-span: all;
	padding: 1.5rem;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #C5D1D7;
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: #C5D1D7;
}
h4 {
	font-size: 1.6rem;
	letter-spacing: 0.1rem;
	font-weight: bold;
	line-height: 2.6rem;
	vertical-align: top;
}
h5 {
    font-size: 0.773rem;
    font-weight: normal;
    line-height: 2rem;
}
h6 {
    font-size: 0.58rem; 
    font-weight: normal;
    line-height: 2rem;
}
p {
	padding: 0rem 0rem 1.5rem 0rem;
	margin: 0rem;
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 2.4rem;
}


a {
	padding: 0px;
	margin: 0px;
/*	font-size: 1.6rem; */
	font-weight: normal;
	line-height: 2.4rem;
}

ul {
	padding: 0rem 0rem 1.5rem 1.5rem;
	margin: 0px;
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 2.4rem;
}

ol {
	padding: 0rem 0rem 1.5rem 2rem;
	margin: 0rem;
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 2.4rem;
}

li {
	margin: 0px;
	padding: 0rem 0rem 0.0rem 0rem;
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 2.1rem;
}


.content-wrapper {
	margin-right: auto;
	margin-left: auto;
	min-width: 21rem;
	max-width: 90rem;
}


#masthead {
	padding: 10px 0px 20px 0px;
	vertical-align: middle;
	text-align: center;
}

/* Add a black background color to the top navigation */
.topnav {
	display: block;
	text-align: center;
    font-weight: normal;
	color: #4F3A33;
}

/* Style the links inside the navigation bar */
.topnav a {
	border: 1px solid #F0F3F4;
    padding: 0.1rem 0.5rem 0.1rem 0.5rem;
   	font-size: 1.4rem;
    line-height: 2.2rem;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
	color: #646B86;
}
/* Add a color to the active/current link */
.topnav a.active {
	color: #4F3A33;
	border: 1px solid #646B86;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #4F3A33;
    color: White;
   	border: 1px solid #ffffff;
}


#page_content {
	margin-right: auto;
	margin-left: auto;
    padding: 1rem; /*	margin: 0px 20px 0px 20px; */;
	background: #ffffff;
}

#footer {
	margin: auto;
	font-size: 1.2rem;
	font-weight: normal;
	line-height: 1.8rem;
	color: #646B86;
	padding-top: 0rem;
	padding-right: 1rem;
	padding-bottom: 3rem;
	padding-left: 1rem;
}


#varia {
	margin: auto;
	background: linear-gradient(to bottom, #ffffff 0%, #C5D1D7 100%);
	border-color: #646B86;
	border-top-style: solid;
	border-top-width: 1px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding-bottom: 2rem;
	padding-top: 1rem;
	padding-right: 1rem;
	padding-left: 1rem;
}
#variy {
	margin: auto;
	padding: 1rem;
/*	box-shadow: 5px 5px 5px; */
/*	border-radius: 10px 10px 0px 0px; */
	background: linear-gradient(to bottom, #C5D1D7 0%, #ffffff 100%);
	border-color: #646B86;
	border-top-style: solid;
	border-top-width: 1px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}


.V-mid {
	vertical-align: central;
	width: 15rem;
}

.kuva {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 100%;
	display: block;
}


.ikoni {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 40%;
	display: block;
}

.kuvateksti {
	margin: 0px auto 1.5rem auto;
	padding: 0px 0px 0px 0px;
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 2.1rem;
	font-style: italic;
}
.kuvateksti2 {
	padding: 0.5rem 0rem 0rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 80%;
	display: block;
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 2.1rem;
	font-style: italic;
	text-align: center;
}

.pieni {
/*	padding-top: 1rem; */
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 2.1rem;
}
.kuvah40 {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-height: 10rem;
	max-width: 100%;
	display: block;
}

.kuva40 {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 40%;
	display: block;
}

.kuva40s {
	padding: 0rem 0rem 0rem 0rem;
	box-shadow: 10px 10px 25px #888888;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1rem;
	max-width: 40%;
	display: block;
}


.kuva60 {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 60%;
	display: block;
}

.kuva60s {
	padding: 0rem 0rem 0rem 0rem;
	box-shadow: 15px 15px 25px #888888;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1rem;
	max-width: 60%;
	display: block;
}

.kuva80 {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 80%;
	display: block;
}

.kuva80s {
	padding: 0rem 0rem 0rem 0rem;
	box-shadow: 10px 10px 25px #888888;
	margin-right: auto;
	margin-left: auto;
	margin-top: 1rem;
	margin-bottom: 1rem;
	max-width: 80%;
	display: block;
}

.kuva95 {
	padding: 0rem 0rem 0.5rem 0rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 95%;
	display: block;
}

.kuva95s {
	padding: 0rem 0rem 0rem 0rem;
	box-shadow: 10px 10px 25px #888888;	
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1rem;
	max-width: 95%;
	display: block;
}

.isokuva {
	margin-right: auto;
	margin-left: auto;
	max-width: 100%;
	display: block;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.tervetuloa {
	text-align: center;
	margin: 0px;
	padding: 30px 100px 30px 100px;
	color: #646B86;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
}
.bullet {
	list-style-type: disc;
}
.bullet2 {
	list-style-type: circle;
}
.linkkiul {
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 3rem;
}

.painike {
	display: block;
	width: 150px;
	margin-bottom: 10px;
}
.painike:hover {
	box-shadow: 5px 5px 10px #000000;
	display: block;
}

.painike2 {
	padding: 1.5rem 0.5rem 0.5rem 0.5rem;
	display: block;
	margin-right: auto;
	margin-left: auto;
	max-height: 12rem;
	max-width: 90%;
	bottom: 20px;
}
.painike2:hover {
	box-shadow: 5px 5px 10px #000000;
	display: block;
}


.linkki {
	font-size: 1.4rem;
	padding: 0px;
	margin: 0px;
	color: #0000FF;
	letter-spacing: 0.05rem;
	text-decoration: none;
	font-weight: normal;
}

.linkki:hover {
	color: #FFFFFF;
	box-shadow: 0px 0px 6px 0px #0000FF;
	background-color: #0000FF;
}

.kaksipalstaa {
	/* Standard syntax */
	column-count: 2;
	column-width: 33rem;
	column-gap: 2rem;
	column-rule: 1px solid #C5D1D7;
}

.yksipalsta {
	/* Standard syntax */
	column-count: 1;
	column-rule: 1px solid #C5D1D7;
}

.kasky {
	margin: 0px;
	font-size: 1.4rem;
	background-color: #F0F0F0;
	list-style-type: circle;
	font-style: italic;
	word-wrap: break-word;
	padding-top: 0.5rem;
	padding-right: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 2.5rem;
}

.kaava {
	margin: 0px;
	line-height: 4rem;
	font-size: 1.4rem;
	background-color: #F0F0F0;
	list-style-type: none;
	font-style: normal;
	word-wrap: break-word;
	font-weight: bold;
}

.selite {
	padding: 0px;
	font-size: 1.4rem;
	background-color: #F0F0F0;
	list-style-type: none;
	font-style: normal;
	word-wrap: break-word;
	margin-left: 5rem;
}


.pitkapolku {
	font-size: 1.4rem;
	background-color: #FAFAFA;
	list-style-type: circle;
	font-style: normal;
	word-wrap: break-word;
}
.numerolista {
	font-size: 1.4rem;
	line-height: 2.1rem;
	margin-top: 0rem;
}
.pitka {
	word-wrap: break-word;
}
.paivays {
	font-size: 1rem;
	font-style: italic;
	line-height: 1.5rem;
}

/*Floating Back-To-Top Button*/
.top {
	border-radius: 10px;
	position: fixed;
	bottom: 0.5rem;
	float: right;
	right: 0.5rem;
	max-width: 10rem;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: 0px solid #4F3A33;
	padding: 0rem;
	background-color: #F3F6F7;
}
.top a {
	transition-duration: 0.5s;
	box-shadow: 2px 2px 6px #646B86;
	border-radius: 10px;
	text-decoration: none;
	color: #4F3A33;
	font-size: 1rem;
	font-weight: bold;
	padding: 0.6rem;
}
.top a:active {
	font-size: 1.2rem;
	background-color: #F3F6F7;
	color: #4F3A33;
}

/*On Hover Color Change*/
.top a:hover {
	background-color: #4F3A33;
	color: #ffffff;
}	

html {
  scroll-behavior: smooth;
}
.SubScript {
	font-size: 60%;
}
.linkkino:hover {
	box-shadow: 2px 2px;
	color: #ff0000;
	font-weight: normal;
}
