body {
  margin: 0;
  background-image:  url("/static/images/decide/background_flowers.png");
  background-color: #002347;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: "Gothic A1", sans-serif;
  font-weight: 500;
  font-style: normal;
}

#container {
  width: 100%;
  padding: 10px;
  background-color: #F5F5F5;
  max-width: 840px;
}

#header {
  margin: 10px auto;
  max-width: 800px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #30969d;
  box-shadow: 30px 0 0 0px #30969d, -30px 0 0 0px #30969d;
}

#title {
  color: #FFD600;
  text-shadow: 0 0 5px #D04B3A, 1px 1px 3px #002347;
  font-size: 44px;
  font-family: "Abril Fatface", serif;
  text-align: center;
  font-weight: bold;
  max-width: 250px;
  margin: 0 10px;
}

#sofia {
  max-width: 150px;
  max-height: 150px;
  width: 25%;
}

#logo {
  max-height: 130px;
  max-width: 130px;
  width: 22%;
  border-radius: 20%;
}

#banner {
  position: relative;
  max-width: 800px;
  width: 100%;
}

#banner img{
  width: 100%;
  height: auto;
  max-width: 424px;
  border: 6px solid #DD8800;
}

h2 {
 color: #DD8800;
  font-family: "Goudy Bookletter 1911", serif;
  font-size: 26px;
  margin: 10px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  font-size: 26px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 5px solid #f77171;
  background-color: #D04B3A;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  text-decoration: none;
  cursor: pointer;
  color:#FFFFFF;
}

.btn:hover {
  font-size: 27px;
}

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


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

.menu-item:hover {
  font-size: 21px;
}

.active {
  border-radius: 0;
}

.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 #00979F;
  font-weight: 400;
  background-color: white;
}

.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;
}

.bold {
  font-weight: bold;
}

#gallery {
  margin-bottom: 20px;
  width: 100%;
  max-width: 800px;
}

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

.rowB {
  display: none;
  justify-content: center;
}

.frame:hover {
  box-shadow: 0 0 2px 2px #FFD600;
}

.frame {
  max-width: 100px;
  width: 20%;
  padding: 2px;
}

.frame IMG {
  display: block;
  width: 100%;
  max-width: 100px;
  height: 100%;
  object-fit: cover;
}

.bio {
  display: none;
  max-width: 512px;
}

.activeBio {
  display: block;
  background-color: #ffea80;
  padding: 5px 10px;
}

.activeFrame {
  box-shadow: 0 0 2px 2px #FFD600;
  border: 2px solid #FFD600;
}

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

#footer {
    border-top: 2px solid #CC9999;
    font-size: smaller;
    max-width: var(--footer-width, 600px);
    margin: auto;
    width: 100%;
    text-align: left;
}

:root {
    --footer-width: 720px;
}

@media only screen and (max-width: 600px) {
        .frame {
    padding: 1px;
  }
  #title {
    text-shadow: 0 0 2px #D04B3A, 1px 1px 1px #002347;
    font-size: 36px;
    margin-left: 0px;
    margin-right: 5px;
  }
  .bio {
    font-size: 14px;
  }
}

@media only screen and (min-width: 720px) {
  #title {
    max-width: 355px;
  }
}









.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;
}

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;
}

#content {
  max-width: 600px;
}

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