/*
Theme Name: Rekisterimaailma
Author: Mikko Hopia Oy / Tero Väisänen
Author URI: http://www.mikkohopia.net
Description: Rekisterimaailma sivupohja
Version: 1.0
*/

/* Reset */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }
img { border: 0; }
/*ol, ul, dl { list-style: none; }*/
div { box-sizing: border-box; }

/*
Fonts
font-family: 'Lato', sans-serif;
font-family: 'Open Sans', sans-serif;
*/

@font-face {
	font-display: swap;
  font-family: 'Lato';
  font-weight: 700;
  src: url(fonts/Lato-Bold.ttf);
}

@font-face {
	font-display: swap;
  font-family: 'Open Sans';
  font-weight: 400;
  src: url(fonts/OpenSans-Regular.ttf);
}

@font-face {
	font-display: swap;
  font-family: 'Open Sans';
  font-weight: 700;
  src: url(fonts/OpenSans-Bold.ttf);
}

/* HTML5 */

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time {  
	display:block;
}

/* Typography */

body {
	color: #101010;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.sign-in {
	background: url(img/bg_blue.jpg) top center no-repeat;
	background-size: cover;
	background-position: fixed;
	min-height: 100vh;
}

a {
	color: #2F62A5;
	text-decoration: none;
	transition-duration: 0.3s;
}

a:hover { 
	text-decoration: underline;
}

a.btn {
	background-color: #EF8810;
	border-radius: 150px;
	color: #fff;
	font-weight: 700;
	padding: 12px 30px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a.btn:hover {
	background-color: #101010;
	text-decoration: none;
}

div.col-wrap p,
div.col-wrap ul {
	line-height: 1.45;
	margin-bottom: 30px;
}

div.col-wrap ul {
	padding-left: 20px;
}

div.col-wrap ul li {
	margin-bottom: 5px;
}

div.col-wrap ul.v-list {
	list-style: none;
	padding-left: 10px;
}

ul.v-list li:before {
	background-image: url(img/lista.svg);
	content: '';
	display: inline-block;
	height: 14px;
	margin-right: 10px;
	width: 18px;
}

div.col-2-2 ul {
	line-height: 1.45;
	list-style: disc;
	margin-bottom: 30px;
	padding-left: 20px;
}

p.v {
	background: url(img/v.png) 0 5px no-repeat;
	background-size: 17px 14px;
	padding-left: 30px;
}

p.ingressi {
	font-size: 1.125rem;
}

p.normal {
	font-size: 1rem;
}

div.col-wrap p:last-child {
	margin-bottom: 0;
}

div.first p {
	color: #fff;
	font-size: 22px;
	margin: 0 auto 30px auto;
	/*max-width: 716px;*/
}

h1.logo {
	background: url(img/logo-rekisterimaailma.png) no-repeat;
	background-size: contain;
	display: inline-block;
	height: 37px;
	margin-bottom: 20px;
	overflow: hidden;
	text-indent: -9999px;
	width: 186px;
}

h1,
span.hero-title {
	font-family: 'Lato', sans-serif;
	font-size: 46px;
	font-weight: 700;
	margin-bottom: 20px;
}

div.first h1,
span.hero-title {
	color: #EF8810;
}

h2 {
	font-family: 'Lato', sans-serif;
	font-size: 34px;
	font-weight: 700;
	margin-bottom: 20px;
}

h3 {
	font-family: 'Lato', sans-serif;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 0;
}

div.col-2-1 h3 {
	margin-bottom: 20px;
}

p.puh {
	background: url(img/puhelin.png) 0 3px no-repeat;
	padding-left: 30px;
}

p.email {
	background: url(img/marker.png) 0 3px no-repeat;
	padding-left: 30px;
}

p.osoite {
	background: url(img/lennokki.png) 0 3px no-repeat;
	padding-left: 30px;
}

.center { text-align: center; }

/* Wrap and col */

div { box-sizing: border-box; }

div.wrap {
	clear: both;
	margin: 0 auto;
	max-width: 1280px;
	padding: 0;
	position: relative;
}

div.bg-beige {
	background-color: #FEFAF5;
}

div.borders {
	border-bottom: 1px solid #D8D8D8;
	border-top: 1px solid #D8D8D8;
}

div.wrap.tuotteet + div.wrap.referenssit {
	margin-top: 50px;
}

div.wrap.first {
	margin-top: -350px;
	z-index: 1;
}

body.subpage div.first,
body.page div.first {
	margin-top: -170px;
}

body.home div.first {
	margin-top: -450px;
}

div.bg-blue {
	background: url(img/bg_blue2.jpg) center center no-repeat;
	background-size: cover;
	color: #fff;
	float: left;
	font-size: 1.2rem;
	margin: 40px 0;
	padding: 50px 0;
	width: 100%;
}

div.col-wrap {
	clear: both;
	padding: 0 0 50px 0;
	position: relative;
	width: 100%;
	/*float: left;*/
}

div.col-wrap-col-2 {
	padding: 20px 15%;
}

div.col-wrap-col-2-2 {
	padding: 55px 10% 20px 10%;
}

div.col-wrap-1 {
	padding-top: 55px;
}

/*div.col-wrap:after,
div.events-bg:after,
div.contact-bg:after {
  content: "";
  display: table;
  clear: both;
}*/

div.no-bot-pad {
	padding-bottom: 20px;
}

div.no-top-pad {
	padding-top: 20px;
}

div.col-1 {
	/*padding: 0 20%;*/
}

div.wrap.narrow-width .col-1 {
	margin: 0 auto;
	max-width: 750px;
}

div.col-1.no-pad {
	padding: 0;
}

div.col-3 {
	float: left;
	padding: 0;
	position: relative;
	width: 33.33%;
}

div.col-2 {
	/*float: left;
	padding: 0 50px 0 0;
	position: relative;
	width: 50%;*/
}

div.kaksi-palstaa .col-wrap {
	display: flex;
	justify-content: space-between;
}

div.kaksi-palstaa .col-wrap .col-2 {
	padding: 0 50px;
	width: 50%;
}

main div.wrap:first-child {
	padding-top: 100px;
}

body.home main div.wrap:first-child {
	padding-top: 0;
}

/*div.kaksi-palstaa .col-wrap .col-2:first-child {
	padding-right: 50px;
}

div.kaksi-palstaa .col-wrap .col-2:last-child {
	padding-left: 50px;
}*/

.col-wrap-reverse div.col-2 {
	float: right;
}

div.col-3-2 {
	float: left;
	padding: 0 4% 0 2%;
	width: 66.66%;
}

div.col-3-1 {
	float: left;
	padding: 0 1%;
	width: 33.33%;
}

div.col-2-1 {
	float: right;
	width: 25%;
}

div.col-2-1-right {
	border-left: 1px solid #eee;
	float: left;
}

div.col-2-1:first-child {
	padding: 0 2% 0 0;
}

div.col-2-1:nth-child(2) {
	padding: 0 0 0 2%;
}

div.col-2-2 {
	float: right;
	width: 75%;
}

div.col-2-2-left {
	float: left;
}

div.col-2-2:first-child {
	padding: 0 2% 0 0;
}

div.col-2-2:nth-child(2) {
	padding: 0 0 0 2%;
}

/* Header */

header {
	background: url(img/km-hero.jpg) top center no-repeat;
	background-size: cover;
	height: 416px;
	padding-top: 20px;
	position: relative;
	/*text-transform: uppercase;*/
}

body.subpage header,
body.page header {
	/*height: 276px;*/
	height: 104px;
}

body.home header {
	/*height: 416px;*/
	height: 620px;
}

body.sign-in header {
	background: none;
	height: auto;
}

/*body.admin-bar header {
	margin-top: 32px;
}*/

header h1 {
	margin: 0;
	padding: 0;
}

header h1 a {
	background: url(img/korjaamomaailma-fi.svg) no-repeat;
	background-size: contain;
	display: block;
	/*height: 39px;*/
	height: 35px;
	left: 55px;
	overflow: hidden;
	position: absolute;
	text-indent: -9999px;
	top: 26px;
	/*width: 302px;*/
	width: 273px;
}

header a {
	color: #fff;
}

header form {
	background: url(img/kirjaudu.svg) 0 10px no-repeat;
	background-size: 15px;
	box-sizing: border-box;
	padding-left: 20px;
	position: absolute;
	right: 0;
	top: 10px;
	width: 300px;
	z-index: 2;
}

header form div.input-wrap {
	float: left;
	margin-bottom: 10px;
	margin-right: 5%;
  width: 60%;
}

header form div.input-wrap:nth-child(2) {
	margin-right: 0;
  width: 35%;
}

header form input[type=email],
header form input[type=password],
header form input[type=submit] {
	background: none;
	border: none;
	border-bottom: 1px solid #4D4D4D;
	border-radius: 0;
	box-sizing: border-box;
	color: #fff;
	font-size: 0.8rem;
	outline: none;
	padding: 7px 0 2px 0;
	width: 100%;
}

header form input[type=password] {
	padding-right: 17px;
}

header form input[type=submit] {
	background: url(img/arrow-right.png) center center no-repeat;
	background-size: contain;
	border: none;
	display: none;
	height: 16px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	right: 0;
	text-indent: -9999px;
	top: 7px;
	width: 16px;
}

header form input[type=submit]:hover {
	background-color: transparent !important;
	background: url(img/arrow-right.png) center center no-repeat;
	background-size: contain;
	cursor: pointer;
}

header form input[type=checkbox] {
	border-bottom: none;
	padding: 0;
	width: auto;
}

header input:-webkit-autofill,
header input:-webkit-autofill:hover,
header input:-webkit-autofill:focus,
header input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fff !important;
}

header form span.floating-label {
	/* font-size: 0.8rem; */
	font-size: 0.5rem;
	left: 0;
	text-transform: none;
	/* top: 7px; */
	top: -5px;
}

header form div.input-wrap input:focus,
header form div.input-wrap input:not(:focus):valid {
	border-bottom: 1px solid #fff;
}

header form div.input-wrap input:focus ~ .floating-label,
header form div.input-wrap input:not(:focus):valid ~ .floating-label,
header form div.input-wrap input ~ .floating-label.clicked,
header form div.input-wrap input:not(:placeholder-shown) ~ .floating-label {
	/* color: #fff;
	font-size: 0.5rem;
	left: 0; */
	/* top: -5px; */
}

/* header form div.input-wrap input:focus ~ .floating-label,
header form div.input-wrap input:not(:placeholder-shown) ~ .floating-label,
header form div.input-wrap input ~ .floating-label.clicked {
	color: #fff;
	font-size: 0.5rem;
	left: 0;
	top: -5px;
} */

header form p {
	color: #fff;
	/* display: none; */
	font-size: 0.8rem;
	margin-top: 10px;
	text-align: right;
	text-transform: none;
}

header form a {
	color: #fff;
	padding-left: 20px;
}

div.email {
	display: none;
}

button.hamburger {
	background: none;
	border: 0;
	cursor: pointer;
	display: none;
	height: 18px;
	/*left: calc(50% + 20px);*/
	margin: 0;
	outline: none;
	padding: 0;
	position: absolute;
	right: 20px;
	top: 50px;
	width: 25px;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 4px;
  width: 25px;
  background: #fff;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  width: 100%;
}

#nav-icon span:nth-child(1) {
  top: 0;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(2) {
  top: 7px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(3) {
  top: 14px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(35deg);
  -moz-transform: rotate(35deg);
  -o-transform: rotate(35deg);
  transform: rotate(35deg);
  top: 0;
  left: 0;
  width: 25px;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-35deg);
  -moz-transform: rotate(-35deg);
  -o-transform: rotate(-35deg);
  transform: rotate(-35deg);
  top: 14px;
  left: 0;
  width: 25px;
}

ul.main-navi {
	position: absolute;
	right: 335px;
	/*right: 0;*/
	top: 27px;
	z-index: 2;
}

ul.main-navi ul {
	background: #0E2440;
	border: 1px solid #243A58;
	display: none;
	font-size: 0.8rem;
	left: 0;
	position: absolute;
	text-transform: none;
	top: 21px;
	z-index: 9;
}

ul.main-navi li {
	display: inline-block;
	padding: 0 15px;
	position: relative;
}

ul.main-navi li.kirjaudu {
	background-image: url(img/kirjaudu.svg);
	background-position: left top 2px;
	background-repeat: no-repeat;
	background-size: 20px;
	padding-left: 25px;
}

ul.main-navi li a {
	border-bottom: 2px solid transparent;
	color: #fff;
	display: block;
	font-weight: 700;
	font-size: 18px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

ul.main-navi > li.current-menu-item > a,
ul.main-navi a:hover,
ul.main-navi li.current-menu-ancestor > a {
	/*border-bottom: 2px solid #EF8810;*/
	border-color: #EF8810;
	text-decoration: none;
}

ul.main-navi ul li {
	border-bottom: 1px solid #243A58;
	display: block;
	padding: 0;
}

ul.main-navi ul li a {
	display: block;
	padding: 5px 8px;
}

ul.main-navi ul li a:hover {
	background: #243A58;
	border-bottom: none;
}

ul.main-navi > li:hover > ul,
ul.main-navi ul:hover {
	display: block;
}

a.sign-in {
	background: url(img/sign-in.png) left center no-repeat;
	font-weight: 600;
	font-size: 0.85rem;
	padding-left: 20px;
	position: absolute;
	right: 111px;
	top: 8px;
}

a.sign-in:hover {
	border-bottom: 2px solid #EF8810;
	text-decoration: none;
}

ul.sub-navi li {
	padding-bottom: 20px;
	padding-left: 20px;
}

ul.sub-navi li a {
	color: #101010;
}

ul.sub-navi li.current-menu-item {
	background: url(img/sub-navi-current-menu-item.png) 0 5px no-repeat;
	font-weight: 600;
}

/* HERO */

div.hero {

}

/* /HERO END */

/* Sign-in page */

body.sign-in header div.wrap {
	text-align: left;
}

body.sign-in header a {
	color: #fff;
	display: inline-block;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 20px;
}

body.sign-in header a:hover {
	border-bottom: 2px solid #EF8810;
	text-decoration: none;
}

body.sign-in div.wrap {
	text-align: center;
}

body.sign-in input {
	border: 1px #ccc solid;
	border-radius: 3px;
	box-sizing: border-box;
	display: block;
	font-size: 1rem;
	margin: 0 auto 10px auto;
	max-width: 100%;
	padding: 10px;
	width: 270px;
}

body.sign-in input[type=submit] {
	background: #14335C;
	border: none;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
}

body.sign-in input[type=submit]:hover {
	cursor: pointer;
	opacity: 0.8;
}

body.sign-in a.lost-password {
	color: #52729C;
}

/* Images */

div.col-wrap img {
	height: auto;
	max-width: 100%;
}

/*div.col-wrap img.no-scale {
	height: auto;
	width: auto;
}*/

img.aligncenter {
	display: block;
	margin: 0 auto;
}

/* Table */

table {
	border-collapse: collapse;
	line-height: 1.45;
	margin-bottom: 30px;
	width: 100%;
}

table td {
	padding: 2px 0;
	vertical-align: top;
}

table td:last-child {
	text-align: right;
	white-space: nowrap;
}

/* Form */

div.gform_wrapper {
	padding-top: 20px;
}

div.gform_wrapper ul {
	list-style: none;
	padding-left: 0;
}

div.gform_wrapper li {
	margin-bottom: 11px;
}

ul.gfield_radio li {
	margin-bottom: 0;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	padding: 5px;
	width: 50%;
}

textarea {
	height: 100px;
}

div.ginput_container_radio {
	margin-bottom: 11px;
}

li.gfield_html {
	margin-bottom: 20px;
}

li.gform_validation_container {
	display: none;
}

input[type=submit] {
	background: #14335C;
	border: none;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
  font-weight: 600;
	padding: 10px;
	text-transform: uppercase;
	width: 50%;
}

input[type=submit]:hover {
	background: #EF8810;
	color: #14335C;
}

img.gform_ajax_spinner {
	display: block;
	height: auto !important;
	margin-top: 20px;
	margin-top: 10px;
	width: 30px !important;
}

div.validation_error {
	margin-bottom: 11px;
}

div.validation_error,
div.validation_message,
li.gfield_error {
	color: red;
}

li.gfield_error input[type=text],
li.gfield_error input[type=email],
li.gfield_error textarea {
	border: 1px solid red;
}

div.gform_confirmation_message {
	background: #d9984d;
	padding: 20px;
}

div.input-wrap {
	margin: 0 auto;
	position: relative;
	width: 270px;
}

span.floating-label {
	/*color: #777;*/
	color: #fff;
	left: 11px;
	pointer-events: none;
	position: absolute;
	top: 12px;
	transition: 0.2s ease all;
}

/* div.input-wrap input:focus ~ .floating-label,
div.input-wrap input:not(:focus):valid ~ .floating-label{
	font-size: 0.6rem;
	top: 4px;
} */

body.sign-in div.input-wrap input {
	padding: 14px 10px 6px 10px;
}

/* Referenssit */

div.referenssit h2 {
	margin-bottom: 50px;
	text-align: center;
}

div.referenssit h3 {
	margin-bottom: 40px;
	text-align: center;
}

div.referenssit h3:first-child {
	padding-top: 40px;
}

div.referenssit img {
	display: inline-block;
	/*filter: grayscale(100%);*/
	margin-bottom: 20px;
	padding: 0 15px;
}

div.referenssi-mask {
	height: 220px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

div.referenssi-content {
	height: 220px;
	left: 0;
	position: absolute;
	top: 0;
	width: 99999px;
}

div.referenssi-logo-group {
	display: inline-block;
	text-align: center;
	width: 1240px;
}

a.ref-next,
a.ref-prev {
	background: url(img/next.svg) center center no-repeat;
	background-size: contain;
	bottom: 100px;
	height: 24px;
	overflow: hidden;
	position: absolute;
	right: -20px;
	text-indent: -9999px;
	width: 15px;
	z-index: 9;
}

a.ref-next:hover,
a.ref-prev:hover {
	opacity: 0.8;
}

a.ref-prev {
	background: url(img/prev.svg) center center no-repeat;
	background-size: contain;
	left: -20px;
	right: auto;
}

/* Footer */

footer {
	border-top: 1px solid #d8d8d8;
	color: #292929;
	font-size: 16px;
	float: left;
	margin-top: 40px;
	padding-bottom: 40px;
	width: 100%;
}

footer div.col-wrap {
	padding-top: 58px;
}

body.sign-in footer {
	border-top: 0;
}

ul.foo-navi {
	line-height: 1 !important;
	margin-bottom: 0 !important;
	padding-left: 0 !important;
	text-align: right;
}

ul.foo-navi li {
	display: inline-block;
	line-height: 20px;
	margin-bottom: 0 !important;
	margin-right: 20px;
}

ul.foo-navi li.kirjaudu {
	background-image: url(img/kirjaudu.svg);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 20px;
	padding-left: 25px;
}

ul.foo-navi {
	margin-bottom: 50px;
}

footer a {
	/*color: #14335C;*/
	color: #292929;
	font-size: 16px;
	font-weight: 700;
}

footer div.col-wrap p {
	margin-bottom: 10px;
}

footer .col-2:first-child a {
	color: #EF8810;
	font-weight: 400;
}

footer .col-2:last-child {
	padding-right: 0;
}

footer p.ehdot {
	color: #8A8A8A;
}

footer span.ehdot {
	margin-right: 40px;
}

footer span.line {
	color: #EF8810;
}

footer div.kaksi-palstaa .col-wrap .col-2 {
	padding: 0;
}

/* Misc */

div.clear {
	clear: both;
	height: 0;
}

.smooth-font {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

div.only-mobile {
	display: none;
}

/* Nosto */

div.bg-nosto {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	clear: both;
	margin-bottom: 100px;
}

div.bg-nosto div.wrap {
	padding-bottom: 0;
}

div.bg-nosto div.col-wrap {
	padding: 120px 0;
}

div.bg-nosto div.col-1 {
	font-size: 22px;
	margin: 0 auto;
	max-width: 860px;
}

div.kaksi-palstaa + div.bg-nosto {
	margin-top: 50px;
}

/* Tuotteet */

div.tuotteet {
	margin-top: 50px;
}

div.tuotteet .col-wrap {
	padding-bottom: 0;
}

div.tuote {
	background-color: #FEFAF5;
	box-sizing: border-box;
	display: flex;
	margin-bottom: 8px;
	padding: 90px 110px;
}

div.tuote-1 {
	box-sizing: border-box;
	padding-right: 40px;
	width: 40%;
}

div.tuote-2 {
	box-sizing: border-box;
	width: 60%;
}

div.tuotteet .tuote-1 h2 {
	color: #EF8810;
	margin-bottom: 10px;
}

@media only screen and (max-width : 1300px) {
	div.referenssit {
		width: 1000px;
	}

	div.referenssi-logo-group {
		padding-top: 20px;
		width: 960px;
	}

	div.referenssi-logo-group img {
		height: 60px;
	}

	header form {
		right: 20px;
	}
}

/* 1300 */

@media only screen and (max-width : 1280px) {
	div.wrap {
		max-width: 100%;
		padding: 0 20px;
	}

	div.col-wrap-col-2-2 {
		padding: 20px 0;
	}
}

/* 1280 */

@media only screen and (max-width : 1000px) {
	div.referenssit {
		width: 600px;
	}

	div.referenssi-logo-group {
		padding-top: 35px;
		width: 560px;
	}

	div.referenssi-logo-group img {
		height: 30px;
		width: auto;
	}
}

/* 1000 */

@media only screen and (max-width : 980px) {

}

/* 980 */

@media only screen and (max-width : 950px) {
	header h1 a {
		left: 20px;
	}

	ul.main-navi {
		/*background: #081d3c;*/
		background-color: #101010;
		box-sizing: border-box;
		box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.1);
		/*border-bottom: 1px solid #466186;*/
		left: 0;
		display: none;
		min-height: calc(100vh - 100px);
		padding: 20px;
		position: absolute;
		text-align: center;
		top: 100px;
		width: 100%;
	}

	ul.main-navi li {
		display: block;
		margin-right: 0;
	}

	ul.main-navi li a,
	ul.main-navi > li > ul a {
		background: none;
		border: none;
		color: #fff;
		display: block;
		padding: 5px 0;
		width: auto;
	}

	ul.main-navi > li > ul a:hover {
		background: none;
	}

	ul.main-navi > li > ul {
		background: none;
		border-bottom: none;
		display: none;
		left: auto;
		position: relative;
		top: auto;
		width: auto;
	}

	ul.main-navi li.kirjaudu {
    background-image: none;
    padding-left: 0;
	}

	ul.main-navi li.kirjaudu a {
    background-image: url(img/kirjaudu.svg);
    background-position: left top 7px;
    background-repeat: no-repeat;
    background-size: 20px;
    display: inline-block;
    padding-left: 25px;
	}

	a.sign-in {
		right: 20px;
	}

	button.hamburger {
		display: block;
	}

	div.col-1 {
		padding: 0 2%;
	}

	div.col-wrap-col-2 {
    padding: 20px 2%;
	}

	div.col-2-1 {
		width: 35%;
	}

	div.col-2-2 {
		width: 65%;
	}

	header form {
		left: auto;
		margin: 0 auto;
		margin-top: 20px;
		position: relative;
		right: auto;
		width: 50%;
	}

	header form div.input-wrap {
    float: none;
    margin-right: 0;
    width: 100%;
	}

	header form div.input-wrap:nth-child(2) {
    width: 100%;
	}

	header form input[type=submit] {
		top: 40px;
	}

	h1, 
	span.hero-title {
		font-size: 40px;
	}

	h2 {
		font-size: 30px;
	}

	div.first p {
		font-size: 20px;
	}

	div.kaksi-palstaa .col-wrap .col-2:first-child {
		padding: 0 20px 0 0;
	}

	div.kaksi-palstaa .col-wrap .col-2:last-child {
		padding: 0 0 0 20px;
	}

	div.bg-nosto div.col-1 {
		font-size: 18px;
	}

	div.bg-nosto div.col-wrap {
		padding: 60px 0;
	}

	div.referenssit h2 {
		margin-bottom: 20px;
	}

	/*div.referenssit {
		width: 100%;
	}*/

	ul.foo-navi li {
		display: block;
		margin-bottom: 10px !important;
		margin-right: 0;
	}

	ul.foo-navi li.kirjaudu {
    background-image: none;
    padding-left: 0;
	}

	ul.foo-navi li.kirjaudu a {
    background-image: url(img/kirjaudu.svg);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-left: 25px;
	}

	div.tuote {
		padding: 50px;
	}

	div.tuote h2 {
		font-size: 20px;
	}

	div.tuote h3 {
		font-size: 16px;
	}

	main div.wrap:first-child {
		padding-top: 50px;
	}
}

/* 950 */

@media only screen and (max-width : 830px) {
	
}

/* 830 */

@media only screen and (max-width : 700px) {
	div.col-2-1 {
		float: none;
		width: 100%;
	}

	div.col-2-2 {
		float: none;
		margin-bottom: 50px;
		width: 100%;
	}

	div.col-2-1-right {
		border-left: none;
	}
}

/* 700 */

@media only screen and (max-width : 600px) {
	body {
		font-size: 1rem;
	}

	div.col-2 {
		/*float: none;
		padding-right: 0;
		padding-bottom: 20px;
		width: 100%;*/
	}

	div.col-wrap {
		padding: 20px 0;
	}
	
	div.col-wrap p {
		margin-bottom: 20px;
	}

	h1,
	span.hero-title {
    font-size: 1.8rem;
	}

	h2 {
    font-size: 1.2rem;
	}

	p.ingressi {
		font-size: 1.1rem;
	}

	div.referenssit {
		width: 400px;
	}

	div.referenssi-logo-group {
		padding-top: 35px;
		width: 400px;
	}

	div.referenssi-logo-group img {
		height: 30px;
	}

	input[type=text],
	input[type=email],
	textarea,
	input[type=submit] {
		box-sizing: border-box;
		width: 100%;
	}

	header h1 a {
		top: 0;
		width: 200px;
	}

	button.hamburger {
		top: 20px;
	}

	div.first p {
		font-size: 18px;
	}

	div.kaksi-palstaa .col-wrap {
		display: block;
	}

	div.kaksi-palstaa .col-wrap .col-2 {
		padding: 0 0 40px 0 !important;
		width: 100%;
	}

	div.kaksi-palstaa + div.bg-nosto {
		margin-top: 0;
	}

	div.bg-nosto div.col-1 {
		font-size: 16px;
	}

	div.bg-nosto div.col-wrap {
		padding: 20px 0;
	}

	div.bg-nosto {
		margin-bottom: 40px;
	}

	div.referenssit h2 {
		margin-bottom: 0;
	}

	div.referenssit h3 {
		font-size: 1rem;
		margin-bottom: 0;
	}

	div.referenssit h2 + h3 {
		padding-top: 20px;
	}

	ul.foo-navi {
		text-align: left;
	}

	ul.foo-navi li {
		padding: 0;
	}

	footer div.kaksi-palstaa .col-wrap .col-2:last-child {
		padding-bottom: 0 !important;
	}

	ul.main-navi {
		min-height: calc(100vh - 40px);
		top: 40px;
	}

	body.subpage header,
	body.page header {
		/*height: 250px;*/
		height: 40px;
	}

	main div.wrap:first-child {
		padding-top: 20px;
	}

	div.tuotteet {
		margin-top: 0;
	}

	div.tuote {
		display: block;
		padding: 20px;
	}

	div.tuote-1 {
		padding-bottom: 20px;
		padding-right: 0;
		width: 100%;
	}

	div.tuote-2 {
		width: 100%;
	}

	p.importer-logos img {
		margin: 0 10px 40px 10px !important;
	}
}

/* 600 */

@media only screen and (max-width : 500px) {
	/*header form {
		left: 20px;
		right: auto;
		top: 70px;
		width: 90%;
	}

	header form div.input-wrap {
		float: left;
		margin-right: 1%;
		width: 49%;
	}

	header form input[type=submit] {
		float: left;
		margin-right: 1%;
		width: 49%;
	}*/

	header form {
		width: 100%;
	}
}

/* 500 */

@media only screen and (max-width : 400px) {
	.no-mobile {
		display: none;
	}

	a.sign-in {
		display: none;
	}

	button.hamburger {
		left: auto;
		right: 20px;
	}

	ul.foo-navi {
		margin-bottom: 20px;
	}

	ul.foo-navi li {
		display: block;
		/*padding: 10px 0;*/
	}

	span.ehdot,
	span.puh {
		display: block;
	}

	div.referenssit {
		width: 300px;
	}

	div.referenssi-logo-group {
		padding-top: 35px;
		width: 280px;
	}

	div.referenssi-logo-group img {
		height: 30px;
	}

	body.subpage header,
	body.page header {
		/*height: 250px;*/
		height: 40px;
	}

	body.subpage div.first,
	body.page div.first {
    margin-top: -180px;
	}

	body.home header {
		height: 416px;
	}
	
	body.home div.first {
		margin-top: -350px;
	}

	a.ref-next {
		right: -40px;
	}

	a.ref-prev {
		left: -40px;
	}
}

/* 400 */

@media only screen and (max-width : 350px) {
	
}

/* 350 */