/** 
 * This typography file is included in the WYSIWYG editor and the front end. It provides
 * a place to add link styles and font styles you would like in the CMS and the Front End.
 */

 
/* GENERIC STYLES 
-------------------------------------------- */
 
body.mceContentBody {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
	width: 670px;/*Match design*/
	padding: 20px;/*Match design*/
	border-right: 1px #ccc dashed;
	}

.typography {
	/* line-height: 1.7; */
	}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #333333;
 	line-height: 1.5em;
	font-size: 0.8125em; /* 13px */
	margin: 0 0 1.5em 0;
	}
.typography p.intro {
	color: #636363;
	font-size: 1.0635em; /* 17px */
 	line-height: 1.4em;
	}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	font-style: italic;
	margin-left: 20px;
	}

/* LINKS 
-------------------------------------------- */

.typography a { 
 	text-decoration: underline;
 	color: #da1102;
	}
	.typography a:focus,
	.typography a:hover,
	.typography a:active { 
 		/* text-decoration: underline; */
 		color: #950a00;
		}

	/* LINK ICONS - shows type of file
	------------------------------------ */
	.typography a[href$=".pdf"],
	.typography a[href$=".PDF"],
	.typography a.pdf {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/page_white_acrobat.png) no-repeat left center;
		}
	.typography a[href$=".doc"],
	.typography a[href$=".DOC"],
	.typography a.doc {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/page_word.png) no-repeat left center;
		}
	.typography a[href$=".xls"],
	.typography a[href$=".XLS"],
	.typography a.xls {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/page_excel.png) no-repeat left center;
		}
	.typography a[href$=".gz"],
	.typography a[href$=".GZ"],
	.typography a[href$=".gzip"],
	.typography a[href$=".GZIP"],
	.typography a[href$=".zip"],
	.typography a[href$=".ZIP"],
	.typography a.archive {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/page_white_zip.png) no-repeat left center;
		}
	.typography a[href$=".exe"],
	.typography a[href$=".EXE"],
	.typography a.application {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/application.png) no-repeat left center;
		}

	/* FEATURE DOWNLOADS - shows type of file if PDF
	------------------------------------ */

	.typography  p.feature-download {
		display: inline-block;
		}
	.typography  p.feature-download a {
		 padding: 5px 1em 5px 30px;
		 background: #ee3426 url(../images/feature-download-arrow.png) no-repeat 10px center;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border: 1px solid #ad3127;
		display: block;
		/* float: left; */
		position: relative;
		left: 0;
		top: 0;
		color: #fff;
		text-decoration: none;
		}
	.typography  p.feature-download a:focus,
	.typography  p.feature-download a:hover,
	.typography  p.feature-download a:active {
		color: #fff;
		background-color: #ad3127;
		}
	.typography  p.feature-download-pdf a {
		margin-top: 2em;
		padding-left: 80px;
		background-position: 60px center;
		}
	.typography  p.feature-download-pdf a span.size {
		color: #ffacac;
		text-transform: lowercase;
		}
	.typography  p.feature-download-pdf a span.icon {
		position: absolute;
		left: -2px;
		top: 50%;
		margin-top: -36px;
		display: block;
		width: 57px;
		height: 58px;
		background: transparent url(../images/feature-download-pdf.png) no-repeat left center;
		}
	

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	margin: 0 0 1.5em 1.5em;
	color: #333;
	}
	.typography li {
 		line-height: 1.5em;
		font-size: 0.8125em; /* 13px */
		margin: .5em 0;
		}
	.typography ol li {
		list-style-type: decimal;
		}
	.typography ul li {
		list-style-type: disc;
		}
		.typography li ul,
		.typography li ol {
			margin-top: .25em;
			margin-bottom: .5em;
			}
		.typography li li {
			font-size: 1em;
			}
		.typography ol li {
			list-style-type: lower-roman;
			}
		.typography ul li {
			list-style-type: square;
			}
			.typography ol li {
				list-style-type: lower-alpha;
				}
			.typography ul li {
				list-style-type: circle;
				}

		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
#BlogContent h2 {
	margin: 1.5em 0 1em 0;
	font-size: 1.5em; /* 24px */
	font-weight: normal;
	line-height: 1.3em;
	text-transform: uppercase;
	}

.typography h2 {
	margin: 2em 0 1em 0;
	font-size: 1.25em; /* 20px */
	font-weight: normal;
	line-height: 1.3em;
	color: #da1102;
	}

.typography h3 {
	margin: 2em 0 1em 0;
	font-size: 1em; /* 16px */
	font-weight: normal;
	line-height: 1.5em;
	}

.typography h4,
.typography .WidgetHolder h3 {
	margin: 2em 0 1em 0;
	font-size: 0.8125em; /* 13px */
	font-weight: bold;
	line-height: 1.5em;
	}

.typography h5,
.typography h6,
.typography h7 {
	margin: 2em 0 0 0;
	font-size: 0.8125em; /* 13px */
	font-weight: bold;
	line-height: 1.5em;
	}

.typography h1 + h2,
.typography h1 + h3,
.typography h1 + h4,
.typography h1 + h5,
.typography h2 + h3,
.typography h2 + h4,
.typography h2 + h5,
.typography h3 + h4,
.typography h3 + h5,
.typography h4 + h5 {
	margin-top: 0;
	}

/* PRE STYLES 
-------------------------------------------- */	
.typography pre {
	font-family: "Courier New",Courier;
	display: block;
	font-size: 1em;
	margin: 2em 5em;
	padding: 0.5em;
	border: 1px #ccc solid;
	background: #eee;
	}

/* TABLE STYLING 
-------------------------------------------- */
.typography table {
	margin: 0 0 1.22em 0;
	color: #444;
	border-collapse: collapse;
	min-width: 400px;
	}
	.typography  td,
	.typography  th {
		font-size: 0.75em; /* 12px */
		border: 1px solid #CCC;
		padding: .25em .538em; /* 3px 7px */
		line-height: 1.5em;
		}

/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
.typography .left {
	text-align: left;
	}
.typography .center {
	text-align: center;
	}
.typography .right {
	text-align: right;
	}

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: none;
	margin: 0 0 1.22em 0;
	font-size: 0.8125em; /* 13px */
	}
	.typography img.right {
		float: right;
		margin: 0 0 .5em 1em;
		border: 3px solid #f1f0f1;
		padding: 1px;
		}
	.typography img.left {
		float: left;
		margin: 0 1em .5em 0;
		}
	.typography img.leftAlone {
		}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
		}

/* FORMS (Basic only)
-------------------------------------------- */

label {
	font-size: 0.8125em; /* 13px */
	}

/* HACKS / FIXES
-------------------------------------------- */

.typography p ul li,
.typography p ol li,
.typography p label {
	font-size: 1em; /* 13px - to account for incorrectly nested elements in CMS output */
	}
	
.typography p  td,
.typography  p th{
	font-size: .923em; /* 12px - to account for incorrectly nested elements in CMS output */
	}
