


/** nav */

/* detail pages custom_____________________________________________- */


#modContainer {}





.fullImgHolder {
  width: 100%;
  display: flex;
  /* justify-content: center; */
  margin-bottom: 50px;
}

.fullImgHolder .fullImg:empty {
  margin-bottom: 0;
}

.fullImg {
  width: 100%;
  max-width: 1100px;
}

.fullImg img {
  width: 100%;
  height: 100%;
}



.detailTitle {
  font-size: 50px;
  font-weight: 600;
  margin: 10px 0;
}



.imageCredits {
  font-size: 14px;
  /* font-weight: 700; */
  color: #afafaf;

  margin-top: 5px;
}






/* moduleLayout */





/* marquees ------------------------------------ */




/* lightbox */

.lb_credits {
  font-size: 15px;
  font-family: 'marfa_reg', 'Helvetica Neue', Helvetica, 'Arial' !important;
  margin: 0px auto 5px;
  text-align: left;
  line-height: 16px;
}

.lb-dataContainer .lb_credits {
  position: absolute;
  bottom: 0;
  width: calc(100% - 40px);
  background: white;
  padding: 10px 0 20px;
}

/* lightbox end */




/* detail pages custom end_____________________________________________- */





#item_container {
  /* padding: 65px 0 100px; */
  padding: 0px 0 100px;
  margin-top: 0;
  max-height: unset;
  height: unset;
  overflow-y: unset;
  margin-bottom: 0px;
}




/* all MODULES */

.module {
  width: 100%;
  clear: both;
}

.module::after {
  content: "";
  display: table;
  clear: both;
}

.module.module_image {
  width: 100%;
  margin: 20px auto 50px;

}

.moduleImageCredits {
  margin-top: 5px;
  font-size: 15px;
}

.module.module_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module.module_video {
  margin: 20px auto 50px;
}

.module.module_video video {
  width: 100%;
  aspect-ratio: 16/9;
}

.module.module_video .videoText {
  font-size: 15px;
}

.module.module_html iframe {
  width: 100% !important;
  aspect-ratio: 16/9;
  margin: 20px auto 50px;
}


.module.module_sectiontitle.bigHeaderSize {
  font-size: 26px;
  font-family: 'HK-bold', sans-serif;
  margin-bottom: 1rem;
}

.module.module_sectiontitle.subheaderSize {
  font-size: 20px;
  font-family: 'HK-bold', sans-serif;
  margin-bottom: 1rem;
}

.module.module_marquee .marqueeHolder {
  width: 100%;
  overflow: hidden;
  margin: 10px 0;
}

.module.module_marquee .fullMarqueeHolder {
  display: flex;
  overflow: hidden;
  width: 100000px;
}

.module.module_marquee .bmElemRight {
  white-space: nowrap;
}


.module.module_download .dFileElem {
  width: 100px;
}

.module.module_download .dFileWrapper {
  width: 100px;
}

.module.module_download .dFileWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.module.module_column_start.col_start_type_0 {
  width: calc(50% - 10px);
  margin-right: 5px;
  float: left;
  clear: none;
}

.module.module_column_start.col_start_type_1 {
  width: calc(50% - 10px);
  margin-left: 5px;
  float: right;
  clear: none;
}

.module.module_hr {
  width: 100%;
  height: 2px;
  margin: 14px 0;
  background-color: black;
}

.module.module_hr.invisible {
  border: unset;
  background-color: unset;
}

.gallSliderContainer {
  margin: 20px auto 50px;
}

.gallSliderArrowHolder {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.gallSliderArrows {
  cursor: pointer;
}

.module.module_gallery .gallSliderArrows {
  width: 20px;
  height: 20px;
}

.module.module_gallery .gallSliderArrows img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collTitleArrow {
  display: flex;
  align-items: center;
}

.collArrow img {
  rotate: 135deg;
  transition: all 200ms ease;
}


.collBlock.opened .collArrow img {
  rotate: 315deg;
}

.collTitle {
  flex: 1 0 200px
}

.collArrow {
  flex: 0 0 40px;
  filter: invert(1);
}

.collBlock {
  list-style: none;
  border-bottom: 1px solid lightgray;

  cursor: pointer;
}

.collBlock.opened .collColumns {
  height: 100%;
  max-height: 1000px;
  transition: all 200ms ease;
}

.collapsElem.opened .normalText {
  margin-bottom: 40px;
}

.collColumns {

  max-height: 0px;
  overflow: hidden;
}

.collContent.normalText {

  margin: 0;
}

.collColLeft {
  margin-bottom: 40px;
}





.module.module_related {
  margin-bottom: 50px;
}

.module.module_download {
  margin-bottom: 50px;
}



.relModTitle {
  margin-bottom: 10px;
  font-size: var(--smallFont);

}

.relModuleHolder {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-gap: 10px;
}

.relElem {
  width: 100px;
}


.downloadModuleTitle {
  margin-bottom: 10px;
  font-size: var(--smallFont);

}























.bmElem {
  display: flex;
  animation-name: marquee;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.bmElemRight {
  display: flex;
  animation-name: marqueeRight;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.nBmElem {
  line-height: 300px;
  height: 300px;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translate(-100%, 0);
  }

  100% {
    transform: translate(0, 0);
  }
}



/* OFFER / INVOICE OVERLAY */

#contact-create-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#offer-overlay-backdrop,
#invoice-overlay-backdrop,
#client-picker-backdrop,
#client-overlay-backdrop,
#contact-overlay-backdrop,
#address-overlay-backdrop,
#task-overlay-backdrop,
#stammfragen-overlay-backdrop,
#project-overlay-backdrop,
#project-edit-overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.overlay-modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.overlay-content {
  border: 1px solid black;
  border-radius: 10px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  margin-top: 2rem;
  padding: 1.8rem;
  overflow-y: auto;
}

.overlay-modal-sm {
  max-width: 800px;
}

/* when product modal is open, push offer/invoice modal to the side */
#offer-overlay-backdrop.product-open #offer-modal,
#invoice-overlay-backdrop.product-open #invoice-modal {
  filter: blur(2px);
  pointer-events: none;
}

#product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1000px;
  max-height: 90vh;
  z-index: 1100;
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  font-family: 'Martian Mono', monospace;
}

.overlay-close img {
  width: 1rem;
  height: 1rem;
}

.overlay-header {
  padding-right: 2rem;
}

.overlay-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.overlay-subtitle {
  font-family: 'Martian Mono', monospace;
  font-size: .8rem;
  font-weight: 100;
  padding-bottom: .8rem;
  border-bottom: 1px solid black;
  width: 100%;
  justify-content: space-between;
}

.overlay-body {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.2rem;
}

.overlay-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
}

.overlay-field-row {
  display: flex;
  gap: 1rem;
  margin-top: .5rem;
}

.overlay-section-title {
  font-family: 'Martian Mono', monospace;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1rem;
}

.overlay-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: .8rem;
  padding-top: .8rem;
}

.overlay-footer {
  display: flex;
  gap: .5rem;
  padding-top: 1rem;
}

.assignee-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  margin-bottom: .4rem;
  min-height: 0;
}

.assignee-chip {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  background: black;
  color: var(--main-green);
  border-radius: 4px;
  padding: .2rem .5rem;
  font-family: 'Martian Mono', monospace;
  font-size: .75rem;
}

.assignee-chip button {
  background: none;
  border: none;
  color: var(--main-green);
  cursor: pointer;
  padding: 0;
  font-size: .85rem;
  line-height: 1;
  opacity: .7;
}

.assignee-chip button:hover {
  opacity: 1;
}

.template-product-list {
  border: 1px solid black;
  border-radius: 6px;
  max-height: 180px;
  overflow-y: auto;
}

.template-product-item {
  padding: .45rem .7rem;
  cursor: pointer;
  font-size: .7rem;
  font-family: 'Martian Mono', monospace;
  font-weight: 100;
  border-bottom: 1px solid black;
}

.template-product-item:last-child {
  border-bottom: none;
}

.template-product-item:hover,
.template-product-item.selected {
  background: black;
  color: var(--main-green);
}

.client-search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: .8rem;
  font-family: 'Martian Mono', monospace;
}

.anfrage-input {
  border: 1px solid black;
  border-radius: 10px;
  padding: .5rem .8rem;
  font-family: 'Martian Mono', monospace;
  font-size: .7rem;
  font-weight: 100;
  background: var(--main-green);
  width: 100%;
}

#product-modal .overlay-section-title {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

#product-modal .filter-label {
  text-transform: none;
}

/* Products page */
.products-page {
  padding: 1.5rem;
}

.attribute-group-block {
  margin-bottom: 1.5rem;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 8px;
  overflow: hidden;
}

.attribute-group-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1rem;
  background: rgba(0, 0, 0, .05);
  border-bottom: 1px solid rgb(0, 0, 0);
}


.attribute-group-name {
  font-weight: 600;
  flex: 1;
  font-size: 1.2rem;
}

.attribute-block {
  padding: .7rem 1rem 2rem 1rem;
  border-bottom: 1px solid rgb(0, 0, 0);
}

.attribute-block:last-child {
  border-bottom: none;
}

.attribute-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}


.attribute-display-name {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  flex: 1;
  min-width: 150px;
  margin: 1rem 0 .5rem 0;
}

.attribute-type-badge {
  font-size: .7rem;
  background: rgba(0, 0, 0, .1);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Martian Mono', monospace;
}

.attribute-internal-name {
  font-size: .7rem;
  color: #888;
}

.option-section {
  padding-left: 0;
  margin-top: .5rem;
}

.option-empty {
  font-size: .7rem;
  color: #999;
  padding: .25rem 0 .5rem;
}

.option-manufacturer-pill {
  display: inline-block;
  font-size: .7rem;
  background: rgba(0, 0, 0, .08);
  padding: 2px 7px;
  border-radius: 10px;
  margin: 1px;
}

.option-pricing-row td input[type="number"] {
  width: 90px;
}

.option-pricing-row td input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: black;
}

/* .btn-add-attribute {
font-size: .8rem;
} */