/* Bootstrap Variablen setzen */
:root {
    --bs-link-color: #3da3a5;
    --bs-link-color-rgb: 61, 163, 165;
    --bs-link-hover-color: #000;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-pagination-active-bg: #3da3a5; 
    --bs-btn-bg: #3da3a5;
}

/* Allgemeine Definitionen zu Schriften und Abständen */

.verwaltung {
    margin-top: 30px;
}

p, li {
    font-size: 14pt;
}

h1 {
    margin-bottom: 2rem;
}


main > .container, main > .container-fluid {
    padding: 50px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.page-item.active > .page-link {
    background-color: #3da3a5;
} 

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-right: 0 !important;

}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}


.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-check-input[type=checkbox], .form-check-input[type=radio] {
    border-radius: 0;
    border-color:#3da3a5;
}

.form-check-input:checked {
    background-color:#3da3a5 !important;
}

.form-check-input:active {
    box-shadow: 0 0 0 0.25rem rgba(61, 163, 165, 0.2);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(61, 163, 165, 0.2);
}




/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
margin-bottom: 3rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    --bs-gutter-x: 1.5rem;
    bottom: 2rem;
    z-index: 10;
    color: #5c636a;
    padding-left: 15px;
    padding-right: 15px;
    left: 0;
    right: 0;
}



@media (min-width: 576px) {
    .carousel-caption {
        left: calc((100% - 540px) / 2);
        right: calc((100% - 540px) / 2);
    }
}  

@media (min-width: 768px) {
    .carousel-caption {
        left: calc((100% - 720px) / 2);
        right: calc((100% - 720px) / 2);
    }
}  

@media (min-width: 992px) {
    .carousel-caption {
        left: calc((100% - 960px) / 2);
        right: calc((100% - 960px) / 2);
    }
}

@media (min-width: 1200px) {
    .carousel-caption {
        left: calc((100% - 1140px) / 2);
        right: calc((100% - 1140px) / 2);
    }
}

@media (min-width: 1400px) {
    .carousel-caption {
        left: calc((100% - 1320px) / 2);
        right: calc((100% - 1320px) / 2);
    }
}

#BadBilder .carousel-caption {
    top: -1rem;
    color: #000;
    padding: 1rem;

}

.carousel-caption img {
    height: 3rem;
    vertical-align: bottom;
    margin-right: 20px;

}
  
  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 22rem;
  }

  #BadBilder .carousel-item {
    height: 50rem;
  }
  
  #BadBilder .carousel-indicators {
    bottom: -5rem;
    margin-bottom: 3rem;
  }


  #BadBilder .carousel-indicators [data-bs-target] {
    height: 5px;

}

  /* MARKETING CONTENT
  -------------------------------------------------- */
  
  /* Center align the text within the three columns below the carousel */
  .marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  /* rtl:begin:ignore */
  .marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
  }
  /* rtl:end:ignore */
  
  
  /* Featurettes
  ------------------------- */
  
  .featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  /* Thin out the marketing headings */
  /* rtl:begin:remove */
  .featurette-heading {
    letter-spacing: -.05rem;
  }
  
  /* rtl:end:remove */
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
      margin-bottom: 1.25rem;
      font-size: 1.25rem;
      line-height: 1.4;
    }
  
    .featurette-heading {
      font-size: 50px;
    }
  }
  
  @media (min-width: 62em) {
    .featurette-heading {
      margin-top: 7rem;
    }
  }


  
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    fill-opacity: 0.7;
}

.carousel-inner {
    background-image: url("/images/hintergrund_bad.jpg");
    background-repeat: no-repeat;
    background-position: center 60%;
    background-size: cover;
    border-bottom: 1px solid #5c636a;
}

.carousel-indicators [data-bs-target] {
    background-color: #5c636a;
}

#BadBilder .carousel-inner {
    background-image: none;
    border: none;  
}




@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.logo {
    width: 340px;
    position: absolute;
    left: calc(50% - 170px);
    top: 30px;
    z-index: 100;
}

@media (max-width: 767px) {
    .logo {
        width: 300px;
        left: calc(50% - 150px);
    }
    .carousel-item {
        height: 28rem !important;
    }
}

@media (max-width: 991px) {
    .marketing > .row > div:nth-child(1) {
        order: 2;
    }
    .marketing > .row > div:nth-child(2) {
        order: 1;
    }
    .marketing > .row > div:nth-child(3) {
        order: 3;
    }
}

.form-check-label {
    font-size: 1.25rem;
}

.form-check-input[type=radio] {
    font-size: 1.25rem;
}

.checkboxlist label {
    display: block;
}


.checkboxlist {
    height: 100%;
    column-count: 2;
    font-size: 1.25rem;
}

.equal .form-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;   
}

.equal textarea {
    flex-grow: 1;
}

.grid-view .card {
    border: none;
}

.kv-panel-before {
    padding: 10px 0;
}

.grundrisstyp {
    width: 150px;
    height: 150px;
    background-color: #999;
    margin: 0 1rem 1rem 0;
    display: inline-block;
    border-radius: 5px;
}

.gauswahl {
    background-color: #eee;
}

.gactive {
    background-color: #7aa99e;
}

.gauswahl:hover {
    background-color: #c3ebe1;
}


.img-grundriss {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-box {
    width: 18vw;
    height: 18vw;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color:#eee;
}

.bilderliste {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;

}

.bildvorschau {
    width: auto;
    height: 200px;
    border: 1px solid #ccc;
    padding: 10px;

}

.bild-loeschen {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 0.8rem;
    text-align: center;
    background-color: #f00;
    color: #fff;
    text-decoration: none;
}


#planer-grundriss {
    box-sizing: content-box;
    position: relative;
    border: 30px solid #eee;
    margin: 80px auto;
    padding: 0;
}

.planer-modul {
    position: absolute;
}

.wandlabel {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    background-color: #eee;
    border-radius: 20px;
}

.has-error .help-block {
    color: #a94442;
}

.has-error .form-control, .has-error .form-select {
    border-color: #a94442;
} 

.kv-table-header a {
    text-decoration: none;
}

.kv-sort-link.asc:after, .kv-sort-link.desc:after {
    display: none;
}

.baugruppe-menge {
    width: 160px;
}

.baugruppe-menge span {
    width: 70px;
    overflow: hidden;
}

.baugruppe-menge input {
    text-align: right;
}

.switch-lg {
    width: 3em !important;
    height: 1.4em;
}




a {cursor:pointer;}

.gruppe {
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

.artikel {
    color: #06c;
}

.ebene0 {
    padding-left: 0;
}

.ebene1 {
    padding-left: 2rem;
}

.ebene2 {
    padding-left: 4rem;
}

.ebene3 {
    padding-left: 6rem;
}

.ebene4 {
    padding-left: 80px;
}

.ebene5 {
    padding-left: 100px;
}

.ebene6 {
    padding-left: 120px;
}

.bg-row {
    background-color: #f5f5f5;
}

#bad-liste .card {
    height: 100%;
}

.circle-button {
    width: 140px;
    height: 140px;
    border-radius: 70px;
    background-color: #3da3a5;
    margin: auto;
    line-height: 140px;
    font-size: 50px;
    color: white;
    text-align: center;
}

.circle-button-sm {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #3da3a5;
    margin: 0 auto 1rem auto;
    line-height: 70px;
    font-size: 1.5rem;
    color: white;
    text-align: center;
}

.bgd-grey {
    background-color: #b7b7b7;
}

.w200 {
    width: 200px;
}

i[data-bs-toggle="modal"] {
    cursor: pointer;
}

.note-video-clip {
    width: 100%;
    max-width: 400px;
    max-height: 225px;
}

.video-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}


#wuensche {
    margin-top:100px;
}

#wuensche div {
    display: inline-block;
}

#wuensche > div .form-check {
    background-color: #ffff00;
}

.wunsch2 {
    background-color: #eee;
    padding: 10px;

}

.wunsch1 {
    border: 1px solid #0c0;
    padding: 10px;

}

.card-text {
    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
}

.card > .card-footer {
    position: relative;
}

.kd-angebot .card > .card-footer {
    background-color: #3da3a5;
}


.card > .card-footer a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

.kd-preisanzeige {
    font-weight: 500;
    font-size: 1.25em;
}

.next-schritte .card > .card-footer {
    background-color: #eee;
}

.next-schritte .card > .card-footer a {
    color: black;
    font-weight: normal;
}

.next-schritte .card > .card-footer a:hover {
    color: #3da3a5;
}


.bildcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;

}

.bildrahmen {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    max-width: 150px;
    max-height: 150px;
    overflow: hidden;
    border: none;

}

.bildrahmen img {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;

}

.alternativbild {
    width: 200px;
    float: left;
}

.alternativblock {
    border: none;
    padding: 0;
    margin: 3rem 0 5rem 0;
}

.artikel-aktiv {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    padding: 0;
    border: 5px solid #3da3a5;
}

.artikel-alternativ {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0;
    border: 1px solid #aaa;
    width: 100%;
    align-items: stretch;
}

.divider {
    border-bottom: 1px dotted #ccc;
    font-size: 0.9em;
    font-style: italic;
    text-align: center;
    margin: 30px 0 0 0;
}

.alternativwahl {
    margin-top: -10px;
}

.preisinfo {
    margin-left: auto;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
}

.preisinfo > p {
    text-align: center;
    padding: 5px 8px 8px 8px;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    font-size: 0.9em;
    font-weight: bold;
    width: 200px;
}

.preisinfo .btn-outline-success {
    --bs-btn-color: #198754;
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #198754;
    --bs-btn-hover-border-color: #198754;
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #198754;
    --bs-btn-active-border-color: #198754;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #198754;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #198754;
    --bs-gradient: none;
    border-bottom: none;
    border-right: none;
    border-radius: 0;
}


.artikel-infotext {
    font-size: 0.9em;
    font-weight: bold;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1rem;
}

.tooltip-inner {
    max-width: 600px;
    background: white;
    color: black;
    border: 1px solid black;
    opacity: 1;

}

.tooltip.show {
    opacity: 1;
}

.infobutton {
    font-size: 1.5em;
    color: #3da3a5;
    cursor: pointer;
    vertical-align: middle;
}

.filterstatus {
    color: #3da3a5;
    text-align: center;
    border-top: 1px solid #3da3a5;
    padding: 10px 0;
    font-weight: bold;
}

.klickanzeige {
    color: #aaa;
    text-align: center;
    border-top: 1px solid #aaa;
    padding: 10px 0;
}

/* Tristate checkbox */

.tristate {
    display: flex;
    margin-bottom: 10px;  
}
.tristate label {
    display: none;
    cursor: pointer;
    font-size: 1em;
    width: 24px;
    height: 24px;
    border: 1px solid #999;
    line-height: 24px;
    text-align: center;
    
    margin-right: 10px;
}
.tristate input:checked + label {
    display: inline-block;
}
.tristate input {
    display: none;
}
.tristate input[value="yes"] + label {
    color: white;
    background: #3da3a5;
    border-color: #3da3a5;
    font-weight:900;
}
.tristate input[value="no"] + label {
    color: white;
    background: #c00;
    border-color: #c00;
    font-weight:400;
}
.tristate input[value="off"] + label {
    color: white;
}
.tristate input:disabled + label {
    background: #999;
}
.tristate span {
    line-height: 100%;
}
.tristate {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

.empty {
    font-size: 1.2em;
}

.topnav {
    text-decoration: none;
    display: block;
    font-weight: 900;
    background: #3da3a5;
    color: white;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    text-align: center;
}

.auswahl-massnahme .card-body:hover {
    background-color: #f0f0f0;
}

.auswahl-massnahme .card {
    border: 1px solid #aaa;
}

.auswahl-massnahme a {
    text-decoration: none;
    color: black;
}

.grid-action {
    text-align: right;
}

.innen {
    margin-bottom: 3rem;
    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
        color: #3da3a5;
        border-bottom: 2px solid #3da3a5;
    }
    .nav-link {
        --bs-navbar-nav-link-padding-x: 20px;
        padding: 2px 20px;
    }
}

.infoseite > h3 {
    margin-top: 3rem;
}

.prozess {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    background-color: #eee;
    padding: 5px 20px;
    margin-bottom: 40px;
}

.prozess a {
    text-decoration: none;
    color: #666;
}

.prozess a.active {
    color: #3da3a5;
    font-weight: bold;
}

.prozess-titel {
    font-size: 0.8em;
    color: #999;
    text-align: center;
    margin: 40px 0 0 0;
}

input:read-only {
    background-color: #eee;
}

input:read-only:focus {
    box-shadow: none;
    border-color: var(--bs-border-color);
    background-color: #eee;
}

.bestellformular {
    background-color: #eee;
    padding: 3rem;
}

.popover {
    max-width: 550px;
    max-height: 550px;
}

.po-bild {
    object-fit: contain;
    max-height: 500px;
    max-width: 500px;   
}

.shadow-box {
    box-shadow: 0 2px 20px -2px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
}

.btn-badia, .btn-badia:active, .btn-badia:focus {
    background-color: #3da3a5;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 1.2em;
    cursor: pointer;
    width: 100%;
}

.btn-badia:hover {
    background-color: #2a7072;
    color: white;

}

.uebernehmen-link {
    cursor: grab;
}

.uebernehmen-link:hover {
    background-color: #ffff99;
}

.quadrat-bild {
    object-fit: contain;
    max-height: 200px;
    max-width: 200px;   
}

.required label:after, label:has(+ input:required):after {
    content: ' *';
    color: var(--bs-link-color);
}

.field-endkunden-emailrepeat {
    display: none;
}

.addon1 > td {
    color: #3da3a5;
}

.listenzeile .dropdown-toggle::after {
    display: none;
}

.angebotsliste {
    border-bottom: 1px solid #ccc;
}

.angebotsliste .dropdown-toggle {
    border:1px solid #ccc;
    padding: 0 0.5rem;
}

.angebotsliste .btn-group {
    margin: 3px 0;
}

.titelzeile {
    font-style: italic;
    font-size: 1.2em;
    padding: 2rem 0 1rem 0;
    text-align: center;
    border-bottom: 1px solid var(--bs-border-color);

}


.listenzeile {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    column-gap: 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 0.2rem 0;
}

.listenzeile:hover {
    background-color: var(--bs-border-color);
}

.listenzeile > div {
    box-sizing: border-box;
}

.listenzeile .btn {
    padding: 0;
}

.listenzeile .btn.show {
    border: none;
}

.lc-5 {
    width: 5%;
}
.lc-10 {
    width: 10%;
}
.lc-30 {
    width: 30%;
}
.lc-15 {
    width: 15%;
}
.lc-20 {
    width: 20%;
}
.lc-25 {
    width: 25%;
}
.lcb {
    width: 50px;
    text-align: end;
}

.links {
    text-align: start;
}
.rechts {
    text-align: end;
}
.mitte {
    text-align: center;
}

.kopfzeile {
    font-size: 0.8em;
    font-weight: bold;
    color: black;
}

.baugr-1 {
    font-weight: 500;
}

.baugr-0 {
    font-weight: normal;
}

.addon-1 {
    background-color: #ffffdd;
}

select.farbcode option[data-marker=rot] {
    background-color: #cc0000;
    color: white;
}
select.farbcode option[data-marker=gelb] {
    background-color: #ffff00;
}
select.farbcode option[data-marker=gruen] {
    background-color: #00cc00;
}
select.farbcode option[data-marker=blau] {
    background-color: #0033cc;
    color: white;
}
select.farbcode option[data-marker=violett] {
    background-color: #990099;
    color: white;
}
select.farbcode option[data-marker=orange] {
    background-color: #ff6600;
}
select.farbcode option[data-marker=beige] {
    background-color: #cfb997;
}
select.farbcode option[data-marker=braun] {
    background-color: #5b3a29;
    color: white;
}
select.farbcode option[data-marker=fenster] {
    background-color: #e0ffff;
}
select.farbcode option[data-marker=tuer] {
    background-color: #b49b78;
}
select.farbcode option[data-marker=decke] {
    background-color: #eeeeee;
}
select.farbcode option[data-marker=boden] {
    background-color: #999999;
    color: white;
}

.img-hausaufgaben {
    width: 100%;
    height: auto;
}
.galerie-hausaufgaben {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem 0.5rem;
}

.img-link {
    width: 32%;
}

.navbar-logo {
    padding-top: 0;
    line-height: 26px;
    margin-right: 2rem;
}

.navbar-logo img {
    height: 26px;
    margin: 0;
}

.spalte-preis {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    text-align: right;
    padding-right: 1.0rem !important;
}

.spalte-id {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    text-align: right;
    padding-right: 1.0rem !important;
}

.spalte-mittig {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    text-align: center;
}

thead th {
    text-align: center;
}

.hinzu {
    cursor: pointer;
}
.hinzu:hover {
    background-color: #ffff99;
}
.hinzu:active {
    background-color: #ffff00;
}
.hinzu:focus {
    background-color: #ffff00;
}

.ohne-umbruch {
    white-space: nowrap;
}

.grid-action .dropdown-toggle::after {
    display: none;
}

.remove-padding {
    margin-left: -15px;
    margin-right: -15px;
}