/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.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: Verdana,Geneva,serif;
}

.typography h1, 
.typography h2,
.typography h3, 
.typography h4,
.typography h5, 
.typography h6,
.typography p,
.typography ul,
.typography pre,
.typography blockquote,
.typography img {
	 	padding: 0px 20px;
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	font-size: 11.5px;
 	line-height: 14px;
 	margin-top: 5px;
}

.typography br {
	margin: 0;
}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	margin: 10px;
	font-size: 1.4em;
	color: #777;
	font-style: italic;
}	
.typography q {
	display:block;
	font-size: 1.0em;
	margin: 1em 1em;
	padding: 0.5em;
	border: 1px #ccc solid;
}

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

.typography a {
	color: #EFE6BF;
 	text-decoration: none; 
}
	.typography a:hover,
	.typography a:active {
		color: #ABA47C; 
	}

	.typography a:visited {
		color: #EFE6BF;
	}

	/* LINK ICONS - shows type of file
	------------------------------------ */
	.typography .file {
		margin-left: 20px;
	}

	.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[href$=".docx"],
	.typography a[href$=".DOCX"],
	.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[href$=".xlsx"],
	.typography a[href$=".XLSX"],
	.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;
	}

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	list-style: circle outside none;
}
	.typography li {
		margin: 8px 8px;
		font-size: 12px;
	}
		.typography li li {
			font-size: 12px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
    font-family: Helvetica,Arial,sans-serif;
    text-transform: uppercase;
    padding-top: 2px;
    margin-bottom: 5px;
}

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

/* PRE STYLES 
-------------------------------------------- */	
.typography pre {
	font-family: Helvetica,Arial,sans-serif;
	display:block;
	font-size:1.2em;
	margin:2em 5em;
	padding:0.5em;
	border:1px #ccc solid;
}

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

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: none;
}
	.typography img.right {
		float: right;
		margin-left: 20px;
	}
	.typography img.left {
		float: left;
	}
	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
