@import "bourbon";

@mixin lato {
  font-family: 'Lato', sans-serif;
}

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

@font-face {
  font-family: 'tve-leads-eleven-set-icons';
  src: url('fonts/eleven_set/eleven_set_icons.eot?-kbj5hd');
  src: url('fonts/eleven_set/eleven_set_icons.eot?#iefix-kbj5hd') format('embedded-opentype'),
  url('fonts/eleven_set/eleven_set_icons.woff?-kbj5hd') format('woff'),
  url('fonts/eleven_set/eleven_set_icons.ttf?-kbj5hd') format('truetype'),
  url('fonts/eleven_set/eleven_set_icons.svg?-kbj5hd#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

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

[class*='eleven_set'] {
  @include clearfix();
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}

body {
  #tve_eleven_set {
    [class*='eleven_set'] {
      a {
        color: inherit;
      }
      h2 {
        @include lato();
        color: #fff;
        font-weight: 400;
        font-size: 60px;
        line-height: 60px;
        letter-spacing: normal;
        .bold_text {
          color: #94dd5d;
          font-weight: 700;
        }
      }
      h3 {
        @include lato();
        color: #fff;
        font-weight: 400;
        font-size: 50px;
        line-height: 60px;
        letter-spacing: normal;
        .bold_text {
          color: #94dd5d;
          font-weight: 700;
        }
      }
      h4 {
        @include lato();
        color: #fff;
        font-weight: 300;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: normal;
      }
      p {
        color: #fff;
        font-size: 18px;
        line-height: 24px;
        letter-spacing: normal;
        margin-bottom: 20px;
      }
      h2, h3, h4 {
        clear: none;
        padding-bottom: 0;
      }
    }
  }
}

#tve_eleven_set {
  @include lato();
  text-shadow: none;
  article {
    padding-bottom: 0;
  }
  .tve_btn.tve_btn5 {
    border-radius: 5px;
    box-shadow: 0 0 0 6px rgba(#000, .33);
    @include lato();
    border: 0;
    color: $white;
    font-weight: 600;
    .tve_btn_divider {
      background: rgba(#000, .08);
      border-left: 1px solid rgba(#fff, .15);
    }
    .tve_sc_icon {
      font-size: 33px;
      margin-right: 10px;
    }
    .tve_btn_txt {
      padding-left: 20px;
    }
    &.tve_normalBtn {
      a {
        font-size: 20px;
        padding: 21px 20px;
      }
    }
    .tve_btnLink {
      text-shadow: none;
    }
    &.tve_white {
      a {
        span {
          color: #fff;
        }
      }
      &:hover, &:active {
        a {
          span {
            color: #333;
          }
        }
      }
    }
  }
  .thrv_lead_generation {
    &.tve_white {
      button {
        color: #fff;
        &:hover, &:active {
          color: #333;
        }
      }
    }
    .tve_submit_container {
      padding: 6px;
    }
    button {
      border-radius: 5px;
      @include lato();
      text-shadow: none;
      box-shadow: 0 0 0 6px rgba(#000, .33);
      border: 0;
      color: $white;
      font-weight: 700;
      font-size: 24px;
      line-height: 31px;
      padding: 21px 10px;
    }
    input[type="text"], input[type="email"] {
      border-radius: 5px;
      @include lato();
      box-shadow: none;
      border: 0;
      background: $white;
      color: #666;
      font-size: 20px;
      font-weight: 300;
      height: auto;
      line-height: 26px;
      margin-bottom: 20px;
      padding: 25px 20px !important;
      &:hover {
        box-shadow: 0 1px 0 0 #e8e8e8 inset,
        0 -1px 0 0 #e3e3e3;
      }
      &:active {
        box-shadow: 2px 0 10px 0 rgba(#000, .1) inset,
        0 0 0 1px #cccccc;
        background: #000;
        color: #fff;
      }
    }
  }
  //post footer
  .thrv-leads-form-box {
    border: 0;
  }
  //multistep
  [class*='tve_eleven_set_vms'] {
    .tve_p_lb_close {
      border: none;
      background: rgba(#000, .31);
      color: #1e90d1;
      top: 15px;
      right: 15px;
    }
    #tve-p-scroller {
      padding: 55px 100px 10px;
    }
    &.tve-leads-lightbox {
      .tve_p_lb_content {
        border-radius: 0;
        max-width: 1000px;
      }
    }
  }
}

$color-pallete: 'blue' #4192d9 #3475ae #2c6393 #9ecae3,
'black' #282829 #242424 #1f1f1f #c0c0c0,
'green' #62b227 #4e8e1f #42791a #deefd1,
'white' #dddcdd #b0b0b0 #969595 #dddcdd,
'orange' #f9722e #c75b25 #a94d1f #ffdbc8,
'purple' #723147 #5b2739 #4d2130 #ffdfea,
'red' #d13f32 #a83328 #9d2719 #ffd3cf,
'teal' #11b5b9 #0e9295 #0c7b7e #afeced;

@each $color in $color-pallete {
  #tve_eleven_set {
    .thrv-leads-form-box.tve_#{nth($color, 1)} {
      background: nth($color, 2);
    }
    .tve_btn.tve_btn5.tve_#{nth($color, 1)} {
      @include linear-gradient(nth($color, 2) 0%, nth($color, 3) 100%);
      &:hover {
        @include linear-gradient(nth($color, 3) 0%, nth($color, 2) 100%);
      }
      &:active {
        background: nth($color, 4);
      }
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      input[type="text"], input[type="email"] {
        &:hover {
          background: nth($color, 5);
        }
      }
      button {
        @include linear-gradient(nth($color, 2) 0%, nth($color, 3) 100%);
        &:hover {
          @include linear-gradient(nth($color, 3) 0%, nth($color, 2) 100%);
        }
        &:active {
          background: nth($color, 4);
        }
      }
    }
  }
}

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

.eleven-set-icon-beginner:before {
  content: "\35";
}

.eleven-set-icon-advanced:before {
  content: "\65";
}

@import "_responsive";

@media only screen and (max-width: 774px) {
  #tve_eleven_set {
    [class*="tve_eleven_set_vms"] {
      #tve-p-scroller {
        padding: 20px;
      }
      h2 {
        line-height: 1.2em;
        margin-bottom: 20px !important;
      }
      .ten_set_multistep_option {
        display: none;
      }
    }
  }
}
