html, body {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Geneva, Helvetica, Verdana, sans-serif;
    font-size: 11px;
    line-height: 1.3em;
    background: #EFEFEF;
    letter-spacing: 1px;
    background-image: url(/templates/images/bg_rep.gif);
    background-repeat: repeat;
    color: #4F4F4F;
}

h1 {
    font-size: 14px;
}

h2 {
    font-size: 12px;
}

main .text ul {
    margin: 0;
    padding-left: 20px;
}

main .text ul {
    list-style-type: none;
}

main .text ul > li {
    text-indent: -5px;
}

main .text ul > li:before {
    content: "-";
    text-indent: -5px;
    padding-right: 5px;
}

#wrapper {
    background: url("/templates/images/left.jpg") no-repeat;
    background-color: #c3c4c5;
    width: 950px;
    height: 611px;
    margin: 10px auto 0 auto;
    border: 1px solid #000;
    position: relative;
    overflow: hidden;
}

#red_border {
    border: 2px solid #E2001A;
    position: absolute;
    right: -3px;
    top: 55px;
    -webkit-border-radius: 25px 0 0 25px;
    -moz-border-radius: 25px 0 0 25px;
    border-radius: 25px 0 0 25px;
    width: 732px;
    height: 504px;
    z-index: 10;
}

a {
    color: #000000;
    text-decoration: none;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

a:hover {
    color: #D60113;
}

nav {
    position: absolute;
    top: 129px;
    right: 642px;
    z-index: 20;
}

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

nav ul li {
    margin-bottom: 18px;
}

nav ul li a {
    padding: 7px 9px 9px 7px;
    display: inline-block;
    background: #d2012b;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    color: #EFEFEF;
    text-decoration: none;
    letter-spacing: 2px;
    width: 106px;
    font-size: 13px;
    line-height: 15px;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

nav ul li a:hover {
    color: #FFFFFF;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
}

.content {
    position: absolute;
    top: 57px;
    right: 0px;
    width: 630px;
    height: 490px;
    z-index: 50;
}

.content header {
    padding-top: 34px;
}

.content header h1, .content header h2 {
    display: inline-block;
    margin: 0px;
}

.content header h1 {
    font-size: 22px;
    padding-left: 47px;
}

.content header h1 a {
    color: #000;
    text-decoration: none;
    font-style: italic;
}

.content header h2 {
    font-size: 16px;
    padding-left: 61px;
}

main {
    position: absolute;
    right: 0px;
    top: 72px;
    background: #CDCECF;
    width: 611px;
    height: 352px;
    -webkit-border-radius: 17px 0 0 17px;
    -moz-border-radius: 17px 0 0 17px;
    border-radius: 17px 0 0 17px;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2), inset 0px 0px 15px 0px rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2), inset 0px 0px 15px 0px rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2), inset 0px 0px 15px 0px rgba(255, 255, 255, 0.5);
    padding: 20px 10px 20px 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
}

main .arbeiten {
    text-align: right;
}

main .arbeiten, main .arbeiten img {
    height: 100%;
}

footer {
    position: absolute;
    top: 500px;
    right: 20px;
    z-index: 50;
    font-size: 10px;
    color: #3F3F3F;
    font-weight: 700;
    width: 698px;
}

footer img {
    display: inline-block;
    float: left;
}

footer ul {
    margin: 34px 0 0 0;
    padding: 0 0 0 25px;
    list-style-type: none;
    float: left;
}

footer ul li {
    display: inline-block;
    padding: 0px 4px;
    border-right: 1px solid #6f6f6f;
    line-height: 1em;
}

footer ul li:first-child {
    padding-left: 0px;
}

footer ul li:last-child {
    padding-right: 0px;
    border-right: 0;
}

.subfooter {
    position: absolute;
    bottom: 3px;
    right: 40px;
    font-size: 9px;
    z-index: 80;
}

.subfooter ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

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

.subfooter ul li a {
    color: #6F6F6F;
    text-decoration: none;
}

/* AddThis */
.addthis_toolbox {
    border:2px dashed #ccc;
    float:left;
    padding:7px;
}

*+html .addthis_toolbox {
    padding-bottom:1px;
}
/* AddThis END */


/* RecommendThis */
#reco_wrap {
    border:1px solid #333;
    display:none;
    padding:6px;
    width:500px;
}
#reco_inner label {
    clear:left;
    width:220px;
}
#reco_inner input {
    margin-bottom:5px;
    margin-right:40px;
    width:200px;
}
#reco_inner textarea {
    margin-bottom:5px;
    width:200px;
}
#reco_inner div {
    height:40px;
    margin-bottom:10px;
    margin-left:220px;
}
#reco_inner #reco_code {
    width:100px;
}
#reco_inner img,
#reco_inner #reco_code {
    float:left;
    margin-right:10px;
}
#reco_close {
    background:#00a;
    padding:2px 6px;
}
#reco_close a {
    color:#fff;
}
#reco_close span {
    display:block;
    float:right;
}
/* RecommendThis END */


/* Fancybox */
span.fncb_fancy_title {
    font-size:12px;
    font-weight:bold;
}
span.fncb_fancy_displaycounter {
    font-size:11px;
}
#fancybox-title {
    line-height:16px;
    text-align:left;
}
#fncb_bottomNavClose {
    cursor:pointer;
    display:block;
}
/* Fancybox END */


/* Auto-Complete */
.ui-autocomplete li {
    font-family:Verdana,Arial,Geneva,Helvetica,sans-serif;
    list-style-type:none;
    text-align:left;
}
/* Auto-Complete END */

@media only screen and (max-width: 952px) {
    #wrapper {
        width: 100%;
        border: 0px;
        margin-top: 0px;
    }

}

@media only screen and (min-width: 768px) {
    #menu-toggle {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    #red_border {
        display: none;
    }

    main {
        width: 100%;
        height: auto;
        position: initial;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    main .arbeiten img {
        max-width: 100%;
        height: auto;
    }

    .content, nav, footer, .subfooter {
        position: relative;
        width: 100%;
        top: 0px;
        left: 0px;
        right: auto;
        bottom: auto;
        float: left;
    }

    #wrapper, .content, main, footer, .subfooter {
        height: auto;
    }

    footer ul {
        margin: 0px;
        padding: 0px;
        display: block;
        width: 100%;
    }

    footer, .subfooter {
        text-align: center;
    }

    .content header {
        padding: 0px;
        text-align: center;
    }

    .content header h1, .content header h2 {
        padding: 0px;
        line-height: 1.5em;
        display: block;
    }

    .content {
        padding: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    main {
        padding: 10px;
        background: rgb(205, 206, 207);
    }

    footer, .subfooter {
        padding: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    footer img {
        float: none;
        margin-bottom: 10px;
    }

    #menu-toggle {
        width: 100%;
        background: #d2012b;
        color: #FFFFFF;
        padding: 20px 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 18px;
        letter-spacing: 2px;
        cursor: pointer;
    }

    #menu-toggle i {
        float: right;
        font-size: 24px;
        margin-top: -3px;
    }

    nav ul {
        margin: 0;
        -webkit-margin-before: 0;
        -webkit-margin-after: 0;
        -webkit-padding-start: 0;
        float: left;
        position: relative;
        width: 100%;
        padding: 0;
        display: none;
        text-align: left;
        z-index: 0;
    }

    nav ul li {
        font-weight: 600;
        display: block;
        margin: 0;
        font-size: 20px;
        border-top: solid #000 1px;
        padding: 0;
        position: relative;
        float: left;
        width: 100%;
    }

    nav ul li:last-child {
        border-bottom: solid #000 1px;
    }

    nav ul li a {
        text-decoration: none;
        padding: 14px 10px;
        display: block;
        font-size: 14px;
        text-align: left;
        float: left;
        position: relative;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;

        box-shadow: none;
    }

    nav ul li a.current1 {
        background: #FFF;
        color: #E2001A;
    }

}

@media only print {
    nav {
        display: none !important;
    }
}