@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-seven-set-icons';
  src: url('fonts/seven_set/seven_set_icons.eot?-o8i8n4');
  src: url('fonts/seven_set/seven_set_icons.eot?#iefix-o8i8n4') format('embedded-opentype'),
  url('fonts/seven_set/seven_set_icons.woff?-o8i8n4') format('woff'),
  url('fonts/seven_set/seven_set_icons.ttf?-o8i8n4') format('truetype'),
  url('fonts/seven_set/seven_set_icons.svg?-o8i8n4#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

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

.seven-set-icon-lock:before {
  content: "\e600";
}

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

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

body {
  #tve_seven_set {
    a {
      color: inherit;
    }
    &.tl-style {
      h2 {
        @include lato();
        color: #ffffff;
        font-size: 32px;
        font-weight: 300;
        letter-spacing: normal;
        line-height: 35px;
        .bold_text {
          color: #90b348;
          font-weight: 700;
        }
        &.bold_text {
          color: #90b348;
          font-weight: 700;
        }
      }
    }
    .tve_p_lb_close {
      z-index: 3;
    }
    .tve_image_caption {
      img {
        box-shadow: none;
        margin-bottom: 0;
        margin-top: 0;
      }
    }
    h1 {
      @include lato();
      color: #333333;
      font-size: 45px;
      font-weight: 300;
      letter-spacing: normal;
      line-height: 50px;
      .bold_text {
        color: #90b348;
        font-weight: 400;
      }
      &.bold_text {
        color: #90b348;
        font-weight: 400;
      }
    }
    h3 {
      @include lato();
      color: $white;
      font-size: 25px;
      font-weight: 300;
      letter-spacing: normal;
      line-height: 30px;
      .bold_text {
        color: #1d8bb7;
        font-weight: 400;
      }
      &.bold_text {
        color: #1d8bb7;
        font-weight: 400;
      }
    }
    h4 {
      @include lato();
      color: #333333;
      font-size: 24px;
      font-weight: 400;
      letter-spacing: normal;
      line-height: 26px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h5 {
      @include lato();
      color: #333333;
      font-size: 20px;
      font-weight: 400;
      letter-spacing: normal;
      line-height: 25px;
      &.bold_text {
        font-weight: 700;
      }
    }
    h6 {
    }
    p {
      @include lato();
      color: #666666;
      font-size: 20px;
      font-weight: 300;
      letter-spacing: normal;
      line-height: 22px;
      margin-bottom: 20px;
    }
    .bold_text {
      font-weight: 700;
    }
    h1, h2, h3, h4, h5, h6 {
      clear: none;
      padding-bottom: 0;
    }
    .tve_sep1 {
      border-top: 1px solid #dfdfdf;
      background-image: none;
    }
    .thrv_wrapper {
      .tve_sep2 {
        border-top: 6px solid #7c9646;
        background-image: none;
        height: 1px;
        margin-top: 0;
        margin-bottom: 0;
      }
      .tve_sep3 {
        border-top: 1px solid #343434;
        background-image: none;
        height: 1px;
        margin-top: 0;
        margin-bottom: 0;
      }
    }
    blockquote {
      @include lato();
      background: transparent;
      border: 0;
      color: #666666;
      font-size: 22px;
      font-weight: 300;
      font-style: italic;
      line-height: 30px;
      margin: 0;
      padding: 0 0 0 60px;
      position: relative;
      &:before {
        border-radius: 50%;
        background: #cfcfcf;
        content: '\0201C';
        color: $white;
        display: block;
        height: 40px;
        font-family: Georgia;
        font-size: 72px;
        font-style: normal;
        line-height: 1em;
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
        width: 40px;
      }
    }
  }
}

#tve_seven_set {
  @include lato();
  text-shadow: none;
  article {
    padding-bottom: 0;
  }
  ol.thrv_wrapper {
    font-size: 16px;
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 20px;
    padding-bottom: 0;
    text-align: left;
    li {
      @include lato();
      color: #505050;
      font-size: inherit;
      font-weight: 400;
      line-height: 20px;
      padding-left: 10px;
      position: relative;
      &.bold_text {
        font-weight: 700;
      }
    }
  }
  #tve_editor {
    ul.thrv_wrapper {
      li {
        margin-bottom: 15px;
      }
    }
  }
  ul.thrv_wrapper {
    font-size: 18px;
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 30px;
    padding-left: 0;
    padding-bottom: 0;
    text-align: left;
    li {
      @include lato();
      color: #fff;
      font-size: inherit;
      font-weight: 300;
      list-style-type: none;
      line-height: 20px;
      padding-left: 20px;
      position: relative;
      &.bold_text {
        font-weight: 700;
      }
      &:before {
        content: '\000B7';
        color: #1b89b6;
        display: block;
        font-size: 50px;
        position: absolute;
        left: 0;
        top: -5px;
      }
    }
  }
  .thrv_bullets_shortcode {
    ul.tve_ul1.tve_ul {
      li {
        margin-bottom: 20px;
        &:before {
          content: '\f058' !important;
        }
      }
    }
    ul.tve_ul3.tve_ul {
      li {
        margin-bottom: 20px;
        &:before {
          content: '*' !important;
        }
      }
    }
  }
  .tve_ul1 {
    font-size: 18px;
    list-style-type: none;
    padding-left: 0;
    li {
      @include lato();
      color: #666666;
      font-weight: 300;
      font-size: inherit;
      list-style-image: none !important;
      position: relative;
      padding-left: 25px;
      &.bold_text {
        font-weight: 700;
      }
      &:before {
        font-size: 24px;
        font-weight: 400;
        font-family: 'tve-leads-seven-set-icons';
        line-height: 28px;
        position: absolute;
        left: 0;
        top: 0;
      }
    }
  }
  .tve_ul3 {
    font-size: 18px;
    list-style-type: none;
    padding-left: 0;
    li {
      @include lato();
      color: #666666;
      font-weight: 300;
      font-size: inherit;
      list-style-image: none !important;
      position: relative;
      padding-left: 25px;
      &:before {
        @include lato();
        font-size: 36px;
        font-weight: 400;
        line-height: 38px;
        position: absolute;
        left: 0;
        top: 0;
      }
      .bold_text {
        color: #333333;
        font-weight: 400;
      }
    }
  }
  .thrv_lead_generation {
    &.thrv_lead_generation_vertical {
      input[type="text"], input[type="email"] {
        margin-bottom: 6px;
      }
      button {
      }
    }
    &.thrv_lead_generation_horizontal {
      input[type="text"], button, input[type="email"] {
        margin-bottom: 0;
      }
      input[type="text"], input[type="email"] {
        padding: 13px 10px !important;
      }
      button {
        padding: 12px 10px;
      }
    }
    button {
      border-radius: 0;
      @include lato();
      text-shadow: 0 -1px 1px rgba(#010101, .2);
      box-shadow: none;
      border-top: 0;
      color: #f2f2f2;
      font-weight: 400;
      font-size: 22px;
      line-height: 25px;
    }
    input[type="text"], input[type="email"] {
      box-shadow: 0 1px 1px 1px rgba(#010101, .1);
      border-radius: 0;
      @include lato();
      border: 1px solid $white;
      background: $white;
      color: #999999;
      font-weight: 300;
      font-style: italic;
      font-size: 18px;
      height: auto;
      line-height: 1.4em;
      &:focus, &:active {
        color: #252525;
        font-style: normal;
      }
    }
  }
  .tve_cb5 {
    border: 0 !important;
  }
  .tve_cb6 {
    border: 0 !important;
  }
  .tve_seven_rounded_cb {
    .tve_cb5 {
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
    }
  }
  .tve_seven_rounded_top_cb {
    .tve_cb5 {
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
    }
  }
  .tve_seven_rounded_cb_top {
    .tve_cb5 {
      border-top-left-radius: 5px;
    }
  }
  .tve_seven_rounded_cb_bottom {
    .tve_cb6 {
      border-bottom-left-radius: 5px;
    }
  }
  .tve_seven_right_brd {
    .tve_cb5 {
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
    }
  }
  .tve_image {
    position: relative;
    z-index: 1;
  }
  .thrv_columns {
    overflow: visible;
  }
  .tve_seven_bubble {
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    .tve_cb6 {
      border-top-left-radius: 80px;
      border-bottom-left-radius: 80px;
      border-bottom-right-radius: 80px;
      border-top-right-radius: 0 !important;
      .tve_cb_cnt {
        text-align: center;
        p {
          @include lato();
          text-shadow: 1px 0 2px rgba(#000, .75);
          color: #fff;
          font-weight: 900;
          margin-top: 0;
          margin-bottom: 0;
        }
      }
    }
  }
  .tve_seven_over_cb {
    position: relative;
    z-index: 2;
    .tve_cb6 {
      min-height: 90px;
    }
  }
  //post footer
  .thrv-leads-form-box {
    &:after {
      content: "";
      display: block;
      clear: both;
      visibility: hidden;
      line-height: 0;
      height: 0;
    }
    border-radius: 5px;
    border: 0;
    .thrv_contentbox_shortcode {
      margin-top: 0;
      margin-bottom: 0;
    }
    //post footer 1
    &.tve_seven_set_v1 {
      p {
        color: $white;
      }
      h2 {
        font-size: 40px;
        .bold_text {
          font-weight: 400;
        }
      }
    }
    //post footer 2
    &.tve_seven_set_v2 {
      .tve_sep1 {
        border-top-color: #cbd1d5;
      }
      h2 {
        color: #333333;
        font-size: 36px;
        font-weight: 400;
        &.bold_text {
          font-weight: 700;
        }
      }
    }
  }
  //slide in
  .thrv-leads-slide-in {
    border-radius: 5px;
    border: 0;
    .thrv_contentbox_shortcode {
      margin-top: 0;
      margin-bottom: 0;
    }
    //slide in 1
    &.tve_seven_set_v1 {
      max-width: 360px;
      .tve_seven_bubble {
        .tve_cb6 {
          max-width: 70px;
          .tve_cb_cnt {
            padding: 15px;
          }
          p {
            font-size: 20px;
            line-height: 20px;
          }
        }
      }
      .tve-leads-close {
        background: #7c9646;
        border: 0;
        color: $white;
        right: auto;
        left: 10px;
        top: 10px;
      }
      h2 {
        font-size: 46px;
        line-height: 48px;
      }
    }
    //slide in 2
    &.tve_seven_set_v2 {
      max-width: 730px;
      padding: 30px 40px 20px;
      .tve-leads-close {
        background: #333333;
        border: 0;
        color: #170f0a;
        font-weight: 700;
        font-size: 15px;
        line-height: 18px;
        top: 10px;
        right: 10px;
      }
      .tve_sep2 {
        border-top-color: $white;
      }
      .tve_cb5 {
        .tve_cb_cnt {
          padding: 30px 40px;
        }
      }
      .thrv_lead_generation_horizontal {
        &.tve_2 {
          .tve_lg_2 {
            width: 66%;
            &:last-of-type {
              width: 34%;
            }
          }
        }
      }
      ul.thrv_wrapper {
        li {
          color: #cccccc;
          &:before {
            color: #7c9646;
            font-size: 70px;
            top: -7px;
          }
        }
      }
      h2 {
        font-size: 45px;
        line-height: 48px;
      }
      h5 {
        color: $white;
        font-weight: 400;
        &.bold_text {
          font-weight: 700;
        }
      }
    }
  }
  //widget
  .thrv-leads-widget {
    border-radius: 5px;
    border: 0;
    padding: 20px;
    .tve_btn {
      min-width: 100%;
    }
    .thrv_contentbox_shortcode {
      margin-top: 0;
      margin-bottom: 0;
    }
    .tve_seven_clear_div {
      &:before, &:after {
        content: "";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
      }
    }
    //widget 1
    &.tve_seven_set_v1 {
      .tve_seven_bubble {
        .tve_cb6 {
          max-width: 77px;
          .tve_cb_cnt {
            padding: 15px 10px;
          }
          p {
            font-size: 20px;
            line-height: 20px;
          }
        }
      }
    }
    //widget 2
    &.tve_seven_set_v2 {
      .tve_seven_bubble {
        .tve_cb6 {
          max-width: 60px;
          .tve_cb_cnt {
            padding: 12px 10px;
          }
          p {
            font-size: 17px;
            line-height: 17px;
          }
        }
      }
      .thrv_wrapper {
        .tve_sep2 {
          border-top-color: #90b348;
        }
      }
      h4 {
        font-weight: 300;
        &.bold_text {
          font-weight: 700;
        }
      }
      h2 {
        color: #333333;
        &.bold_text {
          font-weight: 700;
        }
        .bold_text {
          font-weight: 400;
        }
      }
    }
  }
  //screen filler
  .thrv-leads-screen-filler {
    .thrv_lead_generation_horizontal {
      input[type="text"], input[type="email"] {
        padding: 11px 10px 12px !important;
      }
      &.tve_2 {
        .tve_lg_input {
          width: 64%;
        }
        .tve_lg_submit {
          width: 36%;
        }
      }
    }
    .tve_sep1 {
      border-top-color: rgba(#fff, .2);
    }
    p {
      font-weight: 400;
    }
    .tve_ul3 {
      font-size: 20px;
      li {
        color: #ccc;
        font-size: inherit;
      }
    }
    .tve-screen-filler-content {
      max-width: 1040px;
      padding-top: 100px;
    }
    .tve-screen-filler-close {
      border-radius: 50%;
      background: #333333;
      color: #000;
      display: block;
      font-weight: 700;
      height: 25px;
      position: absolute;
      top: 20px;
      right: 20px;
      text-align: center;
      width: 25px;
    }
  }
  .tve-leads-lightbox {
    article {
      position: static;
    }
    .tve_p_lb_content {
      &:after {
        background: url('./images/set_seven_lightbox_shadow.png') no-repeat center center;
        background-size: 100%;
        content: '';
        display: block;
        height: 36px;
        position: absolute;
        bottom: -36px;
        left: 0;
        right: 0;
        width: 100%;
      }
    }
    &.tve_seven_set_v1, &.tve_seven_set_v2 {
      .tve_p_lb_close {
        background: #7c9646;
        border: 0;
        color: $white;
      }
    }
    &.tve_seven_set_v3 {
      .tve_p_lb_close {
        background: #333333;
        border: 0;
        color: #170f0a;
        font-weight: 700;
        font-size: 15px;
        line-height: 18px;
        top: 10px;
        right: 10px;
      }
    }
    //lightbox 1
    &.tve_seven_set_v1 {
      .tve_seven_bubble {
        .tve_cb6 {
          max-width: 85px;
          .tve_cb_cnt {
            padding: 17px 10px;
          }
          p {
            font-size: 26px;
            line-height: 26px;
          }
        }
      }
      .tve_p_lb_content {
        border-radius: 5px;
        padding: 0 15px;
        max-width: 970px;
        .tve_p_lb_control {
          padding: 0 50px 15px 0;
        }
        .tve_p_lb_inner {
          overflow: visible;
        }
      }
      .thrv_contentbox_shortcode {
        margin-top: 0;
        margin-bottom: 0;
      }
    }
    //lightbox 2
    &.tve_seven_set_v2 {
      .tve_seven_bubble {
        .tve_cb6 {
          max-width: 110px;
          .tve_cb_cnt {
            padding: 28px 20px;
          }
          p {
            font-size: 29px;
            line-height: 29px;
          }
        }
      }
      .tve_p_lb_content {
        border-radius: 5px;
        max-width: 1060px;
        padding: 0 15px;
        .tve_p_lb_control {
          padding: 30px 75px 0 0;
        }
        .tve_p_lb_inner {
          overflow: visible;
        }
      }

    }
    //lightbox 3
    &.tve_seven_set_v3 {
      .tve_p_lb_content {
        border-radius: 5px;
        max-width: 1060px;
        padding: 0 15px;
        .tve_p_lb_control {
          padding: 30px 10px 20px 40px;
        }
        .tve_p_lb_inner {
          overflow: visible;
        }
      }
      .tve_cb5 {
        .tve_cb_cnt {
          padding: 20px 35px 40px;
        }
      }
      .tve_cb6 {
        .tve_cb_cnt {
          padding: 30px 35px 40px;
        }
      }
      .thrv_contentbox_shortcode {
        margin-top: 0;
        margin-bottom: 0;
      }
      .thrv_lead_generation_horizontal {
        &.tve_2 {
          .tve_lg_2 {
            width: 66%;
            &:last-of-type {
              width: 34%;
            }
          }
        }
      }
    }
  }
  //ribbon
  .thrv-ribbon {
    padding: 15px 10px;
    h4 {
      position: relative;
      z-index: 1;
    }
    .tve-ribbon-close {
      border: 0;
      background: #333333;
      color: #0b161c;
    }
    .tve-ribbon-content {
      max-width: 1230px;
    }
    .thrv_lead_generation_horizontal {
      &.tve_2 {
        .tve_lg_2 {
          width: 53%;
          &:last-of-type {
            width: 47%;
          }
        }
      }
    }
  }
}

//gradient 1 gradient 2 border-bottom 1 gradient 3 gradient 4 border-bottom 2 gradient 5 gradient 6 border-bottom 3
$color-pallete: 'blue' #acdae6 #53b1c9 #397d8e #bde1eb #75c1d4 #6197a5 #9ac4cf #4b9fb5 #337080,
'black' #8c8c8c #434343 #2e2e2e #a3a3a3 #636363 #585858 #7e7e7e #3c3c3c #292929,
'green' #cde69b #87b842 #698f33 #d7ebaf #aad56e #87a55c #b8cf8b #86b642 #5e802e,
'white' #dfdfdf #bcbbbb #848484 #e5e5e5 #c9c9c9 #9d9d9d #c8c8c8 #a9a8a8 #777777,
'orange' #f7d538 #eea51b #a87412 #f9dd60 #f1b749 #b99041 #debf32 #d69418 #976810,
'purple' #c0bed3 #7975a2 #545172 #cdcbdc #9491b5 #76748e #acabbd #6d6991 #4b4966,
'red' #ff9f9f #ff4c4c #b43434 #ffb2b2 #ff7070 #c35d5d #e58f8f #e54444 #a22f2f,
'teal' #7dd0d0 #3c9a9a #296c6c #97d9d9 #63aeae #548989 #70bbbb #368a8a #256161;

$content-boxes: 'blue' #acdae6 #1e8bb8,
'black' #8c8c8c #434343,
'green' #cde69b #7da628,
'white' #e4ebef #fff,
'orange' #f7d538 #eea51b,
'purple' #c0bed3 #7975a2,
'red' #ff9f9f #ff4c4c,
'teal' #7dd0d0 #3c9a9a;

@each $color in $content-boxes {
  #tve_seven_set {
    .thrv-leads-form-box.tve_#{nth($color, 1)} {
      background: nth($color, 3);
    }
    .tve_cb5.tve_#{nth($color, 1)} {
      background: nth($color, 2);
    }
    .tve_cb6.tve_#{nth($color, 1)} {
      background: nth($color, 3);
    }
    .tve_ul1.tve_#{nth($color, 1)} {
      li {
        &:before {
          color: nth($color, 3);
        }
      }
    }
    .tve_ul3.tve_#{nth($color, 1)} {
      li {
        &:before {
          color: nth($color, 3);
        }
      }
    }
  }
}

@each $color in $color-pallete {
  #tve_seven_set {
    .thrv-leads-screen-filler.tve_#{nth($color, 1)} {
      background: nth($color, 10);
    }
    .thrv-ribbon.tve_#{nth($color, 1)} {
      background: nth($color, 10);
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      input[type='text'], input[type="email"] {
        &:hover, &:active {
          border: 1px solid nth($color, 7);
        }
      }
      button {
        @include linear-gradient(nth($color, 2) 0%, nth($color, 3) 100%);
        border-bottom: 1px solid nth($color, 4);
        &:hover {
          @include linear-gradient(nth($color, 5) 0%, nth($color, 6) 100%);
          border-bottom: 1px solid nth($color, 7);
        }
        &:active {
          @include linear-gradient(nth($color, 8) 0%, nth($color, 9) 100%);
          border-bottom: 1px solid nth($color, 10);
        }
      }
    }
  }
}

@import "_responsive";

@media only screen and (max-width: 1080px) {
  #tve_seven_set {
    .tve-screen-filler-content {
      padding: 20px;
    }
  }
}

@media only screen and (max-width: 940px) {
  #tve_seven_set {
    .thrv-leads-screen-filler {
      .tve-screen-filler-content {
        padding: 20px;
      }
      .tve_oth {
        .tve_image_caption {
          display: table;
          margin: 0 auto;
          width: auto !important;
          img {
            max-width: inherit;
            max-height: 200px;
            width: auto !important;
          }

        }
      }
    }
    .thrv-leads-form-box {
      &.tve_seven_set_v1 {
        .tve_oth {
          .tve_seven_right_brd {
            .tve_cb5 {
              border-top-left-radius: 5px;
              border-bottom-left-radius: 5px;
              margin: 0 -20px -20px -20px !important;
            }
          }
        }
        .tve_image_caption {
          margin-left: auto;
          margin-right: auto;
        }
      }
    }
    .tve-leads-lightbox {
      &.tve_seven_set_v1 {
        .tve_ofo {
          .tve_image_caption {
            margin-top: 10px !important;
            margin-bottom: 10px !important;
            margin-left: auto !important;
            margin-right: auto !important;
            max-width: 100px;
          }
        }
      }
      &.tve_seven_set_v2 {
        .tve_oth {
          .tve_image_caption {
            float: none;
            margin-top: 10px !important;
            margin-bottom: 10px !important;
            margin-left: auto !important;
            margin-right: auto !important;
            max-width: 100px;
          }
        }
      }
      &.tve_seven_set_v3 {
        .tve_p_lb_content {
          .tve_p_lb_control {
            padding: 10px;
          }
        }
        .tve_seven_rounded_cb_top {
          .tve_cb5 {
            border-top-right-radius: 5px;
          }
        }
        .tve_seven_rounded_cb_bottom {
          .tve_cb6 {
            border-bottom-right-radius: 5px;
          }
        }
        .tve_tth {
          .tve_cb5, .tve_cb6 {
            margin-left: -25px !important;
            margin-right: -25px !important;
            margin-bottom: 0 !important;
          }
          .tve_cb5 {
            margin-top: -15px !important;
          }
        }
        .tve_oth {
          .tve_image_caption {
            float: none;
            margin-top: 10px !important;
            margin-bottom: 10px !important;
            margin-left: auto !important;
            margin-right: auto !important;
            max-width: 100px;
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 540px) {
  #tve_seven_set {
    .tve-leads-lightbox {
      &.tve_seven_set_v2 {
        .tve_seven_rounded_cb {
          .tve_cb5 {
            margin-left: -30px !important;
            margin-right: -30px !important;
            margin-bottom: -35px !important;
          }
        }
        .tve_p_lb_content {
          .tve_p_lb_control {
            padding: 15px;
          }
        }
        .tve_seven_bubble {
          display: none;
        }
      }
    }
  }
}