@charset "UTF-8";
/*
Theme Name: AH Asennustekniikka
Theme URI: http://www.ahasennustekniikka.fi/
Description:  AH Asennustekniikka Oy
Version: 1.0
Author: KSEASY / www.kseasy.fi
Developer: Ksenia Karhunen
*/
/* 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;
}

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

table {
  border-spacing: 0;
  border-collapse: collapse;
}

a {
  text-decoration: none;
}

body {
  background: white;
  font-family: "Open Sans", sans-serif;
  font-size: 13px/1.65em;
  font-weight: 300;
  color: #32363f;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* Header */
header {
  width: 100%;
  position: relative;
  display: inline-block;
  height: 90px;
  z-index: 1000;
  background: white;
  transition-duration: 0.5s;
}

.admin-bar .header.sticky {
  top: 30px;
}
.admin-bar .header {
  top: 0;
}

.sticky {
  position: fixed;
  top: 0;
  height: 68px;
  width: 100%;
  -webkit-box-shadow: 0px 10px 13px -7px #0000004f, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #0000004f, 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
.sticky a.logo {
  width: 219px;
  height: 65px;
}
.sticky ul.main-menu {
  top: 17px;
}

.header-up {
  height: 30px;
}

a.logo {
  background: url(img/logo.png) no-repeat center center;
  background-size: contain;
  width: 288px;
  height: 86px;
  display: block;
  margin: 0px;
}

/* Fonts */
h1, h2, h3, h5, h6 {
  font-weight: 800;
  font-family: "Oswald", sans-serif;
}

.name-title {
  font-family: "Rubik", sans-serif;
  font-size: 20px;
  color: #7b504a;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 2px #00b7ff solid;
}

.text-palsta h1, .text-palsta h2, .text-palsta h3, .text-palsta h5, .text-palsta h6 {
  color: #1A406D;
}

h1 {
  font-size: 39px;
  font-weight: 800;
  color: linear-gradient(135deg, #1073ca, #000000) no-repeat center center;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}

h2 {
  font-size: 27px;
  color: linear-gradient(135deg, #1073ca, #000000) no-repeat center center;
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  color: linear-gradient(135deg, #1073ca, #000000) no-repeat center center;
  font-weight: 800;
  line-height: 1.1em;
  margin-bottom: 8px;
}

h4 {
  font-size: 24px;
  color: linear-gradient(135deg, #1073ca, #000000) no-repeat center center;
  line-height: 1.1em;
  margin-bottom: 8px;
  font-weight: 400;
  text-transform: uppercase;
}

p {
  font-size: 20px;
  color: #020202;
  font-weight: 300;
  line-height: 1.4;
  padding: 5px 0px;
}

/* Margin, padding */
.padding {
  padding: 40px 0px;
}

.padding-row {
  padding-top: 16px;
  padding-bottom: 30px;
}

.padding-2 {
  padding: 70px 0px;
}

.padding-3 {
  padding-left: 32px;
  padding-right: 12px;
  padding-top: 40px;
  box-sizing: border-box;
}

.padding-4 {
  padding: 20px 0px;
}
.padding-4 .btn {
  display: block;
  width: 260px;
  margin: 0 auto;
  text-align: center;
}

.pad-left {
  padding-left: 30px;
}

/* Colors */
.grey {
  background: #f8f8f8;
}

.grey-2 {
  background: #ebebeb;
}

.grey-2 p, .grey-2 h4 {
  color: #1cb4d2;
}

.green {
  background: #1cb4d2;
}

.green h4 {
  color: white;
}

.white {
  background: white;
}

.white-2 {
  background: #fcfdfd;
}

.green p {
  color: white;
}

.blue-white {
  border-bottom: 5px #A5B1CE double;
}

.yellow {
  background: #f1c400 !important;
  color: #0a496c !important;
}

.blue p, .blue h1, .blue h2, .blue h3, .blue h4, .blue h5, .blue ul li, .text-white p, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white ul li {
  color: white;
}

.blue-2 {
  background: #aedde8;
}

.text-yellow {
  color: #f1c400 !important;
}

.text-braun {
  color: #7b504a;
}

.text-white {
  color: white !important;
}

.text-blue {
  color: #1A406D !important;
}

/* Content */
div.wrap {
  min-height: calc(100vh - 350px);
  width: 100%;
  box-sizing: border-box;
  display: inline-block;
}

div.row {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: block;
  position: relative;
  box-sizing: border-box;
}

div.row:after {
  content: "";
  display: table;
  clear: both;
}

/* HERO  */
.hero {
  height: 465px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  background-attachment: fixed;
  border-bottom: 20px black solid;
}

#text-hero {
  box-sizing: content-box;
  position: absolute;
  padding: 20px;
  z-index: 100;
  right: 0;
  width: auto;
  max-width: 43%;
}

div.hero-items {
  display: none;
}

div.current-hero,
div.next-hero {
  height: 580px;
}

div.current-hero {
  position: absolute;
  width: 100%;
  z-index: 2;
}

div.next-hero {
  position: absolute;
  display: none;
  width: 100%;
  z-index: 1;
}

div.hero-navi {
  bottom: 20px;
  display: none;
  left: 30%;
  position: absolute;
  text-align: center;
  width: 40%;
  z-index: 5;
}

div.hero-navi a {
  background: #fff;
  box-sizing: border-box;
  display: inline-block;
  height: 30px;
  margin-left: 9px;
  margin-right: 9px;
  outline: none;
  overflow: hidden;
  text-indent: -9999px;
  width: 30px;
}

div.hero-navi a:hover,
div.hero-navi a.current {
  background: #00b7ff;
}

a.hero-next {
  background: url(img/nuoli-oikea.png);
  bottom: 20px;
  display: none;
  height: 62px;
  overflow: hidden;
  position: absolute;
  right: 30px;
  text-indent: -9999px;
  /*top: calc(50% + 55px);*/
  width: 62px;
  z-index: 3;
}

a.hero-prev {
  background: url(img/nuoli-vasen.png);
  bottom: 20px;
  display: none;
  height: 62px;
  left: 30px;
  overflow: hidden;
  position: absolute;
  text-indent: -9999px;
  /*top: calc(50% + 55px);*/
  width: 62px;
  z-index: 3;
}

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

/* END HERO */
.bg {
  min-height: 580px;
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-etusivu {
  z-index: 4;
}

.min-h .bg {
  min-height: 350px !important;
}

.bg-blue-transporent {
  background: #00418696;
}

.bg-blue {
  background: rgba(13, 72, 109, 0.7803921569);
}

.bg-blue3 {
  background: rgba(15, 79, 119, 0.52);
}

.bg-blue2 {
  background: rgba(15, 79, 119, 0.7803921569);
}

.bg-yellow {
  background: rgba(224, 216, 34, 0.44);
}

.bg-grey {
  background: rgba(59, 87, 105, 0.7803921569);
}

.bg-white {
  background: rgba(245, 244, 238, 0.44);
}

.min-h {
  height: 350px;
}

.full-screen {
  z-index: 0;
}

.elem {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.hero .row {
  height: 100%;
}

.hero.palvelut .row {
  height: 260px;
}
.hero.palvelut .row .main-text {
  position: absolute;
  bottom: 26px;
  width: 40%;
  background: #0f14188c;
  color: white !important;
  padding: 2%;
}

.bg-img {
  min-height: 450px;
}

.main-text {
  font-size: 60px;
  color: black;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
  z-index: 10;
}

.main-text span {
  font-size: 36px;
  display: block;
  font-weight: 400;
  color: white;
  text-transform: none;
}

.telefon {
  position: absolute;
  bottom: 45px;
  left: 0px;
}

.telefon span {
  font-size: 36px;
  display: block;
  font-weight: 400;
  color: white;
  line-height: 1.1;
  text-shadow: rgba(46, 46, 46, 0.76) 1px 0 10px;
}

.img-col-2-1 {
  min-height: 500px;
}

.img-col-3 {
  min-height: 180px !important;
}

/* Main menu */
ul.main-menu {
  display: block;
  position: absolute;
  top: 30px;
  right: 0%;
}

ul.main-menu li {
  display: inline-block;
  padding-left: 30px;
}

ul.main-menu li.current-menu-item a {
  border-bottom: 2px #12a8e2 solid;
  padding-bottom: 6px;
}

ul.main-menu li a {
  color: #012567;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
}

ul.main-menu li.current-menu-item a, ul.main-menu li a:hover {
  color: #12a8e2;
}

a.text-yellow:hover {
  color: white;
}

.text-palsta ul li {
  background: url(img/energy_blue.png) no-repeat 0% center;
  background-size: 20px;
  padding-left: 25px;
  margin-bottom: 5px;
  font-size: 20px;
}

div.item div.item-bnt {
  background: #008da9;
  color: white;
  position: relative;
  font-weight: 500;
  font-size: 18px;
  height: 60px;
  box-sizing: border-box;
  padding: 17px 25px 0px 25px;
  margin-bottom: 0;
  cursor: pointer;
  margin-left: 0px;
  width: 100%;
  margin-top: 10px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

div.item div.item-bnt div.arrow {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 20px;
  right: 25px;
  background: url(img/arrow_white.png);
}

div.item div.item-bnt.open div.arrow {
  background: url(img/arrow_white_open.png);
}

div.item div.item-bnt.open, div.item div.item-bnt.open span {
  color: #b19c0e;
}

div.item div.content {
  padding-bottom: 10px;
  padding-top: 10px;
  display: none;
}

.center {
  text-align: center;
}

div.col-2 {
  width: 50%;
  float: left;
  box-sizing: border-box;
}

.col-3 {
  width: 33.3%;
  float: left;
  box-sizing: border-box;
  padding-right: 19px;
  color: black;
  position: relative;
}

.col-3:nth-child(3n+1) {
  clear: left;
}

.col-2-1 {
  width: 48%;
  float: left;
  box-sizing: border-box;
  padding-right: 19px;
  color: black;
  position: relative;
}

.col-2-1:nth-child(2n+2) {
  clear: left;
}

.info-box {
  padding-left: 62px;
}

.image-box {
  min-height: 300px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-content: center;
  overflow: hidden;
}
.image-box__title {
  width: 96%;
  text-align: center;
  padding: 2%;
  color: white;
  background: linear-gradient(95deg, #1073ca, #000000) no-repeat center center;
  position: absolute;
  font-size: 30px;
  text-transform: uppercase;
  box-sizing: content-box;
  margin: 0 auto;
  min-height: 44px;
  bottom: 0;
  left: 0;
  transition: all 1s ease;
}
.image-box__title span {
  position: sticky;
}
.image-box__title:before {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: #1073ca;
  position: absolute;
  transition: all 1s ease;
}
.image-box__title:hover:before {
  left: 0;
}
.image-box:hover {
  opacity: 1;
}

.col-3-1 {
  width: 31.3%;
  float: left;
  box-sizing: border-box;
  color: black;
  position: relative;
  margin-right: 30px;
  margin-bottom: 30px;
}

.col-3-1:nth-child(3n+3) {
  margin-right: 0;
}

.col-4-1 {
  width: 48%;
  float: left;
  box-sizing: border-box;
  color: black;
  position: relative;
  margin-right: 30px;
  margin-bottom: 30px;
}

.col-4-1:nth-child(2n+2) {
  margin-right: 0;
}

.border-bottom {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  border-bottom: 20px black solid;
}

.line-border {
  border-top: 1px #87878766 solid;
}

div.col-7 {
  width: 66.5%;
  float: left;
  box-sizing: border-box;
  padding-right: 23px;
  color: black;
  position: relative;
}

div.col-3:nth-child(3n+3), div.col-4-1:nth-child(2n+2) {
  padding-right: 0px;
}

.center {
  text-align: center;
  margin: 0 auto;
}

.icon {
  text-align: center;
  margin-bottom: 35px;
}

.icon img {
  margin: 0 auto;
  padding-top: 30px;
}

.icon p {
  font-size: 16px;
}

div.text ul {
  margin-top: 3px;
}

div.text.list ul li {
  /* 	list-style-image: url(img/li.png); */
  background: url(img/li.png) no-repeat left 2px !important;
  background-size: 20px;
  padding-left: 37px;
  margin-bottom: 5px;
}

/**
* Some
 */
.some {
  position: absolute;
  right: 0px;
  bottom: 190px;
}
.some__list {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.some__list li {
  margin-left: 20px;
}
.some__list li a {
  display: block;
  width: 40px;
  height: 40px;
}
.some__list li:hover {
  opacity: 0.8;
}
.some__list li.facebook {
  background: url(img/facebook.svg) no-repeat center center;
  background-size: contain;
}
.some__list li.instagram {
  background: url(img/instagram.svg) no-repeat center center;
  background-size: contain;
}

/* Links, buttons */
a {
  font-size: 20px;
  color: #12a8e2;
}

.btn, input[type=submit] {
  font-size: 18px;
  color: white;
  background: black;
  padding: 13px 75px 13px 30px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  margin-top: 20px;
  border: none;
  transition-duration: 0.3s;
}
.btn:after, input[type=submit]:after {
  content: "";
  background: #12a8e2 url(img/rasia.png) no-repeat center center;
  background-size: 20px;
  display: block;
  right: 0;
  top: 0;
  width: 45px;
  height: 100%;
  position: absolute;
}
.btn:hover, input[type=submit]:hover {
  padding: 13px 55px 13px 20px;
  border-radius: 0;
}

.transporent-white {
  background: none;
  border: 2px white solid;
  padding: 13px 30px 13px 30px;
}
.transporent-white:after {
  background: none;
  width: 0;
  height: 0;
}

.green a.btn {
  background: white;
  color: #1cb4d2;
}

.fancybox {
  background: none !important;
  margin: 0px !important;
  padding: 0px !important;
  right: 0px;
  position: absolute;
}

.img-col-3 img.kuva {
  right: 0px;
  position: absolute;
  min-height: 240px;
}

.btn:hover, a:hover {
  opacity: 0.8;
}

a[role=w_tel] {
  color: white;
}

/* Footer */
.logo-box {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-content: center;
}
.logo-box .some {
  bottom: 20px;
}

footer {
  color: white;
  padding-top: 30px;
  padding-bottom: 20px;
  position: relative;
  background-size: 37%;
  min-height: 200px;
  background: linear-gradient(135deg, #1073ca, #000000) no-repeat center center;
}

.logo-box .some__list li.facebook {
  background: url(img/facebook_w.png) no-repeat center center;
  background-size: contain;
}

.logo-box .some__list li.instagram {
  background: url(img/instagram_w.png) no-repeat center center;
  background-size: contain;
}

footer h2 {
  color: white;
  text-transform: none;
  margin-bottom: 15px;
  font-weight: 300 !important;
  font-size: 1.5em;
}

footer p, footer ul li a, footer p a {
  font-size: 16px;
  color: white;
}

footer ul li {
  margin-bottom: 15px;
}

footer p a[role=tel]:hover {
  color: #008da9 !important;
}

footer p a {
  text-transform: none;
}

footer p a[role=email], footer p a[role=tel] {
  font-size: 16px;
  color: white;
}

footer a.logo {
  width: 230px;
  height: 100px;
  display: block;
  background: url(img/logo-footer.png) no-repeat left center;
  background-size: contain;
  margin-top: -13px;
}

footer ul.main-menu-footer {
  display: block !important;
  position: relative;
  top: auto;
  left: auto;
}

footer div.text {
  position: relative;
  margin-top: -3%;
  width: 58%;
  top: 0;
  left: 40%;
}

footer ul.main-menu-footer li {
  margin-bottom: 7px;
  display: block !important;
}

footer ul.main-menu-footer li a {
  color: white;
  text-transform: none;
  font-weight: normal !important;
  font-size: 18px;
  text-shadow: none;
}

.footer ul.main-menu-footer li.current-menu-item a, .footer ul.main-menu-footer li a:hover {
  color: white !important;
}
.footer ul.main-menu-footer li.current-menu-item a, .footer ul.main-menu-footer li.current_page_item a {
  border-bottom: 2px #12a8e2 solid;
}

footer div.row {
  min-height: 100px;
}

.img-logo {
  height: 40px;
  position: absolute;
  bottom: 0;
}

.img-logo:nth-child(1) {
  left: 0;
}

.img-logo:nth-child(2) {
  left: 120px;
}

.flex-ds {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  min-height: 390px;
  clear: both;
}

.flex-2 {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  min-height: 116px;
  position: relative;
}

.clear {
  clear: both;
}

table {
  margin-bottom: 15px;
}

table tr td span {
  color: #7b504a;
  font-size: 16px;
  font-weight: bold;
  display: block;
}

table tr:nth-child(2n) {
  background: #afdde8;
}

table tr td {
  padding: 7px;
}

table tr td:nth-child(3) {
  width: 80px !important;
}

.own {
  text-align: center;
  color: white;
  padding-right: 30px;
}

.kseasy {
  display: inline-block;
  width: 108px;
  vertical-align: middle;
  height: 48px;
  background: url(img/kse-logo.png) no-repeat center center;
  background-size: contain;
}

.border-bot {
  border-bottom: 3px #004064 solid;
  margin-bottom: 30px !important;
  padding-bottom: 30px;
  margin-top: 20px;
  padding-top: 20px;
  clear: both;
}

.bottom-top {
  border-top: 1px #865a54 solid;
}

/* Rererenssit */
.ref-lgo {
  height: 140px;
  width: 25%;
  float: left;
  /* 	padding-right: 20px; */
  margin-bottom: 20px;
  background-position: center center;
  display: block;
  box-sizing: border-box;
}

.col-2 .ref-lgo {
  margin: 0 auto !important;
  width: 100%;
}

.ref-lgo:nth-child(4n+4) {
  padding-right: 0px;
}

.references {
  border-bottom: 1px #f1f1f1 solid;
}

.referenssit-2 {
  border-bottom: 1px #f1f1f1 solid;
  border-top: 1px #f1f1f1 solid;
}

.referenssit div.offer {
  border-radius: 7px;
  border: 1px #f1f1f1 solid;
  display: block;
  box-sizing: border-box;
}

div.offer-right {
  padding-right: 7px;
}

div.offer-left {
  padding-left: 7px;
}

div.offer div.title {
  border-radius: 7px 7px 0px 0px;
  background: #555555;
  color: white;
  font-size: 24px;
  font-weight: 300;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
}

div.offer div.title.title-green {
  background: #1cb4d2 !important;
  border-radius: 0px !important;
}

div.sub-text {
  background: #f1f1f1;
  padding: 12px;
  text-align: center;
  width: 100%;
  border-bottom: 1px #e1e1e1 solid;
  border-left: 1px #e1e1e1 solid;
  border-right: 1px #e1e1e1 solid;
  box-sizing: border-box;
}

/* Ota yhteyttä */
.donwload-box {
  padding: 20px;
  border-radius: 7px;
  text-align: center;
  margin-bottom: 40px;
}

.box {
  padding: 38px 15px;
  border-radius: 7px;
  text-align: center;
  margin-bottom: 40px;
}

.box h4 {
  font-weight: 300;
}

.donwload-box p {
  font-weight: 600;
  padding: 0px;
}

.donwload-box a.btn {
  margin-top: 16px;
}

.staff {
  min-height: 320px;
  display: block;
  margin-bottom: 12px;
}

.staff-img {
  padding-right: 80px;
  box-sizing: border-box;
  margin-top: 22px;
  margin-bottom: 40px;
}

.staff-img img {
  width: 100%;
}

.img-col-3 img {
  margin: 0 auto;
  display: block;
}

.img-col-3 {
  min-height: 400px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
}

.green-box {
  min-height: 170px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
}

.green-box .text {
  color: #1cb4d2;
  background: white;
}

.text {
  display: inline-block;
  width: 100%;
}

.text ul {
  margin-top: 20px !important;
  margin-bottom: 15px !important;
}

.text ul li {
  background: none !important;
  padding-left: 0px;
  color: #1cb4d2 !important;
}

.green-box h4 {
  font-weight: 500;
  margin-top: 24px;
}

.img-title {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.news h4, .news h1, .news h2, .news h3 {
  color: #1cb4d2 !important;
}

.news .col-3 p:last-child {
  padding: 0px !important;
}

.news h2 {
  font-size: 20px !important;
  text-transform: none;
  margin-bottom: 0px;
  margin-top: 20px;
}

.news p {
  font-size: 18px;
}

.news .col-3 {
  margin-top: 9px;
}

/* Ajankohtaista */
.news-img {
  min-height: 135px;
}

/*
.contacts .col-3 p, .contacts .col-3 a{
	font-size: 23px !important;
}
*/
.contacts .col-3 p a[role=phone] {
  color: #020202 !important;
}

.staff-img p a {
  background: none !important;
  color: #020202 !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  padding: 5px 0px !important;
}

a[role=email], .staff-img a[role=tel] {
  color: #020202;
}

a[role=email]:hover, .staff-img a[role=tel]:hover, .staff-img p a {
  color: #1cb4d2;
}

.contact-text {
  margin-top: 20px;
}

.staff-div:after {
  content: "";
  display: table;
  clear: both;
}

/* Referenssit-page */
.references {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-content: center;
}

.ref-img {
  min-height: 160px;
  width: 20%;
  float: left;
  box-sizing: border-box;
  margin-right: 6%;
  margin-bottom: 2%;
  box-sizing: border-box;
}

.ref-img:nth-child(3n+3) {
  margin-right: 0px;
}

.contact-page p a {
  color: #020202;
}

/* Lomake */
#field_1_5 {
  display: none;
}

#formlomake {
  max-width: 500px;
  display: block;
  margin: 0 auto;
  background: linear-gradient(135deg, #1073ca, #000000) no-repeat center center;
  padding: 20px;
  color: white !important;
}

#formlomake p, #formlomake h2, #formlomake h1 {
  color: white;
  text-align: center;
}

.none {
  display: none;
}

.lomake {
  border-bottom: 1px #f1f1f1 solid;
  border-top: 1px #f1f1f1 solid;
}

input[type=text] {
  background: #f8f8f8;
  border: none;
  border: 1px #e1e1e1 solid;
  height: 50px;
  font-size: 18px;
  padding-left: 7px;
  width: 100%;
}

#lomake .bg {
  min-height: 851px;
}

textarea {
  background: #f8f8f8;
  border: none;
  border: 1px #e1e1e1 solid;
  height: 180px;
  font-size: 18px;
  width: 100%;
  padding-left: 7px;
  padding-top: 10px;
}

label {
  font-size: 20px;
  padding-top: 15px;
  display: block;
}

input[type=submit] {
  margin-bottom: 40px;
  border: 0px;
  padding: 8px 30px;
}

/* Map */
div#map {
  height: 400px;
  width: 100%;
}

.number {
  font-size: 150px;
  color: #1cb4d2;
  height: 206px;
  font-weight: bold;
}

.num-text {
  font-size: 25px;
  color: #020202;
  font-weight: 400;
  box-sizing: border-box;
  width: 90%;
  margin: 0 auto;
}

.num-green {
  display: inline-block;
  text-align: center;
  padding: 0px 15px;
}

.address {
  font-size: 18px;
}

.big-num {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.full-img p img {
  padding-bottom: 20px;
  padding-top: 20px;
  width: 100%;
}

.mob-menu {
  display: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 20px;
  background: url(img/mob_menu.png) no-repeat center center;
  background-size: contain;
}

.line {
  padding-top: 15px;
  margin-bottom: 15px;
}

.min-height {
  min-height: 400px;
}

input[type=text] {
  height: 40px;
}

@media only screen and (max-width: 1380px) {
  .hero, div.current-hero, div.next-hero {
    height: 480px;
  }

  .hero-page .row {
    height: auto;
    box-sizing: border-box;
  }

  .ref-img {
    min-height: 120px;
  }

  a.hero-next, a.hero-prev {
    height: 50px;
    width: 50px;
    background-size: contain;
  }

  .min-h {
    height: 350px !important;
  }

  .bg {
    min-height: 480px;
  }

  .main-text {
    font-size: 48px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  header a.logo {
    width: 333px;
    height: 86px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 20px;
  }

  p, .btn, input[type=submit], a, ul li, .text-palsta ul li {
    font-size: 18px;
  }
}
@media only screen and (max-width: 1300px) {
  div.row {
    max-width: 100%;
    width: 96%;
    box-sizing: border-box;
    padding-left: 2%;
    padding-right: 2%;
  }

  .image-box {
    min-height: 250px;
  }
}
@media only screen and (max-width: 1200px) {
  footer a.logo {
    width: 230px;
  }

  .info-box {
    width: 50% !important;
  }

  .hero, div.current-hero, div.next-hero {
    height: 400px;
  }

  .hero .row {
    height: 288px;
    padding-left: 0;
    padding-right: 0;
  }

  header a.logo {
    width: 253px;
  }

  .some {
    bottom: 30px;
  }

  .min-height {
    min-height: 300px;
  }

  .main-text {
    font-size: 40px;
  }

  p, .btn, input[type=submit], a, ul li, .text-palsta ul li {
    font-size: 16px;
  }

  .image-box__title {
    font-size: 29px;
  }
}
@media only screen and (max-width: 1030px) {
  ul.main-menu li.current-menu-item a {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero.palvelut .row .main-text {
    bottom: 0;
  }

  .img-col-2-1 {
    min-height: 300px;
  }

  .image-box__title {
    font-size: 24px;
  }

  header a.logo {
    width: 236px;
    height: 59px;
  }

  #text-hero {
    min-height: 172px;
  }

  .hero.palvelut .row {
    height: 181px;
  }

  .image-box {
    min-height: 200px;
  }

  .image-box__title {
    font-size: 23px;
  }

  .col-3-1 {
    width: 48%;
    margin-right: 20px;
  }

  .col-3-1:nth-child(3n+3) {
    margin-right: 20px;
  }

  .col-3-1:nth-child(2n+2) {
    margin-right: 0;
  }

  .hero, div.current-hero, div.next-hero {
    height: 320px;
  }

  .col-3 img {
    width: 100%;
  }

  ul.main-menu {
    top: 16px;
    z-index: 10;
  }

  .bg {
    min-height: 320px;
  }

  a.hero-next, a.hero-prev {
    height: 30px;
    width: 30px;
    bottom: 0px;
  }

  .main-text span {
    font-size: 30px;
  }

  .hero .row {
    height: 83%;
  }

  header {
    height: 58px;
  }

  div.hero-navi a {
    width: 20px;
    height: 20px;
  }

  .padding-row {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  header a.logo {
    width: 230px;
    height: 58px;
  }

  .main-text {
    font-size: 39px;
    padding-top: 33px;
  }

  .btn, input[type=submit] {
    padding: 10px 55px 10px 20px;
  }
  .btn:hover, input[type=submit]:hover {
    padding: 12px 55px 12px 20px;
  }

  ul.main-menu li a {
    font-size: 18px;
  }

  h1 {
    font-size: 25px;
    margin-bottom: 8px;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  h3 {
    font-size: 17px;
  }

  h4 {
    font-size: 19px;
  }

  p, .btn, input[type=submit], a, ul li, .text-palsta ul li, div.item div.item-bnt {
    font-size: 16px;
  }

  div.item div.item-bnt {
    padding: 11px 15px 0px 15px;
    height: auto;
    min-height: 45px;
  }

  div.item div.item-bnt div.arrow {
    top: 12px;
    right: 15px;
  }

  .padding {
    padding: 20px 0px;
  }

  div.row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .btn, input[type=submit] {
    margin-top: 10px;
  }

  .bg-img {
    min-height: 250px;
  }

  .img-col-2 {
    min-height: 150px;
  }

  ul.main-menu {
    top: 25px;
  }

  .border-bot {
    border-bottom: 3px #865a54 solid;
    margin-bottom: 15px !important;
    padding-bottom: 15px;
    margin-top: 10px;
    padding-top: 10px;
    clear: both;
  }

  div#map {
    height: 280px;
    width: 100%;
  }

  ul.main-menu {
    top: 15px;
  }

  .pad-left {
    padding-left: 15px;
    padding-right: 7px;
  }

  .min-h {
    height: 240px !important;
    border-bottom: none;
  }

  .min-h .bg {
    min-height: 240px !important;
  }

  footer .padding-row {
    padding: 0px;
  }

  footer h2 {
    margin-bottom: 2px;
    font-size: 1.2em;
  }

  .own {
    padding: 0px;
    font-size: 15px;
  }

  .own a {
    font-size: 15px;
  }

  footer p, footer ul li a {
    font-size: 15px;
  }

  .transporent-white {
    padding-right: 20px;
    text-align: center;
  }
}
@media only screen and (max-width: 980px) {
  .padding {
    padding: 20px 15px 20px 40px;
  }

  .min-h {
    height: 180px !important;
    border-bottom: none;
  }

  .hero.palvelut .row .main-text {
    bottom: 65px;
  }
}
@media only screen and (max-width: 800px) {
  .main-text {
    font-size: 32px;
    padding-top: 30px;
  }

  #text-hero {
    max-width: 64%;
  }

  .col-4-1 {
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .image-box__title {
    font-size: 20px;
    min-height: 36px;
  }
}
@media only screen and (max-width: 768px) {
  footer ul.main-menu-footer li a,
footer a, footer ul li a {
    font-size: 15px;
  }

  footer div.row {
    min-height: 100px;
  }

  footer a.logo {
    height: 100px;
  }

  .logo-box .some {
    bottom: 20px;
  }

  footer ul.main-menu {
    background: transparent;
    display: block !important;
    font-size: 18px;
    position: relative;
    top: auto;
    left: auto;
    border-top: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .admin-bar .header.sticky {
    top: 0;
  }
  .admin-bar .header {
    top: 0;
  }

  header a.logo {
    width: 197px;
    height: 52px;
  }

  ul.main-menu li a, a, a.btn {
    font-size: 16px;
  }

  .min-h {
    height: 180px !important;
  }

  .min-h .bg {
    min-height: 180px !important;
  }

  .mob-menu {
    display: block;
    right: 10px;
    top: 7px;
  }

  .sticky ul.main-menu {
    top: 68px;
  }

  .sticky .mob-menu {
    top: 14px;
  }

  ul.main-menu {
    display: none;
    position: absolute;
    top: 58px;
    width: 60%;
    background: white;
    z-index: 200;
    padding: 4px;
    right: -2%;
    min-height: auto;
    border-top: 3px #03bdfe solid;
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  }

  ul.main-menu li {
    display: block;
  }

  ul.main-menu li a {
    text-shadow: none;
  }

  ul.no-active {
    animation-name: close;
    animation-duration: 0.3s;
  }

  ul.active {
    animation-name: open;
    animation-duration: 0.3s;
  }

  ul.main-menu li {
    display: block;
    padding: 8px;
  }

  #text-hero {
    z-index: 4;
  }

  @-webkit-keyframes open {
    0% {
      right: -30%;
    }
    25% {
      right: -20%;
    }
    50% {
      right: -10%;
    }
    75% {
      right: -7%;
    }
    100% {
      right: -2%;
    }
  }
  @-webkit-keyframes close {
    0% {
      right: -2%;
    }
    25% {
      right: -7%;
    }
    50% {
      right: -10%;
    }
    75% {
      right: -20%;
    }
    100% {
      right: -30%;
      display: none;
    }
  }
  input[type=text] {
    height: 37px;
    font-size: 16px;
    padding-left: 7px;
    width: 100%;
    margin-bottom: 15px;
  }

  textarea {
    font-size: 16px;
    height: 109px;
  }

  h1 {
    font-size: 25px;
    margin-bottom: 5px;
  }

  h2 {
    font-size: 19px;
    margin-bottom: 5px;
  }

  h3 {
    font-size: 17px;
  }

  h4 {
    font-size: 18px;
  }

  .hero.palvelut .row {
    height: 146px;
  }

  #text-hero {
    min-height: 172px;
  }

  label {
    font-size: 16px;
    padding-top: 0;
    display: block;
  }

  input[type=text] {
    height: 30px;
    padding-left: 0;
  }

  input[type=submit] {
    padding-right: 20px;
  }

  .min-h {
    height: auto !important;
  }

  .contact-page .col-2:first-child {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 560px) {
  #text-hero {
    bottom: 0;
    max-width: 100%;
    min-height: auto;
  }

  .main-text {
    padding: 0;
  }

  ul.main-menu {
    width: 102%;
  }

  ul.main-menu li {
    padding-left: 0;
  }

  ul.main-menu li a {
    display: block;
    padding-left: 15px;
    width: 100%;
  }

  .min-h {
    height: 285px !important;
  }

  .logo-box {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media only screen and (max-width: 414px) {
  header a.logo {
    margin-left: 2%;
  }

  footer ul.main-menu-footer {
    text-align: left;
    margin-bottom: 30px;
  }

  footer .row .col-3 {
    text-align: left;
  }

  .some__list li a {
    display: block;
    width: 30px;
    height: 30px;
  }

  .some__list li {
    margin-left: 10px;
  }

  .hero .some {
    right: 2%;
    top: 30px;
  }

  .hero div.row {
    width: 100%;
  }

  div.col-7, div.col-3, .col-4-1 {
    width: 100%;
    float: none;
  }

  .col-4-1:last-child {
    margin-bottom: 0;
  }

  .border-bottom {
    display: block;
  }

  .img-col-2-1 {
    min-height: 200px;
  }

  .col-3-1 {
    width: 100%;
    float: none;
  }

  .hero.palvelut .row .main-text {
    width: 94%;
    padding: 10px;
  }

  footer .row .col-3 {
    padding-right: 19px;
  }

  footer .row .col-3 a.logo {
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .img-col-2 {
    background-size: 100% !important;
  }

  .main-text {
    font-size: 32px;
    text-align: center;
    width: 100%;
  }

  .main-text span {
    font-size: 24px;
  }

  div.col-2, div.col-3, .ref-img {
    width: 100%;
    float: none;
    display: block;
  }

  .elem {
    display: block;
  }

  .own {
    margin-top: 32px;
  }

  .min-h {
    height: 285px !important;
  }

  .min-h .bg {
    min-height: 200px !important;
  }

  .line {
    height: 10px !important;
  }

  div.hero-navi {
    bottom: 10px;
  }

  h1 {
    font-size: 23px;
    word-wrap: break-word;
  }

  footer .padding-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .own {
    font-size: 13px;
    margin-top: 0;
  }

  .padding.pad-left {
    padding: 20px 15px 20px 20px;
  }

  #text-hero {
    background: #ffffffd1;
  }

  .info-box {
    padding-left: 20px;
    width: 100% !important;
  }

  .references {
    display: block;
  }

  .ref-img {
    width: 70%;
    margin: 0 auto;
  }

  .ref-img:nth-child(3n+3) {
    margin-right: auto;
  }

  .min-h {
    height: auto !important;
  }

  footer .row .col-3 {
    margin-bottom: 20px;
  }

  .padding-4 .btn {
    width: auto;
  }
}
@media only screen and (max-width: 320px) {
  .main-text {
    font-size: 29px;
    width: 100%;
    padding-top: 20px;
  }

  .main-text span {
    font-size: 21px;
  }

  #text-hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-text {
    font-size: 26px;
  }
}

/*# sourceMappingURL=style.css.map */
