/* ==========================================================================
   CONSOLIDATED PAGES.CSS - For New Template Pages
   ========================================================================== */

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

html {
  color: #61666D;
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0 auto;
  text-align: center;
  background-color: #FFFFFF;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/* ==========================================================================
   Base Elements
   ========================================================================== */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 50px auto 25px;
  padding: 0;
  width: 90%;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ==========================================================================
   Color Utility Classes
   ========================================================================== */

.blue { color: #478DCD; }
.darkblue { color: #226AB8; }
.fuchsia { color: #974993; }
.gray { color: #61666D; }
.darkgray { color: #3F4244; }
.green { color: #7A9F2B; }
.teal { color: #007F6B; }

.blue-bg { background: #478DCD; }
.lightblue-bg { background: #eaf8ff; }
.darkblue-bg { background: #226AB8; }
.fuchsia-bg { background: #974993; }
.green-bg { background: #7A9F2B; }
.teal-bg { background: #007F6B; }
.gray-bg { background: #61666D; }
.gray-hover-bg { background: #575A5F; }
.offwhite-bg { background: #F4F4F4; }
.lightgray-hover-bg { background: #ddd; }
.lightgray-bg { background: #8A8D8F; }
.darkgray-bg { background: #3F4244; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

.max-width-560px {
  max-width: 560px;
}

.max-width-480px {
  max-width: 480px;
}/* ===========*//* ===========*/

.justify-evenly {
  justify-content: space-evenly !important;
}

.aspect-ratio-16-9 {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
}

.aspect-ratio-16-9 > * {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

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

.sr-only-focusable:focus {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 20px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #226AB8;
  color: white;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 0;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.collapsible:focus-visible,
.grid-item:focus-visible {
  outline: 3px solid #478DCD;
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus-visible {
  background-color: #eaf8ff;
  outline: 2px solid #478DCD;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.browserupgrade {
  margin: 0.2em 0;
  padding: 0.2em 0;
  background: #ccc;
  color: #000;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
  font-weight: 800;
  font-size: 48px;
  letter-spacing: 0.2px;
  padding: 10px 0 20px;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  align-items: center;
  justify-content: center;
}

h2 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 40px;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
  max-width: 1024px;
  margin: auto;
}

.section {
  margin: 0 auto;
  padding: 2rem;
  background-color: #F4F4F4;
}

.section:last-of-type {
  padding-bottom: 6rem;
}

.row {
  display: flex;
  flex-direction: row;
  max-width: 1024px;
  padding: 10px 0 0;
}

.narrowrow {
  display: flex;
  flex-direction: row;
  max-width: 1024px;
  margin: 0 180px;
  padding: 10px 0 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-block;
  margin: 0 5px 10px;
  padding: 10px 36px;
  background-color: #FFFFFF;
  border: 2px solid #3F4244;
  border-radius: 10px;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button1 {
  background-color: #478DCD;
  border-color: #478DCD;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.button1:hover,
.button1:focus {
  background-color: #226AB8;
  border-color: #226AB8;
}

.button-outline {
  background-color: #FFFFFF;
  border-color: #478DCD;
  font-weight: 600;
  color: #226AB8;
  text-shadow: 0 1px 2px;
  text-transform: uppercase;
}
 
.button-outline:hover,
.button-outline:focus {
  background-color: #478DCD;
  border-color: #478DCD;
  font-weight: 200;
  color: #FFFFFF;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

/* Home Page Hero Section */
.hero-section {
    padding-top: 15px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.hero-section h1 {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 15px 10px;
  font-size: 48px;
  font-weight: 800;
  line-height: 60px;
  text-align: center;
}

.hero-section .qol-assessments-header-image {
  width: 95%;
  max-width: 750px;
  margin: 25px auto;
  padding: 30px 15px;
  background-color: #FFFFFF;
}

.hero-section p {
  width: 95%;
  max-width: 500px;
  margin: 20px auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #61666D;
}

.ephm-header {
  padding: 0 15px 20px;
}

.ephm-header p,
.ephm-header li {
  width: 90%;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  text-align: left;
}

.ephm-header li:last-child {
  padding-bottom: 20px;
}

.qol-assessments-image-landing-page {
  width: 100%;
  max-width: 600px;
  margin: 2% 0 2%;
}


@media (max-width: 768px) {
  .hero-section h1 {
    max-width: 400px;
    padding: 15px 15px 5px;
    font-size: 40px;
    line-height: 45px;
  }
}

/* Home Page Grid Section */

.section-title {
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 0 30px;
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-item {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 245px;
  padding: 2rem 1.5rem 1rem; 
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-item .button,
.grid-item .button1 {
  margin-top: auto;
  margin-bottom: 10px;
  align-self: center;
}

.grid-item:hover,
.grid-item:focus {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

.grid-item .image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100%;
}

.grid-item img {
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  max-height: 120px;
  object-fit: contain;
}

.grid-item h3 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #61666D;
  min-height: 2.4em;
}

.grid-item p {
  line-height: 1.3;
  color: #61666D;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-item {
    width: calc(50% - 0.75rem);
	min-width: 0;
	max-width: 240px;
  }	
}

@media (max-width: 480px) {
	.section-title {
    font-size: 1.8rem;
	padding-top: 1rem;
  }
	.section {
	  margin: 0 auto;
	  background-color: #F4F4F4;
	}
	
	.grid-container {
	  gap: 16px;
  }
	
	.grid-item {
	  width: calc(50% - 0.5rem);
	  min-width: 0;
	  padding: 1.2rem .5rem .4rem;
	  background: #FFFFFF;
	  border-radius: 8px;
	  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	  text-decoration: none;
	  transition: transform 0.2s, box-shadow 0.2s;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	}	
	
	.grid-item .image-wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100px;
		width: 100%;
  }
	
	.grid-item h3 {
	  margin-top: .8rem;
	  font-size: 1.2rem;
	  line-height: 1.3;
	  color: #61666D;
	  min-height: 2.4em;
	}
	
	.grid-item img {
	  max-width: 100px;
	  object-fit: contain;
	  margin-bottom: auto;
	}
}

/* ==========================================================================
   Applications / Methods Landing Page
   ========================================================================== */

.landing-page h1 {
 padding-top: 60px;
}

.landing-page p {
  max-width: 700px;
  padding: 0 15px 20px;
  font-size: 20px;
}

@media (max-width: 768px) {
 .landing-page h1 {
   padding-top: 20px;
   font-size: 35px;
  }

 .landing-page p {
  padding: 0 15px 20px;
  font-size: 16px;
  line-height: 1.4rem;
}
	
}






/* ==========================================================================
   Project Template (formerly emac) Header Section
   ========================================================================== */

.emac {
  padding: 1px 220px;
  text-align: center;
}

.emac h1 {
  margin: clamp(50px, 4vw, 70px) auto clamp(5px, 5vw, 20px);
  font-size: clamp(35px, 3.5vw, 48px);
  line-height: normal;
  font-weight: 800;
  color: #478DCD;
  padding: 0 0 20px;
  max-width: 750px;
}

.emac h2 {
  margin: clamp(20px, 4vw, 40px) auto;
  font-size: clamp(16px, 3.0vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  color: #61666D;
  text-align: center;
  max-width: 600px;
}

.emac p,
.emac ul {
  max-width: 550px;
  width: 90%;
  margin-inline: auto;
  text-align: left;
}

.emac main ul li,
.emac .content ul li {
  margin-top: 16px;
  margin-bottom: 16px;
}

.emac-image {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 6px auto 0;
}

/* ==========================================================================
   Learning Resources / Collapsible Sections
   ========================================================================== */

.qol-learning-resources-wrapper {
  background: rgba(215, 214, 216, 0.35);
}

.qol-learning-resources-wrapper-white {
  background-color: white;
}

.qol-learning-resources {
  margin: auto;
  padding: 20px 30px 42px;
  text-align: center;
  box-sizing: border-box;
}

.qol-learning-resources p#download-adobe-acrobat {
  margin-top: 0;
  padding: 0 10px;
}

.qol-learning-resources a {
  font-weight: 700;
  color: #61666D;
  text-decoration: none;
}

.qol-learning-resources a:hover {
  text-decoration: underline;
}

.qol-learning-resources .acrobat-logo {
  width: 25px;
  margin-right: 5px;
  vertical-align: bottom;
}

.collapsible-sections {
  margin: 20px 0;
}

.collapsible {
  width: 100%;
  padding: 17px 40px 17px 17px;
  border: none;
  font-size: 20px;
  color: #ffffff;
  text-align: left;
  outline: none;
  cursor: pointer;
  scroll-margin-top: 41px;
}

.collapsible:focus-visible {
  outline: 3px solid #478DCD;
  outline-offset: 2px;
}

.collapsible-section .collapsible:after {
  float: right;
  margin-right: -23px;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  content: '\2212';
}

.collapsible-section[data-state=closed] .collapsible:after {
  content: "\002B";
}

.collapsible-section[data-state=closed] .content {
  display: none;
}

.content {
  padding: 15px 65px 0 40px;
  background-color: #ffffff;
  text-align: left;
  overflow: hidden;
}

.content h3 {
  font-size: 20px;
}

.content .col-1 {
  width: 100%;
}

.content .left-col {
  float: left;
  width: 175px;
  margin-right: 25px;
  margin-left: 10px;
  text-align: center;
}

.content .right-col {
  display: flow-root;
  margin-right: 25px;
}

.content .col-2 {
  float: left;
  width: 333px;
  margin-right: 25px;
}

.content .col-3 {
  float: right;
  margin-right: 20px;
}

.content .col-3 img {
  max-width: 300px;
  width: 100%;
  padding: 10px 0 20px;
}

/* Resources within collapsible sections */
.resources ul {
  list-style-type: disc;
}

.resources .content ul li,
.resources main ul li {
  padding-bottom: 10px;
}

.resources ul li:last-child {
  padding-left: 0;
}

.resources h4 {
  font-weight: 400;
}

.resources h4 a {
  font-weight: 700;
  text-decoration: none;
}

.resources h4 a:hover {
  text-decoration: underline;
}

.right-col h4 {
  margin: 0;
  font-size: 14px;
}

.right-col h4 a {
  font-weight: 700;
  text-decoration: none;
}

.right-col h4 a:hover {
  text-decoration: underline;
}

.col-2 a {
  font-weight: 700;
  text-decoration: none;
}

.col-2 a:hover {
  text-decoration: underline;
}

.col-2 h4 {
  margin: 0;
  font-size: 14px;
}

.col-2 h4 a {
  font-weight: 700;
  text-decoration: none;
}

.col-2 h4 a:hover {
  text-decoration: underline;
}

/* PDF Thumbnails */
ul.pdf-thumbnail-list {
  display: flex;
  margin: 0;
  padding: 10px 0 30px;
  list-style-type: none;
}

ul.pdf-thumbnail-list li {
  flex-basis: 145px;
}

ul.pdf-thumbnail-list li:last-child {
  padding-left: 15%;
}

ul.pdf-thumbnail-list li h4 {
  margin-top: 3px;
  line-height: 1.2em;
}

ul.pdf-thumbnail-list-kidney {
  display: inline;
  margin: 0;
  padding: 10px 0 30px;
  list-style-type: none;
}

ul.pdf-thumbnail-list-kidney li {
  flex-basis: 200px;
}

ul.pdf-thumbnail-list-kidney li:last-child {
  padding-left: 0;
}

ul.pdf-thumbnail-list-kidney li h4 {
  margin-top: 6px;
  line-height: 1.2em;
}

/* Checklist */
.checklist {
  max-width: 360px;
  margin-top: 20px;
  margin-bottom: 40px;
  line-height: 20px;
}

.checklist ul {
  display: block;
  margin-left: 27px;
  padding: 0;
  list-style-image: url('../img/checkbox.png');
  list-style-position: outside;
}

.checklist ul li {
  padding-bottom: 10px;
}

.checklist ul li:last-child {
  padding: 0;
}

/* ==========================================================================
   Funding/Contact Section
   ========================================================================== */

.contact {
  padding: 10px 0 20px;
  background: #FFFFFF;
  text-align: center;
}

.contact p {
  padding: 0 10px;
  font-size: 20px;
  line-height: 28px;
}

.contact a {
  font-weight: bold;
  color: #61666D;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact .cfn {
  display: flex;
  width: 75%;
  margin: auto;
}

.contact .cfn .four-logos {
  display: flex;
  width: 75%;
  margin: auto;
  justify-content: space-evenly;
}

.contact .cfn .left-col {
  width: 150px;
  margin: 0 20px 20px 20px;
}

.contact .cfn .right-col {
  margin: 0;
}

.contact .cfn .right-col .funding-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-items: center;
  padding-top: 40px;
  padding-left: 45px;
}

.contact .cfn .right-col .funding-logos > * {
  flex-grow: 1;
  display: flex;
  width: calc(33% - (40px * 2/3));
  align-items: center;
  justify-content: center;
}

.contact .cfn .right-col p {
  margin: 9px 0;
  font-size: 16px;
  line-height: 18px;
  text-align: left;
}

.fine-print {
  max-width: 650px;
  margin: 10px 0 60px;
  font-size: 12px;
  text-align: left;
}

.two-funders {
  padding: 50px;
  justify-content: space-around;
}

.queries {
  text-align: center;
}

.queries p {
  width: 95%;
  max-width: 650px;
  min-width: 400px;
  margin: 20px auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #61666D;
  text-align: left;
}

.our-team p {
  width: 80%;
  max-width: 650px;
  min-width: 400px;
  margin: 20px auto;
  font-size: 16px;
  line-height: 20px;
  color: #61666D;
  text-align: center;
}

.logos {
  padding: 20px 0;
}

/* ==========================================================================
   Anchors
   ========================================================================== */

#qol-video1 {
  display: block;
  margin-top: -100px;
  padding-top: 100px;
}

.anchor {
  display: block;
  margin-top: -50px;
  padding-top: 50px;
}

/* ==========================================================================
   Media Queries - Tablet (601px to 1024px)
   ========================================================================== */

@media only screen and (min-width: 601px) {
  .desktop {
    display: inherit;
  }

  .mobile {
    display: none;
  }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .content .col-2 {
    float: none;
    display: flow-root;
    width: auto;
  }

  .content .col-3 {
    display: flex;
    flex-wrap: wrap;
    float: none;
    justify-content: space-between;
    margin-top: 1em;
    margin-left: 175px;
  }

  .content .col-3 a {
    padding: 0 1em;
  }

  .contact .cfn .right-col .funding-logos > * {
    width: calc(50% - (40px * 1/2));
  }

  .emac {
    padding: 1px 40px;
  }
}

/* ==========================================================================
   Media Queries - Mobile (600px and below)
   ========================================================================== */

@media only screen and (max-width: 600px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: inherit;
  }

  .emac {
    padding: 1px 40px;
  }

  .content {
    padding: 20px 20px 26px 15px;
  }

  .row,
  .narrowrow {
    display: flex;
    flex-direction: column;
    margin: 0 50px;
  }

  .content .left-col {
    float: left;
    width: auto;
    margin-right: 20px;
  }

  .content .left-col img {
    width: auto;
    height: 4.5em;
  }

  .content .right-col {
    display: block;
    margin-right: 0;
  }

  .content .right-col p,
  .content .col-2 p {
    margin-top: 0;
  }

  .content .col-1,
  .content .col-2,
  .content .col-3 {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .content .col-3 img {
    max-width: 400px;
  }

  .resources {
    margin-left: 1.5em;
    margin-right: 1.0em;
  }

  .resources ul {
    padding-left: 1.0em;
  }

  .qol-learning-resources {
    padding: 0 10px 30px;
  }

  ul.pdf-thumbnail-list li:last-child {
    padding-left: 5%;
  }

  .right-col .checklist {
    width: 100%;
  }

  .contact .cfn {
    flex-direction: column;
  }

  .contact .cfn .left-col {
    width: 100%;
  }

  .contact .cfn .right-col {
    margin-left: 0;
    text-align: center;
  }

  .contact .cfn .right-col .funding-logos > * {
    width: 100%;
  }

  .contact .cfn .right-col p {
    width: 100%;
  }

  .queries p {
    position: relative;
    width: 330px;
    padding: 0 25px;
  }

  .two-funders {
    gap: 30px;
    padding: 20px 0 60px 0;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a,
  a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  
  pre {
    white-space: pre-wrap !important;
  }
  
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }
  
  tr,
  img {
    page-break-inside: avoid;
  }
  
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  
  h2,
  h3 {
    page-break-after: avoid;
  }
}

