/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
/*
Futura PT Medium
font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

Futura PT Medium Oblique
font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: italic;

Futura PT Heavy
font-family: futura-pt, sans-serif;
font-weight: 700;
font-style: normal;

Futura PT Heavy Oblique
font-family: futura-pt, sans-serif;
font-weight: 700;
font-style: italic;

Futura PT Light Oblique
font-family: futura-pt, sans-serif;
font-weight: 300;
font-style: italic;

Futura PT Book
font-family: futura-pt, sans-serif;
font-weight: 400;
font-style: normal;

Futura PT Book Oblique
font-family: futura-pt, sans-serif;
font-weight: 400;
font-style: italic;

Futura PT Light
font-family: futura-pt, sans-serif;
font-weight: 300;
font-style: normal;

Novecento sans condensed Bold
font-family: novecento-sans-condensed, sans-serif;
font-weight: 700;
font-style: normal;
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Hopia adds
   ========================================================================== */
div {
  box-sizing: border-box;
}

/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
body {
  background-color: #fff;
  color: #000;
  font-family: proxima-nova, sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 300;
}

/*body.sticky-header {
	padding-top: 100px;
}*/
iframe {
  width: 100%;
}

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

@media only screen and (max-width: 650px) {
  body {
    font-size: 16px;
    font-size: 1rem;
  }
  body.navi-open main,
  body.navi-open footer {
    display: none;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
header#top {
  height: 100px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}
header#top.sticky {
  animation: sticky-header 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1;
  background-color: #fff;
  height: 65px;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9;
}
header#top.sticky-hide {
  animation: sticky-header-hide 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1;
  background-color: #fff;
  height: 65px;
  left: 0;
  position: fixed;
  top: -65px;
  width: 100%;
  z-index: 9;
}

@keyframes sticky-header {
  from {
    top: -65px;
  }
  to {
    top: 0;
  }
}
@keyframes sticky-header-hide {
  from {
    top: 0;
  }
  to {
    top: -65px;
  }
}
p.site-title {
  margin: 0;
  padding: 0;
}

p.site-title a {
  background: url("img/mastsystem_vaaka_valk-web.png") center center no-repeat;
  background-size: contain;
  box-sizing: border-box;
  display: block;
  height: 34px;
  left: 60px;
  overflow: hidden;
  position: absolute;
  text-indent: 100%;
  transition-duration: 0s;
  top: 43px;
  white-space: nowrap;
  width: 200px;
}

header.sticky p.site-title a,
header.sticky-hide p.site-title a {
  background: url("img/mastsystem-logo-black.png") center center no-repeat;
  background-size: contain;
  height: 23px;
  top: 21px;
  width: 135px;
}

@media only screen and (max-width: 650px) {
  p.site-title a {
    height: 23px;
    left: 20px;
    width: 135px;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
button.hamburger {
  display: none;
}

nav.main-navi ul {
  font-family: novecento-sans-condensed, sans-serif;
  font-size: 16px;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 60px;
  text-transform: uppercase;
  top: 50px;
}
nav.main-navi ul li {
  display: inline-block;
  margin: 0 15px;
}
nav.main-navi ul li > a {
  border-bottom: 2px solid transparent;
  color: #fff;
  display: block;
  position: relative;
  text-decoration: none;
}
nav.main-navi ul li > a:hover {
  border-color: #f05924;
  text-decoration: none;
}
nav.main-navi ul li.current-menu-item > a,
nav.main-navi ul li.current-menu-parent > a,
nav.main-navi ul li.current-menu-ancestor > a {
  border-color: #f05924;
}
nav.main-navi ul ul {
  display: none;
}

body.single-tuoteperhe nav.main-navi ul li#menu-item-27 > a {
  border-color: #f05924;
  text-decoration: none;
}

body.single-post nav.main-navi ul li#menu-item-24 > a {
  border-color: #f05924;
  text-decoration: none;
}

header.sticky nav.main-navi ul,
header.sticky-hide nav.main-navi ul {
  top: 21px;
}
header.sticky nav.main-navi ul li > a,
header.sticky-hide nav.main-navi ul li > a {
  color: #000;
}

@media only screen and (max-width: 900px) {
  button.hamburger {
    background: none;
    border: 0;
    cursor: pointer;
    display: none;
    height: 18px;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    right: 50px;
    top: 45px;
    width: 25px;
    z-index: 5;
  }
  #nav-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 25px;
    background: #000;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.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;
  }
}
@media only screen and (max-width: 650px) {
  nav.main-navi {
    display: none;
  }
  button.hamburger {
    display: block;
    right: 20px;
  }
  header.sticky button.hamburger {
    top: 23px;
  }
  body.navi-open button.hamburger #nav-icon span {
    background-color: #fff;
  }
  body.navi-open nav.main-navi ul {
    background-color: #424f24;
    box-sizing: border-box;
    font-size: 24px;
    font-size: 1.5rem;
    min-height: 100vh;
    padding-top: 100px;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
  }
  body.navi-open nav.main-navi ul li {
    display: block;
    margin: 0 0 20px 0;
  }
  body.navi-open nav.main-navi ul li a {
    display: inline-block;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
footer {
  background-color: #efefef;
}
footer div.col-wrap:first-child {
  padding-bottom: 70px;
}
footer div.col-wrap:first-child .col-2:first-child {
  width: calc(100% - 200px);
}
footer div.col-wrap:first-child .col-2:first-child p {
  font-size: 16px;
  font-size: 1rem;
  font-style: italic;
  text-transform: uppercase;
}
footer div.col-wrap:first-child .col-2:last-child {
  font-size: 16px;
  font-size: 1rem;
  width: 200px;
}
footer div.col-wrap:last-child {
  border-top: 2px solid #000;
  padding-top: 20px;
}
footer div.col-wrap:last-child .col-2 {
  font-size: 14px;
  font-size: 0.875rem;
}
footer div.col-wrap:last-child .col-2:last-child {
  font-family: novecento-sans-condensed, sans-serif;
  text-align: right;
  text-transform: uppercase;
}
footer div.col-wrap:last-child .col-2:last-child a {
  color: #000;
  text-decoration: none;
}
footer nav.foo-navi {
  font-family: novecento-sans-condensed, sans-serif;
  font-size: 22px;
  font-size: 1.375rem;
  text-transform: uppercase;
}
footer nav.foo-navi ul {
  list-style: none;
  padding-left: 0;
}
footer nav.foo-navi ul li {
  margin-bottom: 10px;
}
footer nav.foo-navi ul li a {
  border-bottom: 2px solid transparent;
  color: #000;
  text-decoration: none;
}
footer nav.foo-navi ul li a:hover {
  border-color: #000;
  text-decoration: none;
}
footer nav.foo-navi ul li.current-menu-item > a, footer nav.foo-navi ul li.current-menu-parent > a, footer nav.foo-navi ul li.current-menu-ancestor > a {
  border-color: #000;
}
footer p.some img {
  margin-right: 5px;
}

@media only screen and (max-width: 650px) {
  footer div.col-wrap:first-child {
    padding-bottom: 0;
  }
  footer div.col-wrap:first-child .col-2:first-child {
    padding-right: 0;
    width: 100%;
  }
  footer div.col-wrap:first-child .col-2:last-child {
    padding: 40px 0;
    width: 100%;
  }
  footer div.col-wrap:last-child .col-2:last-child {
    padding-top: 20px;
    text-align: left;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
main {
  box-sizing: border-box;
  position: relative;
}
section.yksi_palsta.text-short .col-1 {
  max-width: 50%;
}

section.kaksi_palstaa.text-width-narrow .col-2:first-child {
  padding-left: calc(50% - 600px);
}
section.kaksi_palstaa.text-width-narrow .col-2:last-child {
  padding-right: calc(50% - 600px);
}

.wrap {
  clear: both;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.col-wrap {
  clear: both;
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.col-wrap:after,
.wrap:after {
  clear: both;
  content: "";
  display: table;
}

.kaksi_palstaa .col-wrap {
  display: flex;
  padding: 0;
}
.kaksi_palstaa .col-wrap .col-2 {
  padding: 80px;
}

.kaksi_palstaa .wrap .col-wrap {
  display: flex;
  padding: 80px 0;
}
.kaksi_palstaa .wrap .col-wrap .col-2:first-child {
  padding: 0 60px 0 0;
}
.kaksi_palstaa .wrap .col-wrap .col-2:last-child {
  padding: 0 0 0 60px;
}

.no-bot-pad {
  padding-bottom: 0;
}

.no-top-pad {
  padding-top: 0;
}

.bg-lightbrown {
  background-color: #e4d9cf;
}

.bg-orange {
  background-color: #f05924;
  color: #fff;
}

.bg-gray {
  background-color: #efefef;
}

.with-bg-img {
  color: #fff;
}
.with-bg-img h1,
.with-bg-img h2,
.with-bg-img h3,
.with-bg-img h4 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 30px;
}
.with-bg-img h1 a,
.with-bg-img h2 a,
.with-bg-img h3 a,
.with-bg-img h4 a {
  color: #fff;
}
.with-bg-img h1 a:hover,
.with-bg-img h2 a:hover,
.with-bg-img h3 a:hover,
.with-bg-img h4 a:hover {
  text-decoration: none;
}

.col-1 {
  padding: 0;
}

.col-2 {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
  position: relative;
  width: 50%;
}

.flex .col-2 {
  float: none;
}

.col-2-right .col-2:first-child {
  margin-left: auto;
  order: 2;
}

.col-2-right {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.flex .col-2:last-child {
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
}

.col-2:first-child {
  padding-right: 20px;
}

.col-2:last-child {
  padding-left: 20px;
}

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

.col-2-img {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}

.col-2-img img {
  display: none;
}

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

.col-3:first-child {
  padding-right: 40px;
}

.col-3:nth-child(2) {
  padding: 0 40px;
}

.col-3:last-child {
  padding-left: 40px;
}

.col-3-2 {
  float: left;
  width: 66.66%;
}

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

.col-2-2 {
  float: left;
  width: calc(100% - 350px);
}

.col-2-1 {
  float: left;
  width: 350px;
}

.col-2-2:first-child,
.col-2-1:first-child {
  padding-right: 40px;
}

.col-2-1:last-child,
.col-2-2:last-child {
  padding-left: 40px;
}

.col-4 {
  float: left;
  padding: 0;
  position: relative;
  width: 25%;
}

.col-5 {
  float: left;
  padding: 0;
  position: relative;
  width: 20%;
}

.flex {
  align-items: center;
  display: flex;
}

@media only screen and (max-width: 1300px) {
  .wrap {
    max-width: calc(100% - 100px);
  }
}
@media only screen and (max-width: 900px) {
  .kaksi_palstaa .col-wrap .col-2 {
    padding: 40px;
  }
  section.yksi_palsta.text-short .col-1 {
    max-width: 100%;
  }
  section.kaksi_palstaa.text-width-narrow .col-2:first-child {
    padding-left: 40px;
  }
  section.kaksi_palstaa.text-width-narrow .col-2:last-child {
    padding-right: 40px;
  }
  .col-3:first-child {
    padding-right: 20px;
  }
  .col-3:nth-child(2) {
    padding: 0 10px;
  }
  .col-3:last-child {
    padding-left: 20px;
  }
}
@media only screen and (max-width: 650px) {
  .wrap {
    max-width: calc(100% - 40px);
  }
  .col-wrap,
  .kaksi_palstaa .wrap .col-wrap {
    padding: 40px 0;
  }
  .kaksi_palstaa .col-wrap .col-2 {
    padding: 20px;
  }
  .col-2,
  .col-2-1,
  .col-2-2,
  .col-3 {
    float: none;
    width: 100%;
  }
  .col-2:first-child,
  .col-2-2:first-child,
  .col-2-1:first-child,
  .kaksi_palstaa .wrap .col-wrap .col-2:first-child,
  .col-3:first-child {
    padding-right: 0;
  }
  .col-2-2:first-child,
  .col-2-1:first-child {
    margin-bottom: 20px;
  }
  .col-2:last-child,
  .col-2-1:last-child,
  .col-2-2:last-child,
  .kaksi_palstaa .wrap .col-wrap .col-2:last-child,
  .col-3:last-child {
    padding-left: 0;
  }
  .kaksi_palstaa .wrap .col-wrap,
  .kaksi_palstaa .col-wrap {
    display: block;
  }
  .col-3:nth-child(2) {
    padding: 0;
  }
  .col-3 {
    margin-bottom: 20px;
  }
  .col-3:last-child {
    margin-bottom: 0;
  }
  .kaksi_palstaa .wrap .col-wrap .col-2 {
    padding: 40px 20px;
  }
  section.kaksi_palstaa.text-width-narrow .col-2:first-child {
    padding: 40px 20px;
  }
  section.kaksi_palstaa.text-width-narrow .col-2:last-child {
    padding: 20px;
  }
}
.col-wrap img {
  height: auto;
  max-width: 100%;
}

.wp-caption {
  font-size: 14px;
  font-size: 0.875rem;
  max-width: 100%;
}

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

/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
div.gform_wrapper {
  position: relative;
}
div.gform_wrapper .gform_fields {
  list-style: none;
  margin: 0;
  padding: 0 !important;
  position: relative;
}
div.gform_wrapper .gform_fields .gfield {
  box-sizing: border-box;
  display: block;
  margin-bottom: 10px;
  width: 100%;
}
div.gform_wrapper .gform_fields .gfield h3 {
  margin-bottom: 5px;
  text-transform: uppercase;
}
div.gform_wrapper .gform_fields .gfield input, div.gform_wrapper .gform_fields .gfield select, div.gform_wrapper .gform_fields .gfield textarea {
  border: none;
  box-sizing: border-box;
  font-size: 16px;
  font-size: 1rem;
  padding: 10px;
  width: 100%;
}
div.gform_wrapper .gform_fields .gfield ul.gfield_checkbox li,
div.gform_wrapper .gform_fields .gfield ul.gfield_radio li {
  margin-bottom: 0;
}
div.gform_wrapper .gform_fields .gfield ul.gfield_checkbox label,
div.gform_wrapper .gform_fields .gfield ul.gfield_radio label {
  font-weight: normal;
  padding-left: 10px;
  position: relative;
  top: 2px;
}
div.gform_wrapper .gform_fields .gfield input[type=checkbox],
div.gform_wrapper .gform_fields .gfield input[type=radio] {
  padding: 0;
  width: auto;
}
div.gform_wrapper .gform_fields .gfield input[type=file] {
  padding: 7px 10px;
}
div.gform_wrapper .gform_fields .gfield textarea {
  height: 85px;
}
div.gform_wrapper .gform_fields .gfield.gform_validation_container {
  display: none;
}
div.gform_wrapper .gform_fields .gfield.show-label label {
  display: block;
}
div.gform_wrapper label {
  display: none;
}
div.gform_wrapper input[type=submit] {
  background-color: #f05924;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: novecento-sans-condensed, sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  padding: 8px 25px 8px 25px;
  text-align: left;
  text-transform: uppercase;
  transition-duration: 0.5s;
}
div.gform_wrapper input[type=submit]:hover {
  background-color: rgb(186.7115384615, 57.9743589744, 12.7884615385);
}
div.gform_wrapper div.gform_footer {
  padding-top: 20px;
}
div.gform_wrapper.newsletter_wrapper form {
  clear: both;
  content: "";
  display: table;
}
div.gform_wrapper.newsletter_wrapper label {
  display: none;
}
div.gform_wrapper.newsletter_wrapper input[type=email] {
  border: none;
  box-sizing: border-box;
  display: inline-block;
  padding: 10px;
  width: 100%;
}
div.gform_wrapper.newsletter_wrapper div.gform_body {
  float: left;
  vertical-align: top;
  width: 310px;
}
div.gform_wrapper.newsletter_wrapper div.gform_footer {
  float: left;
  padding-top: 0;
  width: calc(100% - 310px);
}

div#gform_wrapper_2 .gform_fields .gfield:nth-child(1), div#gform_wrapper_2 .gform_fields .gfield:nth-child(2), div#gform_wrapper_2 .gform_fields .gfield:nth-child(3) {
  width: 33.33%;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(4), div#gform_wrapper_2 .gform_fields .gfield:nth-child(5), div#gform_wrapper_2 .gform_fields .gfield:nth-child(6), div#gform_wrapper_2 .gform_fields .gfield:nth-child(7), div#gform_wrapper_2 .gform_fields .gfield:nth-child(8), div#gform_wrapper_2 .gform_fields .gfield:nth-child(9), div#gform_wrapper_2 .gform_fields .gfield:nth-child(10), div#gform_wrapper_2 .gform_fields .gfield:nth-child(11), div#gform_wrapper_2 .gform_fields .gfield:nth-child(12) {
  position: absolute;
  right: 0;
  top: -110px;
  width: 60%;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(5), div#gform_wrapper_2 .gform_fields .gfield:nth-child(6), div#gform_wrapper_2 .gform_fields .gfield:nth-child(7), div#gform_wrapper_2 .gform_fields .gfield:nth-child(8), div#gform_wrapper_2 .gform_fields .gfield:nth-child(9), div#gform_wrapper_2 .gform_fields .gfield:nth-child(10), div#gform_wrapper_2 .gform_fields .gfield:nth-child(11), div#gform_wrapper_2 .gform_fields .gfield:nth-child(12) {
  right: 33%;
  top: 0;
  width: 30%;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(4) {
  right: 0;
  width: 63%;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(6) {
  top: 48px;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(7) {
  top: 96px;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(8) {
  top: 144px;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(9) {
  right: 0;
  top: 0;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(10) {
  right: 0;
  top: 48px;
}
div#gform_wrapper_2 .gform_fields .gfield:nth-child(11) {
  right: 0;
  top: 96px;
}

section.nostolaatikko div.newsletter_wrapper form {
  margin: 0 auto;
}

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

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

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

.gform_validation_container {
  display: none;
}

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

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

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

div.gform_confirmation_message {
  padding: 20px 0;
}

div.gform_validation_errors,
div.validation_message {
  color: red;
}
div.gform_validation_errors h2,
div.validation_message h2 {
  font-size: 20px;
  font-size: 1.25rem;
}

.gform_ajax_spinner {
  animation: spinner 1.1s infinite linear;
  background: none;
  border: 2px solid rgba(0, 135, 197, 0.1);
  border-left: 2px solid #fff;
  border-radius: 50%;
  bottom: -45px;
  height: 20px;
  display: block;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 20px;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
div.download-pdf_wrapper {
  max-width: 400px;
}
div.download-pdf_wrapper .gform_fields .gfield input[type=email],
div.download-pdf_wrapper .gform_fields .gfield input[type=text] {
  border: 1px solid #e4d9cf;
}

div.gform_wrapper div.captcha {
  position: relative !important;
  right: auto !important;
  top: auto !important;
}

@media only screen and (max-width: 900px) {
  div.gform_wrapper.newsletter_wrapper div.gform_body {
    width: 200px;
  }
  div.gform_wrapper.newsletter_wrapper div.gform_footer {
    width: calc(100% - 200px);
  }
  div#gform_wrapper_2 .gform_fields .gfield:nth-child(4) {
    width: 50%;
  }
}
@media only screen and (max-width: 650px) {
  div#gform_wrapper_2 .gform_fields .gfield {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }
}
table {
  border-collapse: collapse;
  line-height: 1.45;
  margin-bottom: 30px;
  width: 100%;
}

table th {
  text-align: left;
}

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

/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
a {
  color: #000;
  transition-duration: 0.5s;
}

a:hover {
  text-decoration: underline;
}

a.btn {
  background-color: #f05924;
  color: #fff;
  font-family: novecento-sans-condensed, sans-serif;
  font-size: 22px;
  font-size: 1.375rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  min-width: 146px;
  padding: 15px 25px;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}
a.btn.video {
  text-align: center;
}

a.btn:hover {
  background-color: rgb(186.7115384615, 57.9743589744, 12.7884615385);
  text-decoration: none;
}

p,
.col-wrap ul,
.col-wrap ol,
blockquote {
  line-height: 1.4;
  margin: 0;
  margin-bottom: 30px;
  padding: 0;
}

p.ingressi {
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: 700;
}

blockquote {
  margin-bottom: 20px;
  padding: 20px;
}

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

.col-wrap p:last-child,
.col-wrap ul:last-child,
.col-wrap ol:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  font-family: novecento-sans-condensed, sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
h1 a,
h2 a,
h3 a,
h4 a {
  text-decoration: none;
}

h1 {
  font-size: 100px;
  font-size: 6.25rem;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

h2 {
  font-size: 50px;
  font-size: 3.125rem;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

h3 {
  font-size: 30px;
  font-size: 1.875rem;
  line-height: 1;
  margin-bottom: 20px;
}

h4 {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1;
  margin-bottom: 20px;
}

h5 {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1;
  margin: 0 0 20px 0;
  padding: 0;
}

/*.col-wrap p + h2,
.col-wrap p + h3,
.col-wrap p + h4 {
  padding-top: 30px;
}*/
.center {
  text-align: center;
}

span.tavuviiva {
  display: none;
}

section.text-white {
  color: #fff;
}
section.text-white h1,
section.text-white h2,
section.text-white h3,
section.text-white h4 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mailto links */
.mailto-link {
  position: relative;
  padding: 8px 0;
}

.mailto-message {
  top: 1px;
  left: 50%;
  margin-bottom: -5px;
  transform: translate(-50%, -100%);
  position: absolute;
  display: none;
  width: auto;
  white-space: nowrap;
  font-size: 12px;
  background-color: black;
  color: white;
  padding: 2px 6px;
  border-radius: 2px;
}
.mailto-message:after, .mailto-message:before {
  content: "";
}
.mailto-message:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0);
  border-top-color: #000000;
  border-width: 4px;
  margin-left: -4px;
}

.mailto-link:hover .mailto-message,
.mailto-link:focus .mailto-message,
.mailto-link:focus-within .mailto-message {
  display: block;
}

@media only screen and (max-width: 900px) {
  h1 {
    font-size: 80px;
    font-size: 5rem;
  }
  h2 {
    font-size: 40px;
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 650px) {
  h1 {
    font-size: 50px;
    font-size: 3.125rem;
  }
  h2 {
    font-size: 30px;
    font-size: 1.875rem;
  }
  a.btn {
    font-size: 18px;
    font-size: 1.125rem;
    padding: 10px 20px;
  }
  p.ingressi {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #000;
  display: block;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 20px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
section.hero {
  min-height: 500px;
  position: relative;
}
section.hero img {
  display: block;
  height: 100%;
  left: 0;
  object-position: center center;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
section.hero video {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
section.hero div.hero-text {
  padding: 200px 0 100px 0;
  position: relative;
  width: 50%;
  z-index: 2;
}
section.hero div.hero-text h1 {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: uppercase;
}
section.hero div.hero-text p,
section.hero div.hero-text a {
  color: #fff;
}
section.hero.hero-single {
  background-color: #474f24;
  text-align: center;
}
section.hero.hero-single div.hero-text {
  width: 100%;
}
section.hero.hero-single div.hero-text h1 {
  font-size: 60px;
  font-size: 3.75rem;
}
section.hero.hero-single div.hero-text p.date strong {
  color: #fff;
}

@media only screen and (max-width: 900px) {
  section.hero div.hero-text {
    width: 100%;
  }
}
@media only screen and (max-width: 650px) {
  section.hero.hero-single div.hero-text h1 {
    font-size: 40px;
    font-size: 2.5rem;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-wrap {
  display: flex;
  height: 100%;
  padding: 0;
}
section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:first-child {
  padding: 100px 50px;
}
section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:first-child div.col-2-content {
  float: right;
  max-width: 550px;
}
section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:last-child {
  padding-left: 0;
}
section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:last-child img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-wrap {
  display: flex;
  padding: 0;
}
section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:last-child {
  padding: 100px 50px 100px 130px;
}
section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:last-child div.col-2-content {
  float: left;
  max-width: 550px;
}
section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:first-child {
  padding-right: 0;
}
section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:first-child img {
  display: block;
  height: auto;
  width: 100%;
}

@media only screen and (max-width: 1450px) {
  section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-wrap {
    align-items: stretch;
  }
  section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:last-child img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-wrap {
    align-items: stretch;
  }
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:first-child img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:last-child {
    padding: 50px;
  }
}
@media only screen and (max-width: 650px) {
  section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-wrap,
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-wrap {
    align-items: center;
    display: block;
  }
  section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:first-child div.col-2-content {
    float: none;
  }
  section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:first-child,
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:last-child {
    padding: 40px 20px;
  }
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-wrap {
    display: flex;
    flex-direction: column;
  }
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-wrap .col-2:first-child {
    order: 2;
  }
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-wrap .col-2:last-child {
    order: 1;
  }
  section.kaksi_palstaa_teksti_vasemmalla_kuva_oikealla div.col-2:last-child,
  section.kaksi_palstaa_kuva_vasemmalla_teksti_oikealla div.col-2:first-child {
    min-height: 100vw;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
section.nostolaatikko {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
section.nostolaatikko video {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
section.nostolaatikko.text-center .col-1 {
  margin: 0 auto;
}
section.nostolaatikko.text-right .col-1 {
  float: right;
}
section.nostolaatikko div.col-wrap {
  padding: 160px 0;
}
section.nostolaatikko .col-1 {
  max-width: 50%;
}
section.nostolaatikko .col-1 h2 {
  margin-bottom: 30px;
}

@media only screen and (max-width: 900px) {
  section.nostolaatikko div.col-wrap {
    padding: 80px 0;
  }
  section.nostolaatikko .col-1 {
    max-width: 80%;
  }
}
@media only screen and (max-width: 650px) {
  section.nostolaatikko div.col-wrap {
    padding: 40px 0;
  }
  section.nostolaatikko .col-1 {
    max-width: 100%;
  }
  section.nostolaatikko.text-right .col-1 {
    float: none;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
ul.tuoteperhe {
  list-style: none;
  padding-left: 0;
}
ul.tuoteperhe li {
  background-color: #fff;
  display: inline-block;
  margin: 0 20px 45px 20px;
  vertical-align: top;
  width: calc(33.33% - 40px);
  /*&[data-name="spare-parts"],
  &[data-name="accessories"],
  &[data-name="vehicle-mounting-kits"],
  &[data-name="antenna-pointing-devices-and-brackets"],*/
}
ul.tuoteperhe li.hidden {
  display: none;
}
ul.tuoteperhe li[data-name=sticky] {
  display: inline-block !important;
}
ul.tuoteperhe li img {
  display: block;
  height: 265px;
  object-position: center center;
  object-fit: cover;
}
ul.tuoteperhe li a {
  color: #000;
  text-decoration: none;
}
ul.tuoteperhe li h3 {
  background-color: #fff;
  font-size: 18px;
  font-size: 1.125rem;
  margin-bottom: 0;
  padding: 20px;
  text-transform: uppercase;
}
ul.tuoteperhe li p.date {
  margin-bottom: 10px;
  padding: 20px 20px 0 20px;
}
ul.tuoteperhe li p.date + h3 {
  padding-top: 0;
}

section.product-table table th {
  border-bottom: 2px solid #000;
  font-variant-numeric: lining-nums;
  padding: 5px 0;
}
section.product-table table th,
section.product-table table td:first-child {
  font-family: novecento-sans-condensed, sans-serif;
  text-transform: uppercase;
}
section.product-table table td {
  border-bottom: 1px solid #e2e2e2;
  padding: 10px 0;
}
section.product-table a.metric-conversion {
  border: 1px solid #000;
  color: #000;
  display: inline-block;
  font-family: novecento-sans-condensed, sans-serif;
  padding: 5px 10px;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-transform: uppercase;
  top: 80px;
}

div.gallery {
  position: relative;
}
div.gallery a.gallery-prev,
div.gallery a.gallery-next {
  color: #f05924;
  display: block;
  font-size: 50px;
  font-size: 3.125rem;
  height: auto;
  left: -50px;
  padding: 20px;
  position: absolute;
  text-decoration: none;
  top: calc(50% - 50px);
  width: auto;
  z-index: 999;
}
div.gallery a.gallery-prev:hover,
div.gallery a.gallery-next:hover {
  color: rgb(186.7115384615, 57.9743589744, 12.7884615385);
}
div.gallery a.gallery-next {
  left: auto;
  right: -50px;
}
div.gallery div.carousel-navi {
  text-align: center;
}
div.gallery div.carousel-navi a {
  background: #efefef;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 10px;
  margin-left: 5px;
  margin-right: 5px;
  outline: none;
  overflow: hidden;
  text-indent: -9999px;
  width: 10px;
}
div.gallery div.carousel-navi a:hover, div.gallery div.carousel-navi a.current {
  background: #000;
}

div.gallery-wrap {
  overflow: hidden;
  position: relative;
}

ul.gallery {
  height: 540px;
  list-style: none;
  margin: 0;
  padding-left: 0;
  position: relative;
}
ul.gallery li {
  display: block;
  height: 540px;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  width: 540px;
}
ul.gallery li a {
  align-items: center;
  display: flex;
  height: 540px;
}
ul.gallery li a img {
  display: block;
  object-position: center center;
  object-fit: contain;
}

div.pf-links {
  margin-bottom: 15px;
}
div.pf-links a {
  border: 1px solid #000;
  color: #000;
  display: inline-block;
  font-family: novecento-sans-condensed, sans-serif;
  padding: 5px 10px;
  text-decoration: none;
  text-transform: uppercase;
}
div.pf-links a:first-child {
  margin-right: 10px;
}
div.pf-links a:hover {
  color: #f05924;
}

div.product-filter {
  background-color: #fff;
  margin-bottom: 15px;
}
div.product-filter a.pf-top,
div.product-filter div.pf-bot {
  padding: 12px 20px;
}
div.product-filter a.pf-top {
  display: block;
  position: relative;
  text-decoration: none;
}
div.product-filter a.pf-top span.title {
  font-family: novecento-sans-condensed, sans-serif;
  text-transform: uppercase;
}
div.product-filter a.pf-top span.plus {
  color: #f05924;
  font-size: 35px;
  font-size: 2.1875rem;
  font-weight: 500;
  position: absolute;
  right: 15px;
  top: 3px;
}
div.product-filter a.pf-top.open span.plus {
  right: 13px;
  top: -1px;
}
div.product-filter a.pf-top:hover {
  color: #f05924;
}
div.product-filter div.pf-bot {
  border-top: 1px solid #000;
  display: none;
}
div.product-filter div.pf-bot div.check-row {
  margin-bottom: 2px;
}

@media only screen and (max-width: 900px) {
  ul.tuoteperhe li {
    display: block;
    margin: 0 0 20px 0;
    width: 100%;
  }
  ul.tuoteperhe li img {
    width: 100%;
  }
  ul.gallery {
    height: 540px;
  }
  ul.gallery li {
    height: 540px;
    width: 280px;
  }
  ul.gallery li a {
    height: 540px;
  }
}
@media only screen and (max-width: 650px) {
  div.gallery-wrap {
    margin: 0 auto;
  }
  ul.gallery {
    height: 240px;
  }
  ul.gallery li {
    height: 240px;
    width: 200px;
  }
  ul.gallery li a {
    height: 240px;
  }
  div.gallery a.gallery-prev {
    left: 0;
  }
  div.gallery a.gallery-next {
    right: 0;
  }
  section.product-table a.metric-conversion {
    top: 40px;
  }
  section.product-table table {
    display: block;
    font-size: 10px;
    font-size: 0.625rem;
    overflow-x: auto;
    white-space: nowrap;
  }
  section.product-table table th {
    padding: 2px;
  }
  section.product-table table td {
    padding: 5px 2px;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
p.date {
  font-size: 15px;
  font-size: 0.9375rem;
  font-style: italic;
}
p.date strong {
  color: #424f24;
  margin-right: 10px;
}

img.single-news-img {
  display: block;
  margin: -150px auto 100px auto;
}

div.singe-news-content-wrap {
  margin: 0 auto;
  max-width: 825px;
}

body.single-post h2 {
  font-size: 30px;
  font-size: 1.875rem;
}
body.single-post h3 {
  font-family: proxima-nova, sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  margin-bottom: 10px;
  text-transform: none;
}
body.single-post nav.post-navigation {
  border-top: 2px solid #000;
  font-family: novecento-sans-condensed, sans-serif;
  margin-top: 50px;
  padding-top: 20px;
  text-transform: uppercase;
}
body.single-post nav.post-navigation a {
  text-decoration: none;
}
body.single-post nav.post-navigation div.nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
body.single-post nav.post-navigation div.nav-links > div {
  width: 50%;
}
body.single-post nav.post-navigation div.nav-links > div.nav-previous {
  width: 40%;
}
body.single-post nav.post-navigation div.nav-links > div.nav-next {
  padding-left: 20%;
  text-align: right;
  width: 60%;
}
body.single-post nav.post-navigation div.nav-links > div.nav-next:first-child {
  width: 100%;
}
body.single-post p.all-articles {
  font-family: novecento-sans-condensed, sans-serif;
  margin-top: -20px;
  text-align: center;
  text-transform: uppercase;
}
body.single-post p.all-articles a {
  text-decoration: none;
}

@media only screen and (max-width: 650px) {
  img.single-news-img {
    margin-bottom: 50px;
    margin-top: -100px;
  }
  body.single-post p.all-articles {
    margin-top: 20px;
    text-align: left;
  }
  body.single-post nav.post-navigation div.nav-links > div.nav-previous {
    width: 50%;
  }
  body.single-post nav.post-navigation div.nav-links > div.nav-next {
    padding-left: 20px;
    width: 50%;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
section.yhteystiedot div.yhteystietoalue {
  background: #fff;
  margin-bottom: 60px;
}
section.yhteystiedot div.yhteystietoalue:last-child {
  margin-bottom: 0;
}
section.yhteystiedot div.yhteystietoalue h2,
section.yhteystiedot div.yhteystietoalue div.yhteystiedot-sisalto {
  padding: 40px 50px;
}
section.yhteystiedot div.yhteystietoalue h2 {
  border-bottom: 2px solid #000;
}
section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo {
  display: inline-block;
  margin-bottom: 40px;
  padding-right: 20px;
  vertical-align: top;
  width: 25%;
}
section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo span.titteli {
  font-style: italic;
  text-transform: uppercase;
}
section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo span.nimi {
  font-family: novecento-sans-condensed, sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  text-transform: uppercase;
}
section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo a.btn {
  padding: 2px 20px;
}
section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo div.contact-data {
  display: none;
}
section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo p:first-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 900px) {
  section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo {
    width: 50%;
  }
}
@media only screen and (max-width: 650px) {
  section.yhteystiedot div.yhteystietoalue h2,
  section.yhteystiedot div.yhteystietoalue div.yhteystiedot-sisalto {
    margin-bottom: 0;
    padding: 20px;
  }
  section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo {
    display: block;
    padding-right: 0;
    width: 100%;
  }
  section.yhteystiedot div.yhteystietoalue div.yhteystieto-henkilo:last-child {
    margin-bottom: 0;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
section.jalleenmyyjat div.jalleenmyyja {
  display: block;
  vertical-align: top;
}
section.jalleenmyyjat h3,
section.jalleenmyyjat h4,
section.jalleenmyyjat h5 {
  margin-bottom: 10px;
  text-transform: uppercase;
}
section.jalleenmyyjat .col-wrap {
  display: block;
}
section.jalleenmyyjat div.col-2:first-child {
  padding-bottom: 0;
}
section.jalleenmyyjat div.col-2:last-child {
  clear: both;
  float: none;
  padding-left: calc(50% - 600px);
  width: 100%;
}
section.jalleenmyyjat div.col-2:last-child h2 {
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}
section.jalleenmyyjat div.col-2:last-child h3 {
  font-size: 28px;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
section.jalleenmyyjat div.col-2:last-child div.jalleenmyyja {
  display: inline-block;
  padding: 20px 40px 20px 0;
  width: calc(33.33% - 5px);
}
section.jalleenmyyjat div.col-2:last-child div.jalleenmyyja:after {
  clear: both;
  content: "";
  display: table;
}
section.jalleenmyyjat div.col-2:last-child div.jalleenmyyja + h2 {
  margin-top: 40px;
}
section.jalleenmyyjat div.col-2:last-child h3 {
  color: #f05924;
  font-size: 25px;
  font-size: 1.5625rem;
  margin-bottom: 20px;
}
section.jalleenmyyjat div.col-2:last-child h4 {
  margin-bottom: 10px;
}
section.jalleenmyyjat div.col-2:last-child p {
  margin-bottom: 10px;
}
section.jalleenmyyjat div.col-2:last-child a {
  font-family: novecento-sans-condensed, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}
section.jalleenmyyjat div.col-2:last-child img.logo {
  display: block;
  float: left;
  margin-right: 20px;
  margin-top: 5px;
  width: 80px;
}
section.jalleenmyyjat div.col-2:last-child div.jm-content {
  float: left;
  width: calc(100% - 100px);
}
section.jalleenmyyjat div.col-2:last-child div.jm-content a.btn {
  padding: 5px 20px;
}
section.jalleenmyyjat div.col-2:last-child div.jm-content div.contact-data {
  display: none;
}

@media only screen and (max-width: 900px) {
  section.jalleenmyyjat div.jalleenmyyja {
    display: block;
    padding-right: 0;
    width: 100%;
  }
  section.kaksi_palstaa.text-width-narrow .col-2:last-child {
    padding: 40px;
  }
  section.jalleenmyyjat div.col-2:last-child div.jalleenmyyja {
    width: calc(50% - 5px);
  }
}
@media only screen and (max-width: 650px) {
  section.kaksi_palstaa.text-width-narrow .col-2:last-child {
    padding: 0 20px;
  }
  section.jalleenmyyjat div.col-2:last-child div.jalleenmyyja {
    display: block;
    width: 100%;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
div.slider-wrap {
  clear: both;
  content: "";
  display: table;
  padding-top: 20px;
  position: relative;
  /*div.slider-label {
    float: left;
    font-family: variables.$title_font_family;
    @include fontSize(18px);
    font-weight: 500;
    margin-right: 10px;
    padding-right: 10px;
    text-align: right;
    width: 112px;
  }*/
  /*div.range-line {
    background: #fff;
    height: 3px;
    left: 110px;
    position: absolute;
    top: 10px;
    width: 210px;
  }*/
  /*input.oikea-reuna-luku {
    background: none;
    border: none;
    color: blue;
    float: left;
    font-family: variables.$title_font_family;
    @include fontSize(22px);
    font-weight: 900;
    padding: 0;
    width: calc(100% - 370px);
  }*/
  /*p.radio-buttons {
    font-family: variables.$title_font_family;
    @include fontSize(18px);
    font-weight: 500;
    margin-bottom: 40px;
    padding-left: 100px;
    padding-right: 40px;
    text-align: left;

    a {
      display: block;
      //margin-right: 30px;

      &:first-child {
        margin-bottom: 20px;
      }
    }

    span {
      background: #fff;
      border: 5px solid #fff;
      border-radius: 50%;
      display: inline-block;
      height: 10px;
      margin-right: 10px;
      outline: none;
      vertical-align: middle;
      width: 10px;
    }

    a.selected span {
      background: blue;
    }
  }*/
}
div.slider-wrap div.slider-range {
  background: #f8f8f8;
  width: 260px;
}
div.slider-wrap .ui-slider-horizontal,
div.slider-wrap .ui-slider-horizontal .ui-slider-range {
  height: 6px;
}
div.slider-wrap .ui-slider-horizontal .ui-slider-range {
  background-color: #f05924;
}
div.slider-wrap .ui-widget-content {
  border: none;
  background: none;
  color: #333;
}
div.slider-wrap .ui-corner-all, div.slider-wrap .ui-corner-top, div.slider-wrap .ui-corner-right, div.slider-wrap .ui-corner-tr {
  border-radius: 0;
}
div.slider-wrap .ui-widget-header {
  background: #fff;
}
div.slider-wrap .ui-slider-handle {
  background: #fff;
  border: 10px solid #f05924;
  border-radius: 50%;
  cursor: ew-resize;
  height: 15px;
  outline: none;
  top: -14px;
  width: 15px;
}
div.slider-wrap div.range-values {
  font-size: 14px;
  font-size: 0.875rem;
  padding-top: 30px;
}
div.slider-wrap div.range-values:after {
  clear: both;
  content: "";
  display: table;
}
div.slider-wrap div.range-values div.rv-left,
div.slider-wrap div.range-values div.rv-right {
  float: left;
  width: 50%;
}
div.slider-wrap div.range-values div.rv-right {
  text-align: right;
}

/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
div#cookie-notice .btn {
  background-color: #fff;
  color: #000;
  min-width: 0;
}
div#cookie-notice a#cn-refuse-cookie {
  background-color: rgba(255, 255, 255, 0.5);
}
div#cookie-notice a#cn-more-info {
  background-color: transparent;
  color: #fff;
  text-decoration: underline;
}

@media only screen and (max-width: 650px) {
  .cn-close-icon {
    top: 25px !important;
  }
}
/*
Theme Name: Mastsystem
Author: Hurry Oy / Mikko Hopia Oy
Author URI: https://www.hurry.fi
Description: Mastsystem sivupohja
Version: 1.0
*/
div.video-background {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9;
}
div.video-background div.video-popup {
  aspect-ratio: 16/9;
  background-color: #000;
  position: relative;
  width: 800px;
}
div.video-background div.video-popup video,
div.video-background div.video-popup iframe {
  height: 100%;
  left: 0;
  object-fit: contain;
  object-position: center center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
div.video-background div.video-popup a.close {
  color: #fff;
  font-family: novecento-sans-condensed, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-transform: uppercase;
  top: -30px;
}
div.video-background div.video-popup a.close:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media only screen and (max-width: 900px) {
  div.video-background div.video-popup {
    width: 80%;
  }
}
/*# sourceMappingURL=style.css.map */
