:root {
    --t4-color-link: #26c;
}

html {
    background: linear-gradient(0, #006699, #003366) fixed;
    padding-bottom: 20px;
}

body {
    background-image: url("contbg.png"), linear-gradient(180deg, rgba(0, 0, 0, 0) 40px, white 0);
    background-repeat: no-repeat;
    background-position-x: center;
    max-width: 720px;
    margin: 30px auto 20px auto;
    padding: 5px 20px 0 20px;
    font-family: tahoma, verdana, sans-serif;
    font-size: 12px;
    color: #222;
    border-radius: 0 0 10px 10px;
}

div.body {
    max-width: 530px;
    padding-bottom: 10px;
}

a {
    color: var(--t4-color-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    padding: 0 0 0 10px;
    margin: 0 0 15px 0;
    line-height: 1.5em;
}

html body > div.t4logout + h1,
html body > div.t4_header + h1,
html body > p.tagline {
    padding-left: 267px;
    max-width: 263px;
    min-height: 130px;
    background: url(logo_framed.png) no-repeat;
}

html body > p.tagline {
    margin-top: 15px;
}

p.tagline span.h1 {
    font-size: 22px;
    display: block;
    margin-bottom: 5px;
}

h1 {
    font-size: 22px;
}

h3 {
    font-size: 17px;
    margin: 30px 0 10px 0;
    padding: 5px 0 5px 8px;
    background: linear-gradient(0, #fff, #eee);
    color: #222;
    border-top: 1px solid #ddd;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
}

h3, h1 {
    font-weight: normal;
}

nav.main_nav {
    position: absolute;
    left: calc(50% + 190px);
    top: 70px;
    background: url("kuh.gif") no-repeat center top;
    width: 180px;
    padding-top: 233px;
}

ul.navigation {
    list-style: none;
}

ul.navigation {
    padding-left: 0;
}

ul.navigation li a,
ul.navigation li span.nav_active {
    display: block;
    color: var(--t4-color-link);
    font-weight: bold;
    font-size: 12px;
    background: linear-gradient(0, #ececec, #d2d2d2);
    padding: 6px 10px;
    margin: 0 10px 3px 10px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
}

ul.navigation li a:hover,
ul.navigation li span.nav_active {
    text-decoration: none;
    background: linear-gradient(0, #fff, #eee);
    color: black;
}

a.major_button:before {
    content: "> ";
}

a.major_button:after {
    content: " <";
}

a.major_button {
    line-height: 50px;
    padding: 10px 20px;
    font-size: 1.5em;
    font-weight: bold;
    background: linear-gradient(0, #ececec, #d2d2d2);
    color: #26c;
    border-top: 1px solid #ddd;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
    white-space: nowrap;
}

a.major_button:hover {
    background: linear-gradient(0, #fff, #eee);
    text-decoration: none;
    color: black;
}

a.button2 {
    line-height: 50px;
    padding: 10px 20px;
    font-size: 1.5em;
    font-weight: bold;
    background: #eef;
    color: #000;
    border: 1px solid #bbb;
    white-space: nowrap;
}

a.button2:hover {
    text-decoration: none;
}

div.footer {
    color: gray;
    text-align: center;
    padding-bottom: 5px;
}

div.footer a {
    color: gray;
}

span.codeMini,
b.codeMini {
    line-height: 34px;
    font-size: 12px;
    font-weight: normal;
    font-family: "Courier New", Courier, mono, serif;
    background-color: #eef;
    padding: 8px;
    border: 1px dashed;
}

iframe {
    max-width: 100%;
}

img.bsp {
    width: min(328px, calc(100% - 77px));
    margin-left: 77px;
}

p.warnung,
div.warnung,
h3.warnung {
    background: #fee;
    padding: 10px;
    border: 1px dashed;
    margin-bottom: 10px;
}

p.warn {
    color: red;
}

h3.ok,
span.ok {
    background: #efe;
    padding: 10px;
    border: 1px dashed;
}

/* *********************************************
   Formulare
   ********************************************* */

input[type="submit"] {
    padding: 4px;
    font-size: 1.1em;
    font-weight: bold;
    background: linear-gradient(0, #ececec, #d2d2d2);
    color: #26c;
    border-top: 1px solid #ddd;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
}

input[type="submit"]:hover {
    background: linear-gradient(0, #fff, #eee);
    color: #222;
    border-top: 1px solid #ddd;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
    border-left: 1px solid #ddd;
}

input[type="password"],
input[type="text"],
textarea {
    padding: 4px;
    font-size: 1.1em;
    font-weight: bold;
    background: linear-gradient(0, #fff, #eee);
    color: #222;
    border-top: 1px solid #ddd;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
    border-left: 1px solid #ddd;
}

label {
    float: left;
    width: 180px;
    text-align: right;
    line-height: 24px;
    padding-right: 5px;
}

label + * {
    margin-bottom: 5px;
}

label + input[type="checkbox"] {
    height: 22px;
}

div.body {
    min-height: 240px;
}

@media only print {
    .noprint {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    nav.main_nav {
        position: inherit;
        background: none;
        padding-top: 0;
        width: inherit;
    }

    html body > div.t4logout + h1,
    html body > div.t4_header + h1,
    html body > p.tagline {
        padding-left: inherit;
        padding-top: 140px;
        min-height: 0;
    }

    html {
        background: white;
        padding-bottom: 10px;
    }

    body {
        background: white;
        border-radius: 0;
        margin-top: 0;
    }

    input[type="password"],
    input[type="text"],
    textarea {
        width: calc(100% - 10px);
    }

    label {
        float: none;
        display: block;
        width: inherit;
        text-align: left;
    }

    label.dummylabel {
        height: 0;
    }
}
