/**
* Copyright (C) 2020-2023 Weseler Rechenzentrum
* NEOCSS
*/

:root {
    --content-area-color: #F0F1F2;
    --content-area-devider: #D4D5D9;
    --input-border-color: #D4D5D9;
    --input-border-color-hover: #6C6E73;
    --check-border-color: #6C6E73;
    --background-color-deakt: rgba(180, 180, 180, 0.5);
    --secondary-color: #6C6E73;
    --deaktText: #b4b4b4;
    --whiteText: #FFFFFF;
    --lightGrey1Text: #F0F1F2;
    --lightGrey2Text: #E6E7EB;
    --lightGrey3Text: #D4D5D9;
    --midgreyText: #6E6C73;
    --fontcolor: #151217;
    --greentext: #00A800;
    --redText: #FF0000;
    --blueText: #4F8AFF;
    --border-color: #aeaeae;
    --box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.2);
    --box-shadow-selected: 0px 4px 4px 0px rgba(var(--institut-color-rgb),0.4);
    --container-shadow: 0px 2px 8px rgba(0,0,0,0.15);
    --dot-shadow: 0px 2px 2px 0px rgba(0,0,0,0.2);
    --contact-background-color: #ffffff;
    --menu-background-color: #ffffff;
    --menu-box-shadow: 4px 0px 4px 0px rgba(0,0,0,0.2);
    --menu-color: var(--gray);
    --scrollbar-color: #999999;
}

html, body {
    scrollbar-color: var(--scrollbar-color) inherit;
    scrollbar-width: thin;
}

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: inherit;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: var(--scrollbar-color);
    }

.banner {
    background-image: url("./masken/graph/spm_banner.jpg");
    background-origin: content-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom 43%;
    height: 300px;
    min-height: 300px;
}

div[class*='block'] {
    min-height: 22px;
    line-height: 22px;
}

/*#region APP ICONS */
.apps {
    margin-top: 32px;
}

.app-headerTabs {
    overflow: auto;
    white-space: nowrap;
    padding: 5px;
    margin: 5px;
}

    .app-headerTabs::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: inherit;
    }

    .app-headerTabs::-webkit-scrollbar {
        height: 8px;
        background-color: inherit;
    }

    .app-headerTabs::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: var(--secondary-color);
    }

.app-headerTabs {
    scrollbar-color: var(--secondary-color) inherit;
    scrollbar-width: thin;
}

.app-headerTab {
    display: inline-block;
    color: var(--midgreyText);
    font-size: larger;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
}

    .app-headerTab:hover {
        color: var(--institut-font-color-hover);
        cursor: pointer;
        /*border-bottom: 2px solid var(--institut-color);*/
    }

    .app-headerTab.clicked {
        color: var(--institut-font-color-hover);
        border-bottom: 2px solid var(--institut-font-color-hover);
    }


.app-header-text {
    color: var(--institut-font-color-hover);
    font-size: larger;
    padding: 5px 10px;
    width: fit-content;
    border-bottom: 2px solid var(--institut-font-color-hover);
}

.app-contentTabs {
}

.app-main-container, .app-contentTab {
    display: flex;
    flex-wrap: wrap;
    padding: 18px 24px;
    color: var(--fontcolor);
}

.app-container {
    margin: 5px 15.5px;
    max-width: 120.5px;
    width: 100%;
}

    .app-container.selected > .app-icon {
        border: solid 1px var(--institut-color);
        box-shadow: var(--box-shadow-selected);
    }

.app-img {
    background-origin: content-box;
    background-size: 49px 49px;
    background-repeat: no-repeat;
    background-position: center center;
    height: 49px;
    width: 49px;
    margin: auto;
}

.app-icon {
    margin: 4px auto;
    width: 87px;
    height: 87px;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    background-color: var(--background-color);
    border: solid 1px var(--border-color);
}

.app-icon-small {
    width: 60px;
    height: 60px;
}

    .app-icon-small .app-img {
        background-size: 32px 32px;
        height: 32px;
        width: 32px;
    }

.app-icon-smaller {
    width: 40px;
    height: 40px;
}

    .app-icon-smaller .app-img {
        background-size: 25px 25px;
        height: 25px;
        width: 25px;
    }

.app-icon:hover {
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

    .app-icon:hover + .app-text {
        color: var(--institut-font-color-hover);
    }

.app-text {
    text-align: center;
    margin: 0;
    padding: 0;
    font-weight: 300;
    overflow: hidden;
    word-wrap: break-word;
    font-size: smaller;
    cursor: default;
}

.app-text-small {
    font-size: x-small !important;
    line-height: 12px !important;
}

/*#endregion APP ICONS*/

/*#region VersichererIcons*/

.versicherer {
    margin-top: 32px;
}

.versicherer-header {
}

.versicherer-header-text {
    color: var(--institut-font-color-hover);
    font-size: larger;
    padding: 5px 10px;
    width: fit-content;
    border-bottom: 2px solid var(--institut-font-color-hover);
}

.versicherer-main-container {
    display: flex;
    flex-wrap: wrap;
    padding: 18px 24px;
    color: var(--fontcolor);
}

.versicherer-container, .versicherer-container2 {
    margin: 5px;
    max-width: 200px;
    width: 100%;
}

.versicherer-icon {
    margin: 4px auto;
    width: 190px;
    height: 87px;
    border-radius: 17.4px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    background-color: var(--background-color);
    border: solid 1px var(--border-color);
}

    .versicherer-icon:hover {
        cursor: pointer;
        box-shadow: var(--box-shadow);
    }

.versicherer-container.selected > .versicherer-icon,
.versicherer-container2.selected > .versicherer-icon {
    border: solid 1px var(--institut-color);
    box-shadow: var(--box-shadow-selected);
}

.versicherer-img {
    max-height: calc( 100% - 10px);
    max-width: calc( 100% - 20px);
    margin: auto;
}

/*#endregion VersichererIcons*/


/*#region MenuFlag*/
.sideMenu {
    height: 100%;
    width: 0px;
    position: fixed;
    z-index: 99;
    top: 0;
    left: -20px;
    background-color: var(--menu-background-color);
    border-right: 1px gray solid;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow-x: hidden;
    -webkit-box-shadow: var(--menu-box-shadow);
    -moz-box-shadow: var(--menu-box-shadow);
    box-shadow: var(--menu-box-shadow);
    scrollbar-color: var(--scrollbar-color) inherit;
    scrollbar-width: thin;
}

    .sideMenu > .app-main-container {
        padding: 0px 24px;
    }

    .sideMenu::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: inherit;
    }

    .sideMenu::-webkit-scrollbar {
        width: 10px;
    }

    .sideMenu::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: var(--scrollbar-color);
    }

.sideMenuFlag {
    position: fixed;
    top: var(--flag-position-top);
    left: 0px;
    background-color: var(--menu-background-color);
    border-top: 1px gray solid;
    border-bottom: 1px gray solid;
    border-right: 1px gray solid;
    border-radius: 0px 3px 3px 0px;
    height: 40px;
    width: 40px;
    z-index: 100;
    cursor: pointer;
    -webkit-box-shadow: var(--menu-box-shadow);
    -moz-box-shadow: var(--menu-box-shadow);
    box-shadow: var(--menu-box-shadow);
}

.sideMenuOverlay {
    z-index: 98;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: white;
    opacity: 0;
}

/*#endregion MenuFlag*/


/*#region Override*/
.whiteline1 {
    background-color: inherit !important;
}

.whiteline {
    background-color: white !important;
}

.whiteline3 {
    background-color: inherit !important;
}

.whiteline4 {
    background-color: inherit !important;
}

.whiteline5 {
    background-color: inherit !important;
}

/*#endregion Override*/

.buttoncontainer {
    margin-top: 32px;
    padding: 18px 24px;
    background-color: var(--institut-color) !important;
    color: var(--institut-font-color) !important;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

    .buttoncontainer:hover {
        box-shadow: var(--box-shadow);
        cursor: pointer;
    }

.buttoncontainer_dea {
    cursor: default !important;
    margin-top: 32px;
    padding: 18px 24px;
    background-color: var(--background-color-deakt) !important;
    color: var(--deaktText) !important;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.containerbtn {
    cursor: pointer;
    text-align: center;
    height: 100%;
    width: 100%;
    position: relative;
    font-size: 20px;
}

    .containerbtn:hover {
        color: var(--institut-font-color);
        background-color: var(--background-color-hover);
        border-radius: 5px;
    }

        .containerbtn:hover > .buttonTextSpan {
            text-decoration: underline;
        }

.dropbtn {
    font-weight: bold;
    color: var(--fontcolor);
}

.dropbtn_dea {
    font-weight: bold;
    color: var(--disabled-font-color);
}

.dropdown-content {
    color: var(--fontcolor);
    font-weight: bold;
}

    .dropdown-content div.content {
        color: var(--fontcolor);
    }

.institutText {
    color: var(--institut-color);
}

.whiteText {
    color: var(--whiteText);
}

.lightGrey1Text {
    color: var(--lightGrey1Text);
}

.lightGrey2Text {
    color: var(--lightGrey1Text);
}

.lightGrey3Text {
    color: var(--lightGrey1Text);
}

.midgreyText {
    color: var(--midgreyText);
}

.darkgreyText .fontcolor {
    color: var(--fontcolor);
}

.greenText {
    color: var(--greentext);
}

.redText {
    color: var(--redText);
}

.blueText {
    color: var(--blueText);
}

.container {
    background-color: var(--background-color);
    margin-top: 32px;
    padding: 18px 24px;
    box-shadow: var(--container-shadow);
    color: var(--fontcolor);
}

    .container > .headline, .container * .headline {
        color: var(--fontcolor);
        display: block;
        vertical-align: baseline;
        font-size: 16px;
        margin: 0 0;
        padding-bottom: 4px;
        font-weight: bold;
        height: auto;
    }

    .container > textarea, .container * textarea {
        resize: vertical;
    }

.ui-dialog-title > .headline {
    color: var(--institut-font-color);
    background-color: initial;
    background-color: transparent;
    display: block;
    vertical-align: baseline;
    margin-top: 0px;
    margin-bottom: 0px;
    height: 24px;
    line-height: 24px;
}

.containerInstitut {
    background-color: var(--institut-color);
    color: var(--institut-font-color);
    margin-top: 32px;
    padding: 24px;
}

.containerRed {
    background-color: var(--redText);
    color: var(--institut-font-color);
    margin-top: 32px;
    padding: 24px;
}

.containerGreen {
    background-color: var(--greentext);
    color: var(--institut-font-color);
    margin-top: 32px;
    padding: 24px;
}

.containerBlue {
    background-color: var(--blueText);
    color: var(--institut-font-color);
    margin-top: 32px;
    padding: 24px;
}

.fehlercontainer {
    color: var(--alert-error-color);
    background-color: var(--alert-error-bg-color);
    border-color: var(--alert-error-border-color);
    font-size: small;
}

.contentArea {
    background-color: var(--content-area-color);
    color: var(--fontcolor);
    display: table;
}

.contentLabel {
    clear: both;
    float: left;
    padding-right: 5px;
}

.contentRow {
    display: table-row;
}

.primaryTextColor, .primaryIconColor {
    color: var(--fontcolor);
}

.secondaryTextColor, .secondaryIconColor {
    color: var(--secondary-color);
}

.contentAreaDivider {
    background-color: var(--content-area-devider);
}

input[type=text], select {
    border-color: var(--input-border-color);
}

    input[type=text]:focus, input[type=text]:hover, select:focus, select:hover {
        border-color: var(--input-border-color);
    }

input[type=radio], input[type=checkbox] {
    border-color: var(--check-border-color);
}

    input[type=radio]:focus, input[type=radio]:hover, input[type=checkbox]:focus, input[type=checkbox]:hover {
        border-color: var(--fontcolor);
    }

.header {
    height: 72px;
    clear: both;
    width: 100%;
    display: table;
    background-color: var(--institut-color);
    color: var(--institut-font-color);
}

    .header > div {
        padding-left: 6px;
        display: table-cell;
        vertical-align: middle;
    }

        .header > div > span {
            vertical-align: bottom;
            font-weight: bold;
        }

.footer {
    display: inline-block;
    margin-top: 16px;
    width: 100%;
}

.buttonline {
    /*clear: both;*/
    background-color: inherit;
}

.menubtn {
    font-weight: bold;
}

.progress {
    margin-top: 8px;
    float: left;
}

.dot {
    background-color: var(--institut-color);
    color: var(--institut-color);
    height: 16px;
    line-height: 16px;
    width: 16px;
    border-radius: 8px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
}

    .dot:hover {
        -webkit-box-shadow: var(--dot-shadow);
        -moz-box-shadow: var(--dot-shadow);
        box-shadow: var(--dot-shadow);
    }

.activedot {
    background-color: var(--institut-color);
    color: var(--institut-font-color);
    height: 16px;
    line-height: 16px;
    width: 16px;
    border-radius: 8px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    margin: 5px;
    cursor: default;
}

    .activedot::after {
        background-color: var(--institut-font-color);
        content: '';
        height: 8px;
        line-height: 8px;
        width: calc(100% - 8px);
        position: absolute;
        top: 4px;
        left: 4px;
        border-radius: 8px;
        font-size: 15px;
    }

    .activedot:hover {
        -webkit-box-shadow: var(--dot-shadow);
        -moz-box-shadow: var(--dot-shadow);
        box-shadow: var(--dot-shadow);
    }

div[class^="block"] > label:not(.chkswitch) {
    display: block;
    padding-left: 10px;
}

div[class^="block"] > label.chkswitch {
    padding-left: 10px;
}

.container_cb {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-family);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.4;
}

    .container_cb input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    top: 2px;
    border-radius: 3px;
}

.container_cb:hover input ~ .checkmark {
    background-color: #ccc;
}

.container_cb input:checked ~ .checkmark {
    background-color: var(--institut-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container_cb input:checked ~ .checkmark:after {
    display: block;
}

.container_cb .checkmark:after {
    left: 6px;
    top: 2px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media only screen and (max-width: 319px) {
    html, body {
        background-color: var(--content-area-color);
    }

        body > * {
            display: none;
        }
}

@media only screen and (min-width:320px) and (max-width:767px) {
    html, body {
        background-color: var(--content-area-color);
    }

    body {
        margin: initial;
    }

    .menubtn > .buttonTextSpan, .menubtn_dea > .buttonTextSpan {
        display: none;
    }

    .bgright, .bgleft {
        background-position: center center;
    }

    .contentArea {
        /*width: calc( 100% - 64px );*/
        width: 100%;
        max-width: 896px;
        margin: 0 auto;
    }

    [class^="col"] {
        /*.col1_1 {*/
        box-sizing: border-box;
        width: 100%;
        float: left;
        clear: left;
    }
}


/* Die Button unten werden wieder normal*/
@media only screen and (min-width:500px) and (max-width:767px) {
    .menubtn > .buttonTextSpan, .menubtn_dea > .buttonTextSpan {
        display: initial;
    }

    .bgright {
        background-position: calc( 100% - 5px ) center;
    }

    .bgleft {
        background-position: 5px center;
    }
}

@media only screen and (min-width: 768px) and (max-width:1023px) {
    html, body {
        background-color: var(--content-area-color);
    }

    body {
        margin: initial;
    }

    .contentArea {
        /*width: calc( 100% - 64px );*/
        width: 100%;
        max-width: 896px;
        margin: 0 auto;
    }

    .colTwoThird {
        width: 66%;
        max-width: 576px;
        margin: 0 auto;
        float: left;
        clear: both;
    }

    .col1 {
        width: 100%;
        max-width: 896px;
        float: left;
        clear: both;
    }

    .col1_1, .col1_1_1 {
        width: calc( 50% - 16px );
        max-width: calc( 50% - 16px );
        float: left;
        clear: left;
    }

        .col1_1 + .col1_1, .col1_1_1 + .col1_1_1 {
            margin-left: 32px;
            clear: right;
        }


            .col1_1_1 + .col1_1_1 + .col1_1_1 {
                width: calc(100%);
                max-width: calc(100%);
                margin-left: initial;
                clear: both;
            }

    .col2_1 {
        width: calc( 62% - 16px );
        max-width: calc( 62% - 16px );
        float: left;
        clear: left;
    }

        .col2_1 + .col2_1 {
            width: calc( 38% - 16px );
            max-width: calc( 38% - 16px );
            margin-left: 32px;
            clear: right;
        }

    .col1_2 {
        width: calc( 38% - 16px );
        max-width: calc( 38% - 16px );
        float: left;
        clear: left;
    }

        .col1_2 + .col1_2 {
            width: calc( 62% - 16px );
            max-width: calc( 62% - 16px );
            margin-left: 32px;
            clear: right;
        }
}

@media only screen and (min-width: 1024px) {
    html, body {
        background-color: var(--content-area-color);
    }

    body {
        margin: initial;
    }

    .contentArea {
        /*width: calc( 100% - 64px );*/
        width: 100%;
        max-width: 896px;
        margin: 0 auto;
    }

    .colTwoThird {
        width: 66%;
        max-width: 576px;
        margin: 0 auto;
        clear: both;
    }

    .col1 {
        width: 896px;
        max-width: 896px;
        clear: both;
    }

    .col1_1 {
        width: 464px;
        max-width: 464px;
        float: left;
        clear: left;
    }

        .col1_1 + .col1_1 {
            margin-left: 32px;
            clear: right;
        }

    .col1_1_1 {
        width: calc( 33.33% - 16px );
        max-width: calc( 33.33% - 16px );
        float: left;
        clear: left;
    }

        .col1_1_1 + .col1_1_1 {
            clear: none;
            margin-left: 24px;
        }

            .col1_1_1 + .col1_1_1 + .col1_1_1 {
                margin-left: 24px;
                clear: right;
            }

    .col2_1 {
        width: calc( 62% - 16px );
        max-width: calc( 62% - 16px );
        float: left;
        clear: left;
    }

        .col2_1 + .col2_1 {
            width: calc( 38% - 16px );
            max-width: calc( 38% - 16px );
            margin-left: 32px;
            clear: right;
        }

    .col1_2 {
        width: calc( 38% - 16px );
        max-width: calc( 38% - 16px );
        float: left;
        clear: left;
    }

        .col1_2 + .col1_2 {
            width: calc( 62% - 16px );
            max-width: calc( 62% - 16px );
            margin-left: 32px;
            clear: right;
        }
}

/*Nicht mehr NEO-Style-Konform*/
/*@media only screen and (min-width: 1324px) {

    html, body {
        background-color: var(--content-area-color);
    }

    body {
        margin: initial;
    }

    .contentArea {
        width: calc( 100% - 64px );
        width: 100%;
        max-width: 1260px;
        margin: 0 auto;
    }

    .colTwoThird {
        width: 66%;
        max-width: 832px;
        margin: 0 auto;
        clear: both;
    }

    .col1 {
        width: 1260px;
        max-width: 1260px;
        clear: both;
    }

    .col1_1 {
        width: 614px;
        max-width: 614px;
        float: left;
        clear: left;
    }

        .col1_1 + .col1_1 {
            margin-left: 32px;
            clear: right;
        }

    .col1_1_1 {
        width: calc( 33.33% - 16px );
        max-width: calc( 33.33% - 16px );
        float: left;
        clear: left;
    }

        .col1_1_1 + .col1_1_1 {
            clear: none;
            margin-left: 24px;
        }

            .col1_1_1 + .col1_1_1 + .col1_1_1 {
                margin-left: 24px;
                clear: right;
            }

    .col2_1 {
        width: calc( 62% - 16px );
        max-width: calc( 62% - 16px );
        float: left;
        clear: left;
    }

        .col2_1 + .col2_1 {
            width: calc( 38% - 16px );
            max-width: calc( 38% - 16px );
            margin-left: 32px;
            clear: right;
        }

    .col1_2 {
        width: calc( 38% - 16px );
        max-width: calc( 38% - 16px );
        float: left;
        clear: left;
    }

        .col1_2 + .col1_2 {
            width: calc( 62% - 16px );
            max-width: calc( 62% - 16px );
            margin-left: 32px;
            clear: right;
        }
}
*/
