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

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #111;
 	line-height: 1.4em;
	margin: 0 0 1em 0;
}
em{
	font-style:italic;
}
strong{
	font-weight:700;
}

/* 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: #978837;
}
	.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 1em 24px;
	color: #333;
}
	.typography li {
		margin: 5px 10px;
		font-size: 1em;
		list-style-type:disc;
	}
		.typography li li {
			font-size: 10px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	color: #444; 
	margin: 0 0 1em 0;
	font-weight: 300;
	font-family: Tahoma, Verdana, sans-serif;
}

.typography h1 {
	font-size: 1.6em;
}
.typography h2 { 
 	font-size: 1.3em; 
}	
.typography h3 {
    font-size: 1.15em;
	color: #222;
	margin: 0 0 1em 0;
	font-weight: 300;
}
.typography h4 {
	font-size: 1em;
	color: #222;
	font-weight: 300;
	line-height: 1em;
	margin: 0 0 0.5em 0;
}
.typography h5 {
	font-size: 1em;
	color: #222;
	font-weight: 700;
	margin: 0 0 0.5em 0;
}
.typography h6 {
	font-size: 1em;
	color: #555;
	line-height: 1.4em;
	margin: 0 0 0.5em 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;;
}

/* 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 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;
	}
	
/* RSS 
-------------------------------------------- */
p.rssLink a{
	font-weight:bold;
}
p.rssLink em{
	font-size:0.9em;
}

/* --- NEWS --- */
.typography #News{
}
.typography .newsDate,
.typography #News .newsDate{
    font-size:0.95em;
	color:#999;
}
.typography #News h2.newsTitle{
    margin-bottom:0;
}
.typography #News p.newsDateTitle{
    margin-bottom:0;
}
.typography #News p.newsDateTitle a{
    font-weight:600;
}
.typography #News h3{
	margin-bottom:0;
}
.typography #LatestNewsHome{
	border-top:solid 1px #ccc;
	padding-top:20px;
}
.typography #LatestNewsHome h2{
	margin-bottom:0;
}

/* --- GALLERY --- */
#Gallery{
   width:100%;
   border-top:solid 1px #ccc;
}

#Gallery a img{
    -moz-box-shadow: 3px 3px 3px #888;
    -webkit-box-shadow: 3px 3px 3px #888;
    box-shadow: 3px 3px 3px #888;
	/* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#888888')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#888888');
    /* Need to trigger 'layout' for IE6, IE 7 */
	zoom:1;
}
#Gallery a:hover img{
	opacity: 0.5;
}
#Gallery div.lightboxHolder{
	float:left;
	margin: 0 8px 8px 0;
}
#Gallery p.clickInfo{
	font-size:0.80em;
	font-style:italic;
}
#Gallery .separator{
	border-bottom:dotted 1px #ccc;
	margin-bottom:10px;
}
#Gallery div.description{
	margin-left:220px;
	width:410px;
}

p.clearWithBorder{
    clear:both;
    width:100%;
	border-bottom:dotted 1px #ddd;
}

.lightbox img{
	border:solid 1px #ddd;
	padding:2px;
	padding-bottom:20px;
	background-image:url(../images/click-to-enlarge.gif);
	background-position:left bottom;
	background-repeat:no-repeat;
}
#Gallery div.lightboxHolder img{
   background-image:none;
   padding:0;
   border:none;
}

