/** 
 * 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: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

/* PARAGRAPHS 
-------------------------------------------- */
.typography { font-size: 13px; }
.typography p { 
 	font-size: 13px;
	padding: 8px 0; 
	font-size:13px;
	line-height:1.5em; 
	margin: 0;
}

/* 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: #5e4761;
	text-decoration: underline;  
	padding-left:2px;
	padding-right:2px;
}
	.typography a:hover { 
 		color: #fff;
 		text-decoration: none;
 		background-color: #5e4761;
	}
	

	/* LINK ICONS - shows type of file
	------------------------------------ */
	.typography a[href$=".pdf"],
	.typography a[href$=".PDF"],
	.typography a.pdf {
		padding: 2px;
		padding-left: 20px;
		background-image: url(../images/icons/page_white_acrobat.png);
		background-position: left center;
		background-repeat:no-repeat;
	}
	.typography a[href$=".doc"],
	.typography a[href$=".DOC"],
	.typography a.doc {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/page_word.png);
		background-position: left center;
		background-repeat:no-repeat;
	}
	.typography a[href$=".xls"],
	.typography a[href$=".XLS"],
	.typography a.xls {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/page_excel.png);
		background-position: left center;
		background-repeat:no-repeat;
	}
	.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);
		background-position: left center;
		background-repeat:no-repeat;		
	}
	.typography a[href$=".exe"],
	.typography a[href$=".EXE"],
	.typography a.application {
		padding: 2px;
		padding-left: 20px;
		background: url(../images/icons/application.png);
		background-position: left center;
		background-repeat:no-repeat;
	}

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
	margin: 0 0 18px 24px;
}
.typography ul {
	list-style:circle;
}
	.typography li {
		margin: 5px 10px;
		font-size: 13px;
	}
		.typography li li {
			font-size: 80%;
		}
		
/* HEADER STYLES 
-------------------------------------------- */



.typography h1,
.typography h2 { 
	color: #5e4761;
	margin: 10px 0 0 0;
	font-weight: bold;
}

.typography h1 {
	font-size:19px;
}
.typography h2 { 
 	font-size: 16px;
}	
.typography h3 {
	color: #222;
	margin: 0 0 18px 0;
	font-weight: 300;
	clear: both;
	font-size: 18px;
}
.typography h4 {
	font-size: 16px;
	color: #222;
	width: 95%;
	font-weight: 300;
	line-height: 18px;
	border-bottom: 1px solid #ccc;
	margin: 0 0 16px 0;
}
.typography h5 {
	font-size: 14px;
	color: #222;
	font-weight: 700;
	margin: 0 0 12px 0;
}
.typography h6 {
	font-size: 13px;
	color: #555;
	line-height: 1.4em;
	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;
	font-size: 11px;
	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 {
	border: none;
}
	.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;
	}


/********** Dienstenbox **************************************************/
#dienstenbox {
	float:left;
	width:100%;
	margin-top:10px;
	padding-top:10px;
	border-top:1px solid #46374c;

}
#dienstenbox h1 {
	padding-top:10px;
	padding-bottom:10px;
}

#dienstenbox a, #dienstenbox_small h1 a, #dienstenbox_small h1 a:hover {
	background: none;
	padding: 0;
	color: #46374c; 
	text-decoration: none;  
}

#dienstenbox .dienstenbox_item {
	background:url(../themes/images/);
	float:left;
	margin-right:5px;
	width:144px;
	height:269px;
}

#dienstenbox .dienstenbox_item img {
	width:143px;
	height:96px;
}


#dienstenbox .dienstenbox_item h1 {
	padding:10px 10px 10px 10px;
	height:45px;
}
#dienstenbox .dienstenbox_item p {
	color:#46374c;
	padding-left:10px;
	padding-right:10px;
	line-height:1.2em;
}

#dienstenbox_small {
	float:left;
	width:100%;
	margin-top:10px;
	padding-top:10px;
	border-top:1px solid #46374c;

}
#dienstenbox_small .dienstenbox_item {
	background:url(../images/bgdiensten.jpg);
	float:left;
	margin-right:5px;
	width:144px;
	height:90px;
	background-position:bottom;
}
#dienstenbox_small .dienstenbox_item h1 {
	padding-left:10px;
	padding-right:10px;
	padding-top:10px;
	height:45px;
}



body.Telecom h1, body.Telecom h2 {
	color:#3160b8;
}
body.Telecom .typography a{
	color:#3160b8;
}
body.Telecom .typography a:hover {
	background:#3160b8;
	color:#ffffff;
}
