/* --------------------- Font --------------------------------- */

@font-face {
    font-family: 'Futura';
    src: url("../fonts/FuturaLTW04-Book.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

/* --------------------- Element ------------------------------ */

blockquote {
    padding: 0;
    margin: 0;
}

body {
    display: grid;
/*  font-family: Futura LT Pro Book, Futura LT Pro, Futura LT, Futura, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;*/
    font-family: Futura LT, Futura, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    background-color: #eeeef5;
    border: 0;
    padding: 0;
    margin: 0;
}

body.export {
    display: block;
}

form {
    margin-bottom: 10px;
}

header, footer {
    background-color: #ce9f56;
    grid-column: 1 / -1;
}

h1, h2, h3, h4 {
    margin: 0;
}

input {
    font-family: Futura LT Pro Book, Futura LT Pro, Futura LT, Futura, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

nav h4 {
    display: block;
}

nav h4.navititel {
    border-color: black;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    font-size: 1.0em;
    padding-bottom: 0.1em;
    padding-top: 0.1em;
}

nav h4.navititel:first-child {
    border-width: 1px;
}

select {
    background-color: white;
    border: none;
    border-width: 1px;
    border-color: black;
    border-right-style: solid;
    font-family: Futura LT Pro Book, Futura LT Pro, Futura LT, Futura, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 1em;
    /* height: 2.1em; */
    padding-left: 0.25em;
    width: 100%;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;    background-image:
            linear-gradient(45deg, transparent 50%, black 50%),
            linear-gradient(135deg, black 50%, transparent 50%),
            linear-gradient(to right, #eeeeee, #eeeeee); /* #eeeef5, #eeeef5);*/
            /*linear-gradient(to right, #ce9f56, #ce9f56);*/
    /*
    background-position:
            calc(100% - 20px) calc(1em + 2px),
            calc(100% - 15px) calc(1em + 2px),
            100% 0;
    background-size:
            5px 5px,
            5px 5px,
            2.5em 2.5em;
    */
    background-position: calc(100% - 10px) calc(1em + 2px), calc(100% - 5px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 1.2em 2.5em;
    background-repeat: no-repeat;
}

select[multiple] {
    height: auto;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
/*  border: 1px solid black; */
    min-width: 100%;
    overflow: hidden;
}

td {
    border: 1px solid black;
    padding: 0;
    vertical-align: top;
}

td:first-child:not(.nopadding) {
    padding: 0.5em;
    width: 25%;
}

td:nth-child(3):not(.nopadding) {
    padding: 0.5em;
}

td:has(textarea) {
    padding: 0;
}

div.spalte td {
    padding: 0.5em;
}

th {
    border: 1px solid black;
    margin: 0;
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
}

form table img {
    margin: -8px 0 -13px -8px;
    width: calc(100% + 10px);
}

form table input {
    border: none;
}

textarea {
    background-color: white;
    border: none;
    font-family: Futura LT Pro Book, Futura LT Pro, Futura LT, Futura, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 1.0em;
    padding: 0.5em;
    margin-bottom: -2px;
    margin-top: -1px;
    width: calc(100% - 1em);
}

ul, td {
    background-color: white;
}

ul.vertical {
    border: 1px solid black;
    border-collapse: collapse;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.vertical li {
    padding-bottom: 0.2em;
    padding-left: 1em;
    padding-top: 0.2em;
}

ul.vertical li:hover:not(.navititel) {
    background-color: #eeeeee;
}

ul.vertical a {
    text-decoration: none;
}

ul#verticalmenu.open {
    border-color: black;
    border-collapse: collapse;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    height: auto;
}

/* --------------------- Elementtyp --------------------------- */

input[type="button"],[type="submit"] {
    background-color: #eeeeee;
    font-size: 1em;
    margin: 0.5em;
    min-width: 100px;
    padding: 0.3em;
}

input[type="button"].clonebutton {
    border: 0;
    cursor: pointer;
    height: 18px;
    width: 18px;
    margin: 0 0.5em;
    min-width: 0;
    padding: 0;
    font-size: 0.8em;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 9px;
    background-color: rgba(0, 220, 0, 1);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgb(255 255 255 / 60%), inset -2px -2px 3px rgb(0 0 0 / 60%);
}

input[type="button"].clonebutton.green {
    background-color: rgba(0, 220, 0, 1);
}

input[type="button"].clonebutton.red {
    background-color: rgba(220, 0, 0, 1);
}

input[type="button"].clonebutton:hover {
    background-color: rgba(200, 200, 200, 1);
}

input[type="button"].clonebutton:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
    inset 2px 2px 3px rgba(0, 0, 0, .6);
}

input[type="checkbox"] {
    box-shadow: -1px -1px 1px gray;
    margin-left: 0;
    margin-right: 10px;
    width: 15px;
}

input[type="file"] {
    padding: 0.5em;
}

input[type="text"],[type="password"]  {
    font-size: 1em;
    padding: 0.5em;
    width: 100%;
}

/* --------------------- Class -------------------------------- */

.accordion {
    cursor: pointer;
    transition: 0.4s;
}

.bold {
    font-weight: bold;
}

.border {
    border: 1px solid black;
}

.center {
    text-align: center;
}

.clear-both {
    clear: both;
}

.debug {
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: darkred;
    color: darkred;
    grid-column: 1 / span 2;
    margin: -0.5em 1em 1em 1em;
    overflow: scroll;
    padding: 0.5em;
    width: 98%;
}

.debug:first-child {
    margin-top: 1em;
}

.dev {
    color: lightgoldenrodyellow;
}

.fieldinfo {
    background-color: darkred;
    color: white;
    padding: 0.2em 0.2em;
}

.filtertext {
    background-color: #eeeeee; /*#eeeef5;*/
    width: 100%;
}

.float-left {
    float: left;
}

.form_title {
    background-color: #ce9f56;;
    font-size: 1.2em;
    line-height: 1.5em;
    color: white;
    font-weight: bold;
    text-align: center;
}

.gray {
    color: gray;
}

.grid2 {
    grid-column: 2;
}

.htmlcode {
    font-family: Consolas, Curier New, Curirer, serif;
    color: #3E5C9A;
}

.imagepreview {
    width: 100%;
    max-width: 400px;
}

.image_preview.normal {
    padding: 0.5em;
}

.overlay_image.no_overlay {
    max-width: 470px;
    width: calc(100% + 0.3em);
}

.margin-bottom {
    box-shadow: 10px 5px 5px gray;
    margin-bottom: 1em;
    width: 99%;
}

.message {
    color: red;
    margin: 0.5em;
}

.message_important {
    font-weight: bold;
}

.message_success {
    color: green;
}

.mobile-menu-symbol {
    color: white;
    cursor: pointer;
    display: none;
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-left: 5px;
    text-align: right;
}

.mobile-menu-symbol:hover {
    opacity: 0.5;
}

.navititel {
    background-color: white;
    color: #ce9f56; /* Gold */
    font-size: 1.0em;
    font-weight: bold;
    line-height: 1.8em;
    padding-left: 0.5em;
    text-align: left;
}

.nopadding {
    padding: 0;
}

.nowrap {
    white-space: nowrap;
}

.navititel.active {
    background-color: #ce9f56; /* Gold */
    color: white;
}

.navititel .simulateuser {
    color: red;
}

.navititel.active .simulateuser {
    color: yellow;
}

.nopermission {
    color: grey;
}

.panel {
    overflow: hidden;
}

.padding05 {
    padding: 0.5em;
}

a:link.programplaning {
    display: inline-block;
    letter-spacing: 0;
    text-decoration: none;
    width: 100%;
}

.readonly {
    color: #777777;
}

.red {
    color: red;
}

.yellow {
    color: yellow;
}

.right {
    text-align: right;
}

.small {
    font-size: 80%;
}

.selectfilter {
    white-space: nowrap;
    vertical-align: top;
    width: 100%;
}

.signature {
    background-color: #FFFFFF;
    display: inline-block;
    margin: auto;
}

.statictext {
    color: #777777;
}

input:hover, select:hover, textarea:hover, .selectfilter:hover, .filtertext:hover {
    background-color: lightgoldenrodyellow;
}

.selectfilter::before {
    background-image: url('../images/funnel.png');
    background-size: 15px 16px;
    content: " ";
    display: inline-block;
    height: 16px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
    top: 3px;
    width: 15px;
 }

.titel {
    background-color: #ce9f56;
    font-size: 1.0em;
    line-height: 1.5em;
    color: white;
    font-weight: bold;
    text-align: center;
}

.w15p {
	width: 15%;
}
	
#logo {
    height: auto;
    margin: .5em 1em .5em .5em;
    max-width: 100px;
    width: 5em;
    vertical-align: baseline;
}

#logo:hover {
    opacity: 0.5;
}

#title_text {
    color: white;
    font-size: 2em;
}

#preloader {
    background: #000 url('../images/loader.gif') no-repeat center center;
    background-size: 15%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
}

/* ============================================================= */
/*
/*  Ausgabemedien spezifische Einstellungen
/*
/* ============================================================= */

/* ------------------------------------------------------------ */
/*
/*  Breite beträgt mindestens 1200px (Laptop/PC)
/*
/*  ------------------------------------------------------------ */
@media (min-width: 1200px)
{

    /* --------------------- Element ------------------------------ */

    body {
        gap: 0.5em;
        grid-template-columns: 250px auto;
        grid-template-rows: auto;
    }

    form select {
        width: calc(65% - 5px);
    }

    ul#verticalmenu {
        height: 0;
        overflow: hidden;
        border: 0;
    }

    /* --------------------- Class -------------------------------- */

    .loginform {
        margin-left: 10%;
        margin-top: 10%;
        width: 50%;
    }

    .selectfilter {
        display: inline-block;
        width: 35%;
    }

    /* --------------------- ID ----------------------------------- */

    #logo {
        margin: 10px;
        height: auto;
        width: 5em;
    }

    #title_text {
        font-size: 24pt;
        margin-right: 10px;
        margin-top: 10px;
    }
}

/* ------------------------------------------------------------ */
/*
/*  Breite beträgt höchstens 1200px (Tablet)
/*
/*  ------------------------------------------------------------ */
@media (max-width: 1200px) {

    body {
        gap: 0;
        grid-template-columns: auto;
    }

    form select {
        width: 100%;
    }

    h1 {
        font-size: 1.2em;
        padding: 0.5em;
    }

    h2 {
        font-size: 1em;
        padding: 0.5em;
    }

    nav h4 {
        border: 1px solid black;
        border-collapse: collapse;
        display: none;
        height: 0;
    }

    nav h4.open {
        display: block;
    }

    p {
        font-size: 1em;
        padding: 0.5em;
    }

    /* --------------------- Class -------------------------------- */

    .loginform {
        margin-left: 5%;
        margin-top: 5%;
        width: 90%;
    }

    .mobile-menu-symbol {
        display: block;
        margin-right: .1em;
    }

    .proceed {
        font-size: 1em;
        padding: 0.5em;
    }

    ul.vertical {
        height: 0;
        overflow: hidden;
        border: 0;
    }

    ul.vertical.open {
        height: auto;
        border: 1px solid black;
        border-collapse: collapse;
    }

    .open {
        height: auto;
    }

    #logo {
        margin: .5em 1em .5em .5em;
        height: auto;
        width: 5em;
    }

    #title_text {
        font-size: 1.2em;
        margin: 0.6em;
    }

}

/* ------------------------------------------------------------ */
/*
/*  Breite beträgt höchstens 480px (Smartphone hochkant)
/*
/*  ------------------------------------------------------------ */
@media (max-width: 480px) {
    body {
        gap: 0;
        grid-template-columns: auto;
    }

    form select {
        width: 100%;
    }

    h1 {
        font-size: 1.2em;
        padding: 0.5em;
    }

    h2 {
        font-size: 1em;
        padding: 0.5em;
    }

    nav h4 {
        display: none;
    }

    nav h4.open {
        display: block;
    }

    p {
        font-size: 1em;
        padding: 0.5em;
    }

    /* --------------------- Class -------------------------------- */

    .loginform {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .mobile-menu-symbol {
        display: block;
        margin-right: .1em;
    }

    .proceed {
        font-size: 1em;
        padding: 0.5em;
    }

    .selectfilter {
        display: block;
    }

    ul#verticalmenu {
        height: 0;
        overflow: hidden;
        border: 0;
    }

    [type="button"] {
        margin: 0.25em;
    }

    [type="submit"] {
        margin: 0.25em;
    }

    /* --------------------- ID ----------------------------------- */

    #logo {
        height: auto;
        margin: .5em 1em .5em .5em;
        width: 5em;
    }

    #title_text {
        font-size: 1.2em;
        margin: 0.6em;
    }
}

