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

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
}

.typography p { 
 	color:#7c7c7c;
	/*color: #9b9898;*/
 	line-height: 18px;
	margin: 0 0 18px 0;
	font-size:0.95em;
}

/* 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 {
    color:#7c7c7c;
	/*color: #9b9898;*/
 	text-decoration: underline;
}
	.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, 
.typography ol {
	margin: 0 0 18px 24px;
	color:#7c7c7c;
	/*color: #9b9898;*/
}
	.typography li {
		margin: 0;/*5px 10px;*/
		font-size: 0.95em;
    line-height:18px;
	}
		.typography li li {
			font-size: 10px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	margin: 0 0 10px 0;
}

.typography h1 {
	font-size: 34px;
    /* color:#fbc222; */
    color:#234093;
    font-weight:normal;
}
.typography h2 { 
 	font-size: 18px;
	color: #464444;
}

.typography h3  {
    font-size:0.9em;
    font-family:Helvetica, Arial, sans-serif;
    color:#464444;
    text-transform:uppercase;
    font-weight:bold;
    padding:0 0 15px 0;
    margin:0 0 15px 0;
    display:inline-block;
    background:transparent url(../images/bg-heading-shadow-left.png) left bottom no-repeat;
}

.typography h3 span  {
    padding:0 40px 15px 20px;
    background:transparent url(../images/bg-heading-shadow-right.png) right bottom no-repeat;
}




.typography h4 {
	font-size: 16px;
	color: #222;
	width: 95%;
	font-weight: 300;
	line-height: 18px;
	margin: 0 0 16px 0;
}
.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 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 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;
	}
	.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;
	}

/* DL, DT, DD
-------------------------------------------- */
dd  {
    margin:0;
    padding:0;
}

dl dt  {
    float:left;
    display:block;
    width:72px;
    margin-left:20px;
    line-height:20px;
    font-size:0.9em;
}

dl dd  {
    line-height:20px;
    font-size:0.9em;
    display:block;
    float:left;
    width:202px;
}

    dl dt.clear,
    dl dd.clear{
        clear:both;
        float:none;
        width:auto;
        margin:0;
        line-height:normal;
    }
