/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

@font-family-primary:  "Open Sans", sans-serif;
@font-family-secondary: "Open Sans", serif;
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
@font-family-monospace:   Menlo, Monaco, Consolas, "Courier New", monospace;
@font-family-base:        @font-family-primary;


@baseFontSize: 16; // in pixels. This would result in 16px on desktop
@baseLineHeight: 1.5; // line height of font size
@leading: @baseLineHeight * 1rem;

// Rate of growth for headings
@scale: 1.618;

/* Setup */
html {
  font-size:62.5%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.chrome {
    text-rendering: auto;
}
body{
  line-height: 1.6;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}


/* Headings */
h1, .h1, .herald-no-sid .herald-posts .h2{ line-height: 1.25;}
h2, .h2, .herald-no-sid .herald-posts .h3{ line-height: 1.27;}
h3, .h3, .herald-no-sid .herald-posts .h4 { line-height: 1.29; }
h4, .h4, .herald-no-sid .herald-posts .h5 { line-height: 1.40; }
h5, .h5, .herald-no-sid .herald-posts .h6 { line-height: 1.42; }
h6, .h6, .herald-no-sid .herald-posts .h7 { line-height: 1.44; }
.h7 { line-height: 1.36; }

h1, h2, h3, h4, h5, h6{
  margin:0;  
}

.entry-content{
  h1, .h1{
    margin-bottom: 2rem;
  }
  h2, .h2{
    margin-bottom: 1.8rem;
  }
  h3, .h3{
    margin-bottom: 1.4rem;
  }
  h4, .h4{
    margin-bottom: 1.2rem;
  }
  h5, .h5{
    margin-bottom: 1rem;
  }
  h6, .h6{
    margin-bottom: 0.8rem;
  }
  ul {
    padding-left: 20px;
  }
  ol {
    padding-left: 24px;
  }
  ul li,
  ol li {
    margin-bottom: 1rem;
  }
  .entry-headline {
    margin-bottom: 3rem;
  }
}

.entry-title{
  a{
    &:hover{
      text-decoration: none;
    }
  }
}

.herald-entry-content{
  line-height: 1.625;
}
.herald-entry-content p,
.herald-entry-content ul,
.herald-entry-content ol{
  margin: 0 0 3rem; 
}
.herald-sidebar{
  line-height: 1.625;
}

p {
  margin:0 0 @leading;
}


/* Tables */
table { 
  border-collapse: separate;
  border-spacing: 0;
    border-top: 1px solid;
    border-left: 1px solid;
    width: 100%;
    margin-bottom: 30px;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
td,
th {
  padding: 10px 15px;
  border-bottom: 1px solid;
   border-right: 1px solid;
}
td.pad{
  border-right: none;
}

/* Code blocks */
code {
  vertical-align: bottom;
}

// Alignment
.text-left           { text-align: left; }
.text-right          { text-align: right; }
.text-center         { text-align: center; }
.text-justify        { text-align: justify; }
.text-nowrap         { white-space: nowrap; }
.nobold              {font-weight: normal;}

// Transformation
.text-lowercase      { text-transform: lowercase; }
.text-uppercase      { text-transform: uppercase; }
.text-capitalize     { text-transform: capitalize; }

// Lists
ul, ol {
  margin: 0;
  li{
    margin-bottom: @leading;
  }

  ul, ol {
    margin-top: 0;
    margin-bottom: 0;
  }
}

// BLockquote
blockquote {

}

// Usage blocks
.herald-site-header .header-top{
  font-size: 1.3rem;
  font-weight: normal;
}
.meta-category{
    font-size: 1.3rem;
    line-height: 1.8rem;
}
.herald-single .col-mod-single .meta-category{
    font-size: 1.4rem;
    line-height: 2rem; 
}
.meta-small{
    font-size: 1.3rem;
    line-height: 1.6rem;
}
.meta-category a{
  text-transform: uppercase;
  font-weight: normal;
  padding-bottom: 2px;
   border-bottom: 2px solid transparent;
  -webkit-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, webkit);
  -moz-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, moz);
  -ms-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, ms);
  -o-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, o);
  transition: border-bottom 0.15s ease-in;
  &:hover{
     border-bottom: 2px solid;
  }
}
.entry-meta.meta-small{
  line-height: 1.6rem;
  .meta-item,
  span,
  a{
    line-height: 1.6rem;  
    margin-bottom: 3px;
  }
}
.entry-meta{
    font-size: 1.4rem;
    line-height: 2.2rem;
  .meta-item{
    display: inline-block;
    vertical-align: top;
  }
  .meta-item,
  span,
  a{  
    font-size: 1.4rem;
    line-height: 1.8rem;
  }
    a{
    padding-bottom: 2px;
     border-bottom: 2px solid transparent;
    -webkit-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, webkit);
    -moz-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, moz);
    -ms-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, ms);
    -o-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, o);
    transition: border-bottom 0.15s ease-in;
    &:hover{
       border-bottom: 2px solid;
    }
  }
}

.herald-menu{
  line-height: 1.3;
  text-transform: uppercase;
}
.header-top .herald-menu{
  text-transform: none;
  font-weight: normal;
  font-size: 1.3rem;
  line-height: 1.8rem;
}
.mks_dropcap.mks_dropcap_rounded {
  border-radius: 2px;
}
.herald-entry-content{
   blockquote{ 
      p {
        text-align: center;
        font-size: 2.2rem;
        line-height: 3.4rem;
        margin: 40px 0;
        font-style: italic;
      }
    }
}
pre {
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 2px;
}

.herald-header-sticky .h1, .header-bottom .h1{
  line-height: 1;
  font-size: 2.8rem;
}