@charset "UTF-8";
/* CSS Document */

body {
	display: grid;
	height: 100vh; /* sisältä selainikkunan korkuinen */
	grid-template: auto 1fr auto / minmax(200px, 20%) 1fr auto;
	max-width: 1200px;
	margin: auto;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 0.95em;
	line-height: 1.3em;
}

/* LAYOUT */
header {
	padding-bottom: 0rem;
	grid-column: 1 / 4;
	border-bottom: 1px solid #dddddd;
}
.left-sidebar {
	background: #ffffff;
	grid-column: 1 / 2;
	padding: 0rem;
}

main {
	grid-column: 2 / 3;
	padding: 1rem 0.5rem 0.5rem 0.5rem;
	max-width: 800px;
}

main-wide {
	grid-column: 2 / 3;
	padding: 1rem 0.5rem 0.5rem 0.5rem;
}

.right-sidebar {
	grid-column: 3 / 4;
	padding: 1rem;
	/* background-color: aliceblue; */
}

footer {
	margin-top: 0.25rem;
	padding-top: 0.5rem;
	padding-left: 0.5rem;
	grid-column: 1 / 4;
}

.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 1.5em;
}

.logo img {
	width: 300px;
}

/* PÄÄNAVI */
nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

nav ul li {
	display: inline;
	list-style-type: none;
	padding-right: 1.5em;
}

nav ul li a{
	text-decoration: none;
	font-family: 'Marvel', sans-serif;
	font-size: 1.2em;
	color: #303030;
}

/* SIVUNAVI */

.left-sidebar ul {
	padding: 0rem 1rem 1rem 1.5rem;
}
.left-sidebar ul li {
	list-style-type: none;
}
.left-sidebar ul li a {
	display: block;
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 0.95em;
	line-height: 1.4em;
	color: #303030 !important;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}

.left-sidebar ul ul {
	padding-top: 0.1rem;
	padding-bottom: 0.4rem;
}
.left-sidebar ul ul li {
	list-style-type: none;
}
.left-sidebar ul ul li a {
	display: block;
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 1em;
	line-height: 1.1em;
	color: #303030;
	padding-bottom: 0.6em;
}

/* FOOTERNAVI */
.footer-nav {
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	font-size: 0.95em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-nav ul li {
	display: inline;
	list-style-type: none;
	padding-right: 6px;
}

.footer-nav ul li a{
	text-decoration: none;
	color: #000000;
	line-height: 2em;
	font-family: 'Marvel', sans-serif;
	font-size: 1.1em;
}

.contact {
	display: flex;
	flex-flow: column wrap;
	height: 150px;
	align-content: flex-start;
	margin: 1.1rem;
	padding-top: 1rem;
}

.contact-item {
	flex: 0 0 auto;
	width: 360px;
	height: 50px;
	margin: 4px;
	font-family: 'Marvel', sans-serif;
	font-size: 1.1em;
	white-space: nowrap;
}

/* FONTIT JA LINKIT */
h1 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2.5em;
	font-weight: 300;
	line-height: 1em;
	color: #505050;
	padding: 0px;
	margin: 0px;
}

h2 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2.1em;
	font-weight: 300;
	line-height: 1em;
	color: #505050;
	margin-top: 0.8em;
	margin-bottom: 0px;
}

h3 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.7em;
	font-weight: 300;
	color: #454545;
	margin-bottom: 0px;
	padding: 0px;
}

h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.5em;
	font-weight: 300;
	color: #393939;
	margin-bottom: 0px;
	padding: 0px;
}

h4 small {
  font-size: 75%;
}

.thumbnail h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2em;
	font-weight: 300;
	color: #454545;
}

div.day {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.7em;
	font-weight: 300;
	color: #484848;
	margin-top: 1.25em;
	margin-bottom: 0.25em;
	padding: 0em;
}

.bigger-text {
	font-size: 120%;
	font-weight: 300;
	line-height: 1.3em;
}

.smaller-text {
	font-size: 90%;
	font-weight: 300;
	line-height: 1.3em;
}

.small-text {
	font-size: 80%;
	font-weight: 300;
	line-height: 1.3em;
}

.extraspacing-top {
	margin-top: 1em;
}

.spacing-top {
	margin-top: 0.4em;
}

.spacing-top-bottom {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.image-text {
	font-size: 85%;
	font-weight: 300;
	line-height: 1.3em;
	margin-top: 0px;
}

.anfangi {
	font-size: 1.2em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: lighter;
	color: #505050;
}

.red {
	font-size: 140%;
	font-weight: 700;
	color:#ff0000;
    background: none;
}

.full {
	font-size: 80%;
	font-weight: 700;
	color:#ff0000;
    background: none;
}

/* LINKIT */

a {
	outline: none;
	text-decoration: none;
	font-weight: 400
}

a:link {
	color: #EB4B05;
	
}
a:visited {
	color: #B43100;
}
a:hover {
	color: #303030;
	text-decoration: underline;
}
a:active {
	text-decoration: underline;
}

nav ul li a {
	color: #303030 !important;
}

nav ul li a.location{
	font-weight: bolder;
	color: #000000;
	border-bottom: 1px dotted;
}

.left-sidebar ul li a.location {
	font-weight: 600;
	color: #000000;
	text-decoration: underline;
	text-decoration-color: #A7A7A7; 
}

.left-sidebar ul ul li a.location {
	font-weight: 400;
	color: #000000;
	text-decoration: underline;
	text-decoration-color: #A7A7A7; 
}

.caption a {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.3em;
	font-weight: 300;
	color: #EB4B05;
		margin-bottom: 1em;
}

.contact a {
	color: #303030;
	text-decoration: none;
}

.contact a:hover {
	color: #303030;
	text-decoration: underline;
}

/* LISTAT */
main ol  {
	line-height: 1.3em;
}
main li  {
	margin-bottom: 0.5em;
}

.list-paragraph {
	line-height: 1.5em;
}


/* TUNTIEN ASETUKSET */

.heading-bg1 {
	width: 100%;
	height: 60px;
	margin: 0px;
	padding: 1px 0px  20px 0px;
	background-color: #B30006;
	
}

.heading-bg2 {
	width: 100%;
	height: 60px;
	margin: 0px;
	padding: 1px 0px  20px 0px;
	background-color: #F79300;
}

.heading-bg3 {
	width: 100%;
	height: 60px;
	margin: 0px;
	padding: 1px 0px  20px 0px;
	background-color: #8600D9;
}

.row h2 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2em;
	font-weight: 400;
	color: #ffffff;
	margin-left: 0.1em;
}

.row h3 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.1em;
	font-weight: 600;
	margin-top: 1.4em;
	margin-bottom: 0em;
	padding: 0em;
	color: #454545;
	margin-left: 0.3em;
}

.row h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.4em;
	font-weight: 600;
	margin-top: 1.4em;
	margin-bottom: 0em;
	padding: 0em;
	color: #2A2A2A;
	margin-left: 0.3em;
}

.row h5 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.25em;
	font-weight: 500;
	margin-top: 1em;
	margin-bottom: 0em;
	padding: 0em;
	color: #1E1E1E;
	margin-left: 0.3em;
}

.row p {
	font-size: 1em;
	margin-top: 0;
	padding-top: 0.2em;
	line-height: 1.4em;
	color: #1E1E1E;
	margin-left: 0.3em;
}

div.day {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.7em;
	font-weight: 300;
	color: #484848;
	margin-top: 1.25em;
	margin-bottom: 0.25em;
	padding: 0px;
	margin-left: 0.2em;
}

.emphasis {
	font-size: 100%;
	font-weight: 500;
}

.full {
	font-size: 90%;
	font-weight: 700;
	color: darkred;
}

em {
	font-size: 75%;
	font-weight: 300;
	font-style: normal;
}

hr {
	border-top: 1px dashed #D7D7D7;
	margin-top: 2em;
	margin-bottom: 0em;
	width: 95%;
	text-align:left;
	margin-left:5px;
}

/* YHTEYSTIETOJEN <p> */
.yhteys {
	margin-top: 0.5em;
	margin-bottom: 1.25em;
}

/* TUNTIPALSTAT */
* {
	box-sizing: border-box;
}

/* palstat toistensa vieressä */
.column1 {
	float: left;
	width: 33%;
	padding: 0px;
	margin-right: 0.33%;
	margin-bottom: 0.5em;
	border: 2px solid #B30006;
}
.column2 {
	float: left;
	width: 33%;
	padding: 0px;
	margin-right: 0.33%;
	margin-bottom: 0.5em;
	border: 2px solid #F79300;
}
.column3 {
	float: left;
	width: 33%;
	padding: 0px;
	margin-right: 0.33%;
	border: 2px solid #8600D9;
}

/* Clear floats palstojen jälkeen */
.row:after {
	content: "";
	display: table;
	clear: both;
}

/* KUVA-ASETTELUT */
.main-image {
	min-width: 360px;
	max-width: 100%;
	height: auto;
	border: 0px solid #8b8b8b;
	padding: 0px;
	margin-bottom: 1em;
}

.img_f-right {
	float: right;
	border: 0px solid #8b8b8b;
	padding: 0px;
	margin-left: 15px;
	margin-bottom: 15px;
	background-color: #ffffff;
}

.img_left {
	float: left;
	border: 0px solid #8b8b8b;
	padding: 0px;
	margin-right: 15px;
	margin-bottom: 15px;
	background-color: #ffffff;
}

.box_pic_left {
float: left;
font-size: .9em;
margin: 0 10px 5px 0;
padding: 5px;
text-align: center;
}

.box_pic_center {
font-size: .9em;
margin: 5px 0 5px 0;
padding: 5px;
text-align: center;
}

.box_pic_right {
	float: right;
	font-size: .9em;
	margin: 0 0 5px 10px;
	padding: 5px;
	text-align: center;
}


/* stackaysleveys, palstat päällekkäin */
@media screen and (max-width: 900px) {
.column1 {
    width: 96%;
  }
.column2 {
    width: 96%;
  }
.column3 {
    width: 96%;
  }
}

@media only screen and (min-width: 631px) {
	.mobnav { display: none;} 
}

@media (max-width: 630px){
nav { display: none; }

.left-sidebar {display: none;}

main {
	grid-column: 1 / 3;
	padding: 1rem 1.5rem 0rem 1.5rem;
}

main-wide {
	grid-column: 1 / 3;
	padding: 1rem 1.5rem 0rem 1.5rem;
}

.logo img {
	width: 180px;
}

.contact {
	display: flex;
	flex-flow: row wrap;
	height: 150px;
	align-content: flex-start;
	margin: 1.1rem;
	padding-top: 1rem;
}

footer {
	margin-top: 0rem;
	padding-top: 0rem;
	padding-bottom: 3rem;
}

.footer-nav {
	border-top: 1px solid #dddddd;
}

.footer-nav ul { display: none;}
	
.img_f-right {
	padding-left: 30px;
}
}


/* MOBIILINAVI */
.mobnav {
	font-family: 'Marvel', sans-serif;
}
.multi-level, .item ul, .mobnav input[type="checkbox"] {
    display: none;
}
#menu:checked ~ .multi-level, .item input:checked ~ ul {
    display: block;
}

/*nuoli*/

.arrow {
    width: 8px;
    height: 8px;
    vertical-align: middle;
    float: left;
    z-index: 0;
    margin: 15px 0.7em 0 2em;
}
.item input + .arrow {
    transform: rotate(-90deg);
    transition: 0.1s;
}
.item input:checked + .arrow {
    transform: rotate(0deg);
    transition: 0.1s;
}

/*mob-navityylit*/
label:hover {
    cursor: pointer;
}
label {
    width: 100%;
    display: block;
    z-index: 3;
    position: relative;
}
.mobnav {
    width: 100%;
	font-size: 1.15em;
    background-color: #ffffff;
    overflow-x: hidden;
    border-top: 1px solid #A5B6BD;
	border-bottom: 1px solid #A5B6BD;
}

#mobnav-icon {
    font-size: 1.5em;
    line-height: 2em;
    padding-left: 1em;
    color: #2D2728;
    background-color: #ffffff; /*mob. nav.bar taustaväri*/
}

.mobnav ul, .mobnav li, label {
	line-height: 2.5em;
    margin: 0;
    padding: 0 1.5em;
    list-style: none;
    text-decoration: none;
    width: 100%;
}
.item ul {
    padding: 0 0.25em;
}
.mobnav li a {
    line-height: 2.5em;
    margin: 0;
    padding-left: 2em;
    list-style: none;
    text-decoration: none;
    display: block;
}

}