/*
Theme Name: Steelhouse
Theme URI:
Author: Novot Agentuur
Author URI: http://www.novot.ee/
Version: 1.0
*/
/* div:hover {
  box-shadow: 0px 0px 20px #ff000015;
} */
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

:root {
  --swiper-image-ratio: 100%;
  /* ratio 16:9 = 56.25% */

  --swiper-width: 50%;
  --swiper-inactive-scale: 0.85;
  /* makes the other slide smaller */

  /* responsive settings */
  --swiper-mobile-width: 90%;
  --swiper-mobile-inactive-scale: 0.95;

  --corner-clip-size: 8rem;
}

html {
  /* 62.5% of 16px base font size is 10px */
  font-size: 62.5%;
}

/* 
div:hover {
  background-color: #ffa8a824;
} */

a {
  text-decoration: none;
  color: #0e4069;
}

a:hover {
  text-decoration: none;
  color: #0e4069;
}

ol li {
  list-style: decimal;
}

body {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #0e4069;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.5px;
}

p {
  letter-spacing: -0.05rem;
}

h1,
.h1 {
  font-size: 4.2rem;
  letter-spacing: -1.2px;
  line-height: 1.26;
  margin-bottom: 2.4rem;
  font-weight: 900;
  display: block;
}

h2,
.h2 {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.26;
  margin-bottom: 2.4rem;
}

h3,
.h3 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.26;
  margin-bottom: 2.4rem;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.26;
  margin-bottom: 2.4rem;
}

p,
ul,
ol {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background-color: rgb(14 64 105 / 100%);
  padding: 2.4rem 0;
  margin-bottom: 4rem;
  padding-bottom: 0;
}

.home header {
  background-color: rgb(14 64 105 / 90%);
}

.home.scrolled header {
  background-color: rgb(14 64 105 / 100%);
}

header.header {
  z-index: 99;
  position: fixed;
  left: 2.4rem;
  right: 2.4rem;
  top: 0;
}

.logged-in header.header {
  top: 32px;
}

.h-logo {
  padding-bottom: 2.4rem;
  display: flex;
  align-items: center;
}

a.hz_logo {
  position: absolute;
  display: block;
  opacity: 0;
}

.scrolled a.hz_logo {
  opacity: 1;
}

.scrolled a.vr_logo {
  opacity: 0;
  display: none;
}

.scrolled header {
  padding: 1rem 0;
}

.scrolled header .h-logo {
  padding-bottom: 0;
}

.scrolled .h-menu-top {
  top: -100%;
  position: absolute;
}

header.header > .h-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-right: 4rem;
  padding-left: 4rem;
}

.main-menu {
  display: flex;
  margin: 0;
  padding: 0;
}

.main-menu > li {
  margin-left: 3rem;
}

.main-menu a {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.h-menu-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

.wrap {
  background: #f2f2f2;
}

.lr-gutter-m {
  margin-left: 2.4rem;
  margin-right: 2.4rem;
}

.lr-gutter-p {
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

.width-xl {
  max-width: 192rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

.width-l {
  max-width: 124rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

.bg1 {
  background-color: #f2f2f2;
}

.color1 {
  color: #fff;
}

main {
  background-color: #fff;
}

main {
  position: relative;
}

main:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 10rem solid #f2f2f2;
  border-left: 10rem solid #fff;
  width: 0;
}

ul.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

ul.social-list.floating {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9;
}

ul.social-list svg {
  width: 2.5rem;
}

p#breadcrumbs {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 400;
  margin: 4rem 0 1.6rem 0;
  display: block;
}

.regular-content.default-content-area {
  padding-top: 4rem;
}

.container-max.regular-content .regular-content {
  max-width: 92.4rem;
  margin-left: auto;
  margin-right: auto;
}

.container-max.regular-content
  .regular-content.default-content-area:not(:first-child) {
  margin-top: 8rem;
}

p a,
main .regular-content li a {
  color: #0e4069;
  text-decoration: none;
}

.color1 p a,
.color1 a {
  color: #fff;
}

main .regular-content ul li {
  list-style: none;
  position: relative;
  padding-left: 3rem;
}

main .regular-content ul li:before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.8rem;
  position: absolute;
  left: 0;
  top: 5px;
  background-image: url("images/polygon-right.svg");
}

main .regular-content ul li:before {
  width: 0;
  height: 0;
  display: inline-block;
  border-width: 6px 9px;
  border-style: solid;
  border-top-color: #fff;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-left-color: #0e4069;
}

main .regular-content .noliststyle li:before {
  display: none;
}

main .regular-content ul,
main .regular-content ol {
  display: grid;
  grid-gap: 2.4rem;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

main .regular-content > ul {
  padding-left: 0;
}

main .regular-content ol li ol {
  margin-bottom: 0;
}

main .regular-content li > ol {
  margin-top: 2.4rem;
}

.regular-gallery {
  margin-bottom: 2.5rem !important;
  overflow: hidden;
  position: relative;
}

.regular-content.flexarea {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 6rem;
}

.videoarea {
  margin-bottom: 6rem;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.content-img-area {
  position: relative;
  overflow: hidden;
}

.content-img-area img {
  position: absolute;
}

.v1 .content-img-area {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.v1 .content-img-area img {
  display: none;
}

.v3 .content-img-area {
  order: -1;
}

.flexarea {
  margin-bottom: 6rem;
}

.youtube-video {
  position: relative;
  padding-bottom: 56.25%;
}

.youtube-video iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-video,
video.wp-video-shortcode,
.mejs-container,
.mejs-overlay.load {
  width: 100% !important;
  height: 100% !important;
}

.mejs-container {
  padding-top: 56.25%;
}

.wp-video,
video.wp-video-shortcode {
  max-width: 100% !important;
}

video.wp-video-shortcode {
  position: relative;
}

.mejs-mediaelement {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.mejs-controls {
  display: none;
}

.mejs-overlay-play {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
}

.mp4-video.videoarea {
  height: 100%;
  position: relative;
}

body .mejs-controls {
  display: none;
}

.page-template-default .swiper:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 6rem solid #fff;
  border-left: 6rem solid transparent;
  width: 0;
  z-index: 9;
}

.mp4-video.videoarea:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 6rem solid #fff;
  border-right: 6rem solid transparent;
  width: 0;
  z-index: 9;
}

.swiper-nav-wrap {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 99;
  display: flex;
  padding: 2.4rem;
}

.swiper-nav-wrap > div,
.zoomimage {
  width: 4.8rem;
  height: 4.8rem;
  margin-left: 2.4rem;
  background-color: #0e4069;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-nav-wrap svg {
  width: 1rem;
}

.swiper-nav-wrap .zoomimage svg,
.zoomimage svg {
  width: 3rem;
}

body .mejs-overlay-button {
  background: url(images/html_video_play_btn.svg) no-repeat center / 2.4rem;
  background-position: 55% 50%;
  height: 8rem;
  width: 8rem;
  background-color: #0e4069;
  border-radius: 8rem;
  -webkit-border-radius: 8rem;
  -moz-border-radius: 8rem;
  -ms-border-radius: 8rem;
  -o-border-radius: 8rem;
}

body .mejs-overlay:hover > .mejs-overlay-button {
  background-position: 55% 50%;
}
.siteby {
  margin-left: auto;
  display: inline-block;
  float: right;
}
.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/* .v1 .content-img-area:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 6rem solid #fff;
  border-left: 6rem solid transparent;
  width: 0;
  z-index: 9;
} */

.btnelement {
  min-width: 5rem;
  background-color: #0e4069;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding: 3rem 4rem 2.4rem;
  font-weight: 700;
  transition: background-color, clip-path 0.6s;
  -webkit-transition: background-color, clip-path 0.6s;
  -moz-transition: background-color, clip-path 0.6s;
  -ms-transition: background-color, clip-path 0.6s;
  -o-transition: background-color, clip-path 0.6s;
}

.btnelement.light {
  background-color: transparent;
  color: #0e4069;
  padding-left: 0;
  background-image: unset;
  clip-path: polygon(
    0 0,
    calc(100% - 1.8rem) 0,
    100% 1.8rem,
    100% 100%,
    1.8rem 100%,
    0 calc(100% - 1.8rem)
  );
}

.btnelement.light:hover {
  clip-path: polygon(
    0 0,
    calc(100% - 1.8rem) 0,
    100% 1.8rem,
    100% 100%,
    1.8rem 100%,
    0 calc(100% - 1.8rem)
  );
}

.btnelement:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background-image: url("images/arrow-right-sh.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 5rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.btnelement:hover:before {
  width: 4rem;
}

/* blue btn */
.btnelement.btnblue {
  padding-top: 4rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.btnelement.btnblue:before {
  background-image: url("images/arrow-right-sh-white.svg");
  margin-left: 4rem;
  top: 1rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.btnelement.btnblue:hover {
  background-color: #c1c2c4;
  color: #0e4069;
}

.btnelement.btnblue:hover:before {
  background-image: url("images/arrow-right-sh.svg");
}

/* blue btn */

/* gray btn */
.btnelement.btngray {
  padding-top: 4rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.btnelement.btngray:before {
  background-image: url("images/arrow-right-sh.svg");
  margin-left: 4rem;
  top: 1rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.btnelement.btngray:hover {
  background-color: #fff;
  color: #0e4069;
}

.btnelement.btngray:hover:before {
  background-image: url("images/arrow-right-sh.svg");
}

/* gray btn */

.btnelement {
  clip-path: polygon(
    0 0,
    calc(100% - 2.8rem) 0,
    100% 2.8rem,
    100% 100%,
    2.8rem 100%,
    0 calc(100% - 2.8rem)
  );
}

.btnelement:hover {
  clip-path: polygon(
    0 0,
    calc(100% - 3.4rem) 0,
    100% 3.4rem,
    100% 100%,
    3.4rem 100%,
    0 calc(100% - 3.4rem)
  );
}

footer {
  padding: 12rem 8rem 8rem;
  background: url("images/footer-bg.jpg") no-repeat 0 0 / cover;
  position: relative;
  color: #fff;
  font-weight: 400;
  position: relative;
  z-index: 9;
}

footer a {
  color: #fff;
}

footer > div {
  z-index: 2;
  position: relative;
}

footer:before {
  content: "";
  background: #0e4069;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 0;
}

footer {
  clip-path: polygon(calc(100% - 8rem) 0, 100% 8rem, 100% 100%, 0rem 100%, 0 0);
}

footer svg path {
  fill: #fff;
}

.footer-inner {
  display: grid;
  justify-content: space-between;
  grid-template-columns: auto auto;
}

.f-links {
  margin-top: 10rem;
  font-size: 1.2rem;
  font-weight: 300;
}

.f-links a,
.f-links span {
  display: inline-block;
  margin-right: 8rem;
}

.contactlistitems {
  margin-bottom: 4rem;
  font-weight: 400;
}

footer .contactlistitems {
  font-weight: 200;
}

ul.social-list li {
  margin-right: 2rem;
}

/* CSS for the list */
ul.contactlistitems {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contactlistitems div {
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 4rem;
  line-height: 1.5em;
}

.contactlistitems div:before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: 0;
  top: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

/* CSS for the SVG images */
.icon1:before {
  background-image: url("images/mailto.svg");
}

.icon2:before {
  background-image: url("images/tel.svg");
}

.icon3:before {
  background-image: url("images/map.svg");
}

.f-contact {
  max-width: 60rem;
}


/* footer:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-top: 10rem solid #F2F2F2;
  border-left: 10rem solid transparent;
  width: 0;
} */

footer a:hover {
  color: #b4b8ba;
}

footer svg:hover path {
  fill: #b4b8ba;
}

footer .btnelement,
.btngray {
  background-color: #c1c2c4;
  color: #0e4069;
  font-weight: 700;
}

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

.hero-slider {
  overflow: hidden;
  margin-bottom: 12rem;
  height: 100vh;
}
.swiper-container {
  height: 100%;
}

.swiper-element {
  background: #fff;
}

.slaid-textarea h1 {
  font-size: 4.6rem;
  line-height: 1.18;
  letter-spacing: -1.6px;
}

.slaid-textarea {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  top: calc(50% + 9rem);
  right: 4rem;
  padding: 8rem;
  width: 65rem;
  transform: translateY(-50%);
  transition: background-color 1s ease-out, clip-path 1s ease-out;
  -webkit-transition: background-color 1s ease-out, clip-path 1s ease-out;
  -moz-transition: background-color 1s ease-out, clip-path 1s ease-out;
  -ms-transition: background-color 1s ease-out, clip-path 1s ease-out;
  -o-transition: background-color 1s ease-out, clip-path 1s ease-out;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    4.4rem 100%,
    0 calc(100% - 4.4rem)
  );
}

.slaid-textarea:hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8rem 100%, 0 calc(100% - 8rem));
}

.slaid-textarea .btnelement {
  max-width: 20rem;
}

.slaid-textarea:hover {
  background: rgba(255, 255, 255, 1);
}

.swiper-element {
  height: 100%;
}
.swiper-element video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-element img {
  position: absolute !important;
  object-fit: cover !important;
  width: auto;
  height: 100%;
  width: 100%;
}
/* 
.swiper-element.hasvideo video {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  position: absolute;
} */

@media all and (max-height: 1080px) {
  .swiper-element {
    min-height: 85vh;
    max-height: 107rem;
    height: unset;
  }

  .swiper-element img {
    position: absolute !important;
    object-fit: cover !important;
    width: auto;
    height: 100%;
    width: 100%;
  }
}

.kompetents {
  display: grid;
  grid-template-columns: 40% auto;

  padding-bottom: 8rem;
}

.ko_wrap {
  padding: 4rem 8vw;
  background-color: #fff;
}

.ko_image_empty {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
  position: relative;
}

.ko_image_empty > div {
  background-color: rgba(14, 64, 105, 0.8);
  mix-blend-mode: multiply;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ko_image_empty:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 6rem solid #fff;
  border-left: 6rem solid transparent;
  width: 0;
  z-index: 9;
}

.ko_element {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3vw 5vw;
  margin-top: 8rem;
  margin-bottom: 7rem;
}

.ko_element_item {
  padding-left: 0;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.ko_element_item a {
  display: block;
  overflow: hidden;
}

.ko_element_item:hover {
  transform: translateX(5px);
}

.ko_element_item svg path {
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.ko_element_item:hover svg path {
  fill: #0e4069;
}

.ko_element h3 {
  margin-top: 1.6rem;
  margin-bottom: 5.6rem;
}

.ko_element_item a svg {
  width: 5.5rem;
  height: auto;
  display: block;
  margin-top: 2rem;
  left: -2rem;
  position: relative;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.ko_element_item:hover a svg {
  left: 0;
}

.fr_tooted_header {
  display: grid;
  grid-template-columns: 50% auto;
  align-items: end;
  padding-top: 8rem;
  padding-bottom: 4rem;
  padding-left: 4rem;
  padding-right: 4rem;
  justify-content: space-between;
}

.fr_tooted_header .btnelement {
  max-width: 11rem;
  margin-right: 0;
  padding-right: 0;
}

.fr_tooted_elements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 3.4rem 2.4rem;
  padding-bottom: 8rem;
}
.fr_tooted_element .overlaylink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 22;
}

.fr_tooted_element {
  position: relative;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 5.4rem),
    calc(100% - 5.4rem) 100%,
    0 100%
  );
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.fr_tooted_desc {
  background-color: #fff;
  padding: 0 4rem;
  padding-top: 3rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  position: absolute;
  bottom: 0;
  width: 100%;
}

span.hidden_desc {
  opacity: 0;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fr_tooted_element:hover .fr_tooted_desc {
  padding-bottom: 4rem;
}

.fr_tooted_element:hover span.hidden_desc {
  opacity: 1;
}

.fr_tooted_element svg path {
  stroke: #0e4069;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.fr_tooted_desc svg {
  width: 33px;
  height: auto;
  margin-bottom: 2rem;
}

.fr_tooted_element img {
  margin-bottom: 15rem;
}

.fr_news {
  margin-bottom: 8rem;
}

.fr_news_swiper {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10rem 100%, 0 calc(100% - 10rem));
}

.fr_news .swiper-slide {
  display: grid;
  grid-template-columns: 50% 50%;
  background-color: #fff;
}

.fr_news_content {
  margin: 12rem 16rem;
  margin-bottom: 20rem;
}

.text-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fr_news .text-clamp-2 {
  margin-bottom: 2rem;
  overflow: hidden;
}

span.fr_news_breadcrumbs {
  text-transform: uppercase;
  display: block;
  margin-bottom: 2rem;
}

.fr_news_image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.fr_news_image img {
  display: none;
}

.fr_news_carousel_nav {
  width: 50%;
  position: absolute;
  bottom: 0;
  z-index: 1;
  padding: 8rem 16rem;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  font-weight: 700;
  text-transform: uppercase;
}

.fr_news_carousel_nav > div {
  position: relative;
  padding-top: 3rem;
}

button.ff-btn-submit {
  position: relative;
  border: 0 none;
  padding-top: 3rem;
  padding-left: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: #0e4069;
  background-color: transparent;
}

.fr_news_carousel_nav > div:before,
button.ff-btn-submit:before,
.wpb-posts-nav .fr_nav-next:before,
.wpb-posts-nav .fr_nav-prev:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background-image: url("images/arrow-right-sh.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 5rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.fr_news_carousel_nav > div:hover:before,
button.ff-btn-submit:hover:before,
.wpb-posts-nav .fr_nav-next:hover:before,
.wpb-posts-nav .fr_nav-prev:hover:before {
  width: 4rem;
}

.fr_news_carousel_nav > div.fr_nav-prev:before,
.wpb-posts-nav .fr_nav-prev:before {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  left: unset;
  right: 0;
}

a.link_with_caret.fr_nav-prev,
a.link_with_caret.fr_nav-next {
  display: inline-block;
  position: relative;
  padding-top: 3rem;
  color: #b4b8ba;
  font-weight: 300;
}

.swiper.fr_news_swiper:before {
  display: none;
}

.template-header {
  padding-top: 17rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 4rem;
}

.t-header-inner {
  padding: 12rem;
  padding-top: 17rem;
}

.t-header-inner span.h1.color1 {
  font-weight: 700;
}

.page-template-template-tooted_teenused_main main {
  background-color: #f2f2f2;
}

body.page-template-template-toode_teenus .t-header-inner {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.teenus-intro {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 8rem 8rem 8rem;
  margin-top: 8rem;
  margin-right: 4rem;
  display: inline-block;
  max-width: 76rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8rem 100%, 0 calc(100% - 8rem));
}

.page-template-template-toode_teenus .lr-gutter-m.bg1 {
  min-height: 90vh;
  display: grid;
  align-items: center;
  margin-bottom: 4rem;
}

.page-template-template-toode_teenus .t-header-inner {
  padding: 0 12rem;
  padding-top: 0;
}

.bg-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-template-template-toode_teenus .regular-content.flexarea {
  grid-gap: 2.4rem;
}

.page-template-template-toode_teenus .content-text-area {
  padding: 8rem 16rem;
}

.page-template-template-toode_teenus .mp4-video.videoarea:before {
  border-top: 12rem solid #fff;
  border-right: 12rem solid transparent;
  display: none;
}

:root .content-img-area {
  --corner-clip-size: 14rem;
}

/* Top-Left Corner */
.top-left-corner {
  clip-path: polygon(
    100% 100%,
    0 100%,
    0 var(--corner-clip-size),
    calc(0% + var(--corner-clip-size)) 0,
    100% 0
  ) !important;
}

/* Top-Right Corner */
.top-right-corner {
  clip-path: polygon(
    calc(100% - var(--corner-clip-size)) 0,
    100% var(--corner-clip-size),
    100% 100%,
    0 100%,
    0 0
  ) !important;
}

/* Bottom-Right Corner */
.bottom-right-corner {
  clip-path: polygon(
    100% calc(100% - var(--corner-clip-size)),
    calc(100% - var(--corner-clip-size)) 100%,
    0 100%,
    0 0,
    100% 0
  ) !important;
}

/* Bottom-Left Corner */
.bottom-left-corner {
  clip-path: polygon(
    100% 100%,
    var(--corner-clip-size) 100%,
    0 calc(100% - var(--corner-clip-size)),
    0 0,
    100% 0
  ) !important;
}

.v3 .content-img-area.top-left-corner {
  clip-path: polygon(
    100% calc(100% - var(--corner-clip-size)),
    calc(100% - var(--corner-clip-size)) 100%,
    0 100%,
    0 0,
    100% 0
  ) !important;
}

.page-template-template-toode_teenus .swiper {
  position: relative;
  width: 100%;
  height: calc(var(--swiper-width) * var(--swiper-image-ratio) / 100%);
  overflow: hidden;
}

.page-template-template-toode_teenus .swiper-slide {
  position: relative;
  width: var(--swiper-width);
  opacity: 0.5;
  transform: scale(0.84);
  transition: all 0.6s ease-in-out;
  overflow: hidden;
  border-radius: 0.4285rem;
}

.page-template-template-toode_teenus .swiper-backface-hidden .swiper-slide {
  transform: scale(0.84) translateZ(0);
  -webkit-transform: scale(0.84) translateZ(0);
  -moz-transform: scale(0.84) translateZ(0);
  -ms-transform: scale(0.84) translateZ(0);
  -o-transform: scale(0.84) translateZ(0);
}

.page-template-template-toode_teenus .swiper-slide.swiper-slide-active {
  transform: scale(1) !important;
  opacity: 1 !important;
}

.page-template-template-toode_teenus
  .swiper-backface-hidden
  .swiper-slide.swiper-slide-active {
  transform: scale(1) translateZ(0) !important;
}

.page-template-template-toode_teenus .swiper-image {
  position: relative;
  width: 100%;
  padding-top: var(--swiper-image-ratio);
}

.page-template-template-toode_teenus .swiper-image .image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #929ec9;
}

.page-template-template-toode_teenus .swiper-button-next,
.page-template-template-toode_teenus .swiper-button-prev {
  padding: 8px;
  width: 12px;
  height: 12px;
  margin-top: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

.page-template-template-toode_teenus .swiper-button-next::after,
.page-template-template-toode_teenus .swiper-button-prev::after {
  color: #fff;
  font-size: 12px;
}

.page-template-template-toode_teenus .swiper-button-next,
.page-template-template-toode_teenus .navnext {
  transform: translate(50%, -50%);
  -webkit-transform: translate(50%, -50%);
  -moz-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  -o-transform: translate(50%, -50%);
  right: calc((100% - var(--swiper-width)) / 2);
}

.page-template-template-toode_teenus .swiper-button-prev,
.page-template-template-toode_teenus .navprev {
  left: calc((100% - var(--swiper-width)) / 2);
  margin-left: 0 !important;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

@media only screen and (max-width: 768px) {
  .siteby {
    margin-left: unset;
    display: block;
    float: none;
    margin-top: 3rem;
  }
  .f-links {
    margin-top: 8rem;
    display: flex;
    flex-direction: column;
  }

  .page-template-template-toode_teenus .swiper {
    height: calc(var(--swiper-mobile-width) * var(--swiper-image-ratio) / 100%);
  }

  .page-template-template-toode_teenus .swiper-slide {
    width: var(--swiper-mobile-width);
    transform: scale(var(--swiper-mobile-inactive-scale));
  }

  .page-template-template-toode_teenus
    .swiper-backface-hidden
    .swiper-slide.swiper-slide {
    transform: scale(var(--swiper-mobile-inactive-scale)) translateZ(0);
  }

  .page-template-template-toode_teenus .swiper-button-next {
    right: calc((100% - var(--swiper-mobile-width)) / 2);
  }

  .page-template-template-toode_teenus .swiper-button-prev {
    left: calc((100% - var(--swiper-mobile-width)) / 2);
  }
}

.regular-content.default-content-area.flexarea.flex-contact {
  padding: 12rem 28rem;
  background-color: #f2f2f2;
  grid-gap: 16rem;
  align-items: end;
  position: relative;
}

.regular-content.default-content-area.flexarea.flex-contact .btnelement {
  margin-bottom: 2.4rem;
}

.regular-content.default-content-area.flexarea.flex-contact:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 12rem solid #fff;
  border-left: 12rem solid transparent;
  width: 0;
  z-index: 9;
}

.page-template-template-toode_teenus .regular-gallery .zoomimage {
  position: absolute;
  top: 2rem;
  right: 2rem;
  opacity: 0;
  transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -ms-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
}

.page-template-template-toode_teenus
  .regular-gallery
  .swiper-slide-active
  .zoomimage {
  opacity: 1;
}

.page-template-template-toode_teenus .swiper-nav-wrap {
  width: calc(107% - var(--swiper-width));
  justify-content: space-between;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  -webkit-transform: translate(50%, -50%);
  -moz-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  -o-transform: translate(50%, -50%);
}

.page-template-template-toode_teenus
  .swiper-backface-hidden
  .swiper-slide:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 6rem solid #fff;
  border-left: 6rem solid transparent;
  width: 0;
  z-index: 9;
  opacity: 0;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}

.page-template-template-toode_teenus
  .swiper-backface-hidden
  .swiper-slide.swiper-slide-active:before {
  opacity: 1;
}

.teenus_kompetents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 13rem;
  text-align: center;
  padding: 6rem 20rem 12rem 20rem;
}

.teenus_kompetents h4 {
  font-size: 2rem;
}

.teenus_kompetents_element img {
  margin: 4rem 0;
}

.page-template-template-ettevottest .t-header-inner {
  display: flex;
  justify-content: flex-end;
  padding-left: 0;
  padding-right: 0;
}

.page-template-template-ettevottest .t-header-inner .teenus-intro {
  margin-right: 2.4rem;
}

.voimekus {
  position: relative;
  margin-top: 8rem;
  background-color: #0e4069;
}

.voimekus > div {
  display: grid;
  grid-template-columns: 46rem auto;
  position: relative;
  overflow: hidden;
  z-index: 11;
  color: #fff;
}

/* .voimekus>div:first-of-type {
  padding: 8rem 0;
} */
.voimekus-intro {
  padding-top: 8rem;
  padding-bottom: 8rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.voimekus-anim video {
  width: 100%;
}

.voimekus-inner {
  margin-bottom: 30vh;
}

#myVideo {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

/* .voimekus:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  background: #0e4069c9;
} */

.kliendid_partnerid {
  background-color: #f2f2f2;
  padding-top: 4rem;
  padding-bottom: 8rem;
}

.kliendid_partnerid .swiper-wrapper {
  align-items: center;
}
.kliendid_partnerid img {
  max-height: 10rem;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.kliendid_partnerid img:hover {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
}

.kliendid_partnerid > div {
  padding: 8rem;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12rem 100%, 0 calc(100% - 12rem));
}

.kliendid_partnerid .top-intro {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.kliendid_partnerid .top-intro > div:first-of-type {
  max-width: 80rem;
}

.kliendid_partnerid .swiper-nav-wrap {
  position: relative;
  top: unset;
  right: unset;
  z-index: 99;
  display: flex;
  padding: 0;
  margin-bottom: 2.4rem;
}

.kliendid_partnerid .swiper {
  margin-top: 8rem;
  margin-bottom: 4rem;
}

.kliendid_partnerid .swiper .swiper-slide {
  text-align: center;
}

.meeskond.lr-gutter-p.bg1 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.m-intro {
  margin-bottom: 6.4rem;
}

.m-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 2.4rem;
}

.m-item-content {
  padding: 4rem;
  background: #fff;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 6rem),
    calc(100% - 6rem) 100%,
    0 100%
  );
}

a.m-c-element {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.m-item-content svg {
  width: 3rem;
  padding: 1rem 1rem 1rem 0;
}

.m-item-content svg path {
  fill: #0e4069;
}

.m-item-content h3 {
  margin-bottom: 0.9rem;
}

.m-item-content .amet {
  margin-bottom: 2.4rem;
  display: block;
}

.m-lang {
  display: inline-block;
  margin-right: 2rem;
  font-weight: 800;
}

.m-item .keeled {
  margin-top: 2rem;
}

.kliendid_partnerid .swiper-nav-wrap > div {
  margin-left: 0.8rem;
}

/* .kliendid_partnerid h2 {
  line-height: 1.6;
} */

.kontakt-top-video {
  position: relative;
  margin-top: 17.3rem;
  border-bottom: 5rem solid #fff;
  min-height: calc(100vh - 100px);
  display: flex;
  flex-wrap: wrap;
}

.kontakt-top {
  position: relative;
  z-index: 9;
  color: #fff;
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  padding-right: 0;
}

.kontakt-top > div:first-of-type {
  background-color: rgb(14 64 105 / 80%);
  padding: 12rem 8rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-right: 13rem;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10rem),
    calc(100% - 10rem) 100%,
    0 100%
  );
}

.kontakt-top > div {
  background: rgb(242 242 242 / 98%);
}

.kontakt-top > div:last-of-type {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.kontakt-top .fluentform {
  max-width: 45rem;
  width: 100%;
  color: #0e4069;
}

.kontakt-top .fluentform h3 {
  color: #0e4069;
  margin: 0;
}

.kontakt-top .fluentform .ff-el-form-control {
  border: 0 none;
  border-radius: unset;
  -webkit-border-radius: unset;
  -moz-border-radius: unset;
  -ms-border-radius: unset;
  -o-border-radius: unset;
  color: #0e4069;
  padding: 1.7rem 2.4rem;
  padding-top: 1.4rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
}

.kontakt-top .ff-el-form-control:focus {
  color: red;
  background-color: black;
  border: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.kontakt-top .ff-el-form-control::placeholder {
  color: #0e4069 !important;
  font-size: 1.2rem;
  line-height: 1;
}

.kontakt-top .ff-el-form-control:focus::placeholder {
  color: white;
}

.kontakt-top .fluentform .ff-el-form-check {
  font-size: 1.2rem;
}

body .fluentform .ff-el-form-control:focus {
  border-color: #3a3659;
}

body .fluentform input[type="checkbox"] {
  -webkit-appearance: none;
}

input[type="checkbox"] {
  position: relative;
  cursor: pointer;
  padding: 0;
  margin-right: 1.5rem;
  width: 1.6rem;
  height: 1.6rem;
}

input[type="checkbox"]:before {
  content: "";
  margin-right: 1rem;
  display: inline-block;
  margin-top: 0;
  width: 1.6rem;
  height: 1.6rem;
  position: absolute;
  background: #fff;
  border: 1px solid #fff;
}

input[type="checkbox"]:checked:before {
  background: #fff;
}

.widget input[type="checkbox"]:before {
  border: 1px solid #fff;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.hiddenform label.ff-el-form-check-label {
  display: flex;
  align-items: center;
}

/*  input[type="checkbox"]:checked:before {
    background: #000;
    border-color: #000;
} */
input[type="checkbox"]:disabled {
  color: #b8b8b8;
  cursor: auto;
}

input[type="checkbox"]:disabled:before {
  box-shadow: none;
  background: #f2f2f2;
}

input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  background: #3a3659;
  left: 4px;
  top: 4px;
  width: 0.9rem;
  height: 0.9rem;
}

body .fluentform .ff-el-form-check-label .ff-el-form-check-input {
  position: relative;
  top: 0;
  vertical-align: top;
  margin-right: 1.6rem;
}

.kontakt-top > div:first-of-type a {
  color: #fff !important;
}

.iframe_map iframe {
  width: 100%;
  height: 70vh;
  min-height: 500px;
}

.iframe_map {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.iframe_map > div {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15rem 100%, 0 calc(100% - 15rem));
}

.page-template-archive .t-header-inner,
.page-template-template-uudised .t-header-inner,
.archive .t-header-inner {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
}

.page-template-archive .t-header-inner ul,
.page-template-template-uudised .t-header-inner ul,
.archive .t-header-inner ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.page-template-archive .t-header-inner ul li,
.page-template-template-uudised .t-header-inner ul li,
.archive .t-header-inner ul li {
  margin-left: 3rem;
}

.page-template-archive .t-header-inner ul li a,
.page-template-template-uudised .t-header-inner ul li a,
.archive .t-header-inner ul li a {
  clip-path: polygon(
    0 0,
    calc(100% - 2rem) 0,
    100% 2rem,
    100% 100%,
    2rem 100%,
    0 calc(100% - 2rem)
  );
  display: inline-block;
  padding: 2.4rem 4rem;
  background: #f2f2f2;
  color: #0e4069;
  font-weight: 700;
  transition: background-color 0.6s, color 0.6s;
  -webkit-transition: background-color 0.6s, color 0.6s;
  -moz-transition: background-color 0.6s, color 0.6s;
  -ms-transition: background-color 0.6s, color 0.6s;
  -o-transition: background-color 0.6s, color 0.6s;
}

.page-template-archive .t-header-inner ul li:first-of-type a,
.page-template-template-uudised .t-header-inner ul li:first-of-type a,
.page-template-archive .t-header-inner ul li:hover a,
.page-template-template-uudised .t-header-inner ul li:hover a,
.t-header-inner ul li a[aria-current="page"] {
  color: #f2f2f2 !important;
  background: #0e4069 !important;
}

.page-template-archive .fr_tooted_desc,
.page-template-template-uudised .fr_tooted_desc,
.archive .fr_tooted_desc {
  padding-bottom: 4rem;
  width: 100%;
}

.page-template-archive .fr_tooted_element:hover,
.page-template-template-uudised .fr_tooted_element:hover,
.archive .fr_tooted_element:hover {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 7rem),
    calc(100% - 7rem) 100%,
    0 100%
  );
}

.fr_tooted_desc span.post-date {
  display: block;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

.page-template-archive main,
.page-template-template-uudised main,
.archive main {
  background: transparent;
}

a.next.page-numbers,
a.prev.page-numbers {
  position: relative;
  padding-top: 3rem;
  font-weight: 700;
  margin: 0 8rem;
}

a.next.page-numbers:before,
a.prev.page-numbers:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background-image: url("images/arrow-right-sh.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 5rem;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

a.prev.page-numbers:before {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  left: unset;
  right: 0;
}

a.prev.page-numbers:hover:before,
a.next.page-numbers:hover:before {
  width: 4rem;
}

.pagination .page-numbers:not(.next):not(.prev) {
  background-color: ;
  color: #0e4069;
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-left: 1.2rem;
  margin-right: 1.2rem;
}

span.page-numbers.current {
  background: #fff;
}

a.next.page-numbers:after {
  content: "";
  background-color: #f2f2f2;
  width: 1rem;
  height: 3rem;
  position: absolute;
  right: 0;
}

a.prev.page-numbers:after {
  content: "";
  background-color: #f2f2f2;
  width: 1rem;
  height: 3rem;
  position: absolute;
  left: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-bottom: 8rem;
}

.wpb-posts-nav .next-post {
  text-align: right;
}

.wpb-posts-nav .seeallnewsbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wpb-posts-nav .seeallnewsbtn > span:first-of-type {
  color: #b4b8ba;
  display: block;
  padding-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.single .container.container-max.regular-content {
  margin-top: 213px;
  clip-path: polygon(0 10rem, 10rem 0, 100% 0, 100% 100%, 0 100%);
  background-color: #fff;
  padding: 0;
}

.single main {
  background-color: #f2f2f2;
}

.single main:after {
  content: "";
  background: #f2f2f2;
  width: 100%;
  height: 100%;
  bottom: 100%;
  left: 0;
  position: absolute;
}

.single
  .container-max.regular-content
  .regular-content.default-content-area:not(:first-child) {
  margin-top: 0;
  padding-top: 0;
}

.single .regular-content.default-content-area.post-date-container {
  padding: 0;
}

.single span.post-date {
  background: #f2f2f2;
  padding: 1.6rem 2.4rem;
  display: inline-block;
  text-transform: uppercase;
  transform: translateY(-2.4rem);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    1.5rem 100%,
    0 calc(100% - 1.5rem)
  );
}

.single .regular-content.default-content-area.regular-gallery {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 5.4rem),
    calc(100% - 5.4rem) 100%,
    0 100%
  );
}

.wpb-posts-nav.width-l {
  display: grid;
  grid-template-columns: 33.33% auto 33.33%;
  grid-gap: 3%;
}

.wpb-posts-nav {
  display: grid;
  grid-template-columns: 36% 28% 36%;
  background: #f2f2f2;
  margin-top: 8rem;
}

.news-item-content {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1rem 0 0 0;
}

.next-post > div {
  display: flex;
  flex-direction: column;
}

a.link_with_caret.fr_nav-next {
  margin-left: auto;
}

.page-template-default main {
  background-color: #f2f2f2;
  padding-top: 21rem;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
  margin-bottom: 10rem;
}

.page-template-default .container-max.regular-content {
  background: #fff;
  padding-bottom: 20rem;
  clip-path: polygon(
    0 0,
    calc(100% - 13rem) 0,
    100% 13rem,
    100% 100%,
    13rem 100%,
    0 calc(100% - 13rem)
  );
}

.h-menu-top {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

ul {
  list-style-type: none;
}

.wpml-ls-legacy-list-horizontal {
  padding-right: 0;
}

.wpml-ls-legacy-list-horizontal a {
  padding-right: 0;
  padding-left: 2.4rem;
}

.h-menu-top svg {
  height: 2rem;
}

li.current-menu-item > a,
.main-menu li:hover > a {
  color: #b4b8ba;
}

.kontakt-top .contactlistitems {
  font-weight: 200;
  max-width: 27rem;
}

.no-found {
  height: 100vh;
  position: relative;
  margin-left: 2.4rem;
  margin-right: 2.4rem;
  margin-bottom: 10rem;
}

.no-found-content {
  color: #fff;
  z-index: 11;
  position: relative;
  flex-wrap: wrap;
  transform: translate(0, -40%);
  top: 40%;
  padding: 0 15rem;
}

.no-found p {
  margin-bottom: 3.4rem;
}

.popup-form {
  position: fixed;
  height: 100%;
  z-index: 15;
  top: 0;
  left: 2.4rem;
  right: 2.4rem;
}

.popup-form .kontakt-top > div:first-of-type {
  opacity: 0;
}

.popup-form .kontakt-top {
  height: 100%;
}

.popup-form-wrap {
  position: relative;
  max-width: 45rem;
  width: 100%;
}

.close-btn {
  position: absolute;
  right: 0;
  top: -5rem;
  z-index: 999;
}

.close-btn {
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  width: 2px;
  border-radius: 2px;
  height: 100%;
  background-color: #0e4069;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.close-btn::before {
  transform: translateX(-50%) rotate(45deg);
}

.close-btn::after {
  transform: translateX(-50%) rotate(-45deg);
  -webkit-transform: translateX(-50%) rotate(-45deg);
  -moz-transform: translateX(-50%) rotate(-45deg);
  -ms-transform: translateX(-50%) rotate(-45deg);
  -o-transform: translateX(-50%) rotate(-45deg);
}

/* Optional Styling */
.close-btn:hover::before,
.close-btn:hover::after {
  background-color: #929ec9;
}

.hiddenform {
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

.hiddenform.visible {
  transform: translateX(0);
  opacity: 1;
}

.noscroll {
  position: static;
  overflow-y: hidden;
  height: 100%;
  max-height: 100%;
}

header .search-field {
  background-color: transparent;
  background-image: url("images/search.svg");
  background-position: 5px center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  border: none;
  cursor: pointer;
  height: 37px;
  margin: 3px 0;
  padding: 0 0.5rem 0 4rem;
  position: relative;
  -webkit-transition: width 400ms ease, background 400ms ease;
  transition: width 400ms ease, background 400ms ease;
  width: 0;
  font-size: 1.2rem;
}

header .search-field:focus {
  background-color: #fff;
  background-image: url("images/search-blue.svg");
  border: 0 none;
  cursor: text;
  outline: 0;
  width: 230px;
}

header .search-submit {
  display: none;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

.otgs-development-site-front-end {
  display: none;
}

.f-icons.floating-contacts {
  display: flex;
  left: 2.4rem;
  position: fixed;
  bottom: 2.4rem;
  z-index: 9;
}

.floating-contacts-ico {
  background-color: #0e4069;
  width: 4.8rem;
  height: 4.8rem;
  margin-right: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0.6rem 100%,
    0 calc(100% - 0.6rem)
  );
  transition: clip-path 0.6s;
  -webkit-transition: clip-path 0.6s;
  -moz-transition: clip-path 0.6s;
  -ms-transition: clip-path 0.6s;
  -o-transition: clip-path 0.6s;
}

.floating-contacts-ico:hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
}

.floating-contacts-ico svg {
  width: 2rem;
}

.search-results main,
.search-no-results main {
  background-color: #f2f2f2;
}

.search-group {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 13rem;
  margin-bottom: 10rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10rem 100%, 0 calc(100% - 10rem));
}

.search-group article {
  padding-left: 4rem;
  padding-right: 4rem;
  margin-bottom: 4rem;
}

.group-type {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.no_text {
  text-indent: -9999px;
  overflow: hidden;
}

.search-group .row {
  justify-content: space-between;
}

.search-group .col-md-6.order-md-1 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.search-group .entry-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.searcform-wrap input[type="search"] {
  background: #fff;
  border: 0 none;
  padding: 1.1rem;
  font-size: 1.2rem;
  max-width: 50rem;
  width: 100vw;
  padding-right: 5rem;
}

.searcform-wrap button.search-submit {
  width: 4rem;
  height: 4rem;
  border: 0;
  position: absolute;
  right: 0;
  background-color: #0e4069;
}

.searcform-wrap button.search-submit svg {
  width: 2rem;
}

.searcform-wrap {
  display: flex;
}

.searcform-wrap form.search-form {
  position: relative;
}

.noresults {
  background: #fff;
  padding: 4rem;
  margin-bottom: 4rem;
  text-align: center;
  padding-bottom: 2rem;
}

.megamenu {
  position: absolute;
  background: red;
  width: 100%;
  left: 0;
}

.bgblue {
  background-color: #0e4069;
}

.mega-content > ul {
  margin: 8rem 16rem !important;
}

body .mega-sub-menu a.mega-menu-link {
  position: relative !important;
  display: inline-block !important;
}

body .mega-sub-menu a.mega-menu-link::before {
  content: "";
  position: absolute !important;
  background: url("images/arrow-right-white.svg") no-repeat center / 1rem !important;
  width: 4rem !important;
  height: 2.6rem !important;
  top: 0 !important;
  left: 100%;
}

.post-thumbnail.no-thumbnail {
  background: #0e4069;
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumbnail.no-thumbnail img {
  margin-bottom: 22rem;
}

.regular-content.default-content-area h1,
.regular-content.default-content-area h2,
.regular-content.default-content-area h3,
.regular-content.default-content-area h4 {
  margin-top: 3rem;
}

.wpb-posts-nav {
  width: 100%;
  position: relative;
  bottom: 0;
  z-index: 1;
  padding: 0 4rem 8rem;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  font-weight: 700;
  text-transform: uppercase;
}

.wpb-posts-nav > div {
  position: relative;
  padding-top: 3rem;
}

.single main:before {
  display: none;
}

.voimekus > div {
  margin-bottom: 4rem;
}

@media all and (max-width: 1920px) {
  .no-padding {
    padding: 0 !important;
  }
  .no-l-padding {
    padding-left: 0 !important;
  }
  .no-r-padding {
    padding-right: 0 !important;
  }

  .slaid-textarea {
    top: calc(50% + 100px);
  }

  .voimekus > div {
    grid-template-columns: 60rem auto;
  }

  .voimekus-intro {
    padding: 3rem 6rem;
  }
}

@media all and (max-width: 1600px) {
  h1,
  .h1 {
    font-size: 3.6rem;
  }

  h2,
  .h2 {
    font-size: 3rem;
  }

  h3,
  .h3 {
    font-size: 2.1rem;
  }

  h4,
  .h4,
  h5,
  .h5,
  h6,
  .h6 {
    font-size: 2.6rem;
  }

  .slaid-textarea h1 {
    font-size: 3.6rem;
  }

  .hero-slider {
    margin-bottom: 3rem;
  }

  .ko_element {
    grid-gap: 5vw 5vw;
  }

  .ko_element h3 {
    margin-bottom: 3.6rem;
  }

  .fr_news_content {
    margin: 12rem 10rem;
  }

  .fr_news_carousel_nav {
    padding: 8rem 10rem;
  }

  .mega-content > ul {
    margin: 8rem 16rem !important;
    display: inline-block !important;
  }

  li.test {
    display: flex !important;
  }

  li.test ul,
  li.test li {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    background: red !important;
  }

  .page-template-template-tooted_teenused_main .fr_tooted_element img {
    margin-bottom: 15rem;
  }

  .page-template-template-toode_teenus .content-text-area {
    padding: 5vw;
  }

  .regular-content.default-content-area.flexarea.flex-contact {
    padding: 5vw 10vw;
  }

  .regular-content.default-content-area.flexarea.flex-contact
    > div:last-of-type {
    text-align: center;
  }

  .teenus_kompetents {
    padding: 5vw 10vw;
  }

  .popup-form .kontakt-top > div:last-of-type {
    padding-top: 20vh;
  }

  .voimekus-intro {
    padding-left: 5.6rem;
  }

  .page-template-uudised .h3 .page-template-archive .h3,
  .archive.date h3,
  .archive.date .h3 {
    font-size: 2rem;
  }

  .kontakt-top > div:first-of-type {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

@media all and (max-width: 1440px) {
  .slaid-textarea {
    right: 3rem;
    padding: 4rem;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      4.4rem 100%,
      0 calc(100% - 4.4rem)
    );
  }

  .slaid-textarea:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6rem 100%, 0 calc(100% - 6rem));
  }

  .mega-content > ul {
    margin: 4rem 6rem !important;
    display: inline-block !important;
  }

  .teenus-intro {
    padding: 4rem 8rem 8rem 8rem;
    margin-right: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 4rem 100%, 0 calc(100% - 4rem));
  }

  .swiper-element {
    min-height: 80vh;
  }

  .swiper-element img {
    position: absolute;
    height: 100%;
    object-fit: cover;
  }

  .page-template-archive .t-header-inner,
  .page-template-template-uudised .t-header-inner,
  .archive.date .t-header-inner {
    padding: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .page-template-archive .fr_tooted_elements,
  .page-template-archive .fr_tooted_elements {
    padding-bottom: 0;
  }

  .kontakt-top > div:first-of-type {
    padding: 4rem 8rem;
  }

  .kontakt-top > div:last-of-type {
    padding: 5rem 3rem;
  }

  .voimekus-inner {
    margin-bottom: 0;
  }
}

@media all and (max-width: 1366px) {
}

@media all and (max-width: 1280px) {
  .fr_tooted_header {
    padding-left: 0;
    padding-right: 0;
  }

  .home .fr_tooted_elements {
    padding-left: 0;
    padding-right: 0;
  }

  .fr_news_content {
    margin: 6rem 6rem 12rem;
  }

  .fr_news_swiper {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 5rem 100%, 0 calc(100% - 5rem));
  }

  .fr_news_carousel_nav {
    padding: 8rem 10rem 5rem;
  }

  .single main {
    padding: 0 2.4rem;
  }

  .kontakt-top > div:first-of-type {
    padding: 4rem 4rem;
    margin-right: 3rem;
  }

  .m-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kompetents {
    grid-template-columns: 1fr;
  }

  .ko_wrap {
    padding: 4rem;
  }

  .ko_image_empty {
    min-height: 30vh;
  }
}

.mobile-menu,
.mob-f-icons {
  display: none;
}

@media all and (max-width: 992px) {
  .voimekus > div {
    grid-template-columns: 60% 50%;
  }
  .voimekus-intro {
    padding-left: 1rem;
  }
  footer.lr-gutter-m {
    margin-left: 0;
    margin-right: 0;
  }

  .slaid-textarea {
    position: relative;
    transform: unset;
    top: unset;
    bottom: unset;
    width: auto;
    top: unset;
    left: unset;
    right: unset;
  }

  .swiper-element img {
    position: relative !important;
    height: unset;
    object-fit: unset;
  }

  .swiper-element {
    min-height: 80vh;
  }

  /* .lr-gutter-m {
    margin-left: 0;
    margin-right: 0;
  } */

  .swiper-element.hasvideo video {
    left: unset;
    top: unset;
    transform: unset;
    -webkit-transform: unset;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    position: relative;
    width: 100%;
  }

  header.header {
    left: 0;
    right: 0;
  }

  a.vr_logo img {
    max-height: 65px;
  }

  .h-menu-top,
  .h-menu-bottom {
    display: none;
  }

  header .mobile-menu .search-field {
    background-color: #f2f2f2;
    background-image: url("images/search-blue.svg");
    border: 0 none;
    cursor: text;
    outline: 0;
    width: 100%;
    max-width: 230px;
    padding: 0 4rem 0 2rem;
    background-position: 95% center;
    background-size: 2rem;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 2.4rem;
    left: 100%;
    position: absolute;
    width: 100%;
  }

  .mobile-menu.open {
    left: 0;
  }

  .main-menu > li {
    margin-left: 0;
  }

  .f-icons {
    display: none !important;
  }

  .mob-f-icons {
    display: flex;
  }

  .mob-f-icons .floating-contacts-ico {
    background-color: transparent;
    width: 3.8rem;
    height: 3.8rem;
    margin-right: 1rem;
  }

  header.header > .h-inner {
    align-items: flex-end;
  }

  .h-menu-wrap {
    padding-bottom: 2.4rem;
  }

  .scrolled a.hz_logo {
    position: relative;
  }

  .scrolled header .h-logo {
    padding-bottom: 2.4rem;
  }

  #nav-icon1,
  #nav-icon2,
  #nav-icon3,
  #nav-icon4 {
    width: 4rem;
    height: 2rem;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    margin: 1rem;
  }

  #nav-icon1 span,
  #nav-icon3 span,
  #nav-icon4 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    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;
  }

  #nav-icon1.open span,
  #nav-icon3.open span,
  #nav-icon4.open span {
    width: 65%;
  }

  /* Icon 3 */

  #nav-icon3 span:nth-child(1) {
    top: 0px;
  }

  #nav-icon3 span:nth-child(2),
  #nav-icon3 span:nth-child(3) {
    top: 8px;
  }

  #nav-icon3 span:nth-child(4) {
    top: 16px;
  }

  #nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
  }

  #nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
  }

  .main-menu {
    flex-direction: column;
  }

  ul.mobile_menu {
    padding: 3rem 2rem;
    position: relative;
  }

  ul.mobile_menu a {
    color: #fff;
    text-transform: uppercase;
  }

  ul.mobile_menu a:hover {
    color: #b4b8ba;
  }

  ul.mobile_menu > li a {
    display: inline-block;
    padding: 1rem 0;
    font-weight: 500;
    position: relative;
  }

  header.header.open {
    height: 100%;
    background-color: rgb(14 64 105 / 100%);
  }

  ul.submenu {
    display: none;
  }

  .mobile-menu .wpml-ls-legacy-list-horizontal {
    padding: 0;
    padding-left: 2rem;
  }

  .mobile-menu .wpml-ls-legacy-list-horizontal a {
    padding-right: 0;
    padding-left: 0;
    padding-right: 2.4rem;
  }

  body.open {
    height: 100vh;
    overflow-y: hidden;
    padding-right: 15px;
    /* Avoid width reflow */
  }

  form.search-form label {
    width: 100%;
  }

  header .mobile-menu .search-field {
    max-width: unset;
    background-position: calc(100% - 10px) center;
  }

  /* li.menu-item-has-children {
  position: relative;
} */
  li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    width: 3rem;
    height: 4rem;
    background: url("images/mobile-arrow-right.svg") no-repeat center;
    top: 0;
  }

  ul.submenu {
    display: block;
    z-index: 99;
    position: absolute;
    top: 0px;
    background: #0e4069;
    width: 100%;
    min-height: 100%;
    transform: translateX(992px);
    -webkit-transform: translateX(992px);
    -moz-transform: translateX(992px);
    -ms-transform: translateX(992px);
    -o-transform: translateX(992px);
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    padding-top: 4rem;
  }

  li.active > ul.submenu {
    position: absolute;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    left: 0;
  }

  li.back {
    margin-bottom: 2rem;
    position: relative;
    cursor: pointer;
  }

  li.back span {
    color: #b4b8ba;
    text-transform: uppercase;
    font-weight: 500;
  }

  li.back span::after {
    content: "";
    position: absolute;
    width: 3rem;
    height: 4rem;
    background: url("images/mobile-arrow-right.svg") no-repeat center;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
  }

  footer {
    padding: 6rem 2.4rem 6rem;
  }

  .f-links {
    margin-top: 8rem;
  }

  .footer-inner {
    grid-gap: 10%;
  }

  .fr_tooted_elements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ko_wrap {
    padding: 4rem 0;
  }

  .slaid-textarea h1 {
    font-size: 3rem;
  }

  h1,
  .h1 {
    font-size: 3rem;
  }

  h2,
  .h2 {
    font-size: 2.4rem;
  }

  .page-template-template-toode_teenus .v1 .content-img-area:before {
    border-bottom: 6rem solid #fff;
    border-left: 6rem solid transparent;
  }

  .regular-content.default-content-area.flexarea.flex-contact:before {
    border-bottom: 6rem solid #fff;
    border-left: 6rem solid transparent;
  }

  .btnelement {
    clip-path: polygon(
      0 0,
      calc(100% - 2rem) 0,
      100% 2rem,
      100% 100%,
      2rem 100%,
      0 calc(100% - 2rem)
    );
  }

  .btnelement:hover {
    clip-path: polygon(
      0 0,
      calc(100% - 2.4rem) 0,
      100% 2.4rem,
      100% 100%,
      2.4rem 100%,
      0 calc(100% - 2.4rem)
    );
  }

  .regular-content.default-content-area.flexarea.flex-contact {
    padding: 4vw;
  }

  .teenus_kompetents {
    padding: 4vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 3rem;
  }

  .teenus-intro {
    padding: 0rem 4rem 4rem 4rem;
  }

  .kliendid_partnerid > div {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6rem 100%, 0 calc(100% - 6rem));
    padding: 4rem;
  }

  .single .container.container-max.regular-content {
    margin-top: 14rem;
    clip-path: polygon(0 4rem, 4rem 0, 100% 0, 100% 100%, 0 100%);
  }

  .single .container.container-max.regular-content.width-l > div {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  .kontakt-top-video {
    position: relative;
    margin-top: 10rem;
    border-bottom: unset;
  }

  .meeskond.lr-gutter-p.bg1 > div {
    padding-left: 0;
    padding-right: 0;
  }

  .kontakt-top > div:first-of-type {
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 3rem),
      calc(100% - 3rem) 100%,
      0 100%
    );
  }

  .m-item-content {
    padding: 3rem;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 3rem),
      calc(100% - 3rem) 100%,
      0 100%
    );
  }

  .m-item-content h3 {
    font-size: 1.7rem;
  }

  .kontakt-top h1 {
    font-size: 2.4rem;
  }

  .iframe_map > div {
    clip-path: unset;
  }

  .iframe_map {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .iframe_map iframe {
    height: 50vh;
  }

  .m-item-content svg {
    width: 2rem;
    padding: 0;
    margin-right: 1rem;
  }

  a.m-c-element {
    font-size: 1.3rem;
  }

  .kontakt-top.width-xl {
    padding-right: 0;
  }

  .regular-content.default-content-area {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  .page-template-template-toode_teenus .regular-content.default-content-area {
    padding-left: 0;
    padding-right: 0;
  }

  .container-max.regular-content
    .regular-content.default-content-area:not(:first-child) {
    margin-top: 0;
  }

  .flexarea {
    margin-bottom: 0;
  }

  .page-template-default .container-max.regular-content {
    padding-bottom: 3rem;
    clip-path: unset;
  }

  .page-template-default main {
    padding-top: 14rem;
    margin-bottom: 3rem;
  }

  .page-template-default .container-max.regular-content p#breadcrumbs {
    margin-top: 0;
  }

  .regular-content.flexarea {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-gap: 2rem;
  }

  .page-template-template-toode_teenus .content-text-area {
    padding: 0;
  }

  .v1 .content-img-area img {
    display: block;
    position: relative;
  }

  .regular-content.default-content-area.flexarea.flex-contact {
    grid-gap: 1rem;
  }

  .regular-content.default-content-area.flexarea.flex-contact
    > div:last-of-type {
    text-align: left;
  }

  .page-template-template-toode_teenus
    .width-xl.lr-gutter-m.regular-content
    > div:first-of-type {
    padding-top: 0;
  }

  footer.lr-gutter-m > .width-xl {
    padding-left: 0;
    padding-right: 0;
  }

  .scrolled .floating-contacts-ico {
    opacity: 0;
  }

  .scrolled header .h-logo img {
    max-height: 35px;
  }

  .scrolled header .h-logo {
    padding-bottom: 1rem;
    padding-top: 0.2rem;
  }

  .scrolled header .h-menu-wrap {
    padding-bottom: 0;
  }

  .hero-slider {
    margin-left: 0;
    margin-right: 0;
  }

  .slaid-textarea {
    padding: 2.4rem;
  }

  .hero-slider {
    margin-top: 10rem;
  }

  .home header {
    background-color: rgb(14 64 105 / 100%);
  }

  .fr_news .swiper-slide {
    grid-template-columns: 100%;
  }

  .fr_news_content {
    margin: 4rem 3rem 10rem;
  }

  .fr_news_carousel_nav {
    padding: 8rem 2rem 2rem;
    width: 100%;
  }

  .swiper-element {
    min-height: unset;
    height: auto;
  }

  .fr_news_image {
    height: 30rem;
    width: 100%;
    order: -1;
  }

  .lr-gutter-m.bg1.bg-cover {
    padding-left: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .t-header-inner {
    padding: 2rem;
    padding-top: unset;
  }
  .search-group .col-md-6.order-md-1 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .fr_tooted_element:hover span.hidden_desc,
  .fr_tooted_element span.hidden_desc {
    opacity: 0;
    display: none;
    padding: 0;
    height: 0;
  }
  header.header > .h-inner {
    padding-right: 2rem;
    padding-left: 2rem;
  }
  header.header {
    padding-top: 1.5rem;
  }
  .hero-slider {
    margin-top: 10rem;
  }

  :root .content-img-area {
    --corner-clip-size: 6rem;
  }
}

.hidden {
  display: none !important;
}

@media all and (max-width: 768px) {
  .voimekus > div {
    grid-template-columns: 100%;
  }
  .voimekus-intro {
    padding-right: 1rem;
  }
  .voimekus-intro h1 {
    font-size: 2.4rem;
  }
  .hero-slider {
    height: auto;
  }
  .fr_news_swiper {
    clip-path: unset;
  }

  .videoarea {
    margin-bottom: 6rem;
    padding: 4rem 0 0;
  }

  .page-template-template-toode_teenus .lr-gutter-m.bg1 {
    min-height: 65vh;
  }

  .teenus-intro {
    margin-left: 3rem;
  }

  .kontakt-top {
    grid-template-columns: 100%;
  }

  .popup-form .kontakt-top > div:first-of-type {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 100%;
  }

  .f-contact {
    order: -1;
  }

  .kontakt-top-video.lr-gutter-m {
    margin-left: 0;
    margin-right: 0;
  }

  .kontakt-top.width-xl {
    padding-right: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .kontakt-top > div:first-of-type {
    margin-right: 0;
  }

  .m-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer.lr-gutter-m {
    margin-top: 2.4rem;
  }

  .kontakt-top .fluentform {
    max-width: 100%;
  }

  .kompetents {
    padding-bottom: 0;
  }

  .fr_tooted_header {
    grid-template-columns: 100%;
  }

  .teenus_kompetents {
    padding: 4vw 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-gap: 3rem;
  }
  .width-xl.lr-gutter-m.regular-content {
    margin-left: 0;
    margin-right: 0;
  }
}

@media all and (max-width: 650px) {
  .fr_tooted_elements {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .fr_news {
    margin-bottom: 0;
  }

  .fr_tooted_elements {
    padding-bottom: 3rem;
  }
  .kliendid_partnerid .top-intro h2 {
    display: none;
  }
  .mobile-intro.d-block.d-sm-none p {
    display: none;
  }
  .kliendid_partnerid .top-intro {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .ko_element {
    grid-gap: 15vw 5vw;
  }
  .page-template-template-tooted_teenused_main .fr_tooted_elements.width-xl {
    padding-left: 0;
    padding-right: 0;
  }
  .page-template-template-tooted_teenused_main .fr_tooted_element img {
    margin-bottom: 0;
  }
  .page-template-template-uudised .t-header-inner ul {
    display: none;
  }
  .wpb-posts-nav.width-l {
    grid-template-columns: 100%;
  }
}

@media all and (max-width: 500px) {
  .m-items {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  footer {
    clip-path: polygon(
      calc(100% - 4rem) 0,
      100% 4rem,
      100% 100%,
      0rem 100%,
      0 0
    );
  }

  .f-links.width-xl {
    display: grid;
    grid-gap: 1rem;
  }

  .ko_element {
    grid-template-columns: 100%;
  }

  .fr_tooted_desc {
    padding: 0 2rem;
    padding-top: 2rem;
    width: 100%;
  }

  span.hidden_desc {
    display: none;
  }

  .home .fr_tooted_element img {
    margin-bottom: 85px;
  }

  .fr_tooted_element {
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 3rem),
      calc(100% - 3rem) 100%,
      0 100%
    );
  }

  .lr-gutter-m {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .hero-slider {
    margin-left: 0;
    margin-right: 0;
  }
  .fr_tooted_elements.width-xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .kompetents.lr-gutter-m.width-xl {
    margin-left: 0;
    margin-right: 0;
  }
  .home .fr_tooted_elements.width-xl {
    padding-left: 0;
    padding-right: 0;
  }
  .width-xl.lr-gutter-m {
    margin-left: 0;
    margin-right: 0;
  }
  .popup-form {
    left: 0;
    right: 0;
  }

  .page-template-template-toode_teenus .lr-gutter-m.bg1 {
    height: auto;
    min-height: 65rem;
  }

  .teenus-intro {
    margin: 13rem 2rem 3rem 2rem;
    padding: 0rem 2rem 4rem 2rem;
  }
  .teenus-intro h1,
  .teenus-intro .h1 {
    font-size: 2.6rem;
  }
  .kliendid_partnerid.lr-gutter-p {
    padding: 0;
  }
  .kliendid_partnerid > div {
    clip-path: unset;
    padding: 2.4rem;
  }
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

body .fluentform .ff_upload_btn.ff-btn {
  background: transparent;
  border-color: #0e4069;
  color: #0e4069;
  padding: 10px 20px;
  border: 1px solid #0e4069;
  position: relative;
  font-size: 1.2rem;
}

body .fluentform .ff-upload-preview-img {
  background-color: #0e4069;
}
body .fluentform .ff-upload-details,
body .fluentform .ff-upload-preview {
  border: unset;
  background: #fff;
}
body .fluentform .ff-el-progress-bar {
  background-color: #0e4069;
}
.extra-logo-area {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.extra-logo-area img {
    width: auto;
    max-height: 8rem;
}