@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

body {
  background: #f2f2f2;
  font-size: 14px;
  font-family: Open Sans, Helvetica, sans-serif;
}

#all-body {
  min-width: 200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Open Sans, Helvetica, sans-serif;
}

h1 {
  color: #333333;
  font-size: 30px;
  font-weight: 600;
  text-shadow: none;
  margin-bottom: 20px;
}

h2 {
  color: #333333;
  font-size: 24px;
  font-weight: 600;
}

h3 {
  color: #333333;
  font-size: 21px;
  font-weight: 600;
}

h4 {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
}

h5 {
  color: #333333;
  font-size: 15px;
  font-weight: 700;
}

h6 {
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.page-title {
  background-image: url(../img/Pattern5_transparent.png);
  margin-bottom: 0;
  padding: 30px 50px;
  color: white;
}

#seeker_search h2 {
  margin-bottom: 10px !important;
}

h2.filter-head {
  text-align: left;
  font-size: 1em;
}

legend {
  font-size: 21px;
  font-weight: 500;
  color: #333333;
}

label {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
}

.hidden {
  display: none;
}

/****** BACKGROUND PATTERN ******/

.hex-pattern {
  background-color: #f2f2f2;
  background-image: url('../img/Hexagon-background.png');
  background-size: 50px 57px;
}

span.asteriskField {
  color: #b94a48;
}

/****** BANNER ******/

.banner {
  background-color: #eacb9a;
}

.banner p {
  margin-bottom: 0;
  font-weight: 600;
}

.banner a {
  color: #0058a7;
}

.alert {
  margin-bottom: 0;
  padding: 1rem 0;
}

/****** END OF BANNER ******/

/****** HEADER ******/

.navbar {
  padding-bottom: 0;
}

.navbar .nav > .active > a {
  color: #555555;
  text-decoration: none;
  background-color: #e5e5e5;
}

#niddkHeader-mobile {
  display: none;
}

#niddkHeader-desktop {
  display: block;
  float: left;
  padding-top: 10px;
}

#niddkHeader-desktop a {
  color: white;
  text-decoration: none;
}

#niddkHeader-desktop a:hover {
  text-decoration: underline;
}

#mainMenuNavigation.navbar-collapse .container {
  max-width: 100%;
  padding: 0;
  display: block;
}

#mainMenuNavigation {
  background-color: #1f3479;
  z-index: 2;
}

#userMenuNavigation {
  background-color: #16819b;
  justify-content: space-between;
  z-index: 2;
}

#userMenuNavigation .centered {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-item {
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 500;
}

#mainMenuNavigation .nav-item {
  padding-left: 0;
  padding-right: 0;
}

#mainMenuNavigation .toggle-mobile {
  display: none;
}

.nav-item i {
  padding-right: 7px;
}

.navbar-nav .nav-link {
  color: white;
}

.nav-link {
  display: inline-block;
}

.dropdown-item {
  color: #0a61b9;
  white-space: normal;
}

.dropdown-menu-ul {
  list-style: none;
  padding-left: 0;
  width: 100%;
}

.dropdown-menu {
  border-radius: 0;
  border: none;
  box-shadow: 0 1rem 1.75rem -1rem rgba(0, 0, 0, 0.6);
  text-align: left;
  width: 100%;
}

.dropdown-menu > li > a {
  padding: 5px 20px;
  position: relative;
}

.dropdown-menu li:hover {
  background-color: white;
  box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
  color: #000;
  z-index: 1;
}

/* Overwrites dropdown.scss default */
.dropdown-item:focus,
.dropdown-item:hover {
  color: #074685;
  background-color: transparent;
}

.dropdown-toggle.show::after {
  border-top: 0.3em solid transparent;
  border-bottom: 0.3em solid;
}

#mainMenuNavigation .dropdown-toggle[aria-expanded='true']:after {
  border-top: 0;
  border-bottom: 0.3em solid;
}

/****** END OF HEADER *******/

/****** MAIN NAV *******/

.js #menu-button {
  margin: 0.5em auto;
}

.current a {
  background: transparent;
}

.selectedNav a span.sub-arrow {
  border-color: #333 transparent transparent transparent;
}

/*****highlighting active tab******/

.selectedNav a {
  color: #333 !important;
  background-color: #fff !important;
  box-shadow: 0 1rem 1.75rem 0.3571428571rem rgba(0, 0, 0, 0.24);
  padding: 1em;
  padding-right: 24px;
  line-height: normal;
  font-size: 1.3em;
}

.selectedNav a .caret {
  border-top-color: #333333 !important;
  border-bottom-color: #333333 !important;
}

/********** ON PAGE TAB NAV **************/

#my-base-navbar {
  margin-bottom: 20px;
}

#my-base-navbar .navbar-nav {
  flex-direction: row;
}

#my-base-navbar a,
#sample a,
#data a {
  color: #fff;
  background: #213882;
  text-decoration: none;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
  display: block;
  padding: 10px 15px;
}

#my-base-navbar .selected a,
#data.active a,
#sample.active a {
  background-color: #1363ae;
  background-image: none;
}

#my-base-navbar a:hover,
#my-base-navbar a:focus,
#my-base-navbar a:active,
#sample a:hover,
#data a:hover,
#sample a:focus,
#data a:focus,
#sample a:active,
#data a:active {
  color: #333 !important;
  background: #eee;
}

.nav-tabs .nav-item {
  padding: 0;
}

.nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
  text-decoration: none;
  background-color: #eee;
}

.nav-tabs .nav-link {
  margin-bottom: -2px;
}

/****** SIDE NAV BAR - mimics NIDDK *****/

.side-nav {
  background: #fff;
  display: block;
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
}

.side-nav a {
  color: black;
}

.side-nav > div {
  background: #294484;
  color: #fff;
  display: block;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 1.2857142857rem;
  line-height: 1.3;
  padding: 0.7142857143rem;
}

.side-nav > li {
  border-bottom: 1px solid #d2d2d2;
  display: block;
  margin: 0;
  position: relative;
}

.side-nav > li > div {
  position: relative;
}

.side-nav > li > :first-child:not(div),
.side-nav > li > div :first-child {
  display: block;
  line-height: 1.4;
  padding: 0.7142857143rem;
  width: calc(100% - 3.21429rem);
}

.side-nav > li > :first-child:not(div):after {
  background: #f5f5f5;
  bottom: 0;
  content: '';
  display: block;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 3.2142857143rem;
}

.side-nav > li button {
  background: #f5f5f5;
  bottom: 0;
  content: '';
  display: block;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 3.2142857143rem;
  padding: 0;
}

.side-nav > li button[aria-expanded='false']::after {
  color: #000;
  font-family: 'Material Icons';
  content: '\e145';
  font-size: 25px;
}

.side-nav > li button[aria-expanded='true']::after {
  color: #000;
  font-family: 'Material Icons';
  content: '\e15b';
  font-size: 25px;
}

.side-nav > li a:hover {
  background: #e6e6e6;
  text-decoration: none;
}

.side-nav ul {
  background: #f6f6f9;
  border-top: 1px solid #d2d2d2;
  list-style: disc outside;
  padding: 0.2857142857rem 0 0.2857142857rem 0.7142857143rem;
}

.side-nav ul li {
  margin: 0.3em 0 0.3em 1.3em;
}

.side-nav ul a {
  display: block;
  line-height: 1.4em;
  padding: 0.2857142857rem 0.7142857143rem 0.2857142857rem 0;
}

.side-nav ul a:hover {
  background: transparent;
  text-decoration: underline;
}

/****** END OF SIDE NAV BAR *****/

/****** BODY ******/

.breadcrumb {
  border: none;
  background-color: transparent;
  padding: 0 1em;
  margin-top: 20px;
}

.breadcrumb a {
  font-weight: bold;
}

#crumbs {
  background-color: transparent;
  box-shadow: none;
  padding-top: 20px;
  margin-top: 0;
  margin-bottom: 10px;
}

span.current-bread {
  font-weight: bold;
}

.content {
  padding-bottom: 50px;
}

.content .container {
  border-radius: 0;
  border: none;
  box-shadow: 0 0.1071428571rem 1.1428571429rem rgba(0, 0, 0, 0.1);
  /* margin-bottom: 50px; */
}

.row {
  padding: 30px 20px;
}

.homepage .row {
  padding: 0;
}

.content .container > .row {
  margin: 0;
}

.col-md-9.row {
  padding: 0 30px;
}

.homepage {
  font-size: 1em;
  line-height: 1.8em;
  color: #575757;
}

div#s2id_id_study {
  width: 100% !important;
}

.tabbable {
  margin-bottom: 20px;
}

input#id_create,
#id_edit,
#id_delete {
  margin-left: 10px;
  width: 100%;
}

textarea::placeholder {
  font-style: italic;
}

.button-with-icon {
  background-color: #1568af;
  padding: 10px 25px 10px 15px;
  float: right;
}

button > i {
  padding-right: 15px;
}

.delete-button {
  float: right;
  background: none;
  border: none;
  color: #1568af;
  padding: 5px 30px 0;
}

#seeker_search input,
#seeker_search select {
  font-size: 1em !important;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #ffffff;
}

.table td {
  font-size: 0.9em;
  padding: 5px;
}

td.clickableCell {
  color: #006ebd;
}

.table th {
  padding: 10px 5px !important;
}

.cost-table th,
.cost-table td {
  vertical-align: middle !important;
}

/********* HOME PAGE **************/

.homepage.container {
  background-color: transparent;
  box-shadow: none;
  margin-bottom: 0;
}

.homepage .container {
  background-color: transparent;
  box-shadow: none;
}

.homepageContainer {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  gap: 30px 30px;
}

.covidHeader {
  display: flex;
  height: fit-content;
  background-color: #eacb9a;
  justify-content: center;
  color: #333;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.covidHeader ul {
  margin-bottom: 0;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

.covidHeader ul li {
  display: inline;
  font-weight: 600;
  margin-right: 1.5rem;
}

.covidHeader ul a:hover {
  text-decoration: underline;
}

.covidHeader a {
  color: #333;
  text-decoration: none;
}

.covidHeader i:last-child {
  padding-left: 5px;
}

.covidHeader a[aria-expanded='true'] .fa-chevron-down:before {
  content: '\f077';
}

#hero {
  display: flex;
  justify-content: center;
  height: fit-content;
  padding-bottom: 70px;
  background-image: url('/static/img/Header_v3_4.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

#heroContent {
  margin-top: 50px;
  box-shadow: none;
  background-color: transparent;
  margin-bottom: 0;
}

#heroContent h1 {
  font-weight: 600;
  font-size: 45px;
  margin: 0;
  color: white;
}

#heroContent p {
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 0;
  padding-left: 0.7rem;
}

#anniversary-container {
  display: flex;
  align-items: center;
}

#anniversary-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#anniversary-20 {
  font-size: 2rem;
  font-weight: 500;
  color: #1f3479;
  background-color: #e99f20;
  padding: 5px 0 !important;
  border-radius: 6px 6px 0 0;
  width: 2.9rem;
  margin-bottom: 0.15rem;
  box-shadow: 0px 0px 3px 2px rgb(132 255 224 / 42%);
}

#anniversary-years {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1rem;
  background-color: #1f3479;
  border-radius: 0 0 6px 6px;
  padding: 0 !important;
  width: 2.9rem;
  box-shadow: 0px 0px 3px 2px rgb(132 255 224 / 42%);
}

.slide-out {
  padding: 2px 20px 0px 20px;
  background-color: #e99f20;
  color: black;
  position: absolute;
  cursor: pointer;
  overflow: hidden;
  right: -33px;
  z-index: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  transform: rotate(270deg);
  top: 460px;
  right: -36px;
}

.slide-out p {
  font-weight: 600;
  font-size: 14px;
  line-height: 30px;
  margin: 0;
}

.slide-out:focus,
.slide-out:hover,
.slide-out:focus-within {
  background-color: #fff;
  right: 0;
  top: 390px;
  position: absolute;
  width: 300px;
  padding: 10px 20px;
  margin-left: 0;
  box-shadow: 0px 2px 4px #33333380;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transform-origin: 0;
  transform-origin: 0;
}

.slide-out-content {
  display: none;
}

.slide-out-content p {
  border-top: 1px solid silver;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8em;
  padding-top: 10px;
  margin-top: 5px;
  text-align: center;
}

.slide-out-content div {
  text-align: center;
  margin: 20px 0 10px;
}

.slide-out-content a {
  background-color: #e99f20;
  border-radius: 3px;
  padding: 5px 15px;
  color: black;
}

.slide-out-content a:hover {
  background-color: #d6921c;
}

.slide-out:focus .slide-out-content,
.slide-out:hover .slide-out-content,
.slide-out:focus-within .slide-out-content {
  display: block;
}

#header-search-input,
#header-search-btn {
  height: calc(1.5em + 0.75rem + 2px);
}

.loginBar {
  background-color: #19819c;
  height: 60px;
}

.loginBar h3 {
  margin: 0px;
}

.loginHeader {
  padding-top: 15px;
}

#whiteLine {
  border-bottom: 2px solid white;
  width: 100%;
  margin-bottom: 9px;
  margin-top: 9px;
}

.loginAttributes {
  display: flex;
  float: right;
  gap: 38px;
  padding-top: 5px;
  color: white;
}

.loginAttributes a {
  color: white;
}

.loginAttributes i {
  margin-right: 5px;
}

/********* NEW USER BUTTON **********/

.row.first {
  margin-top: -30px;
  margin-bottom: 30px;
}

.new-user-container {
  display: flex;
  justify-content: center;
}

.new-user-button {
  display: inline-flex;
  align-items: center;
  text-align: center;
  font-size: 18px;
}

.new-user-label {
  color: white;
  padding: 15px 45px 15px 25px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 0;
  font-weight: 600;
}

.new-user-label:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1f3479;
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: skew(-25deg);
  -ms-transform: skew(-25deg);
  transform: skew(-25deg);
  z-index: -1;
}

.new-user-action {
  font-size: 18px;
  color: black;
  padding: 15px 25px 15px 45px;
  margin-left: -26px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 0;
  background: transparent;
  border-radius: 0;
}

.new-user-action:hover,
.new-user-action:focus {
  color: black;
  text-decoration: underline;
}

.new-user-action:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e99f20;
  -webkit-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  transform-origin: right bottom;
  -webkit-transform: skew(-25deg);
  -ms-transform: skew(-25deg);
  transform: skew(-25deg);
  z-index: -1;
}

.new-user-action:hover:before,
.new-user-action:focus:before {
  background-color: #d6921c;
}

/****** END OF NEW USER BUTTON ******/

/********* CARDS **********/

.card-row {
  margin-right: 0;
  margin-left: 0;
}

.card {
  box-shadow: 0px 2px 4px #33333380;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 3px;
  margin-bottom: 30px;
  border: none;
}

.card h2 {
  margin: 0%;
}

.small-card {
  min-height: 400px;
}

.medium-card {
  min-height: 307px;
  height: 400px;
}

.big-card {
  height: 400px;
}

.xl-card {
  height: fit-content;
}

.xl-card .card-content p {
  margin-bottom: 0;
}

.card-header {
  background-image: url('../img/Pattern5.png');
  background-position: right;
  color: #fff;
  font-size: 24px;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 20px;
  padding-bottom: 22px;
  text-align: left;
  border-radius: 3px 3px 0px 0px;
  height: 80px;
  display: flex;
  align-items: center;
}

.card-header h2 {
  color: white;
}

.card-header.orange h2 {
  color: black;
}

.orange {
  background-color: #ffa100 !important;
}

.green {
  background-color: #29796f !important;
}

.blue {
  background-color: #10768d !important;
}

.purple {
  background-color: #60427f !important;
}

.light-blue {
  background-color: #16819b !important;
}

.text-light-blue {
  color: #16819b !important;
}

.navy {
  background-color: #1f3479 !important;
}

.card-content {
  padding-top: 0px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 25px;
}

.card-content h3 {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #808080;
}

.card-content p {
  font-weight: 400;
  margin-top: 8px;
}

.scroll-container {
  overflow: auto;
  height: 80%;
  margin-bottom: 1rem;
}

.graph canvas {
  width: 200px !important;
  height: 200px !important;
}

.graph-container {
  justify-content: center;
  display: flex;
  padding-right: 15px;
  align-items: center;
}

.row.card-row .col-lg-4:last-child .graph-container {
  margin-top: 5%;
}

.chart-text {
  text-align: center;
  padding: 0 1rem 0.5rem;
  line-height: 1.2rem;
}

.legend-container {
  margin: 10px 10px 10px 0;
}

#legend-container-disease {
  height: 260px;
}

.legend-container::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 11px;
}

.legend-container::-webkit-scrollbar:horizontal {
  height: 11px;
}

.legend-container::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 2px solid white;
  background-color: rgba(0, 0, 0, 0.3);
}

.legend-container::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 8px;
}

.siteStats {
  display: flex;
  justify-content: center;
  margin: 0 3rem 0 2rem;
  padding-bottom: 0.7rem;
  color: white;
}

.siteStats > div:first-child {
  width: 90%;
}

.siteStats > div:last-child {
  width: 100%;
}

.siteStats .circle {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  position: relative;
  top: 2rem;
  text-align: center;
  font-size: 3.7rem;
  padding-top: 3rem;
  margin-left: 30%;
  font-weight: 600;
}

.siteStats .circle.light-blue {
  margin-left: 30%;
}

.flag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 7rem;
  padding: 10%;
  position: relative;
  color: white;
  text-align: center;
  line-height: 1.2rem;
  font-size: 1.05rem;
}

.flag:after {
  content: ' ';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  right: -3rem;
  border-top: 3.5rem solid transparent;
  border-bottom: 3.5rem solid transparent;
  border-left: 3rem solid #16819b;
}

.flag.light-blue:before {
  content: ' ';
  bottom: 0;
  width: 0;
  height: 0;
  position: absolute;
  left: 0.15rem;
  border-top: 3.5rem solid transparent;
  border-bottom: 3.5rem solid transparent;
  border-left: 3rem solid white;
}

.flag.green {
  width: 100%;
}

.flag.green:after {
  border-left: 3rem solid #29796f;
  z-index: 1;
}

.flag.light-blue {
  padding-left: 20%;
}

.statCard .buttonContent {
  padding-bottom: 20px;
  padding-right: 20px;
}

#date {
  font-weight: 400;
  color: #6e6e6e;
}

/********* END OF CARDS **********/

.buttonContent {
  display: flex;
  justify-content: center;
}

.buttonContent a {
  display: flex;
  background-color: #e99f20;
  border-radius: 3px;
  color: #000;
  height: 30px;
  width: fit-content;
  padding-left: 20px;
  padding-right: 20px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.buttonContent a:hover {
  background-color: #d6921c;
  text-decoration: underline;
}

.buttonContent .request-button-div {
  display: flex;
  justify-content: space-around;
  width: 90%;
}

.buttonContent .request-button-div a {
  width: 170px;
  height: 35px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1.4em;
}

.homeSearch {
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 10px;
}

button.home-search {
  background: #1f3479;
  color: #fff;
  text-shadow: none;
  border-radius: 0;
  border: none;
  font-weight: bold;
}

input.home-search {
  border-radius: 0;
  padding: 10px;
  border: none;
}

button.home-search:hover,
button.home-search:focus {
  background: #fff;
  box-shadow: 0 1rem 1.75rem 0.3571428571rem rgba(0, 0, 0, 0.24);
}

.col-md-3 .login-button {
  background: #eeedeb;
  border: 1px solid #ccc;
  padding: 0 15px;
}

.col-md-3 .login-button:hover,
.col-md-3 .login-button:focus {
  background: #fff;
  box-shadow: 0 1rem 1.75rem 0.3571428571rem rgba(0, 0, 0, 0.24);
}

.col-md-3 .login-button h2 {
  font-size: 17.5px;
  color: #555;
  margin-top: 20px;
  margin-bottom: 20px;
}

a.col-md-3:hover,
a.col-md-3:focus {
  text-decoration: none !important;
}

.nopadding {
  padding: 0;
}

.noborders {
  border: none;
}

html {
  font-size: 100%;
}

.modal-with-iframe iframe {
  border: none;
}

.authorized-signatory-instructions {
  color: #b94a48;
}

.linkage-table th,
.linkage-table td {
  border: 1px solid black;
  text-align: center;
  padding: 0px 10px 0px 10px;
  white-space: break-spaces;
}

.linkage-table th {
  background-color: #e7e6e6;
}

.lead-times-table th,
.lead-times-table td {
  border: 1px solid black;
  white-space: break-spaces;
}

.lead-times-table th {
  background-color: #e7e6e6;
  padding: 5px !important;
}

.date_input {
  width: calc(100% - 27px);
  display: inline;
}

input[readonly] {
  background-color: #eee;
}

/****** REQUEST ACTION LINKS ******/

.rightLinks .dropdown-menu.show {
  width: 100%;
  flex-direction: column;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.rightLinks #dropdownMenuLink {
  border: 1px solid silver;
  background-color: white;
  color: black;
}

.rightLinks .dropdown-menu li:hover,
.rightLinks .dropdown-menu li:focus {
  background-color: white;
  box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
  color: #000;
  z-index: 1;
}

/***** FOOTER *****/

footer {
  background: #2a2b28;
}

.site-links {
  background: #3e403d;
  color: white;
}

.site-links .row:not(:first-child) {
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.site-links .menu-links {
  padding: 15px;
  width: 23%;
}

.site-links .slogan {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.menu-link {
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
}

.menu-list {
  padding-top: 20px;
  list-style-type: none;
  padding-inline-start: 0;
}

.menu-list li {
  line-height: 16px;
  padding-bottom: 10px;
}

footer .row {
  padding: 0 15px;
}

.sub-footer-left {
  color: #fff;
  padding: 2.5rem 0;
}

ul.horizontal-links {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

ul.horizontal-links:last-child {
  margin-bottom: 0;
}

ul.horizontal-links li {
  display: inline;
}

ul.horizontal-links li + li:before {
  content: ' | ';
  display: inline;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.sub-footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-footer-right img {
  max-width: 6rem;
}

.sub-footer-right a:last-child {
  margin-bottom: 0.7rem;
}

@media (max-width: 1200px) {
  .sub-footer-left {
    text-align: center;
    padding-bottom: 1rem;
  }

  .sub-footer-right {
    padding-bottom: 1.5rem;
  }
}

/********* NAV LANDING PAGE & CARDS **********/

.landing-page .row {
  padding-bottom: 0;
  display: none;
}

.landing-page .row:not(:first-child) {
  padding-top: 0;
}

.landing-page .card h2 {
  font-size: 20px;
}

.landing-page .card:hover,
.landing-page a:hover .card {
  box-shadow: 0px 2px 10px 2px #7a7a7a80;
  cursor: pointer;
}

.landing-page .card:focus,
.landing-page a:focus .card {
  box-shadow: 0px 2px 10px 2px #7a7a7a80;
  cursor: pointer;
  outline: 0.25rem solid #2491ff;
  outline-offset: 0;
}

.landing-page a:hover,
.landing-page a:focus {
  text-decoration: none;
}

.landing-page .card:hover .green,
.landing-page .card:focus .green {
  background-color: #1a5c54 !important;
}

.landing-page .card:hover .blue,
.landing-page .card:focus .blue {
  background-color: #086074 !important;
}

.landing-page .card:hover .purple,
.landing-page .card:focus .purple {
  background-color: #493064 !important;
}

.landing-page .card:hover .navy,
.landing-page .card:focus .navy {
  background-color: #122460 !important;
}

.landing-page .card > a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.landing-page .card-content {
  padding: 20px;
  margin-bottom: 10px;
  height: 130px;
  color: black;
  overflow: auto;
}

.landing-page .card-content a {
  position: relative;
  z-index: 1;
}

.landing-page .card-content a:hover {
  text-decoration: underline;
}

/********* END OF NAV LANDING PAGE & CARDS **********/

/****** MISC ******/

.download-button {
  border: 1.5px solid #e99f20;
  background-color: transparent;
  color: #e99f20;
  padding: 5px 30px 5px 25px;
  border-radius: 0;
}

.download-button:hover,
.download-button:focus {
  background-color: #f2f2f2;
  border: 1.5px solid #d6921c;
  color: #d6921c;
}

.external-link {
  vertical-align: middle;
  padding-bottom: 5px;
  font-size: 0.6em;
}

.helpful-info-hr {
  margin: 30px 0;
}

.helpful-info {
  padding: 20px 0 0;
}

.helpful-info-item {
  margin-bottom: 30px;
}

.helpful-info-item .title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
}

.helpful-info-item img {
  vertical-align: sub;
}

.site-map img {
  width: 100%;
}

#load_search {
  padding-top: 5px;
  padding-left: 5px;
}

#button-id-search {
  margin-bottom: 5px;
}

#id_export_data {
  background-color: #e99f20;
  margin-bottom: 20px;
}

#id_export_data:hover {
  background-color: #d6921c;
  text-decoration: underline;
}

/****** DEFINITIONS PAGE ******/

#definitions h4 {
  width: 100%;
  text-align: center;
  line-height: 0.1em;
  margin: 30px 0 20px;
}

#definitions h4 span {
  background: #fff;
  padding: 0 10px;
}

.purple-border {
  border-bottom: 5px solid #60427f;
}

.blue-border {
  border-bottom: 5px solid #10768d;
}

.green-border {
  border-bottom: 5px solid #29796f;
}

.alphabet-links {
  display: flex;
  justify-content: center;
  font-size: 18px;
  flex-wrap: wrap;
  padding-top: 15px;
}

.alphabet-links a {
  padding: 0 15px 15px;
}

/****** FAQ PAGE ******/

#accordion .card-header {
  background-image: none;
  display: flex;
  justify-content: space-between;
  border-radius: 0;
  align-items: center;
  align-content: center;
  padding: 10px 25px;
}

#accordion .card-header:hover {
  background-color: #e6e6e6;
  cursor: pointer;
}

#accordion button[aria-expanded='true'] i:before {
  content: '\f0d8';
}

#accordion .card-header i {
  color: black;
}

#toggleAccordions {
  float: right;
  background-color: transparent;
  color: #006ebd;
  padding: 0 5px 0 0;
}

#toggleAccordions:hover {
  text-decoration: underline;
}

#accordion button {
  background-color: transparent;
  padding: 0;
}

/****** DATA CHALLENGE PAGE ******/

#data-challenge .row:not(:last-child) {
  padding: 30px 20px 0;
}

.data-challenge-banner,
.data-challenge-banner h2 {
  border-radius: 5px;
  background-color: #16819b;
  color: white;
  text-align: center;
  padding: 10px;
}

.data-challenge-banner .data-challenge-name {
  padding-bottom: 0;
}

.data-challenge-status {
  font-size: 18px;
  font-weight: 400;
  margin-left: 5px;
}

.data-challenge-content-box {
  border-radius: 5px;
  box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.15);
  padding: 20px 30px;
}

.data-challenge-content-box hr {
  margin: 0;
  padding: 10px 0;
  border-top-color: gray;
}

.leaderboard {
  padding: 20px 30px 10px;
}

.leaderboard h2 {
  margin-bottom: 2px;
}

.leaderboard h3 {
  margin-bottom: 10px;
}

.leaderboard p {
  color: #454545;
  margin-bottom: 10px;
}

.leaderboard hr {
  padding: 0;
}

.leaderboard th,
.leaderboard td {
  text-align: center;
  line-height: 18px;
  vertical-align: middle;
  padding: 15px !important;
}

.leaderboard thead {
  background-color: #f4f4f4;
  color: #454545;
}

.leaderboard thead th {
  border: none;
}

.leaderboard tbody th {
  font-weight: 400;
}

.leaderboard tbody tr:first-child th,
.leaderboard tbody tr:first-child td {
  border-top: none;
}

.leaderboard .challenge-team-name {
  font-weight: 600;
}

.leaderboard .challenge-team {
  margin-top: 5px;
}

.data-challenge-content-box h2 {
  color: #454545;
}

.data-challenge-content-box h3 {
  font-size: 18px;
  color: #454545;
}

.data-challenge-content-box h2:not(:first-child) {
  padding-top: 20px;
}

.data-challenge-content-box .bold-underline {
  font-weight: 600;
  text-decoration: underline;
}

.inner-data-challenge-container {
  padding: 0;
}

.inner-data-challenge-container {
  margin-bottom: 30px;
}

.data-challenge-details .challenge-date {
  color: #454545;
  font-weight: 600;
  margin-bottom: 8px;
}

.data-challenge-details .challenge-status {
  font-weight: 800;
  margin-left: 10px;
}

.data-challenge-details .view-details {
  font-size: 14px;
  font-weight: 500;
  color: black;
  min-width: fit-content;
  padding: 5px 20px;
  background-color: #e99f20;
  background-repeat: repeat-x;
  border: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  vertical-align: top;
}

.data-challenge-details .view-details:hover {
  background-color: #d6921c;
  text-decoration: underline;
  color: black;
}

.data-challege-timeline {
  width: 100%;
  position: relative;
  list-style: none;
  display: inline-flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

/* middle line */
.data-challege-timeline:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #3a8098;
}

.data-challege-timeline li {
  background-color: #f4f4f4;
  border: 1px solid #9d9d9d;
  border-radius: 5px;
  margin: 30px 10px 15px;
  width: 25%;
}

.data-challege-timeline li > div {
  position: relative;
  padding: 10px 15px;
}

/* style for the dot over the data-challege-timeline */
.data-challege-timeline li:before {
  content: '';
  position: absolute;
  top: 2px;
  margin-left: 11.5%;
  transform: translate(-50%, -50%);
  border: 3px #3a8098 solid;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
}

/* style for the event arrow */
.data-challege-timeline li > div:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -1px) rotateZ(45deg);
  background: #f4f4f4;
  margin-top: -10px;
  border-left: 1px solid #9d9d9d;
  border-top: 1px solid #9d9d9d;
}

.timeline-phase {
  font-size: 18px;
  font-weight: 600;
  color: #3a8098;
}

.timeline-phase-dates {
  margin: 10px 0 10px 15px;
}

@media (max-width: 991px) {
  .data-challenge-content-box {
    margin-bottom: 30px;
  }

  .inner-data-challenge-container:last-child,
  .inner-data-challenge-container:last-child .data-challenge-content-box {
    margin-bottom: 0;
  }

  .data-challege-timeline {
    flex-direction: column;
  }

  .data-challege-timeline li {
    width: 92%;
    margin: 15px 0 15px 30px;
  }

  .data-challege-timeline:before {
    width: 2px;
    height: 100%;
  }

  .data-challege-timeline li:before {
    top: unset;
    left: 1px;
    margin-left: 0;
    margin-top: 35px;
  }

  .data-challege-timeline li > div:before {
    left: 0;
    top: 35px;
    border-top: none;
    border-bottom: 1px solid #9d9d9d;
  }
}

/****** END OF DATA CHALLENGE PAGE ******/

/******** INFORMED CONSENT ********/

.informed-consent ol > li {
  margin-bottom: 10px;
}

.informed-consent ol > div {
  margin-bottom: 20px;
}

.informed-consent ol ul > li {
  margin-top: 5px;
}

/******** END OF INFORMED CONSENT ********/

/******** VIDEO TUTORIALS ********/

.video-tutorials .video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.video-tutorials .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-tutorials button.btn-link {
  border: none;
}

.video-tutorials .btn-link:hover,
.video-tutorials .btn-link:focus {
  text-decoration: none;
}

.video-tutorials#accordion .card-header {
  background-color: #e6e6e6;
}

.video-tutorials#accordion .card-header:hover {
  background-color: #cccccc;
}

/******** END OF VIDEO TUTORIALS ********/

/****** SCROLL MARGIN ******/

h2,
h3,
h4,
h5,
h6,
#faq a,
.helpful-info div {
  scroll-margin-top: 130px;
}

@media (max-width: 1200px) {
  h2,
  h3,
  h4,
  h5,
  h6,
  #faq a,
  .helpful-info div {
    scroll-margin-top: 50px;
  }
}

/*hides from sighted users but not for screenreaders*/

.sr-only {
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Styles added by Pouya */

.auto-height {
  height: auto;
}

.hideMe {
  color: #ccc;
  display: inline-block;
  height: 1px;
  left: -9999px;
  position: absolute;
  width: 1px;
}

fieldset fieldset legend {
  font-size: 1em;
  margin-bottom: 0;
  font-weight: bold;
}

legend {
  margin-bottom: 0;
}

/******* QUERIES *********/

@media (min-width: 576px) {
  .row.card-row .col-lg-4:first-child {
    padding-left: 0;
  }

  .row.card-row .col-lg-4:last-child {
    padding-right: 0;
  }

  .row.card-row .col-lg-6:first-child {
    padding-left: 0;
  }

  .row.card-row .col-lg-6:last-child {
    padding-right: 0;
  }

  .row.card-row .col-lg-8:first-child {
    padding-left: 0;
  }

  .row.card-row .col-lg-8:last-child {
    padding-right: 0;
  }

  .row.card-row .col-lg-12 {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  .row.card-row .col-md-12 {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 992px) and (max-width: 1210px) {
  .scroll-container {
    height: 75%;
  }
}

@media (min-width: 992px) and (max-width: 1188px) {
  .card-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding-bottom: 22px;
  }

  .small-card {
    min-height: 580px;
  }

  .graph-container {
    flex-direction: column;
  }

  .row.card-row .col-lg-4:last-child .graph-container {
    margin-top: 0;
  }

  .chart-text {
    padding-top: 0.5rem;
  }

  .legend-container {
    width: 80%;
    margin: 0;
  }
}

@media (min-width: 992px) {
  .xl-card {
    flex-direction: row;
  }

  .xl-card .card-header {
    float: left;
    height: auto;
    width: 31%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    background-size: auto 100%;
  }

  .xl-card .card-content {
    float: right;
    width: 72%;
  }

  .statCard .login-request {
    margin-bottom: 10px;
  }

  .landing-page .row.card-row .col-lg-4:first-child {
    padding-left: 15px;
  }

  .landing-page .row.card-row .col-lg-4:last-child {
    padding-right: 15px;
  }
}

@media (min-width: 1189px) and (max-width: 1400px) {
  .small-card {
    min-height: 430px;
  }
}

@media (min-width: 1200px) {
  .navbar {
    padding: 0;
  }

  /* Overwrite navbar.scss default */
  .navbar-expand-xl .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
  }

  /* End of overwrite navbar.scss default */

  #userMenuNavigation .navbar-nav .nav-link {
    font-size: 14px;
  }

  #userMenuNavigation .navbar-nav .nav-link:hover {
    text-decoration: underline;
  }

  #mainMenuNavigation .navbar-nav .nav-link {
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
  }

  #mainMenuNavigation .navbar-nav .nav-item {
    text-align: center;
    flex: 1;
    border-right: 1px solid;
    border-image: linear-gradient(to bottom, #213882, #aaa) 1 100%;
    /* position: static; */
  }

  #mainMenuNavigation .navbar-nav .nav-item:first-child {
    border-left: 1px solid;
    border-image: linear-gradient(to bottom, #213882, #aaa) 1 100%;
  }

  #userMenuNavigation {
    flex-direction: row !important;
    height: 50px;
  }

  #userMenuNavigation .navbar-nav {
    float: right;
    padding-top: 5px;
  }

  .nav-item:first-child {
    padding-left: 0;
  }

  .nav-item:last-child {
    padding-right: 0;
  }

  .sign-in {
    display: flex;
    background-color: #e99f20;
    border-radius: 3px;
    height: 30px;
    padding-right: 20px !important;
    padding-left: 20px !important;
    align-items: center;
    justify-content: center;
  }

  .sign-in:hover {
    background-color: #d6921c;
    text-decoration: underline;
  }

  #userMenuNavigation .navbar-nav .sign-in .nav-link {
    color: #000;
  }

  .dropdown-menu[data-bs-popper] {
    margin-top: 0;
    min-width: 100%;
    width: fit-content;
  }

  .dropdown.show {
    background-color: white;
  }

  #mainMenuNavigation .navbar-nav .nav-link:hover {
    background-color: #dddddd;
    color: black;
  }

  #mainMenuNavigation .navbar-nav .nav-link .dropdown:hover {
    color: black;
  }

  #mainMenuNavigation .navbar-nav .nav-item.show .nav-link {
    color: black;
    background-color: #dddddd;
  }

  .dropdown-menu {
    padding: 0;
    margin: 0;
  }

  .dropdown-menu li {
    padding: 7px;
    position: relative;
  }

  /* overwrite dropsown.scss */

  .dropdown-menu.show {
    display: flex;
    margin: 0;
  }

  /* end of overwrite dropsown.scss */

  .dropdown-menu div {
    background-color: #e1e1e1;
    margin-top: 15px;
    flex-basis: 0px;
    flex-grow: 1;
  }

  .dropdown-menu li {
    background-color: white;
  }
}

@media (min-width: 1350px) {
  .statCard .login-request {
    margin-top: 10px;
  }
}

@media (min-width: 1500px) {
  .buttonContent .request-button-div {
    width: 85%;
  }

  .small-card {
    min-height: 390px;
  }
}

@media (min-width: 1600px) {
  .buttonContent .request-button-div {
    width: 80%;
  }

  .small-card {
    min-height: 330px;
  }

  .card-header {
    height: 57px;
    padding-bottom: 5px;
  }

  .landing-page .card-header {
    padding-bottom: 20px;
  }

  .row.card-row .col-lg-4:last-child .graph-container {
    margin-top: 0;
  }
}

@media (max-width: 1439px) {
  .small-card {
    display: block;
  }
}

@media (max-width: 1199px) {
  .navbar {
    flex-direction: row !important;
    background-color: #1f3479;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-item i,
  .nav-item img {
    display: none;
  }

  .nav-item:hover .menu-name {
    background-color: #eaeaea;
  }

  #mainMenuNavigation {
    background-color: white;
    box-shadow: 0 1rem 1.75rem -1.5rem rgba(0, 0, 0, 0.4);
    max-height: 72vh;
    overflow: auto;
  }

  #mainMenuNavigation .toggle-mobile {
    display: inline-block;
  }

  #mainMenuNavigation .toggle-desktop {
    display: none;
  }

  #userMenuNavigation {
    box-shadow: 0 1rem 1.75rem -1.5rem rgba(0, 0, 0, 0.4);
  }

  #userMenuNavigation {
    background-color: white;
  }

  #userMenuNavigation .navbar-nav {
    width: 100%;
  }

  #userMenuNavigation .nav-item:hover {
    background-color: #eaeaea;
  }

  #niddkHeader-mobile {
    display: block;
  }

  #niddkHeader-mobile a {
    color: white;
    text-decoration: none;
  }

  #niddkHeader-mobile a:hover {
    text-decoration: underline;
  }

  #niddkHeader-desktop {
    display: none;
  }

  #mainMenuNavigation .nav-item > a.menu-name {
    padding: 10px 20px;
    width: 94%;
    font-size: 16px;
    color: #0a61b9;
    line-height: 24px;
  }

  #mainMenuNavigation .nav-item > a.dropdown-toggle.toggle-mobile {
    width: 6%;
    text-align: center;
    line-height: 28px;
  }

  #mainMenuNavigation .nav-item > a.dropdown-toggle.toggle-mobile:hover {
    background-color: #d3d3d3;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    width: 100%;
    color: #0a61b9;
  }

  .navbar-collapse .container {
    max-width: 100%;
    padding: 0;
  }

  .dropdown-menu {
    box-shadow: none;
  }

  .dropdown-menu.show {
    width: 100%;
    position: relative;
    padding-top: 0;
  }

  .dropdown-menu li {
    padding: 5px 0 5px 15px;
  }

  .dropdown-menu li:hover,
  .dropdown-menu li:focus {
    background-color: #eaeaea;
    box-shadow: none;
  }

  .dropdown-menu-ul {
    float: none;
    width: 100%;
  }

  .navbar-nav .nav-item:hover .nav-link {
    color: #074685;
  }

  #menu-toggle[aria-expanded='false'] i.menu-close {
    display: none;
  }

  #menu-toggle[aria-expanded='true'] i.menu-close {
    display: inline-block;
    padding-right: 20px;
  }

  #menu-toggle[aria-expanded='false'] i.menu-open {
    display: inline-block;
  }

  #menu-toggle[aria-expanded='true'] i.menu-open {
    display: none;
  }

  #user-toggle[aria-expanded='false'] i.user-close {
    display: none;
  }

  #user-toggle[aria-expanded='true'] i.user-close {
    display: inline-block;
    padding-left: 8px;
  }

  #user-toggle[aria-expanded='false'] i.user-open {
    display: inline-block;
  }

  #user-toggle[aria-expanded='true'] i.user-open {
    display: none;
  }

  .siteStats .circle,
  .siteStats .circle.light-blue {
    margin-left: 25%;
  }

  .flag.light-blue {
    padding-left: 25%;
  }

  .slide-out {
    top: 430px;
  }

  .site-map img {
    width: auto;
    height: 600px;
  }

  .site-map::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 11px;
  }

  .site-map::-webkit-scrollbar:horizontal {
    height: 11px;
  }

  .site-map::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.3);
  }

  .site-map::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
  }

  .landing-page .row .card-content {
    height: 170px;
  }
}

@media (max-width: 1070px) {
  .buttonContent .request-button-div a {
    padding-left: 0;
    padding-right: 0;
    margin: 1px;
  }
}

@media (max-width: 992px) {
  li#sample,
  li#data {
    background-color: #213882;
  }

  .navbar-header {
    text-align: center;
  }

  .siteStats .circle,
  .siteStats .circle.light-blue {
    margin-left: 30%;
  }

  .small-card {
    min-height: fit-content;
  }

  .landing-page .row .card-content {
    height: 110px;
  }

  .site-links .menu-links {
    width: 47%;
  }
}

@media (max-width: 800px) {
  .new-user-button {
    flex-direction: column;
  }
  .new-user-label,
  .new-user-action {
    width: 70vw;
    padding: 15px 25px;
    margin: 0;
  }
  .new-user-label:after,
  .new-user-action:before {
    transform: skew(0);
  }
}

@media (max-width: 768px) {
  .siteStats {
    padding-top: 10px;
  }

  .statCard {
    height: fit-content;
  }

  .statCard .buttonContent {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .buttonContent .request-button-div {
    padding-right: 0px;
  }
}

@media screen and (max-width: 710px) {
  .covidHeader .collapse,
  .covidHeader .collapsing {
    border-top: 1px solid #333;
    padding: 0.5rem 0 0.5rem;
  }

  .covidHeader ul {
    padding-bottom: 0;
  }

  .covidHeader ul li {
    padding-bottom: 5px;
  }

  .siteStats .circle,
  .siteStats .circle.light-blue {
    margin-left: 20%;
  }
}

@media (max-width: 576px) {
  #heroContent h1 {
    font-size: 36px;
  }

  #heroContent p {
    font-size: 18px;
  }

  #heroContent div {
    /* calc(var(--bs-gutter-x) * .5); to match row from grid.scss padding */
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
  }

  #niddkHeader-mobile h3 {
    font-size: 16px;
  }

  .siteStats img:first-child {
    display: none;
  }

  .siteStats img:last-child {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .statCard .buttonContent {
    padding-top: 0px;
    padding-bottom: 10px;
  }

  .statCard .buttonContent .request-button-div {
    flex-direction: column;
    align-items: center;
    padding: 0 0 7px;
  }

  .statCard .buttonContent .request-button-div a {
    margin: 7px 0;
  }

  .statCard .login-request {
    margin-bottom: 20px;
  }

  .siteStats {
    flex-direction: column;
    margin: 1rem 3rem 1rem 2rem;
  }

  .siteStats > div {
    display: flex;
    align-items: center;
  }

  .siteStats > div:first-child {
    width: 100%;
    margin-bottom: 1rem;
  }

  .siteStats .circle,
  .siteStats .circle.green,
  .siteStats .circle.light-blue {
    top: 0;
    margin-left: 0;
    width: 8rem;
    height: 8rem;
    z-index: 1;
  }

  .flag,
  .flag.green,
  .flag.light-blue {
    width: 70%;
    height: 6rem;
    left: -1.5rem;
    padding: 2rem;
  }

  .flag.light-blue:before {
    content: none;
  }

  .flag:after {
    right: -2.5rem;
    border-top: 3rem solid transparent;
    border-bottom: 3rem solid transparent;
  }

  .flag.green:after {
    border-left: 2.5rem solid #29796f;
  }

  .flag.light-blue:after {
    border-left: 2.5rem solid #16819b;
  }

  .site-links .menu-links {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .graph-container {
    flex-direction: column;
  }

  .legend-container {
    width: 80%;
    margin: 0;
  }

  #legend-container-disease {
    height: 150px;
  }

  .flag,
  .flag.green,
  .flag.light-blue {
    width: 60%;
  }
}

@media (max-width: 484px) {
  .card-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding-bottom: 22px;
  }
}

@media (max-width: 450px) {
  .siteStats .circle,
  .siteStats .circle.green,
  .siteStats .circle.light-blue {
    width: 6rem;
    height: 6rem;
    font-size: 2rem;
    padding-top: 2.2rem;
  }

  .flag,
  .flag.green,
  .flag.light-blue {
    height: 5rem;
    padding: 0 0 0 1.5rem;
    width: 65%;
    font-size: 0.9rem;
  }

  .flag:after {
    right: -2rem;
    border-top: 2.5rem solid transparent;
    border-bottom: 2.5rem solid transparent;
  }

  .flag.green:after {
    border-left: 2rem solid #29796f;
  }

  .flag.light-blue:after {
    border-left: 2rem solid #16819b;
  }
}

@media (max-width: 400px) {
  .card-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding-bottom: 22px;
  }

  .graph canvas {
    width: 100% !important;
    height: 100% !important;
  }

  .siteStats {
    margin: 1rem 2rem 1rem 1rem;
  }
}

@media (max-width: 1200px) {
  .dropdown-menu > li > a {
    white-space: normal !important;
  }

  .js #menu-button,
  .js #search-tog {
    display: block;
    width: 46.5%;
  }

  .js .mobileState {
    display: none;
  }

  .navbar-header {
    float: none;
  }
}

@media (min-width: 1700px) {
  .siteStats .circle,
  .siteStats .circle.light-blue {
    margin-left: 35%;
  }
  .flag {
    padding: 5%;
  }
}

@media (min-width: 992px) {
  .main-nav div.container {
    padding: 0;
  }

  .navbar .nav > li {
    border: #eee solid;
    border-width: 0 thin;
  }
}

@media (max-width: 768px) {
  #filter_studies {
    width: 100%;
    margin: 1em 0;
  }
}

/* grid.scss overrides */

@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 90%;
  }
}

@media (min-width: 768px) {
  .container,
  .container-sm {
    max-width: 85%;
  }
}

/* end of grid.scss overrides */
