/** 
 * 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, body.mceContentBody {font-size:14px;} 
.typography * {
	font-family: Arial, Lucida, Verdana, sans-serif; 
}
.typography strong {
	font-weight: 600;
}
/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #222;
 	line-height: 22px;
 	font-size: 14px;
	font-weight: 300;
	margin: 0 0 18px 0;
}
/* Seemed a bit dumb having extra padding on he last <p> */
.typography p:last-child {
    margin-bottom:0;
}
/* QUOTES
-------------------------------------------- */
.typography blockquote {
	margin: 30px;
	font-size: 22px;
	color: #0a6c94;
	font-style: italic;
	padding-left: 30px;
	font-weight: 300;
	border-left: 5px solid #0a6c94;
}
.typography blockquote p {
	font-size: 22px;
	color: #0a6c94;
	font-style: italic;
	font-weight: 300;
    line-height: 1.4;
}
.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
	------------------------------------ */
    /* This breaks the buttons on the resources/download page. These could be handy but
       but I'm sure we aren't using them at the moment anyway -Eamonn
     */
    
	/*.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 
-------------------------------------------- */
ol, ul {
   list-style: none;
   margin:0;
   padding:0;
}
.typography ul {margin:15px 0 15px 20px;}
.typography ul li {
		background:url(../images/li_blue_dot.gif) no-repeat 0px 7px;
		padding-left:17px;
		margin-bottom:12px;
        font-weight: 300;
}	

.typography ol {
	margin:15px 0 15px 20px;
	padding-left:18px;
}

.typography ol li {
 	list-style-type:decimal;
	padding-left:5px;
	margin-bottom:12px;
	background:none;
}

/* HEADER STYLES 
-------------------------------------------- */
.typography h1 {
	font-size:24px;
	border-bottom:3px solid #E6E6E6;
	padding-bottom:6px;
	margin-bottom:25px;
}

.typography h2 {
	font-size:18px;
	border-bottom:1px solid #E6E6E6;
	padding-bottom:6px;
	margin-bottom:15px;	
}

.typography h3 {
	font-size:17px;
	margin-bottom:15px;
	font-weight:bold;
}

.typography h4, .typography h5, .typography h6 {
	font-size:16px;
	margin-bottom:15px;		
	font-weight:bold;
}

/* 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:1px solid #C3C3C3;
	padding:10px 5px;
    font-size: 12px;
    border-left:none;
    border-right:none;
}

/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
.typography .left {
	text-align: left;
}
.typography .center {
	text-align: center;
}
.typography .right {
	text-align: right;
}

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: none;
	background:#fff;
	margin-bottom: 15px;
	max-width: 100%;
}
	.typography img.right {
		float: right;
		margin-left: 23px;
		margin-bottom:17px;
		padding: 5px;
		box-shadow: 0 0 5px rgba(0,0,0,0.2);   
	}
	.typography img.left {
		float: left;
		padding:10px;
		margin-right:23px;		
		margin-bottom:17px;
		padding: 5px;
		box-shadow: 0 0 5px rgba(0,0,0,0.2);
	}
	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
		padding:10px;
		padding: 5px;
		box-shadow: 0 0 5px rgba(0,0,0,0.2);
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
		padding: 5px;
		box-shadow: 0 0 5px rgba(0,0,0,0.2);
	}

/* IFRAMES - Basically youtube for us. This is purely for SS backend
-------------------------------------------- */
.mceItemIframe {
	background-image: url(../../img/iframe.gif) !important;
	border: 1px dotted #cc0000 !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: #ffffcc !important;
}
		