body {
	font-family: 'UbuntuRegular', 'Ubuntu', sans-serif;
	background: #FFF;
	margin: 0;
}

a {
	color: #880231;
}

a:hover {
	text-decoration: none;
}

#container {
	width: 100%;
	background: white;
}


header {
	width: 100%;
	background: #880231;
	color: white;
}
header > div {
	width: 900px;
	padding: 20px;
	margin: auto;
}
header h1 {
	font-family: 'UbuntuLight', Ubuntu, sans-serif;
	font-size: 0;
	margin: 20px 0;
	text-align: right;
}
header h1 a {
	color: white;
	text-decoration: none;
}
header h1 img {
	height: 100px;
}
header h2 {
	font-weight: 200;
	font-size: 40px;
	margin: 20px 0;
}
section.grey {
	background: #eee;
	width: 100%;
}
section.grey div.inner, nav#site-navigation ul {
	width: 900px;
	padding: 20px;
	margin: auto;
}
section.grey p {
	font-size: 22px;
	font-family: 'UbuntuLight', Ubuntu, sans-serif;
}
section.grey p.spaceleft {
	margin-left: 120px;
}
section.grey p a {
	text-decoration: none;
}
section.content {
	width: 900px;
	padding: 30px 20px;
	margin: auto;
}
section.content p {
	line-height: 1.4;
}

nav#site-navigation {
	background: #ccc;
	width: 100%;
	position: relative;
}
nav#site-navigation ul  {
	list-style-type: 0;
	margin: 0 auto;
	padding: 0;
}
nav#site-navigation ul li a {
	display: inline-block;
	line-height: 50px;
	color: black;
	padding: 0 15px;
	text-decoration: none;
}
nav#site-navigation ul li:hover > a {
	background: #bbb;
}
nav#site-navigation ul li.current_page_item > a,
nav#site-navigation ul li.current_page_item:hover > a {
	background: #eee;
}
nav#site-navigation ul li {
	display: inline-block;
}
nav#site-navigation ul li div.nav-sub {
	display: none;
	left: 0;
	width: 100%;
	background: #bbb;
}
@media (max-width:940px) {
	.nav-sub-mobile {
		left: 0;
		width: 100%;
		background: #eee;
	}
}
@media (min-width:941px) {
	.nav-sub-mobile {
		display: none;
	}
	.children-spacer {
		height: 50px;
	}
	nav#site-navigation ul li div.nav-sub {
		position: absolute;
	}
	nav#site-navigation ul li:hover div.nav-sub {
		display: block;
		z-index: 1000;
	}
	nav#site-navigation ul li.current_page_item div.nav-sub {
		display: block;
		background: #eee;
		z-index: 800;
	}
}
nav#site-navigation ul li .nav-sub a {
}
nav#site-navigation ul li .nav-sub li a:hover {
	background: #999;
}
nav#site-navigation ul li .nav-sub li.current_page_item a,
nav#site-navigation .nav-sub-mobile li.current_page_item a {
	background: #fff;
}

footer {
	background: #FFF;
	width: 100%;
	color: #333;
}
footer div {
	width: 900px;
	padding: 10px 0;
	margin: auto;
	text-align: center;
	font-size: 12px;
	line-height: 1.5;
}
footer p {
	margin: 10px 0;
}

section li {
	line-height: 1.5;
}
section p {
	line-height: 1.3;
	margin: 5px 0;
}

.clear {
	clear: both;
}

.center {
	text-align: center;
}

h2.page-title {
	margin-top: 0;
}
blockquote {
	font-style: italic;
	padding: 5px 20px 5px 20px;
	font-weight: 200;
}

.grid .gridcol {
	float: left;
}
.grid-3 .gridcol {
	width: 270px;
	margin-left: 45px;
}
.grid-2 .gridcol {
	width: 420px;
	margin-left: 60px;
}
.grid .gridcol:first-child {
	margin-left: 0 !important;
}
.gridcol.centered,
.gridcol.centered.hyphenate p.centered  {
	text-align: center;
}
.gridcol.centered.hyphenate p {
	text-align: justify;
}
.gridcol h3, article h3 {
	font-weight: normal;
	font-family: 'UbuntuBold', Ubuntu, sans-serif;
	color: #880231;
}
.gridcol h3 a {
	text-decoration: none;
}

img.grayscale, .logo img, .logos img, .logotext img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .3s ease; /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden; /* Fix for transition flickering */
    opacity: 0.7;
}
img.grayscale:hover, .logo img:hover, .logos img:hover, .logotext img:hover {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
    opacity: 1;
}
.clear {
	clear: both;
}

::selection
{
	color:      #fff;
	background: #880231;
}

a img {
	border: none;
}

.alignleft {
	float: left;
}
.tagline .alignleft {
	margin-right: 20px;
}
p.hyphenate {
	text-align: justify;
}
section h3:first-child {
	margin-top: 0;
}

p.nospacetop {
	margin-top: 0;
}

.onlyverysmall {
	display: none;
}

.photobox {
	width: 435px;
	max-width: 100%;
	height: auto;
	display: block;
	position: relative;
	float: left;
	margin-bottom: 10px;
}
.photobox img {
	max-width: 100%;
}
.section-row .photobox:first-child {
	margin-right: 30px;
}
.photobox .label {
	position: absolute;
	left: 0;
	bottom: 2px;
	background: rgba(0, 0, 0, 0.7);
	width: 100%;
	transition: background-color 0.5s;
}
.photobox .label > div {
	display: block;
	padding: 15px;
	margin: 0;
	color: white;
}
.photobox .label p {
	margin: 0;
	height: 0;
	overflow: hidden;
	transition: height 0.5s;
}
.photobox .label strong {
	font-family: 'UbuntuBold';
}
.photobox:hover .label {
	background: rgba(136, 2, 49, 0.9);
}

@media (min-width:420px) { 
	.cline p {
		line-height: 58px;
	}
	.cline .mail p {
		line-height: 25px;
		padding-top: 3px;
	}
}
@media (max-width:420px) { 
	.onlyverysmall {
		display: block;
	}
}
@media (max-width:940px) {
	header div,
	section.grey div.inner, 
	nav#site-navigation ul,
	section.content,
	footer div {
		width: auto;
	}
	section.grey div.inner {
		margin: 0 20px;
	}
	header h1 {
		margin: 0;
	}
	header h1 img {
		width: 50%;
	}	
	.grid .gridcol,
	.grid-2.cards .gridcol {
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}
	.grid .gridcol:first-child {
		margin-top: 0;
	}

}
img.breathetopbottom {
	margin: 25px 0;
}
img.breathebottom {
	margin-bottom: 25px;
}
svg { max-height: 100%; }

/* Front page */
h1 {
	margin: 0 0 10px 0;
	font-family: 'UbuntuLight', Ubuntu, sans-serif;
	font-weight: normal;
	font-size: 30px;
}
h2 {
	font-family: 'UbuntuLight', Ubuntu, sans-serif;
	font-weight: normal;
	font-size: 25px;
}
.grid-3 .gridcol h2 {
	margin: 0;
}
.grid-3 .gridcol .icon {
	height: 100px;
	margin: 20px 0;
}
.banner {
	height: 200px;
	width: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #333;
}
.banner h1 {
	width: 900px;
	margin: 0 auto;
	color: white;
	padding-top: 140px;
}
/* Product pages */

section.grey .inner.screens {
	overflow-y: auto;
	padding: 0;
}
section.grey .inner.screens > div {
	white-space: nowrap;
	width: 900px;
}
section.screenshots {
	padding: 20px 0;
}
section.screenshots .inner.screens a {
	display: block;
	width: 150px;
	float: left;
}
.logoright img {
	width: 100%;
	height: auto;
}
@media (min-width:941px) {
	.logoright {
		width: 207px;
		height: auto;
		margin: 0 0 15px 15px;
		float: right;
	}
	.opaclogo {
		margin-top: -38px;
	}
}
@media (max-width:940px) {
	.logoright {
		display: block;
		text-align: center;
		height: auto;
	}
}
/* Referenzen */
.portfoliobox .logos img, .logoline img {
	margin-bottom: 15px;
}
.logo, .logos a {
	text-decoration: none;
}
.portfoliobox {
	margin: 15px 0;
}
@media (min-width:941px) {
	.logoline img {
		margin-right: 27px;
	}
	.portfoliobox .logo, .portfoliobox .logos {
		float: left;
		display: block;
		width: 195px;
	}
	.portfoliobox .logo img, .portfoliobox .logos img, .logoline img {
		width: 195px;
		height: auto;
	}
	.portfoliobox .logotext {
		margin-left: 210px;
	}
}
@media (max-width:940px) {
	.portfoliobox .logo, .portfoliobox .logos {
		display: block;
		text-align: center;
	}
	.logoline {
		text-align: center;
	}
	.logoline img {
		width: 40%;
		height: auto;
		margin-left: 10px;
	}
}
/* Leistungen */
li span {
	color: #999;
}
