

.tabs {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 1em 0 2em;
	font-weight: 300;
}

/* Nav */
.tabs nav {
	text-align: center;
}

.tabs nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tabs nav ul li {
        border: 1px solid #d4d4d4;
        border-bottom: none;
        margin: 0 0.1em;
        display: block;
        float: left;
        position: relative;
}

.tabs nav li.tab-current {
	border: 1px solid #d4d4d4;
	border-bottom: none;
	z-index: 100;
}

.tabs nav li.tab-current:before,
.tabs nav li.tab-current:after {
	content: '';
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 1000px;
	background: #d4d4d4;
}

.tabs nav li.tab-current:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs nav a {
        color: #333333;
        display: block;
        font-size: 18px;
        line-height: 2.5;
        padding: 13px 12px 10px 12px;
        white-space: nowrap;
        background-color: #ecebeb;
}

.tabs nav a:hover {
	color: #666;
}

.tabs nav li.tab-current a {
	color: #fff;
        background-color: #bc2023;
}

/* Icons */
.tabs nav a:before {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	margin: -0.25em 0.4em 0 0;
}

.icon-webdesigner:before
{
	content: url("../img/icon3-03.png");
        width:50px;
        height:49px;
}


.icon-developer:before
{
	content: url("../img/icon1-01.png");
        width:50px;
        height:49px;
}

.icon-linux-systemadmin:before
{
	content: url("../img/icon2-02.png");
        width:50px;
        height:49px;
}

.icon-buchhalter:before
{
	content: url("../img/icon4-04.png");
        width:50px;
        height:49px;
}

/* Content */
.content section {
	font-size: 1.25em;
	padding: 3em 1em;
	display: none;
	max-width: 1230px;
	margin: 0 auto;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid #47a3da;
}

.content section.content-current {
	display: block;
}

.mediabox {
	margin-top: 30px;
        text-align: left;
        fonz-size: 18px;
}

@media screen and (max-width: 52.375em) {
	.tabs nav a span {
		display: none;
	}

	.tabs nav a:before {
		margin-right: 0;
	}

	.mediabox {
		float: none;
		width: auto;
		padding: 0 0 35px 0;
		font-size: 90%;
	}



	.mediabox:before,
	.mediabox:after {
		content: '';
		display: table;
	}

	.mediabox:after {
		clear: both;
	}
}

@media screen and (max-width: 32em) {
	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
		padding: 7px;
	}

	.tabs nav ul li {
		width: 20%;
		width: calc(20% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs nav ul li:last-child {
		border-right: none;
	}

	.mediabox {
		text-align: center;
	}


	.mediabox p {
		margin: 0;
	}
}