/* Fontit ja  värit */
:root {
  --body-font: 'Roboto', sans-serif;
  --heading-font: "Poppins", sans-serif;
  --theme-color: #3299fa;
  --theme-color2: #42bd3b;
  --theme-bg-light: #F6F6F6;
  --theme-color-light: rgba(0, 191, 255, .1);
  --body-text-color: #757F95;
  --color-white: #ffffff;
  --color-dark: #3299fa;
  --color-green: #15D4C9;
  --color-blue: #0049D0;
  --color-skyblue: #3299fa;
  --color-yellow: #FBA707;
  --color-gray: #ECECEC;
  --color-red: #F05454;
  --box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  --box-shadow2: 0 0 15px rgba(0, 0, 0, 0.17);
  --transition: all .5s ease-in-out;
  --transition2: all .3s ease-in-out;
  --border-info-color: rgba(0, 0, 0, 0.08);
  --border-info-color2: rgba(0, 0, 0, 0.05);
  --border-white-color: rgba(255, 255, 255, 0.08);
  --border-white-color2: rgba(255, 255, 255, 0.05);
  --footer-bg: #3299fa;
  --footer-text-color: #F5FAFF;
}
/* Yleiset */
*,
*:before,
*:after {
  box-sizing: inherit;
}
* {
  scroll-behavior: inherit !important;
}
html,
body {
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--body-font);
  font-style: normal;
  font-size: 16px;
  font-weight: normal;
  color: var(--body-text-color);
  line-height: 1.8;
}
a {
  color:  var(--color-dark);
  display: inline-block;
}
a,
a:active,
a:focus,
a:hover {
  outline: none;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  text-decoration: none;
}
a:hover {
  color: var(--color-blue);
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
.richtext ul, .richtext ol, .faq-area ul, .faq-area ol {
  margin-left: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.richtext ul li, .faq-area ul li {
  list-style: disc;
}
.richtext ul ol, .faq-area ul ol {
  list-style:circle;
}
h1,
h1,
h2,
h3,
h4,
h5,
h6 {
  color:  var(--color-dark);
  margin: 0px;
  font-weight: 600;
  font-family: var(--heading-font);
  line-height: 1.2;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 35px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}
p {
  margin: 0px;
}
.ingressi {
  margin-bottom: 20px;
}
.blog-single-content .richtext h2 {
  font-size: 26px;
}
.blog-single-content .richtext h3, .blog-single-content .richtext h4 {
  font-size: 20px;
}
.img,
img {
  max-width: 100%;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  height: auto;
}
label {
  color: #999;
  cursor: pointer;
  font-weight: 400;
}
*::-moz-selection {
  background: #d6b161;
  color: var(--color-white);
  text-shadow: none;
}
::-moz-selection {
  background: #555;
  color: var(--color-white);
  text-shadow: none;
}
::selection {
  background: #555;
  color: var(--color-white);
  text-shadow: none;
}
*::-moz-placeholder {
  color: #999;
  font-size: 16px;
  opacity: 1;
}
*::placeholder {
  color: #999;
  font-size: 16px;
  opacity: 1;
}

.row-flex {
  display: flex;
  flex-wrap: wrap;
}
/* Taustaväri */
.bg {
  background: var(--theme-bg-light);
}
/* Margin & Padding */
.pt-0 {
  padding-top: 0px;
}
.pt-10 {
  padding-top: 10px;
}
.pt-20 {
  padding-top: 20px;
}
.pt-30 {
  padding-top: 30px;
}
.pt-40 {
  padding-top: 40px;
}
.pt-50 {
  padding-top: 50px;
}
.pt-60 {
  padding-top: 60px;
}
.pt-70 {
  padding-top: 70px;
}
.pt-80 {
  padding-top: 80px;
}
.pt-90 {
  padding-top: 90px;
}
.pt-100 {
  padding-top: 100px;
}
.pt-110 {
  padding-top: 110px;
}
.pt-120 {
  padding-top: 120px;
}
.pb-0 {
  padding-bottom: 0px;
}
.pb-10 {
  padding-bottom: 10px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pb-30 {
  padding-bottom: 30px;
}
.pb-40 {
  padding-bottom: 40px;
}
.pb-50 {
  padding-bottom: 50px;
}
.pb-60 {
  padding-bottom: 60px;
}
.pb-70 {
  padding-bottom: 70px;
}
.pb-80 {
  padding-bottom: 80px;
}
.pb-90 {
  padding-bottom: 90px;
}
.pb-100 {
  padding-bottom: 100px;
}
.pb-110 {
  padding-bottom: 110px;
}
.pb-120 {
  padding-bottom: 120px;
}
.py-80 {
  padding: 80px 0;
}
.py-90 {
  padding: 90px 0;
}
.py-100 {
  padding: 100px 0;
}
.py-110 {
  padding: 110px 0;
}
.py-120 {
  padding: 120px 0;
}
.mt-0 {
  margin-top: 0px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-50 {
  margin-top: 50px;
}
.mt-60 {
  margin-top: 60px;
}
.mt-70 {
  margin-top: 70px;
}
.mt-80 {
  margin-top: 80px;
}
.mt-90 {
  margin-top: 90px;
}
.mt-100 {
  margin-top: 100px;
}
.mt-110 {
  margin-top: 110px;
}
.mt-120 {
  margin-top: 120px;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-60 {
  margin-bottom: 60px;
}
.mb-70 {
  margin-bottom: 70px;
}
.mb-80 {
  margin-bottom: 80px;
}
.mb-90 {
  margin-bottom: 90px;
}
.mb-100 {
  margin-bottom: 100px;
}
.mb-110 {
  margin-bottom: 110px;
}
.mb-120 {
  margin-bottom: 120px;
}
.my-80 {
  margin: 80px 0;
}
.my-90 {
  margin: 90px 0;
}
.my-100 {
  margin: 100px 0;
}
.my-110 {
  margin: 110px 0;
}
.my-120 {
  margin: 120px 0;
}
/* Lataaja */
.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--theme-color);
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.loader-ripple div {
  position: absolute;
  border: 4px solid var(--color-white);
  opacity: 1;
  border-radius: 50%;
  animation: loader-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.loader-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes loader-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
/* Lomake */
.form-group {
  margin-bottom: 20px;
}
.form-group .form-label{
  color: var(--color-dark);
}
.form-group .form-control,
.form-group .form-select{
  padding: 14px 20px 14px 20px;
  border-radius: 15px;
  background-color: var(--color-white);
  color: var(--color-dark);
  border-color: var(--border-info-color);
}
.form-group .form-control::placeholder{
  color: var(--body-text-color);
}
.form-group .form-control:focus,
.form-group .form-select:focus{
  border-color: var(--theme-color);
  box-shadow: 0 0 0 .25rem rgba(0, 191, 255, .25)
}
.form-group .form-icon{
  position: relative;
}
.form-group .form-icon i{
  position: absolute;
  top: 19px;
  left: 20px;
  color: var(--theme-color);
  z-index: 1;
}
.form-group .form-icon .form-control,
.form-group .form-icon .form-select{
  padding-left: 50px;
}
.form-check{
  margin-bottom: 20px;
}
.form-check .form-check-input{
  border-radius: 6px;
  margin-top: 6.5px;
  border-color: var(--border-info-color);
}
.form-check .form-check-label{
  color: var(--color-dark);
}
.form-check .form-check-input:checked{
  background-color: var(--theme-color);
  border-color: var(--theme-color)
}
.form-check .form-check-input:focus{
  border-color: var(--theme-color);
  box-shadow: 0 0 0 .25rem rgba(0, 191, 255, .25)
}
/* Containers */
@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1200px;
  }
}
/* Otsikot */
.site-heading {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}
.site-title-tagline {
  display: inline-block;
  color: var(--color-white);
  font-weight: 500;
  font-size: 18px;
  background: #073692;
  border-radius: 50px;
  padding: 2px 15px 2px 15px;
  margin-bottom: 15px;
}
.site-title-tagline.light{
  background: var(--color-white);
}
.site-title-tagline i{
  font-size: 16px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: var(--color-white);
  color: var(--theme-color);
  text-align: center;
  border-radius: 50px;
  margin-right: 5px;
}
.site-title {
  font-weight: 700;
  font-size: 45px;
  color: var(--color-dark);
  margin-bottom: 0;
}
.site-heading h1.maintitle {
  font-weight: 700;
  font-size: 45px;
  color: var(--color-dark);
  margin-bottom: 0;
}
.site-title span{
  color: var(--theme-color);
}
.site-heading p {
  margin-top: 15px;
}
.heading-divider {
  display: inline-block;
  position: relative;
  border-bottom: 4px solid var(--theme-color);
  width: 90px;
  height: 4px;
  border-radius: 50px;
}
.heading-divider:after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 6px;
  width: 15px;
  border-radius: 0px;
  background-color: var(--color-white);
  -webkit-animation: heading-move 5s infinite linear;
  animation: heading-move 5s infinite linear;
}
@-webkit-keyframes heading-move {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(75px);
  }
  100% {
    transform: translateX(-1px);
  }
}
@keyframes heading-move {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(75px);
  }
  100% {
    transform: translateX(-1px);
  }
}
@media all and (max-width: 768px) {
  .site-title {
    font-weight: 700;
    font-size: 35px;
    color: var(--color-dark);
    margin-bottom: 0;
  }
  .site-heading h1.maintitle {
    font-weight: 700;
    font-size: 35px;
    color: var(--color-dark);
    margin-bottom: 0;
  }
}
/* Painikkeet */
.theme-btn,
.theme-btn2 {
  font-size: 16px;
  line-height: 20px;
  color: var(--color-white);
  padding: 10px 20px;
  transition: all 0.5s;
  position: relative;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  border: none;
  background: var(--theme-color2);
  box-shadow: var(--box-shadow);
  z-index: 1;
}
.theme-btn::before,
.theme-btn2::before {
  content: "";
  height: 300px;
  width: 300px;
  background: #073692;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) scale(0);
  transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}
.theme-btn:hover{
  color: var(--color-white);
}
.theme-btn:hover::before,
.theme-btn2:hover::before {
  transform: translateY(-50%) translateX(-50%) scale(1);
}
.theme-btn i,
.theme-btn2 i{
  margin-left: 8px;
  transform: rotate(-40deg);
  transition: var(--transition2);
}
.theme-btn:hover i,
.theme-btn2:hover i{
  transform: rotate(0deg);
}
.theme-btn span,
.theme-btn2 span {
  margin-right: 5px;
}
.theme-btn2{
  background: var(--theme-color2);
  color: var(--color-white);
}
.theme-btn2::before {
  background: var(--color-dark);
}
.theme-btn2:hover{
  color: var(--color-white);
}
/* Ylänavi */
.header-top {
  padding: 10px 0;
  background: var(--color-dark);
  position: relative;
}
.header-top::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: var(--theme-color);
  clip-path: polygon(8% 0%, 100% 0, 100% 100%, 0% 100%);
}
.header-top-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}
.header-top-list ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}
.header-top-list a {
  color: var(--color-white);
  font-weight: 500;
}
.header-top-list a:hover{
  color: var(--color-white);
}
.header-top-list a i{
  color: #073692;
  margin-right: 5px;
}
.header-top-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.header-top-right .header-top-list i{
  color: var(--color-white);
}
.header-top-social span{
  color: var(--color-white);
}
.header-top-social a {
  color: var(--color-white);
  font-size: 16px;
  text-align: center;
  margin-left: 14px;
  transition: var(--transition);
}
.header-top-social a:hover {
  color: var(--theme-color2);
}
@media all and (max-width: 1199px) {
  .header-top-list ul {
    gap: 10px;
  }
  .header-top-social a {
    width: 34px;
    height: 34px;
    line-height: 37px;
    margin-left: 0;
  }
  .header-top-left {
    margin-right: 5px;
  }
}
@media all and (max-width: 991px) {
  .header-top-list ul {
    gap: 0px;
  }
  .header-top-list ul li{
    margin-right: 10px;
  }
  .header-top-list ul li:last-child{

  }
  .header-top-social span{
    display: none;
  }
}
/* Valikko */
.navbar {
  background: white;
  padding-top: 0px;
  padding-bottom: 0px;
  z-index: 4;
}
.tmpl-etusivu .navbar {
  background: transparent;
}
.navbar.fixed-top {
  position: fixed;
  background: var(--color-white);
  box-shadow: var(--box-shadow2);
  animation: slide-down 0.7s;
}
@keyframes slide-down {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}
.navbar .navbar-brand .logo-display {
  display: block;
}
.navbar .navbar-brand .logo-scrolled {
  display: none;
}
.navbar.fixed-top .navbar-brand .logo-display {
  display: none;
}
.navbar.fixed-top .navbar-brand .logo-scrolled {
  display: block;
}
.navbar-brand {
  margin-right: 0;
}
.navbar-brand img {
  max-width: 170px;
  width: 100%;
  height: auto;
}
.navbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 5px;
  vertical-align: baseline;
  font-family: 'Font Awesome 6 Pro';
  content: '\e155';
  font-weight: 600;
  border: none;
  font-size: 14px;
}
.offcanvas-body li a.active {
  font-weight: 700!important;
}
li.mobile {
  display: none;
}
@media all and (min-width: 992px) {
  .navbar .nav-item .nav-link {
    margin-right: 22px;
    padding: 30px 0 30px 0;
    font-size: 16px;
    font-weight: 400;
    color: #073692;
  }
  .navbar.fixed-top .nav-item .nav-link{
    color: #073692;
  }
  .navbar .nav-item .nav-link.active,
  .navbar .nav-item:hover .nav-link {
    color: #073692;
    font-weight: 700!important;
  }
  .navbar .nav-item:last-child .nav-link {
    margin-right: 0;
  }
  .navbar .nav-item .dropdown-menu {
    display: block;
    padding: 10px;
    margin-top: 0;
    left: -15px;
    border-radius: 15px;
    border: none;
    background: var(--color-white);
    width: 220px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition2);
  }
  .navbar .nav-item .dropdown-menu .dropdown-item {
    font-size: 16px;
    padding: 6px 15px;
    font-weight: 400;
    color: #073692;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: var(--transition2);
    z-index: 1;
  }
  .navbar .nav-item .dropdown-menu a.active {
    font-weight: 700;
    color: var(--color-dark);
    background: var(--color-white);
  }
  .navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background: #fff;
    color: var(--color-dark);
    padding-left: 25px;
  }
  .navbar .nav-item .dropdown-menu .dropdown-item::before {
    content: "\f061";
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    left: -15px;
    top: 6px;
    color: var(--color-dark);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition2);
    z-index: -1;
  }
  .navbar .nav-item .dropdown-menu .dropdown-item:hover::before {
    left: 0;
    opacity: 1;
    visibility: visible;
  }
  .navbar .nav-item:hover .dropdown-menu {
    transition: .3s;
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
  }
  .navbar .dropdown-menu-end {
    right: 0;
    left: auto;
  }
  .navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }
  .navbar .dropdown-menu.fade-up {
    top: 140%;
  }
  .nav-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: 45px;
  }
  .nav-right-link {
    position: relative;
    font-size: 20px;
    color: var(--color-dark);
    border: none;
    padding-right: 0;
    background: transparent;
    transition: var(--transition);
  }
  .nav-right-link:hover {
    color: var(--theme-color);
  }
  .navbar.fixed-top .nav-right-link{
    color: var(--color-dark);
  }
  .navbar.fixed-top .nav-right-link:hover{
    color: var(--theme-color);
  }
  .nav-right .call-wrap{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
  }
  .nav-right .call-wrap .icon{
    width: 45px;
    height: 45px;
    line-height: 46px;
    border-radius: 50px;
    background: var(--theme-color);
    color: var(--color-white);
    text-align: center;
    font-size: 18px;
    margin-top: 5px;
  }
  .nav-right .call-wrap .content span{
   color: var(--theme-color);
   font-weight: 500;
  }
  .nav-right .call-wrap .content h6 a{
    color: var(--color-dark);
    font-weight: 800;
  }
  .nav-right .sidebar-btn span{
    display: block;
    width: 24px;
    border-bottom: 3px solid var(--color-dark);
    border-radius: 50px;
    margin-top: 6px;
    margin-left: auto;
    transition: var(--transition);
  }
  .nav-right .sidebar-btn span:first-child{
    width: 10px;
    margin-top: 0;
  }
  .nav-right .sidebar-btn span:nth-child(3){
    width: 15px;
  }
}
@media all and (max-width: 1199px) {
  .navbar .nav-item .nav-link {
    margin-right: 15px;
  }
  .nav-right {
    margin-left: 25px;
  }
  .nav-right .sidebar-btn,
  .nav-right .call-wrap{
    display: none;
  }
}
/* Mobiilimenu */
.navbar .mobile-menu-right {
  display: none;
}
@media all and (max-width: 991px) {
  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-brand img {
    width: 130px;
  }
  .navbar .offcanvas{
    width: 300px;
  }
  .navbar .offcanvas-header .btn-close{
    background: var(--color-dark);
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50px;
    color: var(--color-white);
    font-size: 18px;
    box-shadow: none;
    opacity: 1;
  }
  .navbar .offcanvas-brand{
    width: 150px;
  }
  .navbar .nav-item .nav-link {
    color:  #073692;
    font-weight: 400;
    margin-right: 0px;
    transition: var(--transition);
  }
  .navbar .nav-item .nav-link:hover {
    color: var(--theme-color);
  }
  .navbar .nav-item .dropdown-menu {
    border-radius: 15px;
  }
  .navbar .nav-item .dropdown-toggle::after {
    float: right;
    margin-top: 2.5px;
  }
  .navbar-toggler {
    padding: 0;
    border: none;
  }
  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }
  .navbar-toggler span{
    display: block;
    width: 22px;
    border-bottom: 3px solid var(--color-dark);
    border-radius: 50px;
    margin-top: 5px;
  }
  .navbar-toggler span:first-child{
    margin-top: 0;
  }
  .navbar-toggler span:nth-child(2){
    width: 15px;
  }
  .navbar .mobile-menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .navbar .mobile-menu-right .nav-right-link {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--color-dark);
  }
  .navbar .mobile-menu-right .nav-right-link:hover{
    color: var(--theme-color);
  }
  .nav-right {
    display: none;
  }
  li.mobile {
    border-top: 1px solid #eee;
    padding-top: 10px;
  }
  li.mobile {
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
  }
  li.mobile a {
    font-weight: 700;
    color:#073692;
  }
  li.mobile a i {
    margin-right: 10px;
  }
  li.dropdown i {
    display:none;
  }
}
/* Dropdown - 2 taso*/
.navbar .nav-item .dropdown-submenu {
  position: relative;
}
.navbar .nav-item .dropdown-submenu .dropdown-menu::before {
  display: none;
}
.navbar .nav-item .dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 15px;
  top: 8px;
  font-weight: 600;
}
.navbar .nav-item .dropdown-submenu a:hover {
  background: transparent;
  color: var(--color-white);
}
.navbar .nav-item .dropdown-submenu a:focus{
  background: transparent;
}
.navbar .nav-item .dropdown-submenu .dropdown-menu {
  top: 120%;
  left: 100%;
  opacity: 0;
  visibility: hidden;
}
.navbar .nav-item .dropdown-submenu:hover .dropdown-menu {
  top: 0;
  opacity: 1;
  visibility: visible;
}
@media all and (max-width: 991px) {
  .navbar .nav-item .dropdown-menu .dropdown-item{
    color: var(--color-dark)
  }
  .navbar .nav-item .dropdown-submenu .dropdown-menu {
    margin: 0 17px;
  }
  .navbar .nav-item .dropdown-submenu .dropdown-menu {
    opacity: unset;
    visibility: unset;
  }
  .navbar .nav-item .dropdown-submenu a::after {
    top: 3px;
  }
  .navbar .nav-item .dropdown-submenu a:hover {
    color: var(--theme-color);
  }
}
/* Main */
.main {
  margin-top: 0rem;
}
/* Karuselli */
.hero-single {
  padding-top: 120px;
  padding-bottom: 150px;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 700px;
  height: auto;
}
.hero-single::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -0.5px;
  /*background: linear-gradient(to bottom right, rgba(7, 54, 146, 1) 0%, rgba(7, 54, 146, 0) 100%);*/
  /*background: linear-gradient(to bottom right, rgba(0, 191, 255, 1) 0%, rgba(0, 191, 255, 0) 100%);*/
  z-index: -1;
}
.hero-single .hero-content {
  height: 100%;
}
.hero-single .hero-content .hero-sub-title {
  display: inline-block;
  color: var(--color-white);
  font-size: 24px;
  /*letter-spacing: 6px;*/
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
}
.hero-single .hero-content .hero-sub-title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 15px;
  background: var(--theme-color2);
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
  z-index: -1;
}
.hero-single .hero-content .hero-title, .hero-single .hero-content .hero-title h1 {
  color: var(--color-white);
  font-size: 40px;
  font-weight: 600;
  margin: 20px 0;
  text-shadow: 2px 2px #000;
}
.hero-single .hero-content .hero-title span{
  color: var(--theme-color);
}
.hero-single .hero-content p {
  color: var(--color-white);
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  margin-bottom: 20px;
}
.hero-single .hero-content .hero-btn {
  display: flex;
  justify-content: start;
  gap: 1rem;
  margin-top: 35px;
}
@media all and (max-width: 1199px) {
  .hero-single .hero-content .hero-title {
    font-size: 40px;
  }
}
@media all and (max-width: 991px) {
  .hero-single .hero-content .hero-title {
    font-size: 40px;
  }
}
@media all and (max-width: 767px) {
  .hero-single .hero-content .hero-sub-title {
    font-size: 18px;
  }
  .hero-single .hero-content .hero-btn {
    gap: 1rem;
  }
  .hero-single .hero-content .hero-title, .hero-single .hero-content .hero-title h1 {
    font-size: 30px;
  }
}
.hero-slider .owl-nav {
  margin-top: 0px;
}
.hero-slider .owl-nav button i{
  display: inline-block;
  height: 55px;
  width: 55px;
  line-height: 55px;
  color: var(--theme-color);
  font-size: 25px;
  text-align: center;
  background: var(--color-white);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.hero-slider .owl-nav button:hover i{
  background: var(--theme-color);
  color: var(--color-white);
}
.hero-slider .owl-nav .owl-prev {
  left: 40px;
}
.hero-slider .owl-nav .owl-next {
  right: 40px;
}
.hero-slider .owl-nav .owl-prev,
.hero-slider .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
.hero-slider .owl-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: none;
}
.hero-slider .owl-dots .owl-dot span {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: var(--color-white);
  border-radius: 0px;
  border: 3px solid var(--theme-color);
  margin: 5px;
  transition: var(--transition);
}
.hero-slider .owl-dots .owl-dot.active span {
  background-color: var(--theme-color);
}
@media all and (max-width: 1199px) {
  .hero-slider .owl-nav .owl-prev,
  .hero-slider .owl-nav .owl-next {
    top: unset;
    bottom: 45px;
  }
  .hero-slider .owl-nav .owl-prev {
    left: unset;
    right: 120px;
  }
  .hero-slider .owl-nav .owl-next {
    right: 40px;
  }
}
/* Murupolku */
.site-breadcrumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  z-index: 1;
}
/*.site-breadcrumb::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #3299fa;
  opacity: 0.85;
  z-index: -1;
}*/
.site-breadcrumb .breadcrumb-title {
  font-size: 26px;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 10px;
}
.site-breadcrumb .breadcrumb-menu {
  position: relative;
  z-index: 1;
}
.site-breadcrumb .breadcrumb-menu li {
  position: relative;
  display: inline-block;
  margin-left: 25px;
  color: var(--color-white);
  font-weight: 500;
}
.site-breadcrumb .breadcrumb-menu li a {
  color: var(--color-white);
  transition: all 0.5s ease-in-out;
}
.site-breadcrumb .breadcrumb-menu li::before {
  position: absolute;
  content: '\f101';
  font-family: 'Font Awesome 6 Pro';
  right: -21px;
  top: 1px;
  text-align: center;
  font-size: 16px;
  color: var(--color-white);
}
.site-breadcrumb .breadcrumb-menu li:first-child {
  margin-left: 0;
}
.site-breadcrumb .breadcrumb-menu li:last-child:before {
  display: none;
}
.site-breadcrumb .breadcrumb-menu li a:hover {
  color: var(--theme-color);
}
.site-breadcrumb .breadcrumb-menu li.active {
  color: var(--theme-color);
}
/* Sisältö */
.about-left{
  position: relative;
}
.about-img img{
  border-radius: 100px;
}
.about-img .img-2{
  margin-left: -20px;
  margin-top: 130px;
  border: 10px solid var(--color-white);
}
.about-img .img-3{
  margin-top: -20px;
  margin-left: -50px;
  border: 10px solid var(--color-white);
}
.about-right {
  position: relative;
  display: block;
}
.about-experience{
  background: var(--theme-color);
  position: absolute;
  right: 50px;
  bottom: 20px;
  padding: 14px 25px;
  border-radius: 100px;
  text-align: center;
  border: 10px solid var(--color-white);
}
.about-experience h5{
  color: var(--color-white);
  font-size: 30px;
}
.about-experience p{
  color: var(--color-white);
  font-weight: 600;
}
.about-btn {
  margin-top: 30px;
  margin-bottom: 10px;
}
.about-text{
  color: var(--body-text-color);
}
@media all and (max-width: 991px) {
  .about-right {
    margin-top: 80px;
  }
  .site-breadcrumb {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .site-breadcrumb .breadcrumb-title {
    font-size: 20px;
    margin-bottom: 0px;
  }
  .site-breadcrumb ul li a {
    font-size: 14px;
  }
}
@media all and (max-width: 767px) {
  .about-title {
    font-size: 30px;
  }
  .about-img .img-2{
    margin-top: 60px;
    margin-left: -10px;
  }
  .about-img .img-3{
    margin-left: -30px;
  }
  .about-experience{
    right: -7px;
    bottom: -60px;
  }
}
/* Nostot */
.feature-area{
  position: relative;
  z-index: 1;
}
.fa-negative{
  margin-top: -100px;
}
.feature-item{
  display: flex;
  gap: 14px;
  background: var(--color-dark);
  border-radius: 15px;
  padding: 20px;
  position: relative;
}
.feature-icon{
  position: relative;
}
.feature-icon::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--theme-color);
  border-radius: 50px;
}
.feature-icon img{
  width: 60px;
  filter: brightness(0) invert(1);
}
.feature-content{
  flex: 1;
}
.feature-content h4{
  color: var(--color-white);
}
.feature-content p{
  color: var(--color-white);
  margin-top: 10px;
  font-size: 14px;
}
/* feature-area 2 */
.feature-area.fta-2 .feature-item{
  background: var(--color-white);
  padding: 30px;
  box-shadow: var(--box-shadow);
}
.feature-area.fta-2 .feature-item::before{
  display: none;
}
.feature-area.fta-2 .feature-icon{
  width: 68px;
  height: 68px;
  line-height: 68px;
  text-align: center;
  background: var(--theme-color);
  border-radius: 50px 50px 50px 10px;
  box-shadow: -10px -10px 0 var(--theme-color-light);
}
.feature-area.fta-2 .feature-icon img{
  width: 45px;
}
.feature-area.fta-2 .feature-icon::before{
  display: none;
}
.feature-area.fta-2 .feature-content h4{
  color: var(--color-dark);
}
.feature-area.fta-2 .feature-content p{
  color: var(--body-text-color);
}
@media all and (max-width: 1199px) {
  .fa-negative{
    margin-top: -70px;
  }
}
/* Palvelut */
.sa-bg{
  position: relative;
  background: var(--color-dark);
  z-index: 1;
}
/*.sa-bg::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url(../img/shape/03.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: .1;
  z-index: -1;
}*/
.tmpl-palvelut .sa-bg{
  position: relative;
  background: #f2f2f2;
  z-index: 1;
}
.tmpl-palvelut .sa-bg h2{
  color: #3299fa!important;
}
.service-item {
  position: relative;
  padding: 20px;
  background: var(--color-white);
  border-radius: 30px;
  transition: var(--transition);
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-item .service-img img {
  border-radius: 40px 40px 10px 10px;
}
.service-icon{
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  border-radius: 50px 50px 50px 10px;
  background: var(--theme-color);
  margin-bottom: 30px;
  box-shadow: 10px 10px 0 var(--theme-color-light);
  transition: var(--transition);
}
.service-item:hover .service-icon{
  box-shadow: 0px 0px 0 var(--theme-color-light);
}
.service-icon img{
  width: 50px;
  filter: brightness(0) invert(1);
}
.service-content h4 a{
  color: var(--color-dark);
}
.service-content h4 a:hover{
  color: var(--theme-color);
}
.service-content p{
  color: var(--body-text-color);
  margin-top: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 20px;
}
.service-duration {
  margin-bottom: 10px;
}
/* Palvelunostot */
.service-area.sa-2 .container{
  padding-left: 20px;
  padding-right: 20px;
}
.service-area.sa-2 .service-item{
  background: transparent;
  transform: none;
}
.service-area.sa-2 .service-item::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80%;
  background: var(--color-white);
  border-radius: 40px 40px 40px 10px;
  z-index: -1;
}
.service-area.sa-2 .site-heading h1.maintitle{
  color:#fff!important;
}
.service-area.sa-2 .service-img img{
  border-radius: 50px;
}
.service-area.sa-2 .service-content{
  display: flex;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
}
.service-area.sa-2 .service-icon{
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-area.sa-2 .service-icon i{
  font-size: 40px;
  line-height: 40px;
  color: #fff;
}
.service-area.sa-2 .service-icon img{
  width: 50px !important;
}
.service-area.sa-2 .service-info{
  flex: 1;
}
.service-area.sa-2 .service-info a.theme-btn{
  margin-top:25px;
}
/* Palvelukaruselli */
.service-slider .owl-nav {
  margin-top: 0px;
}
.service-slider .owl-nav button{
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  transition: var(--transition);
}
.service-slider .owl-nav button i{
  display: inline-block;
  height: 48px;
  width: 48px;
  line-height: 48px;
  color: var(--color-white);
  font-size: 25px;
  text-align: center;
  background: var(--theme-color);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.service-slider .owl-nav button:hover i{
  background: var(--theme-color);
  color: var(--color-white);
}
.service-slider .owl-nav .owl-prev {
  left: 0px;
  opacity: 0;
}
.service-slider .owl-nav .owl-next {
  right: 0px;
  opacity: 0;
}
.service-slider:hover .owl-nav .owl-prev {
  left: -20px;
  opacity: 1;
}
.service-slider:hover .owl-nav .owl-next {
  right: -20px;
  opacity: 1;
}
@media all and (max-width: 1199px) {

}
/* Palvelu */
.service-sidebar .widget{
  background: var(--color-white);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}
.service-sidebar .widget .title{
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.service-sidebar .widget .title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 50px;
  background: var(--theme-color);
  border-radius: 50px;
}
.service-sidebar .category a{
  display: block;
  font-size: 16px;
  color: var(--color-dark);
  font-weight: 500;
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--border-info-color);
}
.service-sidebar .category a:hover{
  color: var(--theme-color);
  padding-left: 5px;
}
.service-sidebar .category a i{
  margin-right: 5px;
}
.service-sidebar .category a:last-child{
  padding: 0;
  margin: 0;
  border-bottom: none;
}
.service-sidebar .service-download a {
  display: block;
  color: var(--color-dark);
  font-weight: 500;
  border: 2px solid var(--theme-color);
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 50px;
  transition: var(--transition);
}
.service-sidebar .service-download a:last-child{
  margin-bottom: 0;
}
.service-sidebar .service-download a:hover{
  background: var(--theme-color);
  color: var(--color-white);
}
.service-sidebar .service-download a i {
  margin-right: 10px;
}
.service-details img{
  border-radius: 30px;
}
.service-details .content h3{
  color: var(--color-dark);
}
.service-details .content .list li{
  font-weight: 500;
  color: var(--color-dark);
  margin-top: 5px;
}
.service-details .content .list i {
  color: var(--theme-color);
  margin-right: 10px;
}
/* Pyydä tarjous */
.process-item {
  position: relative;
  background: var(--color-white);
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
}
.process-item .count{
  display: block;
  font-weight: 800;
  color: var(--color-white);
  font-size: 20px;
  height: 35px;
  width: 35px;
  line-height: 28px;
  text-align: center;
  background: var(--theme-color);;
  padding: 2px 6px;
  margin-top: -20px;
  margin-bottom: 10px;
  border-radius: 0 0 50px 50px;
}
.process-item .content h4{
  color: var(--color-dark);
  font-size: 18px;
}
.process-item .content p{
  color: var(--body-text-color);
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
}
/* CTA */
.cta-area{
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 120px;
  padding-bottom: 120px;
  z-index: 1;
}
.cta-area::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  /*background:rgba(0, 63, 114, .8);*/
  background:rgba(7, 54, 146, .45);
  z-index: -1;
}
.cta-content{
  text-align: center;
}
.cta-content h2{
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-content p{
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 30px;
}
.cta-content .theme-btn{
  background: var(--theme-color);
  color: var(--color-white);
}
/* Asiakaspalautteet */
.testimonial-area {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.ts-bg{
  /*background: var(--color-dark);*/
  background: white;
}
.testimonial-area .site-heading h2{
  font-size: 28px;
  color:#3299fa;
}
.testimonial-area .site-heading p{
  font-size: 16px;
  line-height: 22px;
  color:#757f95;
}
.testimonial-area .site-heading a.theme-btn{
  margin-top: 30px;
  margin-bottom: 15px;
}
.testimonial-item {
  margin-bottom: 20px;
}
.testimonial-quote {
  position: relative;
  background: #f2f2f2;
  padding: 30px;
  border-radius: 30px;
}
.testimonial-quote p{
  position: relative;
  color: var(--color-dark);
  font-size: 16px;
  line-height: 22px;
  font-style: italic;
  font-weight: 400;
  z-index: 1;
}
.testimonial-content {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 30px;
  margin-left: 20px;
}
.testimonial-author-info h4 {
  font-size: 20px;
  color: #3299fa;
}
.testimonial-author-info p {
  color: #3299fa;
  font-weight: 500;
}
.testimonial-quote-icon{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: var(--theme-color);
  color: var(--color-white);
  border-radius: 50px 50px 25px 50px;
  text-align: center;
  font-size: 35px;
}
.testimonial-shadow-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .15;
  display: none;
}
.testimonial-shadow-icon img{
  width: 200px !important;
  display: none;
}
/* Karuselli */
.testimonial-slider .owl-dots {
  text-align: center;
  margin-top: 10px;
}
.testimonial-slider .owl-dots .owl-dot span {
  background: var(--theme-color);
  margin: 5px;
  border-radius: 10px;
  width: 15px;
  height: 7px;
  display: inline-block;
  transition: var(--transition);
}
.testimonial-slider .owl-dots .owl-dot.active span {
  background-color: var(--theme-color);
  width: 8px;
  height: 8px;
}
/* Blogi */
.blog-area{
  position: relative;
}
.blog-item{
  padding: 20px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}
.blog-item-img{
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.blog-item-img img {
  border-radius: 12px;
}
.blog-item:hover .blog-item-img img{
  transform: scale(1.1);
}
.blog-date{
  position: absolute;
  right: -10px;
  top: 10px;
  background: var(--theme-color);
  color: var(--color-white);
  text-align: center;
  padding: 0px 15px;
  border-radius: 50px 0 0 50px;
  box-shadow: var(--box-shadow);
  border: 4px solid var(--color-white);
}
.blog-date strong{
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1;
}
.blog-date span{
  font-weight: 500;
}
.blog-item-info {
  padding: 15px 0 0 0;
}
.blog-item-meta ul {
  margin: 0;
  margin-bottom: 14px;
  padding: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-info-color);
}
.blog-item-meta ul li {
  display: inline-block;
  margin-right: 15px;
  font-weight: 500;
  position: relative;
  color: var(--color-dark);
}
.blog-item-meta ul li i {
  margin-right: 5px;
  color: var(--theme-color);
}
.blog-item-meta a{
  color: var(--color-dark);
}
.blog-item-meta a:hover {
  color: var(--theme-color);
}
.blog-title {
  font-size: 22px;
  margin-bottom: 15px;
}
.blog-item-info h4 a {
  color: var(--color-dark);
  font-weight: 600;
}
.blog-item-info h4 a:hover {
  color: var(--theme-color);
}
.blog-item-info p {
  margin-bottom: 16px;
}
.blog-item-info .theme-btn {
  margin-top: 10px;
}
/* Blogikirjoitus */
.blog-single{
  position: relative;
}
.blog-single .blog-thumb-img {
  margin-bottom: 20px;
}
.blog-single .blog-single-content img {
  border-radius: 15px;
}
.blog-single .blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.blog-single .blog-meta-left ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
.blog-single .blog-meta-left ul li{
  color: var(--color-dark);
  font-weight: 500;
}
.blog-single .blog-meta i {
  margin-right: 5px;
  color: var(--theme-color);
}
.blog-single .blog-meta a {
  color: var(--color-dark);
  font-weight: 500;
}
.blog-single .blog-meta a:hover {
  color: var(--theme-color);
}
.blog-single .blog-details-title, .blog-single .blog-details h1 {
  font-size: 34px;
  color:  var(--color-dark);
  font-weight: 700;
  margin-bottom: 5px;
}
.blog-single .blockqoute {
  background: var(--theme-color-light);
  border-left: 5px solid var(--theme-color);
  padding: 30px;
  font-size: 17px;
  font-style: italic;
  margin: 20px 0;
  border-radius: 0px;
  position: relative;
}
.blog-single .blockqoute .blockqoute-icon{
  position: absolute;
  right: 20px;
  bottom: 5px;
  color: var(--theme-color);
  font-size: 70px;
}
.blog-single .blockqoute-author {
  margin-top: 20px;
  padding-left: 60px;
  position: relative;
  color: var(--color-dark);
}
.blog-single .blockqoute-author::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 40px;
  background: var(--theme-color);
  left: 0;
  top: 10px;
}
.blog-single .blog-author {
  display: flex;
  justify-content: start;
  align-items: center;
  background: var(--theme-color-light);
  margin: 50px 0;
  padding: 20px;
  border-radius: 15px;
}
.blog-single .blog-author-img {
  width: 320px;
}
.blog-single .blog-author-img img {
  border-radius: 15px;
}
.blog-single .author-name {
  font-size: 22px;
  color: var(--theme-color);
  margin: 8px 0;
}
.blog-single .author-info {
  padding: 0 20px;
}
.blog-single .author-social {
  margin-top: 10px;
}
.blog-single .author-social a {
  width: 35px;
  height: 35px;
  line-height: 32px;
  text-align: center;
  border: 2px solid var(--theme-color);
  border-radius: 50px;
  margin-right: 5px;
  color: var(--theme-color);
  transition: var(--transition);
}
.blog-single .author-social a:hover {
  color: var(--color-white);
  background: var(--theme-color);
}
@media all and (max-width: 767px) {
  .blog-single .blog-meta {
    flex-direction: column;
    font-size: 15px;
  }
  .blog-single .blog-meta-left ul {
    gap: 10px;
  }
  .blog-single .blog-author {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  .blog-single .author-info{
    margin-top: 25px;
  }
}
/* Blogi - Sivupalkki */
.blog-sidebar .widget {
  background: var(--theme-color-light);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 15px;
}
.blog-sidebar .widget .widget-title {
  padding-bottom: 10px;
  margin-bottom: 30px;
  position: relative;
  font-size: 22px;
  color:  var(--color-dark);
  font-weight: 700;
}
.blog-sidebar .widget .widget-title::before {
  position: absolute;
  content: '';
  width: 15px;
  border-bottom: 3px solid var(--theme-color);
  bottom: 0;
  left: 0;
}
.blog-sidebar .widget .widget-title::after {
  position: absolute;
  content: '';
  width: 30px;
  border-bottom: 3px solid var(--theme-color);
  bottom: 0;
  left: 22px;
}
/* Kategoria widget */
.blog-sidebar .widget .category-list a {
  display: block;
  padding: 10px 0;
  font-weight: 400;
  color: var(--color-dark);
  border-bottom: 1px solid var(--border-info-color);
  transition: var(--transition);
}
.blog-sidebar .widget .category-list a:last-child {
  margin-bottom: 0px;
  border-bottom: none;
}
.blog-sidebar .widget .category-list a:hover {
  padding-left: 10px;
  color: var(--theme-color);
}
.blog-sidebar .widget .category-list a i {
  margin-right: 5px;
  color: var(--theme-color);
}
.blog-sidebar .widget .category-list a span {
  float: right;
}
.blog-sidebar .widget .category-list li.is-in-active-path a.active {
  font-weight: 700;
}
/* Toinen taso */
.blog-sidebar .widget .category-list li.is-in-active-path ul.submenu {
  padding: 10px;
  background: #b9d2db;
  border-radius:10px;
}
.blog-sidebar .widget .category-list li.is-in-active-path ul.submenu li {
  padding-left: 15px;
  padding-right: 15px;
}
.blog-sidebar .widget .category-list li.is-in-active-path ul.submenu li a {
  padding-top: 5px;
  padding-bottom: 5px;
}
/* Uusimmat julkaiset widget */
.blog-sidebar .widget .recent-post-item {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.blog-sidebar .widget .recent-post-img img {
  width: 75px;
  border-radius: 15px;
}
.blog-sidebar .widget .recent-post-info {
  flex: 1;
}
.blog-sidebar .widget .recent-post-info h6 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.blog-sidebar .widget .recent-post-info span {
  font-size: 14px;
  color: var(--theme-color);
  font-weight: 500;
}
.blog-sidebar .widget .recent-post-info span i {
  margin-right: 5px;
}
.blog-sidebar .widget .recent-post-info h6 a:hover {
  color: var(--theme-color);
}
/* SoMe widget */
.blog-sidebar .widget .social-link a {
  width: 35px;
  height: 35px;
  line-height: 32px;
  border: 2px solid var(--theme-color);
  color: var(--theme-color);
  text-align: center;
  margin-right: 5px;
  border-radius: 50px;
  transition: var(--transition);
}
.blog-sidebar .widget .social-link a:hover {
  background: var(--theme-color);
  color: var(--color-white);
}
@media screen and (max-width: 992px) {
  .blog-sidebar {
    margin-top: 40px;
  }
}
/* Sivunumerot */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
.pagination .page-link {
  border: none;
  background:  var(--theme-bg-light);
  color: var(--color-dark);
  font-weight: 500;
  margin: 0 10px;
  border-radius: 12px !important;
  width: 40px;
  height: 40px;
  line-height: 28px;
  text-align: center;
  transition: var(--transition);
  z-index: 1;
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--theme-color);
  color: var(--color-white);
}
/* Ota yhteyttä */
.contact-content {
  margin-bottom: 50px;
}
.contact-box {
  margin-bottom: 25px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 30px 20px;
  position: relative;
  margin-bottom: 25px;
  border-radius: 15px 50px 50px 50px;
  background:var(--theme-color-light);
  transition: var(--transition);
}
.contact-info h1 {
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-info:hover{
  transform: translateY(-8px)
}
.contact-info .icon{
  font-size: 35px;
  color: var(--color-white);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50px;
  background: var(--theme-color);
}
.contact-info .content h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color:  var(--color-dark);
}
.contact-info .content p{
  color:  var(--color-dark);
  font-weight: 500;
  font-size: 16px;
}
.contact-img img{
  width: 100%;
  border-radius: 40px;
}
@media all and (max-width: 991px) {
  .contact-img img{
    display: none;
  }
}
.contact-form{
  background: var(--theme-color-light);
  padding: 30px;
  border-radius: 40px;
}
.contact-form-header {
  margin-bottom: 30px;
}
.contact-form-header h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.contact-form-header p{
  color: var(--body-text-color);
}
.contact-form .form-message.success,
.contact-form .form-message.error{
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 10px 18px;
}
.contact-form .form-message.success{
  color: #41BE7D;
  background:rgba(65, 190, 125, .1);
}
.contact-form .form-message.error{
  color: #FF7F7F;
  background:rgba(255, 127, 127, .1);
}
.contact-form .form-message.error{
  color: var(--color-red);
}
.contact-map {
  margin-bottom: -9px;
}
.contact-map iframe {
  width: 100%;
  height: 450px;
}
/* Captcha */
.captcha {
	font-size:16px;
	padding-top:0.5em;
	padding-bottom:1em;
	margin-bottom:0em!important;
	width:100%;
}
.captcha-input {
  font-size:14px;
	padding:0em;
	padding-bottom:40px;
}
.captcha-input input{
	float:left;
	clear:right;
	margin-right:10px;
  text-align: center;
  padding: 0px!important;
}
.captcha-input img{
	float:left;
	clear:right;
	margin-right:0.5em;
	margin-top:0em;
}
/* Sivun alkuun */
#scroll-top {
  position: fixed;
  bottom: -20px;
  right: 30px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  border-radius: 50px;
  color: var(--color-white);
  background-color: #073692;
  cursor: pointer;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  box-shadow: var(--box-shadow2);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: rotate(-40deg);
  z-index: 1;
}
#scroll-top:hover{
  transform: rotate(0);
}
#scroll-top.active{
  opacity: 1;
  visibility: visible;
  bottom: 20px;
}
@media all and (min-width: 768px) and (max-width: 1199px) {
  #scroll-top.active {
    bottom: 100px;
  }
}
/* Footer */
.footer-area {
  background: var(--footer-bg);
  position: relative;
  z-index: 1;
}
.footer-shape img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: .1;
  z-index: -1;
}
.footer-widget {
  position: relative;
}
.footer-widget-box.about-us{
  margin-right: 50px;
}
.footer-widget-box p {
  color: var(--color-white);
  padding-right: 18px;
  margin-bottom: 20px;
}
.footer-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.footer-widget-title {
  color: var(--color-white);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 21px;
  z-index: 1;
}
.footer-widget-title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 3px;
  background: var(--theme-color);
  border-radius: 50px;
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: .70rem;
}
.footer-list li:empty {
  display: none;
}
.footer-list li a {
  color: var(--color-white);
  transition: var(--transition);
  position: relative;
  margin-left: -20px;
}
.footer-list li a.active {
  color: var(--color-white);
  font-weight: 700;
}
.footer-list li a i {
  margin-right: 5px;
  color: var(--theme-color);
  opacity: 0;
  transition: var(--transition);
}
.footer-list li a:hover {
  margin-left: 0px;
  color: var(--theme-color);
}
.footer-list li a:hover i{
  opacity: 1;
}
.footer-social {
  display: flex;
  gap: 15px;
  justify-content: end;
}
.footer-social li a i {
  height: 38px;
  width: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50px;
  background: var(--color-white);
  color: var(--theme-color);
  transition: var(--transition);
}
.footer-social li a i:hover {
  background: var(--theme-color);
  color: var(--color-white);
}
.footer-contact li {
  position: relative;
  display: flex;
  justify-content: start;
  gap: 10px;
  color: var(--footer-text-color);
  font-size: 16px;
  margin-bottom: 12px;
}
.footer-contact .icon{
  width: 35px;
  height: 35px;
  line-height: 35px;
  background: var(--theme-color);
  border-radius: 50px;
  text-align: center;
}
.footer-contact .content{
  flex: 1;
}
.footer-contact .content h4{
  color: var(--color-white);
  margin-bottom: 5px;
}
.footer-contact .content a{
  color: var(--color-white);
}
.footer-contact .content .richtext h4{
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 0px;
}
.copyright {
  padding: 20px 0;
  border-top: 1px solid #028cba;
}
.copyright .footer-menu {
  margin: 0;
  padding: 0;
  text-align: right;
}
.copyright .footer-menu li {
  display: inline-block;
  margin-left: 25px;
  font-size: 16px;
}
.copyright .footer-menu li a {
  color: var(--footer-text-color);
  transition: var(--transition);
}
.copyright .footer-menu li a:hover {
  color: var(--theme-color);
}
.copyright .copyright-text {
  color: var(--footer-text-color);
  margin-bottom: 0px;
  font-size: 16px;
}
.copyright .copyright-text a {
  color: var(--theme-color);
  font-weight: 500;
}
.copyright p {
  color: var(--footer-text-color);
  margin-bottom: 0px;
  font-size: 16px;
}
.copyright p a {
  color: #fff;
  font-weight: 600;
}
@media all and (max-width: 1199px) {
  .footer-widget-box {
    margin-bottom: 50px;
  }
  .footer-list li a{
    font-size: 14px;
  }
}
@media all and (max-width: 991px) {
  .footer-widget-wrap {
    padding-bottom: 0px;
  }
  .footer-list li a{
    font-size: 16px;
  }
  .copyright .footer-menu {
    float: left;
    margin-top: 20px;
    text-align: left;
  }
  .copyright .footer-menu li {
    margin-left: 0;
    margin-right: 15px;
  }
}
@media all and (max-width: 767px) {
  .footer-widget-wrap {
    padding-bottom: 0px;
  }
  .footer-social {
    justify-content: flex-start;
    margin-top: 20px;
  }
}
/* Home 2 */
.home-2 .header{
  position: relative;
  background: var(--color-dark);
}
.home-2 .header::before{
  content: "";
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
  width: 50%;
  background:  var(--color-dark);
}
.home-2 .header-top{
  background: transparent;
}
.home-2 .header-top::before{
  display: none;
}
.home-2 .navbar::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  height: 100%;
  background: var(--color-white);
}
.home-2 .hero-section{
  margin-top: -3rem;
}
.home-2 .hero-single{
  padding-top: 160px;
  padding-bottom: 120px;
}
.home-2 .hero-single .hero-content .hero-title span {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-white);
}
@media all and (max-width: 1199px) {
  .home-2 .navbar::before{
    width: 100%;
  }
  .home-2 .hero-slider .owl-nav .owl-prev,
  .home-2 .hero-slider .owl-nav .owl-next {
    bottom: 15px;
  }
}
@media all and (max-width: 767px) {

}
/* Sisältökuvat */
.module-kuvia {
	margin-top:1em;
	margin-bottom:1em;
	padding:0.5em;
  float: left;
  width: 100%;
}
.size-large {
	clear:both!important;
	width:100%;
	margin-top:1em;
	margin-bottom:1em;
	float:left;
}
.size-large img {
	width:100%;
	height:auto;
}
.size-small {
	clear:right!important;
	width:50%;
	float:left!important;
	margin-top:1em;
	margin-bottom:1em;
}
.size-small img {
	width:100%;
	height:auto;
}
.size-large .img-content, .size-small .img-content {
	margin:0.5em;
}
@media screen and (max-width: 576px) {
  .module-youtube, .size-large, .size-small {
  	width:100%;
  }
}
@media screen and (max-width: 992px) {
  .faq-image {
    margin-top: 40px;
  }
}
/* Logoja */
.module-logoja {
	margin-top:1em;
	margin-bottom:1em;
	padding:0.5em;
  float: left;
  width: 100%;
}
.module-logo-sivulla {
	margin-top:1em;
	margin-bottom:1em;
}
.module-logo-sivulla img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
