@font-face {
  font-family: 'Avenir';
  src: url('assets/fonts/AvenirLTStd-Medium.otf');
}

body {
  font-family: 'Avenir', sans-serif;
  overflow-x: hidden;
}

p, li, td {
  font-size: 16px;
  line-height: 24px;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: capitalize;
}

h1,
.h1 {
  font-size: 30px;
  margin-bottom: 15px;
}

h2,
.h2 {
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 20px;
  margin-top: 0px;
}

h3,
.h3 {
  font-size: 24px;
  line-height: 28px;
}

img {
  max-width: 100%;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

form.form {
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
}

form.form h2 {
  margin-top: 0px;
}

header p {
  font-size: 20px;
}

section.pad {
  padding: 40px 20px;
}

br {
  line-height: 30px
}

iframe {
  border: none;
  pointer-events: none;
}

section {
  background-color: white;
}

.social-icon {
  margin-left: 10px;
}

.fullscreen-bg {
  height: 100vh;
  background-image: -webkit-linear-gradient(270deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3));
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3));
  position: absolute;
  width: 100%;
  z-index: -99999999;
}

.fullscreen-video {
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
  right: -100%;
  bottom: -100%;
  top: -100%;
  left: -100%;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
  z-index: -100;
}

.no-margin {
  margin: 0px;
}

.jumbo {
  font-size: 100px;
  line-height: 100px;
}

.pad-sm {
  padding: 10px;
}

.pad {
  padding: 30px;
}

.pad-section,
header .pad-section {
  padding: 60px 20px;
}

img,
.btn,
.form-control,
.form,
.titled-image-wrapper,
ul.accordion li {
  border-radius: 3px;
}

.form-control {
  box-shadow: none;
}

.circle {
  border-radius: 50%;
  overflow: hidden;
}

.background-cover {
  background-size: cover;
}

.background-center {
  background-position: center center;
}

.background-gray {
  background-color: whitesmoke;
}

.transparency-black {
  background-color: rgba(0, 0, 0, 0.5);
}

.vertical-child {
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

/* text */
.text-white {
  color: white;
}

.quote {
  text-transform: none !important;
}

.highlight {
  background-color: #faf785;
  padding: 4px 1px 1px 2px;
}

.lead {
  font-size: 21px;
}

/* containers */
.container {
  max-width: 1000px;
  width: 100%;
}

.container-sm {
  max-width: 400px;
}

.container-md {
  max-width: 600px;
}

.container-lg {
  max-width: 800px;
}

/* sections */
.hero {
  min-height: 80vh;
  height: 300px;
}

.section-full {
  min-height: 100vh;
  height: 100px;
}

.section-half {
  min-height: 50vh;
  height: 100px;
}

section.callout:first-child {
  padding-bottom: 0px;
}

section.callout p.lead {
  margin-bottom: 0px;
}

.icon-lg-wrapper {
  max-width: 100px;
  margin-left: auto;
  margin-right: auto;
}

/* colors */
/* primary: background-color: rgb(29, 187, 216); */
a,
.btn-link {
  color: rgb(29, 187, 216);
}

.btn.btn-primary,
.bg-primary {
  background-color: rgb(29, 187, 216);
  border-color: rgb(29, 187, 216);
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:focus {
  background-color: rgb(52, 163, 183);
  border-color: rgb(52, 163, 183);
}

.background-primary {
  background-color: rgb(29, 187, 216);
}

/* buttons */
.btn {
  text-transform: capitalize;
}

.btn:not(.navbar-btn):not(.btn-sm) {
  padding: 10px 20px;
}

.btn.btn-lg {
  padding: 15px 30px;
}

.btn.btn-sm {
  padding: 5px 15px;
}

.btn-white-outline {
  border-color: white;
  border-width: 2px;
  color: white;
}

.btn.btn-white-outline:hover,
.btn.btn-white-outline:active,
.btn.btn-white-outline:focus {
  background-color: white;
  border-color: white;
  color: rgb(29, 187, 216);
}

.btn-twitter,
.btn-facebook {
  color: white;
}

.btn-twitter {
  background-color: rgb(85, 172, 238);
}

.btn-twitter:hover,
.btn-twitter:active,
.btn-twitter:focus {
  color: white;
  background-color: rgb(65, 135, 187);
}

.btn-facebook {
  background-color: rgb(59, 89, 152);
}

.btn-facebook:hover,
.btn-facebook:active,
.btn-facebook:focus {
  color: white;
  background-color: rgb(40, 60, 103);
}

/* video thumbnails */
.video-thumbnail-wrapper {
  position: relative;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.video-thumbnail-trigger-wrapper {
  width: 100%;
  position: absolute;
}

/* data item */
.data-item {
  text-align: center;
}

.data-number {
  font-size: 30px;
  margin: 0px;
}

.data-title {

}

/* alerts */
.alert.alert-warning a:not(.btn) {
  color: #f0ad4e;
}

/* icon circle */
.icon-circle {
  border: 2px solid rgb(29, 187, 216);
  display: inline-block;
  padding-top: 8px;
  padding-bottom: 4px;
  width: 44px;
  text-align: center;
  border-radius: 50%;
  color: rgb(29, 187, 216);
  margin-bottom: 10px;
}

/* titled image */
.titled-image-wrapper {
  position: relative;
  text-align: center;
  display: -o-inline-flex;
  display: -ms-inline-flex;
  display: -moz-inline-flex;
  display: -webkit-inline-flex;
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  background-color: black;
  color: white;
  margin-bottom: 30px;
}

.titled-image-wrapper img {
  opacity: .6;
}

.titled-image-wrapper:hover img {
  opacity: .2;
}

a.titled-image-wrapper:hover .titled-image-content {
  text-decoration: none;
  color: white;
}

.titled-image-content {
  top: 0px;
  position: absolute;
  display: -o-inline-flex;
  display: -ms-inline-flex;
  display: -moz-inline-flex;
  display: -webkit-inline-flex;
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  /*z-index: 999;*/
  left: 0px;
}

.titled-image-content.bottom {
  top: auto;
  bottom: 15px;
  height: auto;
}

.title-image-hoverable {
  display: none;
}

.titled-image-wrapper:hover .title-image-hoverable,
.titled-image-wrapper:active .title-image-hoverable,
.titled-image-wrapper:focus .title-image-hoverable {
  display: inline-block;
}

/* titled icon */
.titled-icon-wrapper {
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.titled-icon-wrapper img {
  max-width: 75px;
}

/* site content */
#main_content {
  min-height: 80vh;
}

/* navbar */
.navbar {
  border: 0px;
  border-radius: 0px;
  margin-bottom: 0px;
  background-color: white;
}

.nav > li > a {
  font-size: 14px;
  color: #333;
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: transparent;
}

.navbar-btn {
  margin-left: 15px;
}

.navbar-secondary {
  background-color: whitesmoke;
  padding: 20px;
}

.navbar-secondary ul {
  margin-bottom: 0px;
}

.navbar-secondary ul li a {
  color: #666;
  padding: 25px 20px;
}

.navbar-secondary ul li a:hover {
  background-color: #ddd;
  text-decoration: none;
}

.dropdown-menu > li > a {
  padding: 10px 20px;
  font-size: 14px;
}

.dropdown-menu {
  overflow: hidden;
}

.navbar-toggle .icon-bar {
  background-color: gray;
}

/* accordion */
ul.accordion {
  list-style: none;
  border-left: 1px solid #ccc;
}

ul.accordion li {
  position: relative;
  padding: 20px;
  border: 2px solid #666;
  margin-bottom: 20px;
  cursor: pointer;
}

ul.accordion li::before {
  content: " ";
  border-top: 1px solid #ccc;
  position: absolute;
  left: -42px;
  width: 40px;
  top: 50%;
}

ul.accordion li:first-child::after {
  content: " ";
  border-left: 3px solid white;
  position: absolute;
  z-index: 9999;
  height: 50%;
  left: -6%;
  top: 0%;
}

ul.accordion li:last-child::after {
  content: " ";
  border-left: 3px solid white;
  position: absolute;
  z-index: 9999;
  height: 50%;
  left: -6%;
  bottom: 0%;
}

ul.accordion li:not(.active):hover {
  border-color: rgb(29, 187, 216);
  background-color: rgb(29, 187, 216);
  color: white;
}

ul.accordion li.active {
  border-color: rgb(29, 187, 216);
}

ul.accordion li .content { 
  display: none;
}

ul.accordion li.active .content { 
  display: inline-block;
  margin-top: 20px;
}

ul.accordion li.active .content img { 
  margin-bottom: 20px;
}

ul.accordion li .title {
  margin-bottom: 0px;
}

ul.accordion li .content h4 {
  font-weight: bold;
}

/* hover swap */
.hover-swap img:nth-child(2),
.hover-swap:hover img:nth-child(1) {
  display: none;
}

.hover-swap:hover img:nth-child(2) {
  display: inline-block;
}

.hover-swap {
  margin-left: auto;
  margin-right: auto;
}

.hover-swap.circle {
  border-radius: 50%;
  overflow: hidden;
}

.hover-swap.small {
  max-width: 150px;
}

.hover-swap.medium {
  max-width: 300px;
}

/* feature item */
.feature-item-content {
  padding: 20px 20px 00px 20px;
}
/* feature card */
.feature-card-wrapper {
  border: 1px solid #ccc;
  text-align: center;
  overflow: hidden;
  border-radius: 3px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card-wrapper img {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.feature-card-wrapper .content {
  padding: 20px;
}

.feature-card-title {
  font-size: 36px;
  line-height: 38px;
}

/* profile preview */
.profile-preview-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.profile-preview-wrapper .title {
  margin-top: 10px;
  margin-bottom: 0px;
}

.profile-preview-wrapper {
  color: #555;
}

a.hover-hidden:hover {
  text-decoration: none!important;
}

/* sticky */
.sticky {
  width: 366px;
}

.sticky.stick {
  position: fixed;
  top: 0;
  z-index: 100;
  margin-top: 20px;
  border-radius: 0 0 0.5em 0.5em;
}

/* row */
.row-flex {
  display: flex;
  flex-wrap: nowrap!important;
}

.row-flex .col-xs-1,
.row-flex .col-sm-1,
.row-flex .col-md-1,
.row-flex .col-lg-1,
.row-flex .col-xs-2,
.row-flex .col-sm-2,
.row-flex .col-md-2,
.row-flex .col-lg-2,
.row-flex .col-xs-3,
.row-flex .col-sm-3,
.row-flex .col-md-3,
.row-flex .col-lg-3,
.row-flex .col-xs-4,
.row-flex .col-sm-4,
.row-flex .col-md-4,
.row-flex .col-lg-4,
.row-flex .col-xs-5,
.row-flex .col-sm-5,
.row-flex .col-md-5,
.row-flex .col-lg-5,
.row-flex .col-xs-6,
.row-flex .col-sm-6,
.row-flex .col-md-6,
.row-flex .col-lg-6,
.row-flex .col-xs-7,
.row-flex .col-sm-7,
.row-flex .col-md-7,
.row-flex .col-lg-7,
.row-flex .col-xs-8,
.row-flex .col-sm-8,
.row-flex .col-md-8,
.row-flex .col-lg-8,
.row-flex .col-xs-9,
.row-flex .col-sm-9,
.row-flex .col-md-9,
.row-flex .col-lg-9,
.row-flex .col-xs-10,
.row-flex .col-sm-10,
.row-flex .col-md-10,
.row-flex .col-lg-10,
.row-flex .col-xs-11,
.row-flex .col-sm-11,
.row-flex .col-md-11,
.row-flex .col-lg-11,
.row-flex .col-xs-12,
.row-flex .col-sm-12,
.row-flex .col-md-12,
.row-flex .col-lg-12{
  align-self: center;
}

#timeline {
  visibility: "invisible";
  opacity: 0.0;
}

@media screen and (max-width: 768px) {
  #timeline {
    display: none;
  }
}

.list-timeline {
  position: fixed;
  top: 40%;
  right: 0;
}

.list-timeline li {
  position: relative;
  padding: 20px;
  padding-right: 30px;
}

.list-timeline li::after {
  content: " ";
  width: 20px;
  border-bottom: 1px solid #999;
  display: inline-block;
  position: absolute;
  right: 0px;
  top: 30px;
}

ul.list-inline-3,
ul.list-inline-6 {
  text-align: center;
  margin-bottom: 0px;
}

ul.list-inline-3 li {
  width: 17vw;
  padding: 10px 30px;
  max-width: 200px;
}

ul.list-inline-6 li {
  width: 8vw;
  padding: 10px;
  max-width: 115px;
}

/* list group */
.list-group-item {
  padding: 0px;
}

.list-group-item a.pad {
  padding: 15px 20px;
}

.list-group-item .list-group-item-heading {
  margin-bottom: 0px;
}

/* footer */
footer {
  background-color: #333;
  color: white;
}

footer h4 {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: bold;
}

footer a {
  color: white;
}

footer a:hover {
  color: white;
}

@media screen and (max-width: 480px) {
  header.header-video {
    /*background-image: url(assets/img/homepage/mobile-hero-min.png)!important;*/    
    background-position: center;
    background-size: cover;
  }
}

@media screen and (min-width: 768px) {
  header.header-video {
    background-image: none!important;
  }
}

@media screen and (max-width: 768px) {

  .titled-image-wrapper .title-image-hoverable {
    display: inline-block;
  }

  section.pad {
    padding: 40px 0px;
  }

  ul.list-inline-3 li {
    width: 30vw;
    padding: 10px;
  }

  ul.list-inline-6 li {
    width: 20vw;
  }

  .text-center-xs {
    text-align: center;
  }

  .icon-lg-wrapper,
  .feature-item,
  .titled-image-wrapper {
    margin-bottom: 20px;
  }

  .feature-item::last-child {
    margin-bottom: 0px;
  }

  .fullscreen-video {
    display: none;
  }

  .row-flex {
    display: inline-block;
  }

  .navbar-btn {
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  
  .feature-item-split {
    text-align: center;
  }

  .feature-item-split img {
    margin-bottom: 20px;
  }

  .btn.mobile-hero {
  margin-bottom: 15px;
}

}
