/* General */
body {
	font-family: 'Roboto', sans-serif; 
	font-size: 16px;
	font-weight: 400;
	color: #191919;
}

#hamburger {
 position:absolute; 
 top: 1rem;
 right:1rem;
}

#close-hamburger {
 position:absolute;
 top: 1rem;
 right:1rem;
}


div.table {display:table;}
div.table > div {display:table-row;}
div.table > div > div {display:table-cell;}

div.resultsheader {
 position:fixed;
 width:100%;
 background-color:#fff;
}

div.resultsheader div.loading {
 position:fixed;
}

div.resultsrow > div { 
 display:flex; 
 flex-direction:column;
}

div.resultsrow div.resultssubheader {
 position:fixed; 
 top:8rem;
}

div.resultsrow div.resultssubheader div.loading {
 position:fixed;
}


div#userresultscontainer {

}

div#userresultscontainer div.testresult {
 border:1px solid #d1d1d1;
 border-radius:20px;
 margin-bottom:1rem;
 display:flex;
 align-items:center;
}

/* BSSP-267: fixed 55%/45% widths made long single-row results (e.g. demo's
   "High Risk (Demo)") wrap inside the colored pill. Condition names and result
   values are normally short enough that flex-based sizing still lines up
   nearly as well across multiple result rows, but now the result column sizes
   to its own content (never wraps) and the label column takes whatever's left. */
div#userresultscontainer div.screenertype {
   text-align:left;
   padding:1rem 0 1rem 1.5rem;
   font-weight:bold;
   flex:1 1 auto;
   min-width:0;
}

div#userresultscontainer div.screenerresult {
   text-align:center;
   padding:1rem 1rem 1rem 0;
   flex:0 0 auto;
}

div#userresultscontainer > div > div span {
   text-align:center;
   padding:.5rem 1rem;
   border-radius:8px;
   color:white;
}

/* BSSP-267: nowrap only belongs on the short result-value pill (class added in
   results.htm). The plain <span> under .screenerresult.inconclusive is reused for
   long static error/timeout messages ("Unexpected response from server...") —
   forcing those onto one line would overflow off-screen on this mobile-only app. */
div#userresultscontainer span.resultvalue {
   white-space:nowrap;
}


div#userresultscontainer > div > div.lowrisk span,
div#userresultscontainer > div > div.collected span,
div#userresultscontainer > div > div.negative span {
   background-color: green;
}

div#userresultscontainer > div > div.highrisk span,
div#userresultscontainer > div > div.atrisk span,
div#userresultscontainer > div > div.positive span {
   background-color: red;
}

div#userresultscontainer > div > div.inconclusive span {
   background-color: yellow;
}


#resultsfooter {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 12px 16px 8px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

#resultsscroller {
  flex: 1 1 auto;
  margin-top: 150px;
  margin-bottom: 140px; /* Height of footer */
  overflow-y: auto;
  padding: 16px;
}


#resultsscroller .note {
  text-align:center;
  font-size:80%;
}

.high-risk-warning-row {
 display:none;
 margin-bottom:1rem;
}

.high-risk-warning {
 background-color:rgb(246,215,195);
 padding:.5rem .5rem;
 border-radius:1rem;
}

.high-risk-warning p {margin-bottom:0;}

img.wnicon {width:40px;}


.safetynoticecontainer {
 width:100%;
 height: 100%;
 position: absolute;
 background-color: rgba(128, 128, 128, 0.5);
 z-index: 600;
 color:#000;
}

.safetynoticecontainer .safetynotice {
 width:80%;
 margin:2rem auto;
 background-color:#fff;
 text-align:center;
 padding:2rem;
 border-radius:1rem;
}


.safetynoticecontainer .safetynotice .heading {
 font-size:120%;
 font-weight:bold;
 margin:1rem 0;
}



.safetynoticecontainer .safetynotice button {
 color:#fff;
 background-color:#006ba6;
 width:100%;
 border-radius:1rem;
 padding:.3rem;
 border:none;
 margin: 1rem auto;
}


div.loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500;
    background-color: #fff;
}

div.loading.img {
    background-image: url(../images/294683.gif);
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 1rem;
}


div.message-container {
    max-width:20em; 
    position: fixed;
    left: 50%;
    top: 70px;
    transform: translate(-50%); 
    padding:1em; 
    z-index:500;

}

#linkexpired {
 display:none; 
}

div.message-container span.message {
 padding:2px 4px;
 font-size:14px;
 border-radius:5px;
 display:none;
 border:1px solid #006ba6;
}

.playcoughsample {
 cursor:pointer;
}

.easydif td {
 width:19%;
}

.text-bg-info {
 padding: 0 4px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
}

h1 {
	font-size: 1.4rem;
	margin-bottom: 1.15rem;
}

h2 {
	font-size: 1.75rem;
	font-weight: 400;
}

h3 {
	font-size: 1.5em;
	margin-bottom: 1rem;
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1rem;
	font-weight: 500;
	color: #29abe2;
	text-transform: uppercase;
}

p {
	margin-bottom: 1rem;
}

.small, small {
    font-size: 85%;
}

.large {
    font-size: 150%;
}

.grey {
	color: #6d6e71;
}

.white {
	color: #fff;
}

.blue {
	color: #006ba6;
}

.timer {
	color: #006ba6;
	font-size: 2.5rem;
}

a {
	color: #006ba6;
}

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

ol, ul {
    padding-left: 1rem;
    margin-bottom: 1rem;
    font-size: 90%;
}

li {
	margin-bottom: 0.5rem;
}

.list-group-item {
    padding: 0.75rem 1rem;
}

hr {
	margin-top: 2rem;
	margin-bottom: 2rem;
	background-color: #1f7db1;
}

.red_dot {
	background-color: red;
	height: 20px;
	width: 20px;
	border-radius: 1.5rem;
	margin-right: 0.5rem;
	display: inline-block;
}

/* Buttons */
.btn {
	text-decoration: none;
	border: none;
}

.btn-primary,.btn-primary:focus {
	color: #fff;
    background-color: #006ba6;
	width: 100%;
	border-radius: 5rem;
}

.btn-primary:hover {
    background-color: #006ba6;
	opacity: 0.8;
}

.btn-link {
	color: #006ba6;
	padding: 0;
	font-weight: 500;
	text-decoration: none;
}

.btn-link:hover, .btn-link:focus {
	opacity: 0.8;
}

.btn-info {
	background-color: #f6925a;
	color: #fff;
	border-radius: 3rem;
	padding: 0 0.55rem;
}

.btn-info:hover, .btn-info:focus {
	background-color: #f6925a;
	color: #fff;
	opacity: 0.8;
}

/* Logo */
.logo {
	margin-top: 1rem;
	margin-bottom: 2rem;
	max-width: 250px;
	max-height: 50px;
	width: auto;
	height: auto;
}

/* Off Canvas Nav */
.offcanvas {
	width: 90%;
	max-width: 350px;
}

.nav-link {
	color: #191919;
	border-bottom: #bcbcbc 1px solid;
}

.offcanvas .logo {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 250px;
	max-height: 50px;
}

.nav_button {
	vertical-align: super;
	margin-left: 2rem;
	padding: 0;
}

.nav_button span {
  display: block;
  margin-bottom: 5px;
  height: 3px;
  width: 30px;
  background-color: #333;
}

.nav_button:hover span {
	opacity: 0.8;
}

/* Forms */
.form-control, .form-select {
	border-radius: 1.5rem;
}

.form-label {
    margin-bottom: 0.25rem;
}


#languagelinks ul {list-style:none;}
#languagelinks li {display:inline;padding-right:1rem;}
#languagelinks span {color:#888;}


.needle-container {
   position: relative;
   /*width: 200px; */
   /* Set the width of the container */
   /*height: 200px; */
   /* Set the height of the container */
   margin: 20px auto;
   /* Adjust margin as needed */
}

.needle {
   position: absolute;
   /* top: 50%; */
   /* Position the needle vertically */
   left: 50%; 
   bottom:1.6rem;
   /* Position the needle horizontally */
   width: 4px;
   /* Needle width */
   height: 120px;
   /* Needle length */
   background-color: #265E94;
   /* Needle color */
   transform-origin: bottom;
   /* Set the transform origin to the bottom */
   transform: translateX(-50%) rotate(-90deg);
   /* Initial position: pointing left */
   transition: transform 0.2s ease;
   /* Add smooth transition effect */
}

img.countryofmanufacture {height:36px; margin-bottom:1rem;}
img.translated {height:36px; margin-bottom:1rem;}

#needmore h1,
#timedout1 h1,
#timedout2 h1 {font-size:1.8rem; font-weight:bold;}

#needmore .headline,
#timedout1 .headline,
#timedout2 .headline,
#duration .headline {font-size:1.4rem; font-weight:bold;}


#timedout2 h2 {font-size:125%; font-weight:bold;}

.headline.re-txt-8 {font-weight:bold; text-align: center; margin: 0 0 2rem 0;}