/** 
 * SilverStripe "bbag" theme (adapted from "Black Candy")
 * 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; 
}

.emf {font-weight: bolder;}

/* PARAGRAPHS */
.typography p {
  font-size: 1.6em; color: #200101;
  margin: 0em; padding: .4em 4em .4em 0em;
  line-height: 1.5;
 }
/* PAGE HEADER */
.typography p.phead {  font-size: 1.2em;
  font-style: italic;
  color: #200101;
  margin: 0; padding:  0 0 .4em 0;
 }
/* NEWS FOOTER */
.typography p.pfoot {  font-size: 1.2em;
  font-style: italic;
  color: #200101;
  margin: 0; padding:  1em 0 .4em 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 {color: #663300; text-decoration: underline;  }
.typography a:hover {color: rgb(7, 70, 70);
  background-color: rgb(209,234,234);}
.typography a:active {color: rgb(0,0,255);
  background-color: rgb(209,234,234);} 
.typography p a:visited { color: #200101; }

	/* 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 {
  padding:.5em 1.5em 0 0.2em;
  margin:1em;
  font-size:1.5em; color: #200101;
  line-height:0.9}
.typography li {
  padding-bottom: 0.6em;
}

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

.typography h1 {font-size: 1.8em;
  margin: 0; padding: 1.5em 0 .3em 0;
  font-weight: bold; color: #200;}
.typography h1 a {color: #752121; font-weight:bold;}
.typography h1 a:hover {text-decoration:underline;  background-color: rgb(255,234,234);}
.typography h1 a:active { color: #961e06; background-color: rgb(255,234,234);}

.typography h2 { /* width: 26em; border-top: 1px dashed; */
 clear: left;
 font-size: 1.7em; color: #300;
 margin: 0em; padding: 1.2em 0 0.2em 0;
 font-weight: bold;}
.typography h2 a {color: #752121; font-weight:bold;}
.typography h2 a:hover {background-color: rgb(255,234,234);}
.typography h2 a:active { color: #961e06;background-color: rgb(255,234,234);
 }
.typography h3 { 
  margin: 0;
  padding:0.6em 0em 0em 0em;
  font-size: 1.3em;
  font-weight: bold;
  color: #300;
 }
.typography h4{margin:0em;
        padding:0em 0 0 0em;
        font-size:1.2em;
        font-weight:bold;
        color:#300;
 }
.typography h5 {
	font-size: 1.2em;
	color: #300;
	font-weight: bold;
	margin: 10px 0;
}
.typography h6 {
	font-size: 1.2em;
	color: #555;
	line-height: 1.4;
	margin: 10px;
}

/* 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 {  font-size: 1.6em; color: #200101;
	margin: 0 0 0.6em 0em; 
        line-height: 1.3;
	border-collapse:collapse;border-spacing: 0;}

.typography table caption, th, td {
	text-align: left;
	font-weight: normal;
}

.typography tbody {}
.typography tr { padding: 0em;}
.typography td { color: #200101; 
	border:0;
	padding:1em 0 0 0em;}
.typography td a {color: #663300; text-decoration: underline;} 
.typography td a:visited {color: #200101; text-decoration: underline;} 

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