/** 
 * 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.
 */


/* CSS3 FONTS 
-------------------------------------------- */

@font-face {
	font-family: Context;
	src: url(../fonts/context.ttf);
}

@font-face {
	font-family: Commerce;
	src: url(../fonts/commerce.ttf);
}


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

.typography .nomargin {
	margin: 0;
}

.typography .underline {
	text-decoration: underline;
}

.typography .border {
	padding-bottom: 2px;
	border-bottom: 1px dotted #CCC;
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #69746A;
 	line-height: 18px;
 	font-size: 14px;
	margin: 0 0 18px 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,
.typography a:active,
.typography a:visited
{ 
 	text-decoration: none; 
	color: #777;
	background: #EEE;
	outline: none;
}
	.typography a:hover,
	.typography a:focus
	{ 
 		text-decoration: underline;
		color: #B8FF9c;
		background: #FFF;
		outline: none;
	}
	
	/* 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_acrobat_16.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_16.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_16.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;
	}
	
.typography a.light:link,
.typography a.light:active,
.typography a.light:visited
{
	text-decoration: none;
	color: #DDD;
	background: none;
	font-size: 13px;
	font-weight: bold;
}

.typography a.light:hover{
	color: #C00;
}

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	margin: 0 0 18px 24px;
	color: #69746A; 
}
	.typography li {
		margin: 5px 10px;
		font-size: 11px;
	}
		.typography li li {
			font-size: 10px;
		}
		
		
.typography ul.file-list,
.typography ol.file-list
{
	list-style: none;
	margin: 0 0 25px 0;
	line-height: 10px;
}

.typography ul.file-list li,
.typography ol.file-list li
{
	margin: 0;
}

.typography ul.file-list a,
.typography ol.file-list a
{
	font-size: 12px;
}

.typography ul.cv-list,
.typography ol.cv-list
{
	list-style: none;
	margin: 0 0 30px 0;
	padding: 0;
}

.typography ul.cv-list ul.cv-list,
.typography ol.cv-list ol.cv-list
{
	list-style: none;
	margin: 0 0 10px 0;
	padding: 0;
}

.typography ul.cv-list li,
.typography ol.cv-list li
{
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 14px;
}


/* MARGIN STYLES 
-------------------------------------------- */
.typography .margin-top-10{
	margin-top: 10px;
}
.typography .margin-right-10{
	margin-right: 10px;
}
.typography .margin-bottom-10{
	margin-bottom: 10px;
}
.typography .margin-left-10{
	margin-left: 10px;
}

.typography .margin-top-20{
	margin-top: 20px;
}
.typography .margin-right-20{
	margin-right: 20px;
}
.typography .margin-bottom-20{
	margin-bottom: 20px;
}
.typography .margin-left-20{
	margin-left: 20px;
}

.typography .margin-top-30{
	margin-top: 30px;
}
.typography .margin-right-30{
	margin-right: 30px;
}
.typography .margin-bottom-30{
	margin-bottom: 30px;
}
.typography .margin-left-30{
	margin-left: 30px;
}

	
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	color: #7F877F; 
	margin: 0 0 5px 0;
	font-family: Arial, Helvetica, sans-serif;
}

.typography h1 {
	font-size: 20px;
	font-weight: normal;
}

.typography h2 { 
 	font-size: 20px; 
}

.typography h3 {
	color: #7F877F; 
	margin: 0 0 15px 0;
	font-weight: 600;
	clear: both;
	font-size: 16px;
}

.typography h3.subheading {
	color: #7F877F; 
	font-family: Times, serif;
	font-size: 15px;
	font-weight: 600;
	margin:0 0 30px;
}

.typography h4 {
	color: #7F877F; 
	margin: 0 0 15px 0;
	font-weight: 600;
	clear: both;
	font-size: 14px;
}

.typography h5 {
	font-size: 14px;
	color: #7F877F; 
	font-weight: 600;
	margin: 0 0 12px 0;
}

.typography h6 {
	font-size: 13px;
	color: #7F877F; 
	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;
}
	.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;
	}
	
.image-caption {
	font-size: 11px;
	margin: 0;
	text-align: right;
}

