/** 
 * 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 *, #calendar-main * {
	font-family: Verdana, Lucida, Arial, sans-serif; 
}

.typography hr {
    clear: both;
    float: none;
    display: block;
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p, #calendar-main p { 
 	color: #333;
 	line-height: 1.6em;
 	font-size: 1.2em;
	margin: 0 0 0 0;
	text-align: justify; 
}

/* QUOTES
-------------------------------------------- */
.typography blockquote,
.typography blockquote p {
	margin: 10px;
	font-size: 1.1em;
	color: #666;
	font-style: italic;
	text-align: center;
}	

.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: #000080;
	background: transparent; 
	text-decoration: underline;	
}
	.typography a:hover { 
 		text-decoration: underline;
		color: #6565CE
	}

#Breadcrumbs a { 	
    text-decoration: none; 
	color: #000080;
	background: transparent; 
 }

#Sidebar a {
    text-decoration: 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_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 18px;
	color: #555;
 	line-height: 1.6em;
 	font-size: 1.1em;
}
	.typography li {
		margin: 0 0 5px 5px;
		line-height: 1.6em;
 	    font-size: 1.1em;
	}
		.typography li li {
		    margin: 0 0 0px 0px;
		    padding: 0px;
		    font-size: 0.9em;
		    line-height: 1.4em;	
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2,
.typography h3,
.typography h4,
#calendar-main h1,
#calendar-main h2,
#calendar-main h3,
#calendar-main h4 { 
	color: #000080; 
	background: transparent; 
	font-weight: 300;
	font-family: Tahoma, Verdana, sans-serif;
}

.typography h1, #calendar-main h1 {
	font-size: 2.2em;
	margin: 0 0 0.8em 0;
	clear: both;
	float: none;
}
.typography h2, #calendar-main h2 {
    margin: 1.6em 0 .4em 0;  
 	font-size: 1.8em; 
 	border-bottom: 1px solid #ccc;
 	width: 100%;
	clear: both;
	float: none;
}	
.typography h3, #calendar-main h3 {
    margin: 1em 0 .3em 0;  
	clear: both;
	/*font-style: italic; */
	font-size: 1.6em;
	clear: both;
	float: none;
}
.typography h4, #calendar-main h4 {
	font-size: 1.3em;
	font-style: italic; 
	line-height: 1.4em;
    margin: 1em 0 .3em 0;  
}
.typography h5, #calendar-main h5 {
	font-size: 1.2em;
	color: #222;
	font-weight: 700;
    margin: 1em 0 .3em 0;  
}
.typography h6, #calendar-main h6 {
	font-size: 1.2em;
	color: #555;
	line-height: 1.4em;
    margin: 1em 0 .3em 0;  
}

/* PRE STYLES 
-------------------------------------------- */	
.typography pre {
	font-family:"Courier New",Courier;
	display:block;
	overflow:scroll;
	font-size:0.9em;
	margin:.5em;
	margin-left:2em; 
	padding:0.5em;
	border:1px #ccc solid;
	background:#eee;;
}

/* TABLE STYLING 
-------------------------------------------- */
.typography table, #calendar-main table {
	margin: 0 0 18px 0;
	font-size: 11px;
	color: #666;
	border-collapse:collapse;
}
	.typography tr, #calendar-main tr {}
	
		.typography td, #calendar-main 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,
	.typography div.captionImage.right {
		float: right;
		margin: 5px;
		margin-left: 20px;
	}
	
	.typography .captionImage {
		border: 1px solid #aaa;
		padding: 5px;
		margin: 5px;
	}
	
	.typography img.left,
	.typography div.captionImage.left {
		float: left;
		margin: 5px;
		margin-right: 20px;
	}
	.typography img.leftAlone,
	.typography div.captionImage.leftAlone {
		float: left;
		margin: 5px;
		margin-right: 100%;
	}
	.typography img.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;
	}
