/* ############################################################
        general styles
############################################################ */

html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #000!important;
    background-color: black;
}



h1, h2, h3, h4, h5, h6 {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin-bottom: 1.5rem;
        font-weight: 600!important;;
        line-height: 1.2;
}


.h1,h1 {
    font-size: 2.25rem!important;
}

.h2,h2 {
    font-size: 1.5rem!important;
}

.h3,h3 {
    font-size: 1.125rem!important;
}

.h4,h4 {
    font-size: 1rem!important;
}

.h5,h5 {
    font-size: 1rem!important;
    margin-bottom: 3px;

}

.h6,h6 {
    font-size: 1rem!important;
}


lk-leistungskatalog h4,
lk-leistungskatalog h5 {
    font-weight: 400;
}


a {
    color: #EE7100;
}

a:hover, page-link a:hover {
    color: #a24d00!important;
    text-decoration: underline;
}

small {
    font-size: 85%;
}


/* ############################################################
        color styles
############################################################ */

.bg-primary {
    background-color: #EE7100!important;
}

.bg-lightgrey {
    background-color: #ebebeb;
}

/* ############################################################
        text styles
############################################################ */

.text-primary {
    color: #EE7100!important;
}

a.text-primary:hover {
    color: #989898!important;
}


/* ############################################################
        button styles
############################################################ */

.btn  {
    border-radius: 28px;
    padding: 12px 24px;
    text-align: center;
    font-size: 18px;
}

.btn-suche {
    padding: 7px 24px 3px 24px;
}
form[itb-search-formular-device="mobile"] .btn-suche {
    border-radius: 0;
}


#needle-desktop {
    border-radius: 28px 0 0 28px;
    max-width: 160px;
}

.menu-right .card {
    border: 0;
    background-color: #e9ecef;
}
.menu-right .card-header {
    border-radius: 28px;
}
.menu-right .card-body {
    border: 1px solid rgba(0, 0, 0, .125);
    background-color: #e9ecef;
}


button.btn:disabled {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    opacity: 1;
}

.btn-primary {
    background-color: #EE7100!important;
    border-color: #EE7100!important;
}

.btn-primary:hover {
    background-color: #989898;
    border-color: #989898;
}

.btn-primary:active {
    background-color: #87888a!important;
    border-color: #87888a!important;
}

.btn-secondary {
    color: #000;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.btn-secondary:hover {
    background-color: #989898;
    border-color: #989898;
}

button.btn.text-white {
    background-color: #EE7100;
    border-color: #EE7100;
}


/* ############################################################
        form styles
############################################################ */


input.form-control,
select.form-control,
textarea.form-control,
.drop-area {
    border: 1px solid #000;
}



input.form-control,
select.form-control,
textarea.form-control,
.input-group-append,
.input-group-text
 {
    border-radius: 0;
}

form[itb-search-formular-device='mobile'] input.form-control {
    border-width: 0 0 0 1px;
}


.input-group-prepend {
    border: 1px solid black;
    border-right: 0;

}

.input-group-append:not(:has(button)) {
    border: 1px solid black;
    border-left: 0;
}

.form-control:focus {
    background-color: #fff;
    border-color: #ffb36f;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(238, 113, 0, .25);
}


label {
    color: #555 !important;
    margin-bottom: 0!important;

}

label:has(#flaeche) {
    margin-top: 7px;
}


.js-pflicht input,
.js-pflicht select {
    border: 1px solid #000;
}


#kenListTabs li a.active,
#kenListTabs li span.active {
    color: #000!important;
    background-color: transparent!important;
}

#kenListTabsContent div.tab-pane.active {
    color: #000!important;
    background-color: transparent!important;
}

.pointer:hover {
    cursor: pointer;
}

dd {
    margin-bottom: 0;
}


/* ############################################################
        pagination styles
############################################################ */


.page-item.active .page-link {
    color: #fff!important;
    background-color: #EE7100;
    border-color: #EE7100;

}

.page-link {
    color: #EE7100 !important;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    font-size: 18px;
}

/* ############################################################
        badge styles
############################################################ */

.badge-info {
    background-color: #333;
}


/* ############################################################
        card styles
############################################################ */

.card {
    border-radius: 0;
}

.card-header {
    border-bottom: 0;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    background-color: white;
}

.card-header.pointer:hover,
.accordion-panel-header:hover{
    cursor: pointer;
}



.card-footer {
    border-top: 0;
}


.card-img-top {
    border-radius: 0rem;
}

footer div.card {
    font-size: 0.875rem;
}

.card-100-height {
    height: 100%;
}

.card-deck {
    flex-wrap: wrap;
    align-items: start;
    height: 100%;
}

.card-deck .card {
    width: 40%;
}







/* ############################################################
        util styles
############################################################ */

.shadow {
    /* z-index: -10; */
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.accordion-shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.accordion-shadow:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/*
"Hack" für den IE
Für den IE sind die Styles etwas angepasst, da der IE box-shadow anders rendert
 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .shadow {
        box-shadow: 0 1px 5px rgba(0,0,0,0.20), 0 1px 2px rgba(0,0,0,0.40);
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    }
    .accordion-shadow {
        box-shadow: 0 1px 5px rgba(0,0,0,0.20), 0 1px 2px rgba(0,0,0,0.40);
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    }
}



/* ############################################################
        ngx-datepicker overwrite styles
############################################################ */

/* das !important später am besten hier weg und in der style.inc hin,
wenn es um die Farbparametrisierung durch den Shopassistenten geht */
.bs-datepicker-head {
    background-color: #EE7100!important;
}

.bs-datepicker-body table td span.selected {
    background-color: #EE7100!important;
}

.bs-datepicker-body table td.week span {
    color: #EE7100!important;
}

.bs-timepicker-field {
    width: 100%!important;
}


/* ############################################################
        footer styles
############################################################ */

#bottom-info {
    color: #989898;
    background-color: #ebebeb;
    border-bottom: 5px solid #EE7100;
}

.card-columns .card {
    display: block;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;

}


.card-columns {
    column-count: 1;
}
@media (min-width: 576px) {
    .card-columns {
        column-count: 2;
    }
}
@media (min-width: 992px) {
    .card-columns {
        column-count: 3;
    }
}
@media (min-width: 1200px) {
    .card-columns {
        column-count: 3;
    }
}

.flex-card {
    width: 100%;
}
@media (min-width: 576px) {
    .flex-card {
        width: 48%;
    }
}
@media (min-width: 992px) {
    .flex-card {
        width: 32%;
    }
}
@media (min-width: 1200px) {
    .flex-card {
        width: 32%;
    }
}



.pointer:hover {
    cursor: pointer;
}



.drop-area {
    outline: 2px dashed #e9ecef;
    outline-offset: -10px;
    /* background-color: #e9ecef; */
    /* height: 256px; */
}

.text-upload {
    color: #e9ecef;
}

.btn.btn-primary.disabled {
    background-color: #e9ecef!important;
    border: 1px solid #ced4da!important;
    opacity: 1;
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #EE7100; /* Orange */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.badge {
    font-weight: normal;
}

/* Für die Arrows im Accordion des Bestellbestands */
[data-toggle="collapse"] .fas.bestellbestand:before,
[data-toggle="collapse"].collapsed .fas.bestellbestand:before {
    content: "\f107";
}

[aria-expanded="true"] .fas.bestellbestand:before {
    content: "\f106";
}

.uploaded-filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.itb-fileupload-btn {
    box-shadow: 0 0 0 #C21F39;
    animation: pulse 1s infinite;
}

.itb-fileupload-btn:hover {
    animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(208 ,8, 32, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(208 ,8, 32, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(208 ,8, 32, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(208 ,8, 32, 0.4);
        box-shadow: 0 0 0 0 rgba(208 ,8, 32, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(208 ,8, 32, 0);
        box-shadow: 0 0 0 10px rgba(208 ,8, 32, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(208 ,8, 32, 0);
        box-shadow: 0 0 0 0 rgba(208 ,8, 32, 0);
    }
}

#itb-miniwk-content {
    margin-top: 0;
    padding: 15px;
    width: 300px;
    border-radius: 0;
    white-space: normal;
}


.progress {
    background-color: #cecece!important;
}


.form-group.has-error > input.form-control,
.form-group.has-error > select.form-control,
.form-group.has-error > textarea.form-control {
    border-color: #dc3545!important;
}
.has-error > .form-control {
    border-color: #dc3545!important;
}
.has-error > label,
.Attention {
    color: #dc3545!important;
}

.is-dragover {
    background-color: #f0f0f0;
}


/***************************** MiniTermine ******************************/
ul.mini-termine{
    list-style: none;
    padding-left: 0;
}

ul.mini-termine li{
    background-repeat: no-repeat;
    padding-left: 20px;
    background-position-y: 8px;
}

a.lk-ueberschrift-list-headline,
a.lk-leistung-list-headline{
    text-decoration: none;
}

.mt-n1 {
    margin-top: -0.25rem !important;
}

.mt-n2 {
    margin-top: -0.5rem !important;
}

.mt-d1 {
    margin-top: 0.5rem !important;
}

.mt-d2 {
    margin-top: 0.25rem !important;
}

/** In Anlehnung an die Datenbankprozedur dbpax.text2html**/
.text2html{
    white-space: pre-line;
}

/** Img Skalierung in lk & lk-details **/
.itb-lk-img-maxHeight-central{
    width: auto;
    max-width: 97%;
    max-height:256px;
    display: block;
    margin: auto
}

/** Popover maximal größen im wk & lk-details **/
.itb-popover-maxWidth{
    max-width: 100%
}

/** im lk & wk um die größe der popovers einzuschränken **/
.itb-max-size-popover{
    max-width: 700px;
    max-height: 700px
}

/** Staffelpreise in lk, lk-details & suche **/
.text-right-margin-bottom{
    text-align: right;
    margin-bottom: 1.5rem
}

form.changePasswordForm div.form-group span.fieldError{
    display: block;
    color: #dc3545!important;
}

.tooltip-inner {
    min-width: 250px;
}


/* ############################################################
        Änderungen RB
############################################################ */


.visited {

    background-color: #5d666c !important;
    box-shadow: none;
}

.dropdown-item:active:active {
    background-color: inherit!important;
    color: inherit!important;
}


#logo {
    max-height: 3.5em!important;
}

.logo-footer {
    padding-top: 0;
    margin-left: 1em;
    margin-top: 0.3em;
    height: 5em;
}


progressbar, #itb-navbar-oben {
    font-size: 18px!important;
}

#itb-navbar-oben li.nav-item:first-child {
    margin-left: 10px;
}

#itb-navbar-oben .nav-link {

    padding: .5rem 0.5rem;
}


.nav-item a {
    cursor: pointer;
}

ul.hamburger > li.nav-item {
    border: 1px solid #353F49!important;

}

#navbarToggler {
    padding-top: 20px;
}


.itb-z-index-10 {
    position: relative;
    z-index: 1050;
}


.itb-z-index-5 {
    position: relative;
    z-index: 5;
}

.itb-z-index-1 {
    position: relative;
    z-index: 1;
}



.itb-nav-dropdown {
    right: 0;
    top: 100%;
    background: #444;
    border-radius: 0;
    border-bottom: 0;
    color: #212529;
    left: 0;
}


.itb-dropdownTitel {
    font-weight: 600;
    font-size: 18px;
}

.itb-nav-dropdown .dropdown-item {
    white-space: normal;
    color: #fff;
}

.dropdown-item:focus, a.dropdown-item:hover {
    background-color: #555!important;
    color: black!important;
    text-decoration: none;
}


#breadcrumbs {
    background-color: #e9ecef;
}


footer {
    min-height: 9em;
    border-top: 0.5em solid #FFFFFF;
}

.nav-link.itb-footerLink {
    min-height: 2em;
    line-height: 2em;
    padding-left: 0!important;
    margin-right: 1em;

}

footer {
    background-color: #e9ecef;
}

#itb-homeOverride {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}
.itb-pagination {
    flex-wrap: wrap;
    justify-content: center;

}

.itb-search-modal .modal-dialog {
    width: 800px;
    max-width: 90%;
    margin-top: 13.5em;
}

.itb-search-modal .modal-content {
    border: 0;
    border-radius: 0;
}

.itb-search-modal .modal-body {
    padding: 0;
}

.itb-search-modal div.modal-body > div.input-group {
    height: 100%;

}

.itb-search-modal div.modal-body > div.input-group > input {
    font-size: 1.5em;
}

.itb-search-modal div.input-group-append > button {
    font-size: 1.5em;
    padding-left: 0.8em;
    padding-right: 0.8em;
}

.itb-LeistungsListBildContainer {
    min-height: 200px;
}


#divminiwk ul {
    color: #666;
    left: -215px;
    top: -30px;
    cursor: pointer;
}


.itb-content-links a {
    font-weight: 600;
    color: #343a40; /* text dark */
}

.itb-content-links a h4 {
    font-weight: 400;
}

.itb-content-links a:hover {
    text-decoration: underline;
}

.itb-bootbox-shadow .modal-content {
    box-shadow: 0 6px 12px rgba(0,0,0,.7);
}

.shadow {
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.text-dark {
    color: #000!important;
}

.bg-black {
    background-color: black;
}

.bg-gray {
    background-color: gray;
}

.text-gray {
    color: gray;
}


.bg-700 {
    background-color: #444 !important;
}

.itb-menu-spr a.active {
    font-weight: bolder;
}


#bodyIdSHOWAUFTRAG .card:not(:has(.card-body)) {
    display: none!important;
}

ul#accordion-menu-rechts-desktop div[data-parent] {
    margin-top: 40px;
}


#collapse-STAND_INFO_BOX-desktop {
    width: 180px;
    margin-left: -50px;
}

.itb-nav-nowrap {
    flex-wrap: nowrap;
    /* overflow-x: auto; */
    white-space: nowrap;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(229, 151, 0, .5)!important;
}
button:focus {
    outline-color: #e59700!important;
}

#navbarToggleContent {
    right: 0;
    width: 300px;
}

#navbarToggleContent .card-header:first-child {
    border-radius: 0;
}