/*
Theme Name: Formpol
Theme URI: http://formpol.ch
Description: Wordpress Theme for Formpol AG
Version: 1.0
Author: Kitsune Interaction Design, Stefano M. Vannotti

*/

/* Global Reset */
/* Credits: Eric Meyer, meyerweb.com */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

body {
	font-family: Arial, sans-serif;
	font-size: 10px;
	color: #fff;
	padding: 0 20px;
}

a {
	text-decoration: none;
}

/* Structure */

#wrapper {
	width: 874px;
	margin: 0 auto 20px;
}

#header {
	position: relative;
	height: 66px;
}

#teaser {
	position: relative;
	height: 374px;
	background: #423430  url(images/bg-top-teaser.gif) top left no-repeat;
}

body#projects #teaser {
	background: transparent;
}

#content {
	position: relative;
	background: #1f110d;
	padding: 24px 18px 0;
}

#footer {
	height: 6px;
	line-height: 6px;
	background: transparent url(images/bg-footer.png) bottom left no-repeat;
}

/* Header */

#header h1 a {
	position: absolute;
	bottom: 12px;
	left: 0;
	display: block;
	width: 100px;
	height: 20px;
	text-indent: -999em;
	background: transparent url(images/logo-formpol.png) top left no-repeat;
}

.quicknav {
	position: absolute;
	right: 0;
	bottom: 12px;
	width: 300px;
	height: 10px;
	text-align: right;
}

ul.quicknav li {
	display: inline;
	margin-left: 36px;
	height: 10px;
}

ul.quicknav li a {
	font-weight: bold;
	color: #867c79;
	line-height: 10px;
}

ul.quicknav li a:hover,
ul.quicknav li.active a {
	color: #1f110d;
}

.editor-mode {
	position: absolute;
	height: 20px;
	bottom: 12px;
	left: 105px;
	padding: 0px 10px 0px 0px;
	background: #d2d2d2;
	color: #6B5B57;
	/*line-height: 20px;*/
}

.editor-mode a:link,
.editor-mode a:visited {
	color: #6B5B57;
	text-decoration: underline;
}
.editor-mode a:hover {
	color: #1f110d;
}

.admin-label {
	background: #4a90e6;
	line-height: 20px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding: 2px 6px;
}

.admin-link {
	padding: 0 6px;
}

/* Teaser */

#headline {
	position: absolute;
	top: 36px;
	right: 18px;
	width: auto;
}

#headline a {
	color: #fff;
}

#headline p.headline-txt a:hover {
	text-decoration: underline;
}

#headline p.headline-txt,
#headline p.headline-img {
	position: relative;
	float: left;
}

p.headline-txt{
	width: 150px;
	line-height: 1.25em;
}

p.headline-img {
	width: 145px;
}

.teaser-module {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 170px;
}

.top-mask {
	position: absolute;
	background: transparent url(images/teaser-mask.gif) top left no-repeat;
	top: 211px;
	left: 0;
	height: 6px;
	width: 874px;
	z-index: 90000;
}

/* content */

#content a:link,
#content a:visited {
	color: #fff;
	text-decoration: none;
}

#content a:hover {
	text-decoration: underline;
}

/* page-content */

.page-content {
	float:left;
	width: 574px;
	font-size: 11px;
	margin-right: 54px;
}

.page-content p {
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

body#frontpage .page-content {
	width: 497px;
	float: right;
	margin: 0 0 30px 0;
	padding-bottom: 6px;
	background: transparent url(images/bg-newsbox-bottom.png) bottom left no-repeat;
}

body#reference .page-content {
	width: auto;
	float: none;
}

.news-box {
	background: #423430 url(images/bg-newsbox-top.png) top left no-repeat;
	/*padding: 18px;*/
	padding-top: 18px;
}

.news-box p {
	padding: 0 18px;
	margin-bottom: 0;
	/*font-weight: bold;*/
	font-size: 10px;
}

p.newsline {
	position: relative;
}

p.newsline span.news-date {
	display: block;
	width: 55px;
	float: left;
}

p.newsline a.news-link {
	color: #fff;
	background: transparent url(images/reference-arrow.gif) right 50% no-repeat;
	padding-right: 12px;
}

p.newsline a.news-link:hover {
	text-decoration: underline;
}

p.more-news {
	margin-top: 10px;
	padding-bottom: 12px;
}

p.more-news a {
	color: #fff;
}

p.more-news a:hover {
	text-decoration: underline;	
}

#content h2 {
	font-size: 18px;
	color: #cc092f;
	margin-bottom: 6px;
}

p.additional {
	color: #998f8C;
}

p.additional a {
	color: #fff;
}

.reference-table {
	width: 837px;
	border-collapse: collapse;
	font-size: 11px;
	margin-bottom: 36px;
}

.reference-table th {
	color: #998f8C;
	line-height: 18px;
}

.reference-table th.reference-clients {
	width: 312px;
}

.reference-table th.reference-categories {
	padding-left: 18px;
	width: 175px;
}

.reference-table td {
	border: 1px solid #BFB9B7;
	line-height: 18px;
	text-indent: -999em;
}

.reference-table td.client {
	border-left: 0;
	text-indent: 0;
}

.reference-table td.checked {
	background: #80736F;
	text-indent: -999em;
}

.reference-table td.checked a {
	display: block;
	background: #80736F url(images/reference-arrow.gif) 18px center no-repeat;
}

.reference-table td.checked a:hover {
	display: block;
	background: #6B5B57 url(images/reference-arrow.gif) 18px center no-repeat;
}

ul.sitemap-list {
	margin-bottom: 1em;
}

ul.sitemap-list h3 {
	font-size: 1.25em;
	color: #6B5B57;
}

ul.sitemap-list li ul {
	margin-bottom: 1.5em;
}

ul.sitemap-list li ul li {
	line-height: 1.5em;	
}

ul.sitemap-list li ul li ul {
	margin-bottom: 0;
}

ul.sitemap-list li ul li ul li {
	padding-left: 1em;
}

/* page-sidebar */

.page-sidebar {
	width: 210px;
	float: left;
}

body#frontpage .page-sidebar {
	width: 341px;
	float: right;
	margin: 0;
}

body#reference .page-sidebar {
	display: none;
}

.related-projects,
.people-contact,
.contact-contact,
.sitemap-contact {
	color: #998f8C;
	line-height: 1.5em;
	background: transparent url(images/sidebar-top-border.png) top left no-repeat;
	padding-top: 17px;
}

.related-projects a {
	color: #fff;
}

.related-projects a:hover {
	text-decoration: underline;
}

.people-contact p,
.contact-contact p,
.sitemap-contact p {
	margin-bottom: 1em;
	line-height: 1.25em;
	
}

/* Footer */



/* Miscellaneous */

.admin-mode {
	background: #4A90E6 !important;
}

p.hidden-loginout a {
	position: absolute;
	top: 0;
	right: 0;
	width: 25px;
	height: 25px;
	text-indent: -999em;
}

.edit-post a {
	display: block;
	position: absolute;
	right: 18px;
	top: 12px;
	width: 16px;
	height: 16px;
	background: transparent url(images/page_edit_bw.png) top left no-repeat;
	text-indent: -999em;
}

.edit-post a:hover {
	background: transparent url(images/page_edit.png) top left no-repeat;	
}

.edit-news a {
	display: block;
	position: absolute;
	right: 18px;
	top: 0;
	width: 16px;
	height: 16px;
	background: transparent url(images/page_edit_bw.png) top left no-repeat;
	text-indent: -999em;	
}

.edit-news a:hover {
	background: transparent url(images/page_edit.png) top left no-repeat;	
}

.edit-reference a {
	color: #929292 !important;
}

.address-box {
	position: absolute;
	bottom: 0;
	left: 18px;
	margin-top: 96px;
}

.address-box p {
	margin-bottom: 1em;
	line-height: 1.25em;
	color: #998F8C;
}

.print,
img#wpstats,
hr {
	display: none;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */