.kv-file-content {
  margin: 0 auto;
}

.file-drop-zone {
  border: 0 !important;
}

.kv-file-rotate {
  display: none !important;
}
.btn-kv-rotate {
  display: none !important;
}
.progress {
  display: none !important;
}
.file-upload-indicator {
  display: none !important;
}
.fileinput-remove {
  display: none !important;
}

.gallery-row {
  --number-of-items: 6;
  --number-of-gaps: calc(var(--number-of-items) - 1);
  --gap: 12px;

  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.gallery-row .gallery-item {
  width: calc(
    100% / var(--number-of-items) -
      (var(--gap) * var(--number-of-gaps) / var(--number-of-items))
  );
  flex-shrink: 0;
  flex-grow: 0;
  aspect-ratio: 1;
  position: relative;
}

.gallery-image-box {
  align-items: center;
  display: flex;
  width: 100%;
  border: 1px solid #ccc;
  height: calc(100% - 45px);
  flex-direction: row;
  justify-content: center;
}

.gallery-image-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
}

.galley-image-layer {
  align-items: center;
  width: 100%;
  height: calc(100% - 45px);
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.gallery-item .d-flex {
  flex-wrap: nowrap;
  overflow: hidden;
}
.gallery-item .d-flex .button-container {
  width: 100%;
}
.gallery-item .d-flex .button-container .btn {
  width: 100%;
  border-radius: 0;
  padding-inline: 0;
}

/* .gallery-item:hover .galley-image-layer {
    display: flex;
} */
.gallery-item:hover .hover-trigger-class {
  display: flex;
}

.gallery-image-delete-btn {
  margin: 0 auto;
}

.main-pic-select-div {
  text-align: center;
}

.selected-main-pic-div {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}

.solid-hr {
  /* border-top: 3px solid #bbb; */
  opacity: 1;
  background-color: #d1d1d1;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* *{
    outline: 1px solid purple;
} */

/* Style the button that is used to open and close the collapsible content */
.collapsible {
  /* background-color: #eee; */
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.collapsible-active,
.collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.collapsible-content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.collapsible-div {
  padding: 10px;
  margin-bottom: 20px;
}

.comment-created-div {
  padding: 8px 16px 4px;
  font-size: 14px;
}
.comment-content {
  padding: 0 16px 4px;
  font-size: 14px;
}
.comment-content p {
  margin-bottom: 10px;
}

.comment-element:not(:first-child) {
  border-top: 1px solid black;
}

.log-created-div {
  padding: 15px;
  font-size: 12px;
}
.log-content {
  padding: 5px 15px;
  font-size: 14px;
}

.log-element:not(:first-child) {
  border-top: 1px solid black;
}

.comment-accordion.show,
.comment-accordion.collapsing,
.log-accordion.show,
.log-accordion.collapsing {
  max-height: 300px;
  overflow: auto;
}

#userViewModal .modal-content {
  background-color: #3b3b3b;
  color: white;
}

.payoff-index .summary {
  display: none;
}

.kv-expand-detail-loading {
  background-image: url("../img/loading-sm.gifQWEQWEQWEQWEQWEQWE") !important;
  background-position: right 2px center;
  background-repeat: no-repeat;
  cursor: wait;
  opacity: 0.6;
}

.expand-box {
  display: inline-block;
  cursor: pointer;
  margin-right: 10px;
}
.expand-box i {
  font-size: 20px;
}

.container-content {
  margin-top: -52px;
}

.has-error .help-block {
  color: red;
}
.has-error input {
  border-color: red !important;
}
.has-error select {
  border-color: red !important;
}
/* .has-error .to-user-profile {
    margin-bottom: 38px!important;
    border-top-color: red;
    border-right-color: red;
    border-bottom-color: red;
} */

.booking-cell {
  font-size: 14px;
}

.finance-title {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: white;
  text-align: left;
  background-color: #0d6efd;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
}

.finance-log-element {
  display: flex;
}

.finance-log-element p {
  font-size: 14px;
}

.finance-log-element p:first-of-type {
  width: 70px;
  flex-shrink: 0;
}

.finance-log-element p:nth-of-type(2) {
  width: 90px;
  flex-shrink: 0;
}

.finance-log-element p:nth-of-type(3) {
  min-width: 80px;
  /* flex-shrink: 0; */
}

.datepicker table tr td.disabled {
  background-color: lightgray;
  border-radius: 0;
}

/* calendar */
.vis-item.vis-line {
  display: none;
}
.datepicker table tr td.disabled:hover {
  background-color: lightgray;
  border-radius: 0;
  cursor: not-allowed;
}

#booking-table-created_at-kvdate .kv-date-picker {
  display: none;
}

.kv-field-separator {
  display: none !important;
}

.vis-time-axis .vis-grid.vis-saturday,
.vis-time-axis .vis-grid.vis-sunday {
  background: #ceac61;
}
