@media (max-width: 800px) {
  body {
    width: 100vw !important;
  }
  .map {
    height: 80vw !important;
  }
  #map-cursor-coords {
    min-width: 0px !important;
    padding: 0px !important;
  }
  #export-inputs-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .maplibregl-ctrl button .maplibregl-ctrl-icon {
    width: 50% !important;
    height: 50% !important;
    margin: auto !important;
  }
  #risk_zone-table {
    margin-bottom: 15px !important;
  }
  #risk_zone-table .reactable.html-widget.html-widget-static-bound {
    box-shadow: 0px 5px 5px 0px lightgray;
  }
}

@media (max-width: 480px) {
  #ss-connect-dialog {
    width: 90vw !important;
  }
  .checkbox {
    min-width: 85vw !important;
  }
  .show-grid-parent {
    text-align: center;
  }
  .plotly {
    width: 80vw !important;
    height: 30vw !important;
    margin: auto !important;
  }
  .svg-container {
    width: 80vw;
    height: 30vw;
  }
  .gauge-text {
    width: 80% !important;
    margin: auto !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
  }
  .map-footer {
    display: block;
    text-align: center;
  }
  .mapbox-gl-draw_ctrl-draw-btn.mapbox-gl-draw_polygon.draw-control-custom-label {
    height: auto;
  }
  .mapbox-gl-draw_ctrl-draw-btn.mapbox-gl-draw_polygon.draw-control-custom-label .map-draw-btn {
    padding: 0;
  }
  .show-grid-parent {
    padding: 0 !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent {
    border: none !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group.shiny-input-container {
    height: auto !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .input-group label, body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .input-group input {
    height: auto !important;
  }
}

@media (max-width: 800px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.81em;
  }
}

@media (max-width: 480px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.648em;
  }
}

@media (max-width: 380px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.6156em;
  }
}

@media (max-width: 800px) {
  .maplibregl-ctrl-group button {
    height: 26.1px !important;
    width: 26.1px !important;
  }
}

@media (max-width: 480px) {
  .maplibregl-ctrl-group button {
    height: 20.88px !important;
    width: 20.88px !important;
  }
}

@media (max-width: 380px) {
  .maplibregl-ctrl-group button {
    height: 18.792px !important;
    width: 18.792px !important;
  }
}

@media (max-width: 800px) {
  .hide-on-mobile {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .hide-on-mobile {
    font-size: 0.72em;
  }
}

@media (max-width: 380px) {
  .hide-on-mobile {
    font-size: 0.684em;
  }
}

@font-face {
  font-family: "ZillaSlab";
  src: url("../fonts/ZillaSlab/ZillaSlab-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ZillaSlab";
  src: url("../fonts/ZillaSlab/ZillaSlab-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Clear Sans Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Regular"), url("../fonts/ClearSans/ClearSans-Regular.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Italic";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Italic"), url("../fonts/ClearSans/ClearSans-Italic.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Bold";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Bold"), url("../fonts/ClearSans/ClearSans-Bold.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Bold Italic";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Bold Italic"), url("../fonts/ClearSans/ClearSans-BoldItalic.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Thin Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Thin Regular"), url("../fonts/ClearSans/ClearSans-Thin.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Light Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Light Regular"), url("../fonts/ClearSans/ClearSans-Light.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Medium Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Medium Regular"), url("../fonts/ClearSans/ClearSans-Medium.woff") format("woff");
}

@font-face {
  font-family: "Clear Sans Medium Italic";
  font-style: normal;
  font-weight: normal;
  src: local("Clear Sans Medium Italic"), url("../fonts/ClearSans/ClearSans-MediumItalic.woff") format("woff");
}

@media (max-width: 800px) {
  body {
    width: 100vw !important;
  }
  .map {
    height: 80vw !important;
  }
  #map-cursor-coords {
    min-width: 0px !important;
    padding: 0px !important;
  }
  #export-inputs-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .maplibregl-ctrl button .maplibregl-ctrl-icon {
    width: 50% !important;
    height: 50% !important;
    margin: auto !important;
  }
  #risk_zone-table {
    margin-bottom: 15px !important;
  }
  #risk_zone-table .reactable.html-widget.html-widget-static-bound {
    box-shadow: 0px 5px 5px 0px lightgray;
  }
}

@media (max-width: 480px) {
  #ss-connect-dialog {
    width: 90vw !important;
  }
  .checkbox {
    min-width: 85vw !important;
  }
  .show-grid-parent {
    text-align: center;
  }
  .plotly {
    width: 80vw !important;
    height: 30vw !important;
    margin: auto !important;
  }
  .svg-container {
    width: 80vw;
    height: 30vw;
  }
  .gauge-text {
    width: 80% !important;
    margin: auto !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
  }
  .map-footer {
    display: block;
    text-align: center;
  }
  .mapbox-gl-draw_ctrl-draw-btn.mapbox-gl-draw_polygon.draw-control-custom-label {
    height: auto;
  }
  .mapbox-gl-draw_ctrl-draw-btn.mapbox-gl-draw_polygon.draw-control-custom-label .map-draw-btn {
    padding: 0;
  }
  .show-grid-parent {
    padding: 0 !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent {
    border: none !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group.shiny-input-container {
    height: auto !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .input-group label, body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .input-group input {
    height: auto !important;
  }
}

@media (max-width: 800px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.81em;
  }
}

@media (max-width: 480px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.648em;
  }
}

@media (max-width: 380px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.6156em;
  }
}

@media (max-width: 800px) {
  .maplibregl-ctrl-group button {
    height: 26.1px !important;
    width: 26.1px !important;
  }
}

@media (max-width: 480px) {
  .maplibregl-ctrl-group button {
    height: 20.88px !important;
    width: 20.88px !important;
  }
}

@media (max-width: 380px) {
  .maplibregl-ctrl-group button {
    height: 18.792px !important;
    width: 18.792px !important;
  }
}

@media (max-width: 800px) {
  .hide-on-mobile {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .hide-on-mobile {
    font-size: 0.72em;
  }
}

@media (max-width: 380px) {
  .hide-on-mobile {
    font-size: 0.684em;
  }
}

* {
  color: #384246;
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Regular";
}

@media (max-width: 800px) {
  * {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  * {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  * {
    font-size: 12.393px;
  }
}

* i {
  font-family: Arial, Helvetica, sans-serif;
}

.flex-col,
.flex-row,
.flex-center {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

@media (max-width: 800px) {
  .flex-row {
    flex-wrap: wrap;
  }
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.info-button {
  color: #ffffff;
  background: #6797dc;
  height: 18px;
  aspect-ratio: 1/1;
  box-sizing: border-box;
  border-radius: 100%;
  cursor: pointer;
}

.info-button i {
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
}

.input-with-label {
  width: fit-content;
}

.input-with-label .info-btn-label {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

b,
strong {
  font-weight: normal;
  font-family: "Clear Sans Bold";
}

.info-tooltip,
.info-tooltip * {
  color: #ffffff;
}

.info-tooltip .tooltip-inner {
  color: #384246;
  max-width: 400px;
}

.info-tooltip .tooltip-inner .info-list {
  text-align: left;
  padding: 0.25rem 0.5rem;
}

.info-tooltip .tooltip-inner .info-list ul,
.info-tooltip .tooltip-inner .info-list a,
.info-tooltip .tooltip-inner .info-list p {
  margin: 0;
}

.tab-nav-btn.disabled, .tab-nav-btn:hover, .tab-nav-btn:focus, .tab-nav-btn,
button.btn.disabled,
button.btn:hover,
button.btn:focus,
button.btn {
  width: fit-content;
  background-color: #3f587d;
  color: #ffffff;
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
  border: 2px solid #3f587d;
  border-radius: 0;
}

@media (max-width: 800px) {
  .tab-nav-btn.disabled, .tab-nav-btn:hover, .tab-nav-btn:focus, .tab-nav-btn,
button.btn.disabled,
button.btn:hover,
button.btn:focus,
button.btn {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  .tab-nav-btn.disabled, .tab-nav-btn:hover, .tab-nav-btn:focus, .tab-nav-btn,
button.btn.disabled,
button.btn:hover,
button.btn:focus,
button.btn {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  .tab-nav-btn.disabled, .tab-nav-btn:hover, .tab-nav-btn:focus, .tab-nav-btn,
button.btn.disabled,
button.btn:hover,
button.btn:focus,
button.btn {
    font-size: 12.393px;
  }
}

.tab-nav-btn.disabled.white-button, .tab-nav-btn:hover.white-button, .tab-nav-btn:focus.white-button, .tab-nav-btn.white-button,
button.btn.disabled.white-button,
button.btn:hover.white-button,
button.btn:focus.white-button,
button.btn.white-button {
  background-color: #ffffff;
  color: #3f587d;
}

.tab-nav-btn.disabled.disabled, .tab-nav-btn:hover.disabled, .tab-nav-btn:focus.disabled, .tab-nav-btn.disabled,
button.btn.disabled.disabled,
button.btn:hover.disabled,
button.btn:focus.disabled,
button.btn.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.tab-nav-btn.disabled,
.tab-nav-btn:hover,
.tab-nav-btn:focus,
.tab-nav-btn {
  min-width: 33%;
  align-self: end;
  margin-top: 2rem;
  padding: 0.5rem;
}

.tab-nav-btn.disabled.next,
.tab-nav-btn:hover.next,
.tab-nav-btn:focus.next,
.tab-nav-btn.next {
  margin-left: auto;
}

.tab-nav-btn.disabled.previous,
.tab-nav-btn:hover.previous,
.tab-nav-btn:focus.previous,
.tab-nav-btn.previous {
  margin-right: auto;
}

.tab-nav-btn.disabled,
.tab-nav-btn.disabled *,
.tab-nav-btn:hover,
.tab-nav-btn:hover *,
.tab-nav-btn:focus,
.tab-nav-btn:focus *,
.tab-nav-btn,
.tab-nav-btn * {
  color: #ffffff;
  margin: 0;
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  .tab-nav-btn.disabled,
.tab-nav-btn.disabled *,
.tab-nav-btn:hover,
.tab-nav-btn:hover *,
.tab-nav-btn:focus,
.tab-nav-btn:focus *,
.tab-nav-btn,
.tab-nav-btn * {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .tab-nav-btn.disabled,
.tab-nav-btn.disabled *,
.tab-nav-btn:hover,
.tab-nav-btn:hover *,
.tab-nav-btn:focus,
.tab-nav-btn:focus *,
.tab-nav-btn,
.tab-nav-btn * {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  .tab-nav-btn.disabled,
.tab-nav-btn.disabled *,
.tab-nav-btn:hover,
.tab-nav-btn:hover *,
.tab-nav-btn:focus,
.tab-nav-btn:focus *,
.tab-nav-btn,
.tab-nav-btn * {
    font-size: 12.96px;
  }
}

a {
  color: #3f587d;
}

a[href=""] {
  pointer-events: none;
}

hr {
  border-color: transparent;
  margin: 0.5rem 0;
}

hr.blue-line {
  border-color: #3f587d;
  border-width: 2px;
  opacity: 0.8;
}

.input-daterange > *,
.selectize-input,
textarea {
  border-color: #a3a59e;
}

.p-h2,
h2 {
  font: normal normal 500 30px/36px ZillaSlab;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .p-h2,
h2 {
    font-size: 27px;
  }
}

@media (max-width: 480px) {
  .p-h2,
h2 {
    font-size: 24.3px;
  }
}

@media (max-width: 380px) {
  .p-h2,
h2 {
    font-size: 21.87px;
  }
}

.p-h3,
h3 {
  font-size: 25px;
  line-height: 34px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  .p-h3,
h3 {
    font-size: 22.5px;
  }
}

@media (max-width: 480px) {
  .p-h3,
h3 {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .p-h3,
h3 {
    font-size: 16.2px;
  }
}

.p-h4,
h4 {
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  .p-h4,
h4 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .p-h4,
h4 {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  .p-h4,
h4 {
    font-size: 12.96px;
  }
}

.no-threatened-species {
  font-size: 18px;
  line-height: 24px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  .no-threatened-species {
    font-size: 16.2px;
  }
}

@media (max-width: 480px) {
  .no-threatened-species {
    font-size: 14.58px;
  }
}

@media (max-width: 380px) {
  .no-threatened-species {
    font-size: 13.122px;
  }
}

iframe {
  width: 100%;
  height: 100vh;
}

body {
  padding: 2rem;
}

body > #content > .tabbable #main_nav {
  pointer-events: none;
  padding: 0.5rem 0;
}

body > #content > .tabbable #main_nav.hide-nav {
  display: none;
}

body > #content > .tabbable #main_nav li {
  width: 20%;
  position: relative;
}

body > #content > .tabbable #main_nav li a {
  height: fit-content;
  width: 100%;
  color: #3f587d;
  background-color: transparent;
  font-size: 18px;
  margin: auto;
  padding: 0;
  position: relative;
  z-index: 10;
}

body > #content > .tabbable #main_nav li a .nav-number {
  border: 1px solid #3f587d;
  border-radius: 100%;
  height: 2.5rem;
  width: 2.5rem;
  text-align: center;
  box-sizing: border-box;
  background: #ffffff;
}

@media (max-width: 480px) {
  body > #content > .tabbable #main_nav li a .nav-number {
    height: 2rem;
    width: 2rem;
  }
}

body > #content > .tabbable #main_nav li a .nav-number span {
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
  color: #3f587d;
}

@media (max-width: 800px) {
  body > #content > .tabbable #main_nav li a .nav-number span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body > #content > .tabbable #main_nav li a .nav-number span {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable #main_nav li a .nav-number span {
    font-size: 12.96px;
  }
}

body > #content > .tabbable #main_nav li a .nav-text {
  color: #3f587d;
}

@media (max-width: 800px) {
  body > #content > .tabbable #main_nav li a .nav-text {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  body > #content > .tabbable #main_nav li a .nav-text {
    font-size: 0.81em;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable #main_nav li a .nav-text {
    font-size: 0.729em;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable #main_nav li a .nav-text {
    display: none;
  }
}

body > #content > .tabbable #main_nav li.blue-tab a .nav-number,
body > #content > .tabbable #main_nav li a.active .nav-number {
  background: #3f587d;
}

body > #content > .tabbable #main_nav li.blue-tab a .nav-number span,
body > #content > .tabbable #main_nav li a.active .nav-number span {
  color: #ffffff;
}

body > #content > .tabbable #main_nav li.blue-tab a .nav-text,
body > #content > .tabbable #main_nav li a.active .nav-text {
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body > #content > .tabbable #main_nav li.blue-tab a .nav-text,
body > #content > .tabbable #main_nav li a.active .nav-text {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body > #content > .tabbable #main_nav li.blue-tab a .nav-text,
body > #content > .tabbable #main_nav li a.active .nav-text {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable #main_nav li.blue-tab a .nav-text,
body > #content > .tabbable #main_nav li a.active .nav-text {
    font-size: 12.393px;
  }
}

body > #content > .tabbable #main_nav li::before {
  content: " ";
  width: 100%;
  height: 1.25rem;
  border-bottom: 2px dotted #3f587d;
  position: absolute;
  z-index: 0;
}

body > #content > .tabbable #main_nav li:first-child::before {
  width: 50%;
  right: 0;
}

body > #content > .tabbable #main_nav li:nth-child(5)::before {
  width: 50%;
  left: 0;
}

body > #content > .tabbable #main_nav li:nth-child(6),
body > #content > .tabbable #main_nav li:last-child {
  display: none;
}

body > #content > .tabbable button:focus,
body > #content > .tabbable .selectize-input.focus,
body > #content > .tabbable textarea:focus,
body > #content > .tabbable input[type="text"]:focus,
body > #content > .tabbable input[type="form-control"]:focus,
body > #content > .tabbable input[type="checkbox"]:focus,
body > #content > .tabbable input[type="radio"]:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(63, 88, 125, 0.25);
}

body > #content > .tabbable .info-btn-label label,
body > #content > .tabbable .form-group label {
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body > #content > .tabbable .info-btn-label label,
body > #content > .tabbable .form-group label {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body > #content > .tabbable .info-btn-label label,
body > #content > .tabbable .form-group label {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable .info-btn-label label,
body > #content > .tabbable .form-group label {
    font-size: 12.393px;
  }
}

@media (max-width: 800px) {
  body .risk-map-legend {
    padding: 0;
  }
}

@media (max-width: 800px) {
  body .risk-map-legend .legend-item .legend-colour {
    height: 13.5px !important;
    width: 13.5px !important;
  }
}

@media (max-width: 480px) {
  body .risk-map-legend .legend-item .legend-colour {
    height: 12.15px !important;
    width: 12.15px !important;
  }
}

@media (max-width: 380px) {
  body .risk-map-legend .legend-item .legend-colour {
    height: 9.72px !important;
    width: 9.72px !important;
  }
}

body #risk-zone-tab .custom-control,
body #report-tab .custom-control {
  width: 100%;
  max-width: 300px;
}

body #risk-zone-tab .show-grid-parent,
body #risk-zone-tab .mapbox-gl-draw_ctrl-draw-btn,
body #risk-zone-tab .cursor-coords-control,
body #report-tab .show-grid-parent,
body #report-tab .mapbox-gl-draw_ctrl-draw-btn,
body #report-tab .cursor-coords-control {
  border-radius: 5px;
  box-shadow: 0px 3px 6px #00000029;
  max-width: 300px;
}

body #risk-zone-tab .cursor-coords-control p,
body #report-tab .cursor-coords-control p {
  margin-bottom: 0;
  padding: 5px 0;
}

body #risk-zone-tab .show-grid-parent,
body #report-tab .show-grid-parent {
  background: #ffffff;
  padding: 5px 10px;
}

body #risk-zone-tab .show-grid-parent,
body #risk-zone-tab .show-grid-parent *,
body #report-tab .show-grid-parent,
body #report-tab .show-grid-parent * {
  cursor: pointer;
}

body #risk-zone-tab .map-draw-btn,
body #report-tab .map-draw-btn {
  text-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

@media (max-width: 800px) {
  body #risk-zone-tab .map-draw-btn,
body #report-tab .map-draw-btn {
    flex-wrap: nowrap;
  }
}

body #risk-zone-tab .custom-control .risk-map-legend,
body #risk-zone-tab .cursor-coords-control,
body #report-tab .custom-control .risk-map-legend,
body #report-tab .cursor-coords-control {
  width: 100%;
  min-width: 250px;
}

@media (max-width: 800px) {
  body #risk-zone-tab .custom-control .risk-map-legend,
body #risk-zone-tab .cursor-coords-control,
body #report-tab .custom-control .risk-map-legend,
body #report-tab .cursor-coords-control {
    width: 100%;
    min-width: 0 !important;
  }
}

body #risk-zone-tab {
  position: relative;
  margin-bottom: 30px;
}

body #risk-zone-tab #risk-map-parent {
  position: relative;
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #3f587d;
  height: fit-content;
  width: fit-content;
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  height: 36px;
}

@media (max-width: 800px) {
  body #risk-zone-tab #risk-map-parent #map-file-upload-parent {
    width: 80%;
    min-width: 0 !important;
  }
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group {
  margin: 0;
  height: fit-content;
  min-width: 350px;
}

@media (max-width: 800px) {
  body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group {
    width: 100%;
    min-width: 0 !important;
  }
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group > .input-group .input-group-btn .btn {
  background: #3f587d;
  border: none;
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
  border-radius: 0;
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group > .input-group .input-group-btn .btn i {
  color: #ffffff;
  padding: 0.5rem;
  height: 100%;
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group > .input-group input.form-control {
  border: none;
  padding-right: 25px;
  margin-left: 0;
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group > .progress {
  display: none;
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .info-button {
  position: absolute;
  right: 3px;
  z-index: 10;
}

body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group .input-group-btn,
body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group input.form-control,
body #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group {
  height: 34px;
}

body #risk-zone-tab #risk-map-parent .maplibregl-ctrl-bottom-left {
  bottom: calc(36px + 0.5rem);
}

body #risk-zone-tab .map-footer {
  justify-content: space-between;
}

body #risk-zone-tab .map-footer span {
  gap: 10px;
}

@media (max-width: 600px) {
  body #risk-zone-tab .map-footer {
    flex-direction: row-reverse;
    gap: 10px;
  }
}

body #risk-zone-tab #map-table-parent .risk-label {
  gap: 5px;
  align-items: center;
  width: fit-content;
}

body #risk-zone-tab #map-table-parent .rt-tr-header .rt-th:first-child .rt-text-content,
body #risk-zone-tab #map-table-parent .rt-tr-group-header .rt-th-group .rt-text-content {
  text-align: left;
  font-size: 18px;
  line-height: 24px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body #risk-zone-tab #map-table-parent .rt-tr-header .rt-th:first-child .rt-text-content,
body #risk-zone-tab #map-table-parent .rt-tr-group-header .rt-th-group .rt-text-content {
    font-size: 16.2px;
  }
}

@media (max-width: 480px) {
  body #risk-zone-tab #map-table-parent .rt-tr-header .rt-th:first-child .rt-text-content,
body #risk-zone-tab #map-table-parent .rt-tr-group-header .rt-th-group .rt-text-content {
    font-size: 14.58px;
  }
}

@media (max-width: 380px) {
  body #risk-zone-tab #map-table-parent .rt-tr-header .rt-th:first-child .rt-text-content,
body #risk-zone-tab #map-table-parent .rt-tr-group-header .rt-th-group .rt-text-content {
    font-size: 13.122px;
  }
}

body #risk-zone-tab #map-table-parent .rt-tbody .rt-text-content input {
  width: 100%;
}

body #risk-zone-tab #map-table-parent .rt-thead > .rt-tr .rt-th,
body #risk-zone-tab #map-table-parent .rt-table {
  border: none;
}

body #risk-zone-tab #map-table-parent .rt-thead .rt-tr-header .rt-th,
body #risk-zone-tab #map-table-parent .rt-thead .rt-tr-group-header .rt-th-group {
  border-bottom: 2px solid #3f587d !important;
  border-left: none !important;
  border-right: none !important;
}

body #risk-zone-tab #map-table-parent .rt-tbody .rt-tr-group .rt-tr {
  border-bottom: 1px solid #3f587d;
}

body #risk-zone-tab #map-table-parent .rt-tbody i.fa-xmark,
body #risk-zone-tab #map-table-parent .rt-tbody i.fa-check {
  color: #3f587d;
  cursor: pointer;
}

body #risk-zone-tab #map-table-parent .rt-tbody i.fa-check {
  font-size: 1.5rem;
}

body #risk-zone-tab #map-table-parent .rt-th:nth-child(3) {
  overflow: visible;
}

body #risk-zone-tab #map-table-parent .rt-th:nth-child(3) .rt-th-inner {
  position: absolute;
  overflow: visible;
  bottom: 0;
}

body #risk-zone-tab #map-table-parent .rt-th:nth-child(3) .rt-th-inner .rt-text-content p {
  line-height: 18px;
}

body #risk-zone-tab #map-table-parent .edit-icon {
  cursor: pointer;
  color: #3f587d;
}

body #risk-zone-tab #map-table-parent .edit-icon.disabled {
  pointer-events: none;
  opacity: 0.5;
}

body #risk-zone-tab #continue-warning {
  position: absolute;
  bottom: -70px;
  right: 0;
}

@media (max-width: 480px) {
  body #risk-zone-tab #continue-warning {
    position: relative;
  }
}

body #risk-zone-tab #continue-warning p {
  margin: 0;
  text-align: end;
}

@media (max-width: 480px) {
  body #risk-zone-tab #continue-warning p {
    text-align: center;
  }
}

body > #content > .tabbable #practices-tab .area-tile,
body > #content > .tabbable #monitoring-tab .area-tile {
  margin: 1rem 0;
}

body > #content > .tabbable #practices-tab .area-tile h3,
body > #content > .tabbable #monitoring-tab .area-tile h3 {
  font-size: 25px;
  line-height: 34px;
  font-family: "Clear Sans Bold";
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  body > #content > .tabbable #practices-tab .area-tile h3,
body > #content > .tabbable #monitoring-tab .area-tile h3 {
    font-size: 22.5px;
  }
}

@media (max-width: 480px) {
  body > #content > .tabbable #practices-tab .area-tile h3,
body > #content > .tabbable #monitoring-tab .area-tile h3 {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable #practices-tab .area-tile h3,
body > #content > .tabbable #monitoring-tab .area-tile h3 {
    font-size: 16.2px;
  }
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row {
  gap: 2rem;
  justify-content: space-between;
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group {
  margin: 0;
  color: #384246;
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group,
body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group .shiny-options-group,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group .shiny-options-group {
  width: fit-content;
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group label,
body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group label span,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group label,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group label span {
  width: 100%;
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group .radio,
body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group .checkbox,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group .radio,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group .checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  color: #384246;
  gap: 5px;
  width: 100%;
  min-width: 300px;
  border: 1px solid #e0e2dc;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 5px;
  cursor: pointer;
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group .radio label,
body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group .checkbox label,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group .radio label,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group .checkbox label {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group input[type="checkbox"],
body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group input[type="radio"],
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group input[type="checkbox"],
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  height: 1.2em;
  width: 1.2em;
  border: 1px solid #a3a59e;
  background: #ffffff;
  position: relative;
  border-radius: 2px;
  --check-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group input[type="checkbox"]:checked,
body > #content > .tabbable #practices-tab .area-tile > .flex-row > .form-group input[type="radio"]:checked,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group input[type="checkbox"]:checked,
body > #content > .tabbable #monitoring-tab .area-tile > .flex-row > .form-group input[type="radio"]:checked {
  background-color: #3f587d;
  border-color: #3f587d;
  background-image: var(--check-image);
  background-position: center;
  background-size: contain;
}

body > #content > .tabbable #practices-tab .zones-container > p,
body > #content > .tabbable #monitoring-tab .zones-container > p {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #3f587d;
}

body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group {
  height: fit-content;
  width: fit-content;
  padding: 5px;
  background-color: #ffffff;
  border-radius: 15px;
  margin: 0;
  gap: 10px;
  border: 3px solid #3f587d;
}

body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline {
  position: relative;
  height: fit-content;
  max-height: unset;
  padding: 5px 10px;
  flex: 1 1 0;
}

body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
  position: relative;
  color: #3f587d;
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
    font-size: 12.96px;
  }
}

body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input {
  position: absolute;
  width: 100%;
  border-radius: 10px;
  height: 100%;
  top: 0;
  background-image: none;
  background: #ffffff;
  border-color: #ffffff;
  color: #3f587d;
}

body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked {
  background: #3f587d;
  border-color: #3f587d;
  color: #ffffff;
}

body > #content > .tabbable #practices-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked + span,
body > #content > .tabbable #monitoring-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked + span {
  color: #ffffff;
}

body > #content > .tabbable #practices-tab .area-graphs,
body > #content > .tabbable #monitoring-tab .area-graphs,
body #report-tab .area-graphs {
  width: 50%;
  flex-grow: 1;
}

body #pre-report-tab h3,
body #report-tab h3,
body #export-tab h3 {
  margin-bottom: 1rem;
}

body #pre-report-tab #report-inputs {
  width: fit-content;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
}

body #pre-report-tab .verify-section {
  margin-bottom: 60px;
}

body #pre-report-tab .verify-section h3 {
  margin-top: 1rem;
}

body #pre-report-tab .verify-section .form-group {
  width: fit-content;
  margin: 0;
}

body #pre-report-tab .verify-section .info-list {
  text-align: left;
  padding: 0.25rem 0.5rem;
}

body #pre-report-tab .verify-section .info-list ul,
body #pre-report-tab .verify-section .info-list a,
body #pre-report-tab .verify-section .info-list p {
  margin: 0;
}

body #pre-report-tab .verify-section .info-list > strong {
  display: none;
}

body #pre-report-tab .verify-section .info-list ul {
  margin-bottom: 10px;
}

body #pre-report-tab .verify-section .info-list a {
  margin: 5px 0;
}

body .gauge-parent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body .gauge-parent .gauge-plots {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  width: fit-content;
  min-width: 400px;
  min-height: 200px;
}

body .gauge-parent .gauge-plots #static-gauge-colours svg g.tick-value text {
  font-size: 15px;
}

body .gauge-parent .gauge-text-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 50%;
  text-align: center;
  top: 50%;
}

body .gauge-parent .gauge-text-container p {
  font-size: 15px;
  line-height: 21px;
  font-family: "Clear Sans Regular";
  margin: 0;
}

body .gauge-parent .gauge-text-container p.empty {
  padding-top: 10px;
}

body .gauge-parent .gauge-text-container span {
  font-size: 25px;
  line-height: 34px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body .gauge-parent .gauge-text-container span {
    font-size: 22.5px;
  }
}

@media (max-width: 480px) {
  body .gauge-parent .gauge-text-container span {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  body .gauge-parent .gauge-text-container span {
    font-size: 16.2px;
  }
}

body .gauge-parent .area-graph-warning {
  border: 2px solid #a0bde8;
  border-radius: 5px;
  background: #fafaf8;
  padding: 0.5rem 1rem;
  align-items: center;
  display: flex;
  margin-bottom: 1rem;
}

body .gauge-parent .area-graph-warning i {
  font-size: 40px;
  color: #ff4e00;
  margin-right: 1rem;
}

body .gauge-parent .area-graph-warning.hide-triangle i {
  display: none;
}

body .gauge-parent .area-graph-warning p {
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
  margin: 0;
  color: #384246;
}

@media (max-width: 800px) {
  body .gauge-parent .area-graph-warning p {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body .gauge-parent .area-graph-warning p {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body .gauge-parent .area-graph-warning p {
    font-size: 12.393px;
  }
}

body .gauge-plot,
body .area-graph-warning {
  max-width: 400px;
}

body .steps-to-improve .steps-inputs {
  gap: 0.5rem;
}

body .steps-to-improve .steps-inputs > .form-group {
  width: 100%;
  min-width: 300px;
}

body .steps-to-improve .shiny-input-checkboxgroup {
  max-width: unset;
  width: fit-content;
}

body #report-tab .area-tile > .flex-row {
  gap: 2rem;
}

body.quarto-light a,
body #report-tab a {
  color: #004b7a;
}

body.quarto-light ul,
body #report-tab ul {
  margin: 0;
}

body.quarto-light #vessel-info,
body #report-tab #vessel-info {
  gap: 0.5rem;
}

body.quarto-light #vessel-info p,
body #report-tab #vessel-info p {
  margin: 0;
}

body.quarto-light .thick-overline,
body #report-tab .thick-overline {
  border-top: 2px solid #3f587d;
  margin-bottom: 0.5rem;
  padding-top: 0.25rem;
}

body.quarto-light .thin-overline,
body #report-tab .thin-overline {
  border-top: 1px solid #3f587d;
  padding-top: 0.25rem;
}

body.quarto-light .report-row,
body #report-tab .report-row {
  display: grid;
  grid-template-columns: 200px auto;
  gap: 20px;
}

body.quarto-light .area-section,
body.quarto-light #risk-zone-section,
body.quarto-light #vessel-info,
body #report-tab .area-section,
body #report-tab #risk-zone-section,
body #report-tab #vessel-info {
  margin-bottom: 2rem;
}

body.quarto-light .area-graphs,
body #report-tab .area-graphs {
  width: 100%;
  margin-bottom: 2rem;
}

body.quarto-light .area-graphs .area-graph-warning i,
body #report-tab .area-graphs .area-graph-warning i {
  font-size: 30px;
  margin-right: 0.5rem;
}

body.quarto-light .area-graphs .plot-parent,
body #report-tab .area-graphs .plot-parent {
  margin: 0 0 1rem 0;
}

body.quarto-light .form-group.shiny-input-radiogroup,
body.quarto-light .form-group.shiny-input-radiogroup .shiny-options-group,
body #report-tab .form-group.shiny-input-radiogroup,
body #report-tab .form-group.shiny-input-radiogroup .shiny-options-group {
  width: fit-content;
}

body.quarto-light .form-group.shiny-input-radiogroup .radio,
body.quarto-light .form-group.shiny-input-radiogroup .checkbox,
body #report-tab .form-group.shiny-input-radiogroup .radio,
body #report-tab .form-group.shiny-input-radiogroup .checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  color: #384246;
  gap: 5px;
  width: 100%;
  min-width: 300px;
  border: 1px solid #e0e2dc;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 5px;
  cursor: pointer;
}

body.quarto-light .form-group.shiny-input-radiogroup .radio label,
body.quarto-light .form-group.shiny-input-radiogroup .checkbox label,
body #report-tab .form-group.shiny-input-radiogroup .radio label,
body #report-tab .form-group.shiny-input-radiogroup .checkbox label {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

body.quarto-light .form-group.shiny-input-radiogroup input[type="checkbox"],
body.quarto-light .form-group.shiny-input-radiogroup input[type="radio"],
body #report-tab .form-group.shiny-input-radiogroup input[type="checkbox"],
body #report-tab .form-group.shiny-input-radiogroup input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  height: 1.2em;
  width: 1.2em;
  border: 1px solid #a3a59e;
  background: #ffffff;
  position: relative;
  border-radius: 2px;
  --check-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

body.quarto-light .form-group.shiny-input-radiogroup input[type="checkbox"]:checked,
body.quarto-light .form-group.shiny-input-radiogroup input[type="radio"]:checked,
body #report-tab .form-group.shiny-input-radiogroup input[type="checkbox"]:checked,
body #report-tab .form-group.shiny-input-radiogroup input[type="radio"]:checked {
  background-color: #3f587d;
  border-color: #3f587d;
  background-image: var(--check-image);
  background-position: center;
  background-size: contain;
}

body.quarto-light .zones-container > p,
body #report-tab .zones-container > p {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #3f587d;
}

body.quarto-light .zones-container .zones-toggle .shiny-options-group,
body #report-tab .zones-container .zones-toggle .shiny-options-group {
  height: fit-content;
  width: fit-content;
  padding: 5px;
  background-color: #ffffff;
  border-radius: 15px;
  margin: 0;
  gap: 10px;
  border: 3px solid #3f587d;
}

body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline {
  position: relative;
  height: fit-content;
  max-height: unset;
  padding: 5px 10px;
  flex: 1 1 0;
}

body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
  position: relative;
  color: #3f587d;
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline span,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline span {
    font-size: 12.96px;
  }
}

body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline input,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input {
  position: absolute;
  width: 100%;
  border-radius: 10px;
  height: 100%;
  top: 0;
  background-image: none;
  background: #ffffff;
  border-color: #ffffff;
  color: #3f587d;
}

body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked {
  background: #3f587d;
  border-color: #3f587d;
  color: #ffffff;
}

body.quarto-light .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked + span,
body #report-tab .zones-container .zones-toggle .shiny-options-group .radio-inline input:checked + span {
  color: #ffffff;
}

body.quarto-light .threatened-species .threatened-link,
body #report-tab .threatened-species .threatened-link {
  margin-bottom: 1rem;
}

body.quarto-light .threatened-species .threatened-link i,
body #report-tab .threatened-species .threatened-link i {
  margin-left: 0.5rem;
  color: #004b7a;
}

body.quarto-light .threatened-species .threatened-table,
body #report-tab .threatened-species .threatened-table {
  margin: 1rem 0 0;
}

body.quarto-light .threatened-species .threatened-table > .flex-row,
body #report-tab .threatened-species .threatened-table > .flex-row {
  align-items: center;
  gap: 0.5rem;
}

body.quarto-light .threatened-species .threatened-table > .flex-row h5,
body #report-tab .threatened-species .threatened-table > .flex-row h5 {
  font-size: 18px;
  line-height: 24px;
  font-family: "Clear Sans Bold";
  margin: 0;
}

@media (max-width: 800px) {
  body.quarto-light .threatened-species .threatened-table > .flex-row h5,
body #report-tab .threatened-species .threatened-table > .flex-row h5 {
    font-size: 16.2px;
  }
}

@media (max-width: 480px) {
  body.quarto-light .threatened-species .threatened-table > .flex-row h5,
body #report-tab .threatened-species .threatened-table > .flex-row h5 {
    font-size: 14.58px;
  }
}

@media (max-width: 380px) {
  body.quarto-light .threatened-species .threatened-table > .flex-row h5,
body #report-tab .threatened-species .threatened-table > .flex-row h5 {
    font-size: 13.122px;
  }
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table *,
body #report-tab .threatened-species .threatened-table .threatened-species-table * {
  color: #384246;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-table .rt-thead .rt-th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-table,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-table .rt-thead .rt-th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-table {
  border: none;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-table,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-table {
  border-top: 2px solid #3f587d;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead tr th {
  padding: 0.25rem 0;
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
  font-size: 17px !important;
  font-weight: normal;
}

@media (max-width: 800px) {
  body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead tr th {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead tr th {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead tr th {
    font-size: 12.393px;
  }
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead tr th,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead tr th {
  width: 50%;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-th-inner,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-th-inner,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-th-inner,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-th-inner {
  height: fit-content;
  margin-top: auto;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-th-inner .rt-text-content,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-th-inner .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead .rt-tr .rt-th .rt-th-inner .rt-text-content,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead .rt-tr .rt-th .rt-th-inner .rt-text-content {
  padding: 0;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-tbody .rt-tr .rt-td,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-tbody tr td,
body.quarto-light .threatened-species .threatened-table .threatened-species-table tbody .rt-tr .rt-td,
body.quarto-light .threatened-species .threatened-table .threatened-species-table tbody tr td,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-tbody .rt-tr .rt-td,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-tbody tr td,
body #report-tab .threatened-species .threatened-table .threatened-species-table tbody .rt-tr .rt-td,
body #report-tab .threatened-species .threatened-table .threatened-species-table tbody tr td {
  padding: 0.25rem 0;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-tbody .rt-tr .rt-td p,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-tbody tr td p,
body.quarto-light .threatened-species .threatened-table .threatened-species-table tbody .rt-tr .rt-td p,
body.quarto-light .threatened-species .threatened-table .threatened-species-table tbody tr td p,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-tbody .rt-tr .rt-td p,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-tbody tr td p,
body #report-tab .threatened-species .threatened-table .threatened-species-table tbody .rt-tr .rt-td p,
body #report-tab .threatened-species .threatened-table .threatened-species-table tbody tr td p {
  margin: 0;
}

body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-table .rt-thead .rt-th,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-thead,
body.quarto-light .threatened-species .threatened-table .threatened-species-table .rt-tbody .rt-tr,
body.quarto-light .threatened-species .threatened-table .threatened-species-table thead,
body.quarto-light .threatened-species .threatened-table .threatened-species-table tbody tr,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-table .rt-thead .rt-th,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-thead,
body #report-tab .threatened-species .threatened-table .threatened-species-table .rt-tbody .rt-tr,
body #report-tab .threatened-species .threatened-table .threatened-species-table thead,
body #report-tab .threatened-species .threatened-table .threatened-species-table tbody tr {
  border-bottom: 1px solid #3f587d;
}

body.quarto-light #report-resources-parent ul li.white-bullet::marker,
body #report-tab #report-resources-parent ul li.white-bullet::marker {
  color: transparent;
}

body.quarto-light #report-export-parent,
body #report-tab #report-export-parent {
  background: #fafaf8;
  padding: 1rem;
  gap: 3rem;
  margin: 2rem 0 1rem 0;
}

body.quarto-light #report-export-parent div:first-child,
body #report-tab #report-export-parent div:first-child {
  width: 50%;
  flex-grow: 1;
}

body.quarto-light #report-export-parent div:first-child span,
body #report-tab #report-export-parent div:first-child span {
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body.quarto-light #report-export-parent div:first-child span,
body #report-tab #report-export-parent div:first-child span {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body.quarto-light #report-export-parent div:first-child span,
body #report-tab #report-export-parent div:first-child span {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body.quarto-light #report-export-parent div:first-child span,
body #report-tab #report-export-parent div:first-child span {
    font-size: 12.393px;
  }
}

body.quarto-light #report-export-parent div:first-child p,
body #report-tab #report-export-parent div:first-child p {
  margin: 0;
}

body.quarto-light #report-export-parent div:last-child,
body #report-tab #report-export-parent div:last-child {
  justify-content: space-evenly;
  gap: 0.5rem;
}

body.quarto-light #report-export-parent div:last-child a,
body.quarto-light #report-export-parent div:last-child button,
body #report-tab #report-export-parent div:last-child a,
body #report-tab #report-export-parent div:last-child button {
  padding: 0.25rem 1rem;
  width: 100%;
  min-width: 220px;
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
  color: #3f587d !important;
}

@media (max-width: 800px) {
  body.quarto-light #report-export-parent div:last-child a,
body.quarto-light #report-export-parent div:last-child button,
body #report-tab #report-export-parent div:last-child a,
body #report-tab #report-export-parent div:last-child button {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body.quarto-light #report-export-parent div:last-child a,
body.quarto-light #report-export-parent div:last-child button,
body #report-tab #report-export-parent div:last-child a,
body #report-tab #report-export-parent div:last-child button {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body.quarto-light #report-export-parent div:last-child a,
body.quarto-light #report-export-parent div:last-child button,
body #report-tab #report-export-parent div:last-child a,
body #report-tab #report-export-parent div:last-child button {
    font-size: 12.393px;
  }
}

body.quarto-light #report-export-parent div:last-child a i,
body.quarto-light #report-export-parent div:last-child button i,
body #report-tab #report-export-parent div:last-child a i,
body #report-tab #report-export-parent div:last-child button i {
  display: none;
}

body.quarto-light .risk-zone-summary,
body #report-tab .risk-zone-summary {
  margin-top: 1.5rem;
}

body.quarto-light .risk-zone-summary p.p-h4,
body.quarto-light .risk-zone-summary h4,
body #report-tab .risk-zone-summary p.p-h4,
body #report-tab .risk-zone-summary h4 {
  font-size: 18px;
  line-height: 24px;
  font-family: "Clear Sans Bold";
  margin: 0;
}

@media (max-width: 800px) {
  body.quarto-light .risk-zone-summary p.p-h4,
body.quarto-light .risk-zone-summary h4,
body #report-tab .risk-zone-summary p.p-h4,
body #report-tab .risk-zone-summary h4 {
    font-size: 16.2px;
  }
}

@media (max-width: 480px) {
  body.quarto-light .risk-zone-summary p.p-h4,
body.quarto-light .risk-zone-summary h4,
body #report-tab .risk-zone-summary p.p-h4,
body #report-tab .risk-zone-summary h4 {
    font-size: 14.58px;
  }
}

@media (max-width: 380px) {
  body.quarto-light .risk-zone-summary p.p-h4,
body.quarto-light .risk-zone-summary h4,
body #report-tab .risk-zone-summary p.p-h4,
body #report-tab .risk-zone-summary h4 {
    font-size: 13.122px;
  }
}

body.quarto-light .risk-zone-summary p,
body #report-tab .risk-zone-summary p {
  margin: 0;
}

body #export-tab .radio,
body #export-tab .checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  color: #384246;
  gap: 5px;
  width: 100%;
  min-width: 300px;
  border: 1px solid #e0e2dc;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 5px;
  cursor: pointer;
}

body #export-tab .radio label,
body #export-tab .checkbox label {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

body #export-tab input[type="checkbox"],
body #export-tab input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  height: 1.2em;
  width: 1.2em;
  border: 1px solid #a3a59e;
  background: #ffffff;
  position: relative;
  border-radius: 2px;
  --check-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

body #export-tab input[type="checkbox"]:checked,
body #export-tab input[type="radio"]:checked {
  background-color: #3f587d;
  border-color: #3f587d;
  background-image: var(--check-image);
  background-position: center;
  background-size: contain;
}

body #export-tab #export-inputs-grid {
  display: grid;
  grid-template-areas: "a b" "c d" "e e";
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  width: fit-content;
}

body #export-tab #export-grid {
  gap: 1rem;
  display: grid;
  grid-template-areas: ". . ." "a b c";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}

body #export-tab #export-grid .form-group,
body #export-tab #export-grid button,
body #export-tab #export-grid a {
  max-width: unset;
  width: 100%;
}

body #export-tab #export-grid > *:first-child {
  grid-area: a;
}

body #export-tab #export-grid > *:nth-child(2) {
  grid-area: b;
}

body #export-tab #export-grid > *:nth-child(3) {
  grid-area: c;
}

body #export-tab #export-grid a {
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body #export-tab #export-grid a {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body #export-tab #export-grid a {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body #export-tab #export-grid a {
    font-size: 12.393px;
  }
}

body #export-tab #export-grid a i {
  display: none;
}

body #report-tab .current-list,
body #export-tab .current-list, body.quarto-light .current-list {
  margin-bottom: 2rem;
}

body #report-tab .current-list ul,
body #export-tab .current-list ul, body.quarto-light .current-list ul {
  padding-left: 15px;
}

body #report-tab .current-list > span,
body #export-tab .current-list > span, body.quarto-light .current-list > span {
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body #report-tab .current-list > span,
body #export-tab .current-list > span, body.quarto-light .current-list > span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body #report-tab .current-list > span,
body #export-tab .current-list > span, body.quarto-light .current-list > span {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  body #report-tab .current-list > span,
body #export-tab .current-list > span, body.quarto-light .current-list > span {
    font-size: 12.96px;
  }
}

body.quarto-light .info-button {
  pointer-events: none;
  display: none;
}

body.quarto-light hr {
  border-color: #3f587d;
  opacity: 1;
  margin: 2rem 0;
}

body.quarto-light thead tr th,
body.quarto-light li,
body.quarto-light .rt-text-content,
body.quarto-light strong,
body.quarto-light a,
body.quarto-light span,
body.quarto-light p {
  font-size: 17px;
}

body.quarto-light strong {
  font-family: "Clear Sans Bold";
}

body.quarto-light .p-h1 {
  line-height: 54px;
  font-family: ZillaSlab;
  font-size: 35px;
  font-weight: 500;
}

body.quarto-light .p-h2 {
  line-height: 30px;
  margin-bottom: 0.5rem;
  font-size: 25px;
  font-family: "Clear Sans Bold";
}

body.quarto-light .p-h3 {
  font-size: 20px;
  line-height: 22px;
}

body.quarto-light .p-h4 {
  font-size: 17px !important;
}

body.quarto-light .section-header {
  margin-bottom: 0;
}

body.quarto-light .threatened-table > span p {
  margin: 0;
}

body.quarto-light .threatened-table .threatened-species-table thead tr th,
body.quarto-light .p-h4 {
  margin-top: 0.5rem;
}

body.quarto-light #report-resources-parent .p-h2 {
  font-family: "Clear Sans Bold";
}

body.quarto-light .threatened-table table {
  border-top: 2px solid #3f587d;
}

body.quarto-light .gauge-text-container {
  width: 280px;
}

body.quarto-light .gauge-text-container .gauge-text p {
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Regular";
}

body.quarto-light .gauge-text-container .gauge-text span {
  font-size: 20px;
  line-height: 27px;
  font-family: "Clear Sans Bold";
}

@media (max-width: 800px) {
  body.quarto-light .gauge-text-container .gauge-text span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body.quarto-light .gauge-text-container .gauge-text span {
    font-size: 14.4px;
  }
}

@media (max-width: 380px) {
  body.quarto-light .gauge-text-container .gauge-text span {
    font-size: 12.96px;
  }
}

body.quarto-light .gauge-text-container .area-graph-warning {
  min-height: 55px;
}

body.quarto-light .gauge-text-container .area-graph-warning p {
  margin: 0;
  text-wrap: wrap;
}

body.quarto-light .gauge-text-container .area-graph-warning i {
  font-size: 30px;
}

body.quarto-light .zone-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

body.quarto-light .zone-row .zone-column {
  gap: 10px;
}

body.quarto-light .zone-row .zone-column .current-list {
  margin: 0;
}

body.quarto-light .zone-row .zone-column .current-list .p-h3 {
  line-height: 27px;
}

body.quarto-light .zone-row > ul {
  margin: 0;
}

body.quarto-light .ul {
  padding-left: 25px;
}

body.quarto-light .plot-parent {
  margin: 0;
}

body.quarto-light .plot-parent img {
  height: 200px;
}

body.quarto-light #report-map-container {
  position: relative;
  width: fit-content;
}

body.quarto-light #report-map-container .risk-map-legend {
  position: absolute;
  top: 1.5rem;
  right: 0.5rem;
  width: fit-content;
  border-radius: 5px;
  box-shadow: 0px 3px 6px #00000029;
  min-width: 250px;
}

body.quarto-light #report-map-container img {
  max-height: 400px;
}

body.quarto-light .summary-table-desc * {
  color: #384246;
}

body.quarto-light .summary-table-desc .rt-table .rt-thead .rt-th,
body.quarto-light .summary-table-desc .rt-table {
  border: none;
}

body.quarto-light .summary-table-desc .rt-table {
  border-top: 2px solid #3f587d;
}

body.quarto-light .summary-table-desc .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc .rt-thead tr th,
body.quarto-light .summary-table-desc thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc thead tr th {
  padding: 0.25rem 0;
  font-size: 17px;
  line-height: 23px;
  font-family: "Clear Sans Bold";
  font-size: 17px !important;
  font-weight: normal;
}

@media (max-width: 800px) {
  body.quarto-light .summary-table-desc .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc .rt-thead tr th,
body.quarto-light .summary-table-desc thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc thead tr th {
    font-size: 15.3px;
  }
}

@media (max-width: 480px) {
  body.quarto-light .summary-table-desc .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc .rt-thead tr th,
body.quarto-light .summary-table-desc thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc thead tr th {
    font-size: 13.77px;
  }
}

@media (max-width: 380px) {
  body.quarto-light .summary-table-desc .rt-thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc .rt-thead tr th,
body.quarto-light .summary-table-desc thead .rt-tr .rt-th .rt-text-content,
body.quarto-light .summary-table-desc thead tr th {
    font-size: 12.393px;
  }
}

body.quarto-light .summary-table-desc .rt-thead tr th,
body.quarto-light .summary-table-desc thead tr th {
  width: 50%;
}

body.quarto-light .summary-table-desc .rt-thead .rt-tr .rt-th .rt-th-inner,
body.quarto-light .summary-table-desc thead .rt-tr .rt-th .rt-th-inner {
  height: fit-content;
  margin-top: auto;
}

body.quarto-light .summary-table-desc .rt-thead .rt-tr .rt-th .rt-th-inner .rt-text-content,
body.quarto-light .summary-table-desc thead .rt-tr .rt-th .rt-th-inner .rt-text-content {
  padding: 0;
}

body.quarto-light .summary-table-desc .rt-tbody .rt-tr .rt-td,
body.quarto-light .summary-table-desc .rt-tbody tr td,
body.quarto-light .summary-table-desc tbody .rt-tr .rt-td,
body.quarto-light .summary-table-desc tbody tr td {
  padding: 0.25rem 0;
}

body.quarto-light .summary-table-desc .rt-tbody .rt-tr .rt-td p,
body.quarto-light .summary-table-desc .rt-tbody tr td p,
body.quarto-light .summary-table-desc tbody .rt-tr .rt-td p,
body.quarto-light .summary-table-desc tbody tr td p {
  margin: 0;
}

body.quarto-light .summary-table-desc .rt-table .rt-thead .rt-th,
body.quarto-light .summary-table-desc .rt-thead,
body.quarto-light .summary-table-desc .rt-tbody .rt-tr,
body.quarto-light .summary-table-desc thead,
body.quarto-light .summary-table-desc tbody tr {
  border-bottom: 1px solid #3f587d;
}

body.quarto-light .summary-table-desc .rt-table {
  border-top: none !important;
}

body.quarto-light .bold-n-normal {
  align-items: center;
  gap: 5px;
  margin: 0;
}

body.quarto-light .bold-n-normal * {
  margin: 0;
  text-wrap: wrap;
}

body.quarto-light .current-list .p-h3,
body.quarto-light .current-list .p-h4 {
  margin: 0;
}

body.quarto-light #report-definitions > .p-h1 {
  margin: 0;
}

body.quarto-light #report-definitions ul {
  margin-bottom: 20px;
}

body.quarto-light #report-definitions ul li .bold-n-normal {
  margin: 0;
  flex-wrap: nowrap;
}

body.quarto-light #report-definitions ul li .bold-n-normal .p-h4 {
  margin-bottom: auto;
}

body.quarto-light #user-inputs p {
  margin: 0;
}

body .page-nav-parent {
  margin-top: 70px;
}

#ss-connect-dialog {
  border-radius: 0.5rem !important;
  padding: 2em !important;
}

#ss-connect-dialog::before {
  color: #384246;
  font-weight: bold;
  font-size: 1.25rem;
}

#ss-connect-dialog a {
  text-decoration: none;
  margin-top: 30px !important;
}

#ss-connect-dialog a::before {
  content: "Refresh" !important;
  padding: 0.75em 2em;
  text-decoration: none;
  border-color: #3f587d;
  color: #ffffff;
  background-color: #3f587d;
}

#ss-connect-dialog a:hover::before {
  background-color: #ffffff;
  color: #3f587d;
  border: 2px solid #3f587d;
  text-decoration: none !important;
}

.current-list ul {
  padding-left: 2rem !important;
}

.download-loading-modal {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 2rem;
  box-shadow: 0px 3px 6px #00000029;
  gap: 1rem;
  z-index: 999;
  background: white;
}

.download-loading-modal.show-modal {
  display: flex;
}

.download-loading-modal p {
  margin: 0;
  font-weight: bold;
}

.download-loading-modal .report-loader {
  width: 100%;
  height: 1rem;
  display: inline-block;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.25) 75%, transparent 75%, transparent);
  font-size: 30px;
  background-size: 1em 1em;
  box-sizing: border-box;
  animation: barStripe 1s linear infinite;
}

@keyframes barStripe {
  0% {
    background-position: 1em 0;
  }
  100% {
    background-position: 0 0;
  }
}

p:empty {
  display: none;
}

#content .mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn {
  background-color: #3f587d;
}

#content .mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn * {
  color: #ffffff;
}

#content .mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn.active, #content .mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn.active:hover {
  background-color: #ffffff !important;
}

#content .mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn.active *, #content .mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn.active:hover * {
  color: #3f587d !important;
}

.instruction {
  background-color: #eff4fc;
  padding: 1rem;
}

@page {
  size: A4;
  margin: 10mm;
}

#intro-tab .form-group {
  width: fit-content;
}

@media (max-width: 800px) {
  body {
    width: 100vw !important;
  }
  .map {
    height: 80vw !important;
  }
  #map-cursor-coords {
    min-width: 0px !important;
    padding: 0px !important;
  }
  #export-inputs-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .maplibregl-ctrl button .maplibregl-ctrl-icon {
    width: 50% !important;
    height: 50% !important;
    margin: auto !important;
  }
  #risk_zone-table {
    margin-bottom: 15px !important;
  }
  #risk_zone-table .reactable.html-widget.html-widget-static-bound {
    box-shadow: 0px 5px 5px 0px lightgray;
  }
}

@media (max-width: 480px) {
  #ss-connect-dialog {
    width: 90vw !important;
  }
  .checkbox {
    min-width: 85vw !important;
  }
  .show-grid-parent {
    text-align: center;
  }
  .plotly {
    width: 80vw !important;
    height: 30vw !important;
    margin: auto !important;
  }
  .svg-container {
    width: 80vw;
    height: 30vw;
  }
  .gauge-text {
    width: 80% !important;
    margin: auto !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
  }
  .map-footer {
    display: block;
    text-align: center;
  }
  .mapbox-gl-draw_ctrl-draw-btn.mapbox-gl-draw_polygon.draw-control-custom-label {
    height: auto;
  }
  .mapbox-gl-draw_ctrl-draw-btn.mapbox-gl-draw_polygon.draw-control-custom-label .map-draw-btn {
    padding: 0;
  }
  .show-grid-parent {
    padding: 0 !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent {
    border: none !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .form-group.shiny-input-container {
    height: auto !important;
  }
  body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .input-group label, body > .tabbable #risk-zone-tab #risk-map-parent #map-file-upload-parent .input-group input {
    height: auto !important;
  }
}

@media (max-width: 800px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.81em;
  }
}

@media (max-width: 480px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.648em;
  }
}

@media (max-width: 380px) {
  span.legend-label, p#map-cursor-coords {
    font-size: 0.6156em;
  }
}

@media (max-width: 800px) {
  .maplibregl-ctrl-group button {
    height: 26.1px !important;
    width: 26.1px !important;
  }
}

@media (max-width: 480px) {
  .maplibregl-ctrl-group button {
    height: 20.88px !important;
    width: 20.88px !important;
  }
}

@media (max-width: 380px) {
  .maplibregl-ctrl-group button {
    height: 18.792px !important;
    width: 18.792px !important;
  }
}

@media (max-width: 800px) {
  .hide-on-mobile {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .hide-on-mobile {
    font-size: 0.72em;
  }
}

@media (max-width: 380px) {
  .hide-on-mobile {
    font-size: 0.684em;
  }
}

.custom-arrow-button:hover, .custom-arrow-button:focus, .custom-arrow-button:active, .custom-arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.arrow-left::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid white;
}

.arrow-right::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid white;
}

.pulse-button {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}
