#primary-menu li a {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  line-height: 21px;
  position: relative;
  padding: 14px 10px;
}

p {
  font-family: 'Fira Sans', sans-serif;
    font-size: 20px;
    line-height: 2px;
    font-weight: 400;
    line-height: 1.5;
    color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lead {
  font-size: 28px;
}

h1 {
font-family: 'Quicksand', sans-serif;
font-weight:800;
}

.card-title a {
  color:#2e2e2e;
  font-family: 'Ubuntu', sans-serif;
}

.card-text {
  font-size: 1em;
}

.bg-blue2 {
  background-color:rgb(134, 141, 150);
}

.bg-sdblue {
    background-color:rgba(20, 20, 59);
} /* blue with opacity */

.font-weight-light {
    font-weight: 200;
}

.font-weight-bold {
   font-weight: 900;
}

.intro-bg {
  background-image: url('../images/graph_BG_1800px.jpg');
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
}

.service-bg {
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
    url('../images/bg-services.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
}

.layer {
  background-color: rgba(55, 65, 99, 0.7);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.info-spot {
background-color:rgba(110, 110, 110, 0.75);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}

.carousel-caption {
  padding-left:8px;;
  padding-right:8px;
  padding-top:10px;
  padding-bottom:10px;
  bottom: 0px;
}

.transluc {
  opacity: 0.4;
}

.marg100 {
  margin-top:100px;
}

/* image hover  */

.image {
  position: relative;
}

.image__img {
  display: block;
  width: 100%;
}

.image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  padding-left: 5px;
  padding-right: 5px;
}

.image__overlay--blur {
  backdrop-filter: blur(5px);
}

.image__overlay > * {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.image__overlay:hover {
  opacity: 1;
  color: #ffffff;
}

.image__overlay:hover > * {
  transform: translateY(0);
}

.image__title {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.2em;
}

.image__description {
  font-size: 1.15em;
  margin-top: 0.25em;
  line-height: 1em;
  color: #ffffff;
}

.image__description p {
  color: #ffffff;
  font-weight:800;
}

/* FORM CONTROLS */

.shadow-textarea textarea.form-control::placeholder {
  font-weight: 300;
}
.shadow-textarea textarea.form-control {
  padding-left: 0.8rem;
}

/* header scroll  */

#site-header {
  position: fixed;
  height: 100px;
  background: url(./images/scrollHeaderBG.jpg) repeat;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all .9s ease;
  box-shadow: 2px 2px 8px #2e2e2e;
}

#site-header.hide {
  top: -100px;
}

.navbg {
  background: url(../images/scrollHeaderBG.jpg) repeat;
  opacity: .95;
}


/*******    TIMELINE    ********/

.main-timeline{
overflow: hidden;
position: relative;
}
.main-timeline:before{
content: "";
width: 5px;
height: 100%;
background: #949599;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
.main-timeline .timeline{
width: 50%;
float: left;
position: relative;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
content: "";
display: block;
width: 100%;
clear: both;
}
.main-timeline .timeline:before{
content: "";
width: 45%;
height: 5px;
background: #949599;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.main-timeline .icon{
display: block;
width: 140px;
height: 140px;
line-height: 140px;
border-radius: 50%;
background: #fff;
border: 5px solid #949599;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.main-timeline .icon i{
width: 120px;
height: 120px;
line-height: 120px;
border-radius: 50%;
background: #a8b087;
margin: auto;
font-size: 60px;
font-weight: bold;
color: #fff;
text-align: center;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.main-timeline .timeline-content{
width: 65%;
float: right;
padding: 10px;
margin-right: 20px;
background: #fff;
border: 5px solid #949599;
text-align: center;
position: relative;
}
.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after{
content: "";
border-left: 20px solid #949599;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
position: absolute;
top: 50%;
right: -25px;
transform: translateY(-50%);
}

.main-timeline .timeline-content:after{
border-left-color: #fff;
right: -18px;
}

.main-timeline .content-inner{
padding: 10px 10px 10px 25%;
background: #a8b087;
position: relative;
}

.main-timeline .content-inner:before{
content: "";
border-left: 15px solid #a8b087;
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
position: absolute;
top: 50%;
right: -15px;
transform: translateY(-50%);
z-index: 1;
}

.main-timeline .year{
display: block;
width: 20%;
height: 100%;
background: #949b79;
position: absolute;
top: 0;
left: 0;
}

.main-timeline .year span{
display: block;
font-size: 34px;
font-weight: bold;
color: #fff;
position: absolute;
top: 40%;
left: 0;
right: 0;
transform: rotate(-90deg);
}

.main-timeline .title{
font-size: 20px;
font-weight: bold;
color: #14231c;
margin: 0 0 5px 0;
}

.main-timeline .description{
font-size: 14px;
color: #14231c;
margin: 0;
}

.main-timeline .timeline:nth-child(2n):before,
.main-timeline .timeline:nth-child(2n) .icon,
.main-timeline .timeline:nth-child(2n) .year{
left: auto;
right: 0;
}
.main-timeline .timeline:nth-child(2n) .timeline-content{
float: left;
margin: 0 0 0 20px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:before,
.main-timeline .timeline:nth-child(2n) .timeline-content:after,
.main-timeline .timeline:nth-child(2n) .content-inner:before{
border-left: none;
border-right: 20px solid #949599;
right: auto;
left: -25px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:after{
border-right-color: #fff;
left: -18px;
}
.main-timeline .timeline:nth-child(2n) .content-inner { padding: 10px 25% 10px 10px; }

.main-timeline .timeline:nth-child(2n) .content-inner:before {
border-right: 15px solid #a8b087;
left: -15px;
}
.main-timeline .timeline:nth-child(2) { margin-top: 110px; }

.main-timeline .timeline:nth-child(odd) { margin: -150px 0 0 0; }

.main-timeline .timeline:nth-child(even) { margin-bottom: 70px; }

.main-timeline .timeline:first-child,
.main-timeline .timeline:last-child:nth-child(even) { margin: 0; }

.main-timeline .timeline:nth-child(2n) .icon i,
.main-timeline .timeline:nth-child(2n) .content-inner { background: #7895cd; }

.main-timeline .timeline:nth-child(2n) .content-inner:before { border-right-color: #7895cd; }

.main-timeline .timeline:nth-child(2n) .year { background: #5e7fb4; }

.main-timeline .timeline:nth-child(3n) .icon i,
.main-timeline .timeline:nth-child(3n) .content-inner { background: #c656a0; }

.main-timeline .timeline:nth-child(3n) .content-inner:before { border-left-color: #c656a0; }

.main-timeline .timeline:nth-child(3n) .year { background: #b44b90; }

.main-timeline .timeline:nth-child(4n) .icon i,
.main-timeline .timeline:nth-child(4n) .content-inner { background: #e2aa6f; }

.main-timeline .timeline:nth-child(4n) .content-inner:before { border-right-color: #e2aa6f; }

.main-timeline .timeline:nth-child(4n) .year { background: #ca9666; }

.main-timeline .timeline:nth-child(5n) .icon i,
.main-timeline .timeline:nth-child(5n) .content-inner { background: #e2d66f; }

.main-timeline .timeline:nth-child(5n) .content-inner:before { border-right-color: #e2d16f; }

.main-timeline .timeline:nth-child(5n) .year { background: #cab866; }

@media only screen and (max-width: 1200px){
.main-timeline .icon{
width: 110px;
height: 110px;
line-height: 110px;
}

.main-timeline .icon i{
width: 90px;
height: 90px;
line-height: 90px;
font-size: 50px;
    }
}
@media only screen and (max-width: 990px) and (min-width: 768px){
.main-timeline .icon{
width: 90px;
height: 90px;
line-height: 90px;}

.main-timeline .icon i{
width: 70px;
height: 70px;
line-height: 70px;
font-size: 40px;
}
.main-timeline .year span{ top: 50%; }
}

@media only screen and (max-width: 767px){
.main-timeline:before,
.main-timeline .timeline:before{ display: none; }
.main-timeline .timeline,
.main-timeline .timeline:nth-child(even),
.main-timeline .timeline:nth-child(odd){
width: 100%;
float: none;
margin: 0 0 10px 0;
}
.main-timeline .timeline:last-child{ margin: 0; }
.main-timeline .icon{
margin: 0 auto 20px;
position: relative;
transform: translateY(0);
    }
.main-timeline .timeline-content,
.main-timeline .timeline:nth-child(2n) .timeline-content{
width: 100%;
float: none;
margin: 0;
}
.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after,
.main-timeline .timeline:nth-child(2n) .timeline-content:before,
.main-timeline .timeline:nth-child(2n) .timeline-content:after{
border-bottom: 20px solid #949599;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
margin-right: -40px;
top: -40px;
right: 50%;
left: auto;
transform: translateX(-50%);}
.main-timeline .timeline-content:after,
.main-timeline .timeline:nth-child(2n) .timeline-content:after{
border-bottom-color: #fff;
top: -33px;
}
.main-timeline .content-inner,
.main-timeline .timeline:nth-child(2n) .content-inner{ padding: 0 0 20px 0; }
.main-timeline .content-inner:before,
.main-timeline .timeline:nth-child(2n) .content-inner:before,
.main-timeline .timeline:nth-child(3n) .content-inner:before{
border-bottom: 15px solid #949b79;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
margin-right: -30px;
top: -30px;
right: 50%;
left: auto;
transform: translateX(-50%);
}

.main-timeline .year{
width: 100%;
margin-bottom: 10px;
position: relative;
}

.main-timeline .year span{
transform: rotate(0);
position: relative;
}
.main-timeline .description{ padding: 0 10px; }
.main-timeline .timeline:nth-child(2n) .content-inner:before{ border-bottom-color: #5e7fb4; }
.main-timeline .timeline:nth-child(3n) .content-inner:before{ border-bottom-color: #b44b90; }
.main-timeline .timeline:nth-child(4n) .content-inner:before{ border-bottom-color: #cb9968; }
}

.nav-pills .nav-link.active {
  background-color: #234870;
  opacity: .75;
  color:#fff;
  border: 0;
}

.text-primary {
  color: #234870;!important
}

.not-active {
  opacity: .5;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

/*--- Bootstrap Mobile Gutter Fix --*/
.row, .container-fluid {
  margin-left: 0px!important;
  margin-right: 0px!important;
  }
  
  /*--- Fixed Video Background iOS/Mobile Style--*/
  .video-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 500px;
  }
  #video {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform;
    z-index: -1000;
  }
  video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    background: url('') no-repeat;
    background-size: cover;
    transition: 1s opacity;
  }
  
  .video-wrapper {
    position: relative;
  }
  
  .video-wrapper video {
  height: auto;
  vertical-align: middle;
  min-height: 100%;
  width: 100%;
  }
  .video-description {
  background: transparent;
  position: absolute;
  top: -72%;
  right: 0;
  bottom: 0;
  left: -55%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  }
  
  /* Optional -- Wrap Logo with h3 to style it.*/
  
  .video-description h3 {
    color: #000;
    font-family: "Nobile",sans-serif;
    font-size: 2em;
    margin: 0;
    padding: 6px 12px;
    text-align: center;
  }

  /* FIXES.*/
  .pt-5 {
    padding-top: 5rem!important;
}

.box-text {
background-color: rgb(41, 41, 46) ;
padding: 4px;
box-sizing: content-box;
width: 50%;
color:gainsboro;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
position: relative;
}

.carousel-indicators li {
  height: 6px;
}


/* DIVIDER SECTIONS */

:root {
  --section-divider-height: 60; // px
  --section-divider-width: 1920; // px
  --section-divider-ratio: calc(100% * var(--section-divider-height) / var(--section-divider-width));
}

.has-section-divider {
  position: relative;
  padding-bottom: var(--section-divider-ratio);
}

.section-divider {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
}

// define dark and softSecondary color themes
[data-theme="dark"] {
  // main
  @include defineColorHSL(--color-primary-darker, 201, 65%, 42%);
  @include defineColorHSL(--color-primary-dark, 201, 65%, 52%);
  @include defineColorHSL(--color-primary, 201, 65%, 62%);
  @include defineColorHSL(--color-primary-light, 201, 65%, 72%);
  @include defineColorHSL(--color-primary-lighter, 201, 65%, 82%);

  @include defineColorHSL(--color-accent-darker, 358, 97%, 43%);
  @include defineColorHSL(--color-accent-dark, 358, 97%, 53%);
  @include defineColorHSL(--color-accent, 358, 97%, 63%);
  @include defineColorHSL(--color-accent-light, 358, 97%, 73%);
  @include defineColorHSL(--color-accent-lighter, 358, 97%, 83%);

  @include defineColorHSL(--color-secondary-darker, 165, 2%, 24%);
  @include defineColorHSL(--color-secondary-dark, 165, 2%, 34%);
  @include defineColorHSL(--color-secondary, 165, 2%, 44%);
  @include defineColorHSL(--color-secondary-light, 165, 2%, 54%);
  @include defineColorHSL(--color-secondary-lighter, 165, 2%, 64%);

  @include defineColorHSL(--color-black, 240, 8%, 12%);
  @include defineColorHSL(--color-white, 0, 0%, 100%);

  // feedback
  @include defineColorHSL(--color-warning-darker, 46, 100%, 41%);
  @include defineColorHSL(--color-warning-dark, 46, 100%, 51%);
  @include defineColorHSL(--color-warning, 46, 100%, 61%);
  @include defineColorHSL(--color-warning-light, 46, 100%, 71%);
  @include defineColorHSL(--color-warning-lighter, 46, 100%, 81%);

  @include defineColorHSL(--color-success-darker, 94, 48%, 36%);
  @include defineColorHSL(--color-success-dark, 94, 48%, 46%);
  @include defineColorHSL(--color-success, 94, 48%, 56%);
  @include defineColorHSL(--color-success-light, 94, 48%, 66%);
  @include defineColorHSL(--color-success-lighter, 94, 48%, 76%);

  @include defineColorHSL(--color-error-darker, 358, 97%, 43%);
  @include defineColorHSL(--color-error-dark, 358, 97%, 53%);
  @include defineColorHSL(--color-error, 358, 97%, 63%);
  @include defineColorHSL(--color-error-light, 358, 97%, 73%);
  @include defineColorHSL(--color-error-lighter, 358, 97%, 83%);

  // color contrasts
  @include defineColorHSL(--color-bg, 240, 8%, 12%);
  @include defineColorHSL(--color-contrast-lower, 240, 6%, 15%);
  @include defineColorHSL(--color-contrast-low, 252, 4%, 25%);
  @include defineColorHSL(--color-contrast-medium, 240, 1%, 52%);
  @include defineColorHSL(--color-contrast-high, 0, 0%, 89%);
  @include defineColorHSL(--color-contrast-higher, 0, 0%, 100%);

  // font rendering
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="softSecondary"] {
    // main
    @include defineColorHSL(--color-primary-darker, 220, 89%, 36%);
    @include defineColorHSL(--color-primary-dark, 220, 89%, 46%);
    @include defineColorHSL(--color-primary, 220, 89%, 56%);
    @include defineColorHSL(--color-primary-light, 220, 89%, 66%);
    @include defineColorHSL(--color-primary-lighter, 220, 89%, 76%);

    @include defineColorHSL(--color-accent-darker, 358, 97%, 43%);
    @include defineColorHSL(--color-accent-dark, 358, 97%, 53%);
    @include defineColorHSL(--color-accent, 358, 97%, 63%);
    @include defineColorHSL(--color-accent-light, 358, 97%, 73%);
    @include defineColorHSL(--color-accent-lighter, 358, 97%, 83%);

    @include defineColorHSL(--color-secondary-darker, 197, 73%, 37%);
    @include defineColorHSL(--color-secondary-dark, 197, 73%, 47%);
    @include defineColorHSL(--color-secondary, 197, 73%, 57%);
    @include defineColorHSL(--color-secondary-light, 197, 73%, 67%);
    @include defineColorHSL(--color-secondary-lighter, 197, 73%, 77%);

    @include defineColorHSL(--color-black, 240, 8%, 12%);
    @include defineColorHSL(--color-white, 0, 0%, 100%);

    // feedback
    @include defineColorHSL(--color-warning-darker, 46, 100%, 41%);
    @include defineColorHSL(--color-warning-dark, 46, 100%, 51%);
    @include defineColorHSL(--color-warning, 46, 100%, 61%);
    @include defineColorHSL(--color-warning-light, 46, 100%, 71%);
    @include defineColorHSL(--color-warning-lighter, 46, 100%, 81%);

    @include defineColorHSL(--color-success-darker, 94, 48%, 36%);
    @include defineColorHSL(--color-success-dark, 94, 48%, 46%);
    @include defineColorHSL(--color-success, 94, 48%, 56%);
    @include defineColorHSL(--color-success-light, 94, 48%, 66%);
    @include defineColorHSL(--color-success-lighter, 94, 48%, 76%);

    @include defineColorHSL(--color-error-darker, 358, 97%, 43%);
    @include defineColorHSL(--color-error-dark, 358, 97%, 53%);
    @include defineColorHSL(--color-error, 358, 97%, 63%);
    @include defineColorHSL(--color-error-light, 358, 97%, 73%);
    @include defineColorHSL(--color-error-lighter, 358, 97%, 83%);

    // color contrasts
    @include defineColorHSL(--color-bg, 199, 76%, 95%);
    @include defineColorHSL(--color-contrast-lower, 199, 39%, 90%);
    @include defineColorHSL(--color-contrast-low, 202, 15%, 79%);
    @include defineColorHSL(--color-contrast-medium, 210, 5%, 50%);
    @include defineColorHSL(--color-contrast-high, 230, 6%, 20%);
    @include defineColorHSL(--color-contrast-higher, 240, 8%, 12%);
  }

  #clients {
    background-color: #000;
    }

    .hero-header {
      min-height: 4rem;
      padding: 1rem .5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;
      z-index: 100;
    }