@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*='59_set'] {
  @include clearfix();
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}
#tve_59_set {
  [class*='59_set'] {
    a {
      color: inherit;
      font-family: inherit;
    }
    h1 {
      @include georgia();
      color: #444349;
      font-weight: 400;
      font-size: 35px;
      line-height: 1.25em;
      letter-spacing: normal;
      margin-bottom: 25px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h2 {
      @include georgia();
      color: #27ae60;
      font-weight: 400;
      font-size: 35px;
      line-height: 1.25em;
      letter-spacing: normal;
      margin-bottom: 25px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h3 {
      @include georgia();
      color: #444349;
      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: #444349;
      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: #444349;
      font-weight: 400;
      font-size: 14px;
      line-height: 1.364em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h6 {
      @include georgia();
      color: #444349;
      font-weight: 400;
      font-size: 12px;
      line-height: 1.364em;
      letter-spacing: normal;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    p {
      @include georgia();
      color: #444349;
      font-weight: 400;
      font-size: 16px;
      letter-spacing: normal;
      line-height: 1.25em;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    blockquote {
      @include georgia();
      background: transparent;
      border: 0;
      color: #27ae60;
      font-style: normal;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.25em;
      padding-left: 80px;
      position: relative;
      &:before {
        content: '\0201C';
        color: #27ae60;
        display: block;
        font-size: 160px;
        font-weight: 400;
        font-style: normal;
        line-height: 120px;
        position: absolute;
        left: 0;
        top: 5px;
      }
    }
    ol.thrv_wrapper {
      counter-reset: ol-counter;
      list-style-type: none;
      li {
        @include georgia();
        color: #444349;
        font-size: 16px;
        font-weight: 400;
        line-height: 30px;
        &:before {
          color: #27ae60;
          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: #444349;
        font-size: 16px;
        font-weight: 400;
        list-style-image: none;
        line-height: 30px;
        &:before {
          content: '\02218';
          color: #27ae60;
          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_59_set {
  @include georgia();
  text-shadow: none;
  [class*='59_set'] {
    .tve_p_lb_close {
      border-radius: 0;
      border: 0;
      background: #f49639;
      box-shadow: none;
      color: #fff;
      font-family: Arial;
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
      top: 7px;
      right: 7px;
    }
  }
  .thrv_wrapper.thrv_icon {
    .tve_sc_icon {
      text-shadow: 0 2px 0 rgba(#000, .19);
    }
  }
  .tve-leads-lightbox {
    .tve_p_lb_background .tve_p_lb_content {
      background-color: #fff;
      border-radius: 0;
      box-shadow: none;
      max-width: 820px;
      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: #2a2a2a;
      }
    }
    button {
      @include georgia();
      border-radius: 2px;
      border: 0;
      color: #fff;
      font-weight: 400;
      font-size: 24px;
      line-height: 32px;
      padding: 18px 10px;
      text-shadow: none;
    }
    input[type="text"], input[type="email"] {
      @include georgia();
      border-radius: 0;
      box-shadow: none;
      border: 1px solid #e1e0df;
      background: #fbfbfb;
      color: #9f9f9f;
      font-size: 16px;
      font-weight: 400;
      font-style: normal;
      height: auto;
      line-height: 32px;
      margin-bottom: 15px;
      padding: 14px 20px !important;
      &:hover {
        background: #fff;
        color: #9f9f9f;
      }
      &:focus {
        background: #fff;
        color: #2a2a2a;
      }
    }
  }
  .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: 400;
        &:before {
          background-color: #fff;
          border-radius: 100%;
          content: '';
          display: inline-block;
          height: 14px;
          margin-right: 10px;
          vertical-align: middle;
          position: relative;
          top: -1px;
          width: 14px;
        }
        &:after {
          @include transition(background-color .3s);
          background-color: transparent;
          border-radius: 100%;
          content: '';
          height: 8px;
          position: absolute;
          top: 6px;
          left: 4px;
          width: 8px;
        }
      }
    }
  }
  .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: 16px;
          font-weight: 400;
          position: relative;
          padding-left: 27px;
          &:before {
            border-radius: 1px;
            background-color: #fff;
            content: '';
            height: 14px;
            position: absolute;
            left: 0;
            top: 2px;
            width: 14px;
          }
          &:after {
            @include transition(all, .2s);
            content: "\02713";
            font-size: 13px;
            font-weight: 600;
            position: absolute;
            top: 1px;
            left: 3px;
          }
        }
      }
      &:not(:checked) + label:after {
        @include transform(scale(0));
        opacity: 0;
      }
      &:checked + label:after {
        @include transform(scale(1));
        color: #fff;
        opacity: 1;
      }
    }
  }
  .tve_lg_dropdown {
    position: relative;
    select {
      @include appearance(none);
      @include georgia();
      border: 0;
      color: #fff;
      border-radius: 2px;
      cursor: pointer;
      display: inline-block;
      font-size: 16px;
      font-weight: 400;
      line-height: 33px;
      height: 60px;
      margin: 0;
      outline: none;
      padding-right: 70px !important;
      option {
        background: #fff;
        color: #232323;
        font-size: 16px;
        font-weight: 400;
      }
    }
    .tve_sc_icon {
      margin-right: 20px;
    }
    &:after {
      background: transparent;
      border: 1px solid #fff;
      border-radius: 100%;
      color: #fff;
      content: "\002C7";
      font-size: 30px;
      font-weight: 700;
      height: 20px;
      line-height: 40px;
      pointer-events: none;
      position: absolute;
      top: 18px;
      right: 15px;
      text-align: center;
      width: 20px;
    }
  }
}
@font-face {
  font-family: 'tve-leads-59-set-icons';
  src: url('fonts/59_set/59_set_icons.eot?tm9238');
  src: url('fonts/59_set/59_set_icons.eot?#iefixtm9238') format('embedded-opentype'),
  url('fonts/59_set/59_set_icons.woff?tm9238') format('woff'),
  url('fonts/59_set/59_set_icons.ttf?tm9238') format('truetype'),
  url('fonts/59_set/59_set_icons.svg?tm9238#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="set-59"], [class*=" set-59"] {
  color: inherit;
  font-family: 'tve-leads-59-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-59-download:before {
  content: "\f019";
}
$color-pallete:
'blue' #2bbacf #109fb4 #0993a8 #41b3c5,
'black' #323232 #1b1b1b #000000 #1c1c1c,
'green' #2bc26b #10a54f #168c48 #62c18a,
'white' #ffffff #eaeeef #e0e4e6 #eff2f4,
'orange' #fac90b #efb100 #daad04 #f5cf44,
'purple' #883868 #702050 #722151 #833e67,
'red' #ff6169 #fc444c #e9252e #fe777c,
'teal' #47a39d #2a8680 #13626d #60969d;

@each $color in $color-pallete {
  #tve_59_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, 2);
    }
    .tve_cb.tve_cb5.tve_#{nth($color, 1)} {
      background: nth($color, 2);
      border: 1px solid nth($color, 3);
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      input[type='text'], input[type='email'] {
        &:focus {
          border: 1px solid nth($color, 3);
        }
      }
      button {
        @include background-image(linear-gradient(nth($color, 2), nth($color, 3)));
        border: 1px solid nth($color, 5);
        box-shadow: 0 2px 0 0 nth($color, 4);
        &:hover {
          @include background-image(linear-gradient(nth($color, 3), nth($color, 2)));
        }
      }
      select {
        @include background-image(linear-gradient(nth($color, 2), nth($color, 3)));
        border: 1px solid nth($color, 5);
        box-shadow: 0 2px 0 0 nth($color, 4);
        &:hover {
          @include background-image(linear-gradient(nth($color, 3), nth($color, 2)));
        }
      }
      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;
  }
}