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

@mixin clearfix {
  &:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
}
$white: #fff;
$black: #000;

[class*='gr_seven_set'] {
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}
#tve_gr_seven_set {
  [class*='gr_seven_set'] {
    @include clearfix();
    a {
      color: #0065bb;
      text-decoration: underline;
      &:hover {
        text-decoration: none;
      }
    }
    h1 {
      @include lato();
      color: #666666;
      font-weight: 400;
      font-size: 65px;
      line-height: 1.231em;
      letter-spacing: normal;
      margin-bottom: 30px;
    }
    h2 {
      @include lato();
      color: #666666;
      font-weight: 400;
      font-size: 65px;
      line-height: 1.108em;
      letter-spacing: normal;
      margin-bottom: 30px;
    }
    h3 {
      @include lato();
      color: #0065bb;
      font-weight: 400;
      font-size: 50px;
      line-height: 1.3em;
      letter-spacing: normal;
      margin-bottom: 30px;
    }
    h4 {
      @include lato();
      color: #666;
      font-weight: 400;
      font-size: 45px;
      line-height: 1.222em;
      letter-spacing: normal;
      margin-bottom: 30px;
    }
    h5 {
      @include lato();
      color: #0065bb;
      font-weight: 400;
      font-size: 35px;
      line-height: 1.571em;
      letter-spacing: normal;
      margin-bottom: 30px;
    }
    h6 {
      @include lato();
      color: #0065bb;
      font-weight: 400;
      font-size: 30px;
      line-height: 1.6em;
      letter-spacing: normal;
      margin-bottom: 30px;
    }
    p {
      @include lato();
      color: #666666;
      font-size: 22px;
      font-weight: 400;
      line-height: 1.636em;
      margin-bottom: 20px; 
      &.bold_text {
        font-weight: 700;
      }
    }
    blockquote {
      @include lato();
      background: transparent;
      border: 0;
      color: #666;
      font-style: normal;
      font-size: 22px;
      font-weight: 400;
      line-height: 1.636em;
      padding-left: 90px;
      position: relative;
      &:before {
        content: '\0201D';
        color: #666;
        display: block;
        font-size: 120px;
        font-weight: 700;
        font-family: 'lato';
        line-height: 120px;
        position: absolute;
        left: 0;
        top: -10px;
      }
    }
    ol.thrv_wrapper {
      counter-reset: ol-counter;
      list-style-type: none;
      li {
        @include lato();
        color: #666;
        font-size: 22px;
        font-weight: 400;
        line-height: 35px;
        &:before {
          color: #0065bb;
          content: counter(ol-counter) '.' !important;
          counter-increment: ol-counter;
          padding-right: 15px;
        }
        &.bold_text {
          font-weight: 700;
        }
      }
    }
    ul.thrv_wrapper {
      list-style-type: none;
      li {
        @include lato();
        color: #666;
        font-size: 22px;
        font-weight: 400;
        line-height: 35px;
        &:before {
          content: '\02218';
          color: #0065bb;
          padding-right: 15px;
        }
        &.bold_text {
          font-weight: 700;
        }
      }
    }
  }
  .thrv_contentbox_shortcode {
    margin-top: 0;
  }
  .tve_cb.tve_cb5 {
    border: 0;
    position: relative;
    &:before {
      @include transform(rotate(45deg));
      background: inherit;
      content: '';
      display: block;
      height: 40px;
      margin: 0 auto;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -20px;
      width: 40px;
    }
  }
  .tve_cb.tve_cb6 {
    border: 0;
    box-shadow: 0 0 6px 0 rgba(#000, .28);
  }
}
#tve_gr_seven_set {
  @include lato();
  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%;
  }
  .tve-greedy-ribbon-content {
    @include clearfix();
    margin: 0 auto;
  }
  .thrv_button_shortcode {
    .tve_btn3.tve_btn {
      @include lato();
      border-radius: 9px;
      border: 0;
      box-shadow: 0 2px 0 0 rgba(#000, .39);
      .tve_btnLink {
        color: #fff;
        text-shadow: -1px -1px 0 rgba(#000, .34);
        > span {
          color: inherit;
        }
      }
      &.tve_white {
        .tve_btnLink {
          color: #333333;
        }
      }
      &.tve_normalBtn {
        font-size: 26px;
        font-weight: 700;
        line-height: 34px !important;
        .tve_btnLink {
          padding: 17px 10px;
        }
      }
    }
  }
  .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%;
        }
      }
    }
    &.tve_white{
      button {
        color: #333;
      }
    }
    button {
      @include lato();
      border-radius: 9px;
      border: none;
      box-shadow: 0 2px 0 0 rgba(#000, .39);
      color: #fff;
      font-weight: 700;
      font-size: 26px;
      line-height: 34px;
      padding: 17px 10px;
      text-shadow: -1px -1px 0 rgba(#000, .34);
    }
    input[type="text"], input[type="email"] {
      @include lato();
      border-radius: 9px;
      border: 1px solid #cccccc;
      box-shadow: none;
      background: #fff;
      color: #000000;
      font-size: 22px;
      font-weight: 400;
      height: auto;
      line-height: 34px;
      margin-bottom: 10px;
      text-align: center;
      padding: 14px 20px!important;
      &:hover {
        background: #f3f3f3;
      }
      &:focus {
        border: 1px solid #666666;
        box-shadow: 0 0 7px 0 rgba(#000, .32) inset;
        background: #fff;
      }
    }
  }
  /*
    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: 1px solid #787878;
          }
          &:after {
            background: #787878;
          }
        }
      }
      + label {
        @include lato();
        color: #5a5a5a;
        display: inline-block;
        position: relative;
        font-size: 22px;
        font-weight: 400;
        &:before {
          background-color: transparent;
          border: 1px solid #c0c0c0;
          border-radius: 100%;
          content: '';
          display: inline-block;
          height: 18px;
          margin-right: 10px;
          position: relative;
          top: -2px;
          vertical-align: middle;
          width: 18px;
        }
        &:after {
          @include transition(background-color .3s);
          background-color: transparent;
          border-radius: 100%;
          content: '';
          height: 10px;
          position: absolute;
          top: 9px;
          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 lato();
          color: #5a5a5a;
          cursor: pointer;
          font-size: 22px;
          font-weight: 400;
          position: relative;
          padding-left: 35px;
          &:before {
            border-radius: 2px;
            background-color: transparent;
            border: 1px solid #c0c0c0;
            content: '';
            height: 18px;
            position: absolute;
            left: 0;
            top: 3px;
            width: 18px;
          }
          &:after {
            @include transition(all, .2s);
            content: "\02713";
            font-size: 18px;
            font-weight: 600;
            position: absolute;
            top: 0;
            left: 3px;
          }
        }
      }
      &:not(:checked) + label:after {
        @include transform(scale(0));
        opacity: 0;
      }
      &:checked + label:after {
        @include transform(scale(1));
        color: #787878;
        opacity: 1;
      }
    }
  }
  .tve_lg_dropdown {
    position: relative;
    select {
      @include appearance(none);
      @include lato();
      background-color: #fff;
      border: 1px solid #cccccc;
      box-shadow: none;
      color: #666666;
      border-radius: 9px;
      cursor: pointer;
      display: inline-block;
      font-size: 24px;
      font-weight: 400;
      line-height: 33px;
      height: 67px;
      margin: 0;
      outline: none;
      text-align: center;
      padding-right: 40px!important;
      option {
        color: #5e5e5e;
        font-size: 22px;
        font-weight: 300;
      }
      &:hover {
        background: #f3f3f3;
      }
    }
    .tve_sc_icon {
      margin-right: 20px;
    }
    &:after {
      border: 1px solid #a3a3a3;
      border-radius: 50%;
      color: #a3a3a3;
      content: "\02228";
      display: block;
      font-size: 18px;
      font-weight: 700;
      height: 22px;
      line-height: 22px;
      pointer-events: none;
      position: absolute;
      top: 22px;
      right: 20px;
      text-align: center;
      width: 22px;
    }
  }
}
$color-pallete:
'blue' #318bd9 #1470bf #1e86e0 #318bd9,
'black' #757575 #4d4d4d #828282 #757575,
'green' #73a20e #5d8800 #75ac00 #73a20e,
'white' #e7e7e7 #cdcdcd #ededed #ffffff,
'orange' #e86d1a #da5b06 #ec6a13 #e86d1a,
'purple' #9925cf #810cb8 #a121dd #9925cf,
'red' #e21313 #cf0000 #f01313 #e21313,
'teal' #23bf91 #1dab81 #1bcb97 #23bf91;

@each $color in $color-pallete {
  #tve_gr_seven_set {
    .thrv-greedy-ribbon.tve_#{nth($color, 1)} {
      background: nth($color, 3);
    }
    .tve_cb5.tve_#{nth($color, 1)} {
      background: nth($color, 5);
    }
    .tve_cb6.tve_#{nth($color, 1)} {
      background: rgba(nth($color, 5), .8);
    }
    .thrv_icon.thrv_wrapper {
      span.tve_sc_icon.tve_#{nth($color, 1)} {
        color: nth($color, 5);
      }
    }
    .thrv_button_shortcode {
      .tve_btn3.tve_#{nth($color, 1)} {
        background: nth($color, 2);
        &:hover {
          background: nth($color, 3);
        }
        &:active {
          background: nth($color, 4);
        }
      }
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      button {
        background: nth($color, 2);
        &:hover {
          background: nth($color, 3);
        }
        &:active {
          background: nth($color, 4);
        }
      }
    }
  }
}
@font-face {
  font-family: 'tve-leads-gr-seven-set-icons';
  src: url('fonts/gr_seven_set/gr_seven_set_icons.eot?o8i8n4');
  src: url('fonts/gr_seven_set/gr_seven_set_icons.eot?#iefixo8i8n4') format('embedded-opentype'),
  url('fonts/gr_seven_set/gr_seven_set_icons.woff?o8i8n4') format('woff'),
  url('fonts/gr_seven_set/gr_seven_set_icons.ttf?o8i8n4') format('truetype'),
  url('fonts/gr_seven_set/gr_seven_set_icons.svg?o8i8n4#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="gr-seven-set"], [class*=" gr-seven-set"] {
  color: inherit;
  font-family: 'tve-leads-gr-seven-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-seven-set-close:before {
  content: "\e602";
}
@media only screen and (max-width: 980px) {
  #tve_gr_seven_set {
    .gr-seven-set-image {
      display: none!important;
    }
    .thrv_content_container_shortcode {
      .tve_content_inner {
        margin-top: 40px!important;
      }
    }
  }
}
@media only screen and (max-width: 800px) {
  #tve_gr_seven_set {
    .thrv-greedy-ribbon {
      padding: 0 0 20px;
    }
    h2 {
      font-size: 30px!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_seven_set {
    h2, p {
      margin-bottom: 15px!important;
    }
    p {
      font-size: 15px!important;
    }
    .gr-close-button {
      bottom: 10px;
    }
  }
}
@media only screen and (max-height: 850px) {
  #tve_gr_seven_set {
    .gr-seven-set-image {
      display: none!important;
    }
    .thrv_content_container_shortcode {
      .tve_content_inner {
        margin-top: 40px!important;
      }
    }
  }
}
@media only screen and (max-height: 700px) {
  #tve_gr_seven_set {
    h2, p {
      margin-bottom: 15px!important;
    }
    h2 {
      font-size: 30px !important;
    }
    .gr-close-button {
      bottom: 10px;
      .tve_sc_icon {
        font-size: 30px!important;
        padding: 5px;
      }
    }
  }
}
@media only screen and (max-height: 600px) {
  #tve_gr_seven_set {
    h2 {
      font-size: 30px!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";
