/** 
 * SilverStripe Black Candy Theme
 * http://www.betterbrief.co.uk/about-our-cms/

 * 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: "Lucida Grande", "Lucida Sans", "Arial", sans-serif;
 	color: #555;
 	/*line-height: 18px;
 	font-size: 12px;*/
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
	margin: 18px 0 0 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 { 
 	text-decoration: none; 
	color: #79a33f;
}
	.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;
	}
	
	.typography a[href$=".jpg"],
	.typography a[href$=".jpg"],
	.typography a[href$=".jpeg"],
	.typography a[href$=".JPEG"],
	.typography a[href$=".png"],
	.typography a[href$=".PNG"],
	.typography a[href$=".gif"],
	.typography a[href$=".GIF"],
	.typography a.application {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/map.png) no-repeat left center;
	}
	
	.typography a.noIcon {
		padding: 0;
		background:none;
	}

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	margin: 0 0 18px 24px;
	color: #666;
}
	.typography li {
		margin: 5px 10px;
		font-size: 12px;
	}
		.typography li li {
			font-size: 11px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	color: #79a33f; 
	margin: 0 0 18px 0;
	font-weight: 300;
	font-family: "Lucida Grande", "Lucida Sans", "Arial", sans-serif;
}

.typography h1 {
	font-size: 24px;
}
.typography h2 { 
 	font-size: 24px; 
	margin: 18px 0 0 0;
	padding: 5px 0;
	width: 95%;
	border-bottom: 1px solid #79a33f;
}

#LeftContent h2 {
		width: 100%;
}
.typography h3 {
	color: #222;
	margin: 16px 0 -10px 0;
	font-weight: 300;
	clear: both;
	font-size: 18px;
}
.typography h4 {
	font-size: 16px;
	color: #222;
	width: 95%;
	font-weight: 300;
	line-height: 18px;
	border-bottom: 1px solid #ccc;
	margin: 16px 0 -10px 0;
}
.typography h5 {
	font-size: 14px;
	color: #222;
	font-weight: 700;
	margin: 0 0 12px 0;
}
.typography h6 {
	font-size: 13px;
	color: #555;
	line-height: 1.4em;
	margin: 0 0 12px 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: 12px;
	color: #666;
	border-collapse:collapse;
}
	.typography tr {}
	
		.typography td {
			border:1px solid #999;
			padding:5px;
		}

/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
.typography .left {
	text-align: left;
	float: left;
}
.typography .center {
	text-align: center;
}
.typography .right {
	text-align: right;
	float: right;
}

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: none;
	margin: 10px;
	margin-top: 5px;
}
	.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;
	}



a.actionCall {
	float: left;
	display: block;
	position: relative;

	width: 220px;
	padding: 8px;
	text-align: center;
	background-color: #79a33f;
	border: 2px solid #4a4a4a;
	border-top: 2px solid #3c3c3c;
	color: white;
	text-transform: uppercase;
	text-decoration: underline;
	
	margin-top: 15px;
	margin-right: 15px;
	margin-left: 20px;
}

.typography table, .typography td, .typography tr {
		border: 0;
}
.typography td {
		border-bottom: 1px solid #ccc;
}

#GalleryPage h4 {
		margin-bottom: 10px;
}

#EntriesWrapper {
		margin-bottom: 10px;
}



.entry {
		padding: 0px;
		margin: 5px;
		margin-left: 0px;
		margin-right: 9px;
		float: left;
		clear: none;
		display: block;
		border: 4px solid white;
}

.entry:hover {
		border: 4px solid #79a33f;
}

.entry img {
		padding: 0;
		margin: 0;
}

#EntryHolder {
		position: relative;
		
}

#EntryHolder h1 {
		display: block;
		float: left;
		padding: 0;
		margin: 0;
		margin-top: 5px;
		margin-left: 145px;
		width: 400px;
}

#EntryHolder .img {
		text-align: center;
}


#EntryHolder h4 {
	position: absolute;
	right: 0;
	display: block;
	border: 0;
	padding: 0;
	margin: 0;
	padding-left: 5px;
	width: auto;
	margin-right: 145px;
	margin-top: 5px;
}

#EntryHolder .caption {
	text-align: left;
	margin: 0; padding: 0;
	margin-left: 145px;
	width: 600px;
	font-weight: normal;
}

#EntryHolder .loc {
	text-align: left;
	margin-left: 145px;
	width: 600px;
	font-weight: bold;
	color: #79a33f;
}

#EntryHolder .on {
	border: 4px solid #79a33f;
}


#EntryHolder .prev {
	position: absolute;
	top: 25px;
	left: 55px;
}

#EntryHolder .next {
	position: absolute;
	top: 25px;
	right: 75px;
}


#EntryHolder #EntriesWrapper {
	margin-left: 145px;
}

#EntriesWrapper .pagination {
		clear: both;
		margin-right: 15px;
		text-align: center;
}

.pagination .next {
		float: right;
		font-weight: bold;
}

.pagination .prev {
		float: left;
		font-weight: bold;
}
