

@import "../lae-lib";

/* ---------------------------------- Pricing table ------------------------------------ */

.lae-pricing-table {
  clear: both;
}

.lae-pricing-table .lae-pricing-plan {
  float: left;
  padding: 10px;
}


.lae-pricing-table {
  padding: 0;

  .lae-top-header {
    padding: 15px 0;
    background-color: #494949;
    border-bottom: 1px solid #2c2b2b;

    .lae-plan-name {
      @include lae-heading-style();
      font-size: 20px;
      line-height: 32px;
      color: #fefefe;
      margin: 0;
    }

    img {
      margin-top: 15px;
    }

    .lae-tagline {
      display: block;
      font-size: 15px;
      line-height: 24px;
      color: #EDEDED;
      text-transform: none;
      text-align: center;
      margin-bottom: 5px;
    }
  }

  .lae-pricing-plan {
    background: #fff;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.1s ease-in-out 0s;
    -moz-transition: all 0.1s ease-in-out 0s;
    -ms-transition: all 0.1s ease-in-out 0s;
    transition: all 0.1s ease-in-out 0s;
    margin-bottom: 20px;

    &:hover {
      .lae-purchase {
        background: #e5e5e5;
      }
    }

    .lae-plan-price {
      color: #fff;
      font-size: 22px;
      line-height: 28px;
      font-weight: 700;
      margin: 0;

      span {
        font-size: 22px;
        line-height: 32px;
      }
    }
  }

  .lae-plan-header {
    padding: 30px 0 30px;
    background-color: #494949;
  }

  .lae-plan-price {
    .lae-text {
      display: inline-block;
      padding: 6px 25px;
      border-radius: 25px;
      background: #2C2B2B;
    }

    sup {
      font-size: 18px;
      line-height: 32px;
      vertical-align: top;
      margin-right: 2px;
      position: static;
    }
  }

  .lae-plan-details {
    padding: 15px 0;
    margin: 0;
    border: 1px solid #eee;

    .lae-pricing-item {
      list-style: none;
      display: block;
      padding: 6px;
      margin: 0;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      box-sizing: border-box;
      text-align: center;

      i {
        color: #777;
        font-size: 18px;
        display: inline;
        margin-right: 8px;
      }

      .lae-title {
        color: #838383;
        margin-bottom: 10px;
      }

      .lae-value-wrap {
        display: block;

        &:after {
          position: relative;
          content: "";
          background: #ddd;
          width: 120px;
          height: 1px;
          display: block;
          margin: 12px auto 0;
        }
      }

      .lae-value {
        color: #444;
        font-size: 24px;
        line-height: 32px;
        display: inline;
      }

      s {
        color: #b4c9d3;
      }

      &:last-child .lae-value-wrap:after {
        display: none;
      }
    }
  }

  .lae-purchase {
    text-align: center;
    text-transform: uppercase;
    padding: 15px;
    margin: 0 auto;
    background: #f1f1f1;
    -webkit-transition: all 0.1s ease-in-out 0s;
    -moz-transition: all 0.1s ease-in-out 0s;
    -ms-transition: all 0.1s ease-in-out 0s;
    transition: all 0.1s ease-in-out 0s;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;

    a {
      padding: 12px 25px;
      border-radius: 5px;
      letter-spacing: 0;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 6px;
      font-weight: bold;
    }
  }

  .lae-pricing-plan.lae-highlight {
    background: #f5f5f5;
    margin-top: -10px;

    .lae-plan-details {
      border-color: #e5e5e5;
    }

    .lae-top-header {
      padding: 20px 0;
    }

    .lae-pricing-table .lae-top-header .lae-plan-name {
      color: #28c2ba;
    }

    .lae-purchase {
      padding: 20px 0;
      background-color: #e5e5e5;
      border-color: #ddd;
    }
  }
}
