/*---------------------------------------------------
    LESS Elements 0.9
  ---------------------------------------------------
    A set of useful LESS mixins
    More info at: http://lesselements.com
  ---------------------------------------------------*/
/* Grid */
* {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
/* Breakpoints
********************/
/* Mixins
********************/
/* Colors
********************/
/* Columns */
.content {
  margin: 0 auto;
}
/*@media screen and (max-width: @hand) { .content {  } }
@media screen and (max-width: @lap) { .content { max-width: @hand; } }
@media screen and (min-width: @lap) { .content { max-width: @lap; } }
@media screen and (min-width: @table) { .content { max-width: @table; } }
@media screen and (min-width: @wall) { .content { max-width: @wall; } } */
img {
  max-width: 100%;
  height: auto;
}
/* Forms
********************/
input[type=submit] {
  font-weight: 300;
  width: 50%;
  padding: 5px 0 5px 10px;
  border: none;
  font-size: 22px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-right-white.png) no-repeat right center #fecc28;
  text-transform: uppercase;
  color: #3f3a2f;
  text-align: left;
}
/* Typography
********************/
body {
  font-family: "open-sans", sans-serif;
  font-size: 16px;
  background: url("http://api.thumbr.it/whitenoise-361x370.png?background=2e2e2eff&noise=626262&density=74&opacity=10") #18190a;
}
@media screen and (min-width: 720px) {
  body {
    font-size: 16px;
  }
}
@media screen and (min-width: 1024px) {
  body {
    font-size: 16px;
  }
}
@media screen and (min-width: 1240px) {
  body {
    font-size: 16px;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  font-size: 20px;
  text-transform: uppercase;
}
p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5em;
}
strong {
  font-weight: 700;
}
a {
  text-decoration: none;
  color: #443625;
}
input,
textarea {
  font-family: "open-sans", sans-serif;
}
sup {
  vertical-align: baseline;
  position: relative;
  font-size: 80%;
  top: -0.5em;
}
/* Typography:Article
********************/
article h1 {
  margin: 0 0 5px;
  font-weight: 300;
  font-size: 24px;
  text-transform: uppercase;
  color: #18190a;
}
article h2 {
  font-weight: 300;
  font-size: 38px;
  text-transform: uppercase;
  color: #ac9863;
  margin-bottom: 10px;
}
article h3 {
  color: #ac9863;
  font-size: 18px;
  margin: 20px 0 5px;
}
article h4 {
  color: #ac9863;
  font-size: 16px;
  margin: 20px 0;
}
article ul {
  list-style: disc;
  font-size: 15px;
  margin: 0 0 20px 30px;
  color: #18190a;
  font-weight: 300;
}
article ul li,
article ol li {
  padding: 3px 0;
}
article ol {
  list-style: decimal;
  font-size: 15px;
  margin: 0 0 20px 30px;
  color: #18190a;
  font-weight: 300;
  line-height: 1.4em;
}
article ol a {
  color: #ac9863;
  text-decoration: underline;
}
article p {
  font-size: 15px;
  margin: 0 0 15px;
}
article .history h2,
article .sertificates h2 {
  border-bottom: 1px solid #ccc;
  margin: 0 20px 20px;
  padding: 0 0 10px;
  font-size: 22px;
  color: #18190a;
}
@media screen and (max-width: 720px) {
  .content.products article h1 {
    margin: 0 15px 5px;
  }
}
/* Elements
********************/
.stripe {
  background: #cfc4a6;
  /* Old browsers */
  background: -moz-linear-gradient(top, #cfc4a6 0%, #6e603b 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cfc4a6), color-stop(100%, #6e603b));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #cfc4a6 0%, #6e603b 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #cfc4a6 0%, #6e603b 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #cfc4a6 0%, #6e603b 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #cfc4a6 0%, #6e603b 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='lighten(@color, @coef)', endColorstr='darken(@color, @coef)', GradientType=0);
  /* IE6-9 */
  height: 10px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.breadcrumbs {
  padding: 20px 0;
  background: #f6f6f6;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
}
.breadcrumbs .content {
  background: transparent !important;
}
.breadcrumbs ul li,
.breadcrumbs span {
  float: left;
  display: inline;
  font-size: 14px;
  margin-right: 5px;
}
@media screen and (max-width: 720px) {
  .breadcrumbs {
    padding: 20px;
  }
}
/* Header
*********************/
#wrapper {
  max-width: 1600px;
  margin: 0 auto;
  background: #ffffff;
}
.products.container {
  max-width: 1600px;
  margin: 0 auto;
}
header[role="banner"],
.container.header {
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
header,
.container.header {
  border-bottom: 5px solid #fecc28;
  background: #18190a;
  background-image: url(https://www.masino.fi/wp-content/themes/masino/less/../img/bg-header.png);
  color: #333;
  -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
}
header .content,
.container.header > .content {
  margin: 0 auto;
  position: relative;
  height: 190px;
}
@media screen and (min-width: 420px) {
  header .content {
    max-width: 420px;
    height: 160px;
  }
}
@media screen and (min-width: 720px) {
  header .content {
    max-width: 720px;
    height: 200px;
  }
}
@media screen and (min-width: 1024px) {
  header .content {
    max-width: 1024px;
  }
}
@media screen and (min-width: 1240px) {
  header .content {
    max-width: 1240px;
  }
}
/* Header:Logo
********************/
header .branding,
.container.header .branding {
  float: left;
  height: 100px;
  /*display: table-row;*/
  vertical-align: middle;
  text-align: center;
}
header .branding a,
.container.header .branding a {
  /*display: table-cell;*/
  height: 120px;
  vertical-align: middle;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/logo.png) no-repeat center;
}
header .branding img,
.container.header .branding img {
  height: auto;
  padding: 20px 0 0;
  display: none;
}
@media screen and (min-width: 720px) {
  header .branding,
  .container.header .branding {
    text-align: left;
    height: 170px;
  }
  header .branding a,
  .container.header .branding a {
    height: 170px;
    display: block;
    background: none;
  }
  header .branding img,
  .container.header .branding img {
    display: block;
  }
}
@media screen and (max-width: 720px) {
  .branding img,
  .container.header .branding img {
    width: 90%;
    float: left;
  }
  header .branding a,
  .container.header .branding a {
    display: block;
    background: none;
  }
  header .branding img,
  .container.header .branding img {
    display: block;
  }
}
/* Header:Nav
********************/
.nav.company {
  margin: 20px 0;
  font-size: 14px;
  width: 100%;
  float: right;
  text-align: right;
}
@media screen and (min-width: 720px) {
  .nav.company {
    width: 60%;
  }
}
.nav.company li {
  display: inline-block;
}
.nav.company li:after {
  content: " | ";
}
.nav.company li:last-child:after {
  content: none;
}
.nav.company a {
  color: #ac9863;
}
.nav.company a:hover {
  color: #e1dac7;
}
nav .search {
  float: right;
  text-align: right;
}
nav .search input[type="text"] {
  height: 30px;
  width: 200px;
  padding: 5px;
  font-size: 12px;
  border: none;
  display: inline-block;
}
nav .search input[type="submit"],
nav .search a {
  font-size: 12px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/icon-search.png) no-repeat center;
  height: 30px;
  width: 30px;
  text-indent: -99999px;
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0 0 0 -4px;
  cursor: pointer;
  display: inline-block;
}
header[role="banner"] .toggle,
.container.header .toggle {
  background: #fecc28;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: 0px;
  right: 0;
  display: none;
}
nav .search a {
  display: none;
}
@media screen and (max-width: 720px) {
  nav .search a {
    display: block;
  }
  nav .search form {
    display: none;
  }
  nav .search input[type="text"] {
    display: none;
  }
  nav .search {
    position: absolute;
    top: 50px;
    right: 0;
  }
  header[role="banner"] .toggle,
  .container.header .toggle {
    display: block;
  }
  header[role="banner"].active,
  .container.header.active {
    padding-top: 200px;
  }
  .nav.company {
    position: absolute;
    top: 40px;
    left: auto;
    margin: 0;
    z-index: 999;
    display: none;
    background: #000;
    width: 100%;
    max-width: 420px;
  }
  .nav.company li {
    width: 100%;
    float: left;
    clear: both;
    padding: 0 15px;
    text-align: left;
    border-bottom: 1px solid #443625;
    line-height: 36px;
    font-size: 14px;
  }
  .nav.company li:last-child {
    border: none;
  }
  .nav.company li:after {
    content: none;
  }
}
/* Header:Lang
********************/
.lang {
  float: right;
  width: auto;
}
#lang_sel_click a.lang_sel_sel,
#lang_sel_click a.lang_sel_sel:hover {
  color: #999;
  background-color: transparent;
}
#lang_sel_click a {
  background-color: transparent;
  color: #fff;
  border: none;
}
#lang_sel_click ul ul a,
#lang_sel_click ul ul a:visited {
  background-color: transparent;
  color: #fff;
}
#lang_sel_click ul ul,
#lang_sel_click li {
  width: 99px;
}
/* Nav:Products&Companies
********************/
nav.main,
.nav.main {
  width: 100%;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
nav.main .nav-container,
.nav.main .nav-container {
  overflow: hidden;
  width: 100%;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  display: none;
}
nav.main .nav-container.active,
.nav.main .nav-container.active {
  height: auto;
  max-height: 500px;
  overflow: hidden;
  border-bottom: 5px solid #fecc28;
  z-index: 99999;
}
nav.main a.products,
nav.main a.companies,
.nav.main a.products,
.nav.main a.companies {
  padding: 5px 10px;
  line-height: 32px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-down.png);
  background-repeat: no-repeat;
  background-size: 32px;
  color: #18190a;
}
nav.main a.products,
.nav.main a.products {
  float: left;
  background-color: #fefaeb;
  background-position: top left;
  padding: 0 15px 0 50px;
}
nav.main a.companies,
.nav.main a.companies {
  float: right;
  background-color: #ac9863;
  background-position: top right;
  padding: 0 50px 0 15px;
}
.sejo-info {
  position: absolute;
  bottom: 0;
  left: 150px;
  right: 150px;
  color: #fecc28;
  text-align: center;
  line-height: 32px;
}
@media screen and (max-width: 720px) {
  .sejo-info {
    bottom: 30px;
    left: 0px;
    right: 0px;
    line-height: 20px;
    font-size: 14px;
  }
}
nav.main .nav,
.nav.main .nav {
  padding: 10px;
  font-size: 18px;
}
.nav.products,
.nav.companies {
  width: 100%;
  padding: 0 20px;
  float: left;
}
.nav.companies {
  background: #ac9863;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
nav.main .nav ul li,
.nav.main .nav ul li {
  line-height: 36px;
  float: left;
}
nav.main .nav.products ul li,
.nav.main .nav.products ul li {
  padding: 10px 0;
  min-height: 48px;
  line-height: 22px;
}
@media screen and (min-width: 720px) {
  .nav.products {
    width: 60%;
    padding: 0 20px;
    float: left;
  }
  .nav.companies {
    width: 40%;
    padding: 0 20px;
    float: left;
    float: right;
    background: #ac9863;
  }
  .nav.companies ul li {
    display: inline-block;
    width: 100%;
  }
  .nav.products ul li:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width: 1024px) {
  .slogan {
    display: none;
  }
  nav.main .nav,
  .nav.main .nav {
    font-size: 16px;
  }
  .nav.companies {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
  }
  nav.main .nav-container.active,
  .nav.main .nav-container.active {
    max-height: 2000px;
  }
  .nav.companies ul li {
    display: inline-block;
    width: 100%;
  }
}
.icon {
  width: 48px;
  height: 48px;
  float: left;
  margin: 0 10px 0 0;
}
li:hover .icon {
  opacity: .7;
}
/* Hero
********************/
.hero.container {
  background-color: #222;
  min-height: 300px;
  color: #fff;
  width: 100%;
  overflow: hidden;
  position: relative;
}
/*.term-hydrauliikka-ja-suodatustekniikka .hero.container { color: #222; }*/
.hero h2 {
  padding: 50px 0 0;
  width: 50%;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.hero h1 {
  color: #ae9a64;
  font-size: 42px;
  font-weight: 300;
  margin: 0 0 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.hero p,
.hero span {
  width: 50%;
  border-bottom: 2px solid #fecc28;
  padding-bottom: 10px;
  font-size: 13px;
  display: block;
  line-height: 1.5em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1024px) {
  .hero p,
  .hero h1 {
    width: 100%;
  }
}
.hero .read-more p {
  border: none;
}
.hero .read-more a {
  padding: 5px 30px 5px 10px;
  margin: 10px 0;
  float: left;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-right-small.png) no-repeat right center #fecc28;
  color: #3f3a2f;
  font-size: 18px;
}
.hero.container .bg-image {
  background-color: #000;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.hero.container .bg-image .bg {
  min-height: 300px;
  background-size: 1600px auto;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.hero.container .fade-left,
.hero.container .fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  left: 0;
  display: none;
}
.hero.container .fade-left {
  background-image: linear-gradient(left, #000000 0%, rgba(0, 0, 0, 0) 100%);
  background-image: -o-linear-gradient(left, #000000 0%, rgba(0, 0, 0, 0) 100%);
  background-image: -moz-linear-gradient(left, #000000 0%, rgba(0, 0, 0, 0) 100%);
  background-image: -webkit-linear-gradient(left, #000000 0%, rgba(0, 0, 0, 0) 100%);
  background-image: -ms-linear-gradient(left, #000000 0%, rgba(0, 0, 0, 0) 100%);
  background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0, #000000), color-stop(1, rgba(0, 0, 0, 0)));
}
.hero.container .fade-right {
  right: 0;
  left: auto;
  background-image: linear-gradient(right, #000000 0%, #000000 0%);
  background-image: -o-linear-gradient(right, #000000 0%, rgba(0, 0, 0, 0) 0%);
  background-image: -moz-linear-gradient(right, #000000 0%, rgba(0, 0, 0, 0) 0%);
  background-image: -webkit-linear-gradient(right, #000000 0%, rgba(0, 0, 0, 0) 0%);
  background-image: -ms-linear-gradient(right, #000000 0%, rgba(0, 0, 0, 0) 0%);
  background-image: -webkit-gradient(linear, right bottom, left bottom, color-stop(0, #000000), color-stop(1, rgba(0, 0, 0, 0)));
}
.hero.container .content {
  position: relative;
  z-index: 999;
  padding-bottom: 30px;
}
/* Container:Main
********************/
.container.main,
.container.main .content {
  overflow: hidden;
  background: #fff;
}
/* .footer
********************/
.footer {
  max-width: 1600px;
  margin: 0 auto;
  min-height: 300px;
  background: #18190a;
  background-image: url(https://www.masino.fi/wp-content/themes/masino/less/../img/bg-header.png);
  color: #333;
  overflow: hidden;
}
.footer .branding {
  border-bottom: 1px solid #ac9863;
  padding: 15px 0;
  margin: 0 0 20px;
  overflow: hidden;
  width: 100%;
  float: left;
  clear: both;
}
.footer .branding a {
  float: left;
}
.footer .slogan {
  float: right;
  font-size: 18px;
  color: #ac9863;
  text-transform: uppercase;
  line-height: 1.2em;
  margin-top: 22px;
  text-align: right;
}
@media screen and (max-width: 1024px) {
  .footer .slogan {
    font-size: 26px;
  }
}
@media screen and (max-width: 720px) {
  .footer .slogan {
    display: none;
  }
  .footer .branding {
    height: auto;
  }
  .footer .branding a {
    height: auto;
  }
}
.footer .content {
  width: 100%;
}
/* .footer:Addresses
********************/
.address {
  float: left;
  border-bottom: 1px solid #ac9863;
  width: 100%;
}
.address li {
  width: 20%;
  float: left;
  color: #ac9863;
  margin: 0 0 20px 0;
}
@media screen and (min-width: 1024px) {
  .address li:nth-child(5n+1) {
    clear: left;
  }
}
.address li h3 {
  /* background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat top left; */
  text-transform: none;
  font-weight: 700;
  font-size: 14px;
  min-height: 35px;
  background-size: 30px;
  /* padding: 0 0 0 40px; */
}
.address li p {
  font-size: 12px;
}
@media screen and (max-width: 1024px) {
  .address li {
    width: 33.33333333%;
  }
  .address li:nth-child(3n+1) {
    clear: left;
  }
}
@media screen and (max-width: 720px) {
  .address li {
    width: 50%;
  }
  .address li h3 {
    font-size: 20px;
    line-height: 1.2em;
    margin-bottom: 14px;
    min-height: auto;
  }
  .address li:nth-child(3n+1) {
    clear: none;
  }
  .address li:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width: 420px) {
  .address li {
    width: 100%;
  }
}
/* .footer:Copy&Menu
********************/
.footer .nav.company {
  text-align: left;
  float: left;
}
.copyright {
  float: right;
  text-align: right;
  width: 40%;
  color: #ac9863;
  font-size: 12px;
  line-height: 50px;
}
@media screen and (max-width: 720px) {
  .footer .nav.company,
  .copyright {
    width: 100%;
    text-align: center;
  }
}
/* Page:Home
********************/
.content.home {
  padding: 30px 0;
  display: none;
}
/* Article:Company
********************/
article.company {
  padding: 30px 0;
}
article.company img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.company .introduction {
  width: 50%;
  padding: 0 20px;
  float: left;
}
.company .image {
  width: 50%;
  padding: 0 20px;
  float: left;
  overflow: hidden;
  margin: 0 0 30px;
}
.company .history {
  width: 100%;
  float: left;
}
.company .sertificates {
  width: 100%;
  float: left;
}
.company .introduction a {
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat top left;
  padding: 5px 0 5px 40px;
  line-height: 32px;
}
.company .info {
  overflow: hidden;
}
article.company .more-info img {
  width: 50%;
  padding: 0 20px;
  float: left;
  float: right;
  overflow: hidden;
  margin: 0 0 30px;
}
article.company .more-info a {
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat top left;
  padding: 5px 0 5px 40px;
  line-height: 32px;
}
.company .more-info {
  overflow: hidden;
  width: 100%;
  border-top: 1px solid #ccc;
  padding: 30px 0;
}
.company .more-info.values {
  background: #f6f6f6;
  margin-top: 20px;
  font-size: 18px;
}
.company .more-info .block {
  width: 50%;
  padding: 0 20px;
  float: left;
}
.company .more-info .block.wide {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
  font-size: 20px;
}
.company .more-info .block.vision {
  width: 33.33333333%;
  padding: 0 20px;
  float: left;
}
.company .more-info .block.wide ul li {
  font-size: 14px;
}
.company .more-info.values p {
  font-size: 16px;
}
.company .more-info.values ul {
  font-size: 14px;
}
.company .more-info .block.productfields {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
}
.company .more-info .block.history {
  width: 33.33333333%;
  padding: 0 20px;
  float: left;
}
.clear {
  clear: both;
  float: left;
}
.company .more-info .block.productfields img {
  width: auto;
  max-width: auto;
  float: none !important;
}
@media screen and (max-width: 720px) {
  article.company div,
  article.company div div {
    width: 100% !important;
  }
}
/* Contacts
********************/
.contacts {
  overflow: hidden;
  width: 100%;
  margin: 20px 0;
}
.contacts h2 {
  margin: 30px 20px 0;
  border-bottom: 1px solid #ccc;
  padding: 0 0 10px;
  font-size: 22px;
  color: #18190a;
}
.companies .contacts h2 {
  margin: 0 20px 20px;
}
.contacts > h3 {
  margin: 10px 20px;
}
.contacts .company-info {
  overflow: hidden;
  margin: 0 20px 20px;
  background: #eee;
  padding: 3px 220px 3px 10px;
  position: relative;
}
.contacts .company-info p {
  display: inline-block;
  margin: 0 10px 0 0;
}
.contacts ul,
.contact ul {
  list-style: none;
}
.contacts ul {
  margin: 0;
}
.contacts li {
  width: 50%;
  padding: 0 20px;
  float: left;
  margin-bottom: 20px;
  height: 120px\9;
  /* IE8 and below */
}
.contacts .image,
.contact .image {
  float: left;
  width: 20%;
}
.contacts .image img,
.contact .image img {
  width: 100%;
  height: auto;
}
.contacts .info,
.contact .info {
  float: left;
  width: 80%;
  padding: 0 0 0 20px;
}
.contacts .info h3 {
  margin-top: 0;
  text-transform: none;
}
.contacts .info p {
  margin: 0 0 5px;
}
.contacts .info p:first-child {
  font-weight: 600;
}
.contacts .items {
  position: relative;
}
.togglecontacts {
  padding: 7px 30px 7px 10px;
  float: right;
  position: absolute;
  top: 0;
  right: 20px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-right-small.png) no-repeat right center #fecc28;
  background-size: 24px;
  color: #3f3a2f;
  font-size: 14px;
  cursor: pointer;
  width: 200px;
}
.companyitem ul {
  display: none;
}
.companyitem ul.active {
  display: block;
}
@media screen and (min-width: 1024px) {
  .contacts li {
    width: 33.33333333%;
    padding: 0 20px;
    float: left;
  }
  .contacts li:nth-child(3n+1) {
    clear: left;
  }
}
@media screen and (max-width: 1024px) {
  .contacts li:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width: 720px) {
  .contacts li {
    width: 100%;
    padding: 0 20px;
    float: left;
  }
  .product-contact .contacts.phone {
    width: 100%;
    padding: 0 20px;
    float: left;
    padding: 0;
  }
}
.product-contact .contacts.phone {
  width: 100%;
  padding: 0 20px;
  float: left;
  margin: 0;
}
.product-contact .contacts.phone li {
  width: 50%;
  padding: 0 20px;
  float: left;
  padding: 0;
  border: none;
}
@media screen and (max-width: 720px) {
  .product-contact .contacts.phone li {
    width: 100%;
    padding: 0 20px;
    float: left;
    padding: 0;
  }
  .contacts .items {
    padding: 0 0 20px;
  }
  .contacts .togglecontacts {
    top: auto;
    bottom: 10px;
    width: auto;
    left: 20px;
    right: 20px;
  }
  .contacts .company-info {
    overflow: hidden;
    margin: 0 20px 20px;
    background: #eee;
    padding: 3px 10px 3px 10px;
    position: relative;
  }
  .contacts .company-info p {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 12px;
  }
  .contacts .info h3 {
    font-size: 16px;
  }
  .contacts .info p {
    font-size: 13px;
    line-height: 1.3em;
  }
}
/* Post:Companies
********************/
.products.container {
  padding: 30px 0;
  background: #f6f6f6;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.products.container .content {
  background: transparent;
}
.products.container .content > h2 {
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px;
  margin: 0 20px 20px;
}
.products.container ul li {
  width: 20%;
  padding: 0 20px;
  float: left;
  padding-bottom: 20px;
}
.products.container ul li:nth-child(5n+1) {
  clear: left;
}
.products.container ul li .image {
  height: 160px;
  overflow: hidden;
  /*display: table-cell; vertical-align: middle; text-align: center; */
  background: #fff;
  width: 100%;
}
.products.container ul li .image img {
  display: table-cell;
  vertical-align: middle;
  max-height: 160px;
  max-width: 100%;
  width: auto;
  text-align: center;
  margin: 0 auto;
}
.products.container ul li h3 {
  text-transform: none;
  font-size: 15px;
  padding: 5px 0 5px 30px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-products.png);
  background-repeat: no-repeat;
  min-height: 24px;
}
.products.container ul.no-categories li h3 {
  background-image: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-products.png);
}
@media screen and (max-width: 1024px) {
  .products.container ul li {
    width: 33.33333333%;
    padding: 0 20px;
    float: left;
    margin-bottom: 20px;
  }
  .products.container ul li h3 {
    font-size: 13px;
  }
  .products.container ul li:nth-child(5n+1) {
    clear: none;
  }
  .products.container ul li:nth-child(3n+1) {
    clear: left;
  }
}
@media screen and (max-width: 720px) {
  .products.container ul li {
    width: 50%;
    padding: 0 20px;
    float: left;
    margin-bottom: 20px;
  }
  .products.container ul li .image {
    width: 100%;
    float: left;
  }
  .products.container ul li h3 {
    font-size: 13px;
    width: 100%;
    float: left;
  }
  .products.container ul li:nth-child(3n+1) {
    clear: none;
  }
  .products.container ul li:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width: 420px) {
  .products.container ul li {
    width: 100%;
    padding: 0 20px;
    float: left;
    margin-bottom: 20px;
  }
  .products.container ul li .image {
    width: 100%;
    float: none;
    height: 140px;
  }
  .products.container ul li .image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: none;
    position: relative;
  }
}
.content.companies {
  padding: 30px 0;
}
.content.companies .intro {
  width: 50%;
  padding: 0 20px;
  float: left;
  padding-bottom: 40px;
}
.content.companies .intro a.brochure {
  display: inline-block;
  margin: 10px 0;
  padding: 0 0 0 50px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat left top;
  line-height: 32px;
  text-transform: uppercase;
  font-weight: 300;
}
.content.companies .intro .companylogo {
  margin: 0 0 30px;
}
.content.companies .contact {
  width: 50%;
  padding: 0 20px;
  float: left;
}
.content.companies .contactform {
  width: 50%;
  padding: 0 20px;
  float: left;
}
@media screen and (max-width: 720px) {
  .content.companies .intro,
  .content.companies .contact {
    width: 100%;
    padding: 0 20px;
    float: left;
  }
  .content.companies .contactform {
    width: 100%;
    padding: 0 20px;
    float: left;
  }
  .content.companies .contactform .inputwrap {
    width: 100%;
    padding: 0 20px;
    float: left;
    padding: 0;
  }
}
.products.container h4 {
  margin: 30px 20px 10px;
}
/* Product
********************/
article.products {
  padding: 30px 0;
}
article.products .info {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
  padding-left: 0;
}
article.products .info.wide {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
  padding-left: 0;
}
article.products .info a {
  color: #3f3a2f;
  border-bottom: 1px dotted #3f3a2f;
}
article.products .info a.brochure {
  display: inline-block;
  margin: 10px 0;
  padding: 0 0 0 50px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat left top;
  line-height: 32px;
  text-transform: uppercase;
  font-weight: 300;
  border: none;
}
article.products .info .logos {
  margin: 20px 0;
  padding: 0;
}
article.products .info .logos li {
  display: inline-block;
  list-style: none;
  padding-right: 20px;
}
article.products .info .logos li a {
  border-bottom: none;
}
article.products .image {
  width: 33.33333333%;
  padding: 0 20px;
  float: left;
}
@media screen and (max-width: 720px) {
  article.products .info {
    width: 100%;
    padding: 0 20px;
    float: left;
    padding: 0;
  }
  article.products .image {
    width: 100%;
    padding: 0 20px;
    float: left;
    padding: 0;
  }
}
.more {
  padding: 30px 0;
  background: #f6f6f6;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.more .content {
  background: transparent !important;
}
@media screen and (max-width: 720px) {
  .more .files {
    width: 100%;
  }
}
.products .files h2,
.products .files h3 {
  cursor: pointer;
  padding: 5px 10px;
  line-height: 32px;
  background-color: #fecc28;
  background-image: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-down.png);
  background-repeat: no-repeat;
  background-position: left 10px;
  background-size: 32px;
  color: #3f3a2f;
}
.products .files {
  overflow: hidden;
}
.products .files ul {
  margin: 10px 0 0;
  list-style: none;
}
.products .files ul li {
  margin: 0 0 10px;
  display: none;
}
.toggle-send-to-friend {
  display: none;
}
.toggle-send-to-friend.active {
  display: block;
}
.products .files ul.active li {
  display: block;
}
.products .files div.active {
  display: block;
}
.products .files a {
  margin: 0;
  width: 100%;
  padding: 0 0 0 45px;
  display: inline-block;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat left top;
  line-height: 32px;
  text-transform: uppercase;
  font-weight: 300;
}
.products .files h2 {
  margin-top: 0px;
  font-size: 18px;
}
.products .files h3 {
  padding: 20px 0;
  margin: 0;
  color: #ac9863;
}
.products .files .toggle-allpics li {
  width: 90px;
  margin: 0 5px 5px 0;
  height: 90px;
  float: left;
  padding: 5px;
  border: 1px solid #ccc;
  background: #fff;
  overflow: hidden;
}
.products .files .toggle-allpics li a {
  background: none;
  padding: 0;
  line-height: 10px;
}
.products .files input[type=email] {
  width: 70%;
  float: left;
  padding: 5px;
  border: 1px solid #ccc;
  border-right: 0;
  font-size: 16px;
}
.products .files input[type=submit] {
  width: 30%;
  float: left;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-right-white.png) no-repeat right center #fecc28;
  background-size: 24px;
  color: #3f3a2f;
  font-size: 18px;
}
.flex-direction-nav a {
  width: 30px;
  height: 30px;
  margin: -20px 0 0;
  display: block;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/bg_direction_nav.png) no-repeat 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  text-indent: -9999px;
  opacity: 0.6;
  -webkit-transition: all .3s ease;
}
.flex-direction-nav .flex-next {
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat top left;
  right: 0px;
}
.flex-direction-nav .flex-prev {
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-left.png) no-repeat top left;
  left: 0px;
}
.flex-direction-nav a {
  width: 32px;
  height: 32px;
  background-size: cover;
}
.product-contact {
  width: 100%;
  background: #f6f6f6;
}
.product-contact h2 {
  border: none;
  color: #ac9863;
  font-size: 32px;
  padding: 0;
  margin: 0 0 20px;
}
.product-contact .contacts {
  width: 50%;
  padding: 0 20px;
  float: left;
}
.product-contact .contacts li {
  width: 100%;
  padding: 0 0 20px;
  border-bottom: 1px solid #ac9863;
  margin-bottom: 20px;
  height: auto;
}
.product-contact .contacts li:last-of-type {
  border: none;
  padding: 0;
}
.product-contact .contacts > a {
  float: left;
  clear: both;
  font-weight: 300;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 50px 10px 10px;
  border: none;
  font-size: 22px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-right-white.png) no-repeat right center #fecc28;
  text-transform: uppercase;
  color: #3f3a2f;
  text-align: left;
}
.product-contact .contacts li a {
  border-bottom: 1px dotted #ac9863;
}
.product-contact .contactform {
  width: 50%;
  padding: 0 20px;
  float: left;
  margin: 20px 0;
}
@media screen and (max-width: 720px) {
  .product-contact .contacts,
  .product-contact .contactform {
    width: 100%;
    padding: 0;
  }
}
.items {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.items > li {
  margin: 0;
}
.items > li:nth-child(2n+1) {
  clear: left;
}
.items .productimage {
  float: right;
  width: 200px;
  max-height: 500px;
  margin: 20px 0 20px 40px;
  overflow: hidden;
  display: none;
}
@media screen and (max-width: 1024px) {
  .items > li {
    width: 100%;
    padding: 0 20px;
    float: left;
    margin: 0;
  }
  .items .productimage {
    float: right;
    width: 200px;
    max-height: 500px;
    margin: 20px 0 20px 40px;
    overflow: hidden;
  }
}
@media screen and (max-width: 720px) {
  .items > li {
    width: 100%;
    padding: 0 20px;
    float: left;
    margin: 0;
  }
  .items .productimage {
    float: left;
    width: 100%;
    max-height: 300px;
    margin: 20px 0;
    overflow: hidden;
  }
}
.products.container .usage > h2 {
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px;
}
.products.container .references > h2 {
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px;
}
.usage,
.references {
  width: 100%;
  padding: 0 20px;
  float: left;
  margin-top: 30px;
}
.usage p,
.references p {
  margin: 5px 0 20px;
}
/* Contactform
********************/
.contactform {
  width: 100%;
  background: #f6f6f6;
}
@media screen and (max-width: 720px) {
  .contactform {
    width: 100%;
  }
}
.contactform .inputwrap {
  width: 33.33333333%;
  float: left;
  padding: 0 20px 0 0;
}
.contactform .textareatwrap {
  width: 100%;
  float: left;
  padding: 0 20px 0 0;
}
.contactform label {
  color: #444;
  font-size: 13px;
  padding: 10px 0 5px;
  float: left;
}
.contactform input[type=text],
.contactform input[type=email],
.contactform textarea {
  float: left;
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.contactform textarea {
  height: 81px;
}
.contactform input[type=submit] {
  float: left;
  clear: both;
  font-weight: 300;
  width: 50%;
  margin: 10px 0 20px;
  padding: 6px 0 6px 10px;
  border: none;
  font-size: 22px;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow-right-white.png) no-repeat right center #fecc28;
  text-transform: uppercase;
  color: #3f3a2f;
  text-align: left;
}
.contactform h3 {
  font-size: 32px;
  font-weight: 300;
}
/* News:Blocks
********************/
.news {
  overflow: hidden;
  width: 100%;
  margin: 20px 0;
}
.news h2 {
  border-bottom: 1px solid #ccc;
  margin: 0 20px 20px;
  padding: 0 0 10px;
  font-size: 22px;
  color: #18190a;
}
.news li {
  margin: 0;
  list-style: none;
}
.news.list li:nth-child(3n+1) {
  clear: left;
}
.news li img {
  width: 100%;
  height: auto;
}
.news li .image {
  height: 230px;
  width: 100%;
  float: left;
  text-align: center;
  margin: 5px 0 15px;
  position: relative;
  overflow: hidden;
}
.news li .image .arrow {
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat top left;
  position: absolute;
  top: 90px;
  right: 0;
  width: 46px;
  height: 46px;
  background-size: cover;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.news li h3 a {
  color: #ac9863;
}
.news li p.lcp_excerpt {
  border-bottom: 1px solid #ac9863;
  padding-bottom: 20px;
}
@media screen and (max-width: 1024px) {
  .news li .image {
    height: 150px;
  }
}
@media screen and (max-width: 720px) {
  .news li .image {
    height: 250px;
  }
  .news li {
    width: 100%;
    padding: 0 20px;
    float: left;
  }
}
.news .read-all {
  margin: 0 20px 30px;
  border-bottom: 1px solid #ac9863;
  width: 100%;
  padding: 0 0 10px 40px;
  display: inline-block;
  background: url(https://www.masino.fi/wp-content/themes/masino/less/../img/arrow.png) no-repeat left top;
  line-height: 32px;
  text-transform: uppercase;
}
/* News:Page
********************/
.main.container.news .date {
  color: #666;
  margin-bottom: 20px;
}
.main.container.news article h1 {
  font-weight: 300;
  font-size: 38px;
  text-transform: uppercase;
  color: #ac9863;
  margin-bottom: 10px;
}
.main.container.news .newsimage {
  float: right;
  margin: 0 0 30px 40px;
}
/* Recruitment
********************/
.recruitment {
  padding: 30px 0;
}
.recruitment .introduction {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
}
.recruitment .open {
  width: 33.33333333%;
  padding: 0 20px;
  float: left;
}
.recruitment .open .news li {
  width: 100%;
  padding: 0;
}
.recruitmentform .inputwrap {
  width: 96%;
  float: left;
  clear: both;
  margin: 0 3% 10px 0;
}
.recruitmentform .inputwrap label {
  width: 100%;
  float: left;
  clear: both;
  font-size: 12px;
}
.recruitmentform .inputwrap input[type="text"],
.recruitmentform .inputwrap input[type="email"],
.recruitmentform .inputwrap textarea {
  width: 100%;
  float: left;
  clear: both;
  font-size: 12px;
}
.recruitment .open .image {
  display: none;
}
.recruitmentform .inputwrap.w-3 {
  clear: none;
  width: 30%;
  margin: 0 3% 10px 0;
}
.recruitmentform .inputwrap.w-2 {
  clear: none;
  width: 46.5%;
  margin: 0 3% 10px 0;
}
.recruitmentform .inputwrap textarea {
  height: 50px;
}
.recruitmentform hr {
  float: left;
  clear: both;
  overflow: hidden;
  width: 96%;
  border: none;
  border-bottom: 1px solid #ccc;
  margin: 10px 0 25px;
}
@media screen and (max-width: 720px) {
  .recruitmentform .inputwrap.w-3,
  .recruitmentform .inputwrap.w-2 {
    width: 100%;
  }
  .recruitment .introduction {
    width: 100%;
    padding: 0 20px;
    float: left;
    margin: 0 0 30px;
  }
  .recruitment .open {
    width: 100%;
    padding: 0 20px;
    float: left;
  }
}
/* Recruitment
********************/
article.default {
  padding: 30px 0;
}
/* Feedback
********************/
.feedback .introduction {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
}
.feedback .open {
  width: 33.33333333%;
  padding: 0 20px;
  float: left;
}
.feedback-left {
  float: left;
  width: 50%;
  padding: 0 40px 0 0;
}
.feedback-right {
  float: left;
  width: 50%;
}
.feedback .inputwrap {
  width: 100%;
  float: left;
  clear: both;
  margin: 0 0 10px;
}
.feedback .inputwrap label {
  width: 100%;
  float: left;
  clear: both;
  font-size: 12px;
}
.feedback .inputwrap input[type="text"],
.feedback .inputwrap input[type="email"],
.feedback .inputwrap textarea {
  width: 100%;
  float: left;
  clear: both;
  font-size: 12px;
}
.feedback .inputwrap textarea {
  height: 78px;
}
div.wpcf7-mail-sent-ok {
  background: #398f14;
  color: #fff;
  padding: 9px;
  margin: 0;
  border: none;
}
div.wpcf7-validation-errors {
  background: yellow;
  border: none;
  padding: 9px;
  margin: 0;
}
.inputwrap span.wpcf7-not-valid-tip {
  position: absolute;
  top: -20px;
  right: 0;
  z-index: 100;
  background: #fff;
  color: #ff0000;
  font-size: 10pt;
  width: 180px;
  padding: 2px;
  left: auto;
  border: 0;
  text-align: right;
}
.inputwrap.security span {
  width: 100%;
  float: left;
  clear: both;
  font-size: 12px;
}
.feedback .inputwrap.security input[type="text"] {
  margin: -3px 0 0 0 !important;
}
@media screen and (max-width: 720px) {
  .feedback-left {
    width: 100%;
    padding: 0;
  }
  .feedback-right {
    width: 100%;
  }
  .feedback input[type="submit"] {
    width: 100%;
  }
}
/* Map
********************/
.maps article {
  padding: 30px 0;
}
.agm_google_maps {
  box-shadow: inset 0 4px 5px rgba(0, 0, 0, 0.5);
  border: 1px solid #ccc;
}
#agm_mh_.footer {
  display: none;
}
.maps h3 {
  margin: 30px 0 10px;
}
.maps p {
  background: #eee;
  padding: 5px 20px;
}
.maps p {
  overflow: hidden;
  background: #fecc28;
  padding: 3px 10px;
  position: relative;
}
/* Home
********************/
.home .introduction {
  width: 66.66666667%;
  padding: 0 20px;
  float: left;
}
.home .companyimage {
  width: 33.33333333%;
  padding: 0 20px;
  float: left;
  overflow: hidden;
  margin: 0 0 30px;
}
@media screen and (max-width: 720px) {
  .home .introduction,
  .home .companyimage {
    width: 100%;
    padding: 0 20px;
    float: left;
    margin: 0;
  }
}
/* Searchpage
********************/
.container.search #search-inputs input[type="text"] {
  padding: 7px;
  float: left;
  font-size: 16px;
  margin: 0;
  width: 60%;
}
.container.search #search-inputs input[type="submit"] {
  width: 30%;
  float: left;
  margin: 0;
}
@media screen and (max-width: 720px) {
  .personnel-search .newsimage {
    width: 100%;
    height: auto;
  }
}
.productlist table {
  width: 100% !important;
}
.productlist > div:nth-child(2n+1) {
  clear: left;
}
@media screen and (max-width: 720px) {
  .video-container iframe {
    width: 100%;
  }
}
/* Blog Single Post
*******************/
.blog-writer .writer {
  float: left;
  padding: 5px;
}
@media screen and (max-width: 700px) {
  .blog-writer .writer {
    margin-left: 1px;
  }
}
.blog-writer .writer img {
  max-height: 150px;
  height: 100%;
  width: auto;
}
.blog-writer .writer .blog-content {
  padding-top: 20px;
}
.blog-article-image a img {
  width: 100% !important;
  padding-top: 40px;
}
.blog-feedback .feedback-left,
.blog-feedback .feedback-right {
  padding: 0px;
}
.pb-50 {
  padding-bottom: 50px;
}
.pl-15 {
  padding-left: 15px;
}
blockquote {
  background: #f9f9f9;
  padding: .5rem 1rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin: 0 0 1rem;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
