﻿/*

							style composition file

																				*/
/* 		[TAG]	todo::

	- siirrä menu (sekä logo?) kiinteästi ylälaidassa kelluvaksi
	- siirrä sivun paddingi pohjalta ylös ja tee siitä menun (+ logon)
	- tsekkaa cleariin ongelma sivujen osalta, tai vaihda kokonaan käyttämään flexiä kaikessa

::todo	[TAG]		*/
/* 	--- framework foundation --- 	 	*/
/* default values and mixin framework	*/
/*

						variables, classes and mixins

																				*/
/* 		[TAG]	todo::

::todo	[TAG]		*/
/* ::[NOTE]:: view defaults below in classes and mixins department */
/*  --- defaults ---					*/
/*	--- constants ---					*/
/* 	css content strings					*/
/* 	--- variables --- 				 	*/
/* 	colors			*/
/*	measurements	*/
/*	layers			*/
@z-index-f öre:							10;
@z-index-b äck: 							-10;
@z-index- över: 							110;
@z-index- über:							10101010;
/* 	fonts           */
/* 	--- classes and mixins --- 			*/
.centered {
  text-align: center;
}
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
}
.clear-transitions {
  transition: none !important;
}
/* --- main imports ---					*/
/* html document element monkeypatching	*/
html#html::before,
head#head::before,
body#body::before,
#root[node]::before,
html#html::after,
head#head::after,
body#body::after,
#root[node]::after {
  display: block;
  box-sizing: border-box;
  height: 0;
  content: '';
}
/* document validator + editor 			*/
/* document head viewer and editor	 	*/
title::first-letter {
  color: red;
}
/* document body element reset + editor */
/* document body element reset and configuration */
body#body {
  margin: 0;
  padding: 0;
  color: #202020;
  background: #f0f0f0;
}
/* document root element setup 			*/
#root {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  color: #202020;
  background: #f0f0f0;
  font: 12px arial black;
  overflow: auto;
  overflow-x: hidden;
}
/* html text/media data templating &ie; */
/*

									text data

																				*/
/* 		[TAG]	todo::

::todo	[TAG]		*/
/* font definition and imports			*/
/*.readme

							font styles guide/readme

																				*/
/* --- read the following files --- 	*/
/*.history
 *.todo
 *.license
 */
/* 	--- main font definitions --- 		*/
@font-face {
  font-family: surmafont;
  src: url("font/museosans.woff2") format("woff2"), url('font/museosans.woff') format('woff'), url('font/museosans.otf') format('opentype'), url('font/museosans.ttf') format('truetype');
}
@font-face {
  font-family: surmafont;
  font-weight: normal;
  font-style: normal;
  src: url("font/museosans-regular.woff2") format("woff2"), url('font/museosans-regular.woff') format('woff'), url('font/museosans-regular.otf') format('opentype'), url('font/museosans-regular.ttf') format('truetype');
}
@font-face {
  font-family: surmafont;
  font-weight: normal;
  font-style: italic;
  src: url("font/museosans-italic.woff2") format("woff2"), url('font/museosans-italic.woff') format('woff'), url('font/museosans-italic.otf') format('opentype'), url('font/museosans-italic.ttf') format('truetype');
}
@font-face {
  font-family: surmafont;
  font-weight: bold;
  src: url("font/gilroy-bold.otf") format("opentype"), url('font/gilroy-bold.woff2') format('woff2'), url('font/gilroy-bold.woff') format('woff'), url('font/gilroy-bold.ttf') format('truetype');
}
@font-face {
  font-family: surmafont;
  font-weight: light;
  src: url("font/gilroy-light.otf") format("opentype"), url('font/gilroy-light.woff2') format('woff2'), url('font/gilroy-light.woff') format('woff'), url('font/gilroy-light.ttf') format('truetype');
}
/*
 										·
																				*/
/* --- mvc tools ---					*/
/* defaults and elemental data parsing	*/
/* basic data definition, hadling and mingling goes here,
 * maybe even databases	
 */
/* plugins */
/* "save.less" */
/* framework view library				*/
/*	view defaults and configuration 	*/
[main][view] {
  position: fixed;
  margin: auto !important;
  margin-bottom: 0 !important;
  display: flex;
  box-sizing: border-box;
}
[main][view],
[main][view] [view] {
  display: block;
  box-sizing: border-box;
  color: inherit;
  background-color: transparent;
  background: transparent;
  position: relative;
  top: auto;
  left: auto;
  bottom: auto;
  right: auto;
  width: inherit;
  height: inherit;
  min-width: 320px;
  max-width: 1548px;
  min-height: 168px;
  max-height: initial;
  margin: 0;
  padding: 0;
  border: none;
}
[main][view] [view="full"] {
  min-height: 100vh;
}
[main][view]::after {
  content: '';
  display: block;
  clear: both;
}
[main][view] [view="fore"] {
  z-index: 1;
}
[main][view] [view="back"] {
  z-index: -1;
}
[main][view] [view="over"] {
  z-index: 101;
}
[main][view] [view="uber"] {
  z-index: 1001;
}
/* document code validator + editor 	*/
/* --- user input / output layer ---	*/
/* hash parameters and anchors			*/
/* 	--- development tools --- 			*/
/*** <!-- REMEMBER TO COMMENT ON RELEASE ***/
/* framework reflection 				*/
[style*="transition: transform"][style*="z-index: 33710"]:hover {
  transform: rotate(36000000deg);
}
[style*="transition: transform"][style*="z-index: 33710"]:hover.clear-transitions {
  transition: none;
}
/* development and debugging tools 		*/
/*

						development and debugging tools

																				*/
/* 		[TAG]	todo::

::todo	[TAG]		*/
/* 	--- variables --- 					*/
/*	--- mixins --- 						*/
[DEBUG],
[DGB],
[debug],
[dbg],
.debug,
.DEBUG,
.dbg,
.DBG {
  border: 0.5px dashed red !important;
}
[DEBUG][DEBUG~="vertical"],
[DGB][DEBUG~="vertical"],
[debug][DEBUG~="vertical"],
[dbg][DEBUG~="vertical"],
.debug[DEBUG~="vertical"],
.DEBUG[DEBUG~="vertical"],
.dbg[DEBUG~="vertical"],
.DBG[DEBUG~="vertical"],
[DEBUG][DBG~="y"],
[DGB][DBG~="y"],
[debug][DBG~="y"],
[dbg][DBG~="y"],
.debug[DBG~="y"],
.DEBUG[DBG~="y"],
.dbg[DBG~="y"],
.DBG[DBG~="y"],
[DEBUG][debug~="vertical"],
[DGB][debug~="vertical"],
[debug][debug~="vertical"],
[dbg][debug~="vertical"],
.debug[debug~="vertical"],
.DEBUG[debug~="vertical"],
.dbg[debug~="vertical"],
.DBG[debug~="vertical"],
[DEBUG][dbg~="y"],
[DGB][dbg~="y"],
[debug][dbg~="y"],
[dbg][dbg~="y"],
.debug[dbg~="y"],
.DEBUG[dbg~="y"],
.dbg[dbg~="y"],
.DBG[dbg~="y"],
[DEBUG].vertical,
[DGB].vertical,
[debug].vertical,
[dbg].vertical,
.debug.vertical,
.DEBUG.vertical,
.dbg.vertical,
.DBG.vertical,
[DEBUG] .y,
[DGB] .y,
[debug] .y,
[dbg] .y,
.debug .y,
.DEBUG .y,
.dbg .y,
.DBG .y {
  border-width: 0.5px, 0 !important;
}
[DEBUG][DEBUG~="horizontal"],
[DGB][DEBUG~="horizontal"],
[debug][DEBUG~="horizontal"],
[dbg][DEBUG~="horizontal"],
.debug[DEBUG~="horizontal"],
.DEBUG[DEBUG~="horizontal"],
.dbg[DEBUG~="horizontal"],
.DBG[DEBUG~="horizontal"],
[DEBUG][DBG~="x"],
[DGB][DBG~="x"],
[debug][DBG~="x"],
[dbg][DBG~="x"],
.debug[DBG~="x"],
.DEBUG[DBG~="x"],
.dbg[DBG~="x"],
.DBG[DBG~="x"],
[DEBUG][debug~="horizontal"],
[DGB][debug~="horizontal"],
[debug][debug~="horizontal"],
[dbg][debug~="horizontal"],
.debug[debug~="horizontal"],
.DEBUG[debug~="horizontal"],
.dbg[debug~="horizontal"],
.DBG[debug~="horizontal"],
[DEBUG][dbg~="x"],
[DGB][dbg~="x"],
[debug][dbg~="x"],
[dbg][dbg~="x"],
.debug[dbg~="x"],
.DEBUG[dbg~="x"],
.dbg[dbg~="x"],
.DBG[dbg~="x"],
[DEBUG].horizontal,
[DGB].horizontal,
[debug].horizontal,
[dbg].horizontal,
.debug.horizontal,
.DEBUG.horizontal,
.dbg.horizontal,
.DBG.horizontal,
[DEBUG] .x,
[DGB] .x,
[debug] .x,
[dbg] .x,
.debug .x,
.DEBUG .x,
.dbg .x,
.DBG .x {
  border-width: 0, 0.5px !important;
}
.debug-vertical,
.DEBUG-vertical,
.dbg-v,
.DBG-V {
  border-left: 0 !important;
  border-right: 0 !important;
}
/**/
/*** !--> ***/
/* 	--- application ---			 	 	*/
/* bootstrap application				*/
/*

							main style compositor file

																				*/
/* 		[TAG]	todo::

::todo	[TAG]		*/
/*	layer system */
/*	--- handover --- 					*/
/*

						application style composition file

																				*/
/* 		[TAG]	todo::

::todo	[TAG]		*/
/* libraries */
/* use this file to load less libraries */
/* application */
/*	--- style composition list --- 		*/
/* local variables */
/* local classes and mixins */
/* framework reflection */
/* framework reflection tools */
[id="#"] {
  scroll-behavior: smooth;
}
#top {
  display: block;
  position: relative;
  top: -256px;
}
[view="#data"] {
  display: none;
  visibility: hidden;
}
[view="#code"] {
  display: none;
  visibility: hidden;
}
[main][view] {
  color: #230807;
  background: #fffffa;
  box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.1);
}
/* global document styles */
a {
  color: #653433;
  text-decoration: none;
}
a[name] {
  color: inherit;
  text-decoration: none;
}
a[name]:hover {
  color: inherit;
}
a:hover {
  color: #a61917;
}
img {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
}
h1,
h2 {
  text-align: center;
}
h1 {
  margin: 0px;
}
h3 {
  margin: 32px;
  text-decoration: underline;
}
p,
h4 {
  margin: 32px;
  /* 24px */
}
h1,
h2 {
  text-transform: lowercase;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
}
h1::first-letter,
h2::first-letter {
  text-transform: capitalize;
}
h2 {
  border-radius: 3px;
  box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.18);
}
h3,
h4,
p {
  margin-bottom: 38px;
}
section {
  padding-bottom: 96px;
}
section::after {
  content: '';
  display: block;
  clear: both;
}
hr {
  clear: both;
}
/* external/framed content styles */
/* media content styles */
/* container styles */
/* main content styles */
[main][view] [view="over"] {
  position: fixed;
  opacity: 0.0;
  transition: all 0.28s ease-out;
  min-width: 0px;
}
[main][view] [view="over"].menu {
  opacity: 1.0;
}
[main][view] [view="back"] {
  position: fixed;
  width: 100%;
  height: 100%;
  max-width: 1548px;
  background: #fffffa;
  box-sizing: border-box;
  border-bottom: 76px solid #f0f0f0;
}
[main][view] [view="back"] .shadow {
  height: 100%;
  box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.1);
}
[main][view] [view="fore"] {
  max-width: 1200px;
  margin: auto;
  margin-bottom: 38px;
  text-align: center;
  font-family: surmafont;
  font-size: 24px;
}
[main][view] [view="fore"] img {
  border-radius: 5px;
}
[main][view] [view="fore"] h2 {
  color: #fffffa;
  padding: 40px;
  margin: 0px;
  margin-bottom: 96px;
  text-align: center;
  background: #653433;
}
[main][view] [view="fore"] h2 a[name] {
  padding-top: 40px;
  margin-top: -40px;
}
[main][view] [view="fore"] .page::after {
  content: '';
  display: block;
  clear: both;
}
[main][view] [view="fore"] #home {
  display: block;
}
[main][view] [view="fore"] #menu {
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: -112px;
  padding: 0px;
  padding-top: 38px;
  font-size: 36px;
  list-style-type: none;
  letter-spacing: 4px;
  background: #f5eccf;
  border-radius: 0px 0px 3px 3px;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
}
[main][view] [view="fore"] #menu li {
  margin: 1px;
  position: relative;
  top: -21px;
  padding: 0px 10px 0px 10px;
  display: inline-block;
}
[main][view] [view="fore"] #logo {
  margin: 0px;
  max-width: calc(80% - 48px);
  transition: all 1s ease-out;
}
[main][view] [view="fore"] h4::after {
  content: ":";
}
[main][view] [view="fore"] dd {
  margin: 0;
}
[main][view] [view="fore"] figcaption {
  text-align: center;
}
[main][view] [view="fore"] .page {
  padding-bottom: 112px;
  margin-top: 112px;
  text-align: left;
}
[main][view] [view="fore"] .page figure {
  max-width: 100%;
  margin-left: 38px;
  margin-bottom: 24px;
  margin-top: 38px;
}
[main][view] [view="fore"] .page figure[side] {
  max-width: 40%;
}
[main][view] [view="fore"] .page figure[side][side="left"] {
  float: left;
  clear: left;
}
[main][view] [view="fore"] .page figure[side][side="right"] {
  float: right;
  clear: right;
}
[main][view] [view="fore"] .page figure img {
  max-width: 100%;
}
[main][view] [view="fore"] .page[id="etusivu"] [name="tunnelmakuva"] img {
  max-width: 100%;
  border-radius: 7px;
  box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.18);
}
[main][view] [view="fore"] .page[id="etusivu"] [name="tunnelmakuva"] figcaption {
  color: #653433;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 58px;
  margin-top: 44px;
}
[main][view] [view="fore"] .page[id="palvelut"] img[src*="iso-korkea"] {
  margin-bottom: 72px;
  margin-top: -8px;
}
[main][view] [view="fore"] .page[id="minusta"] [name="hoitofilosofiani"] + figure img {
  margin-top: 72px;
  margin-bottom: 0px;
}
[main][view] [view="fore"] .page[id="minusta"] img {
  margin-top: 92px;
  margin-bottom: 72px;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] p {
  text-align: center;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact h3 {
  text-align: center;
  margin-bottom: 52px;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact textarea {
  width: 90%;
  height: 168px;
  border-radius: 3px;
  border: 1px solid #230807;
  margin-bottom: 32px;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact input[type="submit"] {
  border-radius: 3px;
  color: #fffffa;
  background: #653433;
  border: 1px solid #230807;
  padding: 6px;
  padding-left: 48px;
  padding-right: 48px;
  font-weight: bold;
  cursor: pointer;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact input[type="submit"]:hover {
  background: #a61917;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact address {
  text-align: center;
  font-style: normal;
  font-weight: bold;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact address a {
  width: 32%;
  min-width: 400px;
  display: inline-block;
  border-radius: 3px;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact address a:hover {
  background: #f5eccf;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact [name="ala-piha"] {
  text-align: center;
}
[main][view] [view="fore"] .page[id="yhteystiedot"] #contact [name="ala-piha"] img {
  border-radius: 7px;
  box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.18);
}
#navi {
  position: relative;
  top: -38px;
  display: table;
  text-align: center;
  opacity: 0.85;
  background: rgba(255, 255, 250, 0.48);
  max-width: 112px;
  max-height: 112px;
  min-width: 124px;
  min-height: 124px;
  border-radius: 0px 0px 118px 0px;
  /* box-shadow: 0px 0px 28px fade(@link-color, 10%); */
  transition: all 0.2s ease-in-out;
}
#navi > span {
  display: table-row;
}
#navi > span > span {
  display: table-cell;
  vertical-align: middle;
}
#navi > span > span > span {
  display: inline-block;
  position: relative;
  left: -15px;
  top: -15px;
  max-width: 64px;
  max-height: 64px;
  min-width: 32px;
  min-height: 32px;
  background-image: url("img/menu.png");
  background-size: contain;
  background-repeat-x: no-repeat;
  transition: all 0.2s ease-in-out;
}
#navi > span > span > span .data {
  display: none;
}
#navi:hover {
  background: #fffffa;
  box-shadow: 10px 5px 20px rgba(0, 0, 0, 0.2);
}
#navi:hover > span > span > span {
  transform: scale(1.2);
}
/* dirty patches */
/* use this file to write browser incompatibilities and other hacks */
/* debugging */
/* @import "bug.less"; */
