/** ----------------------------------------------------------
 *
 * Contains the generic theme typography styles
 *
 *    Include your notes or table of contents here
 *
 *    Include color hex's or values of your grid
 *      #333333             - body
 *      #B80000             - links, headings
 *      #D80000             - links on hover
 *      5px Vertical grid   - based on multiples of 5px, eg 10px, 15px, 20px, 25px...
 *
 *    @author Your Name <email@gmail.com>
 *
 * ------------------------------------------------------- */

/* TEMPLATE CUSTOM FONTS */
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 19, 2018 */

@font-face {
  font-family: 'OverPass';
  src: url('../webfonts/overpass-bold-webfont.woff2') format('woff2'),
       url('../webfonts/overpass-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'OverPass';
  src: url('../webfonts/overpass-light-webfont.woff2') format('woff2'),
       url('../webfonts/overpass-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}
@font-face {
  font-family: 'Raleway';
  src: url('../webfonts/rawline-200.woff2') format('woff2'),
       url('../webfonts/rawline-200.woff') format('woff');
  font-weight: 300;
  font-style: normal;

}
@font-face {
  font-family: 'Raleway';
  src: url('../webfonts/rawline-300.woff2') format('woff2'),
       url('../webfonts/rawline-300.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Raleway';
  src: url('../webfonts/rawline-700.woff2') format('woff2'),
       url('../webfonts/rawline-700.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
  @font-face {
      font-family: 'Awesome';
      src: url('../webfonts/line-awesome-webfont.woff2') format('woff2'),
           url('../webfonts/line-awesome-webfont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }
/* BASE TYPOGRPHY */

/* These are the default styles for the Simple theme */
body {
    font-size: 18px; /* This overrides the browsers default font size */
    line-height: 20px; /* If you change the font-size make sure you change the line-height value as well - the usual ratio is around 1.5 (font-size x 1.5 = line-height) */
    margin-bottom: 20px;
    color: #333333;
    font-family: 'OverPass', Arial, Helvetica, sans-serif;
}
body#tinymce {
}
  body a { text-decoration: none;  } /* this removes the underline from all links */
  body a:link {} /* this sets the highlight color when links are tapped on Safari (browser) on iPhone */

  input, textarea, select, button {
    font-family: "OverPass";
  }

/* HEADERS */
.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography h6 {
    font-family: "Raleway"; /* This references one of the custom @font-face fonts - the other fonts that are referenced are fallbacks for browsers that don't support @fontface */
    font-weight: bold;
    margin-bottom: 10px;
    color: #00225a;
}
.typography h1,
.typography .intro {
  font-size: 60px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.167;
}
.typography h2 {
  font-size: 50px;
  font-style: normal;
  font-weight: 200;
  line-height: 1.12;
  font-variant-numeric: lining-nums; /* high-level property */
  -moz-font-feature-settings: 'lnum'; /* low-level (old Firefox) */
  -webkit-font-feature-settings: 'lnum'; /* low-level (old Webkit) */
  font-feature-settings: 'lnum' on; /* low-level (all new browsers) */
  color: #009fe3;
 }
.typography h3 {
  font-size: 30px;
  font-style: normal;
  font-weight: 200;
  line-height: 1.333; }
.typography h4 {
  font-size: 25px;
  font-style: normal;
  font-weight: 200;
  line-height: 1.2;
 }
.typography h5 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
  line-height: 1.278;
  margin-top: 30px;
 }
.typography h6 {
  color: #009fe3
  font-size: 19px;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  line-height: 1.579;
 }


/* PARAGRAGHS */
.typography  p {
  color: #14203c;
  font-size: 19px;
  font-style: normal;
  font-variant: normal;
  font-weight: 300;
  line-height: 1.579;
  margin-bottom: 1em;
}
.typography em { font-style: italic; }

::selection,
::-moz-selection { /* Applies style to highlighted portion of a page */
    background: #b80000;
    color: #fff;
    text-shadow: none;
}

/* LINKS */
.typography a,
.typography a.intro {
    color:inherit;
    text-decoration: none;
    border-bottom: 1px solid #009fe3;
}
  .typography a:hover {
    color: #009fe3;
  }
  .typography a:focus { }
  .typography a.fa {
    border-bottom: none;
  }


/* LIST STYLES
-------------------------------------------- */
.typography ul,
.typography ol,
.typography dl {
  margin: 0 0 20px 0;
  padding-left: 25px;
}
.typography ul li {
  list-style-type: none;
} /* adds disc style bullet to the list */
.typography ul li:before {
  content: "";
  font-family: "Awesome";
  content: "\f121";
  color: #009fe3;
  margin-left: -25px;
  width: 25px;
  display: block;
  float: left;

}
.typography .flex-direction-nav li {
  list-style:none
}
  .typography li { margin-bottom: 5px; }


/* TABLE STYLES
-------------------------------------------- */
.typography table {
    border-collapse: collapse; /* borders are collapsed into a single border when possible */
    border: 1px solid #d4d4d4;
    border-spacing: 0; /* The border-spacing property sets the distance between the borders of adjacent cells - acts as a backup to border-collapse: collapse */
    margin: 0 0 10px;
    text-align: left;
}
  .typography table tr:nth-child(even) {
      background-color: #ededed
  }
  .typography table tr.even,
  .typography table th,
  .typography thead td {
      background-color: #ededed
  }
  .typography table td,
  .typography table th {
      padding: 2px 5px;
      border: 1px solid #d4d4d4;
      vertical-align: top;
  }
  .typography table th {
      font-weight: bold;
  }


/* WYSIWYG EDITOR ALIGNMENT CLASSES
-------------------------------------------- */
.typography .left {
    text-align: left
}
.typography .center {
    text-align: center
}
.typography .right {
    text-align: right
}


/* IMAGES
-------------------------------------------- */
.typography img {
    height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */

}
.typography .intro img {
	border: 0;
	display: block;
	margin-bottom: 15px;
}
.typography img.left {
    float: left;
    max-width: 50%;
    margin: 5px 20px 10px 0;
}
.typography img.right {
    float: right;
    max-width: 50%; /* Responsive width */
    margin: 5px 0 10px 20px;
}
.typography img.leftAlone {
    float: left;
    margin-right: 100%;
    margin-bottom: 10px;
    clear: both;
}
.typography img.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    clear: both;
}
.typography .captionImage { width: 100%; margin-top: 5px; }
.typography .captionImage img { margin: 0; }
  .typography .captionImage.left {
    float: left;
    margin: 5px 30px 20px 0px;
  }
  .typography .captionImage.right{
    float: right;
    margin: 5px 0 20px 30px;
  }
  .typography .captionImage.left[style],
  .typography .captionImage.right[style] {
    max-width: 50%; /* Overides core width to make responsive */
  }
  .typography .captionImage.left img,
  .typography .captionImage.right img {
    float: none;
    max-width: none;
    width: 100%;
  }
  .typography .captionImage.left img {
    margin-right: -10px;
  }
  .typography .captionImage.right img {
    margin-left: -10px;
  }
  .typography .captionImage.right p {
    margin-left: -10px;
    text-align: left;
    margin-left: -10px;
  }
.typography .captionImage.leftAlone{
  float:none;
  margin: 0 20px 20px 0px;
}
.typography .captionImage.center{
  margin: 0 auto 20px;
}
.typography .captionImage p {
  clear: both;
  margin: 5px 0;
  font-style: italic;
  color: #888;
}


.typography pre {
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-family: Courier, monospace;
  margin: 0 0 20px 0;
  padding: 15px;
  clear: both;
}

/* ADDRESS
-------------------------------------------- */
address {
  display: block;
  margin-bottom: 20px;
}

/* FONT AWESOME */


.fa {
  display: inline-block;
  font-family: 'Awesome';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
  vertical-align: middle;
  margin:0 3px;
}
.fa-twitter:before {
  content: "\f359";
}.fa-facebook:before {
  content: "\f1d7";
}
.fa-linkedin:before {
  content: "\f26a";
}
.fa-times:before {
  content: "\f342";
}
