body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 900;
}

h2 {
  font-size: 24px;
  font-weight: 900;
}

.Select-placeholder {
  font-style: italic;
  color: #737373;
}
.rc-slider-mark-text {
  color: #737373;
}

.rc-slider-handle:focus {
  outline: 2px solid blue;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: polygon(0 0, 0 0, 0 0);
  white-space: nowrap;
  border: 0;
}

h1 {
  font-size: 28px;
  font-weight: 900;
}

hr {
  border-top: 1px solid #e2e2e2;
}

.bg-grey {
  background-color: #f9f9f9;
}

.content-wrapper {
  margin: 60px 0;
  flex: 1;
}

.content-wrapper-homepage {
  height: 100vh;
  padding-top: 85px;
}

.footer-link {
  font-size: 14px;
  color: #f5f5f5;
  text-decoration: underline;
}

.footer-link:hover {
  color: white;
}

.mainContainer {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1050px) {
  .content-wrapper-homepage {
    padding-top: 85px;
    padding-bottom: 100px;
    height: calc(100vh - 114px);
  }
}

.cov-header-nav a {
  color: #272727;
  font-weight: 5 00;
}

.cov-header-nav a:hover {
  color: #da6e16;
}

.cov-header-nav a.active {
  color: #da6e16;
}

.cov-accordion-button {
  color: #272727;
  font-weight: 5 00;
}

.cov-accordion-button:hover {
  cursor: pointer;
}

.cov-card-header {
  background-color: #74c0ba;
}

.cov-border-top {
  border-top: 1px #e2e2e2 solid;
}

.cov-border-bottom {
  border-bottom: 1px #e2e2e2 solid;
}

.cov-logo {
  height: 38px;
}

.cov-logo-homepage {
  height: 83px;
}

.cov-eu-flag {
  height: 55px;
  padding-right: 10px;
}

.cov-eu-flag-container {
  width: 55%;
  font-size: 14px;
  display: flex;
  position: relative;

  align-items: center;
}

.risk-test-content {
  background: white;
  width: 100%;
  height: 200px;
  max-height: 400px;
}

.speech-bubble:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.homepage-icons:hover {
  transform: scale(1.2);
}

.homepage-titles {
  color: #272727;
  font-size: 20px;
}

.homepage-links:hover {
  text-decoration: none;
}

.disabled-link {
  color: #707070;
  pointer-events: none;
  cursor: default;
}

.case-study-link {
  color: #006d6b;
  text-decoration: underline;
}

.popover {
  background-color: #0000ff;
  stroke: white;
  max-width: 230px;
  max-height: 150px;
  min-width: 150px;
  min-height: 80px;
  text-align: center;
  padding: 0px;
}
.popover::before {
  position: absolute;
  right: -7px;
  top: 40%;
  content: "";
  width: 15px;
  height: 15px;
  background: #0000ff;
  stroke: white;
  transform: rotate(45deg);
}

.homepage-icons {
  width: 110px;
  height: 110px;
}

.custom-margins {
  margin-bottom: 3rem;
}

.custom-button {
  border: none;
  outline: none;
  box-shadow: none;
  background-color: #7fcdd1;
  color: black;
}

.speech-bubble-button:focus {
  outline: none;
}

.custom-button:hover {
  background-color: #f6bc63 !important;
  color: black;
}
.custom-button:active {
  background-color: #f6bc63 !important;
  color: black !important;
}

.custom-button:focus {
  outline: 2px solid blue;
}

.hide-customization:focus {
  outline: 2px solid blue;
}

.risk-model-download-button {
  float: right;
}

.risk-model-download-button:focus {
  float: right;
  outline: 2px solid blue;
}

.risk-spider-plot {
  width: 100%;
}

.container-screen {
  height: 121vh;
}
.container-screen-charts {
  height: 100%;
}

/* XX-Large devices (larger desktops, 1400px and up) #ff9442 */
@media (min-width: 1400px) {
  .cov-eu-flag-container {
    width: 58%;
    font-size: 14px;
    display: flex;
    position: relative;
    bottom: 0;
  }
}
@media (max-height: 800px) {
  .container-screen {
    height: 150vh;
  }
}
/* Macbook specific larger sizes exluded */
@media (max-width: 1440px) {
  h1 {
    font-size: 24px;
  }
  .homepage-icons {
    width: 80px;
    height: 80px;
  }
  .custom-margins {
    margin-bottom: 1.5rem;
  }
}

/* breakpoint for when the navbar expands */
@media (max-width: 1300px) {
  .content-wrapper-homepage {
    padding: 112px 0;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media screen and (max-width: 1200px) {
  .cov-eu-flag-container {
    width: 55%;
    position: relative;
  }
}

/* Large devices (desktops, 992px and up) */
@media screen and (max-width: 992px) {
  .cov-eu-flag-container {
    width: 100%;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (max-height: 800px) {
  .content-wrapper-homepage {
    overflow-y: auto;
    height: calc(100vh - 109px);
  }
}

@media (max-width: 1000px) {
  .content-wrapper-homepage {
    overflow-y: auto;
    height: calc(100vh - 147px);
  }
}
@media screen and (max-width: 768px) {
  .content-wrapper {
    margin: 60px 0 120px;
  }

  .cov-eu-flag-container {
    width: 100%;
  }
}

/*  Small devices (landscape phones, 576px and up) */

@media screen and (max-width: 576px) {
  .content-wrapper {
    margin: 100px 0 120px;
  }
}

::-webkit-scrollbar-track {
  display: block !important;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  display: block !important;
  width: 12px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  display: block !important;
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

.KR-tile-button {
  width: 95vw;
  margin-bottom: 5px;
  text-align: left;
  background-color: white;
  border-color: white;
  color: black;
  font: 14px;
}

.KR-tile-button:hover {
  color: white;
  background-color: #006d6b;
}
