/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	vertical-align: top;
	max-width: 100%;
}

div {
	box-sizing: border-box;
}

/* Styles */

body {
	font-family: 'IBM Plex Sans', sans-serif;
	font-weight: 400;
    color: #000;
    box-sizing: border-box;
	font-size: 1rem;
	background: #fff;
	line-height: 1.5;
}

h1 {
	color: #005BAA;
	font-family: 'Roboto Slab', serif;
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0em;
	margin-bottom: 24px;
}

h2 {
	color: #004689;
	font-family: 'Roboto Slab', serif;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 16px;
}

h3 {
	font-family: 'Roboto Slab', serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

a {
	color: #005baa;
	text-decoration: none;
	transition: .2s color;
}

a:focus, a:hover {
	color: #00aeef;
}

p, ul, ol {
	font-size: 1.125rem;
	line-height: 1.5;
	margin-bottom: 16px;
}

ul {
	margin: 16px 0 16px 32px;
	list-style-type: square;
	list-style-position: outside;
}

.menu-container {
	position: absolute;
	top: 44px;
	right: 40px;
}

.menu {
	margin: 0;
	padding: 0;
	display: inline-block;
}

.menu-item {
	display: inline-block;
	line-height: 2rem;
	font-size: 1.125rem;
	font-weight: 400;
	font-family: 'Roboto Slab', serif;
}

.menu-item a {
	padding: 6px 14px;
	transition: all .2s;
	color: #fff;
	display: block;
	border: 2px solid rgba(255,255,255,0);
	border-radius: 6px;
}

.menu-item--selected a {
	background-color: #fff;
	border: 2px solid rgba(255,255,255,1);
	color: #005BAA;
}

.menu-item a:hover {
	border: 2px solid rgba(255,255,255,1);
}

.theme {
	margin: 0 auto 40px;
	background-color: #ddd;
	height: 100vh;
	position: relative;
}

.theme--home {
	background-image: url(../img/pattern.jpg);
	background-size: cover;
	background-position: 50% 50%;
	margin-bottom: 0;
}

.theme--contact {
	background-image: url(../img/theme-googlemap.jpg);
	background-size: cover;
	background-position: 50% 50%;
}

.theme--services {
	background-image: url(../img/palvelut-lampopumppu.jpg);
	background-size: cover;
	background-position: 50% 50%;
}

/* Sävytys Hissun kuvaan
.theme--services .theme--tone {
	background: radial-gradient(circle, rgba(38,14,1,0.02) 0%, rgba(38,14,1,0.95) 100%);
}
*/

.theme--store {
	background-image: url(../img/theme-myymala.jpg);
	background-size: cover;
	background-position: 50% 50%;
}

.theme--store .theme--tone {
	background: radial-gradient(circle, rgba(20,20,20,0.02) 0%, rgba(20,20,20,0.95) 100%);
}

.theme-mask {
	position: absolute;
	bottom: -1px;
	width: 100vw;
	line-height: 1;
	font-size: 0px;
}

.theme-mask img {
	width: 100vw;
	vertical-align: top;
	padding: 0;
	margin: 0;
}

.theme--tone {
	position: relative;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(2,36,62,0.02) 0%, rgba(2,36,62,0.95) 100%);
}

.theme-ingress {
	padding: 40px 40px 5% 40px;
	position: absolute;
	bottom: 40px;
	text-align: center;
	width: 100%;
}

.theme--home .theme--tone {
	display: flex;
	align-items: center;
}

.theme--home .theme-ingress {
	padding: 100px 24px 0 24px;
	position: relative;
}

.theme-ingress h1 {
	color: #ffffff;
	text-shadow: 0 2px rgba(0, 0, 0, 0.5);
	margin: 0 auto 8px auto;
	max-width: 800px;
}

.ingress {
	font-style: italic;
	font-size: 1.25rem;
	color: #ffffff;
	text-shadow: 0 2px rgba(0, 0, 0, 0.5);
	margin: 0 auto 8px auto;
	max-width: 800px;
}

.logo {
	position: absolute;
	top: 40px;
	left: 40px;
}

.fb {
	padding: 0;
	display: inline-block;
	line-height: 48px;
}

.fb img {
	transition: .2s all;
}

.fb img:hover {
	transform: scale(120%);
}

.button {
	border-radius: 6px;
	border: 1px solid #005BAA;
	display: inline-block;
	font-size: 1rem;
	font-weight: 500;
	padding: 8px 12px;
	color: #005BAA;
	background: #fff;
	transition: all .2s;
	margin-bottom: 8px;
	font-family: 'Roboto Slab', serif;
}

.button:hover, .button:focus {
	background-color: #005BAA;
	color: #fff;
	border-color: #005baa;
}

.button--electronic {
	border-color: #DE7800;
	color:#DE7800;
}

.button--electronic:hover {
	background-color: #DE7800;
	color: #fff;
	border-color: #DE7800;
}

.button--cta {
	background: #00AEEF;
	border: 0px none;
	font-weight: 400;
	color: #fff;
	font-size: 1.125rem;
	padding: 12px 16px;
}

.button--cta:hover {
	background-color: #005BAA;
	color: #fff;
}



.s-margin-after { margin-bottom: 8px; }
.m-margin-after { margin-bottom: 16px; }
.l-margin-after { margin-bottom: 24px; }
.xl-margin-after { margin-bottom: 32px; }
.xxl-margin-after { margin-bottom: 40px; }

.partner-logo {
	margin: 0 40px 16px 0;
}


.wrap {
	display: flex;
	max-width: 1024px;
	width: 100%;
	margin: auto;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: stretch;
	padding-left: 32px;
	padding-right: 32px;
}

.content-row {
	display: flex;
	flex-direction: row;
}

.content-image {
	width: 35%;
}

.content-image p {
	padding-right: 40px;
}

.content-text {
	width: 65%;
	display: block;
}

.contact-image {
	max-width: 100px;
	margin-bottom: 32px;
}

.contact-company {
	width: 100%;
}

.contact h2{ 
	margin-bottom: 32px;	
}

.electronic {
	color: #DE7800;
}

.contact-item {
	margin-bottom: 40px;
}

.contact-item h4 {
	color: #666666;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.2;
}

.contact-item p {
	margin-top: 16px;
}

.footer {
	background-color: #cceefc;
}

.footer-content {
	padding: 40px 0;
	display: block;
	text-align: center;
}

.footer-content-item {
	display: inline-block;
	line-height: 20px;
	font-size: 1rem;
	text-align: left;
	padding: 8px 32px;
}

.footer-content-item--borders {
	border-left: 2px solid #99ddf9;
	border-right: 2px solid #99ddf9;
}

.footer-content-item img {
	vertical-align: bottom;
}

#close-menu, #open-menu {
	display: none;
}

.highlight {
	padding: 24px 24px 0;
	background-color: #cceefc;
	border-radius: 6px;
}

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

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.25rem;
	}

	.logo {
		top: 24px;
		left: 24px;
	}

	.theme {
		margin-bottom: 24px;
		height: 92vh;
	}	

	.theme--home {
		margin-bottom: 0;
	}

	.theme-ingress {
		padding: 24px 24px 24px 24px;
	}

	.ingress {
		font-size: 1.125rem;
	}

	.button--small {
		font-size: .875rem;
	}

	.wrap {
	padding-left: 24px;
	padding-right: 24px;
	}

	.content-row {
	flex-direction: column;
	}

	.content-image {
		width: 100%;
	}

	.content-image img {
		max-width: 300px;
	}

	.content-image p {
		padding-left: 24px;
		padding-right: 24px;
		text-align: center;
	}

	.content-text {
		width: 100%;
	}

	.menu-container {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(0, 25, 63, .95);
		text-align: center;
	}

	.menu {
		display: block;
		padding: 20vh 40px 5vh;
	}

	.menu-item {
		display: block;
		text-align: center;
		margin: 5vh 0;
	}

	.fb {
		margin: auto;
	}

	#close-menu {
		display: block;
		position: absolute;
		top: 24px;
		right: 24px;
		border: 2px solid #005baa;
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background: transparent;
		color: #fff;
		font-family: 'Roboto Slab', serif;
	}

	#open-menu {
		display: block;
		position: absolute;
		top: 24px;
		right: 24px;
		width: 56px;
		height: 56px;
		border: 2px solid rgba(255, 255, 255, .2);
		border-radius: 50%;
	}

	#open-menu .hamburger {
		background: #fff;
		height: 4px;
		width: 24px;
		position: absolute;
		left: 14px;
	}

	#open-menu .line-1 {
		top: 14px;
	}

	#open-menu .line-2 {
		top: 24px;
	}

	#open-menu .line-3 {
		bottom: 14px;
	}

	.open-menu .menu-container {
		display: block;
	}

	.footer-content {
		padding: 24px;
	}

	.footer-content-item {
		display: block;
		padding: 8px 0;
		text-align: center;
	}

	.footer-content-item--borders {
		border: 0px none;
	}

}

@media only screen and (max-width: 480px) {
	.content-image img {
		max-width: 280px;
	}
}