@import "bourbon";
@mixin roboto {
  font-family: 'Roboto', sans-serif;
}
@mixin robotoslab {
  font-family: 'Roboto Slab', serif;
}
@mixin clearfix {
  &:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
}
$white: #fff;
$black: #000;

[class*='gr_three_set'] {
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}
#tve_gr_three_set {
  [class*='gr_three_set'] {
    @include clearfix();
    a {
      color: #4bc3fa;
      text-decoration: underline;
      &:hover {
        text-decoration: none;
      }
    }
    h1 {
      @include robotoslab();
      color: #fff;
      font-weight: 300;
      font-size: 72px;
      line-height: 1.273em;
      letter-spacing: normal;
    }
    h2 {
      @include robotoslab();
      color: #fff;
      font-weight: 300;
      font-size: 72px;
      line-height: 1.273em;
      letter-spacing: normal;
    }
    h3 {
      @include robotoslab();
      color: #fff;
      font-weight: 300;
      font-size: 60px;
      line-height: 1.222em;
      letter-spacing: normal;
    }
    h4 {
      @include robotoslab();
      color: #fff;
      font-weight: 300;
      font-size: 48px;
      line-height: 1.222em;
      letter-spacing: normal;
    }
    h5 {
      @include robotoslab();
      color: #fff;
      font-weight: 300;
      font-size: 36px;
      line-height: 1.222em;
      letter-spacing: normal;
    }
    h6 {
      @include robotoslab();
      color: #fff;
      font-weight: 300;
      font-size: 30px;
      line-height: 1.222em;
      letter-spacing: normal;
    }
    p {
      @include roboto();
      color: #fff;
      font-size: 28px;
      font-weight: 400;
      line-height: 1.357em;
      margin-bottom: 20px;
      &.bold_text {
        font-weight: 700;
      }
    }
    blockquote {
      @include roboto();
      background: transparent;
      border: 0;
      color: #ffffff;
      font-style: normal;
      font-size: 28px;
      font-weight: 400;
      padding-left: 90px;
      position: relative;
      &:before {
        @include robotoslab();
        content: '\0201C';
        color: #ffffff;
        display: block;
        font-size: 162px;
        font-weight: 700;
        line-height: 162px;
        position: absolute;
        left: 0;
        top: -20px;
      }
    }
    ol.thrv_wrapper {
      li {
        @include roboto();
        color: #ffffff;
        font-size: 28px;
        font-weight: 400;
        line-height: 38px;
        &.bold_text {
          font-weight: 700;
        }
      }
    }
    ul.thrv_wrapper {
      li {
        @include roboto();
        color: #ffffff;
        font-size: 28px;
        font-weight: 400;
        line-height: 38px;
        &.bold_text {
          font-weight: 700;
        }
      }
    }
  }
}
#tve_gr_three_set {
  @include roboto();
  text-shadow: none;
  position: relative;
  article {
    padding-bottom: 0;
  }
  .gr-close-button {
    @include transform(translateX(-50%));
    cursor: pointer;
    margin: 0 auto;
    position: absolute;
    bottom: 20px;
    left: 50%;
  }
  .thrv-greedy-ribbon {
    padding-top: 15vh;
  }
  .tve-greedy-ribbon-content {
    @include clearfix();
    max-width: 760px;
    margin: 0 auto;
  }
  .thrv_button_shortcode {
    .tve_btn3.tve_btn {
      border-radius: 7px;
      &.tve_normalBtn {
        font-size: 28px;
        line-height: 34px !important;
        .tve_btnLink {
          color: #fff;
          padding: 20px 10px;
          text-shadow: none;
          > span {
            color: inherit;
          }
        }
      }
    }
  }
  .thrv_content_container_shortcode {
    position: relative;
    z-index: 1;
  }
  .thrv_lead_generation {
    .thrv_lead_generation_container {
      .tve_lead_generated_inputs_container {
        .thrv_icon.thrv_wrapper {
          top: 40%;
        }
      }
    }
    &.thrv_lead_generation_vertical {
      .tve_lg_submit {
        width: 49%;
      }
    }
    button {
      @include roboto();
      border-radius: 7px;
      border: 0;
      color: $white;
      font-weight: 400;
      font-size: 28px;
      line-height: 34px;
      padding: 20px 10px;
      text-shadow: none;
    }
    input[type="text"], input[type="email"] {
      @include roboto();
      border-radius: 5px;
      border: 1px solid #414141;
      background: rgba(#d9dadc, .8);
      color: #424242;
      font-size: 28px;
      font-weight: 400;
      height: auto;
      line-height: 34px;
      margin-bottom: 20px;
      padding: 19px !important;
      &:hover {
        border: 1px solid #2a2a2a;
        background: rgba(#d9dadc, .92);
        color: #424242;
      }
      &:focus {
        border: 1px solid #414141;
        background: rgba(#d9dadc, .8);
        color: #222222;
      }
    }
  }
  /*
    autoresponder elements
  */
  .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 {
            border: 2px solid #fff;
          }
          &:after {
            background: #fff;
          }
        }
      }
      + label {
        @include roboto();
        color: #e2e2e3;
        display: inline-block;
        position: relative;
        font-size: 28px;
        font-weight: 400;
        &:before {
          background-color: transparent;
          border: 2px solid rgba(#fff, .8);
          border-radius: 100%;
          content: '';
          display: inline-block;
          height: 20px;
          margin-right: 10px;
          position: relative;
          top: -2px;
          vertical-align: middle;
          width: 20px;
        }
        &:after {
          @include transition(background-color .3s);
          background-color: transparent;
          border-radius: 100%;
          content: '';
          height: 16px;
          position: absolute;
          top: 10px;
          left: 4px;
          width: 16px;
        }
      }
    }
  }
  .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 roboto();
          color: #e2e2e3;
          cursor: pointer;
          font-size: 28px;
          font-weight: 400;
          position: relative;
          padding-left: 35px;
          &:before {
            border-radius: 0;
            background-color: transparent;
            border: 2px solid rgba(#fff, .8);
            content: '';
            height: 20px;
            position: absolute;
            left: 0;
            top: 6px;
            width: 20px;
          }
          &:after {
            @include transition(all, .2s);
            content: "\02713";
            font-size: 20px;
            font-weight: 600;
            position: absolute;
            top: 3px;
            left: 5px;
          }
        }
      }
      &:not(:checked) + label:after {
        @include transform(scale(0));
        opacity: 0;
      }
      &:checked + label:after {
        @include transform(scale(1));
        color: #fff;
        opacity: 1;
      }
      &:checked + label:before {
        border: 2px solid #fff;
      }
    }
  }
  .tve_lg_dropdown {
    position: relative;
    select {
      @include appearance(none);
      @include roboto();
      background-color: #f7f8f8;
      border: 1px solid #414141;
      color: #424242;
      border-radius: 5px;
      cursor: pointer;
      display: inline-block;
      font-size: 28px;
      font-weight: 400;
      line-height: 33px;
      height: 74px;
      margin: 0;
      outline: none;
      padding-right: 40px!important;
      option {
        color: #424242;
        font-size: 28px;
        font-weight: 400;
      }
      &:hover {
        background: #f0f1f1;
      }
    }
    .tve_sc_icon {
      margin-right: 20px;
    }
    &:after {
      color: #424242;
      content: "\002C7";
      font-size: 40px;
      font-weight: 700;
      height: 20px;
      line-height: 40px;
      pointer-events: none;
      position: absolute;
      top: 30px;
      right: 20px;
      text-align: center;
      width: 20px;
    }
  }
}
$color-pallete:
'blue' #3a85d2 #5b98d6 #2b72bc #2b6aaa #4179b3 #3a85d2,
'black' #222629 #2e3438 #191d20 #101315 #242a2e #222629,
'green' #38ba38 #48c948 #26a426 #1c7b1c #2c8f2c #38ba38,
'white' #bbbbbb #cccccc #acacac #858585 #a3a3a3 #fff,
'orange' #ecb50e #fad052 #d19d00 #c28715 #cda01a #ecb50e,
'purple' #8c54c1 #a36bd8 #6f3aa2 #6f409b #8c5abb #8c54c1,
'red' #d85c36 #e16e4a #c04a26 #a44427 #c15533 #d85c36,
'teal' #5ed3b1 #7ae7c7 #2cba91 #469f85 #5db59b #5ed3b1;

@each $color in $color-pallete {
  #tve_gr_three_set {
    .thrv-greedy-ribbon.tve_#{nth($color, 1)} {
      background: nth($color, 7);
    }
    .thrv_icon.thrv_wrapper {
      span.tve_sc_icon.tve_#{nth($color, 1)} {
        color: rgba(nth($color, 7), .8);
        &:hover {
          color: nth($color, 7);
        }
      }
    }
    .thrv_button_shortcode {
      .tve_btn3.tve_#{nth($color, 1)} {
        background: nth($color, 2);
        box-shadow: 0 2px 0 0 nth($color, 5);
        &:hover {
          background: nth($color, 3);
          box-shadow: 0 2px 0 0 nth($color, 6);
        }
        &:active {
          background: nth($color, 4);
        }
      }
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      button {
        background: nth($color, 2);
        box-shadow: 0 2px 0 0 nth($color, 5);
        &:hover {
          background: nth($color, 3);
          box-shadow: 0 2px 0 0 nth($color, 6);
        }
        &:active {
          background: nth($color, 4);
        }
      }
      //input[type="radio"] {
      //  &:checked + label {
      //    &:after {
      //      background-color: nth($color, 2);
      //    }
      //  }
      //}
      //input[type="checkbox"] {
      //  &:not(:checked),
      //  &:checked {
      //    + label {
      //      &:after {
      //        color: nth($color, 2);
      //      }
      //    }
      //  }
      //}
    }
  }
}
@font-face {
  font-family: 'tve-leads-gr-three-set-icons';
  src: url('fonts/gr_three_set/gr_three_set_icons.eot?o8i8n4');
  src: url('fonts/gr_three_set/gr_three_set_icons.eot?#iefixo8i8n4') format('embedded-opentype'),
  url('fonts/gr_three_set/gr_three_set_icons.woff?o8i8n4') format('woff'),
  url('fonts/gr_three_set/gr_three_set_icons.ttf?o8i8n4') format('truetype'),
  url('fonts/gr_three_set/gr_three_set_icons.svg?o8i8n4#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="gr-three-set"], [class*=" gr-three-set"] {
  color: inherit;
  font-family: 'tve-leads-gr-three-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;
}
.gr-three-set-close:before {
  content: "\f0ab";
}
@media only screen and (max-width: 800px) {
  #tve_gr_three_set {
    .thrv-greedy-ribbon {
      padding: 50px 20px 20px;
    }
    .thrv_lead_generation.thrv_lead_generation_vertical .tve_lg_submit {
      width: 100%;
    }
    .gr-button-container {
      .tve_content_inner {
        margin-top: 0!important;
        width: 100%!important;
      }
    }
    .thrv_lead_generation {
      input[type="text"], input[type="email"] {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 5px;
        padding: 10px!important;
      }
      button {
        font-size: 20px;
        line-height: 25px;
        padding: 10px;
      }
    }
    .thrv_button_shortcode {
      margin-top: 0;
      margin-bottom: 0;
      .tve_btn3.tve_btn.tve_normalBtn {
        font-size: 20px;
        line-height: 25px!important;
        .tve_btnLink {
          padding: 10px;
        }
      }
    }
    .gr-close-button {
      bottom: 40px;
      .tve_sc_icon {
        font-size: 30px!important;
      }
    }
  }
}
@media only screen and (max-width: 500px) {
  #tve_gr_three_set {
    h2, p {
      margin-bottom: 15px!important;
    }
    p {
      font-size: 15px!important;
    }
    .gr-close-button {
      bottom: 10px;
    }
  }
}
@media only screen and (max-height: 700px) {
  #tve_gr_three_set {
    h2, p {
      margin-bottom: 15px!important;
    }
    .gr-close-button {
      bottom: 10px;
      .tve_sc_icon {
        font-size: 30px!important;
        padding: 5px;
      }
    }
  }
}
@media only screen and (max-height: 600px) {
  #tve_gr_three_set {
    h2 {
      font-size: 30px!important;
    }
    .thrv_lead_generation.thrv_lead_generation_vertical .tve_lg_submit {
      width: 100%;
    }
    .gr-button-container {
      .tve_content_inner {
        margin-top: 0!important;
        width: 100%!important;
      }
    }
    .thrv_lead_generation {
      input[type="text"], input[type="email"] {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 5px;
        padding: 10px!important;
      }
      button {
        font-size: 20px;
        line-height: 25px;
        padding: 10px;
      }
    }
    .thrv_button_shortcode {
      .tve_btn3.tve_btn.tve_normalBtn {
        font-size: 20px;
        line-height: 25px!important;
        .tve_btnLink {
          padding: 10px;
        }
      }
    }
  }
}

@import "_responsive";
