/** 
 * 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: 'Open Sans', sans-serif !important; 
}
.typography strong {
	font-weight: 600;
}
/* PARAGRAPHS 
-------------------------------------------- */
.typography p { 
 	color: #041863;
	 ;
	 letter-spacing: -.18px;
	 font-family: Open Sans, sans-serif !important;
	 font-size: 18px !important;
	 font-weight: 500 !important;
	 line-height: 155.5% !important;
	 margin-bottom: 24px !important;
}

.typography p span {
	font-weight: 500 !important;
}

/* 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: normal;
	padding-left: 30px;
	font-weight: 500;
	border-left: 5px solid #0a6c94;
}
.typography blockquote p {
	font-size: 22px;
	color: #0a6c94;
	font-style: normal;
	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 {
	color:#0068eb; 
	font-weight: 600;
}
	.typography a:hover { 
 		text-decoration: underline;
		 color:#0149b5;
	}

	/* 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 {
	list-style-type: disc;
	padding-left:10px;
	margin-bottom:12px;
	color: #041863;
    letter-spacing: -.18px;
    font-family: Open Sans, sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 155.5% !important;
    margin-bottom: 24px !important;
}	

.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;
}

.typography ul li span, .typography ol li span {
	font-weight: 500 !important;
	font-size: 18px !important;
}

/* 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;
	border-collapse:collapse;
	font-family: Open Sans;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.01em;
	text-align: left;
	color:#041863;
	width:100% !important;
}
.typography tr {}

.typography td {
	border:1px solid #ced2e1;
	padding:10px 5px;
    font-family: Open Sans;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.01em;
    border-left:none;
    border-right:none;
	color:#041863;
}

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

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: 1px solid #CED2E1;
	border-radius: 8px;
	background:#fff;
	margin-bottom: 15px;
	max-width: 100%;
	filter: drop-shadow(8px 8px 0px #0071F2);
	border-radius: 8px;
}
	.typography img.right {
		float: right;
		margin-left: 23px;
		margin-bottom:17px;
		padding: 5px;
	}
	.typography img.left {
		float: left;
		padding:10px;
		margin-right:23px;		
		margin-bottom:17px;
		padding: 5px;
	}
	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
		padding:10px;
		padding: 5px;
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
		padding: 5px;
	}

/* 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;
}
		