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

/* PARAGRAPHS 
-------------------------------------------- */
.typography p {
    color:#555555;
    font-size:0.9em;
}

.typography p.leadin {
    font-weight:bold;
    margin-bottom:20px;
}

.typography .restricted {
    color:#FF0000 !important;
}

/* 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 { 
    text-decoration: none;
    color: #3E91C4;
}
.typography a:hover { 
    text-decoration: underline;
}



/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {

}
.typography li {

}
.typography li li {

}

/* HEADER STYLES 
-------------------------------------------- */

.typography h1,
.typography h2 { 

}

.typography h1 {

}
.typography h2 { 

}	
.typography h3 {
    color:#0076c0;
    font-size:1.3em;
    margin:15px 0 12px 0;
}
.typography h4 {
    color:#0076c0;
    margin-bottom:20px;
}
.typography h5 {
    color:#555555;
}
.typography h6 {

}

/* 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 {
    border-collapse:collapse;
}
.typography tr {}

.typography td {
    
}

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

/* IMAGES 
-------------------------------------------- */
.typography img {
    border: none;
}
.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;
}
