@import "bourbon";

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

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

[class*='nineteen_set'] {
  &.tve_gray_bg {
    background-image: none;
    background: #c2c2c2;
  }
}

#tve_nineteen_set {
  [class*='nineteen_set'] {
    @include clearfix();
    .tve_editor_main_content {
      max-width: 2200px;
      margin-left: 0;
      padding: 0 50px;
    }
    a {
      color: inherit;
      text-decoration: underline;
    }
    .tve-screen-filler-close {
      @include roboto();
      border-radius: 50%;
      border: 1px solid #b0a8b1;
      background: transparent;
      color: #b0a8b1;
      display: block;
      font-size: 30px;
      height: 33px;
      line-height: 26px;
      position: absolute;
      top: 20px;
      right: 20px;
      text-align: center;
      text-decoration: none;
      width: 33px;
    }
    h2 {
      @include roboto();
      color: #fff;
      font-weight: 100;
      font-size: 62px;
      line-height: 1.048em;
      letter-spacing: normal;
      .bold_text {
        font-weight: 400;
      }
    }
    h5 {
      @include roboto();
      color: #fff;
      font-size: 32px;
      font-weight: 500;
      line-height: 1.125em;
      letter-spacing: normal;
    }
    p {
      @include roboto();
      color: #fff;
      font-size: 18px;
      font-weight: 300;
      line-height: 25px;
      margin-bottom: 20px;
    }
    h2, h3, h5 {
      clear: none;
      padding-bottom: 0;
    }
  }
}

#tve_nineteen_set {
  @include roboto();
  text-shadow: none;
  article {
    padding-bottom: 0;
  }
  .thrv_contentbox_shortcode {
    margin-top: 0;
    margin-bottom: 0;
    .tve_cb5 {
      border: 0;
      &:after {
        @include transform(rotate(45deg));
        background: inherit;
        content: '';
        display: block;
        height: 30px;
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 30px;
      }
      .tve_cb_cnt {
        padding: 40px 50px;
      }
    }
  }
  .thrv_lead_generation {
    &.thrv_lead_generation_horizontal {
      button, input[type="text"], input[type="email"] {
        margin-bottom: 0;
      }
      &.tve_2 {
        .tve_lead_generated_inputs_container {
          .tve_lg_input_container {
            &.tve_lg_2 {
              width: 67%;
              &:last-of-type {
                width: 33%;
              }
            }
          }
        }
      }
    }
    &.tve_white {
      button {
        color: #fff;
        &:hover, &:active {
          color: #333;
        }
      }
    }
    .tve_submit_container {
      padding: 5px;
    }
    button {
      border-radius: 0;
      @include roboto();
      text-shadow: none;
      border: 1px solid rgba(#fff, .3);
      color: $white;
      font-weight: 400;
      font-size: 22px;
      line-height: 30px;
      padding: 12px 10px;
    }
    input[type="text"], input[type="email"] {
      border-radius: 0;
      @include roboto();
      border: 1px solid rgba(#fff, .28);
      background: $white;
      color: #999;
      font-size: 20px;
      font-weight: 300;
      font-style: italic;
      height: auto;
      line-height: 28px;
      padding: 18px 20px !important;
      &:hover {
        border: 1px solid rgba(#000, .39);
      }
      &:focus {
        box-shadow: 0 0 0 3px rgba(#000, .09) inset;
        font-weight: 300;
      }
    }
  }
}

$color-pallete: 'blue' #5a66b2 #4d5798 #6672b8 #48528e #6b76ba,
'black' #161616 #0c0c0c #282828 #080808 #2e2e2e,
'green' #928a31 #7d762a #9a9340 #756e27 #9d9646,
'white' #afafaf #afafaf #c7c7c7 #9d9d9d #c7c7c7,
'orange' #d74435 #b83a2d #da5244 #ac362a #db574a,
'purple' #826084 #6f5271 #9e8b9f #6d5e6e #9a859b,
'red' #d7355e #b82d50 #da446a #ac2a4b #db4a6e,
'teal' #489984 #3e8271 #56a08d #3a7a6a #5ba391;

@each $color in $color-pallete {
  #tve_nineteen_set {
    .thrv-leads-screen-filler.tve_#{nth($color, 1)} {
      background-color: nth($color, 4);
    }
    .tve_cb.tve_cb5.tve_#{nth($color, 1)} {
      background: nth($color, 5);
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      input[type="text"], input[type="email"] {
        color: nth($color, 6);
        &:focus {
          color: nth($color, 5);
        }
      }
      button {
        box-shadow: 0 0 0 5px nth($color, 2);
        background: nth($color, 2);
        &:hover {
          box-shadow: 0 0 0 5px nth($color, 5);
          background: nth($color, 3);
        }
        &:active {
          box-shadow: 0 0 0 5px nth($color, 6);
          background: nth($color, 4);
        }
      }
    }
  }
}

@import "_responsive";

@media only screen and (max-width: 940px) {
  #tve_nineteen_set {
    [class*="tve_nineteen_set"] {
      .nineteen_set_cookie {
        display: none;
      }
    }
  }
}