/* ============ Global ============ */

*
{
    box-sizing: border-box;
}

body
{
    margin: 0;
    z-index: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    line-height: 130%;
    overflow-y: scroll;
    font-family: Verdana, Arial;
}

body.wait-cursor,
body.wait-cursor *
{
    cursor: wait !important;
}

a
{
    color: #007FFF;
    text-decoration: none;
}

label
{
    white-space: nowrap;
}

/* ============ Seitenstruktur ============ */

header
{
    z-index: 1;
    height: 60px;
    display: flex;
    cursor: pointer;
    background-size: cover;
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-image: url('../img/header.jpg');
}

.header-logo
{
    margin: 10px;
    display: block;
}

.header-title
{
    font-size: 22px;
    margin-top: 18px;
    font-family: Impact, Verdana, Arial;
}

.header-overlay
{
    top: 0px;
    left: 0px;
    z-index: 5;
    width: 100%;
    height: 100%;
    position: fixed;
}

main
{
    z-index: 2;
    position: relative;
    background: #FFFFFF;
    margin-bottom: 110px;

}

footer
{
    z-index: 0;
    width: 100%;
    bottom: 0px;
    position: fixed;
}

.footer-copyright
{
    margin: 20px;
    display: flex;
    justify-content: center;
}

.footer-bar
{
    padding: 15px;
    display: flex;
    justify-content: center;
    background-color: #E6E6E6;
}

nav
{
    z-index: 3;
    width: 100%;
    height: 40px;
    font-size: 16px;
    font-family: Impact, Verdana, Arial;
    background: linear-gradient(to right, #E6E6E6, #CECDCD, #E6E6E6);
}

pre
{
    margin: 0px;
}

.nav-item:hover
{
    background-color: #FFFFFF !important;
}

.nav-item-active
{
    background-color: #FFFFFF !important;
}

#login-nav-item
{
    width: auto;
    padding: 0px 10px;
    justify-content: left;
}

#login-nav-label
{
    padding-left: 5px;
}

/* Zeigt die normale Ansicht an. */
@media screen and (min-width: 1101px)
{
    nav
    {
        display: flex;
        justify-content: center;
    }

    .nav-item
    {
        width: 100px;
        height: 100%;
        display: flex;
        margin:0px 5px;
        color: #000000;
        align-items: center;
        justify-content: center;
    }

    #mobile-nav-item
    {
        display: none;
    }
}

/* Zeigt die mobile Ansicht an. */
@media screen and (max-width: 1100px)
{
    main
    {
        padding-top: 40px;	
    }

    nav
    {
        top: 60px;
        max-height: 100%;
        display: block;
        overflow: hidden;
        position: absolute;
    }

    .nav-item
    {
        width: 100%;
        height: 40px;
        display: flex;
        color: #000000;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        background-color: #CECDCD;
    }

    #mobile-nav-item
    {
        width: 40px;
        cursor: pointer;
        background-color: transparent;
    }

    #login-nav-item
    {
        top: 0px;
        right: 0px;
        margin: 0px;
        width: auto;
        height: 40px;
        position: absolute;
        background-color: transparent;
    }
}

/* ============ Boxen ============ */

/* Zeigt die normalen Boxen an. */
@media screen and (min-width: 1101px)
{
    .box
    {
        padding: 20px;
        max-width: 40%;
        margin: 50px auto 0px auto;
        background: linear-gradient(90deg, #E6E6E6 0%, #F3F3F3 100%);
    }

    .box-small
    {
        padding: 10px;
        margin: 15px auto 0px auto;
        background: linear-gradient(90deg, #E6E6E6 0%, #F3F3F3 100%);
    }

    .box > img,
    .box-small > img
    {
        width: 100%;
        display: block;
    }
    
    .flipbox-title
    {
        font-size: 16px;
        cursor: pointer;
        margin-top: 10px;
        background-repeat: no-repeat;
        background-position: center center;
    }
}

/* Zeigt die mobilen Boxen an. */
@media screen and (max-width: 1100px)
{
    .box
    {
        padding: 20px;
        max-width: 90%;
        margin: 50px auto 0px auto;
        background: linear-gradient(90deg, #E6E6E6 0%, #F3F3F3 100%);
    }

    .box-small
    {
        padding: 10px;
        margin: 15px auto 0px auto;
        background: linear-gradient(90deg, #E6E6E6 0%, #F3F3F3 100%);
    }

    .box > img,
    .box-small > img
    {
        width: 100%;
        display: block;
    }
    
    .flipbox-title
    {
        font-size: 16px;
        cursor: pointer;
        margin-top: 10px;
        background-repeat: no-repeat;
        background-position: right center;
    }
}

.box-dark
{
    background: linear-gradient(90deg, #CECDCD 0%, #E6E6E6 100%);
}

.box-light
{
    background: linear-gradient(90deg, #FFFFFF 0%, #F3F3F3 100%);
}

/* ========== Ladebalken ========= */

.loading
{
    top: 50%;
    z-index: 10;
    display: none;
    cursor: pointer;
    position: fixed;
    left: calc(50% - 110px);
}

/* ============ Buttons ============ */

.button
{
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    min-height: 33px;
    padding: 6px 10px;
    text-decoration: none;
    display: inline-block;
    background-color: #A1A1A1;
    font-family: Verdana, Arial;
    text-shadow: 0px 1px 0px #154682;
}

.button:hover
{
    background-color: #969696;
}

.button:active
{
    top: 1px;
    position: relative;
}

.button-highlight
{
    background-color: #007DC1;
}

.button-highlight:hover,
.button-highlight-small:hover
{
    background-color: #0091E0;
}

.button-highlight:active,
.button-highlight-small:active
{
    top: 1px;
    position: relative;
}

.button-small
{
    font-size: 12px;
    padding: 3px 5px;
    min-height: 23px;
}

.button-highlight-small
{
    font-size: 12px;
    padding: 3px 5px;
    min-height: 23px;
    background-color: #007DC1;
}

/* ============ Inputs ============ */

input:disabled
{
    cursor: not-allowed;
    background-color: #BDBDBD !important;
}

.input-text
{
    border: 1px solid #969696;
}

.input-text:focus
{
    border: 1px solid #0091E0;
}

.textarea
{
    border: 1px solid #969696;
}

.textarea:focus
{
    border: 1px solid #0091E0;
}

/* ============ Select ============ */

.select
{
    border: 1px solid #969696;
}

.select:focus
{
    border: 1px solid #0091E0;
}

/* ==================== Flipbox ==================== */

.flipbox
{
    position: relative;
}

.flipbox-title:hover
{
    color: #0091E0;
}

.flipbox-open
{
    background-image: url("../img/arrow-up.png");
}

.flipbox-open:hover
{
    background-image: url("../img/arrow-up-highlight.png");
}

.flipbox-closed
{
    background-image: url("../img/arrow-down.png");
}

.flipbox-closed
{
    background-image: url("../img/arrow-down-highlight.png");
}

/* ============ Farben ============ */

.grey
{
    color: #848484;
}

.black
{
    color: #000000;
}

.white
{
    color: #FFFFFF;
}

.red
{
    color: #FF0000;
}

.green
{
    color: #22B14C;
}

.blue
{
    color: #007FFF;
}

.blue-highlight
{
    color: #0091E0;
}

/* ======== Textdekoration ======== */

.bold
{
    font-weight: bold;
}

.italic
{
    font-style: italic;
}

.strike-through
{
    text-decoration: line-through;
}

/* =========== Breiten ============ */

.full-width
{
    width: 100%;
}

.half-width
{
    width: 50%;
}

.quarter-width
{
    width: 25%;
}

/* ========== Strukturen ========== */

.flex
{
    display: flex;
}

.flex-space
{
    justify-content: space-between;
}

.flex-wrap
{
    flex-wrap: wrap;
}

/* ======= Sichtbarkeiten ========= */

.visible
{
    display: block;
}

.invisible
{
    display: none;
}

/* ======= Textformatierung ======= */

.headline
{
    font-size: 20px;
    margin-bottom: 10px;
}

.headline-small
{
    font-size: 16px;
    margin-bottom: 5px;
}

.paragraph
{
    margin-bottom: 15px;
}

.paragraph-small
{
    margin-bottom: 5px;
}

.paragraph-top
{
    margin-top: 15px;
}

.big
{
    font-size: 22px;
}

.small
{
    font-size: 12px;
}

.very-small
{
    font-size: 10px;
}

.left
{
    text-align: left;
}

.center
{
    text-align: center;
}

.right
{
    text-align: right;
}

.no-wrap
{
    white-space: nowrap;
}

.unselectable
{
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}