
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  font-family: 'Open Sans', sans-serif;
}

::selection {
  background: #AED259;
}

::-moz-selection {
  background: #AED259;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  color: #414042;
  margin-bottom: 32px;
  /* line-height: 1.2em; */
}

section {
  margin-top: 100px;
}

p {
  font-size: 1.2em;
  color: #414042;
}

figure {
  z-index: 3;
}

figcaption {
  font-family: 'Source Serif Pro', serif;
  color: #9F9F9F;
  padding-top: 8px;
  padding-bottom: 16px;
}

strong {
  font-weight: 600;
  font-size: 2em;
}

span {
  font-weight: 600;
}

button {
  font-family: 'Source Serif Pro', serif;
  font-size: 1.2em;
  border: 0;
  background-color: #AED259;
  color: #414042;
  padding: 8px 16px;
  border-radius: 0px;
  cursor: pointer;
  /* margin-bottom: 32px; */

  /* -moz-box-shadow: 0 0 4px rgba(75, 75, 75, 0.4);
  -webkit-box-shadow: 0 0 4px rgba(75, 75, 75, 0.4);
  box-shadow: 0 0 4px rgba(75, 75, 75, 0.4); */
}

button:hover {
  background-color: #BADC6E;
}

button:active {
  background-color: #C2EB63;
}

button:focus {
  outline: none;
  border-bottom: solid 2px #414042;
}

.white_backing {
    background-color: #ffffff;
}

.center_cap {
  max-width: 740px;
  margin: auto;
}

.clear_floats:after {
  content: "";
  display: table;
  clear: both;
}

.card {
  border: none;
  border-radius: 0;
  width: 480px;
  max-width: 100%;
  margin: 16px;
  margin-bottom: 32px;
}

.card-img-top {
  /* padding: 0 80px; */
  width: 80px;
  border-radius: 0;
  margin: 24px auto;
}

.padded {
  padding: 16px 32px;
}

.card-body {
  width: 100%;
}

.lineup {
  position: relative;
  z-index: -1;
  width: 4px;
  /* height: 2760px; */
  background-color: #AED259;
  margin-bottom: 32px;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%)
}

.linemask {
  position: fixed;
  left: 0;
  bottom: 0;
  top: 70%;
  width: 100%;
  z-index: -1;
  background-color: #ffffff;
}

.content_image {
  width: 740px;
  max-width: 100%;
  z-index: 5;
  -moz-box-shadow: 0 0 8px rgba(75, 75, 75, 0.6);
  -webkit-box-shadow: 0 0 8px rgba(75, 75, 75, 0.6);
  box-shadow: 0 0 8px rgba(75, 75, 75, 0.6);
}

.line_box {
  border: solid 4px #AED259;
  margin-top: -82px;
}

.move_up {
  margin-top: -32px;
}

.content_text {
  max-width: 740px;
  padding: 98px;
  background-color: #ffffff;
  z-index: -1;
}

.content_text p:last-child {
  margin: 0; 
}

#contact {
  margin-bottom: 100px;
}

#contact .row > div {
  background-color: #ffffff;
  margin: 16px;
}

#com_number {
  background-color: #F5F5F5;
}

#com_number p {
  width: 100%;
  text-align: center;
  padding: 32px 0;
  margin: 0;
}

/* Keyframes for the fade-in */
@-webkit-keyframes expand { from { height: 10px; } to { height: 3300px; } }
@-moz-keyframes expand { from { height: 10px; } to { height: 3300px; } }
@keyframes expand { from { height: 10px; } to { height: 3300px; } }

@-webkit-keyframes animated { from { opacity: 0; top: 60px; } to { opacity: 1; top: 0px; } }
@-moz-keyframes animated { from { opacity: 0; top: 60px; } to { opacity: 1; top: 0px; } }
@keyframes animated { from { opacity: 0; top: 60px; } to { opacity: 1; top: 0px; } }

.lineup {
  -webkit-animation:expand ease-in 1;
  -moz-animation:expand ease-in 1;
  animation:expand ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  animation-duration: 2s;
}

.revealOnScroll {
  opacity: 0;
}

.animated {
  opacity:0;
  opacity: 1 \9; /*just in case ie*/
  -webkit-animation: animated ease-in 1;
  -moz-animation: animated ease-in 1;
  animation: animated ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:0.5s;
  -moz-animation-duration:0.5s;
  animation-duration:0.5s;

  position: relative;
}

.card .animated:nth-child(1) { -webkit-animation-delay: 0.1s; -moz-animation-delay: 0.1s; animation-delay: 0.1s; }
.card .animated:nth-child(2) { -webkit-animation-delay: .3s; -moz-animation-delay: .3s; animation-delay: .3s; }
.lineup { -webkit-animation-delay: 1.2s; -moz-animation-delay: 1.2s; animation-delay: 1.2s; }

.container section:first-of-type figure.animated { -webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; animation-delay: 1.5s; }

.row .animated:nth-child(2) { -webkit-animation-delay: 0.3s; -moz-animation-delay: 0.3s; animation-delay: 0.3s; }

@media screen and (max-width: 991px) {

  figcaption {
    background-color: #ffffff;
  }

  .line_box {
    margin: 0;
  }

  .content_text {
    padding: 64px;
  }

  .move_up {
    margin: 0;
    margin-top: 32px;
  }

  section#contact {
    margin: 0;
  }
  
}

@media screen and (max-width: 768px) {

  h2 {
    text-align: left;
  }

  button {
    display: block;
    margin: auto;
  }

  .content_text {
    padding: 32px;
  }

  .col-md {
    /* width: 100%; */
    padding: 16px 0;
    text-align: left;
  }

  #com_number p {
    text-align: left;
  }
  
}
