/** 
 * 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: Arial, Helvetica, Geneva, Kalimati, sans-serif;
	font-style: inherit;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	
	/* STYLE RESET FOR TYPOGRAPHY STYLES */
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p {
	 font-size: 1em; line-height: 1.5em;}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	margin: 10px;
	font-size: 18px;
	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 { 
 	color:#9a1616;
	text-decoration:none;
}
	.typography a:hover {
		text-decoration:underline;
	}
	
	.typography h1 a, .typography h2 a { 
		color:#000000;
		text-decoration:none;
	}
/* LIST STYLES 
-------------------------------------------- */
.typography ol, ul {
	font-size: 1em;
	line-height: 1.5em;
}
.typography ol {
	margin: 0 0 0 15px;
}
.typography ol li {
	margin: 0;
}
.typography ul {
	margin: 0 0 0 15px;
}
	.typography li {
		margin: 0;
	}
		.typography li li {
		
		}
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1, h2, h3, h4, h5, h6 {margin:0; padding:0;}
.typography h1 {margin: -10px 0 10px 0; font-size: 24px; /* 24px */ line-height: 42px; /* 42px */ letter-spacing: -1px; font-weight:bold;}
.typography h2 {font-size: 18px; /* 28px */ line-height: 21px; /* 21px */ letter-spacing: -1px; font-weight:bold;}
.typography h3 {font-size: 14px; /* 14px */ line-height: 21px; /* 36px */ letter-spacing: -1px; font-weight:bold;}

.typography h4, h5, h6 { /* SAME AS H3 */
	font-size: 14px; /* 14px */ line-height: 21px; /* 36px */ letter-spacing: -1px; font-weight:bold;
}

/* PRE STYLES 
-------------------------------------------- */	

/* TABLE STYLING 
-------------------------------------------- */
.typography table {
	margin: 0 0 18px 0;
	color: #666;
	border-collapse:collapse;
}
	.typography tr {}
	
		.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;
}

/* IMAGES 
-------------------------------------------- */
	
.typography img {
	padding:4px; border:1px #dcdccf solid; display:inline-block;
}
	.typography img.right {
		float:right; margin-right:0; margin-left:1.2856em;
	}
	.typography img.left {
		float:left; margin-left:0; margin-right:1.2856em;
	}
	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
/* MISC
-------------------------------------------- */		
.typography div.left {
	float: left;
}
.typography div.right {
	float: right;
}
.typography div.center {
	float: none;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.typography hr{ border-bottom:#950002 1px dotted; height:1px; width:97%;
				margin:12px auto; display:block;}

/*FIXES for WSYWIG Bold,Italic,Underline Silverstripe2.3.2 --- additional fixed made in /cms/code/leftandmain.php (in 'valid_elements' => "*[*]",)*/
---------------------------------------------------------------
.typography strong{font-weight:bold;}
.typography b{font-weight:bold;}
.typography em{font-style:italic;}
.typography i{font-style:italic;}
.typography u{text-decoration:underline;}
