/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * This site_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 * {
	color:#eee;
	font-family: Helvetica, Tahoma, Arial, sans-serif; 
} 

.typography p {
 	line-height: 18px;
 	font-size: 12px;
	margin: 0 0 18px 0;
} 
 
.site_typography * {
	font-family: Helvetica, Tahoma, Arial, sans-serif; 
}

/* PARAGRAPHS 
-------------------------------------------- */
.site_typography p { 
 	color: #FFF;
 	line-height: 18px;
 	font-size: 12px;
	margin: 0 0 18px 0;
}

/* QUOTES
-------------------------------------------- */
.site_typography blockquote {
	background: url(../images/quote.png) no-repeat top left;
	font-size: 12px;
 	line-height: 19px;
	text-indent: 30px;
}

	.site_typography small {
		display:block;
		font-size:10px;
		padding: 5px 0;
		text-align:right;
	}

.site_typography #content-box-left small {
	text-align:left;
}

.site_typography q {
	display:block;
	font-size: 0.8em;
	margin: 1em 1em;
	padding: 0.5em;
	border: 1px #ccc solid;
}

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

.site_typography a { 
 	text-decoration: underline; 
	color: #83d4ff;
}
	.site_typography a:hover { 
 		text-decoration: none;
	}

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

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

.site_typography h1,
.site_typography h2 { 
	color: #b2e5ff; 
	font-weight: normal;
	margin: 0 0 18px 0;
	font-family: Helvetica, Tahoma, Verdana, sans-serif;
}

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

/* PRE STYLES 
-------------------------------------------- */	
.site_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 
-------------------------------------------- */
.site_typography table {
	margin: 0 0 18px 0;
	font-size: 11px;
	color: #666;
	border-collapse:collapse;
}
	.site_typography tr {}
	
		.site_typography td {
			border:1px solid #999;
			padding:5px;
		}

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

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