body {
    background: #575757;
    font-family: 'Open Sans', sans-serif;
    /*font-family: 'Open Sans Condensed', sans-serif;*/
    margin: 0px;
}
/*
#outer {
    position: relative;
    z-index: 1;
    left: 50%;
    margin: 0px 0px 0px -480px;
    top:-345px;
}*/

#outer {
    display: flex;
    justify-content: center;
}

/* ------------- HEADER ------------- */

#header {
    position: absolute;
    top: 0px;
    width: 960px;
}

#logo {
    float: left;
    width: 390px;
    height: 77px;
}
#logo img {
    position: absolute;
    left: 15px;
    top: 13px;
    width: 360px;
}
#navi {
    position:absolute;
    left: 390px;
    width: 570px;
    height: 77px;
    background: url(./images/navi-bg.png);
}
#navi div[class^=button] {
    position: relative;
    float: left;
    text-align: center;
    height: 77px;
    line-height: 74px;
    font-size:  14px;
    font-weight: bold;
    cursor: pointer;

}
#navi a span:hover {
    color: #8ec34d;
}
#navi div[class^=button].selected a span:hover {
    /* bei aktiven Navielementen color nicht ändern */
    color: #000;
}
#navi .selected {
    background: url(./images/navi-bg.png) 0px -77px;
}

#navi a span {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left: 0;
    z-index: 1;

    transition: color 0.2s;
    color: #000;

    /* edit: fixes overlap error in IE7/8,
       make sure you have an empty gif */
    /*background-image: url('empty.gif');*/
}
#navi .button_1 {width: 61px;}
#navi .button_2 {width: 109px;}
#navi .button_3 {width: 111px;}
#navi .button_4 {width: 203px;}
#navi .button_5 {width: 86px;}

#background {
    position: relative;
    top: 77px;
    min-width: 100%;
    height: 345px;
    background: url(./images/bg-1.jpg);
    background-size: cover;
    background-position: center;
    z-index: 1;
    box-shadow: 0px 0px 3px #000;
}
#header #portrait {
    position: absolute;
    left: 504px;
    top: 101px;
    z-index: 2;
    width: 387px;
    height: 301px;
    background: url(./images/portrait.png);
}
#header #blockquote {
    background: rgba(93, 93, 93, 0.5);
    position: absolute;
    z-index: 10;
    padding: 20px 20px;
    top: 128px;
    left: 17px;
    width: 394px;
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.53);
    font-size: 17px;
    text-align: justify;
}
#header #blockquote span {
    /*color: #8ec34d;*/
    font-weight: bold;
    font-size: 22px;
    line-height: 29px;
}
#header #blockquote b {
    font-size: 29px;
    line-height: 27px;
}
#header #blockquote small {
    font-size: 18px;
}
#header #ordi {
    position: absolute;
    z-index: 2;
    top: 361px;
    left: 50px;
    color: #fff;
    text-shadow: 0px 1px 0px #000, 0px 1px 2px rgba(0,0,0,0.7);
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: bold;
}

/* ---------- CONTENT ----------- */

#content {
    position: absolute;
    z-index: 3;
    width: 960px;
    top: 402px;
    background: #fff;
    transition: height 0.3s;
}

.twocolumn {
    display: flex;
}

/* ----------- NEWS ------------- */

#news {
	background: #fff;
    float:left;
    width: 550px;
    padding: 25px 25px 15px 25px;
	position: relative;
}
#news h1 {
    font-weight: bold;
    font-size: 38px;
    color: #63b320;
    text-shadow: 0px 2px 0px #d6d6d6;
    letter-spacing: 3px;
    text-align: center;
    line-height: 38px;
    margin: 0px 0px 10px;
}
#news h2 {
    font-weight: normal;
    font-size: 27px;
    color: #63b320;
    line-height: 27px;
    margin: 0px 0px 5px;
    text-align: left;
}
#news .newsentry {
    font-size: 15px;
    text-align: justify;
    margin: 0px 0px 38px;
}
#news .newsentry p {
    margin-top: 11px;
    line-height: 23px;
}
#news .newsentry .swatch {
    float: left;
    width: 51px;
    height: 72px;
    margin: 0px 12px 4px 0px;
    color:  #fff;
    font-size: 20px;
    text-align: center;
    text-shadow: 0px -1px 0px #329b0a;
    font-family: Tahoma, sans-serif;
    box-shadow: inset 0px -4px 0px #287508;
    border-radius: 4px;
    background: #abdf50; /* Old browsers */
    background: -moz-linear-gradient(top,  #abdf50 0%, #68ae2c 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#abdf50), color-stop(100%,#68ae2c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #abdf50 0%,#68ae2c 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #abdf50 0%,#68ae2c 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #abdf50 0%,#68ae2c 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #abdf50 0%,#68ae2c 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abdf50', endColorstr='#68ae2c',GradientType=0 ); /* IE6-9 */
}
#news .newsentry .swatch span {
    font-size: 32px;
}
#news .newsentry a, #news .newsentry a:visited {
    color: #63b320;
    text-decoration: underline;
    transition: color 0.3s;
}
#news .newsentry a:hover {
    color: #8bdf44;
}
#news .newsentry .footer {
    width: 100%;
    padding: 0px 5px 0px 0px;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #7c7c7c;
}
#news .newsentry .footer {
    float: left;
}
#news .newsentry .footer a {
    float: right;
    color: #63b320;
    font-style: italic;
    text-decoration: none;
    letter-spacing: 0.07em;
}
#news .newsentry .footer a:hover {
    text-decoration: underline;
    color: #347100;
}
#news .bg {
	width: 360px;
	height: 100%;
	background-color: #ececec;
	position: absolute;
	top: 0px;
	right: 0px;
}

/* -------------- CONTACT ------------- */

#contact {
    float: right;
	right: 0px;
    width: 310px;
    height: auto;
    background: #ececec;
    padding: 15px 25px;
    font-size: 20px;
}
#contact h1 {
    font-weight: bold;
    font-size: 27px;
    color: #63b320;
    text-shadow: 0px 2px 0px #d6d6d6;
    letter-spacing: 1px;
    text-align: left;
    line-height: 38px;
    margin: 5px 0px 15px;
}
#contact h1:first-child {
    margin: 0px 0px 10px;
}
#contact table {
    position: relative;
    left: 20px;
	margin-bottom: 20px;
}
#contact table td {
    line-height: 19px;
}
#contact table td.bold {
    font-weight: bold;
}
#contact table td.right-align {
    text-align: right;
}
#contact .contact-info {
    margin: 0px 15px 15px;
}

#contact a, #contact a:visited {
    color: #63b320;
    text-decoration: underline;
    font-size: 21px;
    transition: color 0.3s;
}
#contact a:hover {
    color: #8bdf44;
}
#contact #number a[href^="tel:"] {
    font-size: 27px;
    text-decoration: none;
}

/* ----------- LEISTUNGEN ----------- */

#leistungen {
    position:relative;
    float:left;
    width: 960px;
    height: 360px;
    background: #ececec;
}
#leistungen h1 {
    font-weight: bold;
    font-size: 38px;
    color: #63b320;
    text-shadow: 0px 2px 0px #d6d6d6;
    letter-spacing: 3px;
    text-align: center;
    line-height: 38px;
    margin: 15px 0px 15px;
}
#leistungen #swatches1, #leistungen #swatches2 {
    position: absolute;
    transition: left 0.7s;
}
#leistungen #swatches1 {
    left: 0px;
}
#leistungen #swatches2 {
    left: 820px;
    width: 820px;
}
/*
#leistungen .swatches:before {
    box-shadow: inset 0px 0px 40px #ececec;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: 10;
}*/
#leistungen .swatches {
    position: absolute;
    left: 70px;
    top: 90px;
    width: 820px;
    height: 250px;
    overflow: hidden;
}
#leistungen .swatches .swatches-inner {
    position: relative;
    margin: 0px 20px 0px;
    float: left;
    width: 164px;
    height: 240px;
    font-size: 24px;
    transition: color 0.2s;
}
#leistungen .swatches .swatches-inner:hover {
    color: #8ec34d;
    cursor: pointer;
}
#leistungen .swatches .swatches-inner:hover .hover {
    border: 9px solid rgba(169,236,84,0.4);
}
#leistungen .swatches .swatches-inner>span {
    height: 70px;
    width: 164px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
#leistungen .swatches .swatches-inner a span{
    position: absolute;
    width:100%;
    height:100%;
    top: 0px;
    left: 0px;
    z-index: 1;
}
#leistungen .swatches .swatches-inner .hover {
    position: absolute;
    width: 146px;
    height: 146px;
    border-radius: 80px;
    border: 9px solid rgba(255,255,255,0.4);
    transition: border 0.3s;
    /*box-shadow: 0px 3px 10px #d7d7d7;*/
}
#leistungen .swatches .swatches-inner div[id^=l] {
    width: 164px;
    height: 164px;
    margin-bottom: 10px;
}
#leistungen .swatches .swatches-inner #l1 {
    background-image: url(./images/l1.jpg);
}
#leistungen .swatches .swatches-inner #l2 {
    background-image: url(./images/l2.jpg);
}
#leistungen .swatches .swatches-inner #l3 {
    background-image: url(./images/l3.jpg);
}
#leistungen .swatches .swatches-inner #l4 {
    background-image: url(./images/l4.jpg);
}
#leistungen .swatches .swatches-inner #l5 {
    background-image: url(./images/l5.jpg);
}
#leistungen .swatches .swatches-inner #l6 {
    background-image: url(./images/l6.jpg);
}
#leistungen .swatches .swatches-inner #l7 {
    background-image: url(./images/l7.jpg);
}
#leistungen .swatches .swatches-inner #l8 {
    background-image: url(./images/l8.jpg);
}
#leistungen .arrow {
    position: absolute;
    top: 135px;
    width: 41px;
    height: 72px;
    border-radius: 5px;
    box-shadow: 0px 4px 0px #d6d6d6;
}
#leistungen .arrow:hover {
    cursor: pointer;
}
#leistungen #l {
    left: 20px;
    background: #9e9e9e url(./images/arrow-left.gif) no-repeat center center;
}
#leistungen #r {
    right: 20px;
    background: #9e9e9e url(./images/arrow-right.gif) no-repeat center center;
}

/* ------------- REST -------------- */

#footer {
    width: 100%;
    position: absolute;
    bottom: -45px;
    color: #fff;
    text-align: center;
    padding-bottom: 10px;
}
#footer a, #footer a:visited {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s;
}
#footer a:hover {
    color: #63b320;
}
#footer span {
    margin: 0px 20px 0px;
}


#background-bottom {
    position: absolute;
    z-index: 0;
    top: 422px;
    height: 80%;
    min-width: 100%;
    background: #fff; /* Old browsers */
    background: -moz-linear-gradient(top,  #757575 0%, #575757 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#757575), color-stop(100%,#575757)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #757575 0%,#575757 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #757575 0%,#575757 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #757575 0%,#575757 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #757575 0%,#575757 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#757575', endColorstr='#575757',GradientType=0 ); /* IE6-9 */

}
#background-top {
    position: absolute;
    z-index: 0;
    top: 77px;
    height: 345px;
    min-width: 100%;
    background: #464646;
    box-shadow: inset 0 0 5px #3d3d3d;
}
/* ------------ CLEARFIX ------------ */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}
