.contact-page .hero.default.contact {
  height: 420px;
  margin-bottom: 40px;
  margin-top: 0px;
}
.contact-page .hero.default.contact .hero-inner {
  height: -webkit-fill-available;
}
.contact-page .sub-titel {
  font-weight: 600;
  font-size: 20px;
}
.contact-page .container {
  max-width: 1640px;
  margin: 0 auto;
}
@media (max-width: 1240px) {
  .contact-page .inner-row {
    width: calc(100% - 48px);
  }
}

.contact-section {
  padding-bottom: 64px;
  padding-top: 40px;
}
.contact-section .side-nav {
  width: 300px;
  margin-right: 40px;
}
@media (max-width: 1240px) {
  .contact-section .side-nav {
    width: 200px;
  }
}
.contact-section .side-nav h2 {
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #171624;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.8em;
  transition: all 0.4s ease;
}
.contact-section .side-nav h2:hover {
  color: #00BB72;
  transition: all 0.4s ease;
}
.contact-section .side-nav h2.active {
  font-weight: 600;
}
.contact-section .content-area {
  flex-basis: calc(100% - 390px);
}
@media (max-width: 1240px) {
  .contact-section .content-area {
    flex-basis: calc(100% - 260px);
  }
}
.contact-section .content-area .contacts-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-end;
}
.contact-section .content-area .contacts-content .contact-items .general {
  color: #171624;
}
.contact-section .content-area .contacts-content .contact-items .mail {
  margin-top: 24px;
}
.contact-section .content-area .contacts-content .contact-items .asukoht {
  margin-top: 24px;
}
@media (max-width: 520px) {
  .contact-section .content-area .contacts-content {
    flex-wrap: wrap;
  }
  .contact-section .content-area .contacts-content .contact-items {
    flex-basis: 100%;
  }
  .contact-section .content-area .contacts-content .social-items {
    flex-basis: 100%;
  }
}
.contact-section .content-area .social-items {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.contact-section .content-area .social-items img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: center;
  object-fit: contain;
  object-position: center;
}
.contact-section .content-area .team-content .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.contact-section .content-area .team-content .flex .team-member {
  max-width: 300px;
  flex-basis: calc(33.33% - 32px);
}
@media (max-width: 768px) {
  .contact-section .content-area .team-content .flex .team-member {
    flex-basis: calc(50% - 16px);
  }
}
@media (max-width: 480px) {
  .contact-section .content-area .team-content .flex .team-member {
    flex-basis: 100%;
  }
}
.contact-section .content-area .team-content .flex .team-member h3 {
  font-size: 16px;
  color: #171624;
  font-weight: 600;
  margin-bottom: 0;
}
.contact-section .content-area .team-content .flex .team-member p, .contact-section .content-area .team-content .flex .team-member a {
  font-size: 16px;
  font-weight: 400;
  color: #171624;
  transition: all 0.4s ease;
}
.contact-section .content-area .team-content .flex .team-member .team-position {
  margin-bottom: 24px;
}
.contact-section .content-area .team-content .flex .team-member a:hover {
  color: #00BB72;
  transition: all 0.4s ease;
}
.contact-section .inner-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
@media (max-width: 768px) {
  .contact-section .inner-row {
    flex-wrap: wrap;
  }
  .contact-section .inner-row .side-nav {
    width: 100%;
  }
  .contact-section .inner-row .content-area {
    flex-basis: 100%;
  }
}

.address .col {
  color: #171624;
}
.address .col a {
  font-weight: 500;
  transition: all 0.4s ease;
}
.address .col a:hover {
  color: #004127;
  transition: all 0.4s ease;
}
.address .mail a,
.address .tel a {
  text-decoration: none;
}

.socials {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.socials img {
  height: 32px;
  margin: 0 8px;
}

h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.asukoht a {
  color: #009241;
}