/**

COLORS

Burgundy: #993333
Faux black: #1d1d1d
Top: #fff
Main: #f8f8f8
Footer: #ebe9e9

————

FONTS

Headers: Forum
Everything else: Source Serif Pro

*/

/* BASE TYPOGRAPHY */

body, .typography {
    color:#1d1d1d;
    font-family:'Source Serif Pro';
    font-weight:400;
    font-size:16px;
}
body a { text-decoration: none; } /* this removes the underline from all links */

/* HEADERS */
.typography h1, h1,
.typography h2, h2,
.typography h3, h3,
.typography h4, h4,
.typography h5, h5,
.typography h6, h6 {
    margin: 10px 0px;
    font-family:"Forum";
    text-transform:uppercase;
    font-weight:400;
    color:#993333;
}
.typography h1, h1,
.typography h2, h2,
.typography h3, h3 { }

.typography h1, h1 {
  font-size: 2em;
  margin-top:0px;
  padding-bottom: 5px;
}
.typography h2, h2 { font-size: 1.9em; }
.typography h3, h3 { font-size: 1.7em; }
.typography h4, h4 { font-size: 1.5em; }
.typography h5, h5 { font-size: 1.2em; }
.typography h6, h6 { font-size: 1.1em; }


/* PARAGRAGHS */
.typography p {
    line-height:1.5em;
    margin-bottom:20px;
}
/* emphasis */
.typography em, .typography i { font-style: italic; }
.typography strong, .typography b { font-weight:bold; }
.typography strike, .typography s { text-decoration:line-through; }

/* LINKS */
.typography a {
    text-decoration:underline;
}
.typography a:hover { color: #993333; }

/* Horizontal rule */
.typography hr {
    display: block;
    height: 22px;
    border: 0;
    background-image:url(../images/divider.png);
    background-repeat:no-repeat;
    background-position:center center;
    /*border-top: 1px solid #ccc;*/
    margin: 2em 0;
    padding: 0;
}

/* LIST STYLES
-------------------------------------------- */
.typography ul, .typography ol {
    margin-top:10px;
    margin-bottom:10px;
}
.typography li {
    margin-bottom:10px;
}
.typography ul,
.typography ol,
.typography dl { margin: 0 0 20px 25px; }
.typography ul li { list-style-type: disc; } /* adds disc style bullet to the list */
.typography ul > ul li { list-style-type:square }
.typography ul > ul > ul li { list-style-type:circle; }
.typography ol li { list-style-type:decimal; }
.typography ol > ol li,
.typography ul > ul li { font-size:90%; }
.typography ol > ol > ol li,
.typography ul > ul > ul li { font-size:80%; }


/* 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 img.left {
    float: left;
    max-width: 50%;
    margin:0 20px 20px 0;
}
.typography img.right {
    float: right;
    max-width: 50%; /* Responsive width */
    margin:0 0 20px 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%; /* Overrides 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;
}


/* BLOCKQUOTES
-------------------------------------------- */
.typography blockquote {
  color: #777;
  display: block;
  font-style: italic;
  margin: 0 auto;
  text-indent: 30px;
  width: 50%;
  clear: both;
  font-size:18px;
}
.typography blockquote p {
    margin-bottom:0px;
}
.typography blockquote p:before, blockquote p:after {
    font-family:"Georgia"; /* adds prettier quote marks */
    font-size:32px;
}
.typography blockquote p:before {
    content:"\201C";
}
.typography blockquote p:after {
    content:"\201D";
}
.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-style:italic;
}

/* download file types */

a[href$=".ace"], a[href$=".arc"], a[href$=".arj"], a[href$=".asf"], a[href$=".au"], a[href$=".avi"],
a[href$=".dmg"], a[href$=".flv"], a[href$=".gpx"], a[href$=".hqx"], a[href$=".htm"], a[href$=".html"],
a[href$=".ico"], a[href$=".js"], a[href$=".kml"], a[href$=".pages"], a[href$=".pcx"], a[href$=".pkg"],
a[href$=".ra"], a[href$=".ram"], a[href$=".rm"], a[href$=".sit"], a[href$=".sitx"], a[href$=".swf"],
a[href$=".webm"], a[href$=".xhtml"], a[href$=".xml"]
{
    padding: 0 0 0 1.5em;
    background: url(../../../framework/images/app_icons/generic_32.gif) no-repeat left center;
    background-size:16px auto;
}

a[href$=".pdf"],
a[href$=".PDF"],
a.pdf {
       padding: 0 0 0 1.5em;
       background: url(../images/icons/page_white_acrobat.png) no-repeat left center;
}
a[href$=".doc"],
a[href$=".DOC"],
a[href$=".docx"],
a[href$=".DOCX"]
a.doc {
       padding: 0 0 0 1.5em;
       background: url(../images/icons/page_word.png) no-repeat left center;
}
a[href$=".xls"],
a[href$=".XLS"],
a[href$=".xlsx"],
a[href$=".XLSX"]
a.xls {
       padding: 0 0 0 1.5em;
       background: url(../images/icons/page_excel.png) no-repeat left center;
}
a[href$=".gz"],
a[href$=".GZ"],
a[href$=".tgz"],
a[href$=".bz2"],
a[href$=".cab"],
a[href$=".jar"],
a[href$=".tar"],
a[href$=".gzip"],
a[href$=".GZIP"],
a[href$=".zip"],
a[href$=".ZIP"],
a[href$=".zipx"],
a[href$=".ZIPX"]
a.archive {
       padding: 0 0 0 1.5em;
       background: url(../images/icons/page_white_zip.png) no-repeat left center;
}
a[href$=".exe"],
a[href$=".EXE"],
a[href$=".mp3"],
a[href$=".MP3"],
a[href$=".m4a"],
a[href$=".m4v"],
a[href$=".mid"],
a[href$=".midi"],
a[href$=".mkv"],
a[href$=".mpa"],
a[href$=".mpeg"],
a[href$=".mpg"],
a[href$=".ogg"],
a[href$=".ogv"],
a[href$=".wav"],
a[href$=".wmv"]
a.application {
       padding: 0 0 0 1.5em;
       background: url(../images/icons/application.png) no-repeat left center;
}
a[href$="jpg"],
a[href$=".JPG"],
a[href$="png"],
a[href$=".PNG"],
a[href$="gif"],
a[href$=".GIF"],
a[href$="bmp"],
a[href$=".BMP"],
a[href$=".tif"],
a[href$=".TIFF"]
a.image {
       padding: 0 0 0 1.5em;
       background: url(../images/icons/icon-jpg.gif) no-repeat left center;
}

a[href$=".txt"],
a[href$=".TXT"],
a[href$=".rtf"],
a[href$=".RTF"],
a[href$=".css"],
a[href$=".csv"] {
    padding: 0 0 0 1.5em;
    background: url(../images/icons/document--pencil.png) no-repeat left center;
}
