/*
 Theme Name:     Tovari Divi Child
 Theme URI:      https://www.tovari.fi
 Description:    Tovari Divi Child Theme
 Author:         Tovari
 Author URI:     https://www.tovari.fi
 Template:       Divi
 Version:        1.0.0
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");
.vertical-align-flex {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p, .et_pb_text_inner {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.7;
}
@media (max-width: 767px) {
  p, .et_pb_text_inner {
    font-size: 1.1rem;
  }
}

h1 {
  font-size: 3.7vw;
}
@media (min-width: 1921px) {
  h1 {
    font-size: 3vw;
  }
}
@media (max-width: 980px) {
  h1 {
    font-size: 6.7vw;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 8.7vw;
  }
}

h2 {
  font-size: 2.2vw !important;
}
@media (min-width: 1921px) {
  h2 {
    font-size: 1.6vw !important;
  }
}
@media (max-width: 980px) {
  h2 {
    font-size: 4.2vw !important;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 6.2vw !important;
  }
}

h5 {
  font-size: 1.5rem !important;
  color: #279a34;
  margin-top: 15px;
}

.et_pb_button {
  background-color: #279a34;
  border-color: #279a34;
  color: #f2f0eb;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 50px;
}
.et_pb_button:hover {
  background-color: #f2f0eb !important;
  border-color: #f2f0eb !important;
  color: #333333 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
@media (max-width: 767px) {
  .et_pb_button {
    font-size: 16px;
  }
}

#main-header {
  box-shadow: none;
  background-color: #f2f0eb;
}
#main-header .container {
  max-width: 1400px;
}
#main-header .container #et-top-navigation {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (max-width: 980px) {
  #main-header .container #et-top-navigation {
    padding-top: 0;
    padding-bottom: 0;
  }
}
#main-header .container #et-top-navigation #top-menu-nav #top-menu li {
  font-family: "Source Sans 3", sans-serif;
  color: #333333;
  font-size: 20px;
  font-weight: 400;
}
#main-header .container #et-top-navigation #top-menu-nav #top-menu li a {
  position: relative;
  padding-bottom: 0;
}
#main-header .container #et-top-navigation #top-menu-nav #top-menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #279a34;
  transition: width 0.3s ease-in-out;
}
#main-header .container #et-top-navigation #top-menu-nav #top-menu li a:hover {
  opacity: 1;
  color: #279a34;
}
#main-header .container #et-top-navigation #top-menu-nav #top-menu li a:hover::after {
  width: 100%;
}

.hero--section {
  padding-top: 8vw !important;
  padding-bottom: 8vw !important;
}
.hero--section .hero--row.width--600 {
  max-width: 600px;
}
.hero--section .hero--row .hero--logo img {
  max-width: 500px;
}
.hero--section .hero--row h1, .hero--section .hero--row h2, .hero--section .hero--row h3, .hero--section .hero--row p, .hero--section .hero--row .et_pb_text_inner {
  text-align: center;
  color: #fff;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.hero--section .hero--row h2 {
  font-size: 2rem;
  margin-top: 20px;
}
.hero--section .hero--row .nei--logo img {
  max-width: 200px;
}
.hero--section .hero--row .et_pb_button {
  margin-top: 20px;
}
@media (max-width: 1400px) {
  .hero--section .hero--row {
    max-width: 800px;
  }
}
@media (max-width: 980px) {
  .hero--section .hero--row .company--logo {
    text-align: center;
  }
  .hero--section .hero--row .company--logo img {
    max-width: 300px;
  }
}

.content--section .content--row.width--1400 {
  max-width: 1400px;
}
.content--section .content--row.width--800 {
  max-width: 800px;
}
.content--section .content--row .col--with--bg--padding {
  padding: 60px;
  border-radius: 30px;
}
@media (max-width: 980px) {
  .content--section .content--row .col--with--bg--padding {
    padding: 30px;
  }
}
@media (max-width: 767px) {
  .content--section .content--row .col--with--bg--padding {
    padding: 20px;
  }
}
.content--section.logo--section {
  max-width: 800px;
  margin: auto;
  margin-top: -100px;
  margin-bottom: 25px;
  border-radius: 40px;
  box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 980px) {
  .footer--section .footer--row .footer--logo {
    text-align: center;
  }
}
.footer--section .footer--row .footer--logo img {
  max-width: 280px;
}
.footer--section .footer--row a {
  color: #279a34;
  font-weight: 700;
  text-decoration: underline;
}
.footer--section .footer--row a:hover {
  color: #333333;
}
@media (max-width: 980px) {
  .footer--section .footer--row .et_pb_text {
    text-align: center;
  }
}
.footer--section .footer--row .et_pb_contact .et_pb_contact_form .et_pb_contact_field input, .footer--section .footer--row .et_pb_contact .et_pb_contact_form .et_pb_contact_field textarea {
  background-color: #fff !important;
  border-radius: 50px;
}
.footer--section .footer--row .et_pb_contact .et_pb_contact_form .et_pb_contact_field textarea {
  border-radius: 20px;
}
.footer--section .footer--row .et_pb_contact .et_pb_contact_form .et_pb_contact_right p input {
  background-color: #fff !important;
  border-radius: 50px;
}

.bg--quartiary {
  background-color: #f2f0eb;
}
.bg--quartiary .et_pb_button {
  margin-top: 0;
}
.bg--quartiary .et_pb_button:hover {
  background-color: #333333 !important;
  border-color: #333333 !important;
  color: #f2f0eb !important;
}

.text--center {
  text-align: center !important;
}

.mb--0 {
  margin-bottom: 0 !important;
}

.pt--0 {
  padding-top: 0 !important;
}

.pb--0 {
  padding-bottom: 0 !important;
}

#page-container {
  padding-top: 0 !important;
}

@media all and (max-width: 980px) {
  .custom_row {
    display: flex;
    flex-wrap: wrap;
  }
  .first-on-mobile {
    order: 1;
  }
  .second-on-mobile {
    order: 2;
  }
  .third-on-mobile {
    order: 3;
  }
  .fourth-on-mobile {
    order: 4;
  }
  .custom_row:last-child .et_pb_column:last-child {
    margin-bottom: 30px;
  }
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: "M";
}

#et_mobile_nav_menu .mobile_menu_bar_toggle {
  padding-top: 24px;
}
#et_mobile_nav_menu .mobile_menu_bar_toggle:before {
  color: #279a34;
  font-size: 42px;
}

.et_mobile_menu {
  border-top: 0;
  min-width: 100vw;
  margin-left: -10vw;
  min-height: 100vh !important;
  min-height: -webkit-fill-available;
  padding-top: 50px !important;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  display: block !important;
  opacity: 0;
  pointer-events: none;
  min-width: 100vw;
  margin-left: -10vw;
  transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
  min-height: 100vh !important;
  min-height: -webkit-fill-available;
  padding-top: 50px !important;
  background-color: #f2f0eb;
}
.et_mobile_menu li {
  text-align: center !important;
}
.et_mobile_menu li li,
.et_mobile_menu li ul {
  padding-left: 0 !important;
}

html {
  height: -webkit-fill-available;
}

.mobile_nav.opened .et_mobile_menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile_nav #mobile_menu .menu-item {
  margin-bottom: 5px;
}
.mobile_nav #mobile_menu .menu-item a {
  padding: 15px 5%;
  background-color: #fff;
  font-size: 18px;
  font-weight: 400;
  color: #333333;
}/*# sourceMappingURL=style.css.map */