﻿/* All timeline messages on the same side */
/*.content-page {
    overflow: hidden;
}*/
@media (min-width: 768px) {
  .timeline-left::before {
    left: 0;
  }
  .timeline-left .time-show {
    text-align: left;
  }
  .timeline-left .timeline-item {
    display: block;
  }
}

.themed a.btn-primary {
  color: white;
}
.themed .topbar .dropdown-toggle::after {
  display: none;
}

.page-title-box .breadcrumb {
  background: none;
}

.dxbl-gridlayout {
  margin-bottom: 20px;
}
.dxbl-gridlayout .dxbl-gridlayout-item .card {
  margin-bottom: 0;
  height: 100%;
}

.card .timeline-item .timeline-box {
  background: #ecf2f5;
}
.card .timeline-item .timeline-box .arrow {
  border-right-color: #ecf2f5 !important;
}
.card .timeline-item .timeline-box {
  margin-left: 65px;
}
.card .timeline-item .timeline-box .timeline-icon {
  left: -39px;
}
.card .timeline-item .timeline-box .timeline-icon i {
  margin-top: 0px;
}
.card .timeline-left::before {
  left: 35px;
}

.same-height-group .dxbl-group {
  height: 100%;
}

.same-height-chart {
  height: 100%;
}

.half-height-group {
  height: 50%;
}

.max-width-height {
  max-width: 75px;
  max-height: 75px;
}

.dxbl-grid-search-box-container {
  width: 100% !important;
}

.grid-search-container {
  padding: 6px 4px;
  min-width: 200px;
}

.input-group {
  flex-wrap: nowrap;
}

.dxbl-grid-search-box-container {
  width: 100% !important;
}

.dxbl-window.dxbl-grid-column-chooser-dialog {
  left: auto;
  right: 0;
}

.side-nav-link.active {
  background: #348cd4 !important;
  color: white !important;
}

.communicationDossierMessage {
  height: auto !important;
}

.grey-background {
  background-color: lightgrey;
}

/*.red-background {
    background-color: rgba(245, 198, 203, 0.5);
}*/
.alternate-background {
  background-color: #ecf2f5;
}

li:has(> div > .red-background) {
  background-color: rgba(245, 198, 203, 0.5);
}

.width-m {
  width: 70px;
}

.lightbox-image {
  max-height: 200px;
}

@media (max-width: 568px) {
  div.dxbl-btn-group.dxbl-toolbar-group.dxbl-toolbar-layout-block-group.dxbl-btn-group-first:has(dxbl-toolbar-item > div.dxbl-toolbar-item-tmpl > div > div > .bigStatus) {
    width: 100% !important;
  }
  div.dxbl-btn-group.dxbl-toolbar-group.dxbl-toolbar-layout-block-group.dxbl-btn-group-first:has(dxbl-toolbar-item > div.dxbl-toolbar-item-tmpl > div > div > .bigStatus) dxbl-toolbar-item .dxbl-toolbar-item-tmpl:has(div > div > dxbl-progress-bar.bigStatus) {
    width: 100% !important;
  }
  div.dxbl-btn-group.dxbl-toolbar-group.dxbl-toolbar-layout-block-group.dxbl-btn-group-first:has(dxbl-toolbar-item > div.dxbl-toolbar-item-tmpl > div > div > .bigStatus) dxbl-toolbar-item .dxbl-toolbar-item-tmpl:has(div > div > dxbl-progress-bar.bigStatus) div > div > dxbl-progress-bar.bigStatus {
    width: 100% !important;
  }
  div.content-page {
    padding: 0 0 calc(var(--ct-footer-height) + 20px) !important;
  }
}
.accordion-button:not(.collapsed) {
  background-color: var(--ct-accordion-active-bg) !important;
  color: var(--ct-accordion-active-color) !important;
}

.timeline-left .time-show {
  text-align: left;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box {
  background-color: #ecf2f5;
  margin-left: 85px;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .arrow {
  border-right-color: #ecf2f5 !important;
  border-bottom: 12px solid transparent;
  border-right: 12px solid #ecf2f5 !important;
  border-top: 12px solid transparent;
  display: block;
  height: 0;
  position: absolute;
  width: 0;
  margin-top: 0px;
  top: 20%;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-handle {
  cursor: pointer;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-handle:hover::before {
  content: "\f073";
  font: normal normal normal 14px/1 FontAwesome;
  padding: 0px 14px;
  font-size: x-large;
  color: white;
  background: black;
  position: absolute;
  left: -74px;
  top: 20%;
  z-index: 999;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 100px;
  margin-top: -10px;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-bell {
  left: -35px;
  display: block;
  position: absolute;
  top: 20%;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-bell .timeline-icon {
  border-radius: 50%;
  background: #ecf2f5;
  text-align: center;
  display: block;
  height: 50px;
  width: 50px;
  position: absolute;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-bell .timeline-icon i.custom {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  font-size: x-large;
}
.timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-bell .timeline-icon-text {
  position: absolute;
  font-size: 0.85em;
  background-color: white;
  top: 40px;
  left: -39px;
  padding: 6px 0 3px 0;
}

.timeline-left::before {
  left: 25px;
}

@media (max-width: 768px) {
  .timeline-left .time-show {
    margin-right: -69px;
  }
  .timeline-left .timeline-item .timeline-desk .panel .timeline-box {
    margin-left: 65px;
  }
  .timeline-left .timeline-item .timeline-desk .panel .timeline-box .arrow {
    left: -12px;
    margin-top: -12px;
  }
  .timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-bell {
    left: -65px;
    margin-top: -25px;
    top: 20%;
  }
  .timeline-left .timeline-item .timeline-desk .panel .timeline-box .timeline-bell .timeline-icon-text {
    top: 50px;
    left: -3px;
  }
}
.validation-message {
  color: #e50000;
}

.accordion-button i {
  width: 40px;
  text-align: center;
}

.dxbl-fl .dxbl-fl-item.horizontal {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-flow: row nowrap;
}
.dxbl-fl .dxbl-fl-item.horizontal .dxbl-fl-cpt {
  width: 50%;
}

.caption-template-full-width div.dxbl-fl-caption-tmpl {
  width: 100%;
}

.lightbox-img-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  aspect-ratio: 1/1;
  position: relative;
  border: solid 1px #ecf2f5;
  border-radius: 5px;
  padding: 5px 5px 5px 5px;
  max-width: 200px;
  max-height: 200px;
}
.lightbox-img-container.empty {
  padding: 5px;
  font-size: large;
  cursor: pointer;
}
.lightbox-img-container.collapse-attachments {
  background-color: rgba(0, 0, 0, 0.5019607843);
  z-index: 10;
  color: white;
}
.lightbox-img-container.collapse-attachments span {
  background-color: black;
  padding: 0 5px;
  border-radius: 0.25rem;
}

.file-preview {
  height: 100%;
  width: 100%;
}
.file-preview a i {
  font-size: 50px;
}
.file-preview a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.card.evaluationPanel {
  max-width: 600px;
  margin-top: 10px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
}

.no-margin-top-form-layout-item > div {
  margin-top: 0 !important;
}

.dossiersOverviewGrid {
  max-height: 75vh !important;
}

.informex-calculation-table {
  max-height: 55vh !important;
}

.informexTable td.dxbl-grid-detail-cell {
  padding: 0 !important;
}

.informex-detail-table tr:last-child td {
  border-bottom: 0;
}
.informex-detail-table td {
  padding: 0 0.25rem;
}

.dxbl-modal-content .viewerBody {
  overflow: hidden !important;
}

.informexLogo {
  height: 35px;
  width: auto;
}

.informexLogo:hover {
  cursor: pointer;
}

.fs-7 {
  font-size: 0.625rem !important;
}

.dxbl-row:has(.card-img) {
  height: 100%;
}

@media (max-width: 576px) {
  dxbl-modal-dialog {
    margin: auto !important;
  }
  .lightbox-img-container {
    width: 100%;
  }
}
