/**
  SilverStripe Black Candy Theme
  http://www.silverstripe.com
 
  This typography file is included in the WYSIWYG editor
 */
 
/* GENERIC STYLES */ 
.typography * {
	font-family: Verdana, Lucida, sans-serif; 
}

/* PARAGRAPHS */
.typography p { 
 	color: #544C47;
 	line-height: 1.6em;
 	font-size: 1.1em;
 	text-align: justify;
}
#Layout p {
 	margin: 10px 0 5px;
}
#Sidebar p {
	font-size: 1.1em;
 	clear: both;
 	margin: 8px 0;
}
.typography blockquote {
	margin: 10px;
	font-size: 1.4em;
	color: #777;
	font-style: italic;
}	

/* LINKS */
.typography a {
    text-decoration: underline; 
	color: #7E6A4B;
}
.typography a:visited {
    text-decoration: underline; 
	color: #544C47;
}
.typography a:hover {
    color: #AE8B56;
}

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

/* HEADER STYLES */

.typography h1,
.typography h2 { 
	color: #3C322D; 
	clear: both;
	font-weight: 500;
	font-family: Arial, Tahoma, Verdana, sans-serif;
}
.typography h1 {
	font-size: 2.8em;
}
.typography h2 { 
 	font-size: 2.3em;
 	margin-top: 15px;
}
	
.typography h3 {
    font-family: Georgia, serif;
	color: #544C47;
	margin: 15px 0 15px 0;
	font-weight: 300;
	font-size: 1.8em;
}
.typography h4 {
    font-family: Georgia, serif;
	font-size: 1.5em;
	color: #544C47;
	font-weight: 300;
	line-height: 1.5em;
	border-bottom: 1px solid #ccc;
	margin: 18px 0 10px 0;
	padding-bottom: 8px;
}
.typography h5 {
    font-family: Georgia, serif;
	font-size: 1.4em;
	color: #544C47;
	font-weight: 300;
	margin: 18px 0 15px 0;
}
.typography h6 {
    font-family: Georgia, serif;
	font-size: 1.2em;
	color: #555;
	line-height: 1.4em;
	margin: 18px 0 0 0;
}

/* NEWS STYLE */

.newsDetails {
    font-style: oblique;
    
}
span.newsDate,
span.newsAuthor {
    font-style: normal;
    font-weight: bold;
}

.newsPhoto {
    float: left;
    margin: 18px 15px 0 0;
}

.newsPage h3 {
    font-size: 1.3em;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    clear: none;
    margin: 0;
}

dl#NewsList dt.newsTitle {
    background: #EAE7E5 url(../images/news_box_top.gif) no-repeat;
    font-family: Georgia, serif;
	color: #544C47;
	margin: 20px 0 10px 0;
	font-weight: 300;
	clear: both;
	font-size: 1.8em;
	
}

    dl#NewsList dt.newsTitle span {
        background: url(../images/news_box_bottom.gif) no-repeat left bottom;
        padding: 5px 15px;
        display: block;
    }
    dl#NewsList dt.newsTitle a {
        text-decoration: none;
    }
    
dl#NewsList dd.newsSummary {
    background: #EAE7E5 url(../images/news_box_bottom.gif) no-repeat;
    
}   
    dl#NewsList dd.newsSummary span.newsDetails {
        background: url(../images/news_box_top.gif) no-repeat;        
        display: block;
        font-size: 0.9em;
        line-height: 2em;
        padding: 5px 15px;
    }

    dl#NewsList dd.newsSummary a.newsPhotoLink {
        float: left;
        padding: 0 5px 5px 0;
    }
    
    dl#NewsList dd.newsSummary span.newsContent {
        background: url(../images/news_box_separator.gif) no-repeat left top;
        display: block;
        padding: 10px 15px;
        margin-top: 0px;
        color: #544C47;
        line-height: 1.6em;
        font-size: 1.1em;
    }
    
    dl#NewsList dd.newsSummary span.newsReadMore {
        background: url(../images/news_box_separator.gif) no-repeat left top;
        clear: both;
        display: block;
        text-align: right;
        padding: 5px 15px;
        font-size: 0.9em;
        line-height: 2em;
    }

/* Services list */

ul.services_list {
    list-style: none inside;
    margin: 0 !important;
    padding: 0 !important;
}
    ul.services_list li {
        background: url(../images/services_list_bg.gif) no-repeat;
        display: block;
        width: 460px;
        height: 128px;
        margin: 0 0 4px 0 !important;
        padding: 0 20px !important;
    }
        ul.services_list li img {
            height: 125px;
            border: none !important;
            margin: 2px 10px 0 !important;
            padding: 0!important;
            float: left;
            overflow: hidden;
        }
        
        ul.services_list li h3 {
            margin: 0;
            padding: 10px 0 0 0;
            font-size: 1.7em;
            font-family: Verdana,Lucida,sans-serif;
        }
        ul.services_list li p {
            padding: 0 20px 0 0;
            font-size: 1em;
            text-align: left;
        }

/* ADRESS 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;;
}
.typography label {
 	display: block;
	margin: 10px 0 -10px 0;
}

.typography q {
	display:block;
	font-size:0.8em;
	margin:1em 1em;
	padding:0.5em;
	border:1px #ccc solid;
}

/* TABLE STYLING */
.typography table {
	margin: 10px;
	font-size: 1.2em;
	color: #666;
	border-collapse:collapse;
}
	.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;
}
.typography img.right {
	float:right;
	margin-left:20px;
}
.typography img.left {
	float:left;
}
.typography img.leftAlone {
	float: left;
	margin-right: 100%;
}
.typography img.center {
	float:none;
	margin-left:auto;
	margin-right:auto;
	display:block;
}

/* LIST STYLES */
.typography ul, 
.typography ol {
	margin: 20px;
	color: #544C47;
}

.typography li {
	margin: 5px 10px;
	font-size: 1.2em;
}

/* FORMS */
.typography label {
	font-size: 1em;
}
.typography input.text, .typography textarea {
	font-size: 1em;
}
/* Extra redundancy */
.typography p.MsoNormal, .typography p.MsoBodyText {
	margin: 0;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
