/* ############################################################
        general styles
############################################################ */

html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    font-weight: 300;
}

lk-leistungskatalog h4,
lk-leistungskatalog h5 {
    font-weight: 400;
}

h1 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
}


h2 {
    font-size: 26px;
    line-height: 26px;
}


h3 {
    font-size: 24px;
    line-height: 24px;
}



h4 {
    font-size: 22px;
    line-height: 22px;
}



a {
    color: #000;
}

a:hover {
    color: #000;
    text-decoration: none;
}


small {
    font-size: 85%;
}


/* ############################################################
        color styles
############################################################ */

.bg-primary {
    background-color: #0E3F8F!important;
}

.bg-lightgrey {
    background-color: #ebebeb;
}

/* ############################################################
        text styles
############################################################ */

.text-primary {
    color: #0E3F8F!important;
}

a.text-primary:hover {
    color: #989898!important;
}

.text-secondary {
    color: #004712!important;
}


/* ############################################################
        button styles
############################################################ */

.btn {
    border-radius: 0;
}

button.btn:disabled {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    opacity: 1;
}

.btn-primary {
    background-color: #0E3F8F!important;
    border-color: #0E3F8F!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: #0E3F8F;
    border-color: #0E3F8F;
}


/* ############################################################
        form styles
############################################################ */

input.form-control,
select.form-control,
textarea.form-control,
.input-group-append,
.input-group-text {
    border-radius: 0;
}

.js-pflicht input,
.js-pflicht select {
    border: 1px solid #000;
}

/* ############################################################
        nav styles
############################################################ */

.nav-pills div.nav-link {
    font-size: 1.25rem;
    color: #004712;
    border-radius: 0rem;
}

.nav-pills div.nav-link.active,
.active {
    color: #fff!important;
    background-color: #004712!important;
}


.nav-tabs .nav-link {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#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;
}

.service-menu-block {
    z-index: 10;
    width: 100%;
    left: 0;
    background-color: rgba(255,255,255,0.75);
    box-shadow: 0 4px 7px -2px rgba(0,0,0,.25);
    position: absolute;
}


.floating-menu {
    margin-top: -8px;
    position: absolute;
}

.floating-menu .card-body {
    border: 1px solid grey;
}

.nav-border-top {
    border-top: 2px solid #004712;
}

dd {
    margin-bottom: 0;
}


/* ############################################################
        pagination styles
############################################################ */

.page-item {
    text-align: center;
    margin: 0.25rem 0.25rem 0.25rem 0.25rem ;

}

.page-link {
    color: #343a40;
}

.page-item.active .page-link {
    color: #fff!important;
    background-color: #0E3F8F;
    border-color: #0E3F8F;
}

.page-link {
    background-color: #f2f2f2;
    width: 4em;
    height: 4em;
    line-height: 4em;
    border: unset;
    padding: 0;

    border-radius: 0!important;
}
a.page-link:hover {
    color: #fff!important;
    background-color: #0E3F8F;
    border-color: #0E3F8F;

}



/* ############################################################
        badge styles
############################################################ */

.badge-info {
    background-color: #333;
}


/* ############################################################
        card styles
############################################################ */

.card {
    border-radius: 0;
    border: none;
    background-color: #f2f2f2;
}

.card a {
    color: #989898;
}

.card-header {
    background-color: #f2f2f2;
    border-bottom: 0;

    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.card-header.pointer:hover,
.accordion-panel-header:hover{
    background-color: #c9ced0;
    cursor: pointer;
}



.card-footer {
    background-color: #f2f2f2;
    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%;
}



/* ############################################################
        list styles
############################################################ */

.list-group .list-group-item {
    border-radius: 0;
    border: 0;
    background-color: #f2f2f2;
}


/* ############################################################
        vg styles
############################################################ */

img.vg-logo {
    width: 100px;
    height: 100px;
    z-index: 5;
    position: absolute;
    border: 1px solid #fff;
}


/* ############################################################
        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: #0E3F8F!important;
}

.bs-datepicker-body table td span.selected {
    background-color: #0E3F8F!important;
}

.bs-datepicker-body table td.week span {
    color: #0E3F8F!important;
}

.bs-timepicker-field {
    width: 100%!important;
}


/* ############################################################
        footer styles
############################################################ */

#bottom-info {
    color: #989898;
    background-color: #ebebeb;
    border-bottom: 5px solid #0E3F8F;
}

.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%;
    }
}



.totop-btn {
    z-index: 20;
    position: fixed;
    bottom: 0;
    right: 20px;
}

.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;
}

@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: 10px;
    padding: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,.7);
    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
############################################################ */

.active {
    color: white!important;
    background-color: #0E3F8F !important;
}


.dropdown-item:active:active {
    background-color: inherit!important;
    color: inherit!important;
}

.itb-primary-border-left-5 {
    border-left-style: solid;
    border-left-width: 5px;
    border-left-color: #0E3F8F;
}


.itb-primary-border-left-10 {
    border-left-style: solid;
    border-left-width: 10px;
    border-left-color: #0E3F8F;
}

#logo {
    padding-top: 2.5em;
    width: 6em;

}

.logo-footer {
    padding-top: 0;
    margin-left: 1em;
    margin-top: 0.3em;
    height: 5em;
}

.logo-footer-mobile {
    height: 5em;
}

#logoMobile {
    margin-top: 0.75em;
    width: 4.2em;
    text-indent: -9999px;
}

nav .itb-nav-desktop {
    height: 9em;
}


div.nav-link,
a.nav-link {
    text-transform: uppercase;
  padding-right: 1.1vw!important;
  padding-left: 1.1vw!important;
    min-height: 169px;
    font-size: 1em;

}

div.nav-link.itb-hamburgerElement {
    min-height: 2em;
    line-height: 2em;


}

#info-header {
    padding-top: 1em;
    padding-bottom: 1em;
}

#info-header-small {
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 1em;
}


.navbar-toggler {
    border: 2px solid #000000!important;
    border-radius: 100%;
    height: 2em;
    width: 2em;
    font-size: 2em;
    margin-top: 0.5em;
}

.nav-item a {
    cursor: pointer;
}

ul.hamburger > li.nav-item {
    border: 1px solid #353F49!important;

}

ul.hamburger > li.nav-item > div.nav-link {
    margin-right: 0;
}

#navbarToggler {
    padding-top: 20px;
}

#itb-navbar-oben {
    padding: 0 0 0 0;
    display: block;
}

.itb-w-180 {
    width: 180px;
}

.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: #f2f2f2;
    border-radius: 0;
    border-bottom: 2px solid #333;
    left: 0;
}

.itb-nav-dropdown.itb-dropdown-mobile  {
    border-bottom: 1px solid #333;
    border-left: 10px solid #0E3F8F;
    border-top: 1px solid #333;
    border-right: 0;
}


.itb-dropdown-mobile-sub {
    border-bottom: 1px solid #333;
    border-left: 10px solid #0E3F8F;
    border-top: 1px solid #333;
    border-right: 0;
    display: none;
    margin-top: 0!important;
}

.dropdown-menu.itb-dropdown-mobile {
    margin-top: 0;
}

.itb-dropdown-mobile-sub:hover {
    display: block;
}

.itb-dropdownTitel {
    font-weight: 600;
    font-size: 18px;
}

.itb-nav-dropdown .dropdown-item {
    white-space: normal;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: inherit!important;
    text-decoration: none;
}

#breadcrumbs {
    background-color: #f2f2f2;
}

header {
    margin-bottom: 1.51em;
}


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: #f2f2f2;
}

#itb-homeOverride {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}


.card {
    background-color: #f2f2f2;
}

.card-body {
    font-weight: 300;
    background-color: #f2f2f2;
}

.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: -5px;
    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-sidebar-menu-wrapper {
    z-index: 20;
    position: fixed;
  width: 380px;
  top: 224px;
  right: -381px;
  transition: right .3s ease-in-out;
}
.itb-sidebar-menu-wrapper:hover {
    right: 0;
}

.itb-sidebar-btn {
    width: 88px;
    margin-left: -75px;
    text-align: center;
    height: 67px;
}

.itb-sidebar-content {
  width: 380px;
  max-height: 65vh;
    padding: 1rem;
}

.itb-sidebar-link {
    display: block;
    padding: 0.4rem;
}

.loader {
    margin: 0 auto;
    border: 4px solid #fff;
    border-top-width: 4px;
    border-top-style: solid;
    border-top-color: #006fb4;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

option:disabled {
    color: #aaaaaa;
}


.text-wrap {
    overflow-wrap: break-word;
}


@media print {
    .accordion-show-in-print {
        height: auto !important;
    }

    .itb-print-page-break-after {
        page-break-after: always;
    }

    .itb-print-page-break-before {
        page-break-before: always;
    }

}

.loader-btn {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #555555;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: spin 2s linear infinite;
}

.itb-danger-border {
    border-bottom: 4px solid #dc3545 !important;
}



.card-danger {
    border: 1px #f5c6cb solid;
}

.card-danger, .card-danger .card-header {
    background-color: #f8d7da;
}

.card-danger .card-header {
    border-bottom-color: #f5c6cb;
}
.card-danger .card-header,
.card-danger .card-body {
    color: #721c24;
}

/* ############################################################################*/

.alert-itb-success {
    padding: 2px 3px;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    white-space: nowrap;
}

.alert-itb-danger-inline {
    padding: 2px 3px;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    display: inline;
    white-space: nowrap;
}


.itb-list-erste-ordnung {
    list-style: none;
    margin: 0;
    padding: 0;
}

.itb-list-item-erste-ordnung {
    color: #212529;
    padding: 1rem;
    border-bottom: 4px solid #006fb4;
}

.itb-list-zweite-ordnung {
    list-style: none;
    margin: 0;
    padding-left: 1.5rem;
}

.itb-list-item-zweite-ordnung {
    padding: 1rem;
}



#itb-navbar-oben  {
    counter-reset: step;
}

#itb-navbar-oben .itb-step:before {
    content: counter(step);
    counter-increment: step;
    background-color: #fff;
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
    border-color: #343a40;
    border-radius: 15px;
    margin: 30px auto 10px auto;
    color: #343a40!important;
}

/* Gibts in Bootstrap 5 */
.itb-lh-1 {
  line-height: 1!important;
}
