/** 
 * SilverStripe Prototype 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.
 */
 
 
 
 /* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
.typography {
  color: #00354D;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.typography strong,
.typography b {
	font-weight: bold;
}

/* Headings
-------------------------------------------------------------- */
 
.typography h1, .typography h2,.typography h3,.typography h4,.typography h5,.typography h6 { font-weight: normal; color: #333; }

.typography h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
.typography h2 { font-size: 2em; line-height: 2; margin-bottom: 0.5em; }
.typography h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
.typography h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; } 
.typography h5 { font-size: 1em; line-height: 1; font-weight: bold; margin-bottom: 1.5em; }
.typography h6 { font-size: 1em; line-height: 1; font-weight: bold; }

.typography h1 img, .typography h2 img, .typography h3 img, 
.typography h4 img, .typography h5 img, .typography h6 img {
  margin: 0;
}

.typography img.left {
	margin: 0 1em .5em 0;
}
.typography img.right {
	margin: 0 0 .5em 1em;
}


/* Text elements
-------------------------------------------------------------- */

.typography p           { margin: 0 0 1.5em; line-height: 1.5; font-size: 1.2em; }
.typography p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.typography p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

.typography a:focus, 
.typography a:hover     { color: #00354D; }
.typography a           { color: #000; text-decoration: underline; }

.typography h1 a,
.typography h2 a,
.typography h3 a,
.typography h4 a 		{ text-decoration: none;}

.typography h1 a:hover,
.typography h2 a:hover,
.typography h3 a:hover,
.typography h4 a:hover 	{ text-decoration: underline;}

.typography blockquote  { margin: 1.5em; color: #666; font-style: italic; }
.typography strong      { font-weight: bold; }
.typography em,dfn      { font-style: italic; }
.typography dfn         { font-weight: bold; }
.typography sup, sub    { line-height: 0; }

.typography abbr, 
.typography acronym     { border-bottom: 1px dotted #666; }
.typography address     { margin: 0 0 1.5em; font-style: italic; }
.typography del         { color:#666; }

.typography pre 				{ margin: 1.5em 0; white-space: pre; }
.typography pre,.typography code,.typography tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

.typography li ul, 
.typography li ol       { margin:0 1.5em; }
.typography ul, .typography ol      { margin: 0 1.5em 1.5em 1.5em; }

.typography ul          { list-style-type: square; }
.typography ol          { list-style-type: decimal; }

	.typography ul li,
	.typography ol li {
		font-size: 1.2em;
	}

.typography p ul li,
.typography p ol li,
.typography ul li ul li,
.typography ol li ol li {
	font-size: 1em;
}

.typography dl          { margin: 0 0 1.5em 0; }
.typography dl dt       { font-weight: bold; font-size: 1.2em; }
.typography dd          { margin-left: 1.5em; font-size: 1.2em ;}


/* Tables
-------------------------------------------------------------- */

.typography th          { font-weight: bold; }
.typography thead th 		{ background: #edec7e; }
.typography th,.typography td,.typography caption { padding: 3px 10px 3px 3px; }
.typography tr.even td  { background: #FAFAFA; color: #111;}
.typography tfoot       { font-style: italic; }

.typography caption { 
	background: #ebf0f1;
	border: 1px solid #ebf0f1;
	color: #456672;
}

#Timetables table {
	margin-bottom: 0;
}
#Timetables td {
	border: 0;
}
#Timetables td, 
#Timetables th {
	border-left: 1px solid #eee;
	border-top: 1px solid #ebefa6;
}
#Timetables td.last, 
#Timetables th.last {
	border-right: 1px solid #eee;
}
#Timetable table tr.last td {
	border-bottom: 1px solid #ebefa6;
}
#Timetables td.stop {
	border-left: 1px solid #eee;
}
.typography table { 
	border-collapse: collapse; 
	margin-bottom: 1.5em;
}
.typography td, 
.typography th {
	border: 1px solid #ebefa6;
}


/* Misc classes
-------------------------------------------------------------- */

.typography .small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.typography .large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.typography .hide       { display: none; }

.typography .quiet      { color: #666; }
.typography .loud       { color: #000; }
.typography .highlight  { background:#ff0; }
.typography .added      { background:#060; color: #fff; }
.typography .removed    { background:#900; color: #fff; }

.typography .first      { margin-left:0; padding-left:0; }
.typography .last       { margin-right:0; padding-right:0; }
.typography .top        { margin-top:0; padding-top:0; }
.typography .bottom     { margin-bottom:0; padding-bottom:0; }



	/* 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;
	}


/* Buttons
	------------------------------------ */
	.typography .button_spread{-moz-border-radius: 3px; -webkit-border-radius: 3px; background:#CCC; padding:0.5em 1em; text-align:center;}
		.typography .button_spread a{text-decoration:none; display:block; width:100%;}
	.typography .button a{-moz-border-radius: 3px; -webkit-border-radius: 3px; background:#CCC; padding:0.5em 1em; float:left; display:block; text-decoration:none;}
