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

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color:#666666;
 	line-height:1.5em;
	margin: 0 0 15px 0;
	text-align:justify;
}
.typography p.subline { 
 	color:#333333;
	font-weight:bold;
	line-height:1.5em;
	margin: 0 0 15px;
}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	background: url("../images/quotes.png") no-repeat scroll left 15px transparent;
    float: left;
    font-style: italic;
    padding: 10px 0 10px 60px;
}	
.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: #7c91ba;
}
	.typography a:hover { 
 		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 {
	list-style:none;
	margin:0 0 15px;
}
.typography ol {
	list-style: decimal outside none;
    margin: 0 0 15px;
    padding: 0 0 0 30px;
}
	.typography ul li {
		background:url("../images/list-bullet.png") no-repeat scroll 1px 4px transparent;
		margin:5px 0 5px;
		padding:0 0 0 12px;
	}
	.typography ol li {
		background:none;
		margin:5px 0 5px;
		padding:0
	}
	
	.typography #boxes li {
		background: none repeat scroll 0 0 transparent;
	    float: left;
	    margin: 0 25px 0 0;
	    padding: 0;
	    width: 205px;
	}
	.typography #boxes li h3 {
		font-size: 100%;
		height: 25px;
		
		/*background-color: #7c91ba;
	    font-size: 102%;
	    height: 30px;
	    margin: 0;
	    padding: 2px 5px 8px;
	    text-align: center;
	    width: 196px;
	}
	.typography #boxes li h3 a:hover,
	.typography #boxes li h3 a {
		color: #FFFFFF;*/
	}
	.typography #boxes li.last {
	    margin: 0;
	}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	color:#7c91ba; 
	margin:0;
	font-weight:300;
	margin:0 0 10px;
}
.typography h1 {
	font-size: 24px;
}
.typography h2 { 
 	font-size: 160%;
}	
.typography h3 {
	color:#7c91ba;
	font-size:120%;
	font-weight:normal;
	margin:0 0 10px;
}
.typography h4 {
	color:#666666;
	font-size:100%;
	font-weight:bold;
	line-height:1.5em;
	margin:0 0 5px;
}
.typography h5 {;
}
.typography h6 {
}

/* 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;
	border-collapse:collapse;
}
	.typography tr {}
		
		.typography td h3 {
			font-size: 100%;
		}
		
		.typography td,
		.typography th {
			border: 1px solid #AAAFB3;
			margin: 0;
			padding: 5px;
		}
		.typography td {
			background-color: #EEF4FF;
		}
		.typography th {
			background: #DDDDDD;
			font-size: 80%;
			font-weight: bold;
		}
		.typography td p,
		.typography th p {
			margin:0px;
			padding:0px;
		}

.typography table#languages {
	border:0;
	width:740px;
}
.typography table#languages td,
.typography table#languages td img {
	background-color: transparent;
	border:0;
}


/* 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 .right img,	
.typography img.right {
	border: 1px solid #666666;
	float: right;
	margin: 6px 0 15px 20px;
	padding: 2px;
}
.typography .left img,	
.typography img.left {
	border: 1px solid #666666;
	float: left;
	float: left;
	margin: 6px 10px 0 0;
	padding: 3px;
}
.typography img.leftAlone {
	float: left;
	margin-right: 100%;
}
.typography img.center {
	border:1px solid #666666;
	float: none;
	margin-left: auto;
	margin-right: auto;
	display: block;
	padding:3px;
}
.typography #box img.center {
	border:0;
	padding:0;
}
