// SalesCrowd Typography
*, *::after, *::before {
    @include box-sizing(border-box);
}

html {
    font-size: 62.5%;
}

body {
    font: {
        size: 1.6rem;
        family: $sans-serif; // variables inside partials > _variables.scss
    }
    @include MQ(S) {
        font-size: 1.6rem;

    }
    @include MQ(M) {
        font-size: 1.6rem;

    }
    @include MQ(L) {
        font-size: 1.6rem;
    }
    color: $business-hub-font;
    background-color: $white;
    min-height: 60vh;
    @include MQ(maxL) { // layout mixins inside partials > _layout.scss
        &.nav-on-left.overflow-hidden {
            overflow: hidden;
        }
    }
}

a {
    color: $brand;
    text-decoration: none;
    &:hover, &:focus {
        color: $brand-dark-30;
    } 
}

img {
    /* make images responsive */
    max-width: 100%;
}

input {
    font-family: $sans-serif;
    font-size: 1.6rem;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
    border: 2px $light-gray solid;
    box-shadow: none !important;
}

input[type="search"]::-ms-clear {
    /* removes close icon - IE */
    display: none;
    box-shadow: none !important;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}
input, select, textarea, label {
    font-family: $sans-serif;
}

h1, h2, h3, p {
    margin: 0;
    &.text-center {
        text-align: center;
    }
}

.text-center {
    text-align: center;
    width: 100%;
}

hr {
    border-bottom: 1px solid $light-gray;
    border-left: none;
    border-right: none;
    border-top: none;
    margin: $base-spacing 0;
}

p {
    color: $base-font-color;
    line-height: $base-line-height;
}

p.lead {
    font-size: 1.1em;
    font-weight: 900;
}

a {
    color: $brand;
    text-decoration: none;
}

em {
    font-style: italic;
}



.type {
    border-bottom: 1px solid;
    display: inline-block;
    font-family: $sans-serif;
    font-size: 0.7em;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 2em;
    padding: 0.1em 0;
    text-align: left;
    text-transform: uppercase;
}

h1 {
    font-family: $sans-serif;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0.6em;

    @include media($medium-screen) {
        font-size: 2.4em;
    }
}

.sales-crowd-promo {
    &.salescrowd-twitter {
   
    h1 {
    color: darken($salescrowd-twitter, 50);
    }
    }
     &.salescrowd-snapchat, .salescrowd-texture-1 {
   
    h1 {
    color: $salescrowd-earth;
    }
    }
    &.salescrowd-texture-1 {
    h1, h2 {
    color: $black;
    }
}
    h1 {
        font-weight: 900;
        margin-bottom: 0.5em;
        line-height: 1.1em;
        letter-spacing: 1px;
        font-size: 1.3em;
        font-weight: 900;
        position: relative;
      float: right;
      clear: right;
         z-index: 1;
        @include MQ(M) {
            font-size: 2.2em;
            font-weight: 900;

        }
        @include MQ(L) {
            font-size: 3em;
            font-weight: 900;
        }
        &.smaller-title {
        font-size: 1.3em;
            font-weight: 900;
            padding-top: 1em;
        @include MQ(M) {
            font-size: 1.8em;
                font-weight: 900;

        }
        @include MQ(L) {
            font-size: 2em;
                font-weight: 900;
        }
        }
    }
    h2 {
        margin-bottom: 10px;
      float: right;
      clear: right;
        @include MQ(M) {
            font-size: 1.2em;

        }
        @include MQ(L) {
            font-size: 1.5em;
        }
        font-weight: 900;
         letter-spacing: 1px;
    }
  &.text-promo-center {
    h1, h2 {
      float: none;
    }
  }
  &.admin-pages {
    h1 {
      padding-bottom: 0.5em;
      @include MQ(M) {
            padding-bottom: 0.25em;

          }
      @include MQ(L) {
        padding-bottom: 0.75em;

      }
    }
  }
  &.article-page {
    h1 {
      font-size: 1.5em;
      float: none;
      text-align: center;
      //margin-bottom: 0;
      @include MQ(M) {
        font-size: 1.7em;
        float: left;
        text-align: left;
      }
      @include MQ(L) {
        font-size: 2.5em;
        line-height: 1.2em;
        float: left;
        text-align: left;
      }
    }
    h2 {
      margin-top: 0;
      margin-bottom: 0.5em;
      @include MQ(M) {
        font-size: 1em;

      }
      @include MQ(L) {
        font-size: 1em;
      }
      font-weight: 900;
    }
  }
}

h2 {
    font-family: $sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 1.2em;

    @include media($medium-screen) {
        font-size: 1.4em;
    }
}
.bullets h2 {
    margin: 1em 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.4em;
}

code {
    background: #F7F7F7;
    border-radius: $base-border-radius * 1.5;
    border: 1px solid #E0E0E0;
    font-family: $monospace;
    font-size: 0.65em;
    font-style: normal;
    padding: 0.1em 0.4em;
    white-space: nowrap;
}

h3 {
    font-family: $sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1.4em;
    margin-bottom: 0.5em; 
    text-transform: uppercase;
    letter-spacing: 2px;   
}

p.date {
    color: transparentize($base-font-color, 0.6);
    font-family: $sans-serif;
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

p {
    font-family: $sans-serif;
    font-weight: 300;
    letter-spacing: 1;
    margin-bottom: 1.5em;
    &.large-text {
        font-size: 1.3em;
    }
    span {
        font-family: $sans-serif;
        font-size: 0.8em;
        font-weight: 600;
        text-transform: uppercase;
    }
    strong {
        font-weight: 900;
    }
}

hr {
    width: 100%;
}

a.read-more {
    display: inline-block;
    font-family: $sans-serif;
    font-size: 0.8em;
    font-weight: 700;
    margin-left: 0.2em;
    position: relative;
    text-transform: uppercase;
    span {
        font-size: 1.7em;
        position: absolute;
        right: -10px;
        top: -8px;
    }
}

p.author {
    font-family: $sans-serif;
    font-style: italic;
}

.so-label {
    padding: 0.75em 1.5em;
    color: $white;
    border: 0;
}

blockquote.tweet-quote {
    p {
        font-size: 1.5em;
        margin-bottom: 10px;
        span {
            font-weight: 600;
            text-transform: none;
        }
    }
    small {
        font-size: 1em;
        text-transform: uppercase;
        letter-spacing: 2px;
        float: right;
    }
}
.white-text {
    color: $white;
    p {
        color: $white;
    }
}

.callout, .action-box {
    padding: 2em;
    background: $salescrowd-warm-light-gray;
    p {
        font-weight: 900;
        margin-bottom: 0;
        font-size: 1.1em;
    }
    margin-bottom: 2em;
}

.action-box-small-dark {
    padding: 1em 1em 1em 1em;
    background: $salescrowd-warm-gray;
    margin-bottom: 1em;
}

.action-box-small {
    padding: 1em 1em 1em 1em;
    background: $salescrowd-warm-light-gray;
    margin-bottom: 1em;
}

.redhead {
    padding: 1em 1em 1em 1em;
    background: $salescrowd-red;
    margin: 0;
    color: $white;
    display: block;
    overflow: hidden;
    clear: both;
    width: 100%;
    font-size: 1.1em;
    a, a:hover, a:focus {
        color: $white;
    }
    @include MQ(M) {
        font-size: 1.6em;
    }
}

.magnet-signup {
    h2 {
        font-size: 1.8em;
        font-weight: 900;
        margin-bottom: 0.5em;
        line-height: 1.1em;
        @include MQ(M) {
            font-size: 2.3em;

        }
        @include MQ(L) {
            font-size: 2.5em;
        }
    }
}

.modal-inner {
    h1 {
        font-size: 1.4em;
        padding-top: 2em;
        @include MQ(M) {
            font-size: 1.4em;
            padding-top: 0em;
        }
        @include MQ(L) {
            font-size: 1.6em;
            padding-top: 0em;
        }
    }
}

.sales-crowd-primary-nav {
    .button-group {
        a{
            height: 1.2em;
            padding: 0;
            border: 0;
            color: $salescrowd-earth;
            line-height: 1.2em;
            font-weight: 900;
        }
    }
}

.livicon {
    font-size: 1.2em;
    line-height: 1.2em;
    height: 1.4em;
    width: 1.4em;
    vertical-align: middle;
    overflow: hidden;
    position: relative;
    z-index: 2;
    color: $salescrowd-orange;
}