#modalClose {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  height: 56px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 56px;
}
#modalClose::after,
#modalClose::before {
  background-color: #ddd;
  border-radius: 2px;
  content: '';
  height: 4px;
  left: 14px;
  position: absolute;
  top: 26px;
  transform-origin: center;
  width: 28px;
}
#modalClose::after {
  transform: rotate(-45deg);
}
#modalClose::before {
  transform: rotate(45deg);
}
#modalClose:focus {
  outline: none;
}
#modalClose:hover::after,
#modalClose:hover::before,
#modalClose:focus::after,
#modalClose:focus::before {
  background-color: #000;
}
#modalInner {
  border-top: 1px solid #2e5076;
  box-sizing: border-box;
  padding: 15px;
  text-align: left;
  width: 100%;
}
#modalOuter {
  background-color: #fff;
  border: none;
  border-radius: 11px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  box-sizing: border-box;
  left: 50%;
  margin-inline: 0;
  max-height: calc(100% - 20px);
  max-width: 100%;
  opacity: 0;
  overflow-y: auto;
  padding: 0 10px;
  position: fixed;
  transform: translateX(-50%);
  transition: opacity .3s ease;
  width: 600px;
}
#modalOuter[open],
#modalOuter[open]::backdrop {
  opacity: 1;
}
#modalOuter::backdrop {
  background-color: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .3s ease;
}
#modalOuter.closing,
#modalOuter.closing::backdrop,
#modalOuter.opening,
#modalOuter.opening::backdrop {
  opacity: 0;
}
#modalTitle {
  height: 56px;
  line-height: 56px;
  margin: 0 41px;
}