@import "bourbon";

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

@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;

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

#tve_fourteen_set {
  [class*='fourteen_set'] {
    @include clearfix();
    .tve-screen-filler-close {
      border-radius: 50%;
      @include robotocondensed();
      border: 2px solid #303030;
      background: none;
      color: #303030;
      display: block;
      font-size: 30px;
      height: 30px;
      line-height: 25px;
      position: absolute;
      top: 20px;
      right: 20px;
      text-align: center;
      text-decoration: none;
      width: 30px;
    }
    /*page sections*/
    .tve_editor_main_content, .thrv_page_section .out .in {
      margin-left: auto;
      margin-right: auto;
      max-width: 1140px;
    }
    .thrv_page_section {
      .out {
        .in {
          &.pddbg {
            .cck {
              margin-left: auto;
              margin-right: auto;
              max-width: 1140px;
            }
          }
        }
      }
      .out {
        color: #5b5b5b;
        /* themes setting max-width: 100% for divs */
        margin-left: -2500px;
        max-width: none;
        width: 6140px;
        .darkSec {
          color: #666;
        }
        .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%;
        }
      }
    }
    a {
      color: inherit;
    }
    h2 {
      @include robotocondensed();
      color: #303030;
      font-weight: 600;
      font-size: 60px;
      line-height: 1.417em;
      letter-spacing: normal;
    }
    p {
      @include roboto();
      color: #666666;
      font-weight: 300;
      font-size: 24px;
      line-height: 1.417em;
      letter-spacing: normal;
      margin-bottom: 20px;
      .bold_text {
        font-weight: 500;
      }
    }
    h2, h3, h5 {
      clear: none;
      padding-bottom: 0;
    }
  }
}

#tve_fourteen_set {
  @include robotocondensed();
  text-shadow: none;
  article {
    padding-bottom: 0;
  }
  .thrv_button_shortcode {
    .tve_btn.tve_btn3 {
      &:hover, &:Active {
        span {
          color: #fff;
        }
      }
    }
  }
  .tve_btn.tve_btn3 {
    border-radius: 100px;
    @include robotocondensed();
    background: none;
    font-weight: 400;
    &.tve_bigBtn {
      min-width: 10px;
      .tve_btnLink {
        font-size: 25px;
        padding: 20px 36px;
      }
    }
    .tve_btnLink {
      text-shadow: none;
    }
  }
  .thrv_lead_generation {
    .tve_submit_container {
      button {
        &:hover, &:active {
          color: #fff;
        }
      }
    }
    &.thrv_lead_generation_vertical {
      button {
        display: table;
        margin: 0 auto;
        padding-left: 50px;
        padding-right: 50px;
        width: auto !important;
      }
    }
    button {
      border-radius: 100px;
      @include robotocondensed();
      text-shadow: none;
      box-shadow: none;
      background: none;
      font-weight: 400;
      font-size: 25px;
      line-height: 28px;
      padding: 18px 10px;
    }
    input[type="text"], input[type="email"] {
      border-radius: 100px;
      @include robotocondensed();
      box-shadow: none;
      background: $white;
      border: 1px solid #cccccc;
      color: #666666;
      font-size: 18px;
      font-weight: 400;
      height: auto;
      line-height: 24px;
      margin-bottom: 15px;
      padding: 21px 20px !important;
      &:focus {
        box-shadow: 2px 5px 5px 0 rgba(#000, .07) inset;
        color: #333333;
      }
    }
  }
}

$color-pallete: 'blue' #34a2f6 #2c8ad1 #34a2f6,
'black' #181818 #080808 #181818,
'green' #1da165 #198956 #1da165,
'white' #999999 #828282 #fff,
'orange' #e46613 #c25710 #e46613,
'purple' #5f6ea6 #515e8d #5f6ea6,
'red' #851b1b #711717 #851b1b,
'teal' #01c0f1 #01a3cd #01c0f1;

@each $color in $color-pallete {
  #tve_fourteen_set {
    .thrv-leads-screen-filler.tve_#{nth($color, 1)} {
      background-color: nth($color, 4);
    }
    .tve_btn.tve_btn3.tve_#{nth($color, 1)} {
      border: 2px solid nth($color, 2);
      span {
        color: nth($color, 2);
      }
      &:hover {
        background: nth($color, 2);
      }
      &:focus {
        border: 2px solid nth($color, 3);
        background: nth($color, 3);
      }
    }
    .thrv_lead_generation.tve_#{nth($color, 1)} {
      input[type="text"], input[type="email"] {
        &:hover {
          border-color: nth($color, 2);
        }
      }
      button {
        border: 2px solid nth($color, 2);
        color: nth($color, 2);
        &:hover {
          background: nth($color, 2);
        }
        &:active {
          border: 2px solid nth($color, 3);
          background: nth($color, 3);
        }
      }
    }
  }
}

@import "_responsive";

@media only screen and (max-width: 1080px) {
  #tve_fourteen_set {
    [class*="tve_fourteen_set"] {
      .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;
            .rtl & {
              padding-right: 20px;
            }
            .in.pddbg {
              padding-left: 20px;
              padding-right: 20px;
              height: 100% !important;
            }
            .in.pdwbg {
              width: auto;
            }
          }
          .rtl & {
            margin-right: -20px;
            .in {
              padding: 20px;
            }
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 774px) {
  #tve_fourteen_set {
    [class*="tve_fourteen_set"] {
      .thrv_content_container_shortcode {
        .tve_content_inner {
          margin-top: 10px !important;
        }
      }
    }
  }
}