@import "bourbon";

@mixin opensans {
  font-family: 'Open Sans', sans-serif;
}

@mixin roboto {
  font-family: 'Roboto', sans-serif;
}

@mixin clearfix {
  &:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
}

@font-face {
  font-family: 'tve-leads-ten-set-icons';
  src: url('fonts/ten_set/ten_set_icons.eot?t7in4t');
  src: url('fonts/ten_set/ten_set_icons.eot?#iefixt7in4t') format('embedded-opentype'),
  url('fonts/ten_set/ten_set_icons.woff?t7in4t') format('woff'),
  url('fonts/ten_set/ten_set_icons.ttf?t7in4t') format('truetype'),
  url('fonts/ten_set/ten_set_icons.svg?t7in4t#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

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

[class*='ten_set'] {
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}

body {
  #tve_ten_set {
    [class*='ten_set'] {
      @include clearfix();
      a {
        color: inherit;
      }
      h2 {
        @include opensans();
        color: #fff;
        font-weight: 300;
        font-size: 53px;
        line-height: 60px;
        letter-spacing: normal;
        .bold_text {
          font-weight: 600;
        }
      }
      p {
        color: #fff;
        font-size: 20px;
        line-height: 34px;
        letter-spacing: normal;
        margin-bottom: 20px;
        .bold_text {
          font-weight: 400;
        }
      }
      h2 {
        clear: none;
        padding-bottom: 0;
      }
    }
  }
}

#tve_ten_set {
  @include opensans();
  text-shadow: none;
  article {
    padding-bottom: 0;
  }
  .thrv_button_shortcode {
    margin-top: 0;
  }
  .tve_btn.tve_btn3 {
    border-radius: 100px;
    box-shadow: none;
    @include opensans();
    color: $white;
    font-weight: 600;
    &.tve_bigBtn {
      a {
        font-size: 50px;
        padding: 39px;
      }
    }
    .tve_btnLink {
      text-shadow: none;
    }
    &.tve_white {
      a {
        span {
          color: #fff;
        }
      }
      &:hover, &:active {
        a {
          span {
            color: #333;
          }
        }
      }
    }
  }
  .ten_set_multistep_option {
    position: absolute;
    top: -110px;
    right: -210px;
  }
  .thrv_lead_generation {
    &.tve_white {
      button {
        color: #fff;
        &:hover, &:active {
          color: #333;
        }
      }
    }
    button {
      border-radius: 100px;
      @include opensans();
      text-shadow: none;
      box-shadow: none;
      border-top: 0;
      color: $white;
      font-weight: 600;
      font-size: 28px;
      line-height: 31px;
      padding: 24px 10px;
    }
    input[type="text"], input[type="email"] {
      border-radius: 5px;
      @include opensans();
      box-shadow: none;
      border: 1px solid rgba(#000, .1);
      background: $white;
      color: #999;
      font-size: 20px;
      font-weight: 400;
      height: auto;
      line-height: 31px;
      margin-bottom: 10px;
      padding: 21px 20px !important;
      &:hover {
        box-shadow: 0 0 5px 0 rgba(#000, .25);
      }
      &:active {
        box-shadow: 0 0 0 3px rgba(#000, .25);
        color: #000000;
      }
    }
  }
  //multistep
  [class*='tve_ten_set_vms'] {
    //post footer
    &.thrv-leads-form-box {
      border-radius: 9px;
      border: 0;
      &.tve_teal {
        background: #72bab9;
      }
      .ten_set_multistep_option {
        display: none;
      }
    }
    .thrv_icon {
      border: 0;
    }
    .tve_p_lb_close {
      border: 1px solid #fff;
      background: none;
      color: #fff;
      top: 15px;
      right: 15px;
    }
    #tve-p-scroller {
      padding: 55px 70px 10px;
    }
    .tve_twc {
      position: relative;
    }
    &.tve-leads-lightbox {
      .tve_p_lb_content {
        border-radius: 9px;
        background: #72bab9;
        max-width: 1060px;
      }
    }
    &.tve_ten_set_vms_step1 {
      p {
        @include opensans();
        color: #464646;
        font-weight: 400;
      }
    }
    &.tve_ten_set_vms_step2 {
      p {
        @include roboto();
        color: #fff;
        font-weight: 300;
      }
    }
  }
}

$color-pallete: 'blue' #263248 #263248 #6c7483 #202b3d,
'black' #131313 #131313 #5f5f5f #0a0a0a,
'green' #1f8a70 #1f8a70 #67b09e #1a755f,
'white' transparent #fff #dcdcdc #c6c0c0,
'orange' #edc332 #edc332 #f3d674 #caa62b,
'purple' #421a3a #421a3a #7f6479 #381631,
'red' #8f191f #8f191f #b36367 #7a151a,
'teal' #057c89 #057c89 #55a6af #046a75;

@each $color in $color-pallete {
  #tve_ten_set {
    .thrv-leads-form-box.tve_#{nth($color, 1)} {
      background: nth($color, 3);
    }
    [class*='tve_ten_set_vms'] {
      .thrv_icon {
        span.tve_sc_icon.tve_#{nth($color, 1)} {
          color: nth($color, 3);
        }
      }
    }
    .tve_btn.tve_btn3.tve_#{nth($color, 1)} {
      background: nth($color, 2);
      border: 1px solid nth($color, 3);
      &:hover {
        border: 1px solid nth($color, 4);
        background: nth($color, 4);
      }
      &:active {
        border: 1px solid nth($color, 5);
        background: nth($color, 5);
      }
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      button {
        background: nth($color, 2);
        border: 1px solid nth($color, 3);
        &:hover {
          border: 1px solid nth($color, 4);
          background: nth($color, 4);
        }
        &:active {
          border: 1px solid nth($color, 5);
          background: nth($color, 5);
        }
      }
    }
  }
}

[class^="ten-set"], [class*=" ten-set"] {
  color: inherit;
  font-family: 'tve-leads-ten-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;
}

.ten-set-icon-mail:before {
  content: "\f03c";
}

@import "_responsive";

@media only screen and (max-width: 1080px) {
  #tve_ten_set {
    .ten_set_multistep_option {
      display: none;
    }
    .thrv_columns {
      margin-top: 10px !important;
    }
  }
}

@media only screen and (max-width: 940px) {
  #tve_ten_set {
    .tve_content_inner {
      float: none;
      margin: 0 auto;
    }
  }
}

@media only screen and (max-width: 774px) {
  body {
    #tve_ten_set {
      h2 {
        line-height: 35px;
      }
    }
  }
}

@media only screen and (max-width: 540px) {
  #tve_ten_set {
    [class*="tve_ten_set_vms"] {
      #tve-p-scroller {
        padding: 20px;
      }
    }
    .tve_btn.tve_bigBtn {
      min-width: 10px;
    }
    .thrv_lead_generation button {
      font-size: 20px;
    }
  }
}
