/* CSS for Bootstrap Library Tables: reservations, invitees, etc. */

.btn-buttonColor {
  background-color: #991b1e;
}

mark {
  padding: 0;
  background-color: yellow;
}

.bootstrap-table {
  padding-left: 0;
  padding-right: 0;
  background-color: white;
  white-space: nowrap;
}

/* tool bar overrwites */
.btn-group .dropup .dropdown-toggle::after {
  color: white;
}

.btn-group .dropdown-toggle::after {
  color: white;
}

.btn-group .btn {
  color: white;
}

/* pagination style overwrites */
.page-item.active .page-link {
  color: white;
  background-color: #991b1e;
}

.page-item.active .page-link {
  border-color: #991b1e;
}
.page-link {
  color: #991b1e;
}

/* pagination mobile settings */
.fixed-table-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pagination-info {
  display: flex;
  flex-direction: column;
}

.pagination-detail,
.pagination {
  float: none !important;
}

/* set max header widths */
.table-header {
  max-width: 250px;
}

.modal {
  overflow-y: auto;
}

/* guest modal body */
.modal-body {
  overflow-y: scroll;
}

.modal-dialog,
.modal-content {
  height: 100%;
}

.icons {
  font-size: 14px;
  align-self: center;
}

/* hide create button on smaller screens */
.bs-bars.float-right {
  display: none;
}

.toastify.toast-message {
  font-size: 14px;
  width: 100%;
  max-width: calc(100% - 30px);
  text-align: center;
}

input.search-input {
  width: 100%;
}

.bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
  margin-right: 1em;
}

@media (min-width: 576px) {
  /* pagination media query */
  .fixed-table-pagination {
    display: flex;
    flex-direction: row;
  }
  .pagination-info {
    display: block;
    flex-direction: row;
  }

  .pagination-detail {
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
  }

  .pagination {
    margin-left: auto;
  }

  .modal-dialog,
  .modal-content {
    height: 90%;
  }
}

@media (min-width: 768px) {
  .toastify.toast-message {
    width: 300px;
    text-align: left;
    font-size: 1.15rem;
  }
}

@media (max-width: 767px) {
  .bootstrap-table .fixed-table-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bootstrap-table .fixed-table-toolbar .search {
    width: 100%;
  }
  .bootstrap-table .fixed-table-toolbar .search input.search-input {
    margin: 0 auto !important;
  }
  .bootstrap-table .fixed-table-toolbar .columns-left {
    margin: 0 auto !important;
  }
}

/* hide create button on smaller screens */
.bs-bars.float-right {
  display: none;
}

@media (min-width: 768px) {
  .bs-bars.float-right {
    display: inline-block;
  }

  button[name='createRecordAlt'] {
    display: none;
  }
  button[name='deleteRecordAlt'] {
    display: none;
  }
}

.truncate-text {
  width: 750px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: wrap;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ellipsis-text {
  max-width: 1200px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}
