/** 
 * 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 * {}

/* PARAGRAPHS 
-------------------------------------------- */
.typography p {font-size: 12px; line-height: 20px; margin: 0px 0px 20px;}

/* QUOTES
-------------------------------------------- */
.typography blockquote {
	margin: 10px;
	font-size: 1.4em;
	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: #831818; text-decoration: none;}
.typography a:hover {color: #0E9194;}

/* LIST STYLES 
-------------------------------------------- */
.typography ul {
	list-style-image: url(../images/bullet-square-teal.gif);
}
.typography ul, 
.typography ol {margin: 0 0 18px 24px;}
	.typography li {font-size: 12px; line-height: 20px; margin: 0px 0px 4px;}
		.typography li li {
			font-size: 10px;
		}
		
		
/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2,
.typography h3 {margin: 0 0 20px 0;}

.typography h1 {font-size: 20px; line-height: 22px; color: #831818;}
.typography h2 {font-size: 16px; line-height: 20px; color: #0E9194;}	
.typography h3 {font-size: 14px; line-height: 20px;}
.typography h4 {font-size: 13px; line-height: 18px; border-bottom: 1px solid #ccc; margin: 0 0 16px 0;}
.typography h5 {font-size: 12px; line-height: 16px; color: #222; margin: 0 0 12px 0;}
.typography h6 {font-size: 10px; line-height: 16px; color: #555; font-weight: normal; 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 {
	margin: 0 0 18px 0;
	border-collapse:collapse;
	font-size: 12px; line-height: 20px;
}
	.typography tr {}
	
		.typography td, .typography th {
			padding:5px;
			vertical-align: top;
		}
		
		.typography th.blue, .typography th.red {font-size: 30px; line-height: 30px; font-weight: bold;}}

/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
.typography .left {
	text-align: left;
}
.typography .center {
	text-align: center;
}
.typography .right {
	text-align: right;
}

/* IMAGES 
-------------------------------------------- */
.typography img, #right-content img {
	border: none;
}
	.typography img.right, #right-content img.right {
		float: right;
		margin-left: 20px;
	}
	.typography img.left, #right-content img.left {
		float: left;
	}
	.typography img.leftAlone, #right-content img.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography img.center, #right-content img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

/* RANDOM 
-------------------------------------------- */
#right-content .overline {
	border-top: 2px dotted #FFF;
	padding-top: 10px;
}

.typography #articleHolder h2 {margin: 0 0 0px 0;}
.typography #articleHolder li {margin: 0px 0px 20px;}
.typography #articleHolder a {white-space: nowrap;}
.typography #articleHolder h2 a {margin: 0px 0px 20px; white-space: normal;}
.typography .red {color: #7D0010;}
.typography .blue {color: #0E9194;}