body:has(dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}
dialog[open] {
  z-index: 10000;
}
dialog.brctv-dialog:not(.scroll-inner) {
  background: rgba(0, 0, 0, 0.3);
  border: none;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  text-align: left;
}
dialog.brctv-dialog h3 {
  margin-bottom: 12px;
  margin-right: 12px;
  font-size: 32px;
  line-height: 40px;
  color: #122255
}
dialog.brctv-dialog strong {
  color: #000;
  font-weight: 600;
}
dialog.brctv-dialog p,
dialog.brctv-dialog ul,
dialog.brctv-dialog ol {
  color: #1e1e1e;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}
dialog.brctv-dialog p a {
  font-weight: 400;
}
dialog[open].brctv-dialog:not(.scroll-inner) {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  overflow-y: auto;
  inset: 0;
  padding: 2rem;
}
dialog.brctv-dialog:not(.scroll-inner) .brctv-dialog-inner {
  margin: auto;
  background: #ffffff;
  border-radius: 25px;
  -webkit-box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.35);
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.35);
  padding: 32px;
  position: relative;
  min-width: 600px;
}
dialog:not(.scroll-inner) #brctv-modal-close {
  -webkit-transition: 0.6s -webkit-transform cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.6s -webkit-transform cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.6s transform cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.6s transform cubic-bezier(0.19, 1, 0.22, 1), 0.6s -webkit-transform cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-user-select: none;
  border: 0;
  color: inherit;
  font: inherit;
  background: url(/themes/custom/blue_ridge_base/images/close.svg) no-repeat center;
  height: 60px;
  width: 60px;
  text-indent: -999px;
  overflow: hidden;
  position: absolute;
  top: 20px;
  right: 20px;
  background-size: 15px;
  width: 26px;
  height: 26px;
}
dialog ul {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 40px;
  text-align: left;
}
@media (max-width: 800px) {
  dialog[open].brctv-dialog:not(.scroll-inner) {
    padding: 1rem;
  }
  dialog.brctv-dialog:not(.scroll-inner) .brctv-dialog-inner {
    min-width: calc(100vw - 2rem);
  }
  dialog.brctv-dialog:not(.scroll-inner) .brctv-dialog-inner  {
    padding: 40px 25px;
  }
  .modal-content {
    width: auto;
  }
}

dialog.scroll-inner::backdrop {
  background: rgba(0, 0, 0, 0.3);
}
dialog.scroll-inner {
  border: none;
  padding: 0;
  margin: auto;
  max-width: none;
  max-height: 90vh;
  text-align: left;
  background: #ffffff;
  border-radius: 25px;
  -webkit-box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.35);
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.35);
  padding: 32px;
  position: relative;
  min-width: 600px;
  overflow: hidden;
}
dialog[open].brctv-dialog.scroll-inner {
  display: flex;
  justify-content: center;
  position: fixed;
  overflow-y: auto;
  inset: 0;
}
dialog.brctv-dialog.scroll-inner .brctv-dialog-inner {
  /* Legacy alias for older browsers */
  word-wrap: break-word;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
dialog.brctv-dialog.scroll-inner .brctv-dialog-inner p a {
  /* Forces breaking at any exact character if necessary */
  word-break: break-all;
}
dialog.scroll-inner #brctv-modal-close {
  -webkit-transition: 0.6s -webkit-transform cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.6s -webkit-transform cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.6s transform cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.6s transform cubic-bezier(0.19, 1, 0.22, 1), 0.6s -webkit-transform cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-user-select: none;
  border: 0;
  color: inherit;
  font: inherit;
  background: url(/themes/custom/blue_ridge_base/images/close.svg) no-repeat center;
  height: 60px;
  width: 60px;
  text-indent: -999px;
  overflow: hidden;
  position: absolute;
  top: 15px;
  right: 15px;
  background-size: 15px;
  width: 26px;
  height: 26px;
}
@media (max-width: 800px) {
  dialog[open].brctv-dialog.scroll-inner {
    padding: 40px 25px;
    width: 100vw;
  }
  dialog.brctv-dialog.scroll-inner {
    min-width: auto;
  }
}