/**
 * Typography Styles
 *
 * Typography styles, these are used for all #Content and in the WYSIWYG editor
 * in the CMS Modified from SilverStripe Black Candy Theme
 *
 * @copyright Copyright 2010 Better Brief LLP
 * @author Dan Hensby <dan@betterbrief.co.uk>
 */

html, body {
	font-family:'Arial', 'sans-serif';
	font-size:12px;
	line-height:18px;
	color:#404040;
}

a {
	color: #ff8340;
	text-decoration:none;
}

a:hover {
	text-decoration: underline;
}

.orange a,
.green a {
	color: #00204E;
}

.typography p {
	line-height: 20px;
	margin: 6px 0;
}

.typography .content strong {
	color: #00204e;
}

#Content.typography{
	font-size: 13px;
}


.findUs a {
	color: #0070c8;
	line-height: 10px;
	font-weight: bold;
	padding-right: 8px;
	background:url(../images/arrow-blue.png) center right no-repeat;
	margin: 8px 0;
	display:block;
	float:left;
}

.typography h1,
.typography h2,
.typography h3,
.typography h4 {
	font-family: Helvetica, Arial, sans-serif;
	color:#00204e;
	padding:10px;
	padding-left:0;
	line-height: 1.4em;
}

.typography h1 {
	padding-top:0;
	font-size: 30px;
	line-height: 40px;
}

.typography h2 {
	font-size:24px;
	font-weight: bold;
}

.typography h3 {
	font-size: 18px;
}

.typography h4 {
	font-size: 13px;
	font-weight: bold;
}

.typography a {
	font-weight: bold;
	text-decoration:underline;
}

	.typography a.button {
		text-decoration:none;
	}

.typography a:hover {
	text-decoration: none;
}

	.typography a.button:hover {
		text-decoration:underline;
	}

.typography .content {
	padding: 0 16px 0 10px;
}

.typography ul {
	list-style:square outside;
	color:#b5d2e7;
	padding-left: 30px;
}

	.typography ul span {
		color:#404040;
	}

.typography ul li {
	padding: 5px 0;
	color: #404040;
}

/* 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 0;
	font-size: 11px;
	color: #666;
	border-collapse:collapse;
}
	.typography tr {}

		.typography td {
			border:1px solid #999;
			padding:5px;
		}

/* 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;
		margin-top: 6px;
	}
	.typography img.left {
		float: left;
		margin-right: 20px;
		margin-top: 6px;
	}

	.typography img.left+p {
		margin-top: 2px;
	}

	.typography #SearchResults img.left {
		margin-right: 15px;
	}

	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

.typography a.moreLink {

	font-weight: bold;
	background:url(../images/more-arrow.gif) center right no-repeat;
	display: inline;
	float: none;
	margin:0;
	padding-right: 7px;

}

/* Resources' icons */
.resources a[href$=".pdf"],
.resources a[href$=".PDF"],
.resources a.pdf {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_white_acrobat.png) no-repeat 0 3px;
}
.resources a[href$=".doc"],
.resources a[href$=".DOC"],
.resources a.doc {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_word.png) no-repeat 0 3px;
}
.resources a[href$=".xls"],
.resources a[href$=".XLS"],
.resources a.xls {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_excel.png) no-repeat 0 3px;
}
.resources a[href$=".gz"],
.resources a[href$=".GZ"],
.resources a[href$=".gzip"],
.resources a[href$=".GZIP"],
.resources a[href$=".zip"],
.resources a[href$=".ZIP"],
.resources a.archive {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_white_zip.png) no-repeat 0 3px;
}
.resources a[href$=".exe"],
.resources a[href$=".EXE"],
.resources a.application {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/application.png) no-repeat 0 3px;
}

.resources a.default {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/download.png) no-repeat 0 3px;
}
