/* These styles are generated from project.scss. */

body {
  min-height: 100vh !important;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.quote-icon-height {
  height: 150px;
}

.bg-secondary-max-size {
  max-height: 97px;
  max-width: 97px;
}

/* DEPI-261 */
.img-slider-cover {
  max-height: 600px;
}

iframe, video {
  width: 100% !important;
  min-height: 600px !important;
  margin: 0;
}

.iframe-cookie {
  width: 100% !important;
  min-height: 600px !important;
  margin: 0;
}

/* DEPI-246 */
/* Table CSS */
td, th {
  white-space: nowrap;
}

td, th {
  white-space: normal;
}

tr {
  margin-bottom: 1rem;
}

@media (min-width: 767.98px) {
 td, th {
    white-space: inherit;
  }
}

th {
  background-color: #EDEDED;
  margin-bottom: 1rem;
}
table {
  border: none;
}

table thead {
  position: relative;
  font-weight: bold;
  color:#000000;
}

table thead::after {
  content: "";
  display: block;
  height: 8px;
}

td, th {
  padding: 8px 16px 8px 16px !important;
  font-weight: semibold;
  color: #000000;
  font-size: 20px;
}

tr {
  border-bottom: 1px solid #ffffff !important;
}

tbody > :nth-child(odd) {
  background-color: #FFD5BC;
}

tbody > :nth-child(even) {
  background-color: #FFEDE3;
}

@media (max-width: 930px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.depi-dv-container {
  max-width: 850px !important;
}

/* DEPI-262 PopUp  */

#popup {
  max-width: 480px;
  max-height: 240px;
  bottom: 16px;
  right: 16px;
  box-shadow: -1px -1px 5px 0px #000000;
}

@media (max-width: 490px) {
  #popup {
    width: 100%;
    max-height: 100%;
    bottom: 0;
    right: 0;
  }
}


/* DEPI-250 Blockquote */
blockquote {
  border-left: 4px solid #ED7D39;
  padding-left: 40px;
  font-size: 20px;
  line-height: 150%;
}

.quote-text {
  font-size: 24px;
  line-height: 150%;
}
/* DEPI-295 Override Modal-Content*/
.modal-content {
  background-color: transparent !important;
  border: none !important;
}

.modal-backdrop.show {
  background-color: rgba(0,0,0,1) !important;
}

.media-hover {
  transition: transform 0.5s ease;
}

.media-hover:hover{
  cursor: pointer;
  transform: scale(1.025);
}

@media (max-width: 576px) {
  .media-hover {
      pointer-events: none;
  }
  .media-hover button {
    pointer-events: auto;
}
.media-hover:hover{
  cursor: none;
  transform: scale(1.0);
}

}

.bg-secondary-light-75 {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(75%, var(--bs-secondary-light)), color-stop(75%, transparent));
  background: linear-gradient(to bottom, var(--bs-secondary-light) 75%, transparent 75%);
}

/* DEPI-314 */
.press-card-height {
  height: 460px !important;
}

/* DEPI-310 */
.search-result-img {
  object-fit: cover;
  height: 200px !important;
}

.media-item-details {
  max-height: 600px;
}

.media-modal-img {
  max-height: 380px;
}

.header-divider {
  border-color: rgba(0, 0, 0, 0.2);
}

.text-responsive-wrap {
  white-space: normal !important;
}

@media (min-width: 768px) {
  .text-responsive-wrap {
    white-space: nowrap !important;
  }

}

/* Press Detail */
.press-detail p {
  font-size: 1.3125rem;
}

.press-detail h2, .press-detail h3, press-detail h4 {
  color: var(--bs-primary)
}

.press-detail ul {
  padding-left: 2rem;
  font-size: 1.3125rem;
}

/* Event Detail */
.event-detail p {
  font-size: 1.3125rem;
}

.event-detail h2, .event-detail h3, .event-detail h4 {
  color: var(--bs-primary)
}

.event-detail ul {
  padding-left: 2rem;
  font-size: 1.3125rem;
}

/* DEPI-433 Watermark */
.watermark-img-container, .download-btn-container {
  position: relative;
  display: inline-block;
}

.watermark-pdf-container {
  position: relative;
}

.pdf-viewer-height {
  height: 600px;
}

.watermark-author-overlay {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
  text-align: right;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.76) 47%, rgba(255, 255, 255, 0.20) 100%);
  color: var(--bs-black);
  padding: 2px 6px;
  font-size: 12px;

}

/* DEPI-460 Download Button */
.btn.btn-circle {
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-btn-container .download-btn {
  display: none;
}

.watermark-pdf-container .download-btn {
  display: none;
  transition: display 1s ease-out;
}

.download-btn-container:hover .download-btn {
  display: block;
}

.watermark-pdf-container:hover .download-btn {
  display: block;
  transition: display 1s ease-in;
}

.company-detail-img {
  max-height: 300px;
  max-width: 400px;
  object-fit: contain;
}

/* DEPI-484 Responsive for DEPV Logo */
.depv-logo {
  max-width: 150px;
}

.enplus-logo{
  max-width: 60px;
}

.depi-logo {
  max-width: 150px;
}

.bmt-logo {
  max-width: 206px;
}

.stacked-preview-container {
  max-height: 175px;
}

@media (max-width: 768px) {
  .stacked-preview-container {
    max-height: 600px;
  }

}

@media (max-width: 576px) {
  .stacked-preview-container {
    max-height: 600px;
  }
  .company-detail-card {
    height: 120px !important;
  }
}

.form-label {
  color: black !important;
}

/* DEPI-493 overwrite CSS django-select2 */
.select2-container, .select2-selection--single {
  width: 100% !important;
  min-height: 38px !important;
}

.select2-selection--single {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.select2-results__option {
  cursor: pointer;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.select2-results__option--highlighted {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.select2-results__option:hover{
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.select2-selection {
  border-radius: 0 !important;
  border-color: black !important;
}

/* choice */
.select2-selection__choice {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  border: 0px !important;
}

.select2-selection__choice .select2-selection__choice__remove {
  color: var(--bs-white) !important;
}

.select2-selection__choice .select2-selection__choice__remove:hover {
  color: var(--bs-black) !important;
}

.select2-container--default .select2-results__option:hover:not(.select2-results__option--highlighted) {
  background-color: transparent !important;
  color: inherit !important;
}

.select2-search--inline::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.4rem;
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid;
  border-color: #888 transparent transparent transparent;
  transform: translateY(-50%);
}

.select2-container--open .select2-search--inline::after {
  transform: translateY(-50%) rotate(180deg);
}

.select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
  color: #aaa;
  opacity: 1;
}

/* DEPI-515 for Carousel Images */
.carousel-img {
  height: 600px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.carousel-hero-img {
  height: 600px;
  width: 100%;
  display: block;
}
@media (max-width: 1199px) {
  .carousel-hero-img {
      height: 550px;
      width: 100%;
  }
}

@media (max-width: 998px) {
  .carousel-hero-img {
      height: 500px;
      width: 100%;
  }
}

@media (max-width: 998px) {
  .carousel-hero-img {
      height: 460px;
      width: 100%;
  }
}

@media (max-width: 768px) {
  .carousel-img {
      width: auto;
      height: 300px;
  }
  .carousel-hero-img {
    height: 400px;
    width: 100%;
}
}

@media (max-width: 678px) {
  .carousel-hero-img {
      height: 350px;
      width: 100%;
  }
}

@media (max-width: 580px) {
  .carousel-hero-img {
      height: 300px;
      width: 100%;
  }
}

@media (max-width: 420px) {
  .carousel-img, .carousel-hero-img {
      height: 180px;
  }
}

.company-list-img {
  height: 200px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .h-md-100 {
    height: 100%;
  }
}

.nav-highlight {
  height: 32px !important;
}
.nav-container {
  height: 88px !important;
}

.breadcrumb-item a {
  color: var(--bs-black) !important;
}
.breadcrumb-item a:hover {
  color: var(--bs-primary) !important;
}

.btn-circle.btn-xl {
  width: 56px;
  height: 56px;
  padding: 10px 16px;
  border-radius: 35px;
  line-height: 1.33;
}

.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0px;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.42857;
}

.footer-depv-icon {
  max-width: 64px;
  max-height: 64px;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease-in-out, opacity 0.6s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.submenu.show {
  max-height: 500px; /* hoch genug für den Inhalt */
  opacity: 1;
  pointer-events: auto;
}

.submenu-icon::after {
  content: "";
  font-family: "Font Awesome 6 Free";
  margin-left: 0;
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
  vertical-align: middle;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
}

.navbar-expand-xxl .dropdown-toggle:after {
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.modal-index {
  z-index: 10000 !important;
}

.company-data-img {
  max-width: 300px;
  max-height: 250px;
  object-fit: contain;
}

.stacked-preview-img {
  object-fit: contain;
  max-height: 300px;
}

/* DEPI-719 overwrite dropdown-item hover color */
.dropdown-item:hover {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  border-radius: 0 !important;
}

/* DEPI-727 */
.scrollable-text {
  max-height: 40vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* DEPI-727 */
.nav-link {
  color: var(--bs-black) !important;
}

.nav-link:hover {
  color: var(--bs-primary) !important;
}


@media print {
  body, html {
    font-size: 10pt !important;
    line-height: 1.5 !important;
  }
  table {
    width: 100% !important;
    table-layout: auto !important;
    overflow: visible !important;
    word-break: break-word;
    font-size: 10pt !important;
  }

  td, th, t-body, tr, td {
    white-space: normal !important;
    word-wrap: break-word;
    overflow: visible;
    font-size: 10pt !important;
  }
  td > p {
    font-size: 10pt !important;
  }
  img {
    display: none !important;
  }
}

/* Preview box for xlsx, docx, ppt */
.preview-box {
  height: 400px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-box i {
  font-size: 150px;
}

.preview-box-bg-depi {
  background-color: #FCE3CC;
}

.preview-box-bg-depv {
  background-color: rgba(var(--bs-secondary-light-rgb), 0.4);
}

.preview-box-bg-enplus {
  background-color: rgba(var(--bs-secondary-rgb), 0.4);
}

/* DEPI-921 */
.icon-company-inactive {
  color: var(--bs-secondary);
  font-size: 4rem;
}

.box-company-opacity {
  opacity: 0.4 !important;
}

.height-company-inactive {
  height: 200px;
}
