/** 
 * 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 
-------------------------------------------- */
 
.small {font-size:10px!important;}
.normal {font-size:12px!important;}
.large {font-size:14px!important;}
.xlarge {font-size:16px!important;}
.special {color:#F00!important;}
/*.highlight {background:#A1CE26!important;color:#fff!important;}*/
.highlightText {color:#A1CE26!important;}

.typography * {
	font-family:Arial, Helvetica, sans-serif; 
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { color: #797979; font-size: 13px; line-height: 19px;	padding: 0 0 18px 0;}
.typography hr {background:#e2dccb;border:none;height:1px; margin:0;/*margin:30px 0 18px;*/}
	#ContentSub hr {margin:10px 22px 10px;width:214px;}
	#ContentSub p, #ContentSub h1, #ContentSub h2, #ContentSub h3, #ContentSub h4, #ContentSub h5, 										#ContentSub h6 {margin:0 22px 2px;}
	#ContentSub h4, #ContentSub h5, #ContentSub h6 {margin-top:14px; margin-bottom:20px;}
	#ContentSub p {font-size:14px;}
	#ContentSub h3 {color:#a1ce26;font-size:16px;font-weight:bold;margin-top:12px;
padding-top:10px;}
	#Breadcrumbs p {padding:0;}


/* QUOTES
-------------------------------------------- */
.typography blockquote {
	margin: 10px;
	font-size: 1.4em;
	color: #777;
	font-style: italic;
}	
.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: #5f7b13;}
	#ContentSub p a {font-size:12px;}
	.typography a:hover { /*background:#005221; color:#fff;*/text-decoration: none;	}

	/* LINK ICONS - shows type of file
	------------------------------------ */
	.typography a[href$=".pdf"],
	.typography a[href$=".PDF"],
	.typography a.pdf {
		padding: 2px;
		padding-right: 20px;
		background: url(../images/icons/page_white_acrobat.png) no-repeat right center;
	}
	.typography a[href$=".doc"],
	.typography a[href$=".DOC"],
	.typography a.doc {
		padding: 2px;
		padding-right: 20px;
		background: url(../images/icons/page_word.png) no-repeat right center;
	}
	.typography a[href$=".xls"],
	.typography a[href$=".XLS"],
	.typography a.xls {
		padding: 2px;
		padding-right: 20px;
		background: url(../images/icons/page_excel.png) no-repeat right 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-right: 20px;
		background: url(../images/icons/page_white_zip.png) no-repeat right center;
	}
	.typography a[href$=".exe"],
	.typography a[href$=".EXE"],
	.typography a.application {
		padding: 2px;
		padding-right: 20px;
		background: url(../images/icons/application.png) no-repeat right center;
	}

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	margin: 0 0 18px 24px;
	color: #797979;
}
	.typography li {line-height:19px;
		margin: 5px 10px;
		font-size: 13px;
	}
		.typography li li {
			font-size: 11px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1, .typography h2 { color: #999; font-weight: normal;	font-family: Georgia, "Times New Roman", Times, serif; margin: 0 0 18px 0;}

.typography h1 {
	font-size: 24px;
}
.typography h2 {  	font-size: 30px; line-height:30px;}	
	#home .typography h2 { font-size: 18px; line-height:26px;}	
	.typography h2  a { color:#333;}	

.typography h3 {border-top:1px #e2dccb solid;
	color: #575a4f;clear: both;
	font-size: 20px;
	font-weight: 300;
	margin:18px 0 18px 0;padding:18px 0 2px;
	
}
.typography h4 {
	font-size: 16px;
	color: #222;
	/*width: 95%;*/
	font-weight: 300;
	line-height: 18px;
	border-bottom: 1px solid #e2dccb;
	margin: 10px 0 16px 0;
}
.typography h5 {
	font-size: 14px;
	color: #222;
	font-weight: 700;
	margin: 0 0 12px 0;
}
.typography h6 {
	font-size: 13px;
	color: #555;
	line-height: 1.4em;
	margin: 0 0 12px 0;
}

/* 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;}
	#ContentSub img {border:solid 2px #fff;}
	.typography div.image.right,
	.typography div.captionImage.right {
		float: right;
		margin-left: 20px;
	}
	
	.typography .captionImage {
		border: 1px solid #aaa;
		padding: 5px;
	}
	
	.typography div.image.left,
	.typography div.captionImage.left {
		float: left; margin-right:20px;	}
	.typography div.image.leftAlone,
	.typography div.captionImage.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography div.image.center,
	.typography div.captionImage.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	
	.typography .caption {
		font-weight: bold;
		text-align: center;
		color: #666;
	}
