:root {
  --blue: rgb(16, 101, 144);
  --dark-blue: rgb(32, 39, 125);
}

.my-ajax-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, .5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.my-header {
  border-bottom: 2px solid var(--dark-blue);
}

.my-header h1 a {
  color: var(--dark-blue);
}

.my-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}

.my-title {
  border-bottom: 1px solid var(--blue);
  margin-bottom: 1.5rem;
}

.my-upload {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 6rem;
  padding: 1rem;
  border: 2px dotted var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
}

.my-upload:hover {
  border-color: var(--bs-pink);
}

.my-upload input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.my-footer {
  background: var(--dark-blue);
  color: #fff;
  text-align: center;
  padding: .5em;
}

#modalPostInput .modal-body {
  padding: 0;
}

#modalPostInput iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 240px);
}
