body {
    /* Disables pull-to-refresh and overscroll glow effect. Still keeps swipe navigations. */
    /* contain statt none:  Disables pull-to-refresh but still overscroll glow effect */
    overscroll-behavior-y: none;
    overflow-anchor: none;
    overflow-y: hidden;  /* für IFrame */
    width: 100%;
    --paddingPage: 1rem;
    --maxWidthPage: 1500px;
    --heightGGSbild: 142.2px;
}
.divCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}
@font-face {
    font-family: 'aisIcons';
    src: url('/ais/fonts/USBBochumFont.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
.ais-icon, .ais-icon-white {
    font-family: 'aisIcons';
    font-size: 40px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    color: black;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.ais-icon-white {
    color: white;
}
.Fotokamera-Icon:before {
    content: "\E80F";
}
.Kalender-Icon:before {
    content: "\E816";
}
.User-Icon:before {
    content: "\E83D";
}
.UserBadge-Icon:before {
    content: "\E837";
}
.Einstellungen-Icon:before {
    content: "\E818";
}
.Datensatz-suchen-Icon:before {
    content: "\E821";
}
.Verkleinern-Icon:before {
    content: "\E822";
}
.Vergrößern-Icon:before {
    content: "\E823";
}
.Exit-Icon:before {
    content: "\E826";
}
.Gebäude-Icon:before {
    content: "\E81C";
}
.ArrowLeft-Icon:before {
    content: "\E844";
}
.ArrowRight-Icon:before {
    content: "\E845";
}
.ArrowUp-Icon:before {
    content: "\E846";
}
.ArrowDown-Icon:before {
    content: "\E847";
}
.ArrowBack-Icon:before {
    content: "\E848";
}
.ArrowForward-Icon:before {
    content: "\E849";
}
.ArrowUndo-Icon:before {
    content: "\E84A";
}
.ArrowRedo-Icon:before {
    content: "\E84B";
}
.ArrowLeftFull-Icon:before {
    content: "\E84C";
}
.ArrowRightFull-Icon:before {
    content: "\E84D";
}
.ArrowUpFull-Icon:before {
    content: "\E84E";
}
.ArrowDownFull-Icon:before {
    content: "\E84F";
}

.ais-arrow-icon {
    font-size: 16px;
}

.divFlaggen {
    position: absolute;
    top: 0;
    right: calc(((max(100vw, var(--maxWidthPage)) - var(--maxWidthPage)) / 2) + var(--paddingPage));
}
.divFlaggen > .divCenter {
    display: none;
}
.headerMain .divFlaggen, #headerFirma > .divFlaggen {
    box-sizing: border-box;
    top: 1rem;
    right: 1rem;
}
.flaggen {
    cursor: default;
}
.flaggen > img {
    height: 36px;
    border: 1px solid black;
    cursor: pointer;
}

.ais-minipage-title {
    white-space: normal;
    hyphens: auto;
    cursor: default;
}
.ais-spo-text-anfallstelle.ais-minipage-title {
    margin-right: 0;
}
/*.header-minipage {  /* wegen Flaggenanzeige
    margin-right: 200px;
}*/
h5 {
    hyphens: auto;
}

#ais-spo-ggs-thumbs {
    display: flex;
    overflow: auto;
}
#ais-spo-ggs-thumbs .card,
#ais-spo-ggs-items .card {
    min-width: 12rem!important;
    max-width: 12rem!important;
    transition: transform 300ms linear;
}
#ais-spo-ggs-thumbs .card {
    cursor: pointer;
}
#ais-spo-ggs-thumbs .card:hover {
    box-shadow:inset 0px 0px 0px 2px #1e90ff;
}
#ais-spo-ggs-thumbs img,
#ais-spo-ggs-items img {
    width: 190px;
    height: var(--heightGGSbild);
}
/*@media (prefers-color-scheme: dark) {
    #ais-spo-ggs-thumbs img,
    #ais-spo-ggs-items img {
        filter: invert(100%) hue-rotate(180deg);
    }
}*/
#ais-spo-ggs-thumbs .card:hover > img {
    transform: scale(0.979);
}
#ais-spo-ggs-thumbs h4,
#ais-spo-ggs-thumbs .btn-group {
    display: none;
}
#ais-spo-ggs-items {
    display: flex; 
    overflow: auto;
}
#ais-spo-ggs-thumbs .ais-spo-ggs-hidden {
    display: none;
}
#ais-spo-ggs-items {
    color: #6c757d;
}
#ais-spo-ggs-items > .tip {
    display: none;
}
#ais-spo-ggs-items.is-empty {
    justify-content: center;
}
#ais-spo-ggs-items.is-empty > .tip {
    display: block;
}
.was-validated #ais-spo-ggs-items[required].is-empty > .tip {
    color: #dc3545;
}
#ais-spo-ggs-items > .ais-spo-ggs-card .hinweisDivGGS {
    top: unset;
    bottom: calc(100% - var(--heightGGSbild) + 2px);
    min-height: unset;
}
.hinweisDivGGS {
    position: absolute;
    bottom: 3px;
    /*top: calc(100% - var(--heightGGSbild) + 2px);*/
    left: 3px;
    min-height: calc(100% - var(--heightGGSbild) - 2px);
    width: calc(100% - 6px);
    background-color: lightyellow;
    text-align: center;
    cursor: help;
}

.cardFoto {
    margin-right: 6px;
    margin-bottom: 10px;
    min-width: min(100%, 260px);
}

.ais-spo-hidden {
    display: none;
}

.ais-minipage {
    display: none;
}
.ais-minipage.ais-minipage-active {
    display: block;
}
.ais-minipage-button-next, .ais-minipage-button-previous {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    hyphens: auto;
}
:is(.ais-minipage-button-next, .ais-minipage-button-previous) > *:first-child {
    margin-right: 10px;
}
:is(.ais-minipage-button-next, .ais-minipage-button-previous) > span {
    width: calc(100% - 26px);
    vertical-align: middle;
}

.ais-spo-text-wunschdatum-fehler {
    white-space: pre-wrap;
}
form.termine-fehlen div.invalid-feedback {
    font-size: 1rem;
    display: block;
}
form.termine-fehlen .ais-spo-termine-label {
    display: none;
}
.ais-spo-termine-label {
    display: flex;
    margin-top: 1rem;
}
.was-validated :invalid~label[required] {
    color:#dc3545!important;
}
.was-validated input[type="radio"]:invalid~label {
    border-color:#dc3545!important;
}
/*.was-validated input.address-detail-id:invalid~input:not(:focus) {
    border-color:#dc3545!important;
}
.was-validated input.address-detail-id:invalid~input:focus {
    border-color:#dc3545!important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}*/
.was-validated input.address-detail-id:invalid~#anfallstelle-stellenname:valid {
    border-color: inherit;
    padding-right: inherit;
    background-image: none;
    box-shadow: none;
}
#ais-spo-auftraggeber-grund-abweichung {
    appearance: none;
}

#ais-spo-zusammenfassung-abweichung.nicht-gegeben {
    display: none;
}
/*.ais-spo-zusammenfassung-key {
}*/
.ais-spo-zusammenfassung-value {
    font-weight: bold;
    width: fit-content;
    max-width: 100%;
}
/*.ais-spo-termin-radio-label {  
    display: flex;
    justify-content: center;
}*/
.ais-spo-termin-radio-label > input {
    display: none;
}
.ais-spo-termin-radio-element {
    min-height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    width: 100%;
    border-radius: calc(.75em + .375rem + 1px);
    cursor: pointer;
}
.ais-spo-termin-radio-label > input:checked ~ .ais-spo-termin-radio-element {
    font-weight: 700;
    color: white;
    background-color: #007bff;
}
.ais-spo-termin-radio-element:hover {
    background-color: lightsteelblue;
}

.custom-checkbox > label, .custom-checkbox > input {
    cursor: pointer;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url(/ais/images/CheckHaken.png);
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");*/
}
.form-control.is-valid, .was-validated .form-control:valid {
    background-image: url(/ais/images/CheckHakenGreen.svg)!important;  /* wegen Chrome: input:-internal-autofill-selected { appearance: menulist-button; background-image: none !important; ... Aber: Important user agent styles override important user styles, which override important author styles. */
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: url(/ais/images/FehlerAnzeige.svg);
}

.btn-lg {
    max-width: min(405px, calc(100vw - 2rem));
}
.btn-mitIcon {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}
.btn-mitIcon > *:first-child {
    margin-right: 10px;
}
.btn-mitIcon > span {
    width: calc(100% - 50px);
    vertical-align: middle;
}
.foto-btn:hover {
    color: #dc3545;
}
.foto-btn:focus {
    box-shadow: none;
}
form:not(.was-validated) .custom-control-input:required:not(:checked)~.custom-control-label::before {
    /*filter: drop-shadow(0px 0px 3px #34ce57);*/
    box-shadow: 0 0 0 0.2rem rgb(0 128 0 / 25%);
}
label[required]::after {
    content: ' *';
}
.doppelpunkt::after {
    content: ":";
}
.DivCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flexColumn {
    display: flex;
    flex-direction: column;
}
.zeilenumbruch-erlauben {
    white-space: pre-wrap;
}
.abstandshalter {
    height: 24px;
}

.androidToast {
    width: 200px;
    height: 20px;
    height: auto;
    position: absolute;
    left: 50%;
    margin-left: -100px;
    bottom: 10px;
    background-color: #383838;
    color: #F0F0F0;
    font-family: Calibri;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
}
.hinweisToast {
    width: 200px;
    height: auto;
    position: absolute;
    right: 0;
    top: 0;
    background-color: darkred;
    color: #F0F0F0;
    font-family: Calibri;
    font-size: 20px;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
}

#anfallstelleDiv > .row {
    max-width: min(400px, calc(100vw - 1rem));
}

.bg-light {
    background-color: white!important;
}
.Strichtext {
    width: 100%;
    position: relative;
}
.Strichtext::before {
    content: "";
    position: absolute;
    border-top: 1px solid #666;
    margin-top: 3px;
    width: 100%;
    z-index: 0;
}
.Strichtext > span {
    z-index: 1;
    padding-right: 5px;
    padding-left: 5px;
}
.StrichtextFull {
	display: inline-block;
	position: relative;
}
.StrichtextFull::before,
.StrichtextFull::after {
	content: "";
	position: absolute;
	border-top: 1px solid #666;
	top: 50%;
	width: 2000px;
}
.StrichtextFull::before {
	margin-right: 15px;
	right: 100%;
}
.StrichtextFull::after {
	margin-left: 15px;
	left: 100%;
}

.headerMain {
    background-color: #0f2864;
    background-image: linear-gradient(to left, #1a43a2 0%, #0f2864 100%);
    color: #fff;
    width: 100%;
    height: 12rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}
.headerMain > div {
    padding-left: var(--paddingPage);
    padding-right: var(--paddingPage);
    width: calc(100% - var(--paddingPage) - var(--paddingPage));
    padding-top: 1em;
}
.headline {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.222em;
    margin: 0 0 0.444em 0;
    padding: inherit;
}
.containerWIK {
    height: 100%;
    padding-left: var(--paddingPage);
    padding-right: var(--paddingPage);
    max-width: var(--maxWidthPage);
    margin-right: auto;
    margin-left: auto;
}
.containerSPO {
    height: 100%;
    padding-left: var(--paddingPage);
    padding-right: var(--paddingPage);
    max-width: var(--maxWidthPage);
    margin-right: auto;
    margin-left: auto;
}
.containerKPO {
    height: 100%;
    padding-left: var(--paddingPage);
    padding-right: var(--paddingPage);
    max-width: var(--maxWidthPage);
    margin-right: auto;
    margin-left: auto;
}
#anfallstelleKarteDiv, .header-minipage {
    display: flex;
    flex-wrap: wrap;
}
@media screen and (min-width: 880px) {
    body {
        --paddingPage: 2.4rem;
    }
    .headerMain {
        height: 16rem;
    }
    .headerMain > div {
        padding-left: var(--paddingPage);
        padding-right: var(--paddingPage);
        width: calc(100% - var(--paddingPage) - var(--paddingPage));
        padding-top: 2.5em;
    }
    .headerMain .divFlaggen, #headerFirma > .divFlaggen {
        top: 2.5em;
    }
    .headline {
        font-size: 3rem;
        line-height: 1.167em;
        margin: 0 0 0.333em 0;
    }
    #anfallstelleKarteDiv, .header-minipage {
        display: flex;
        flex-wrap: nowrap;
    }
}
@media screen and (max-width: 500px) {
    body {
        --paddingPage: max(0.5rem, 15px);
    }
    .headerMain {
        height: 11rem;
    }
    .headerMain > div {
        padding-left: var(--paddingPage);
        padding-right: var(--paddingPage);
        width: calc(100% - var(--paddingPage) - var(--paddingPage));
        padding-top: 0.5em;
    }
    .headerMain .divFlaggen, #headerFirma > .divFlaggen {
        top: 0.5em;
    }
    .headline {
        font-size: 1.6rem;
    }
    /*.header-minipage {  /* wegen Flaggenanzeige
        margin-right: 70px;
    }*/
    .divFlaggen {
        right: var(--paddingPage);
        /*border: 1px solid black;*/
        box-shadow: inset 0px 0px 0px 1px black;
        z-index: 2;
    }
    .flaggen {
        display: flex;
        flex-direction: column;
        overflow: auto;
        scroll-snap-type: y mandatory;
        max-height: 36px;
        /*max-height: 88px;
        overflow: auto;
        margin-bottom: 4px;*/
        /*left: 6px;
        width: fit-content;
        top: 0;*/
    }
    .flaggen > img {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .flaggen > img:not(:last-child) {
        margin-bottom: 6px;
    }
    .divFlaggen > .divCenter {
        display: flex;
    }
}

h4 {
    font-size: 1.6rem;
    font-weight: 700;
    /*white-space: nowrap;*/
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.ais-minipage-actions {
    margin-top: 2rem;
}

#trennBar {
    width: 100%;
    height: 35px;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    margin-bottom: 1rem;
}

.extraScrollbar::-webkit-scrollbar {
    -webkit-appearance: none;
}
/*::-webkit-scrollbar:vertical {
    width: 12px;
}*/
.extraScrollbar::-webkit-scrollbar:horizontal {
    height: 24px;
}
.extraScrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
    min-width: 14px;
}
.extraScrollbar::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: darkgray;
}

.usb-ric-dialog-tasty {
    display: none;
}

.usb-ric-dialog-tasty-overlay {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.usb-ric-dialog-tasty-frame {
    min-width: min(calc(100% - 20px), 400px);
    /*width: 400px;*/
    max-width: 90vw;
    background-color: white;
}
.usb-ric-dialog-cookie-frame {
    display: flex;
    flex-direction: column;
    hyphens: auto;
    width: max-content;
    max-width: min(calc(100% - 20px), 700px);
    max-height: min(calc(100% - 20px), 600px);
}

.usb-ric-dialog-tasty-top {
    background-color: #f08a01;    
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.usb-ric-dialog-tasty-content {
    margin: 20px;
    min-height: 150px;
    /* white-space: pre-line; HDR 07.01.2022 */
}
.usb-ric-dialog-cookie-content {
    overflow-y: auto;
    margin-bottom: 6px;
    margin-right: 12px;
}
/*.usb-ric-dialog-cookie-content::-webkit-scrollbar {
    -webkit-appearance: none;
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar:vertical {
    width: 12px!important;
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid darkgray;
    min-height: 14px;
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: darkgray;
    margin-left: 10px;
}*/
.usb-ric-dialog-cookie-content::-webkit-scrollbar {
    width: 12px;
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(240, 138, 1, 0.8); /* 170, 156, 156 */
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(240, 138, 1, 0.4);
}
.usb-ric-dialog-cookie-content::-webkit-scrollbar-track-piece {

}

.usb-ric-dialog-tasty-bottom {
    margin: 10px;
}
.usb-ric-dialog-tasty-button {
    border: 1px solid #f08a01;
    color: #f08a01;
    padding: 20px;
    width: 140px;
    text-align: center;
    margin: 10px;
    background-color: white;
    font-size: 20px;
}
.usb-ric-dialog-tasty-button:not(.is-disabled):not([disabled]):hover {
    color: white;
    background-color: #f08a01;
    cursor: pointer;
}
.usb-ric-dialog-tasty-button.is-disabled,
.usb-ric-dialog-tasty-button[disabled] {
    border: 1px solid gray;
    color: gray;
}
.usb-ric-dialog-tasty-button:focus {
    outline: 5px auto;
}
.usb-ric-dialog-cookie-button {
    width: unset;
    padding: 6px;
}

.usb-ric-dialog-tasty.is-usb-ric-unexpected .usb-ric-dialog-tasty-top {
    background-color: #f0d301;
}
.usb-ric-dialog-tasty.is-usb-ric-unexpected .usb-ric-dialog-tasty-button {
    color: #f0d301;
    border: 1px solid #f0d301;
}
.usb-ric-dialog-tasty.is-usb-ric-unexpected .usb-ric-dialog-tasty-button:not(.is-disabled):not([disabled]):hover {
    background-color: #f0d301;
}

.usb-ric-dialog-tasty.is-usb-ric-fatal .usb-ric-dialog-tasty-top {
    background-color: red;
}
.usb-ric-dialog-tasty.is-usb-ric-fatal .usb-ric-dialog-tasty-button {
    color: red;
    border: 1px solid red;
}
.usb-ric-dialog-tasty.is-usb-ric-fatal .usb-ric-dialog-tasty-button:not(.is-disabled):not([disabled]):hover {
    background-color: red;
}

.usb-ric-dialog-tasty .usb-ric-dialog-tasty-content .is-usb-ric-fatal {
    color: red;
}

.trennlinie {
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
    box-sizing: content-box;
    height: 0;
    width: 100%;
}