body {
  margin: 0;
  font-weight: 300;
}

h1, h2, h3 {
  font-weight: normal;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#logo, #navigation {
  display: inline-block;
}

#map-container img {
  height: 100px;
}

#map-container iframe {
  max-width: 100%;
}

#contact-form {
  margin: 100px auto 0 auto;
}

.section .section-content > h2 {
  margin-top: 0;
}

img.illustration {
  max-width: 300px;
}

/* log in */
#login-form {
  max-width: 500px;
}

#login-form #login-logo {
  height: 3em;
}

/* header and navigation dropdown */
#header {
  position: relative;
  height: 90px;
  z-index: 999;
  border-radius: 0;
}

#header #header-left {
  position: absolute;
  top: calc( var(--whiteSpace) *2);
  left: calc( var(--whiteSpace) *2);
}

#header a {
  color: inherit;
  text-decoration: none;
}

#header #logo {
  margin: 0;
  font-size: 1rem;
}

#header #logo img {
  height: 3em;
  display: inline-block;
  vertical-align: middle;
  margin: -1.4em 0 -1.1em 0;
}

#header #logged-in-user {
  position: absolute;
  top: calc( var(--whiteSpace) *1);
  right: calc( var(--whiteSpace) *2);
}

#footer-logo img {
  height: 3em;
}

#navigation {
  margin-left: 2em;
  margin-top: -1.5em;
  position: relative;
}

#navigation > li {
  display: inline-block;
  line-height: 3em;
  padding: 0 1em;
}

#navigation > li > a {
  display: block;
  padding: 0 1em;
  margin: 0 -1em;
}

#navigation li ul {
  position: absolute;
  min-width: 10em;
  top: 100%;
  left: 0;
  background: var(--background-color);
  padding: 1em;
  line-height: 1;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: all .15s ease-out;
}

#navigation li ul li {
  padding: .5em;
}

#navigation li ul li a {
  text-decoration: none;
  display: block;
  padding: 1em 1.5em;
  margin: -.5em -1.5em;
  transition: all .15s ease-out;
}

#navigation li ul li a .icon {
  margin-right: .5em;
}

#navigation li ul li a:hover {
  background-color: RGBA(var(--text-color-rgb), 0.15);
}

#navigation > li:hover, #navigation li.on {
  background-color: RGBA(var(--text-color-rgb), 0.15);
}

#navigation > li:hover ul, #navigation li.on ul {
  max-height: 400px;
  visibility: visible;
}

/* logos */
#trusted-by {
  text-align: center;
}

#trusted-by li {
  display: inline-block;
  padding: 2em;
  /*&:hover img {
      opacity: 1;
      filter: grayscale(0);
    }*/
}

#trusted-by li img {
  opacity: .67;
  filter: grayscale(1);
  max-height: 3em;
  transition: all .15s ease-out;
}

/* loans */
#loans a.loan {
  display: block;
  padding: 2em 1em;
  border-width: 0;
  text-decoration: none;
  transition: all .15s ease-out;
  box-shadow: 0 0 0 transparent;
}

#loans a.loan img {
  max-width: 80%;
}

#loans a.loan:hover {
  transform: scale(1.05);
  z-index: 999;
  box-shadow: 0 5px 40px RGBA(var(--text-color-rgb), 0.2);
}

/* testimonials */
#testimonials ul li {
  position: relative;
  padding-left: 7em;
  padding-top: 2em;
  padding-bottom: 1em;
  box-sizing: border-box;
}

#testimonials ul li .avatar {
  position: absolute;
  top: 3em;
  left: 2em;
}

/* slick slider theme */
#hero {
  padding: 0;
  min-height: 60vh;
  font-size: 1.5em;
  line-height: 1.2em;
}

#hero h2 {
  font-size: 2em;
  line-height: 1.2em;
}

#hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  visibility: hidden;
  opacity: 0;
  transition: all .2s ease-out;
}

#hero-slider .slick-track > .slick-slide {
  width: 100%;
  height: 67vh;
  position: relative;
}

#hero-slider .slick-track > .slick-slide .slider-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: .5;
}

#hero-slider .slick-track > .slick-slide .slider-content {
  position: absolute;
  width: 66%;
  left: 50%;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 50px black;
}

#hero-slider ul.slick-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1em;
  text-align: center;
}

#hero-slider ul.slick-dots > li {
  display: inline-block;
  width: auto;
  opacity: .33;
  margin: 0;
  transition: opacity .15s ease-out;
}

#hero-slider ul.slick-dots > li > button {
  display: inline-block;
  border: none;
  background: transparent;
  overflow: hidden;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(var(--active-color) 50%, transparent 51%);
  color: var(--active-color);
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  font-size: 1px;
  margin: 0;
}

#hero-slider ul.slick-dots > li:hover {
  opacity: .67;
}

#hero-slider ul.slick-dots > li.slick-active {
  opacity: 1;
}

#hero-slider.loaded {
  visibility: visible;
  opacity: 1;
}

/* steps */
#steps {
  max-width: 660px;
  margin: 40px auto -30px auto;
  grid-gap: 0;
}

#steps > div {
  position: relative;
}

#steps > div .step {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: var(--strokeWidthThin) solid RGBA(var(--text-color-rgb), 0.33);
  text-align: center;
  font-family: var(--headlineFont);
  border-radius: 22px;
}

#steps > div:before {
  content: '';
  border-bottom: var(--strokeWidthThin) solid RGBA(var(--text-color-rgb), 0.33);
  position: absolute;
  top: 22px;
  left: 0;
  right: calc( 50% + 22px);
}

#steps > div:after {
  content: '';
  border-bottom: var(--strokeWidthThin) solid RGBA(var(--text-color-rgb), 0.33);
  position: absolute;
  top: 22px;
  left: calc( 50% + 22px);
  right: 0;
}

#steps > div:first-child:before {
  display: none;
}

#steps > div:last-child:after {
  display: none;
}

#steps > div.active .step {
  border-color: var(--text-color);
}

#steps > div.active:before {
  border-color: var(--text-color);
}

#steps > div.done .step {
  color: var(--background-color);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

#steps > div.done:before {
  border-color: var(--text-color);
}

#steps > div.done:after {
  border-color: var(--text-color);
}

/* forms */
.form {
  max-width: 660px;
  margin: 0 auto;
  padding: 2em;
}

/* breakpoints */
@media only screen and (max-width: 600px) {
  #hero, #logos {
    display: none;
  }
  #loans .section-content.grid {
    grid-template-columns: 1fr;
  }
  #testimonials .grid {
    grid-template-columns: 1fr;
  }
  #steps p {
    display: none;
  }
  #personal-information {
    grid-template-columns: 1fr;
  }
  #contact-information {
    grid-template-columns: 1fr 1fr;
  }
}
