.epb-base-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.epb-base-modal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 100%;
}

.epb-base-modal {
  background-color: white;
  width: 100%;
  max-height: calc(100vh - 106px);
  color: #404040;
  overflow-y: scroll;
}

.epb-base-modal p {
  color: #404040;
}

@media screen and (min-width: 1026px) {
  .epb-base-modal {
      overflow-y: hidden;
  }
}

.epb-base-modal-content-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: white;
  overflow-y: auto;
}

.epb-base-modal-header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 1026px) {
  .epb-base-modal-header-container {
      align-items: flex-start;
  }
}

.epb-base-modal-close-button {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-right: 20px;
}

.epb-base-modal-subtitle {
  width: 100%;
  padding-top: 24px;
  margin-bottom: 16px;
}

.epb-base-modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.epb-base-modal-title:empty,
.epb-base-modal-subtitle:empty {
  display: none;
}