/** 
 * SilverStripe Keystone Tractor Works Theme
 * http://www.SmartPlugsDesign.com/
 *
 * 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 
-------------------------------------------- */
 
.typography * {
	font-family:Tahoma, Verdana, sans-serif;
	font-family:"Hoefler Text", Garamond, Baskerville, "Baskerville Old Face", "Times New Roman", serif;
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color:#111;
 	line-height:18px;
	margin:0 0 12px;
 	font-size:1.5em;
	_font-size:1.6em;
}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	width:200px;
	float:left;
	border-top:2px solid #999;
	border-bottom:2px solid #999;
	margin:4px 20px 15px 0;
	padding:10px;
	font-style:italic;
}
	.typography blockquote h5 {
		font-size:17px;
		line-height:27px;
		color:#060;
		text-align:center;
		margin:0;
	}
	.typography blockquote p {
		font-size:36px;
		line-height:42px;
		color:#060;
		text-align:center;
		margin-bottom:0;
	}
.typography q {
	display:block;
	font-size:0.8em;
	margin:1em 1em;
	padding:0.5em;
	border:1px #ccc solid;
}

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

.typography a { 
 	text-decoration:underline;
	color:#F60;
}
	.typography a:hover {
		color:#060;
	}

	/* 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.noicon[href$=".pdf"],
	.typography a.noicon[href$=".PDF"] {
		padding:0;
		padding-left:0;
		background:none;
	}
	.typography a.noicon img {
		border:0;
	}


/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	margin:0 0 18px 24px;
	color:#666;
}
	.typography li {
		margin:5px 10px;
		font-size:14px;
	}
		.typography li li {
			font-size:12px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	color:#222;
	margin:12px 0 18px;
	font-weight:300;
	font-weight:bold;
	font-family:"Hoefler Text", Garamond, Baskerville, "Baskerville Old Face", "Times New Roman", serif;
}

.typography h1 {
	font-size:24px;
}
.typography h2 { 
 	font-size:20px;
}	
.typography h3 {
	color:#060;
	margin:0 0 12px;
	font-weight:300;
	clear:both;
	font-size:18px;
}
.typography h4 {
	font-size:16px;
	color:#060;
	width:95%;
	font-weight:300;
	line-height:18px;
	border-bottom:1px solid #ccc;
	margin:0 0 16px;
}
.typography h5 {
	font-size:14px;
	color:#060;
	font-weight:700;
	margin:0 0 12px;
}
.typography h6 {
	font-size:13px;
	color:#060;
	line-height:1.4em;
	margin:0 0 12px;
}

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

/* TABLE STYLING 
-------------------------------------------- */
.typography table {
	margin:0 0 18px;
	font-size:14px;
	color:#666;
	border-collapse:collapse;
	width:100%;
}
	.typography tr {}
	
		.typography td {
			border:0;
			text-align:center;
		}

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

.typography .calloutBox {
	width:200px;
	float:right;
	border:2px solid #060;
	background:#FFF;
	margin:5px 0 15px 15px;
	text-align:center;
}

/* IMAGES 
-------------------------------------------- */
.typography img {
	border:1px solid #999;
}
	.typography img.noborder,
	.typography a.noborder img {
		border:0;
	}
	.typography img.right {
		float:right;
		margin:1px 0 15px 15px;
	}
	.typography img.left {
		float:left;
		margin:1px 15px 15px 0;
	}
	.typography img.leftAlone {
		float:left;
		margin-right:100%;
	}
	.typography img.center {
		float:none;
		margin-left:auto;
		margin-right:auto;
		display:block;
	}

