/** 
 * 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: Verdana, Lucida, Arial, sans-serif; 
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #666;
 	line-height: 18px;
 	font-size: 11px;
	margin: 0 0 18px 0;
}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	margin: 10px;
	font-size: 1em;
	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: #3E91C4;
}
	.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 18px 0px;
	color: #666;
}
	.typography li {
		margin: 5px 10px 0px 0px;
		font-size: 11px;
	}
		.typography li li {
			font-size: 10px;
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 
	color: #4D4D4D; 
	margin: 0 0 0px 0;
	font-weight: 300;
	font-family: Tahoma, Verdana, sans-serif;
}

.typography h1 {
	font-size: 24px;
}
.typography h2 { 
 	font-size: 20px; 
}	
.typography h3 {
	color: #222;
	margin: 0 0 0px 0;
	font-weight: 300;
	clear: right;
	font-size: 18px;
}
.typography h4 {
	font-size: 16px;
	color: #222;
	width: 95%;
	font-weight: 300;
	line-height: 18px;
	border-bottom: 1px solid #ccc;
	margin: 0 0 16px 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 {
	font-size: 11px;
	color: #666;
	border-collapse:collapse;
}
	.typography tr {}
	
		.typography td {
			line-height: 18px;
		}

/* Entry for email class that doesn't do anything to have it included in TinyMCE Editor */
.typography .email {
	font-size: 100%;
}

		
/* Exadium Services Table
-------------------------------------------- */

.typography .tableSVC {
	font-weight: bold;
	font-size: 0.9em !important;
	display: inline;	
}

.tableSVC {
	border-collapse:separate !important;
	border-spacing:2px;
	color: white;
	
}
.tableSVC td {
	text-align: center;
	padding:5px;
	border-bottom:3px solid #CCCCCC !important; 	
	border-right:3px solid #CCCCCC !important;	
	border-left:3px solid white !important;	
	border-top:3px solid white !important;
	background-image:url('../images/gradient.png');	
}
.tableSVC a, .typography .tableSVC a:visited { color : white; }
.DEV { background-color : #98C93D; }
.USE { background-color : #83AF40; }
.SEM { background-color : #3AB7CA; }
.SEO { background-color : #3D85C6; }
.SEA { background-color : #D8612C; }
.MON { background-color : #D88A2C; }
.TI  { background-color : #4853A3; }
.KC  { background-color : #71509F; }
.P   { background-color : #A4509D; }
.WTA { background-color : #D6DE23; color: black }
.WTA a, .typography .WTA a:visited { color : black; }
.table a, .typography .table a:visited { color : white; }		

.DEV:hover { background-color: #ADD465 !important; }
.USE:hover { background-color: #9CC45E !important; }
.SEM:hover { background-color: #62C6D5 !important; }
.SEO:hover { background-color: #649ED2 !important; }
.SEA:hover { background-color: #E08157 !important; }
.MON:hover { background-color: #E0A257 !important; }
.TI:hover  { background-color: #646EBA !important; }
.KC:hover  { background-color: #8B6DB5 !important; }
.P:hover   { background-color: #B96EB2 !important; }
.WTA:hover { background-color: #DEE54F !important; }

.tableSVC a, .tableSVC a:visited { display: block; width: 100%; height: 100%; text-decoration: none; }


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


/* Quote
-------------------------------------------- */
.typography blockquote {
	position: relative;
	background-color : #D4F5F9;
	padding: 1em;
	border: 4px solid #A7EBF3;
	font-size: 90%;
	float: right;
	width: 40%;
}

.typography blockquote { quotes: "\201C" "\201D"; } 
.typography blockquote:before { content: open-quote; margin-left: -0.4em;} 
.typography blockquote:after { content: close-quote; padding-top:0.3em; margin-bottom: -0.4em; text-align:right;} 

.typography blockquote:before, .typography blockquote:after { 
	display:block;
	font-family: Times New Roman, Times, serif;
	font-weight: bold;	
	color: #34BACC;
	font-size: 700%;
	line-height:10%;
}

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: none;
}

	.typography p.image.right,
	.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;
	}

/************************
SITEMAP
************************/
#sitemap-list {padding:0 0 0 10px; margin:0; list-style:none; font-weight:normal; line-height:150%} /*1st level list*/
#sitemap-list li { background:url('../images/green-gradient.gif') repeat-x; border-top: 2px solid #99CC33; padding:10px 0px 10px 10px; margin-top:10px; font-size:13px; clear:right} /*1st level items*/
 
#sitemap-list ul {margin:5px 0px 5px 10px; padding:5px 0px 10px 10px; font-weight:normal; } /*2nd level lists*/
#sitemap-list li li { padding:0; margin:0; list-style:none; font-weight:normal; font-size:11px; line-height:18px; background:none} /*2nd level items*/

#sitemap-list .level2 li { background:url('../images/blue-gradient.gif') repeat-x; border-top: 2px solid #3AB8CB;  }
 
#sitemap-list ul ul {margin-left:10px;padding:5px 0 0 10px;  background:#fff;} /*3rd level lists*/
#sitemap-list li li li {font-size:11px; font-weight:normal;} /*3rd level items*/

/************************
QR Code
************************/
#QR { display: none; }

#AddressFooter { float: right; }

/************************
Source Code
************************/
.typography .code {
	font-family: 'Lucida Console', 'Bitstream Vera Sans Mono', 'Courier New', Monaco, Courier, monospace;
  white-space: pre;
  line-height: 1.4em;
  margin: 1em 0;
  border: 2px dashed #D7D7D7;
  padding: 0.5em 0 0.3em 0.5em;
  font-size: 90%;
  color: #000;
  background-color:#D4F5F9; 
  overflow: auto;		
}