/** 
 * SilverStripe Rescue V2.0 Theme
 * By Indiefilm - May 2013
 * www.indeifilm.co.nz
 
 * 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 
-------------------------------------------- */
 
 
@font-face {
    font-family: BebasNeue_font;
    src: local(BebasNeue_font), url('../fonts/BebasNeue.otf') format('opentype');
    font-stretch:extra-expanded;
}
 
.typography * {
	font-family:Arial,Helvetica,sans-serif;
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #555555;
 	line-height: 18px;
 	font-size: 14px;
	margin: 0 0 18px 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: #F00;
}
	.typography a:hover { 
 		text-decoration: underline;
	}
	

.typography #Breadcrumbs a{
	color: #555555 !important;
}


	/* 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 0px;
	color: #666;
}
	.typography li {
		margin: 5px 10px;
		font-size: 14px;
	}
		.typography li li {
			font-size: 12px;
		}
		
/* Gallery LIST STYLES 
-------------------------------------------- */		


.typography ul#PageGalleryList  {
	padding: 0px;
	margin: 0px;
}

.typography ul#PageGalleryList li {
	list-style: none;
	float: left;
	padding: 0px;
	margin: 3px;
}

.typography ul#PageGalleryList li a img {
	border: 2px solid #e4e4e4;
}

.typography ul#PageGalleryList li a:hover img {
	border: 2px solid #F00;
}

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

#Sidebar,
.typography h1,
.typography h2,
.typography h3,
.typography h4 {
font-family: 'Rationale', sans-serif;
}


.typography h5,
.typography h6 {
	
	font-family:Arial,Helvetica,sans-serif;
}


.typography h1 { 
	color: #4EA3D7; 
	margin: 0 0 18px 0;
	font-weight: 300;
}

.typography h1 {
	font-size: 24px;
}
.typography h2 { 

	width: 600px;
 	font-size: 26px; 
	min-height: 30px;
	padding: 10px 0px 0px 0px;
	margin-bottom: 30px;
	color: #000;
	text-transform: uppercase;
}	



#Sidebar.typography h3 {
	font-size: 18px; 
	background: #fff;
	width: 281px;
	padding: 0px 0px 0px 0px;
	color: #000;
	text-transform: uppercase;
	font-weight: normal;
	
}


.typography h3 {
 	font-size: 22px;
	width: 280px;
	min-height: 30px;
	padding: 10px 0px 0px 20px;
	color: #000;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.typography .gap {
	margin: 20px 0px 0px 0px;

}



.typography h3.normTitle {
		font-size: 16px;
		font-weight: normal; 
		background: #fff;
		color: #000;
		padding: 0px;
		margin: 0px 0px;
		text-transform: capitalize;
}

.typography h4.blogHomeTitle {
	font-size: 16px; 
	color: #000;
	font-weight: 300;
	text-transform: none;
}

.typography h4.blogHomeTitle a {

	color: #000;
}


.typography h4 {
	font-size: 20px; 
	color: #000;
	padding-bottom: 20px;
}

.typography h5 {
	font-size: 14px;
	color: #222;
	font-weight: 700;
	margin: 0 0 12px 0;
}

h6,
.typography h6 {
	font-size: 22px;
	font-weight: 200;
	color: #fff;
	line-height: 1.4em;
	margin: 0px 0 22px 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-bottom: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;
		padding-right: 20px;
	}
	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}



/* Other styles 
-------------------------------------------- */

p.par-padding {
	margin-top: 20px;	
	
}