@import "bourbon";

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

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

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

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

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

#tve_sixteen_set {
  [class*='sixteen_set'] {
    &:before {
      border: 1px solid #fff;
      content: '';
      position: absolute;
      top: 30px;
      right: 30px;
      bottom: 30px;
      left: 30px;
      z-index: 0;
    }
    .tve-screen-filler-content.tve_editor_main_content {
      margin: 50px auto;
      max-width: 1330px;
      padding: 50px;
      position: relative;
      z-index: 1; 
    }
    .tve-screen-filler-close {
      @include roboto();
      border-radius: 50%;
      border: 0;
      background: #fff;
      color: #000;
      display: block;
      font-size: 30px;
      height: 35px;
      line-height: 26px;
      position: absolute;
      top: 20px;
      right: 20px;
      text-align: center;
      text-decoration: none;
      width: 35px;
    }
    a {
      color: inherit;
    }
    h2 {
      @include robotocondensed();
      color: #fff;
      font-weight: 300;
      font-size: 60px;
      line-height: 1.333em;
      letter-spacing: normal;
    }
    h5 {
      @include roboto();
      color: #fff;
      font-size: 15px;
      font-weight: 300;
      line-height: 1.333em;
      letter-spacing: 3px;
    }
    .bold_text {
      font-weight: 600;
    }
    h2, h3, h5 {
      clear: none;
      padding-bottom: 0;
    }
  }
}

#tve_sixteen_set {
  @include roboto();
  text-shadow: none;
  article {
    padding-bottom: 0;
  }
  .thrv_contentbox_shortcode {
    margin-top: 0;
    margin-bottom: 0;
    .tve_cb5 {
      border: 0;
    }
  }
  .thrv_lead_generation {
    &.thrv_lead_generation_horizontal {
      &.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;
        }
      }
    }
    button {
      border-radius: 0;
      @include roboto();
      text-shadow: none;
      box-shadow: none;
      color: $white;
      font-weight: 400;
      font-size: 22px;
      line-height: 30px;
      padding: 14px 10px;
    }
    input[type="text"], input[type="email"] {
      border-radius: 0;
      @include roboto();
      border: 3px double #ccc;
      background: $white;
      color: #999;
      font-size: 22px;
      font-weight: 300;
      font-style: italic;
      height: auto;
      line-height: 28px;
      padding: 13px 20px !important;
      &:hover {
        background: #fafafa;
      }
      &:focus {
        border: 3px double #999;
        background: #fff;
        color: #222;
        font-style: normal;
        font-weight: 400;
      }
    }
  }
}

$color-pallete: 'blue' #294f89 #34588f #192f52 #192f52,
'black' #222222 #2d2d2d #0e0e0e #0e0e0e,
'green' #7e9334 #85993e #4c581f #4c581f,
'white' #666666 #6e6e6e #292929 #fff,
'orange' #dc3522 #de3f2d #842014 #842014,
'purple' #3e2138 #482c42 #251422 #251422,
'red' #8a0917 #901623 #53050e #53050e,
'teal' #2b666e #366e75 #1a3d42 #546b6f;

@each $color in $color-pallete {
  #tve_sixteen_set {
    .thrv-leads-screen-filler.tve_#{nth($color, 1)} {
      background-color: nth($color, 5);
    }
    .tve_cb.tve_cb5.tve_#{nth($color, 1)} {
      background: nth($color, 5);
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      button {
        background: nth($color, 2);
        &:hover {
          background: nth($color, 3);
        }
        &:active {
          background: nth($color, 4);
        }
      }
    }
  }
}

@import "_responsive";

@media only screen and (max-width: 540px) {
  #tve_sixteen_set {
    [class*="tve_sixteen_set"] {
      h5 {
        line-height: 2em;
      }
    }
  }
}