// Business Hub Overrides

.sales-crowd-blog .article-type, .sales-crowd-blog .article-title {
  background: $business-hub-primary !important;
}

.article-page .sales-crowd-promo {
  background: $business-hub-primary !important;
}

.businesshub-promo {
  background: $business-hub-secondary;
  min-height: 300px;
  padding-top: 80px;
  .text-column, .img-column {
    padding: 4em 1em;
    h4, h3 {
      text-align: center;
      @include MQ(M) {
        text-align: right;
      }
    }
    @include MQ(M) {
      padding: 4em 1em;
      font-size: 0.8em;
    }
    @include MQ(L) {
      padding: 4em 0;
      font-size: 1em;
    }
  }
  .img-column {
    text-align: center;
    @include MQ(M) {
      text-align: left;
    }
  }
  h1 {
    text-transform: none;
    color: $white;
    font-size: 3.4em;
    font-weight: 900;
    margin-bottom: 2em;
  }
  h3 {
    text-transform: none;
    color: $white;
    text-align: right;
    font-size: 2.4em;
    font-weight: 900;
  }
  h4 {
    color: $white;
    text-align: right;
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.5em;
  }
}

.front-cta {
position: relative;
  top: -3em;
  margin-bottom: -10em;
}

// Features Overview

.bussinesshub-features-overview {
  padding-top: 130px;
  padding-bottom: 125px;
  position:relative;
  h3 {
    font-size: 30px;
    margin-bottom: 48px;
    font-weight: 600;
  }
  p {
    font-size: 16px;
  }
  .features {
    .box {
      position: relative;
      padding-left: 140px;
      padding-top: 50px;
      margin-top: 50px;
      min-height: 100px;
      border-top: 2px solid $salescrowd-warm-light-gray;
      &.first, &:first-child, &:first-of-type {
        margin-top: 0;
        border-top: 0;
      }
      > img {
        position: absolute;
        left: 0;
        top: 50px;
      }
      .feature-box {
        position: absolute;
        left: 0;
        width: 100px;
        height: 100px;
        background: $business-hub-alt;
        //border: 4px $business-hub-primary solid;
        border-radius: 100%;
        top: 50px;
        text-align: center;
        padding: 4px;
        .feature-inner {
          padding-top: 25px;
          width: 100%;
          height: 100%;
          background: $business-hub-alt;
          border-radius: 100%;
        }
      }
    }
    h6 {
      text-transform: none;
      font-weight:500;
      margin-top: 0;
      margin-bottom: 15px;
      line-height: 1.3em;
    }
    p {
      font-size: 16px;
    }
  }
}

/* BusinessHub Quotes */
.businesshub-quotes {
  padding-top: 130px;
  padding-bottom: 130px;
  position:relative;
  background: $business-hub-grey;
  .carousel {
    margin-bottom: 100px;
    text-align: center;
    &:before {
      content: '';
      //background: url("../images/quote-down-mb@2x.png") no-repeat;
      background-size: 31px 22px;
      display: block;
      margin: 0 auto 95px;
      width: 31px;
      height: auto;
      @media (max-width: 767px) {
        margin-bottom: 45px;
      }
      text-align: center;
    }
    img {
      @include border-radius(3px);
      margin-bottom: 1em;
    }
    .quote-text {
      max-width: 625px;
      margin: 0 auto;
      padding: 0 20px;
  font-size: 30px;
      font-weight:300;
      line-height: 40px;
    }
    .quote-author {
      max-width: 625px;
      margin: 45px auto 0;
      padding: 0 20px;
      font-size: 18px;
      font-weight:500;
    }
    .controls {
      position: relative;
      z-index:3;
      > .carousel-control {
        z-index: 5;
        position: absolute;
        top: 20px;
        display: block;
       box-sizing: border-box;
        width: 15px;
        height: 15px;
        margin: 0;
        padding: 0;
        @include border-radius(50%);
        border: 0;
        opacity: 1;
        overflow: hidden;
        background: $business-hub-primary-dark;
        &.disabled {
          z-index: auto;
          background: none;
          border: 3px solid #ebedee;
          pointer-events: none;
          cursor: default;
        }
        &.left {
          left: 0;
        }
        &.right {
          right: 0;
        }
      }
    }
    .carousel-inner {
      padding-bottom: 0;
      height: 250px;
    }
    .item {
      @include transition(.8s ease-in-out opacity);
      display: block;
      position: absolute;
      top: 0;
      left: 0!important;
      right: 0;
      opacity: 0;
      &.active.left, &.active.right {
        opacity: 0;
        top: 100%;
        z-index: 2;
      }
      &.active, &.prev, &.next {
        opacity: 1;
        top: 0;
        z-index: 1;
      }
    }
    & + * {
      position: relative;
    }
    @media (max-width: 767px) {
      margin-bottom: 0;
    }
  }
  .quotes {
    > * {
      margin-top: 48px;
    }
    h6 {
      text-transform: none;
      font-size: 18px;
      font-weight: 500;
    }
  }
}

// Video Header

.line-wrapper {
  height: auto;
  width: 100%;
  border-bottom: 1px $light-gray solid;
  margin-bottom: 0em;
  //.line-wrapped {
  //  margin: 0;
  //  padding: 0;
  //}
}

.video-section {
  //background-color: rgba(0, 0, 0, 0.6);
 height: 100%;
  min-height: 540px;
  width: 100%;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.video-text {
  height: 100%;
  width: 100%;
  padding-top: 0px;
  margin: 0 auto;
  top: 0;
  left: 0;
  position: absolute;
  .video-text-container {
    padding-top: 100px;
    z-index: 1;
    color: $white;
    text-align: center;
    h3 {
      text-transform: none;
      font-size: 1.3em;
      padding: 0 1em;
      @include MQ(M) {
        padding-top: 30px;
        font-size: 3em;
      }
      @include MQ(L) {
        padding-top: 100px;
        font-size: 4em;
      }
    }
    h4 {
      font-size: 1.7em;
      display: none !important;
      @include MQ(M) {
        display: block;
      }
    }
  }
}

.video-cover {
  background-color: rgba(0, 0, 0, 0.3);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
}

.covervid-wrapper {
  //position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 540px;
  margin: 0;
  padding: 0;
  //video {
  //  //width: 100%;
  //  position: absolute;
  //  top: 0px;
  //  min-height: 540px;
  //  height: 100%;
  //}
  //&.front {
    video {
      height: auto;
      position: absolute;
      top: 0px;
      width: 100% !important;
    }
 // }
}

// Pricing

.pricing-extras {
  margin-top: 4em;
  .row {
    margin-bottom: 2em;
    h4 {
      font-weight: 200;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 0.5em;
      font-size: 1.2em;
    }
    h5 {
      text-align: right;
    }
  }
}

.businesshub-pricing {
  padding-top: 1em;
  padding-bottom: 1em;
  .plans {
    display: table;
    box-sizing: border-box;
    width: 100%;
    border: 3px solid #e5e5e5;
    border-top: 0;
    position: relative;
    z-index: 1;
    @include border-radius(4px);
    .plan {
      display: table-cell;
      width: 33.33%;
      text-align: center;
      .ribbon {
        position: absolute;
        right: -1px;
        top: 47px;
        z-index: 2;
        @media (max-width: 991px) {
          & {
            top: 20px;
          }
        }
        @media (max-width: 767px) {
          top: 50px;
        }
      }
    }
    .title {
      padding: 55px 0 55px;
      background: $business-hub-primary-dark;
      color: #fff;
      font-weight: 500;
      font-size: 16px;
      letter-spacing: 2px;
      white-space: nowrap;
      position: relative;
      .price {
        margin: 10px 0 13px;
        font-size: 100px;
        font-weight: 500;
        .currency {
          font-size: 24px;
          vertical-align: top;
          position: relative;
          font-weight: 400;
          top: 26px;
          left: -10px;
          opacity: 0.5;
        }
        .period {
          font-size: 12px;
          vertical-align: bottom;
          position: relative;
          top: -27px;
          left: 10px;
          opacity: 0.5;
        }
      }
      .btn.btn-clear {
        padding: 6px 12px;
        border: 2px solid #fff;
        color: #fff;
        font-size: 13px;
        background: transparent;
        opacity: 0.5;
        font-weight: 500;
        &:hover, &:focus {
          border-color: #fff;
          color: #fff;
          opacity: 0.5;
        }
        &:active, &.active {
          border-color: #fff;
          color: #fff;
          opacity: 0.5;
        }
      }
    }
    .plan:first-child .title {
      margin-left: -3px;
      @include border-radius(6px 0 0 0);
    }
    .plan:last-child .title {
      margin-right: -3px;
      @include border-radius(0 6px 0 0);
    }
    .description {
      padding: 27px 40px;
      font-size: 18px;
      color: #bdc3c7;
      b {
        color: #7f8c8d;
        font-weight: 500;
      }
      .description-box {
        text-align: left;
        padding: 13px 0;
        border-top: 2px solid #ebedee;
        &:first-child {
          border-top: 0;
        }
        [class*="fui-"] {
          margin-right: 18px;
          font-size: 24px;
          vertical-align: middle;
          color: rgba(52, 73, 94, 0.2);
        }
      }
    }
    .plan-2 {
      border-left: 2px solid #e5e5e5;
      border-right: 2px solid #e5e5e5;
      .title {
        margin: 0 -2px;
        border-left: 2px solid darken($business-hub-primary-dark, 5%);
        border-right: 2px solid darken($business-hub-primary-dark, 5%);
        z-index: 3;
      }
    }
    @media (max-width: 767px) {
      display: block;
      width: auto;
      border: 0;
      @include border-radius(0);
      .plan {
        display: block;
        width: auto;
        border: 0!important;
        margin-top: 50px;
        &:first-child {
          margin-top: 0;
        }
      }
      .title {
        //@include border-radius(6px 6px 0 0);
        margin: 0!important;
      }
      .description {
        //@include border-radius(0 0 6px 6px);
        border: 3px solid #e5e5e5;
        border-top: 0;
      }
      .plan-2 .ribbon {
        right: 0;
      }
    }
  }
}

.ribbon {
  display: block;
  position: relative;
  margin: 0;
  padding: 4px 15px!important;
  @include border-radius(3px 0 0 3px);
  font-weight: 900;
  background: $business-hub-red;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
}

$bottomColor: #E2E2E1;
$topColor: lighten($bottomColor, 2%);

$border: $bottomColor;

$width: 80%;
$height: 660px;


.browser-window {
  text-align: left;
  margin: 1em auto -0.4em auto;
  width: $width;
  height: auto;
  display: block;
  border-radius: 5px;
  background-color: #fff;
}
.browser-window .top-bar {
  height: 30px;
  border-radius: 5px 5px 0 0;
  border-top: thin solid lighten($topColor, 1%);
  border-bottom: thin solid darken($bottomColor, 1%);
  background: linear-gradient($topColor, $bottomColor);
}
.browser-window .circle {
  height: 8px;
  width: 8px;
  display: inline-block;
  margin-right: 2px;
  position: relative;
  top: -4px;
  border-radius: 50%;
  background-color: lighten($topColor, 10%);
  &.circle-red {
    background-color: $salescrowd-red;
  }
  &.circle-green {
    background-color: $salescrowd-green;
  }
  &.circle-yellow {
    background-color: $salescrowd-gold;
  }
}
.browser-window .circles { margin: 5px 11px; }
.browser-window .content {
  margin: 0;
  width: 100%;
  height: 600px;
  //display: block;
  position: relative;
  border-radius: 0;
  padding: 0;
  background-color: #fafafa;
}

.browser-window .dev-tools {
  width: 100%;
  min-height: 50%;
  margin: 0;
  padding: 0;
}

.browser-window .dev-tools .bar {
  margin-top: -4px;
  border-top: thin solid $topColor;
  border-bottom: thin solid $topColor;
  color: $topColor;
  .dev-bar-content {
    padding: 10px;
    float: left;
  }
  .close {
    float: right;
    border-left: thin solid $topColor;
    padding: 10px;
  }
}

.browser-window .dev-tools .content {
  position: relative;
  width: 100%;
  min-height: 50%;
  .html {
    height: 100%;
    width: 69%;
    border-right: thin solid $topColor;
  }
  .css {
    float: right;
    height: 100%;
    width: 30%;
  }
}

.clear { clear: both; }

.morph {
  position: relative;
  z-index: 0;
  width: 100px;
  margin: 0 auto 1em auto;
  i {
    position: absolute !important;
    top: 30px;
    left: 30px;
    z-index: 1;
  }
}

// No Header Title

.no-header-title {
  padding-top: 130px;
}

// Feature Titles //

.feature-title {
  text-align: center;
  h2 {
  font-size: 2em;
  font-weight: 900;
    margin-bottom: 0.5em;
  }
}

.feature-text {
  font-size: 1.5em;
  font-weight: 900;
  color: darken($gray, 15%);
}

// Email

.email-content {
  padding-top: 125px;
  padding-bottom: 60px;
  position:relative;
  @media (max-width: 767px) {
    height: auto!important;
  }
  h3 {
    margin: 0 0 5px;
    text-align: center;
    font-size: 35px;
    font-weight: 500;
    @media (max-width: 767px) {
      margin-bottom: 15px;
    }
  }
  .lead {
    font-size: 25px;
    text-align: center;
    font-weight: 300;
    @media (max-width: 767px) {
      line-height: 1.25;
      margin-bottom: 50px;
    }
  }
  .features {
    margin-top:55px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    h6 {
      text-transform: none;
      font-size: 18px;
      font-weight: 900;
      margin-bottom: 0.5em;
    }
    .row {
      margin-top: 70px;
    }
    .col-sm-6 {
      @media (max-width: 767px) {
        display: none;
      }
      img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        @include border-radius(3px);
      }
    }
    .col-sm-2 {
      position: relative;
    }
    [class*="box"] {
      position: static;
      margin-bottom: 2em;
      @include MQ(M) {
        margin-bottom: 1em;
      }
      @include MQ(L) {
        margin-bottom: 1em;
      }
      @media (max-width: 767px) {
        position: static;
      }
      img {
        position: absolute;
        @media (max-width: 767px) {
          display: none;
        }
        &[src*="line-l"] {
          bottom: 100%;
          left: 85%;
          margin-bottom: 30px;
        }
        &[src*="line-r"] {
          top: 100%;
          right: 85%;
          margin-top: 30px;
        }
      }
    }

    @media (max-width: 480px) {
      margin-top: -35px;
      [class*="box"] {
        margin-top: 35px;
        opacity: !important;
      }
    }
  }
}


.feature-preview-wrapper {
  width: 100%;
  height: auto;
  max-height: 500px;
  position: relative;
}

/* --------------------------------

Images block

-------------------------------- */

.feature-preview-image-block {
  position: relative;

  &::before {
    /* this is the layer used to cover the .feature-preview-image-block when the content block becomes visible - mobile only */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    @include transition(opacity .3s 0s, visibility 0s .3s);
  }

  &.content-block-is-visible::before  {
    opacity: 1;
    visibility: visible;
    @include transition(opacity .3s 0s, visibility 0s 0s);
  }

  @include MQ(M) {

    &::before {
      display: none;
    }
  }
}

.feature-preview-images-list {

  &::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'mobile';
    display: none;
  }

  > li {
    height: 250px;
    background: $business-hub-primary url(../images/feature-1.jpg) no-repeat center center;
    background-size: cover;

    &:nth-of-type(2) {
      background: $business-hub-primary url(../images/feature-2.jpg) no-repeat center center;
      background-size: cover;
    }

    &:nth-of-type(3) {
      background: $business-hub-primary url(../images/feature-3.jpg) no-repeat center center;
      background-size: cover;
    }

    &:nth-of-type(4) {
      background: $business-hub-primary url(../img/img-4.jpg) no-repeat center center;
      background-size: cover;
    }
  }

  > li > a {
    /* used to vertically align the h2 child -  mobile version only */
    display: table;

    height: 100%;
    width: 100%;
  }

  h2 {
    /* used to vertically align h2 -  mobile version only */
    display: table-cell;
    vertical-align: middle;

    text-align: center;
    font-size: 3rem;
    color: $business-hub-black;
    font-weight: 700;
    @include font-smoothing;
  }

  @include MQ(M) {

    &::before {
      /* never visible - this is used in jQuery to check the current MQ */
      content: 'desktop';
    }

    > li > a {
      display: block;
      padding: 4em 3em;

      cursor: default;
      pointer-events: none;
    }

    h2 {
      font-size: 5.5rem;
      text-align: left;
    }
  }
}

/* --------------------------------

Content block

-------------------------------- */

.feature-preview-content-block {
  /* move the block outside the viewport (to the right) - mobile only */
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  @include transform(translateX(100%));
  @include transition(transform .3s);

  &.is-visible {
    @include transform(translateX(0));
  }

  > ul {
    height: 100%;
  }

  > ul > li {
    position: absolute;
    height: 100%;
    padding: 2em;
    overflow-y: scroll;
    background-color: $business-hub-grey;
    opacity: 0;
    visibility: hidden;

    &.is-selected {
      /* this is the selected content */
      position: relative;
      opacity: 1;
      visibility: visible;
      -webkit-overflow-scrolling: touch;
    }
  }

  h2 {
    line-height: 1.2;
    font-weight: 700;
    font-size: 2.3rem;
    margin-bottom: 1em;
  }

  p {
    margin-bottom: 2em;
    line-height: 1.6;
  }

  .feature-preview-close {
    /* 'X' icon to close the content block -  mobile only */
    position: fixed;
    top: 0;
    right: 0;
    height: 44px;
    width: 44px;

    /* image replacement */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: transparent;

    @include transform(scale(0));
    @include transition(transform .2s);

    &::after, &::before {
      /* these are the 2 lines of the 'X' icon */
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      width: 2px;
      height: 24px;
      background-color: $business-hub-primary;

      /* Force Hardware Acceleration */
      @include backface-visibility(hidden);
      @include transform(translateZ(0));
    }

    &::after {
      @include transform(translateX(-50%) translateY(-50%) rotate(45deg));
    }

    &::before {
      @include transform(translateX(-50%) translateY(-50%) rotate(-45deg));
    }

    &.is-scaled-up {
      @include transform(scale(1));

      .no-touch &:hover {
        @include transform(scale(1.2));
      }
    }
  }

  @include MQ(M) {
    /* reset style */
    position: static;
    @include transform(translateX(0));

    > ul > li {
      /* reset style */
      opacity: 1;
      visibility: visible;

      padding: 4em 3em;

      &.overflow-hidden {
        /* this class is used during the animation (slider change) to hide the scrolling bar */
        overflow: hidden;
      }
    }

    h2 {
      font-size: 3rem;
    }

    .feature-preview-close {
      display: none;
    }
  }
}

/* ----------------------------------------------

Desktop slider - both image and content blocks

---------------------------------------------- */

@include MQ(M) {

  .feature-preview-image-block,
  .feature-preview-content-block {
    /* slider style - desktop version only */
    @include column(.5);
    height: 500px;
    overflow: hidden;

    > ul {
      position: relative;
      height: 100%;
    }

    > ul > li {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;

      /* Force Hardware Acceleration */
      @include transform(translateZ(0));
      @include backface-visibility(hidden);
      will-change: transform;

      /* by default, the items are moved to the right - relative to their parent elements */
      @include transform(translateX(100%));
      @include transition(transform .5s);

      &.is-selected {
        /* this is the visible item */
        position: absolute;
        @include transform(translateX(0));
      }

      &.move-left {
        /* this is the item hidden on the left */
        @include transform(translateX(-100%));
      }
    }
  }
}

/* --------------------------------

Slider navigation

-------------------------------- */

.block-navigation {
  /* this is the slider navigation - desktop version only */
  display: none;

  @include MQ(M) {
    display: block;
    position: absolute;
    bottom: -492px;
    left: 0;
    width: 50%;
    @include clearfix;

    li {
      width: 50%;
      height: 50px;
      line-height: 50px;
      text-align: center;
      //background-color: rgba(#000, .5);
      @include transition(background .2s);

      &:hover {
        //background-color: rgba(#000, .7);
      }
    }

    li:first-of-type {
      float: left;
    }

    li:last-of-type {
      float: right;
    }

    button {
      display: block;
      height: 100%;
      width: 100%;
      outline: none;
      color: $color-5;
      border-radius: 0 !important;
      @include font-smoothing;

      &.inactive {
        //opacity: .3;
        cursor: not-allowed;
        left: 0;
        margin-left: 0;
      }
    }
  }
}

/* --------------------------------

Javascript disabled

-------------------------------- */
@include MQ(M) {
  .no-js .feature-preview-content-block {
    display: none;
  }

  .no-js .feature-preview-image-block {
    width: 100%;
    overflow: visible;
  }

  .no-js .feature-preview-images-list {
    @include clearfix;
  }

  .no-js .feature-preview-images-list > li {
    position: static;
    @include column(.5);
    height: 400px;
    @include transform(translateX(0));

    &.is-selected {
      position: static;
    }
  }

  .no-js .feature-preview-images-list > li > a {
    cursor: pointer;
    pointer-events: auto;
  }

  .no-js .block-navigation {
    display: none;
  }
}

#funnel {
  width: 100%;
  svg {
    width: 400px;
    margin: 0 auto;
    margin-top: 350px;
  }
}

.lifecycle {
  margin-top: 350px;
}

// Contact

.contact-us {
  margin-bottom: 2em;
}

// Maps

#map_canvas {
  height: 400px;
  width: 100%;
}

#map_canvas img {
  max-width: none;
  // to prevent UI control bug
}

#map_canvas .content {
  padding: 0 0.5em 1em 0.5em;
}

#map_canvas .firstHeading {
  font-size: 1em;
  line-height: 1em;
  font-weight: bold;
  margin: 0;
}

#map_canvas #bodyContent p {
  font-size: 1em;
  margin: 0;
}

// Video
.video-section {
  background: $business-hub-primary;
  padding-bottom: 6em;
  padding-top: 0;
  color: $white !important;
  .feature-text {
    color: $white !important;
  }
  .video-wrapper {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%; // For ratio 16:9. 75% if ratio is 4:3
    position: relative;

    embed,
    object,
    iframe {
      @include position(absolute, 0px null null 0px);
      @include size(100%);
    }
  }
}

.split {
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 100;
  &.split-email {
    background: $business-hub-primary-dark url(../images/quote-comp-2.jpg) no-repeat;
    background-size: cover;
  }
  &.split-automation {
    background: $business-hub-primary-dark url(../images/quote-comp-1.jpg) no-repeat;
    background-size: cover;
  }
  &.split-crm {
    background: $business-hub-primary-dark url(../images/quote-comp-3.jpg) no-repeat;
    background-size: cover;
  }
  .split-left {
    width: 30%;
    @include MQ(M) {
      width: 35%;
    }
    @include MQ(L) {
      width: 50%;
    }
    min-height: 600px;
    display: block;
    float: left;
  }
  .split-right {
    width: 70%;
    padding: 2em;
    @include MQ(M) {
      width: 65%;
      padding: 6em 6em 2em 6em;
    }
    @include MQ(L) {
      width: 50%;
      padding: 4em 4em 2em 4em;
    }
    min-height: 600px;
    display: block;
    float: left;
    background: rgba($black,0.7);

    h4 {
      color: $white;
      text-transform: none;
      font-size: 1em;
      font-weight: 200;
      margin-bottom: 2em;
      line-height: 1.4em;
      @include MQ(M) {
        font-size: 1.2em;
      }
      @include MQ(L) {
        font-size: 1.5em;
      }
      .quote-mark {
        font-size: 1.3em;
        font-weight: 900;
        &.left {
          padding-right: 10px;
        }
        &.right {
          padding-left: 10px;
        }

      }
      &.quote-source {
        font-size: 0.6em;
        font-weight: 900;
        text-align: right;
        margin-top: 2em;
      }
    }
  }
}
h4.crm-item {
  margin-bottom: 1em;
  font-weight: 700;
  font-size: 1em;
}
h4.sales-chart {
  margin-bottom: 1em;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
}
.deal-ui {
  border: 1px $gray solid;
  border-radius: 5px;
  padding: 1em;
  margin-bottom: 1em;
  img {
  float: left;
    width: 50px;
    height: 50px;
    border-radius: 50px !important;
    margin-right: 1em !important;
  }
  &.green {
    border-left: 5px $salescrowd-green solid;
  }
  &.orange {
    border-left: 5px $business-hub-red solid;
  }
  &.red {
    border-left: 5px $salescrowd-red solid;
  }
  .row {
    margin: 0 !important;
    padding: 0;
    width: 100%;
    h4 {
      font-weight: 900;
      font-size: 0.8em;
      margin-bottom: 0;
      margin-top: 0.75em;
    }
    .subline {
      color: $dark-gray;
      font-size: 0.7em;
      font-style: italic;
      margin-bottom: 0;
    }
    .deal-activity {
      font-size: 0.8em;
      font-style: italic;
      font-weight: 500;
      color: $salescrowd-red;
      margin-bottom: 0;
      line-height: 50px;
    }
    .deal-value {
      line-height: 50px;
      font-weight: 800;
      margin-bottom: 0;
    }
  }
}

#chart{
  position:relative;
  margin-top:40px;
  width:100%;
  height:150px;
  border-bottom: 1px $gray solid;
  margin-bottom: 2em;
}
@-webkit-keyframes bargrowth{
  0%   {max-height: 0%;}
  100%  {max-height: 100%;}
}
@keyframes bargrowth{
  0%   {max-height: 0%;}
  100%  {max-height: 100%;}
}
.bar{
  -webkit-animation: bargrowth 3000ms ease;
  animation: bargrowth 3000ms ease;
  position:absolute;
  bottom:0;
  display:inline-block;
  background: $business-hub-alt;
  //box-shadow: 1px -1px #79a300, 2px -2px #79a300, 3px -3px #79a300,   4px -4px #79a300, 5px -5px #79a300, 6px -6px #79a300, 7px -7px   #79a300, 8px -8px #79a300, 9px -9px #79a300, 10px -10px #79a300;
}