:root {
  --dim-gray: #745785;
  --crimson: #f02e4e;
}

body {
  color: #333;
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

h1 {
  margin: 0 0 10px;
  font-family: PT Sans, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 44px;
  display: block;
}

h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Lato, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
}

h3 {
  color: #745785;
  margin: 10px 0 23px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

h4 {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

h5 {
  margin: 10px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

h6 {
  margin: 10px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
  font-family: Merriweather, serif;
  font-size: 15px;
  line-height: 23px;
  display: block;
}

.button {
  color: #fff;
  text-align: center;
  background-color: #489fd9;
  border-radius: 5px;
  padding: 18px 21px;
  font-size: 20px;
  text-decoration: none;
  transition: background-color .3s;
  display: inline-block;
  box-shadow: inset 0 1px #ffffff4d, 0 2px 11px #00000047;
}

.button:hover {
  background-color: #8e5ebf;
}

.button.app-button {
  padding: 8px 17px;
}

.section {
  border-bottom: 1px solid #00000017;
  padding-top: 65px;
  padding-bottom: 65px;
}

.section.hero {
  background-image: radial-gradient(circle, #ffffff4d, #cfcfcf78), url('../images/banner_XL.png');
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  min-height: 250px;
  padding-bottom: 0;
}

.section.white.subfooter {
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
}

.section.grey {
  padding-left: 10px;
  padding-right: 10px;
}

.section.grey.footer {
  text-align: center;
  background-color: #e2e2e2;
  padding-top: 49px;
  padding-bottom: 49px;
}

.section.purple {
  background-color: #745785;
  padding-top: 50px;
  padding-bottom: 50px;
}

.section.tiileri {
  background-color: #e9e9e9;
}

.hero-iphone {
  text-shadow: 0 0 #000;
  margin-bottom: -73px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.app-name {
  color: #5c5c5c;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 0;
  font-family: Montserrat, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 20px;
  display: inline-block;
}

.nav-link {
  color: #5c5c5c;
  text-transform: uppercase;
  border-bottom: 2px solid #0000;
  margin-left: 12px;
  margin-right: 12px;
  padding-top: 5px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: border .3s;
  display: inline-block;
}

.nav-link:hover {
  border-bottom-color: #f02e4e;
}

.nav-column {
  text-align: right;
}

.hero-header {
  color: #fff;
  text-shadow: 0 2px #00000038;
  margin-top: 130px;
  margin-bottom: 19px;
  font-family: Montserrat, sans-serif;
  font-size: 42px;
}

.hero-subtitle {
  color: #ffffffd4;
  text-shadow: 0 2px #00000036;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 22px;
}

.icon-title {
  color: #c1adcc;
  margin-top: 22px;
  margin-bottom: 12px;
  font-family: Bitter, serif;
  font-size: 17px;
  font-weight: 400;
}

.price-text {
  box-shadow: none;
  color: #fff;
  text-shadow: none;
  background-image: none;
  margin-top: 11px;
  font-size: 25px;
  font-weight: 400;
  line-height: 28px;
}

.logo-in-footer {
  text-shadow: 0 0 #000;
  margin-top: 22px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.left-column {
  border-left: 1px solid #00000017;
  padding-top: 35px;
  padding-bottom: 35px;
}

.subfooter-right {
  border-left: 1px solid #00000017;
  border-right: 1px solid #00000017;
  padding-top: 35px;
  padding-bottom: 35px;
}

.social-button {
  background-color: #4d77ff;
  border-radius: 60px;
  width: 36px;
  height: 36px;
  margin-left: 5px;
  margin-right: 5px;
  padding-top: 7px;
  transition: background-color .3s;
}

.social-button:hover {
  background-color: #f02e4e;
}

.blog-link {
  color: #fa875b;
  font-family: Bitter, serif;
  font-size: 18px;
  font-style: italic;
  text-decoration: none;
  transition: all .2s;
}

.blog-link:hover {
  color: #ff5917;
}

.footer-link {
  color: #837d99;
  border-bottom: 1px solid #837d9957;
  margin-left: 8px;
  font-family: Bitter, serif;
  text-decoration: none;
  transition: all .2s;
}

.footer-link:hover {
  border-bottom: 1px solid #837d99db;
}

.footer-text {
  color: #525252;
  display: inline;
}

.center {
  text-align: center;
}

.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
}

.social-widget {
  margin-top: 17px;
  margin-right: 14px;
  display: inline-block;
}

.text-link {
  color: #745785;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.button-block {
  margin-top: 17px;
}

.logo {
  float: left;
  margin-right: 12px;
}

.centering {
  text-align: center;
}

.agent_part {
  margin-bottom: 5px;
}

.agent_part.name {
  font-size: 28px;
  line-height: 36px;
}

.agent_part.name.juhani {
  font-size: 24px;
}

.agent_part.edu {
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 24px;
}

.agent_part.edu.blank {
  color: #0000;
}

.agent_part.image {
  margin-bottom: 10px;
}

.agent_part.image.scaleup {
  width: 200px;
}

.contact_link {
  color: #4563fd;
  text-decoration: none;
}

.agent_container {
  text-align: center;
  background-image: radial-gradient(circle, #fff, #e2e2e2);
  min-width: 200px;
  margin: 10px 5px;
  padding: 10px;
  display: inline-block;
  box-shadow: 1px 1px 3px #919191;
}

.agents {
  margin-top: 30px;
}

.contact_button {
  margin-top: 40px;
  padding: 15px 30px;
  font-size: 20px;
}

.contact_button:hover {
  background-color: #1280e0;
}

.wide_container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.contact_top {
  background-color: #e9e9e9;
  border-top: 1px solid #6f6f6f;
  border-bottom: 1px solid #6f6f6f;
  padding-top: 10px;
  padding-bottom: 10px;
}

.contact_contents {
  max-width: 700px;
  display: inline-block;
}

.bigarea {
  min-height: 150px;
}

.contact_form {
  margin-top: 30px;
}

.middle_agent {
  text-align: center;
}

.tiileri_description {
  text-align: left;
}

.slide_image {
  max-height: 100%;
}

.text-main {
  text-align: left;
  margin-top: 40px;
  padding-left: 80px;
  padding-right: 80px;
}

.text-para {
  margin-bottom: 25px;
}

@media screen and (max-width: 991px) {
  p {
    font-size: 14px;
    line-height: 21px;
  }

  .section.hero {
    padding-top: 34px;
    padding-bottom: 1px;
  }

  .hero-iphone {
    text-shadow: 0 0 #000;
  }

  .hero-header {
    text-shadow: 0 2px #0003;
    font-size: 38px;
  }

  .hero-subtitle {
    text-shadow: 0 2px #0003;
  }

  .agent_container {
    min-width: 250px;
  }

  .wide_container {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    margin-top: 0;
  }

  .section {
    text-align: center;
    padding-top: 33px;
    padding-bottom: 33px;
  }

  .section.hero {
    text-align: center;
    padding-bottom: 52px;
    padding-left: 38px;
    padding-right: 38px;
  }

  .hero-iphone {
    text-shadow: 0 0 #000;
    margin-bottom: 1px;
  }

  .app-name {
    margin-bottom: 0;
    display: inline-block;
  }

  .nav-column {
    text-align: center;
    padding-top: 22px;
  }

  .hero-header {
    text-shadow: 0 2px #0003;
    margin-top: 30px;
  }

  .price-text {
    box-shadow: none;
    text-shadow: none;
    margin-bottom: 31px;
  }

  .subfooter-right {
    border-top: 1px solid #00000017;
  }

  .center {
    padding-top: 23px;
    padding-bottom: 23px;
  }

  .navbar {
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .social-widget {
    margin-left: 11px;
    margin-right: 11px;
  }

  .logo {
    float: none;
    margin-top: -6px;
    display: inline-block;
  }

  .left_agent, .right_agent {
    text-align: center;
  }

  .tiileri_content {
    margin-top: 20px;
  }

  .tiileri_slideshow {
    padding-top: 20px;
  }
}

@media screen and (max-width: 479px) {
  h3 {
    font-size: 18px;
    line-height: 23px;
  }

  .section {
    text-align: center;
  }

  .section.white {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-iphone {
    text-shadow: 0 0 #000;
  }

  .hero-header {
    text-shadow: 0 2px #0003;
    font-size: 32px;
  }

  .price-text {
    font-size: 23px;
  }

  .left_agent, .right_agent {
    text-align: center;
  }
}


