body {
  background-color: #f9efe5;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: "Arial";
}

#container {
  width: 100%;
  padding: 20px;
}

#banner {
  max-width: 100%;
  height: auto;
}

#title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 0 10px #000000;
  font-size: 42px;
}

#header {
  position: relative;
  margin-top: 10px;
}

#menu {
  margin: auto;
  width: 100%;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  line-height: 1.4em;
  font-size: 17px;
  text-align: left;
}

button#join {
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 2px solid #86321e;
  background-color: #f8967b;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  cursor: pointer;
  font-weight: bold;
  color: #800000;
  font-family: "Arial";
}

a.btn {
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 2px solid #86321e;
  background-color: #f8967b;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  font-weight: bold;
  color: #800000;
  text-decoration: none;
  font-family: "Arial";
}

.menu-item {
  cursor: pointer;
  padding: 18px;
  text-align: left;
  transition: 0.4s;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  line-height: 1em;
}

.menu-item:hover {
  background-color: #996633; 
  color: white;
}

.active {
  background-color: #663300; 
  color: white;
}

.menu-item:after {
  content: '\02795';
  font-size: 14px;
}

.active:after {
  content: "\2796";
  color: white;
}

.menu-content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  border: 2px solid #663300;
}

.u {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: block;
}

.l { 
  padding-left: 16px; 
  text-indent: -9px;
}

.l::before {
  content: "\2013";
  position: relative;
  left: -5px;
}

.listLabel {
  margin-bottom: 5px;
}

ul, ol {
  margin-top: 0;
}

#protections {
  margin-top: 1em;
}

.bold {
  font-weight: bold;
}

.underline {
  text-decoration: underline;
}

#CABimg-container {
  text-align: center;
  padding-top: 20px;
}

#CABimg {
  max-width: 100%;
}

#moreInfo {
  border: 2px solid #86321e;
  border-radius: 12px;
  background-color: #ec917c;
  font-size: 17px;
  line-height: 1.4em;
  max-width: 500px;
  margin: auto;
  margin-bottom: 2em;
}

#caption {
  font-size: 12px;
  line-height: 1em;
  display: flex;
  color: gray;
  text-align: left;
  align-items: flex-end;
  margin-bottom: 5px;
  padding-bottom: 2px;
  cursor: pointer;
}

#captionIcon {
  font-size: 14px;
  padding-left: 5px;
}

#content {
  max-width: 600px;
}

#content,
#footer {
  margin: auto;
  width: 100%;
  text-align: left;
}

#footer {
  border-top: 2px solid #CC9999;
  font-size: smaller;
  max-width: var(--footer-width, 600px);
}

#footer P {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

P.alert {
  color: red;
  font-size: 1.4em;
}

P.studyHost {
  text-align: center;
  font-weight: bold;
  margin-top: 2.3em;
}

P.consentTitle {
  text-align: center;
  font-weight: bold;
}

P.studyTitle {
  font-size: 1.5em;
  text-align: center;
}

TD.principalInvestigator {
  font-style: italic;
  white-space: nowrap;
  vertical-align: top;
}

TABLE.contact {
  border-collapse: collapse;
}

TABLE.contact TR TD, TABLE.contact TR TH {
  border: 1px solid rgb(79,79,79);
  padding: 5px;
  vertical-align: top;
}

.highlight {
  background-color: yellow;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/*
.modal video {
  max-width: 90%;
  max-height: 80%;
}
*/

.modal video {
  width: 100%;
  height: auto;
  max-width: 90vw;
  max-height: 80vh;
}

/* On large screens (desktop), limit the width */
@media (min-width: 768px) {
  .modal video {
    max-width: 300px;
    max-height: 80vh;
  }
}


.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
