/** 
 * 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: Arial, Helvetica, sans-serif; 
}

/* PARAGRAPHS */

.typography p { 
 	color: #000000;
 	font-size: 13px;
	margin: 0 0 0 0;
}

/* QUOTES */

.typography blockquote {
	margin: 10px;
	font-size: 1.4em;
	color: #000;
	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: none; 
	color: #00FD00;
}
.typography a:hover { 
	color: #00FD00;
	text-decoration: underline;
}

/* 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_white_acrobat.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.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.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 {
	/*margin: 0 0 18px 5px;*/
	color: #000;
}

.typography li {
	margin: 0 0 3 0;
	font-size: 13px;
}

.typography li li {
	font-size: 13px;
}
		
/* HEADER STYLES  */

.typography h1 {
	font-size: 40px;
	color: #00FD00;
	padding:0;
	margin:0;
}

.typography h2 { 
	font-size: 20px;
	color: #00FD00;
	padding:0;
	margin:0;
}	

.typography h3 {
	font-size: 18px;
	color: #00FD00;
	padding:0;
	margin:0;
}
.typography h4 {
	font-size: 16px;
	color: #00FD00;
	padding:0;
	margin:0;
}

.typography h5 {
	font-size: 14px;
	color: #00FD00;
	padding:0;
	margin:0;
}

.typography h6 {
	font-size: 12px;
	color: #00FD00;
	padding:0;
	margin: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;
}



/* 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 div.image.right,
.typography div.captionImage.right {
	float: right;
	/*margin-left: 20px;*/
	padding: 8 8 8 8;
}

.typography .captionImage {
	border: 1px solid #aaa;
	padding: 5px;
}

.typography div.image.left,
.typography div.captionImage.left {
	float: left;
	padding: 8 8 8 8;
}

.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;
}
