.modal-dialog.receptions-modal-dialog {
  max-width: min(96vw, 1600px);
  width: calc(100% - 2rem);
  margin: 1.75rem auto;
}

.receptions-modal-dialog .modal-content {
  max-height: calc(100vh - 3.5rem);
  display: flex;
  flex-direction: column;
}

.receptions-modal-dialog .modal-body {
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-dialog.receptions-modal-dialog-fullscreen {
  max-width: 100vw;
  width: 100%;
  height: 100%;
  margin: 0;
}

.receptions-modal-dialog-fullscreen .modal-content {
  max-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.receptions-modal-dialog-fullscreen .modal-body,
.receptions-modal-body-fullscreen {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.receptions-modal-dialog-fullscreen .modal-body::-webkit-scrollbar,
.receptions-modal-body-fullscreen::-webkit-scrollbar {
  display: none;
}

.receptions-modal-fs-root {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

.receptions-modal-fs-root:fullscreen,
.receptions-modal-fs-root.is-fullscreen {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.receptions-modal-fs-root:fullscreen::-webkit-scrollbar,
.receptions-modal-fs-root.is-fullscreen::-webkit-scrollbar {
  display: none;
}

.receptions-modal-fs-root:fullscreen .modal-body,
.receptions-modal-fs-root.is-fullscreen .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.receptions-modal-fs-root:fullscreen .modal-body::-webkit-scrollbar,
.receptions-modal-fs-root.is-fullscreen .modal-body::-webkit-scrollbar {
  display: none;
}

.receptions-modal-header-actions {
  display: flex;
  align-items: center;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

.receptions-modal-header-actions .close {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

.receptions-modal-header-actions .close:hover,
.receptions-modal-header-actions .close:focus {
  opacity: 0.75;
  text-decoration: none;
}

.receptions-modal-header-actions .close i {
  font-size: 1.05rem;
  font-weight: 400;
  vertical-align: middle;
}

.receptions-modal-dialog .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.receptions-modal-dialog .receptions-articles-table {
  min-width: 0;
  width: 100%;
}

.modal-dialog.receptions-action-dialog {
  max-width: 860px;
  width: calc(100% - 3rem);
  margin: 1.75rem auto;
}

.receptions-action-dialog .modal-content {
  max-height: calc(100vh - 3.5rem);
  display: flex;
  flex-direction: column;
}

.receptions-action-dialog .modal-body {
  overflow-y: auto;
}

.modal-dialog.receptions-nested-dialog {
  max-width: 720px;
  width: calc(100% - 5rem);
  margin: 4.5rem auto 1.75rem;
}

.receptions-nested-dialog .modal-content {
  max-height: calc(100vh - 9rem);
  display: flex;
  flex-direction: column;
}

.receptions-nested-dialog .modal-body {
  overflow-y: auto;
}

.receptions-nested-modal {
  z-index: 1070 !important;
}

.receptions-nested-modal-backdrop {
  z-index: 1065 !important;
}

.receptions-attach-overlay {
  z-index: 1080 !important;
}

.receptions-attach-overlay-backdrop {
  z-index: 1075 !important;
}
