body {
  font: normal 18px/1.5 'Source Sans Pro', sans-serif;
  background-color: #222;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

.df {
  display: flex;
  align-items: center;
}

.tac {
  text-align: center;
}

.tdn {
  display: inline-block;
  margin: 0 auto;
  text-decoration: none !important;
}

.mt20 {
  margin-top: 20px !important;
}

.thanks {
  display: none;
}

label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  margin-bottom: 20px;
  height: 32px;
  padding: 0 8px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

a, a:active, a:visited {
  color: #222;
}

a:hover {
  color: #3c3c3c;
  cursor: pointer;
}

h1 {
  margin-top: 0;
  font-weight: 700;
  font-size: 38px;
}

h2 {
  margin-top: 0;
  font-weight: 700;
  font-size: 32px;
  color: #d50c02;
}

button {
  padding: 10px 45px;
  border: none;
  border-radius: 3px;
  background: #d50c02;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  -webkit-transition: background 100ms ease-in-out;
  -moz-transition: background 100ms ease-in-out;
  -ms-transition: background 100ms ease-in-out;
  -o-transition: background 100ms ease-in-out;
  transition: background 100ms ease-in-out;
}

button.black {
  background: #222;
  color: #fff;
}

button.black:hover {
  background: #000;
}

button.small {
  font-size: 16px;
  padding: 6px 45px;
}

button:hover {
  background: #a20902;
}

.social {
  margin: 20px 0 -15px;
  padding: 0;
}

.social li {
  display: inline-block;
  margin-left: 15px;
  list-style: none;
}

.social .iconic {
  cursor: pointer;
}

.social .iconic * {
  fill: #222;
  stroke: #222;
}

.social .iconic:hover * {
  fill: #d50c02;
  stroke: #d50c02;
}

header {
  height: 470px;
  background: url(../images/hero-bg.png) no-repeat center center/cover;
  color: #fff;
}

header p {
  font-size: 22px;
  color: #aaa;
}

header p strong {
  color: #fff;
}

header button {
  margin-top: 20px;
}

section#top {
  padding: 10px 0;
  background-color: #fff;
}

section#top #logo {
  font-size: 20px;
  font-weight: 700;
}

section#top #logo strong {
  color: #d50c02;
}

section#top #header-about-me {
  margin-bottom: 10px;
  text-align: right;
  font-size: 14px;
}

section#top #header-about-me img {
  float: right;
  margin: 0 0 0 15px;
  max-height: 60px;
  width: auto;
  border: 1px solid #5e6d70;
}

section#top #header-about-me .header-name {
  font-weight: 700;
  cursor: pointer;
  color: #d50c02;
}

section#top #header-about-me .header-name:hover {
  color: #a20902;
  text-decoration: underline;
}

section#top #header-about-me div {
  margin-bottom: -5px;
}

section#s2 {
  height: 280px;
  background: url(../images/s2-bg.png) no-repeat center center/cover;
  color: #fff;
  text-align: center;
}

section#s2 h2 {
  margin-bottom: 20px;
  color: inherit;
}

section#s3 {
  padding: 60px 0;
  border-top: 1px solid #ddd;
}

section#s3 .button-wrap {
  margin-top: 20px;
  text-align: center;
}

section#s3 p {
  display: block;
  width: 70%;
  margin: 20px auto 0;
  font-size: 20px;
}

section#s4 {
  padding: 40px 0;
  border-top: 1px solid #ddd;
}

section#featured {
  padding: 40px 0;
  background-color: #fff;
  text-align: center;
}

section#featured h2 {
  margin-bottom: 40px;
}

section#featured #logos {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section#featured #logos img {
  display: block;
  max-width: calc(90% / 5);
  max-height: 38px;
}

section#featured #logos img:last-of-type {
  margin-bottom: -8px;
}

#success-page {
  background-color: #fff;
}

#success-page #profile {
  text-align: left;
}

#success-page #profile #profile-pic {
  display: block;
  float: left;
  width: 100%;
  max-width: 170px;
  margin-right: 20px;
}

#success-page #profile #profile-name {
  font-size: 22px;
  font-weight: 700;
}

#success-page #profile #profile-name:hover {
  text-decoration: underline;
  cursor: pointer;
}

#success-page #profile #profile-email {
  display: block;
  overflow: hidden;
  max-width: 340px;
  margin-bottom: 25px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#success-page #profile .social {
  margin: -15px 0 10px;
}

#success-page #profile .social li:first-of-type {
  margin: 0;
}

footer {
  height: 100px;
  margin-bottom: -37px;
  background: #222;
}

.modal .modal-dialog {
  width: 95%;
  max-width: 660px;
}

.modal .modal-content {
  border: none;
  border-radius: 0;
}

.modal .modal-header {
  padding: 0;
  border: none;
  background: #d50c02;
  color: #fff;
}

.modal .modal-header .close {
  margin: 0;
}

.modal .modal-header .inner {
  padding: 20px 30px 10px;
}

.modal .modal-header .inner h4 {
  margin: 0 0 10px;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
}

.modal .modal-header .modal-title {
  font-size: 20px;
  text-transform: none;
}

.modal .modal-header .close:hover {
  background: none;
  color: #fff;
}

.modal#form-modal .modal-dialog {
  max-width: 860px;
}

.modal #amm-tabs {
  border: none;
  background: #ddd;
}

.modal #amm-tabs li {
  margin: 0;
}

.modal #amm-tabs li a {
  margin: 0;
  padding: 14px 30px;
  font-size: 14px;
  text-transform: uppercase;
  background: none;
  border: none;
  border-radius: 0;
}

.modal #amm-tabs li.active a {
  box-shadow: inset 0 -2px 0 #d50c02;
}

.modal .modal-body {
  padding: 30px;
  border-bottom: 1px solid #e6e6e6;
}

.modal .modal-body p {
  margin: 0 0 20px;
}

.modal .modal-body p:last-of-type {
  margin: 0;
}

.modal .modal-body .note {
  margin: 0 0 20px !important;
  font-size: 14px;
  text-align: center;
}

.modal .modal-body button {
  display: block;
  margin: 0 auto;
}

.modal #amm-head {
  text-align: center;
}

.modal #amm-profileimage {
  display: block;
  margin: 0 auto 20px;
  max-width: 150px;
  max-height: 150px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal #amm-name {
  font-size: 24px;
  font-weight: 700;
  color: #d50c02;
}

.modal .bx-viewport {
  border: none;
  box-shadow: none;
}

.modal .bx-wrapper {
  margin: 0 auto;
}

.modal .bx-wrapper .bx-pager {
  position: relative;
  bottom: 0;
}

.modal #amm-slider div img {
  margin: 0 auto 20px;
}

.modal #amm-slider p {
  text-align: center;
}

.modal #video-page iframe {
  margin-bottom: 20px;
}

.modal #video-page p {
  text-align: center;
}

#book-modal .modal-content, #book-modal .modal-dialog {
  height: 100%;
  max-height: 80%;
}

#book-modal iframe {
  width: 100%;
  height: 88%;
  border: none;
}

#book-modal .modal-body {
  height: 100%;
  border: none;
}

#loadingGraphic {
  display: none;
}

#loader {
  width: 44px;
  height: 44px;
  margin: 6px auto;
  -webkit-animation: 1s ease-in-out infinite animball_two;
  animation: 1s ease-in-out infinite animball_two;
}

#loader .loaderBall {
  width: 44px;
  height: 44px;
  position: absolute;
}

#loader .loaderBall .ball {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  -webkit-animation: 1s ease-in-out infinite animball_one;
  animation: 1s ease-in-out infinite animball_one;
}

#loader .loaderBall .ball.ball1 {
  background-color: #d50c02;
  top: 0;
  left: 0;
}

#loader .loaderBall .ball.ball2 {
  background-color: #d50c02;
  top: 0;
  left: 24px;
}

#loader .loaderBall .ball.ball3 {
  background-color: #d50c02;
  top: 24px;
  left: 0;
}

#loader .loaderBall .ball.ball4 {
  background-color: #d50c02;
  top: 24px;
  left: 24px;
}

@keyframes card {
  0% {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -moz-transform: translate(0, 10px);
    -o-transform: translate(0, 10px);
    -ms-transform: translate(0, 10px);
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px);
  }
  100% {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@-webkit-keyframes card {
  0% {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -moz-transform: translate(0, 10px);
    -o-transform: translate(0, 10px);
    -ms-transform: translate(0, 10px);
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px);
  }
  100% {
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@-webkit-keyframes animball_one {
  0% {
    position: absolute;
  }
  50% {
    top: 12px;
    left: 12px;
    position: absolute;
    opacity: 0.5;
  }
  100% {
    position: absolute;
  }
}

@keyframes animball_one {
  0% {
    position: absolute;
  }
  50% {
    top: 12px;
    left: 12px;
    position: absolute;
    opacity: 0.5;
  }
  100% {
    position: absolute;
  }
}

@-webkit-keyframes animball_two {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
  }
  50% {
    -webkit-transform: rotate(360deg) scale(1.3);
  }
  100% {
    -webkit-transform: rotate(720deg) scale(1);
  }
}

@keyframes animball_two {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(360deg) scale(1.3);
  }
  100% {
    transform: rotate(720deg) scale(1);
  }
}

@-webkit-keyframes scroll {
  0% {
    background-position: 0;
  }
  100% {
    background-position: -2826px;
  }
}

@keyframes scroll {
  0% {
    background-position: 0;
  }
  100% {
    background-position: -2826px;
  }
}

@media (max-width: 1199px) {
  h1 {
    font-size: 32px;
  }
}

@media (max-width: 991px) {
  header p {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .df {
    display: block;
  }
  body.modal-open {
    position: fixed;
    width: 100%;
  }
  h1 {
    font-size: 30px;
  }
  header {
    height: auto;
    padding: 60px 0 300px;
    background: url(../images/hero-bg-mobile.png) no-repeat center bottom/100% auto #101115;
  }
  header p {
    font-size: 18px;
  }
  header button {
    width: 100%;
  }
  section {
    height: auto !important;
    padding: 60px 0;
  }
  section#s2 h2 {
    line-height: 1.3;
  }
  #success-page #profile #profile-pic {
    max-width: 90px;
  }
  #success-page #profile #profile-email {
    max-width: 220px;
    margin-bottom: 25px;
  }
  #success-page #profile .social {
    margin-top: 10px;
    text-align: center;
  }
  #success-page #profile button {
    display: block;
    margin: 0 auto;
  }
}
