html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #eee;
    -o-background-size: 100% 50%, auto;
    -moz-background-size: 100% 50%, auto;
    -webkit-background-size: 100% 50%, auto;
    background-size: 100% 50%, auto;
}

.tg {
    border-collapse: collapse;
    border-spacing: 0;
    border-color: #999;
}

.tg td {
    font-family: sans-serif;
    font-size: 12px;
    padding: 10px 5px;
    border-style: solid;
    border-width: 0px;
    overflow: hidden;
    word-break: normal;
    border-color: #999;
    color: #444;
    background-color: #F7FDFA;
    border-top-width: 1px;
    border-bottom-width: 1px;
    text-align: left;
}

.tg th {
    font-family: sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 5px;
    border-style: solid;
    border-width: 0px;
    overflow: hidden;
    word-break: normal;
    border-color: #999;
    color: #fff;
    background-color: #848484;
    border-bottom-width: 1px;
}

hr {
    margin: 5px 0px 5px 0px;
    color: #603;
    border: 0;
    border-top: 1px solid #86252c;
    height: 1px;
}

.wrapper {
    max-width: 920px;
    width: 86%;
    min-height: 100%;
    margin: 0 auto;
    background: #eee;
    -webkit-box-shadow: 0px 1px 11px 0px rgba(50, 50, 50, 0.65);
    -moz-box-shadow: 0px 1px 11px 0px rgba(50, 50, 50, 0.65);
    box-shadow: 0px 1px 11px 0px rgba(50, 50, 50, 0.65);

}

.errorMessage {
    background: #FFBABA;
    border: 1px solid;
    font-size: 12pt;
    color: #D8000C;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.header {
    width: 100%;
    height: 139px;
    position: relative;
    background: transparent url('../images/header.jpg') no-repeat top right;
}

.header img.headerpic {
    max-width: 100%;
    float: right;
}

.header .infobox {
    position: absolute;
    top: 10px;
    left: 15px;
    width: 45%;
    height: 90%;
    overflow: hidden;
}

.header .infobox .inner {
    padding-top: 20px;
}

.header .infobox h3 span {
    font-size: 1.1em;
    font-weight: normal;
    line-height: 120%;
    background: transparent url(../images/bg50.png)
}

.mainbox {
    margin: 20px 2% 20px 2%;
}

.contentbox {
    width: 68%;
    float: left;
    background: transparent url(../images/bg50.png);
}

.contentbox .inner {
    min-height: 330px;
    padding: 0 15px 0 15px;
}

.rightbox {
    width: 31%;
    margin-right: -0.6%;
    float: right;
}

.rightbox .inner {
    padding: 0 5px 0 5px;
}

.contentbox .inner img, .rightbox .inner img {
    max-width: 100%;
    height: auto ! important;
}

#contentwide {
    width: 100%;
}

.footer {
    width: 86%;
    max-width: 920px;
    height: 70px;
    margin: -60px auto 0 auto;
    position: relative;
}

.footer .footerpic {
    width: 100%;
    height: 100%;
}

.footer .inner {
    position: absolute;
    top: 10px;
    left: 10%;
    width: 80%;
    font-size: 0.8em;
    text-align: center;
    line-height: 10%;
    color: #666 ! important
}

.footer .inner span {
    font-size: 0.7em;
}

.clearer {
    clear: both;
}

.clearbottom {
    height: 80px;
    clear: both;
}

/***********************************
	header-menu
************************************/

a#mobilemenu {
    display: none;
}

a#mobilemenu span {
    display: block;
    padding: 10px 15px;
    font-weight: bold;
}

.topmenubar {
    background-color: #5b5b5b;
    width: 100%;
    clear: both;
}

.breadcrumbs {
    padding: 5px 5px 4px 15px;
    clear: both;
    background: transparent url(../images/bg50.png)
}

.breadcrumbs .menu-current {
    font-weight: bold;
}

a.iframeedit, a.sidebaredit, a.editlink, .mod_topic_edit {
    padding: 3px 6px 4px 10px;
    background: url(../images/edit.gif) no-repeat 5px 5px;
    left 3px;
}

a.editlink {
    display: block;
    float: right;
}

.search_box {
    float: right;
    width: 130px;
    text-align: right;
    margin-top: 5px;
}

.search_box .searchstring {
    width: 80px;
    border: 1px solid #ccc;
    background-color: #666;
    font-size: 12px;
    padding: 2px;
    color: #ccc;
}

.search_box .submitbutton {
    vertical-align: top;
    margin: 0 0 0 0;
}

#showlogin {
    display: block;
    float: right;
    position: relative;
    width: 20px;
    text-align: right;
    margin-top: 3px;
}

#login-box {
    position: absolute;
    width: 200px;
    left: -200px;
    top: 25px;
    z-index: 2000;
    padding: 10px;
    font-size: 11px;
    background: transparent url(../images/bg75.png);
}

#login-box table, #login-box td {
    border: none;
}

#login-box .inputfield {
    width: 80px;
    border: 1px solid #c9e8f9;
    padding: 1px;
}

.printbutton {
    display: block;
    float: right;
    margin: 3px 5px 0 5px;
}

.childpages {
    width: 80%;
    float: right;
    min-width: 200px;
    margin-right: 3%;
    background: transparent url(../images/bg30.png);
}

.childpages li {
    width: 30%;
    float: left;
}

/* Link Formatting */
ul.nav {
    list-style-type: none;
    /* *zoom: 1; */
    margin: 0;
    padding: 0;
}

ul.nav li {
    float: left;
    list-style-type: none;
    list-style-image: none;
    position: relative;
    font-weight: normal;
    margin: 0;
    padding: 0;
    border-right: 1px solid #fff;
    background-color: #333333;
}

ul.nav li li {
    background-color: #555555;
}

ul.nav li li li {
    background-color: #666666;
}

.nav li a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    line-height: 120%;
    /*text-shadow: 1px 1px 1px #000;*/
    padding: 8px 10px;
    color: #fff;

}

/* Hover Formatting */
.nav li a:hover, .nav li a:focus, .nav li a:active, .nav li a.active, .nav a.menu-current, .nav a.menu-parent {
    background-color: #cccccc;
    color: #000;
}

/* 2 level */
.nav li ul {
    background: none;
    display: none;
    width: 13em;
    margin: 0;
    padding: 0;
    position: absolute;
}

.nav li ul li {
    width: 13em;
    text-align: left;
    font-weight: normal;
    margin: 0;
    padding: 0;
    border-top: 1px solid #fff;
    border-right: none;
}

.nav li ul li a {

    color: #fff;
    font-weight: normal;
    padding: 6px 10px;

}

/* 2 level hover */
.nav li ul a:hover, .nav li ul a.menu-current {
    background-color: #cccccc;
    color: #000;
}

/* Show and hide */
.nav li:hover ul, .nav li a:focus ul {
    display: block;
}

.nav li ul ul {
    display: none;
}

.nav li:hover ul ul {
    display: none;
}

.nav li:hover > ul, .nav li li:hover > ul {
    display: block;
    z-index: 1000;
    
    top:inherit;
    left:inherit;
}

/* 3 Ebene  */
.nav li ul li ul {
    margin: -20px 0 0 70%;
    padding: 0;
    z-index: 9999;
    display: none;
    width: 11em;
}

.nav li ul li ul li {
    width: 11em;
}

/* Positioning hover */
.nav li {
    position: relative;
}

.nav li:hover {
    z-index: 10000;
    white-space: normal;

}

ul.nav li.ulend {
    height: 10px;
    background: transparent url(../images/ulend.png) repeat-x;
}

ul.nav > li.ulend {
    display: none ! important;
}

ul.nav a.menu-parent {
    color: #000;
    background-color: #cccccc;
}

@media screen and (max-width: 1024px) {
    .container {
        width: 96%;
    }
}

@media screen and (max-width: 768px) {

    .search_box {
        margin-top: -30px;
    }

    .printbutton, #showlogin {
        display: none;
    }

    .header .infobox {
        min-width: 250px
    }

    .header {
        background-size: 100% 100%, auto;
    }

    .header .infobox h1 {
        font-size: 1.5em;
        line-height: 100%;
    }

    .header .infobox h2 {
        font-size: 1.2em;
        line-height: 100%;
    }

    .header .infobox h3 {
        font-size: 1em;
        line-height: 100%;
    }

    a#mobilemenu {
        display: block;
        background: #666666;
        color: #fff;
        width: 100%;
    }

    ul#topmenu, ul#topmenu ul, ul#topmenu ul ul {
        width: 100% ! important;
        position: static ! important;
        margin: 0 0 0 0 ! important;
        display: none
    }

    ul#topmenu li, ul#topmenu li li, ul#topmenu li li li {
        float: none;
        border-right: none;
        width: 100% ! important;
        display: block;
        border-bottom: 1px solid #fff;
    }

    ul#topmenu li.menu-parent > ul, ul#topmenu li.menu-current > ul {
        display: block
    }

    ul#topmenu {
        display: block
    }

    ul#topmenu li.menu-current {
        background-color: #999999;
        font-weight: bold;
    }

    ul#topmenu a.menu-parent {
        color: #fff;
        background-color: #666666;
    }

    #topmenu a.menu-parent {
        color: #000;
    }

    #topmenu a.menu-expand {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: right 50%;
    }

    ul#topmenu {
        display: none;
    }

    .childpages {
        float: none;
        width: 90%;
        margin-left: 15px;
    }

    .childpages li {
        width: 49%;
        float: left;
    }

    /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .container {
        width: 96%;
    }

    .mainbox {
        margin: 20px 0 20px 0;
    }

    .contentbox, .rightbox {
        float: none;
        width: 100%;
        clear: both;
    }

    .footer {
        width: 96%;
    }

    .showonmobiles {
        display: block ! important;
    }

    .mobilesonly {
        display: block ! important;
    }

    .desktoponly {
        display: none;
    }

}

@media screen and (max-width: 440px) {
    .childpages li {
        width: 90%;
        float: none;
    }

    .header .infobox .inner {
        padding-top: 10%;
    }

    .header .infobox h1 {
        font-size: 1.4em;
        line-height: 100%;
    }

    .header .infobox h2 {
        font-size: 1.1em;
        line-height: 100%;
    }

    .header .infobox h3 {
        font-size: 0.9em;
        line-height: 100%;
    }
}

@media print {
    .container, .footer {
        width: 100%;
    }

    #mobilemenu, .topmenubar, #mobilemenu {
        display: none ! important;
    }

    html, body, .container, .header, .mainbox, .contentbox, .contentbox .inner {
        background-image: none ! important;
    }

    body, html {
        background-color: #fff ! important;
    }

    .contentbox .inner, .rightbox .inner, .footer .inner, .infobox h3 {
        color: #000 ! important;
    }

    h1, h2 {
        text-shadow: none ! important;
    }
}


