/*
Theme Name: Steamrator
Theme URI: https://haaja.com
Author: Haaja &amp; Arwo Design Oy
Author URI: https://haaja.com
Description: WordPress teema.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haaja
*/
* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box; 
  
     /* Opera/IE 8+ */
}
body {
  background: #fff;
  color: #333;
  font-size: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
}
body.alasivu {
  background-image: url('images/hero.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
p {
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: #ffd204;
}
a:hover {
  color: #333;
}
.site-header {
  width: 100%;
  padding: 0 0 30px;
  display: block;
  z-index: 200;
  position: relative;
  background-color: #000;
}
.site-header .container {
  max-width: 1600px;
  width: 100%;
  display: grid;
  grid-template-columns: 10% 40% 50%;
  align-items: center;
  padding-left: 35px;
  padding-right: 35px;
}
.site-header .yhteystiedot {
  display: inline-block;
  margin-left: 10px;
}
.site-header .container .yhteystiedot p {
  margin-top: 18px;
  font-size: 15px;
}
.site-header .container .yhteystiedot p a,
.responsive-nav .yhteystiedot p a {
  color: #fff;
  padding: 10px 20px;
  border: 2px solid #ffd204;
  font-family: 'Open sans', sans-serif;
  font-weight: bold;
}
.site-header .container .yhteystiedot p a:hover,
.responsive-nav .yhteystiedot p a:hover {
  border-color: #fff;
  text-decoration: none;
}
.responsive-nav .yhteystiedot {
  width: 150px;
  display: block;
  text-align: center;
  margin: 0 auto;
}
.site-header .menu {
  text-align: right;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.site-header .logo {
  width: 213px;
  height: 43px;
  float: left;
  overflow: hidden;
}
.site-header .logo a {
  width: 100%;
  display: block;
  height: 43px;
  background-image: url("images/steamrator-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 43px;
  overflow: hidden;
}
.container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
.primary .menu-items {
  top: 60px;
  float: right;
  padding: 0;
}
.primary ul {
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary li {
  position: relative;
  display: inline-block;
  margin: 0;
  margin-left: 1.5rem;
}
.primary li span {
  display: none; 
  position: relative;
}
.primary li.menu-item-has-children span { 
  display: block;  
  color: #fff;
  display: inline-block;
  transform: rotate(90deg);
  margin-left: 5px;
}
.primary li .sub-menu span {
  display: none;
}
.primary li a,
  .responsive-nav a {
  color: #fff;
  display: block;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  padding-bottom: .5rem;
}
.huolto {
  text-align: right;
  color: #ccc;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 15px 35px 25px;
  font-weight: bold;
  font-size: .9rem;
}
.huolto .languages {
  float: none;
  display: inline-block;
  margin: 0 0 0 2rem;
  padding: 0;
  text-transform: uppercase;
}
.languages li {
  display: inline-block;
  margin: 0 0 0 .25rem;
}
.languages a:hover {
  color: #fff;
}
.primary li a:hover,
  .primary li:hover span,
    .primary li:hover > a,
      .responsive-nav a:hover,
        .responsive-nav li:hover span, .primary .current_page_item a {
  color: #ffd204;
}
.primary li ul {
  position: absolute;
  top: 100%;
  left: -.5rem;
  background: #fff;
  padding: 0;
  margin: 0;
  height: 0;
  visibility: hidden;
}
.primary li:hover ul {
  height: auto;
  visibility: visible;
  z-index: 20;
}
.primary li ul li {
  float: none;
  margin: 0;
  display: block;
}
.primary li ul li a {
  color: #000;
  display: block;
  padding: .5rem;
  white-space: nowrap;
}
.primary li ul a:hover {
  background-color: #333;
  color: #fff;
}
.primary .btn a {
  display: inline-block;
  border: 2px solid #ffd204;
  padding: .75rem 1rem .6rem;
}
.primary .btn a:hover {
  background-color: #ffd204;
  color: #000;
}
.responsive-nav {
  font-size: 16px;
  width: 100%;
  display: none;
  text-align: left;
  z-index: 150;
  margin-top: 20px;
  padding-top: 25px;
  padding-left: 0px;
  background-color: #26292f;
  clear: both;
}
.responsive-nav ul {
  padding-inline-start: 0;
  padding-top: 0px;

  list-style: none;
  text-decoration: none;
  margin: 0;
}
.responsive-nav ul ul {
  display: none;
  padding-left: 0;
}
.responsive-nav .sub-nav-toggle {
  position: absolute;
  top: 0;
  right: 40px;
  width: 50px;
  height: 42px;
}
.responsive-nav .sub-nav-toggle span {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #fff;
  transform: rotate(270deg);
  transition: all 0.15s ease;
}
.responsive-nav .active .sub-nav-toggle span {
  transform: rotate(0deg);
}
.responsive-nav li ul li a {
  color: #fff;
}
.responsive-nav a {
  text-decoration: none;
  list-style: none;
  display: block;
  padding-bottom: 20px;
  font-size: 16px;
  display: block;
  text-decoration: none;
}
.responsive-nav .current_page_item > a {
  color: #fff;
}
.responsive-nav ul li {
  width: 100%;
  position: relative;
  text-align: center;
}
 .button_container {
  display: inline-block;
  margin-right: 1.5rem;
  position: relative;
  height: 27px;
  width: 45px;
  cursor: pointer;
  z-index: 100;
  transition: opacity .25s ease;
  border: none;
  background: transparent;
}
.button_container:focus {
  outline: none;
}
.button_container.active .top-bar {
  transform: translateY(11px) translateX(0) rotate(45deg);
}
.button_container.active .middle {
  opacity: 0;
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
}
.button_container span {
  background: #fff;
  border: none;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition:  all .35s ease;
  cursor: pointer;
}
.button_container .middle {
  top: 11px;
}
.button_container .bottom {
  top: 22px;
}

/* Hero */
.hero {
  background-image: url('images/hero.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
  width: 100%;
  height: 600px;
}
.hero .container {
  display: grid;
  height: 100%;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}
.hero p {
  margin: 2rem 0;
}
.hero p a {
  display: inline-block;
  border: 1px solid #ffd204;
  background-color: #ffd204;
  color: #000;
  padding: .5rem 1.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 .5rem;
}
.hero p a:nth-child(even) {
  background-color: transparent;
  color: #fff;
}
.hero p a:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}
.hero img {
  max-width: 100%;
  height: auto;
}


.site-main {
  text-align: center;
  max-width: 50em;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
}
.site-main h1 {
  font-size: 3rem;
}
.home .site-main p a {
  display: inline-block;
  background-color: #ffd204;
  color: #000;
  padding: 1rem 2.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
}
.home .site-main p a:hover {
  background-color: #000;
  color: #fff;
}

.news-wrap {
  background-color: #fff;
  overflow: hidden;
  padding: 2rem 4rem;
}
.blog.alasivu .site-main, .single.alasivu .site-main, .archive.alasivu .site-main {
  background-color: transparent;
  float: left;
  width: 70%;
  padding: 0;
}

.blog .post, .archive .post {
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.entry-header h2 {
  margin-top: 0;
  text-transform: uppercase;
}
.entry-header h2 a {
  color: #333;
  border-bottom: 1px solid #ffd204;
}
.entry-header h2 a:hover {
  border-color: #333;
}
.entry-header .pvm {
  color: #333;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: .5rem;
  display: block;
}

.post-thumb {
  margin-bottom: 1rem;
}

.site-content img {
  max-width: 100%;
  height: auto;
}

.sidebar {
  float: right;
  width: 25%;
}

.sidebar h3 {
  text-transform: uppercase;
}
.sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar ul li {
  line-height: 1.5;
  margin-bottom: .5rem;
}
.sidebar ul li a {
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ffd204;
}
.sidebar ul li a:hover {
  border-color: #333;
}
.sidebar time {
  font-weight: bold;
  color: #888;
}

.alasivu .site-main {
  background-color: #fff;
  text-align: left;
  padding: 3rem 4rem;
  max-width: 100%;
  margin: 0;
  font-size: 1.1rem;
}
.alasivu .site-content h1 {
  color: #fff;
  padding-left: 2rem;
  margin: 4rem 0;
  text-transform: uppercase;
  font-size: clamp(1rem,2.3vw + 1rem,2.3vw);
}
.child-menu li {
  display: inline-block;
}
.child-menu li a {
  display: inline-block;
  background-color: #ffd204;
  color: #444;
  font-weight: bold;
  font-size: 14px;
  padding: .5rem;
}
.child-menu .current_page_item a, .child-menu a:hover, .child-menu .current_page_ancestor a {
  background-color: #444;
  color: #fff;
}

.site-content .sub-menu {
  background-color: #222;
}
.site-content .sub-menu li {
  display: inline-block;
}
.site-content .sub-menu li a {
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  padding: .5rem;
  border-right: 1px solid #fff;
}
.site-content .sub-menu li a:hover, .site-content .sub-menu .current_page_item a {
  background-color: #333;
}

blockquote {
  border-top: 5px solid #ffd204;
  border-bottom: 5px solid #ffd204;
  margin: 2rem 0;
  font-weight: bold;
  font-size: 1.25rem;
}

.grid-wrap {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
}
.grid-wrap img {
  max-width: 100%;
  height: auto;
}
.products .grid-wrap {
  gap: .25rem;
  border-top: .25rem solid #ffd204;
  background-color: #ffd204;
}
.products .item {
  background-color: #000;
  height: 20em;
  position: relative;
  transition: background-color .2s ease-out;
  overflow: hidden;
}
.products .item h3 {
  font-size: 2rem;
}
.products .item div span {
  background-color: #000;
  color: #fff;
  padding: 1rem 2rem;
  opacity: 0;
  transition: opacity .2s ease-out;
}
.products .item a {
  display: block;
  height: 100%;
  width: 100%;
}
.products .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .5;
  transition: all .2s ease-out;
}
.products .item div {
  position: absolute;
  top: 70%;
  left: 0;
  right: 0;
  text-align: center;
  transform: translateY(-50%);
  z-index: 10;
  padding: 2rem;
  color: #fff;
  transition: all .2s ease-out;
}
.products .item:hover {
  background-color: #ffd204;
}
.products .item:hover div {
  top: 50%;
  color: #000;
}
.products .item:hover div span {
  display: inline-block;
  opacity: 1;
}
.products .item:hover img {
  opacity: .2;
  transform: scale(1.25);
}

.news {
  overflow: hidden;
  background-color: #ffd204;
  padding: 1rem 0 3rem;
}
.news h2 {
  text-align: center;
  font-size: 2.5rem;
}
.news .grid-wrap {
  gap: 2rem;
}
.news h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.news .item img, .nostot img {
  width: 100%;
  height: 14em;
  object-fit: cover;
  object-position: top center;
}
.news .item a {
  color: #000;
}
.news .item a.read-more {
  background-color: #fff;
  display: inline-block;
  padding: .5rem 1rem;
  color: #000;
}
.news .item a.read-more:hover {
  background-color: #000;
  color: #fff;
}

.text-with-image {
  display: grid;
  grid-template-columns: 45% 50%;
  gap: 5%;
  width: 100%;
  max-width: 78.125em;
  margin: 4rem auto;
  align-items: center;
  padding: 0 1rem;
}
.text-with-image img {
  width: 100%;
  height: 100%;
  min-height: 20em;
  object-fit: cover;
  object-position: 50% 50%;
}
.text-with-image .text {
  padding: 2rem 4rem;
}
.text-with-image h2 {
  font-size: 2.5rem;
}
.text-with-image p a {
  display: inline-block;
  background-color: #ffd204;
  color: #000;
  padding: .5rem 1.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 1rem 0 0;
}
.text-with-image p a:hover {
  background-color: #000;
  color: #fff;
}

.nostot .grid-wrap {
  gap: 2rem;
  padding: 0 1rem;
  margin-bottom: 2rem;
}
.nostot h2 {
  font-size: 1.5rem;
}
.nostot a {
  display: inline-block;
  background-color: #ffd204;
  color: #000;
  padding: .5rem 1.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 1rem 0 0;
}
.nostot a:hover {
  background-color: #000;
  color: #fff;
}

.alasivu .nostot {
  background-color: #fff;
  margin: 2rem 0;
  padding: 1rem 2rem;
  font-size: .8rem;
}
.alasivu .nostot .grid-wrap {
  grid-template-columns: repeat(4, 1fr);
}
.alasivu .nostot .item {
  position: relative;
  padding-bottom: 1.5rem;
}
.alasivu .nostot img {
  height: 8em;
}
.alasivu .nostot h3 {
  text-transform: uppercase;
  margin-top: 0;
}
.alasivu .nostot a {
  background-color: transparent;
  padding: 0;
}
.alasivu .nostot .more {
  font-size: .9rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  padding: .5rem
}
.alasivu .nostot .more:hover {
  background-color: #ffd204;
  color: #000;
}

.ylateksti {
  width: 100%;
  position: relative;
}
.ylateksti .yla-inner {
  max-width: 710px;
  width: 100%;
  position: relative;
  margin: 80px auto;
  text-align: center;
  font-weight: normal;
}
.ylateksti .yla-inner h2 {
  font-size: 36px;
  font-family: 'navigo', sans-serif;

}
.palvelut {
  width: 100%;
  display: block;
  overflow: hidden;
}
.palvelut a {
  display: block;
}
.palvelut .nosto {
  width: 33.3%;
  float: left;
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #ffd204;
}
.palvelut .nosto .gradient:after {
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  z-index: 1;
  content: '';
  background-color: rgba(0,0,0, .3);
  
}
.palvelut .nosto img {
  width: 100%;
  height: auto;
  display: block;
  transition: all .5s ease;
}
.palvelut .nosto .gradient:hover {
  background-color: rgba(243, 239, 239, 0);
}
.palvelut .nosto:hover img {
  opacity: 0.3;
  transform: scale(1.08);
}
.palvelut .nosto .teksti {
  position: absolute;
  top: 59%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
  z-index: 10;
  transition: .3s ease-out;
  padding: 0 80px;
}
.palvelut .nosto:hover .teksti {
  top: 50%;
}
.palvelut .nosto .teksti h3 {
  font-size: 28px;
  color: #fff;
  font-weight: bold;
 
}
.palvelut .nosto .teksti span {
  font-family: 'Open sans', sans-serif;
  padding: 10px 30px;
  color: #ffd204;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid transparent;
  transition: .3s ease-in;
  background-color: #fff;
  text-decoration: none;
  z-index: 20;
  opacity: 0;
  margin: 35px auto 0;
  display: inline-block;
}
.palvelut .nosto:hover .teksti span {
  opacity: 1;
  top: 45%;
  display: inline-block;
}
.kuvateksti {
  max-width: 1350px;
  width: 100%;
  margin: 100px auto;
  position: relative;
  display: block;
  overflow: hidden;
}
.kuvateksti .kuva {
  width: 50%;
  display: block;
  float: left;
}
.kuvateksti .kuva img {
  width: 100%;
  height: auto;
  display: block;
}
.kuvateksti .teksti {
  width: 50%;
  display: block;
  float: left;
  position: relative;
}
.kuvateksti .teksti .teksti-inner {
 width: 80%;
 float: right;
}
.kuvateksti .teksti .teksti-inner h3 {
  font-size: 35px;
}
.kuvateksti .teksti .teksti-inner p a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background-color: #ffd204;
  border: 1px solid #fff;
  font-family: 'Open sans', sans-serif;
  padding: 10px 30px;
  margin-top: 18px;
  text-decoration: none;
  transition: .3s ease all;
}
.kuvateksti .teksti .teksti-inner p a:hover {
  background-color: #fff;
  border: 1px solid #ffd204;
  color: #ffd204;
}
.alasivu .wp-block-columns {
  margin: 0 auto 30px;
  flex-wrap: nowrap;
}
.alasivu .wp-block-column {
  margin-bottom: 30px;
}
.alasivu .wp-block-column h2 {
  margin-top: 0;
}
.alasivu .wp-block-cover {
  margin-bottom: 50px;
}
.alasivu .wp-block-column p {
  padding-right: 25px;
}
.wp-block-cover-image .wp-block-cover__inner-container, .wp-block-cover .wp-block-cover__inner-container {
  width: 65%; 
}
.has-large-font-size {
  font-size: 40px;
  line-height: 1.2;
}
.wp-block-image.is-style-rounded img {
  border-radius: 100%;
  max-width: 200px;
}
.site-main {
  margin-top: 80px;
}
.wp-block-image img {
  height: auto;
}
.wp-block-media-text__media img {
  height: auto;
}
.wp-block-column.is-vertically-aligned-center {
  margin: 0 auto;
  margin-right: 0;
}
.alasivu .wp-block-column li:before {
  content: ">";
  font-weight: bold;
  margin-right: 11px;
  color: #ffd204;
}
.alasivu .site-main ul {
  padding-inline-start: 0px;
}
.referenssit {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 20px 0 120px;
}
.referenssit .refekuvateksti p a {
  font-weight: 700;
  display: inline-block;
  margin-top: 15px;
}
.referenssit .refenosto {
  padding: 15px;
}
.alasivu .site-main .lomakeosio {
  background-color: #dcebed80;
  margin: 0px 0 auto;
  padding: 0px 0 120px;
}
.alasivu .site-main .lomakkeet {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  padding: 50px 30px 50px 30px;
}
.alasivu .site-main .nappi {
  max-width: 515px;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 15px;
  margin: 50px auto;

}
.alasivu .site-main .nappi a {
  color: #000;
  min-width: 244px;
  font-size: 18px;
  font-weight: bold;
  background-color: transparent;
  border: 1px solid #ffd204;
  font-family: 'Open sans', sans-serif;
  padding: 10px 30px;
  margin-top: 18px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: .3s ease all;
}
.alasivu .site-main .nappi a:hover {
  border: 1px solid #ffd204;
  color: #ffd204;
}
.alasivu .otayhteytta {
  width: 60%;
  margin: 90px auto;
  text-align: center;
  font-size: 20px;
}
.alasivu .otayhteytta h3 {
  font-size: 28px;
}
.alasivu .otayhteytta p a {
  text-decoration: none;
  display: inline-block;
  margin: 25px;
}
.alasivu .otayhteytta p a strong:hover {
  color: #121318;
}
.site-footer {
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding: 50px 0 0;
  display: block;
  z-index: 200;
  background-color: #fff;
  margin-top: 4rem;
}
.site-footer .container {
  width: 100%;
  max-width: 1520px;
}
.site-footer .site-info {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 5%;
  max-width: 50%;
  margin: 0 auto;
  text-align: left;
  border-bottom: 2px solid #ffd204;
}
.site-info p {
  margin-top: 0;
}
.site-footer .logo {
  text-align: right;
}
.site-footer .logo a {
  width: 213px;
  height: 43px;
  display: inline-block;
  background-image: url("images/steamrator-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 43px;
  overflow: hidden;
}
.site-footer .design {
  padding: 20px 0;
  color: #000;
  font-size: 13px;
}
.refepalikat {
  border: 1px solid #ffd204;
}
.accordion {
  background-color: #fff;
  color: #444;
  cursor: pointer;
  width: 100%;
  position: relative;
  text-align: left;
  margin: 0;
  border-top: 2px solid #ffd204;
  border-right: 2px solid #ffd204;
  border-left: 2px solid #ffd204;
}
 .container .accordion h3 {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 25px;
  position: relative;
}
.container .accordion h3:after {
  position: absolute;
  top: 55%;
  right: 15px;
  transform: translateY(-50%);
  display: block;
  content: '';
  width: 30px;
  height: 30px;
  background-image: url("images/nuoli.png");
  background-repeat: no-repeat;
}
.container .accordion .active h3:after {
  transform: rotate(-180deg);
  top: 30%;
  position: absolute;
}
.accordion dt {
  border-bottom: 2px solid #ffd204;
}
.accordion dd {
  padding-top: 25px;
  padding-bottom: 15px;
  background-color: #C3D3D7;
  margin-inline-start: 0;
}
.accordion dd p {
  margin-block-start: 0;
  margin-left: 25px;
  color: #000;
}
.wpforms-field-container {
  text-align: left !important;
  font-weight: 200 !important;
  padding-top: 25px !important;
}
.wpforms-container-full .wpforms-form input[type=text], 
.wpforms-container-full .wpforms-form textarea {
  border: 1px solid #ffd204 !important;
}
.wpforms-container-full .wpforms-form input[type=checkbox] {
  width: 24px !important;
  height: 24px !important;
  margin: 0 10px 0 0px !important;
  vertical-align: bottom !important;
}
.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
  font-size: 14px !important;
}
.wpforms-field-label {
  font-weight: 400 !important;
}
.wpforms-form button[type=submit] {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: bold !important;
  background-color: #ffd204 !important;
  border: 1px solid #fff !important;
  font-family: 'Open sans', sans-serif !important;
  padding: 15px 30px !important;
  display: inline-block !important;
  margin-top: 18px !important;
  margin-bottom: 18px !important;
  text-decoration: none !important;
  transition: .3s ease all !important;
}
.wpforms-submit-container {
  float: left !important;
  margin: 30px 0;
}
.wpforms-form button[type=submit]:hover {
  background-color: transparent !important;
  border-color: #ffd204 !important;
  color: #ffd204 !important;
}
.wpforms-container-full .wpforms-form ul li:last-of-type {
  width: 6% !important;
  float: left !important;
}
.wpforms-container-full .wpforms-form .wpforms-field-description {
  width: 94% !important;
  float: left !important;
  margin: 0 !important;
}
.kapea {
  max-width: 710px;
  margin: 0 auto;
}
.group:after {
  content: "";
  display: table;
  clear: both;
}

.wp-block-table td, .wp-block-table thead th {
  padding: .5rem;
  font-size: .9rem;
}
.wp-block-table thead {
  background-color: #ffd204;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  background-color: rgba(0,0,0, .9);
  transform: translate3d(-100%, 0, 0);
  transition: transform .2s ease-out;
  color: #000;
  max-width: 35vw;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}
.menu-overlay.toggled {
  transform: translate3d(0, 0, 0);
}
.menu-overlay .container {
  padding: 5rem 1.5rem;
}
.menu-overlay ul {
  list-style: none;
  margin: 6rem auto 0;
  padding: 0;
}
.menu-overlay a {
  color: #fff;
  font-size: 1.5rem;
}
.menu-overlay li {
  line-height: 1.5;
}

@media screen and (max-width: 1250px) {
  .site-header .container {
    grid-template-columns: 45px 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  .site-header .menu {
    text-align: left;
  }
  .primary {
    display: none;
  }
  .alasivu .site-main {
    padding: 1rem 1rem;
  }
  .site-footer .site-info {
    max-width: 100%;
    grid-template-columns: 30% 65%;
    gap: 5%;
  }
  .site-footer .site-info .logo {
    text-align: left;
    margin-bottom: 1rem;
  }
  .site-footer .site-info .logo a {
    max-width: 100%;
  }
  .products .item div {
    top: 50%;
  }
  .text-with-image .text {
    padding: 0 2rem;
  }
  .alasivu .nostot .grid-wrap {
    grid-template-columns: repeat(3, 30%);
  }
}
@media screen and (max-width: 960px) {
  .grid-wrap {
    display: block;
  }
  .news-wrap{
  padding: 2rem 1rem;
  }
  .blog.alasivu .site-main, .sidebar, .single.alasivu .site-main {
    float: none;
    width: 100%;
  }
}
@media screen and (max-width: 640px){
  .menu-overlay {
    max-width: 100%;
    clip-path: none;
  }
  .child-menu li, .child-menu li a, .sub-menu li, .sub-menu li a {
    display: block;
  }
  .site-footer .site-info {
    display: block;
  }
  .site-footer .site-info .logo, .site-footer .site-info .osoite {
    text-align: center;
  }
  .grid-wrap, .text-with-image, .alasivu .nostot .grid-wrap {
    display: block;
  }
  .grid-wrap .item {
    margin-bottom: .1rem;
  }
  .text-with-image .text, .nostot .grid-wrap {
    padding: 0;
  }
}