@font-face {
    font-family: headerFont;
    src: url(../fonts/GothamNarrow-bold.otf);
    src: url(../fonts/DIN_Bold.ttf);

}

@font-face {
    font-family: bodyFont;
    src: url(../fonts/Assistant-Regular.otf);
    src: url(../fonts/Assistant-Regular.ttf);

}

html {
  font-size: 62.5%
}
body {
  position: relative;
  font-family: bodyFont;
  font-size: 18px;
  font-size: 1.8rem;
}

.navbar-toggler {align-self: flex-end;}
.alert-success {position: fixed; top: 0; padding: 30px; width: 100%; z-index: 10000; text-align: center}

.intro {
  background: #1c18eb url(../images/bg_top.jpg) no-repeat 50% 50%;
  background-size: cover;
  min-height: 800px}

#services {margin-bottom: 125px}
#services .row:last-child {
  justify-content: center;
}

#services .col-4 {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#services .normal {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: headerFont;
  font-size: 2.2rem;
  justify-content: center;
  line-height: 1.2;
  min-height: 280px;
  padding: 35px;
  text-align: center;
  width: 280px;
}

#services .col-4:nth-child(1) .normal {
  background: #1c18eb;
}

#services .col-4:nth-child(2) .normal {
  background: #495563;
}

#services .col-4:nth-child(3) .normal {
  background: #7f8c99;
}

#references {
  min-height: 500px;
  background: #1c18eb url(../images/pekkola-kuva2.jpg) no-repeat 50% 50%;
  background-size: 100%;
  color: #FFF
}

/*#references h2 {margin-top: 30%}*/

.carousel {

  min-height: 200px;
}

.tuukkala-section {
  padding: 40px 0 20px;
}

#tuukkala {
  background: #efefef;
  padding: 25px 25px 35px;
  margin: 20px auto;
}

.tuukkala-banner {
  display: block;
  margin-bottom: 30px;
  width: 100%;
}

.tuukkala-content {
  align-items: flex-start;
}

.tuukkala-copy,
.tuukkala-calendar-wrap {
  margin-bottom: 30px;
}

.tuukkala-copy h3,
.tuukkala-calendar-wrap h3 {
  margin-bottom: 15px;
}

.tuukkala-lead {
  font-size: 2rem;
  line-height: 1.5;
}

.tuukkala-address {
  font-family: headerFont;
  margin-bottom: 20px;
}

.tuukkala-features {
  margin-bottom: 25px;
  padding-left: 20px;
}

.tuukkala-features li {
  margin-bottom: 10px;
}

.tuukkala-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.tuukkala-status {
  border-radius: 0;
  left: 0;
  margin: 0;
  padding: 30px;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.tuukkala-phone {
  background: #495563;
  color: #fff;
}

.tuukkala-phone:hover,
.tuukkala-phone:focus {
  color: #fff;
}

.tuukkala-image-link {
  display: inline-block;
}

.tuukkala-image {
  cursor: pointer;
  max-width: 420px;
  width: 100%;
}

.tuukkala-inquiry-link-wrap {
  margin-bottom: 10px;
}

.tuukkala-inquiry-link {
  color: #1c18eb;
  font-family: headerFont;
  font-size: 2rem;
}

.tuukkala-inquiry-link:hover,
.tuukkala-inquiry-link:focus {
  color: #fff;
  text-decoration: none;
}

.tuukkala-calendar-intro {
  margin-bottom: 20px;
}

.tuukkala-calendar iframe {
  max-width: 100%;
  width: 100%;
}

.tuukkala-form-intro {
  margin-bottom: 20px;
}

.tuukkala-form-status {
  margin-bottom: 20px;
}

.tuukkala-date-summary {
  color: #495563;
  font-family: headerFont;
  margin-bottom: 20px;
}

.tuukkala-field-error {
  color: #c62828;
  font-size: 1.4rem;
  margin-top: 8px;
}

.tuukkala-form .form-control.is-invalid {
  border: 1px solid #c62828;
}

.tuukkala-form .form-group {
  margin-bottom: 15px;
}

.tuukkala-form .modal-body {
  padding-top: 0;
}

#tuukkalaInquiryModal .modal-title {
  font-size: 4rem;
  margin: 0;
}

#tuukkalaInquiryModal .modal-title:after {
  content: none;
}

.tuukkala-close-button {
  background: #6c757d;
  color: #fff;
  margin-right: auto;
}

.tuukkala-close-button:hover,
.tuukkala-close-button:focus {
  background: #5a6268;
  color: #fff;
}

.tuukkala-honeypot {
  left: -9999px;
  position: absolute;
}

#contactinfo {
  min-height: 500px;
  background: url(../images/pekkola-kuva3.jpg) no-repeat 50% 0;
  background-size: 100%;
  color: #FFF;
}
#contactinfo a:link {color: #FFF;}



h1 {
  padding-top: 250px;
  font-family: headerFont;
  text-align: center;
  color: #FFF;
  font-size: 50px;
  font-size: 5rem;
}
h1 span {
  color: #dbfb37;
}


h2 {

  clear: both;
  text-align: center;
  font-family: headerFont;
  font-size: 40px;
  font-size: 4rem;
  margin: 100px auto;
}

h2:after {
    content: "";
    position: absolute;
    width: 33%;
    height: 1px;
    bottom: 75px;
    left: 33%;
    border-bottom: 4px solid #495563;

}

#references h2:after,
#contactinfo h2:after {
  border-color: #dbfb37;
}


h3 {
  font-family: headerFont;
  font-size: 2rem;
  margin-bottom: 20px
}

p {line-height: 2rem; margin-bottom: 1rem}

form {margin-bottom: 50px}
.form-group {background: #f1f2f3; padding: 5px;}
.form-control {background: #f1f2f3; border: none; font-size: 1.8rem}
.btn {font-size: 2rem; background: #1c18eb; color: #fff; border: none; border-radius: 5px; padding: 15px}
.btn:hover,
.btn:focus {background: #5a6cff; color: #fff}
.modal-footer .tuukkala-close-button {background: #6c757d; color: #fff; margin-right: auto}
.modal-footer .tuukkala-close-button:hover,
.modal-footer .tuukkala-close-button:focus {background: #5a6268; color: #fff}

.bg-faded {background: #FFF;}
.bg-faded img {height: 50px}

.nav-item {margin-right: 10px}

.lang-selection li {list-style: none; float: right; margin-left: 10px}
.lang.active {font-weight: bold; text-decoration: none}
.lang:hover {font-weight: bold; text-decoration: none}

@media (max-width: 960px) {
  .intro {min-height: 300px}
  h1 {
    padding-top: 100px;
    font-size: 36px;
    font-size: 3.6rem;

  }
  h1 span {display: block}
  h2 {
    font-size: 30px;
    font-size: 3rem;
  }
  .tuukkala-section {
    padding-top: 20px;
  }
  #tuukkala {
    padding: 20px;
  }
  .tuukkala-lead {
    font-size: 1.8rem;
  }
  .tuukkala-actions {
    flex-direction: column;
  }
  .tuukkala-inquiry-link {
    font-size: 1.8rem;
  }
  #services .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  #services .normal {
    font-size: 1.8rem;
    min-height: 220px;
    padding: 30px;
    width: 220px;
  }
  #references {min-height: 200px}
  #references h2 {margin-top: 30px;}
  #contactinfo {min-height: 600px;
    background-size: cover;
  }
  #contactinfo h3 {margin: 15px auto 10px auto}
}
