/**
  SilverStripe Black Candy Theme
  http://www.silverstripe.com
 
  This typography file is included in the WYSIWYG editor
 */
 
/* GENERIC STYLES */ 
.typography * {
 	color: #666;
	font-family: Arial, Verdana, Lucida, sans-serif; 
}

/* PARAGRAPHS */
.typography p { 
 	color: #666;
 	line-height: 1.6em;
 	font-size: 1em;
}
#Layout p {
 	margin: 10px 5px 5px 0;
}
#Sidebar p {
	font-size: 0.9em;
 	clear: both;
 	margin: 10px 10px 0 10px;
}
.typography blockquote {
	margin: 10px;
	font-size: 1.4em;
	color: #777;
	font-style: italic;
}	

/* LINKS */
.typography a { 
 	text-decoration: none; 
	color: #03b5fd;
}
.typography a:hover { 
 	text-decoration: underline;
}

/* ICONS */
.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: 20px;
	color: #666;
}

.typography li {
	margin: 5px 10px;
}

/* HEADER STYLES */

.typography h1,
.typography h2 { 
	color: #4EA3D7; 
	margin: 15px 0;
	clear: both;
	font-weight: 300;
	/*font-family: Tahoma, Verdana, sans-serif;*/
}
.typography h1 {
	font-size: 2.4em;
}
.typography h2 { 
 	font-size: 2em; 
}
	
.typography h3 {
	color: #222;
	margin: 0 0 15px 0;
	font-weight: 300;
	clear: both;
	font-size: 1.8em;
}
.typography h4 {
	font-size: 1.6em;
	color: #222;
	width: 95%;
	clear: both;
	font-weight: 300;
	line-height: 1.5em;
	border-bottom: 1px solid #ccc;
	margin: 25px 0 15px 0;
}
.typography h5 {
	font-size: 1.4em;
	color: #222;
	font-weight: 300;
	margin: 10px 0;
}
.typography h6 {
	font-size: 1.2em;
	color: #555;
	line-height: 1.4em;
	margin: 10px;
}

/* ADRESS 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;;
}
.typography label {
 	display: block;
	margin: 10px 0 -10px 0;
	color: #777;
}

.typography q {
	display:block;
	font-size:0.8em;
	margin:1em 1em;
	padding:0.5em;
	border:1px #ccc solid;
}

/* TABLE STYLING */
.typography table {
	margin: 10px;
	font-size: 1em;
	color: #666;
	border-collapse:collapse;
}
	.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;
}
.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;
}

/* FORMS */
.typography label {
	font-size: 1em;
}
.typography input.text, .typography textarea {
	font-size: 1em;
}
/* Extra redundancy */
.typography p.MsoNormal, .typography p.MsoBodyText {
	margin: 0;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}


/* Ryan's Typography */
/* -------------------------------------------------------------- 
   typography   
-------------------------------------------------------------- */

/* Headings
-------------------------------------------------------------- */

.typography h1, .typography h2, .typography h4, .typography h5, .typography h6 { font-weight: normal; color: #fb4900; }

.typography h3{ font-weight: normal; color: #04B4FD; }

.typography h1 a, .typography h2 a, .typography h3 a,
.typography h4 a, .typography h5 a, .typography h6 a, 
.typography h1 a:hover,
.typography h2 a:hover,
.typography h3 a:hover,
.typography h4 a:hover,
.typography h5 a:hover,
.typography h6 a:hover        { color: #fb4900; }

.typography h1 { font-size: 2em; line-height: 1; margin-bottom: 0.5em; text-transform: uppercase;}
.typography h2 { font-size: 1.1em; line-height: 1; margin-bottom: 1em; font-weight: bold; text-transform: uppercase;}
.typography h3 { font-size: 1.1em; line-height: 1; margin-bottom: 1em; font-weight: bold; text-transform: uppercase;}
.typography h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; font-weight: bold; text-transform: uppercase;}
.typography h5 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; font-weight: bold; text-transform: uppercase;
	display: block;
	border-bottom: 1px solid #d5d4d4;
	padding-bottom: 9px;
	}
.typography h6 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; font-weight: bold; text-transform: uppercase;
	display: block;
	border-bottom: 1px solid #d5d4d4;
	padding-bottom: 9px;
	text-align: right;
	clear: both;
	}

.typography h1 img, .typography h2 img, .typography h3 img, 
.typography h4 img, .typography h5 img, .typography h6 img {
  margin: 0;
}

.typography hr  {height:1px;border-width:0; background-color:#d5d4d4; color: #d5d4d4; margin-bottom: 1.75em; }

/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.75em 0; }
p img.left  { float: left; margin: 0 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 0 0 1.5em 1.5em; }

img.header  { margin: 0 0 18px 0; padding: 0;}

a:focus, 
a:hover     { color: #03b5fd; text-decoration: underline; }
a           { color: #03b5fd; text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin: 0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       	{ margin-bottom: 1.4em; width:100%; }
th          	{ font-weight: bold; }
thead th 		{ background: #53CAFF; color: #fff; }
th,td,caption	{ padding: 4px 10px 4px 5px; }
tr.even td  	{ background: #e5ecf9; }
tfoot       	{ font-style: italic; }
caption     	{ background: #eee; }


