/* General */

* {
  text-shadow: none !important;
}

body,
.ui-body-c {
  font-family: "ab_gilroyregular", Arial, sans-serif !important;
}

.flex-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

.col-center {
  align-items: center;
  display: flex;
}

.module__body {
  margin-bottom: 16px !important;
}

.container {
  width: 90% !important;
}

.chart-container {
  position: relative;
  overflow-x: scroll;
}

.chart-container canvas {
  min-height: 300px;
}

/* Headers */
h4 {
  line-height: 1.3em !important;
}

/* Superscript */

sup {
  font-size: 0.7em;
}

/* Utilities */

.font-small {
  font-size: 12px;
}

.rounded {
  border-radius: 12px !important;
}

.bold {
  font-weight: 700 !important;
}

.italic {
  font-style: italic;
}

.no-break {
  white-space: nowrap;
}

.underline {
  text-decoration: underline;
}

.white {
  color: white !important;
}

a.white {
  border-bottom-color: white !important;
}

.bg-purple {
  background-color: #382d95;
}

.bg-blue {
  background-color: #4eb2e1;
}

.bg-pink {
  background-color: #d33089;
}

.bg-green {
  background-color: #63d893;
}

.display-none {
  display: none;
}

/* Buttons */
button {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

button:focus,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.button-primary:hover,
.button-secondary:hover,
.social-icon__link:hover {
  text-decoration: none !important;
}

.button-primary:hover {
  color: white !important;
}

.button-secondary:hover {
  color: #382d95 !important;
}

.btn-group .button-primary {
  margin: 0 !important;
}

.btn-group .button-primary.selected {
  background-color: #6a63c7 !important;
}

.btn-group .button-primary:first-child {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.btn-group .button-primary:last-child {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.info-tooltip {
  margin-left: 2px;
  border-bottom: none !important;
}

/* Menus */
.primary-menu {
  overflow: hidden !important;
}

.side-menu .side-menu-nav a.button-secondary {
  display: inline-block;
  margin: 10px 0 0 26px;
}

/* Inputs */
.form-group {
  margin: 0 !important;
}

.form-control {
  min-height: 50px !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ui-shadow {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

label.ui-input-text {
  color: #3b3b3b;
  margin: 0 !important;
}

label.ui-select {
  font-family: "ab_gilroybold", Arial, sans-serif !important;
  margin: 5px 0 !important;
  padding: 10px;

}

.ui-select,
.ui-select>.ui-btn {
  font-family: "ab_gilroyregular", Arial, sans-serif !important;
  font-weight: 500 !important;
  width: 100%;
}

.text-output-label {
  margin: 10px;
  padding: 0;
}

.text-output {
  font-size: 14px;
  padding: 10px;
}

.ui-input-text {
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #3b3b3b !important;
  padding: 10px !important;
}

.ui-input-text,
.text-output {
  margin: 5px 0 !important;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Tables */
.result-table-container {
  overflow-x: scroll;
  position: relative;
  width: 100%;
}

table.result-table {
  font-size: 18px;
  width: 100%;
  border: #3c289b solid 1px;
}

table.result-table tr th {
  background: #413193;
  color: white;
  font-family: "ab_gilroybold", Arial, sans-serif;
  border-right: white solid 1px;
}

table.result-table tr th:first-child,
table.result-table tr td:first-child {
  padding: 5px 7px;
  width: 50%;
}

table.result-table tr th:nth-child(2),
table.result-table tr td:nth-child(2),
table.result-table tr th:nth-child(3),
table.result-table tr td:nth-child(3) {
  text-align: center;
}

table.result-table tr th,
table.result-table tr td {
  padding: 5px 7px;
  width: 25%;
}

table.result-table tr td {
  font-size: 16px;
  border-bottom: #3c289b solid 1px;
}



.figure-footnotes {
  font-size: 0.7em;
  line-height: 1.5em;
}

/* Info text */
.module__stat {
  display: block !important;
}

.module__stat h1 {
  display: inline-block;
  font-size: 3em !important;
  margin-bottom: 0 !important;
}

/* Export */
#exportContainer {
  display: none;
}

/* Edge modal fix */
.modal-content {
  background-clip: border-box;
  border: none !important;
}

/* Stacked modal fix */
.modal-backdrop~.modal-backdrop {
  z-index: 1499 !important;
}

.modal.show~.modal.show {
  z-index: 1500 !important;
}

.module__body.mb-lg-0,
.module__body.mb-xl-0,
.module__body.mb-0,
.module__body.mt-xl-0 {
  margin-bottom: 0 !important;
}