@import "bourbon";
@mixin georgia {
  font-family: 'Georgia', sans-serif;
}

$white: #fff;
$black: #000;

@mixin clearfix {
  &:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
}
[class*='57_set'] {
  @include clearfix();
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}
#tve_57_set {
  [class*='57_set'] {
    a {
      color: #1e3649;
    }
    h1 {
      @include georgia();
      color: #5d5d5d;
      font-weight: 400;
      font-size: 34px;
      line-height: 1.25em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h2 {
      @include georgia();
      color: #5d5d5d;
      font-weight: 400;
      font-size: 34px;
      line-height: 1.25em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h3 {
      @include georgia();
      color: #5d5d5d;
      font-weight: 400;
      font-size: 24px;
      line-height: 1.25em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h4 {
      @include georgia();
      color: #5d5d5d;
      font-weight: 400;
      font-size: 18px;
      line-height: 1.286em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h5 {
      @include georgia();
      color: #5d5d5d;
      font-weight: 700;
      font-size: 14px;
      line-height: 1.364em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h6 {
      @include georgia();
      color: #5d5d5d;
      font-weight: 700;
      font-size: 12px;
      line-height: 1.364em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    p {
      @include georgia();
      color: #595959;
      font-weight: 400;
      font-size: 18px;
      letter-spacing: normal;
      line-height: 1.333em;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    blockquote {
      @include georgia();
      background: transparent;
      border: 0;
      border-left: 4px solid #64a4d7;
      color: #595959;
      font-style: italic;
      font-size: 18px;
      font-weight: 400;
      line-height: 1.333em;
      padding: 8px 0 8px 20px;
      position: relative;
    }
    ol.thrv_wrapper {
      counter-reset: ol-counter;
      list-style-type: none;
      li {
        @include georgia();
        color: #595959;
        font-size: 18px;
        font-weight: 400;
        line-height: 30px;
        &:before {
          color: #595959;
          content: counter(ol-counter) '.' !important;
          counter-increment: ol-counter;
          font-weight: 400;
          padding-right: 10px;
        }
        &.bold_text {
          font-weight: 700;
        }
      }
    }
    ul.thrv_wrapper {
      list-style-type: none;
      li {
        @include georgia();
        color: #595959;
        font-size: 18px;
        font-weight: 400;
        line-height: 30px;
        &:before {
          content: '\02218';
          color: #64a4d7;
          font-weight: 400;
          font-size: 30px;
          line-height: 15px;
          padding-right: 10px;
          position: relative;
          top: 2px;
        }
        &.bold_text {
          font-weight: 700;
        }
      }
    }
    h1, h2, h3, h4, h5, h6 {
      clear: none;
      padding-bottom: 0;
      text-transform: none;
    }
  }
}
#tve_57_set {
  @include georgia();
  text-shadow: none;
  [class*='57_set'] {
    .tve_p_lb_close {
      border-radius: 0;
      border: 2px solid #fff;
      background: #71b6d5;
      box-shadow: none;
      color: #fff;
      font-family: Arial;
      font-size: 10px;
      font-weight: 400;
      line-height: 20px;
      top: -10px;
      right: -10px;
    }
  }
  //.thrv_wrapper.thrv_icon.tve_brdr_solid {
  //  border: 5px solid #fff;
  //  border-radius: 65%;
  //  .tve_sc_icon {
  //    border-radius: 60px;
  //    color: #fff;
  //    padding: 17px;
  //  }
  //}
  .tve-leads-lightbox {
    .tve_p_lb_background .tve_p_lb_content {
      background-color: #fff;
      border-radius: 0;
      box-shadow: none;
      max-width: 740px;
      padding: 0 !important;
    }
    #tve_editor {
      .tve_p_lb_control {
        padding: 20px 40px;
      }
    }
  }
  .thrv-leads-form-box {
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    padding: 25px 0;
  }
  article {
    padding-bottom: 0;
  }
  .thrv_contentbox_shortcode {
    margin-top: 0;
    margin-bottom: 0;
    .tve_cb.tve_cb5 {
      border-radius: 0;
      .tve_cb_cnt {
        padding: 20px;
      }
      p {
        text-shadow: none;
      }
    }
  }
  .thrv_lead_generation {
    &.tve_white.thrv_wrapper {
      button {
        color: #4a4a4a;
      }
    }
    button {
      @include georgia();
      border-radius: 0;
      border: 0;
      color: #fff;
      font-weight: 400;
      font-size: 32px;
      line-height: 32px;
      padding: 26px 10px;
      text-shadow: none;
    }
    input[type="text"], input[type="email"] {
      @include georgia();
      border-radius: 0;
      box-shadow: none;
      border: 1px solid #e4e4e4;
      background: #fbfbfb;
      color: #9f9f9f;
      font-size: 18px;
      font-weight: 400;
      font-style: italic;
      height: auto;
      line-height: 32px;
      margin-bottom: 10px;
      padding: 18px 20px !important;
      &:hover {
        border: 1px solid #cacaca;
        color: #4a4a4a;
      }
    }
  }
  .tve_lg_radio_wrapper {
    display: inline-block;
    position: relative;
    padding: 5px 20px 5px 0;
    input[type="radio"] {
      cursor: pointer;
      height: 100%;
      margin: 0;
      padding: 0;
      opacity: 0;
      position: absolute;
      left: 0;
      top: 0;
      z-index: 5;
      width: 100%;
      &:checked {
        + label {
          &:before {
            background: #fff;
          }
        }
      }
      + label {
        @include georgia();
        color: #707070;
        display: inline-block;
        position: relative;
        font-size: 16px;
        font-weight: 300;
        &:before {
          background-color: #fff;
          border-radius: 100%;
          content: '';
          display: inline-block;
          height: 18px;
          margin-right: 10px;
          vertical-align: middle;
          position: relative;
          top: -1px;
          width: 18px;
        }
        &:after {
          @include transition(background-color .3s);
          background-color: transparent;
          border-radius: 100%;
          content: '';
          height: 10px;
          position: absolute;
          top: 5px;
          left: 5px;
          width: 10px;
        }
      }
    }
  }
  .tve_lg_checkbox_wrapper {
    display: inline-block;
    position: relative;
    padding: 5px 20px 5px 0;
    width: auto;
    input[type="checkbox"] {
      &:not(:checked),
      &:checked {
        position: absolute;
        visibility: hidden;
        + label {
          @include georgia();
          color: #575757;
          cursor: pointer;
          font-size: 17px;
          font-weight: 300;
          position: relative;
          padding-left: 27px;
          &:before {
            border-radius: 1px;
            background-color: #fff;
            content: '';
            height: 17px;
            position: absolute;
            left: 0;
            top: 2px;
            width: 17px;
          }
          &:after {
            @include transition(all, .2s);
            content: "\02713";
            font-size: 13px;
            font-weight: 600;
            position: absolute;
            top: 2px;
            left: 4px;
          }
        }
      }
      &:not(:checked) + label:after {
        @include transform(scale(0));
        opacity: 0;
      }
      &:checked + label:after {
        @include transform(scale(1));
        color: #fff;
        opacity: 1;
      }
    }
  }
  .tve_lg_dropdown {
    border: 1px solid #cacaca;
    background: #fbfbfb;
    position: relative;
    select {
      @include appearance(none);
      @include georgia();
      border: 0;
      color: #4a4a4a;
      border-radius: 5px;
      cursor: pointer;
      display: inline-block;
      font-size: 18px;
      font-weight: 400;
      line-height: 33px;
      height: 68px;
      margin: 0;
      outline: none;
      padding-right: 70px !important;
      option {
        background: #fbfbfb;
        color: #4a4a4a;
        font-size: 18px;
        font-weight: 400;
      }
    }
    .tve_sc_icon {
      margin-right: 20px;
    }
    &:after {
      background: #f5f5f5;
      border-left: 1px solid #cacaca;
      color: #4a4a4a;
      content: "\002C7";
      font-size: 48px;
      font-weight: 700;
      height: 68px;
      line-height: 95px;
      pointer-events: none;
      position: absolute;
      top: 0;
      right: 0;
      text-align: center;
      width: 68px;
    }
  }
  .thrv_progress_bar {
    @include georgia();
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 40px;
    overflow: hidden;
  }
  .tve_progress_bar {
    box-shadow: 0 1px 3px 0 rgba(#c2c2c2, .65) inset;
    background: #f0eeee;
    height: 15px;
    overflow: visible;
    position: relative;
    .tve_progress_bar_fill {
      height: 16px;
    }
    .tve_data_element_label {
      @include transform(translateY(-100%));
      background: none;
      color: #9a9a9a;
      font-size: 24px;
      line-height: 25px;
      margin: 0 auto;
      left: 0;
      right: 0;
      top: -8px;
      position: absolute;
      text-align: center;
    }
  }
}
@font-face {
  font-family: 'tve-leads-57-set-icons';
  src: url('fonts/57_set/57_set_icons.eot?tm9238');
  src: url('fonts/57_set/57_set_icons.eot?#iefixtm9238') format('embedded-opentype'),
  url('fonts/57_set/57_set_icons.woff?tm9238') format('woff'),
  url('fonts/57_set/57_set_icons.ttf?tm9238') format('truetype'),
  url('fonts/57_set/57_set_icons.svg?tm9238#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="set-57"], [class*=" set-57"] {
  color: inherit;
  font-family: 'tve-leads-57-set-icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.set-57-hand:before {
  content: "\f0a4";
}
$color-pallete:
'blue' #64a4d7 #72b1e3 #5497cc #eff2f8,
'black' #4b4b4b #6b6b6b #3a3a3a #c8c8c8,
'green' #1bbc9b #27cdab #12aa8b #c2eee5,
'white' #eeefef #ffffff #c8cdce #fff,
'orange' #fa9e4c #ffaa5f #e67e22 #ffdcbe,
'purple' #dc626f #e7717e #ca4d5a #ffcad0,
'red' #e74c3c #f25b4b #d73524 #fcc2bc,
'teal' #1ba39c #26b5ae #12968f #c0e3e2;

@each $color in $color-pallete {
  #tve_57_set {
    .thrv_icon.thrv_wrapper {
      span.tve_sc_icon.tve_#{nth($color, 1)} {
        color: nth($color, 2);
      }
    }
    .thrv-leads-form-box.tve_#{nth($color, 1)} {
      background: nth($color, 3);
    }
    .tve_cb.tve_cb5.tve_#{nth($color, 1)} {
      background: nth($color, 5);
      border: 1px solid darken(nth($color, 5), 10%);
    }
    .thrv_progress_bar.tve_#{nth($color, 1)} {
      .tve_progress_bar_fill {
        @include background-image(linear-gradient(nth($color, 3), nth($color, 4)));
      }
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      input[type='text'], input[type='email'] {
        &:focus {
          border: 1px solid nth($color, 3);
        }
      }
      button {
        background: nth($color, 2);
        &:hover {
          background: nth($color, 3);
        }
        &:active {
          background: nth($color, 4);
        }
      }
      input[type="radio"] {
        + label {
          &:before {
            border: 1px solid nth($color, 2);
          }
        }
        &:checked + label {
          &:after {
            background-color: nth($color, 2);
          }
        }
      }
      input[type="checkbox"] {
        + label {
          &:before {
            border: 1px solid nth($color, 2);
          }
        }
        &:checked {
          + label {
            &:before {
              background: nth($color, 2);
            }
          }
        }
      }
    }
  }
}
@import "_responsive";

@media only screen and (max-width: 540px) {
  #tve_57_set .thrv_lead_generation button {
    font-size: 20px;
    padding: 10px;
  }
}