﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('variabled.css');


html, body {
    margin: 0;
    font-size: var(--html-fontsize);
    line-height: var(--html-line-height);
    font-family: "Hessen Gellix Medium", sans-serif;
}

.k-label, .k-input, .k-textbox, .k-button-text {
    font-size: var(--fontsize);
}

/* Global Hessen Cooperate Design */

/* Schriften */

h1, h2, h3 {
    font-family: "Hessen Gellix Bold", sans-serif;
}

h1 {
    font-size: var(--fontsize-h1);
    line-height: var(--line-height-h1);
}

h2 {
    font-size: var(--fontsize-h2);
    line-height: var(--line-height-h2);
}

h3 {
    font-size: var(--fontsize-h3);
}

@media (min-width: 768px) {

    p, .k-label {
        font-size: var(--fontsize-768);
    }

    h1, h2, h3 {
        font-weight: normal;
    }

    h1 {
        line-height: var(--line-height-h1-768);
    }
}

@media (min-width: 1024px) {
    p, .k-label {
        font-size: var(--fontsize-1024);
    }

    h1 {
        font-size: var(--fontsize-h1-1024);
        line-height: var(--line-height-h1-1024);
    }

    h2 {
        font-size: var(--fontsize-h2-1024);
        line-height: var(--line-height-h2-1024);
    }

    h3 {
        font-size: var(--fontsize-h3-1024);
    }
}

@media (min-width: 1680px) {
    h1 {
        font-size: var(--fontsize-h1-1680);
    }

    h2 {
        font-size: var(--fontsize-h2-1680);
    }

    h3 {
        font-size: var(--fontsize-h3-1680);
    }
}
/* Navigation Horizontal */
ul.nav.horizontal {
    > li > a.boxed-link.tab-register {
        border: 1px solid var(--link-border-color);
        border-bottom: none;
        margin: 0;
        margin-right: 10px;
        padding: 10px;

        &:hover {
            background-color: var(--link-background-color-hover);
            color: var(--focus-color);
            font-weight: bold;
        }

        &.active {
            background-color: var(--link-background-color-hover);
            color: var(--focus-color);
            cursor: default;
            font-weight: bold;
        }
    }
}

div.tab-container-items {
    border: 1px solid var(--container-border-color);
    border-radius: 0 var(--container-border-radius) var(--container-border-radius) var(--container-border-radius);
    padding: 10px;
}

.btn-link {
    color: var(--main-color);
    text-decoration: none;
    padding: 10px;
    border: none;

    &:hover {
        color: var(--main-color);
        text-decoration: underline;
    }
}

a {
    color: var(--main-color);
    text-decoration: none;
    line-height: var(--link-line-height);

    &:hover {
        color: var(--main-color);
        text-decoration: underline;
        text-underline-offset: 8px;
    }

    &.link--internal::before {
        content: "";
        margin-right: 6px; /* Abstand zwischen Icon und Link-Text */
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path id="Rechteck_2450" fill="none" stroke="none" d="M0 0H16V16H0z"></path> <g fill="none" stroke="none" id="Gruppe_3329" transform="rotate(135 -10407.719 -1809.48)"> <g id="Gruppe_3241" transform="translate(0 -1)"> <path stroke="currentColor" stroke-width="2" id="Pfad_3389" d="M35.407-8.024v-6h6" transform="translate(-16525.998 -10448.002)"></path> <path stroke="currentColor" stroke-width="2" id="Linie_1323" d="M0 0L6 6" transform="translate(-16490.592 -10462)"></path> </g> </g> </svg>');
    }

    &.link--external::before {
        content: "";
        margin-right: 6px; /* Abstand zwischen Icon und Link-Text */
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        mask-repeat: no-repeat;
        mask-size: contain;
        background-color: var(--link-color);
    }

    /*&.link--external:not(.link--email):not(.link--download)::before{*/
    &.link--external::before{
        mask-image: url('data:image/svg+xml;utf8,<svg id="icon_link_extern" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path id="Rechteck_2231" fill="none" stroke="none" d="M0 0H16V16H0z"></path> <g fill="none" stroke="none" id="Gruppe_3241" transform="translate(16495.592 10468.026)"> <g id="Gruppe_3241-2" transform="translate(0 -1)"> <path stroke="currentColor" stroke-width="2" id="Pfad_3389" d="M35.407-8.024v-6h6" transform="translate(-16525.998 -10448.002)"></path> <path stroke="currentColor" stroke-width="2" id="Linie_1323" d="M0 0L6 6" transform="translate(-16490.592 -10462)"></path> </g> </g> </svg>');
    } 
/*
    &.link--email::before {
        mask-image: url('data:image/svg+xml;utf8,<svg role="img" aria-labelledby="social-sharing-button-email" width="16px" height="16px"> <desc id="social-sharing-button-email">Logo - Auf E-Mail teilen</desc> <use href="/themes/custom/hw_radix_standard/assets/images/sprites/social-icons--no-color.svg#email"></use> </svg>');
    }

    &.link--download::before {
        mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25" height="25" viewBox="0 0 25 25"> <rect x="-210" y="-210" width="2520" height="2520" fill="rgb(100%, 100%, 100%)" fill-opacity="1"/> <path fill-rule="evenodd" fill="rgb(100%, 100%, 100%)" fill-opacity="1" d="M 701.574219 535.308594 L 1205.679688 535.308594 C 1298.871094 608.03125 1392.070312 680.75 1485.269531 753.46875 L 1485.269531 1477.851562 C 1485.269531 1525.617188 1446.191406 1564.695312 1398.421875 1564.695312 L 701.574219 1564.695312 C 653.8125 1564.695312 614.734375 1525.617188 614.734375 1477.851562 L 614.734375 622.148438 C 614.734375 574.378906 653.8125 535.308594 701.574219 535.308594 "/> <path fill-rule="evenodd" fill="rgb(0%, 0%, 0%)" fill-opacity="1" d="M 701.574219 535.308594 L 1205.679688 535.308594 C 1298.871094 608.03125 1392.070312 680.75 1485.269531 753.46875 L 1485.269531 1477.851562 C 1485.269531 1525.617188 1446.191406 1564.695312 1398.421875 1564.695312 L 701.574219 1564.695312 C 653.8125 1564.695312 614.734375 1525.617188 614.734375 1477.851562 L 614.734375 622.148438 C 614.734375 574.378906 653.8125 535.308594 701.574219 535.308594 Z M 1197.570312 559.308594 L 701.574219 559.308594 C 684.320312 559.308594 668.613281 566.378906 657.210938 577.78125 C 645.8125 589.191406 638.734375 604.890625 638.734375 622.148438 L 638.734375 1477.851562 C 638.734375 1495.109375 645.8125 1510.816406 657.210938 1522.214844 C 668.613281 1533.617188 684.320312 1540.695312 701.574219 1540.695312 L 1398.421875 1540.695312 C 1415.679688 1540.695312 1431.390625 1533.617188 1442.789062 1522.214844 C 1454.191406 1510.816406 1461.269531 1495.109375 1461.269531 1477.851562 L 1461.269531 765.070312 L 1197.570312 559.308594 "/> <path fill="none" stroke-width="5.0003" stroke-linecap="butt" stroke-linejoin="miter" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="2.61313" d="M 12056.796875 15646.914062 C 12988.710938 14919.6875 13920.703125 14192.5 14852.695312 13465.3125 " transform="matrix(0.1, 0, 0, -0.1, 0, 2100)"/> <path fill-rule="evenodd" fill="rgb(100%, 100%, 100%)" fill-opacity="1" d="M 1187.460938 535.308594 C 1178.359375 589.71875 1223.921875 713.109375 1266.140625 750.839844 C 1320.25 799.210938 1400.671875 804.210938 1485.269531 764.011719 L 1485.269531 753.46875 C 1392.070312 680.75 1298.871094 608.03125 1205.679688 535.308594 L 1187.460938 535.308594 "/> <path fill-rule="evenodd" fill="rgb(0%, 0%, 0%)" fill-opacity="1" d="M 1211.46875 570.160156 C 1214.171875 590.980469 1220.851562 615.960938 1229.839844 640.589844 C 1244.199219 679.910156 1263.859375 716.75 1282.070312 733.03125 C 1304.980469 753.511719 1333.679688 764.808594 1365.78125 766.738281 C 1391.050781 768.261719 1418.480469 764.03125 1447.03125 753.960938 Z M 1187.460938 535.308594 C 1178.359375 589.71875 1223.921875 713.109375 1266.140625 750.839844 C 1320.25 799.210938 1400.671875 804.210938 1485.269531 764.011719 L 1485.269531 753.46875 C 1392.070312 680.75 1298.871094 608.03125 1205.679688 535.308594 L 1187.460938 535.308594 "/> <path fill-rule="evenodd" fill="rgb(0%, 0%, 0%)" fill-opacity="1" d="M 1016.378906 1055.96875 L 1017.878906 895.300781 C 1021.648438 883.160156 1033.308594 872.21875 1049.371094 872.21875 C 1049.558594 872.21875 1049.761719 872.21875 1050 872.21875 C 1050.191406 872.21875 1050.390625 872.21875 1050.578125 872.21875 C 1066.640625 872.21875 1078.351562 883.160156 1082.078125 895.300781 L 1083.621094 1055.96875 L 1130.648438 1012.148438 C 1134.710938 1008.410156 1140.710938 1007.929688 1146.46875 1007.980469 C 1169.601562 1008.210938 1186.238281 1032.429688 1175.929688 1055.089844 L 1080.289062 1153.164062 C 1062.921875 1170.851562 1056.628906 1179.359375 1050 1178.730469 C 1043.320312 1179.359375 1037.078125 1170.851562 1019.671875 1153.164062 L 924.066406 1055.089844 C 913.761719 1032.429688 930.402344 1008.210938 953.53125 1007.980469 C 959.289062 1007.929688 965.285156 1008.410156 969.300781 1012.148438 L 1016.378906 1055.96875 "/> <path fill-rule="evenodd" fill="rgb(0%, 0%, 0%)" fill-opacity="1" d="M 943.03125 1189.273438 L 1156.921875 1189.273438 C 1164.710938 1189.273438 1171.050781 1195.628906 1171.050781 1203.390625 L 1171.050781 1213.65625 C 1171.050781 1221.425781 1164.710938 1227.78125 1156.921875 1227.78125 L 943.03125 1227.78125 C 935.289062 1227.78125 928.90625 1221.425781 928.90625 1213.65625 L 928.90625 1203.390625 C 928.90625 1195.628906 935.289062 1189.273438 943.03125 1189.273438 "/> </svg> ');
    }*/

    &.link--external:hover::before {
        background-color: var(--link-focus-color);
    }
}

.nav-link {
    color: var(--link-color);
    white-space: nowrap;
    font-size: var(--link-fontsize);
}

    .nav-link:hover {
        text-decoration: underline;
        color: var(--link-focus-color);
    }

.boxed-link {
    display: inline-block;
    border: 1px solid black;
    text-align: center;
    text-decoration: none;
    margin: 10px 0;
    background-color: white;
    color: var(--link-color);

    &:hover {
        background-color: var(--link-background-color-hover);
        color: var(--link-focus-color);
        font-weight: bold;
    }
}




[tabindex="-1"]:focus {
    outline: 0 !important
}


input[aria-readonly="true"] {
    color: #777;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

a, a:not([href]) {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.checkbox_ext {
    display: flex !important;
    flex-direction: row;
}

    .checkbox_ext > input[type="checkbox"] {
        margin: 1px 10px;
    }

input[type = "checkbox"] + label {
    display: inline;
}

.dropdown-item {
    pointer-events: all;
}

.voraussetzung_gruppe_header {
    font-weight: bold;
}


div.page {
    height: 100vh;
    display: grid;
    grid-template-columns: 4px 1rem auto 4px;
    grid-template-rows: 5rem auto 10rem;
}

    div.page > .shadow {
        z-index: -1;
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 3;
    }

    div.page > header {
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row: 1 / 2;
        display: inline-flex;
    }

        div.page > header > .nav {
            justify-content: end;
            width: 100%;
        }

    div.page > .logo {
        grid-row-start: 1;
        grid-column-start: 2;
        grid-column-end: 3;
        display: flex;
    }


    div.page > main {
        grid-column-start: 2;
        grid-column-end: 4;
        grid-row-start: 2;
        grid-row-end: 3;
        display: inline-grid;
        grid-template-columns: 1rem auto;
        grid-template-rows: min-content auto;
        margin-bottom: 2rem;
    }

        div.page > main > .sidebar {
            grid-column-start: 1;
            grid-column-end: 3;
        }

        div.page > main > .content {
            grid-column-start: 1;
            grid-column-end: 3;
        }
/* MAIN - GRID { */
/* } MAIN - GRID */
/* WARTUNG HINWEIS Popup { */
.wartungsstatus_popup {
    /*height: calc(100vh - 200px) !important;*/
    /*width: calc(100vw - 200px) !important;*/

    color: #000;
    text-align: center;
}

.wartungsstatus_wrapper .k-icon {
    margin-right: 10px;
}

.wartungsstatus_popup .k-window-titlebar {
    background: #FFE4E4;
}

.wartungsstatus_popup .k-window-title {
    color: #000;
    font-size: 20px !important;
    justify-content: center;
}

    .wartungsstatus_popup .k-window-title .k-icon {
        margin-right: 10px;
    }

div.schliessen_btn_wrapper {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}
/* } WARTUNG HINWEIS Popup */
/* ANTRAG - ZUSAMMENFASSUNG { */
div.Antrag_zusammenfassung_main {
    container-type: inline-size;
    display: grid;
}

    div.Antrag_zusammenfassung_main section {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        border: 1px solid #c3c3c3;
        border-radius: 5px;
        padding: 10px;
        display: grid;
        grid-template-rows: auto auto;
        margin-bottom: 0.5rem;

        div {
            display: grid;
            grid-template-columns: 40% 60%;
            padding: 0;
            margin: 0;
            line-height: 20px;

            label.label {
                /*font-size: 14px;*/
            }

            p.value {
                /*font-size: 14px;*/
                font-weight: bold;
                padding-bottom: 0.2rem;
                margin: 0;
            }
        }
    }

        div.Antrag_zusammenfassung_main section.sub_section {
            border: none;

            .header {
                border-bottom: 1px solid #c3c3c3;
                margin-bottom: 1rem;
            }
        }

@media only screen and (max-width: 1000px) {
    div .Antrag_zusammenfassung_main section .body {
        grid-template-columns: 1fr;
    }
}
/* } ANTRAG - ZUSAMMENFASSUNG */
/* MEINE ANTRÄGE { */
div.AntraegeContainer > div.card {
    min-width: 10rem;
}
/* } MEINE ANTRÄGE */


@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    div.page {
        height: 100vh;
        display: grid;
        grid-template-columns: 40px 16rem auto 40px;
        grid-template-rows: 5rem auto 14rem;
    }

        div.page > main {
            grid-template-columns: 16rem auto;
        }

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    div.page > main > .sidebar {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    div.page > main > .content {
        grid-column-start: 2;
        grid-column-end: 3;
    }
}

div.page > .footer {
    grid-column-start: 1;
    grid-column-end: 4;
    display: inline-flex;
}
/* Meine Antraege { */

span.meine_antraege_fachdatenlabel {
}

    span.meine_antraege_fachdatenlabel::after {
        content: "\a";
        white-space: pre;
    }

span.meine_antraege_fachdatenvalue {
    font-weight: bold;
}
/* } Meine Antraege */

label.required::after,
div[required] label::after {
    content: " *";
    font-weight: bold;
    padding-left: 3px;
}

h1:focus {
    outline: none;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
    margin-left: 50px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.break-after::after {
    content: "\A";
    white-space: pre;
}
/* Navigation */
.menu-link {
    font-style: normal;
    text-decoration: none;
    color: #333333;
    /*    font-size: 1.25em;*/
    margin-left: 0.4em;
}

    .menu-link:hover {
        text-decoration: underline;
        text-underline-offset: 0.3em;
        color: #003087;
    }
/* Text Bausteine */
/* Buttons */

.hzd-button {
    background-color: #1274AC;
    color: white;
    border-color: #1274AC;
    border-width: 4px;
    border-style: solid;
}

    .hzd-button:hover {
        background-color: white;
        color: #1274AC;
        border-color: #1274AC;
    }

    .hzd-button:focus {
        border-color: #FFCC44;
    }
/* Hilfe */
.hzd-help-button {
    background-color: white;
    color: #003087;
    border-color: white;
    border-width: 2px;
    border-style: solid;
}

    .hzd-help-button:focus {
        border-color: #003087;
    }


.error-message {
    color: darkred;
    font-weight: bold;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5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4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
