@import "bourbon";

@font-face {
  font-family: 'tve-leads-three-set-icons';
  src: url('fonts/three_set/three_set_icons.eot?bzybse');
  src: url('fonts/three_set/three_set_icons.eot?#iefixbzybse') format('embedded-opentype'),
  url('fonts/three_set/three_set_icons.woff?bzybse') format('woff'),
  url('fonts/three_set/three_set_icons.ttf?bzybse') format('truetype'),
  url('fonts/three_set/three_set_icons.svg?bzybse#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

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

.three-set-icon-lock:before {
  content: '\e600';
}

.three-set-mail:before {
  content: "\e600";
}

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

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

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

body {
  #tve_three_set {
    a {
      color: inherit;
    }
    .tve_three_set_v1 {
      //lightbox
      &.tve-leads-lightbox {
        .tve_p_lb_content {
          max-width: 470px;
        }
      }
    }
    .tve_three_set_v2 {
      //screen filler
      &.tve-leads-lightbox {
        .tve_p_lb_content {
          max-width: 1130px;
          .thrv_lead_generation_horizontal {
            input[type='text'], input[type="email"] {
              padding: 13px 10px !important;
            }
          }
          h2 {
            font-size: 44px;
          }
          .tve_cb6 {
            .tve_cb_cnt {
              padding: 18px;
            }
          }
        }
      }
    }
  }
  &[class*='three_set'] {
    @include clearfix();
    &.tve_gray_bg {
      background: #ddd;
    }
  }
  #tve_three_set {
    @include roboto();
    text-shadow: none;
    h2, h3, h4, h5, h6 {
      @include roboto();
      color: #333;
    }
    h2 {
      font-weight: 300;
      font-size: 36px;
    }
    h3 {
      font-weight: 500;
      font-size: 28px;
    }
    h4 {
      font-size: 24px;
      font-weight: 500;
    }
    h5 {
      font-size: 20px;
      font-weight: 500;
    }
    h6 {
      font-size: 18px;
      font-weight: 300;
      .bold_text {
        font-weight: 500;
      }
    }
    h1, h2, h3, h4, h5, h6 {
      @include roboto();
      text-shadow: none;
      letter-spacing: normal;
    }
    p {
      @include roboto();
      text-shadow: none;
      color: #333;
      font-size: 18px;
      font-weight: 300;
      margin-bottom: 20px;
    }
    ul.thrv_wrapper, ol.thrv_wrapper {
      font-size: 18px;
      margin-left: 20px;
      text-align: left;
      li {
        @include roboto();
        color: #333;
        font-size: inherit;
        font-weight: 300;
      }
    }
    .thrv_lead_generation {
      &.thrv_lead_generation_horizontal {
        input[type='text'], input[type="email"] {
          font-size: 18px;
        }
        button {
          font-size: 18px;
          padding: 13px 10px;
        }
        &.tve_3 {
          .tve_lg_3 {
            width: 38%;
            &:last-of-type {
              width: 24%;
            }
          }
        }
      }
      &.thrv_lead_generation_vertical {
        input[type='text'], input[type="email"] {
          font-size: 18px;
          margin-bottom: 10px;
          padding: 18px 10px !important;
        }
        button {
          font-size: 22px;
          padding: 15px 10px;
        }
      }
      &.tve_white {
        button {
          color: $white;
        }
      }
      .tve_lg_input_container {
        button {
          text-shadow: none;
        }
      }
      input[type='text'], input[type="email"] {
        @include roboto();
        box-shadow: none;
        border: 1px solid $white;
        background: $white;
        color: #666666;
        font-weight: 300;
        line-height: 24px;
        height: auto;
        margin-top: 0;
        &:hover {
          border: 1px solid $white;
        }
        &:active, &:focus {
          border-width: 1px;
          color: #333333;
        }
      }
      button {
        @include roboto();
        border-radius: 2px;
        color: $white;
        font-weight: 500;
        &:active {
          border-top: 0;
        }
      }
    }
    .thrv_contentbox_shortcode {
      margin: 0;
      .tve_cb5 {
        &.tve_cb {
          p {
            text-shadow: none;
          }
        }
        &.tve_white {
          border: 0;
        }
      }
      .tve_cb6.tve_cb {
        border: 0;
      }
    }
    .tve_cb5 {
      &:after {
        @include transform(rotate(45deg));
        background: inherit;
        content: '';
        display: block;
        height: 14px;
        margin: 0 auto;
        position: absolute;
        right: 0;
        left: 0;
        bottom: -7px;
        width: 14px;
        z-index: 1;
      }
    }
    #tve_editor, .thrv-leads-form-box {
      .thrv_wrapper {
        > .tve_sep1 {
          margin-top: 15px;
          margin-bottom: 15px;
        }
      }
    }
    .tve_sep1 {
      background-image: none;
      border-top: 1px solid #c0e9ed;
    }
    .img_style_lifted_style2 {
      &.tve_image_caption {
        .tve_image_frame {
          &:before {
            display: none;
          }
          &:after {
            box-shadow: none;
            @include transform(rotate(0deg));
            background: url('images/set3_video_shadow.png');
            background-size: 100%;
            background-position: center center;
            background-repeat: no-repeat;
            content: '';
            display: block;
            height: 20px;
            margin: 0 auto;
            max-width: 80%;
            position: absolute;
            left: 0;
            right: 0;
            bottom: -25px;
          }
        }
      }
    }
    .tve_p_lb_content {
      .tve_p_lb_close {
        background: transparent;
        font-size: 17px;
        height: 24px;
        top: 24px;
        right: 20px;
        width: 24px;
      }
    }
    .tve-leads-close {
      border: 1px solid;
      background: transparent;
      color: $white;
      font-size: 17px;
      height: 24px;
      top: 24px;
      right: 20px;
      width: 24px;
    }
    .thrv_bullets_shortcode {
      .tve_ul1 {
        color: #333333;
        font-size: 18px;
        list-style-type: none;
        padding-left: 25px;
        li {
          @include roboto();
          font-size: inherit;
          font-weight: 300;
          list-style-image: none !important;
          margin-bottom: 20px;
          position: relative;
          &:before {
            font-family: 'tve-leads-three-set-icons';
            font-size: 18px;
            position: absolute;
            left: -20px;
            top: 0;
          }
        }
      }
    }
    //screen filler
    .thrv-leads-screen-filler {
      &.tve_three_set_v3 {
        .tve-screen-filler-close {
          border: 1px solid #999999;
          color: #999999;
        }
        .tve_sep1 {
          border-color: rgba(#999999, .5);
        }
      }
      .thrv_lead_generation_horizontal {
        &.tve_2 {
          .tve_lg_input {
            width: 64%;
          }
          .tve_lg_submit {
            width: 36%;
          }
        }
      }
      .thrv_lead_generation_horizontal {
        input[type="text"], input[type="email"] {
          font-size: 19px;
          padding: 16px 10px;
        }
        button {
          font-size: 20px;
          padding: 15px 10px;
        }
      }
      .tve-screen-filler-close {
        border-radius: 50%;
        border: 1px solid #fff;
        color: #fff;
        display: block;
        height: 25px;
        line-height: 20px;
        position: absolute;
        top: 20px;
        right: 20px;
        text-align: center;
        width: 25px;
      }
      .tve_editor_main_content {
        padding-top: 120px;
      }
      .tve_ul1 {
        margin-left: 0;
      }
      .tve_sep3 {
        background-color: #fff;
        background-image: none;
        height: 17px;
        margin-left: -2500px;
        margin-top: 0;
        margin-bottom: 0;
        width: 5000px;
      }
      //page sections here
      .tve_editor_main_content, .thrv_page_section .out .in {
        margin-left: auto;
        margin-right: auto;
        max-width: 1030px;
      }
      .thrv_page_section {
        .out {
          .in {
            &.pddbg {
              .cck {
                margin-left: auto;
                margin-right: auto;
                max-width: 1030px;
              }
            }
          }
        }
        .out {
          color: #5b5b5b;
          /* themes setting max-width: 100% for divs */
          margin-left: -2500px;
          max-width: none;
          width: 6030px;
          .darkSec {
            color: #706f6f;
          }
          .lightSec {
            color: #ffffff;
          }
          .in {
            margin: 0 auto;
            padding-top: 20px;
            padding-bottom: 20px;
          }
        }
        .pdwbg {
          background-position: center center;
          background-attachment: fixed;
          background-repeat: no-repeat;
          background-size: cover;
        }

        .pddbg {
          background-position: center center;
          background-size: cover;
          background-repeat: no-repeat;
        }
        .pdfbg {
          &.smaller {
            background-size: 100% 100%;
          }
        }
      }
    }
    //lightbox
    .tve_post_lightbox {
      .tve_p_lb_content {
        border-radius: 0;
        padding: 0 10px !important;
        .tve_p_lb_inner {
          //max-height: 746px;
        }
        #tve_editor {
          .tve_p_lb_control {
            padding: 10px 0;
          }
        }
      }
    }
    //slide in
    .thrv-leads-slide-in {
      background: $white;
      border-width: 0;
      max-width: 650px;
      padding: 13px;
      .thrv_contentbox_shortcode {
        .tve_cb4 {
          border: 0;
        }
      }
      .tve_cb4 {
        border-radius: 50px;
        p {
          color: $white;
          font-weight: 300;
          font-size: 17px;
        }
        .tve_cb_cnt {
          padding: 5px 15px;
        }
      }
      .tve_cb5 {
        .tve_cb_cnt {
          padding: 25px 30px;
        }
      }
      h2 {
        font-size: 44px;
      }
      h6 {
        font-weight: 500;
      }
    }
    //widget
    .thrv-leads-widget {
      border-width: 0;
      background: $white;
      .tve_btn {
        min-width: 100%;
      }
    }
    //ribbon
    .thrv-ribbon {
      box-shadow: none;
      padding: 13px 0 8px;
      .thrv_lead_generation_horizontal {
        input[type='text'], input[type="email"] {
          font-size: 16px;
        }
        button {
          font-size: 14px;
          padding: 13px 10px;
        }
      }
      .thrv_lead_generation {
        button {
          border-radius: 5px;
        }
      }
    }
    //post footer
    .thrv-leads-form-box {
      border-width: 0;
      padding: 17px 15px;
      h3 {
        font-weight: 300;
        .bold_text {
          font-weight: 500;
        }
      }
      .tve_cb6 {
        .tve_cb_cnt {
          padding: 15px;
        }
      }
      .thrv_lead_generation_horizontal {
        input[type='text'], input[type="email"] {
          padding: 13px 10px !important;
        }
        &.tve_2 {
          .tve_lg_input_container {
            width: 75%;
            &:last-of-type {
              width: 25%;
            }
          }
        }
      }
    }
  }

}

#tve_editor {
  [class*='tve_three_set'] {
    .thrv_bullets_shortcode {
      ul.tve_ul.tve_ul1 {
        li {
          &:before {
            content: '\f00c' !important;
          }
        }
      }
    }
    .thrv_wrapper {
      > .tve_sep1 {
        margin: 15px 0;
      }
    }
  }
}

[class*='tve_three_set'] {
  #tve_editor, .thrv-leads-form-box {
    .thrv_bullets_shortcode {
      ul.tve_ul.tve_ul1 {
        li {
          &:before {
            content: '\f00c' !important;
          }
        }
      }
    }
    .thrv_wrapper {
      > .tve_sep1 {
        margin: 15px 0;
      }
    }
  }
}

#tve_three_set {
  #tve_editor {
    .thrv-leads-screen-filler {
      .thrv_wrapper {
        > .tve_sep1 {
          margin-left: -2500px;
          width: 5000px;
        }
      }
    }
  }
}

//background 1 border 1 background 2 border 2 background 3 border 3 ribbon bg
$color-pallete: 'blue' #415c71 #334858 #8d9daa #85919b #415c71 #3a5365 #415c71,
'black' #2f2f2f #252525 #828282 #7c7c7c #2f2f2f #2a2a2a #2f2f2f,
'green' #2d9b6e #237956 #81c3a8 #7baf9a #2d9b6e #288b63 #2d9b6e,
'white' #999999 #777777 #c2c2c2 #adadad #999999 #898989 #fff,
'orange' #f2664f #bd503e #f7a395 #d7968b #f2664f #d95c47 #f2664f,
'purple' #6b5f85 #544a68 #a69fb6 #9892a4 #6b5f85 #605577 #6b5f85,
'red' #ab3334 #852829 #cd8585 #b67e7f #ab3334 #9a2e2f #922b2c,
'teal' #7cb2b7 #618b8f #b0d1d4 #a0b9bc #7cb1b7 #6f9fa4 #a7d8dd;

@each $color in $color-pallete {
  [class*='tve_three_set'] {
    &.thrv-leads-screen-filler.tve_#{nth($color, 1)} {
      background: nth($color, 8);
    }
    &.thrv-leads-form-box.tve_#{nth($color, 1)} {
      background: nth($color, 8);
    }
    .tve_ul1.tve_#{nth($color, 1)} {
      li {
        &:before {
          color: nth($color, 2);
        }
      }
    }
    &.thrv-ribbon {
      &.tve_#{nth($color, 1)} {
        background: nth($color, 8);
      }
    }
    .thrv_contentbox_shortcode.thrv_wrapper {
      .tve_cb4.tve_#{nth($color, 1)} {
        background: nth($color, 3);
      }
      .tve_cb5.tve_#{nth($color, 1)} {
        background: nth($color, 8);
      }
      .tve_cb6.tve_#{nth($color, 1)} {
        background: nth($color, 8);
      }
    }
    .thrv_lead_generation {
      &.tve_#{nth($color, 1)} {
        input[type='text'], input[type="email"] {
          &:hover {
            box-shadow: 0 0 0 2px nth($color, 4);
          }
          &:active, &:focus {
            border-color: nth($color, 3);
            box-shadow: 0 0 2px 0 nth($color, 4);
          }
        }
        .tve_lg_input_container {
          button {
            box-shadow: 0 3px 0 0 nth($color, 3);
            background: nth($color, 2);
            &:hover {
              box-shadow: 0 3px 0 0 nth($color, 5);
              background: nth($color, 4);
            }
            &:active {
              box-shadow: 0 3px 0 0 nth($color, 7);
              background: nth($color, 6);
            }
          }
        }
      }
    }
  }
}

@import "_responsive";

@media only screen and (max-width: 1080px) {
  body {
    #tve_three_set {
      .thrv-leads-screen-filler {
        .tve_editor_main_content {
          padding: 20px;
        }
        .tve_oth {
          .tve_image_caption {
            max-width: 200px;
          }
        }
        h2.rft {
          line-height: 35px !important;
        }
      }
      .tve-screen-filler-content {
        .thrv_page_section {
          .out {
            width: 100%;
            margin-left: -20px;
            padding-left: 20px;
            padding-right: 20px;
            &.pswr {
              margin-left: 0;
              padding-left: 0;
              padding-right: 0;
              .in.pddbg {
                margin-left: -20px;
                margin-right: -20px;
                padding-left: 20px;
                padding-right: 20px;
                height: 100% !important;
              }
              .in.pdwbg {
                width: auto;
              }
            }
          }
        }
      }
      .tve-ribbon-content {
        .thrv_lead_generation.thrv_lead_generation_horizontal {
          &.tve_3 {
            .tve_lg_3 {
              width: 33.33%;
              &:last-of-type {
                width: 33.33%;
              }
            }
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 940px) {
  body {
    #tve_three_set {
      .tve-ribbon-content {
        .thrv_lead_generation.thrv_lead_generation_horizontal {
          &.tve_3 {
            .tve_lg_3 {
              width: 50%;
              &:last-of-type {
                width: 98%;
              }
            }
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 774px) {
  #tve_three_set {
    .tve-ribbon-content {
      .thrv_lead_generation {
        display: table;
        float: none;
        margin: 0 auto;
      }
    }
  }
}
