﻿:root {
  --dark: #495057;
  --warning: #ff0000;
  --skeleton-bg: #e2e5e7;
  --shimmer-color: rgba(255, 255, 255, 0.5);
  --ayworange: rgb(204,0,0);
  --aywgreen: #add032;
  --aywgreenlight: #add03274;
  --ayw-txt-color: #353535;
  --ayw-btn-color: #000;
  --ayw-btn-color-hover: #fff;
  --ayw-btn-bg-color: #add032;
  --ayw-btn-bg-color-hover: #708720ff;
}

#ErrorMeldung{
  position:absolute;
  z-index:999;
  bottom: -13px;
  left:auto;
  color:red;
}

.errorSuche {
  background-color: #fff;
  border-radius: var(--bs-border-radius);
  border: 1px solid var(--warning);
  top: -2rem;
  padding: 2px 8px;
}

.isiheight {
  height: 100%;
}

body {
  background-color: #efefef;
}

.fs08{font-size:0.8rem}

.fs12 {
  font-size: 1.2rem
}

.fs14 {
  font-size: 1.4rem
}

.fs16 {
  font-size: 1.6rem
}

.fs18 {
  font-size: 1.8rem
}

.txt-warning {
  color: var(--warning);
}

.txt-c-orange {
  color: var(--ayworange);
}

.slides{
  max-width:90%;
}

p.herstellername {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color);
}

.form-row {
  margin-bottom: 8px;
}

.label {
  display: inline-block;
  width: 160px;
  vertical-align: top;
}

/* Input */

.input {
  display: inline-block;
  width: 270px;
}

.inputlong {
  display: inline-block;
  max-width: 470px;
}

.rbl{margin: 0.9rem 0;}
.rbl label {
  padding: 0 0.5rem 0 0.2rem;
}

  .cb label {
    margin-left: 10px;
    margin: 0.6rem 0.2rem;
  }



input[type="text"], input[type="Password"], select, textarea {
  padding: 0.25rem;
  width: 100%;
}


/*End Input*/

fieldset {
  border: 1px solid #ccc;
  padding: 12px;
  margin-bottom: 16px;
}

legend {
  font-weight: bold;
}

.validation {
  color: #b00020;
}

/* Ensure equal width for each checkbox+label pair */
.checkbox-item {
  flex: 1 1 0; /* Equal flex growth */
  min-width:250px; /* Prevent too small items on small screens */
}
.checkbox-item label{ margin:0 15px 0 5px ;}

#P_Seiteninhalt {
  width: 90%;
}

#carousel_action {
  width: 100%;
  padding: 1% 2%;
}
.carousel-inner-nav {
  margin: 0 10%;
  width: 80%;
}

.carousel-control-nav {
  opacity: 1;
  width: 2%;
}

.cb-alle:hover {
  color: var(--warning);
}

/* Buttons */

.btn {
  padding: 4px 6px;
  display: inline-block;
  background-color: var(--ayw-btn-bg-color);
  color: var(--ayw-btn-color);
  border: 1px solid #add032;
  margin: 0 5px 0 0;
}

  .btn:hover {
    background-color: var(--ayw-btn-bg-color-hover);
    color: var(--ayw-btn-color-hover);
    text-decoration: none;
  }

.btn-icon {
  border: 1px solid black;
  padding: 6px;
  width: 100%
}

.btn-outline-success {
  color: var(--ayw-btn-bg-color);
}

  .btn-outline-success:hover {
    background-color: var(--ayw-btn-bg-color);
    color: white;
  }

.btn-outline-success {
  border-color: var(--ayw-btn-bg-color);
}

.BtnArtikelLoeschen {
  background-color: var(--warning);
  position: absolute;
  width: 20px;
  text-align: center;
  color: white;
  margin-left: -15px;
}

.BtnWKArtikelLoeschen {
  padding: 5px;
  margin: 2px;
  /*  background-color: #add032;
*/ width: 2em !important;
  height: 1.7em;
  text-align: center;
  color: var(--dark);
}

.BtnArtikelWK {
  /*  background-color: #add032;
*/ position: absolute;
  width: 30px;
  text-align: center;
  color: var(---dark);
  right: 0;
  bottom: 0;
}

.BtnQuickOrderWK {
  padding: .6em;
  background-color: var(--ayw-btn-bg-color);
  width: 2.2em !important;
  height: 2.2em;
  text-align: center;
  color: var(--ayw-btn-color);
}


.btn_abstand {
  margin: 5px 15px 15px 0;
}

.btn_abstand_top, .abstand_top {
  margin: 13px 0 0 0;
}

.btn.focus, .btn:focus {
  background-color: var(--ayw-btn-bg-color);
  color: var(--ayw-btn-color);
  text-decoration: none;
}


/* Ende Buttons */

#DeveloperInfo{
font-size:0.6rem;
}

/* Container */
.container {
  background-color: white;
}

.main {
  display: inline-block;
}

#P_Kat .card {
  border: none;
}

#main-container, .main-container {
  display: inline-block !important;
  width: 100%;
}

#PageContent {
  /*min-height: 400px;*/
  margin: 0 1rem 0 0;
}

#navigation {
  background-color: #000;
}

#divSelect, #divAktion, #divLinks {
  position: relative;
  margin-bottom: 0.5rem;
  background-color: #dbdbdb;
  padding: 0.25rem;
  display: inline-block;
  width: 100%;
}

#slider {
  padding: 0;
}

#footer {
  border-top: solid 10px black;
  background-color: #add032;
}

  #footer .list-group li {
    list-style: none;
  }

  #footer .list-group-item {
    padding: 0;
    border: none;
    background-color: transparent;
  }
/* Ende Container */


#breadcrumb, #ctl00_breadcrumb {
  padding-bottom: 1rem;
}

.navbar-fixed-top {
  position: fixed;
  right: 0px;
  left: 0px;
  z-index: 1030;
}

.selector-for-some-widget {
  box-sizing: content-box;
}

/* ***** Farben ***** */
/* assistyourwork: grün: #add032, Hellgrau: #dbdbdb, Dunkelgrau: #a5a5a5 */

.bg_green {
  background-color: #add032
}

.bg_green_c_white {
  background-color: #add032;
  color: #fff;
}

.bPaging {
  margin: 0 2px;
  padding: 0 3px;
}


ul.ohne {
  list-style: none;
  padding: 0;
  margin:0;
}

  ul.ohne li {
  }

ul.lihaken {
  list-style-image: url(/images/li_image.webp);
  list-style-type: square;
}



.custom-select {
  margin: 0.5rem auto;
}

.clear {
  clear: both;
}





/*input[type="checkbox"] {
  margin-top: 0.75rem;
}*/

.div-eingabe div {
  margin: 3px 0
}

  .div-eingabe div label {
    margin: 7px 0
  }

#kopf a {
  color: white;
}

a {
  color: black;
  text-decoration: none;
}

  a:hover {
    color: black;
  }

  a.btn-Varianten-ayw {
    border:solid;
    border-color: black;
    border-width: 2px;
    margin:2px;
  }

  a.btn-Varianten-ayw:hover {
    border: solid;
    background-color: red;
    border-color: black;
    border-width: 2px;
  }

.divImage500 {
  height: 500px;
  width: 500px;
  background-color: green;
  position: relative;
}

img.center {
  height: 200px;
  object-fit: contain;
}
.color-field {
  margin: 2px;
  border: 1px solid #aaa;
}

.bruttopreis{
  text-align:right;
  font-size: 1.0rem;
  color: red;
}

.bg-image-cover {
  height: 0;
  width: 100%;
  padding-bottom: 100%;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}



/* Der Container für das lade Bild */
.skeleton-box {
  display: inline-block;
  height: 200px; /* Höhe deines Artikelbildes */
  width: 100%;
  background-color: #e2e2e2;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

  /* Die Schimmer-Animation */
  .skeleton-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) );
    animation: shimmer 1.5s infinite;
  }


/* 2. Skeleton Box Base */
.skeleton-card {
  position: relative;
  aspect-ratio: 16 / 16;
  /*background-color: var(--skeleton-bg);*/
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

  /* 3. The Shimmer Effect */
  .skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    /*background: linear-gradient( 90deg, transparent 0, var(--shimmer-color) 50%, transparent 100% );*/
    animation: shimmer 1.5s infinite;
  }

  /* 4. Image Styling */
  .skeleton-card img {
    margin:2%;
    width: 96%;
    height: 96%;
    /*object-fit: cover;*/
    opacity: 0; /* Hidden until loaded */
    transition: opacity 0.5s ease-in-out;
    display: block;
  }

  /* 5. Loaded State - Remove Shimmer & Show Image */
  .skeleton-card.is-loaded::after {
    display: none;
  }

  .skeleton-card.is-loaded img {
    opacity: 1;
  }

#BL_breadcrumb {
  margin: 10px 0 10px;
}

  #BL_breadcrumb, #BL_breadcrumb a, #BL_breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
  }

breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.9);
}

.navbar-dark {
  --bs-navbar-color: rgba(255, 255, 255, 0.9);
  --bs-navbar-hover-color: rgba(255, 255, 255, 0.7);
}

.card-footer {
  padding:8px;
}

  @keyframes shimmer {
    100% {
      transform: translateX(100%);
    }
  }

  @media (max-width: 576px) {
    h1 {
      font-size: 1.5rem;
    }

    h2 {
      font-size: 1.4rem;
    }

    h3 {
      font-size: 1.3rem;
    }

    h4 {
      font-size: 1.2rem;
    }

    h6.card-title {
      font-size: 4vmin;
    }
  }

  @media (min-width: 576px) {
    h1 {
      font-size: 1.5rem;
    }

    h2 {
      font-size: 1.4rem;
    }

    h3 {
      font-size: 1.3rem;
    }

    h4 {
      font-size: 1.2rem;
    }


    h6 .card-title {
      font-size: 1vmin;
    }

    .custom-label {
      margin: 0.2rem auto;
      display: inline-block;
      width: 100%;
      height: calc(1.5em + 0.75rem + 2px);
      padding: 0.3rem 1.75rem 0.1rem 0.75rem;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      color: #495057;
      vertical-align: middle;
    }

    .cbl-label label {
      margin-left: 5px;
    }

    .custom-button {
    }



    .pWPTeaser {
      margin-top: 20px;
    }
  }
  /*// Medium devices (tablets, 768px and up)*/
  @media (min-width: 768px) {
    h6.card-title {
      font-size: 0.85rem;
    }
  }
  /*// Large devices (desktops, 992px and up)*/
  @media (min-width: 992px) {
    h6.card-title {
      font-size: 1rem;
    }

    .navbar .nav-item .dropdown-menu {
      display: none;
    }

    .navbar .nav-item:hover .nav-link {
      color: #808080;
    }

    .navbar .nav-item:hover .dropdown-menu {
      display: block;
    }

    .navbar .nav-item .dropdown-menu {
      margin-top: 0;
    }
  }
  /*// Extra large devices (large desktops, 1200px and up)*/
  @media (min-width: 1200px) {
    h1 {
      font-size: 2rem;
    }

    h2 {
      font-size: 1.8rem;
    }

    h3 {
      font-size: 1.6rem;
    }

    h4 {
      font-size: 1.4rem;
    }
  }
