/* ============================================
   BIOSTATISTICS@UHN — vanilla/css/styles.css
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.75em;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
h1 {
  font-weight: 700;
}

body {
  padding-top: 6rem;
  overflow-x: hidden;
  margin: 0;
}

::selection {
  background-color: #2566af;
  color: #fff;
}

h1 {
  font-size: 3em;
  font-weight: 700;
  margin: 0;
}
h2 {
  font-size: 1.75em;
  font-weight: 400;
  margin: 0;
}
h3 {
  font-size: 1.1em;
  margin: 0;
}
p {
  margin: 0;
}

a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: none !important;
}

.grey {
  color: grey;
}
.mainColor {
  color: #2566af;
}
.tinted {
  background-color: rgba(37, 102, 175, 0.07);
}
.title-underline {
  background-color: #2566af;
}
.wave-down {
  fill: #2566af;
}

.text-center {
  text-align: center;
}
.text-wrap {
  word-wrap: break-word;
}
.showOnMobile {
  display: none;
}
.showOnDesktop {
  display: block;
}

.mainMargins {
  margin-left: 10%;
  margin-right: 10%;
}
.flip-card-section-margins {
  margin-left: 10%;
  margin-right: 10%;
}

.smallSpacer {
  height: 25px;
}
.bigSpacer {
  height: 100px;
}

.tintedWithPadding {
  padding-top: 50px;
  padding-bottom: 50px;
}
.sectionWithPadding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.title-underline {
  margin-left: calc(50% - 30px);
  width: 60px;
  height: 2px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.line {
  margin: 20px 0;
  width: 100%;
  background-color: black;
  height: 1px;
}
.row {
  margin-top: 50px;
}
.padding-bottom-30 {
  padding-bottom: 30px;
}

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

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  z-index: 9999;
  height: 6rem;
  padding: 0 4.8rem;
}

.logo-in-header {
  height: 6rem;
  margin-left: -10px;
  object-fit: contain;
  display: block;
}

/* NAVIGATION */
.main-nav ul {
  margin: 0;
  padding: 0;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #2566af;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}
.icon-mobile-nav {
  height: 2rem;
  width: 2rem;
}
.icon-mobile-nav[name='close-outline'] {
  display: none;
}

.nav-open .main-nav {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translateX(0%) !important;
}
.nav-open .icon-mobile-nav[name='close-outline'] {
  display: block !important;
}
.nav-open .icon-mobile-nav[name='menu-outline'] {
  display: none !important;
}

#about {
  scroll-margin-top: 6rem;
}

#statistical-consulting-services {
  scroll-margin-top: 5rem;
}

#faq {
  scroll-margin-top: 3rem;
}

#team {
  scroll-margin-top: 3rem;
}

#contact {
  scroll-margin-top: 5rem;
}

/* STICKY CITE BUTTON */
.sticky-login-wrapper {
  position: fixed;
  top: 6.5rem;
  right: 1rem;
  z-index: 1000;
}

.btn {
  border-radius: 5px;
  color: white !important;
  display: inline-block;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 8px 16px 8px 16px;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
}
.btn:hover {
  background-color: white;
}

/* ~Button Related~ */
.btn {
  background-color: #2566af;
}
.btn:hover {
  color: #2566af !important;
  box-shadow: 0 5px 11px rgb(0, 110, 174, 0.6); /*RGB of #MAINCOLOR*/
}
/* HERO */
.landing {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

.landing-mobile {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.landing-contain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.landing-mobile-contain {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/photos/mobile-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.jumbo-container {
  color: white;
  max-width: 50%;
}
.jumbo-title {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.uhn-logo-landing {
  height: 7rem;
  margin-left: -2rem;
}

.btn-get-started {
  display: inline-block;
  background-color: #3b82f6;
  color: white !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  transition: background-color 0.3s;
}
.btn-get-started:hover {
  background-color: #1d4f8f;
}

.cta {
  color: white;
  font-size: 1em;
  border-radius: 50px;
  padding: 10px 20px 10px 20px;
  margin-top: 20px;
}
.cta:after {
  /* content: '  â€º'; */
  content: '  ›';
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
}
.cta:hover:after {
  padding-left: 5px;
}

/* WELCOME */
.welcome-section-wrap {
  width: 100%;
}

.welcome-bg {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  background-image: url('../images/icons/PMCRT.svg');
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 110% 10%;
}

.welcome-inner {
  padding-top: 30px;
  padding-bottom: 30px;
}
.welcome-title {
  font-size: 2.5em;
  line-height: 1.2;
}
.welcome-text {
  line-height: 1.75em;
}
.textLeft-60 {
  margin-right: 40%;
}

/* FLIP CARDS */
.flip-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}

.flip-card-wrapper {
  width: 520px;
  height: 340px;
  perspective: 1000px;
  margin: 0.75rem;
  flex-shrink: 0;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.flip-card-wrapper:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flipCard {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  padding: 20px;
  background-size: cover;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.25);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  color: white;
  overflow: hidden;
}

.flipCardFront-heading {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px;
}

.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.25);
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-back-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.5rem;
  height: 100%;
  overflow-y: auto;
}

.flip-card-back-inner li {
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.flip-card-back-inner h2 {
  line-height: 1.2;
}

.flip-card-back-title {
  color: #2566af;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  flex-shrink: 0;
}

.flip-card-back ul {
  list-style: disc;
  width: 100%;
  text-align: left;
  padding-left: 1.5rem;
  flex-shrink: 0;
}

.flip-card-back li {
  margin-bottom: 0.4rem;
}

/* FAQ */
.faq-section {
  padding: 40px 0;
}
.faq-items {
  padding: 0 1rem;
  max-width: 950px;
  margin: 0 auto;
}

.accordion-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  background-color: white;
  padding: 25px 30px;
  border: 1px solid #d1d5db;
  transition: background-color 0.2s;
}
.accordion-header:hover {
  background-color: #eff6ff;
}

.accordion-number {
  flex-shrink: 0;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  background-color: #2566af;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  margin-right: 16px;
  margin-left: 16px;
}

.accordion-text {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body.open {
  max-height: 600px;
}

.accordion-body-inner {
  background-color: white;
  padding: 25px 50px;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.accordion-body-inner a {
  color: #2566af !important;
}
.accordion-body-inner a:hover {
  text-decoration: underline !important;
}

/* TEAM */
.team-section {
  padding: 40px 20px;
  margin: 0;
}
.team-section-margins {
  margin-left: 25%;
  margin-right: 25%;
  text-align: center;
}
.team-name-box {
  padding: 20px 0 10px 10px;
  text-align: left;
}
.team-members-row {
  display: flex;
  flex-wrap: wrap;
}

.manager-box {
  border: 2px solid #2566af;
  border-radius: 5px;
  margin-right: 20px;
  margin-bottom: 30px;
  padding: 15px 10px 10px 10px;
  word-wrap: break-word;
}
.manager-box-size {
  width: 175px;
  height: 155px;
}

.staff-box {
  background-color: #2566af;
  border: 2px solid #2566af;
  border-radius: 5px;
  color: #fff;
  margin-right: 20px;
  margin-bottom: 30px;
  padding: 15px 10px 10px 10px;
  word-wrap: break-word;
}
.staff-box-size {
  width: 175px;
  height: 155px;
}
.staff-name {
  font-size: 1.3rem;
  line-height: 1.9rem;
}
.staff-detail {
  margin-bottom: 5px;
}

/* RRID */
#rrids-section {
  scroll-margin-top: 7rem;
}
.rrids-container {
  padding: 20px 0;
}
.rrids-title {
  line-height: 1.3;
}
.rrids-desc {
  max-width: 720px;
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.rrid-list {
  list-style: none;
  padding-left: 0;
  max-width: 720px;
}

.rrid-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.rrid-code {
  position: relative;
  cursor: pointer;
  user-select: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
  font-size: 0.95em;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  display: inline-block;
  margin-left: 6px;
}
/* Tooltip */
.rrid-code::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
  opacity: 0;
}

.rrid-code::after {
  content: 'Copied!';
  position: absolute;
  left: 50%;
  top: -48px;
  transform: translateX(-50%);
  background: #2566af;
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  z-index: 2;
}

/* Show tooltip */
.rrid-code.copied::after,
.rrid-code.copied::before {
  opacity: 1;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CONTACT */
.contact-us-section {
  padding: 40px 0;
  margin: 0;
}
.contact-info {
  text-align: center;
}
.mailto-style a:hover {
  text-decoration: underline !important;
}
.mailto-color-mainColor a {
  color: #2566af;
}
.mailto-color-inherit a {
  color: inherit;
}

.tabBody {
  width: 100%;
  background-color: #e5edfd;
  background-image: url('../images/icons/email.svg');
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 90% 50%;
}
.tabBody-container {
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 5%;
  padding-right: 5%;
}
.optionContainer {
  display: flex;
  justify-content: center;
}
.sub-title {
  font-size: 1.2em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 30px;
  margin-bottom: 30px;
}
.information {
  width: 100%;
}
.mapInfoContainer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.gap10 {
  gap: 2.5rem;
}
.map-text {
  text-align: left;
}
.col-span-5 {
  grid-column: span 5;
}
.col-span-7 {
  grid-column: span 4;
}

/* FOOTER */
footer {
  background-color: #2566af;
  color: white;
  width: 100%;
  position: relative;
}
footer ul {
  font-weight: 300;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
footer li {
  padding: 10px 0 5px 0;
}
footer .line {
  margin-top: 10px;
  margin-bottom: 36px;
  background-color: white;
  height: 1px;
}
footer .wrapper {
  display: flex;
  flex-flow: row wrap;
  font-weight: bold;
  justify-content: space-around;
}
.col1 {
  flex-shrink: 0;
  flex-grow: 1;
  padding-bottom: 40px;
  padding-left: 20px;
}
.col {
  flex-basis: 30%;
}
.logo-in-footer {
  height: 120px;
  margin-top: -25px;
}
.cores-link-style {
  font-weight: 400;
  font-size: 1.2em;
}
.wave-down {
  transform: translateY(-2px);
}
.footer-copy ul {
  list-style-type: none;
  padding: 1.3em 0 0 0;
}
.footer-copy ul li {
  display: inline-block;
}
.footer-copy a:hover {
  color: black;
}
.footer-mainMargins {
  padding: 0 10%;
}
.image-credit-text {
  text-align: center;
  font-size: 0.75em;
}

/* WEBINAR */
.webinar-sharepoint-link {
  color: #2566af !important;
}
.webinar-sharepoint-link:hover {
  text-decoration: underline !important;
}
.events-table {
  width: 100%;
  border-collapse: collapse;
}
.events-table-header {
  border-bottom: 2px solid #9ca3af;
  border-top: 6px solid #2566af;
}
.events-table-header th {
  text-align: left;
  padding: 0.5rem;
}
.event-row {
  border-bottom: 1px solid #e5e7eb;
}
.event-date-cell {
  padding: 0.5rem;
  vertical-align: top;
  width: 33%;
}
.event-detail-cell {
  padding: 0.5rem;
  vertical-align: top;
}
.join-webinar-link {
  color: #2566af !important;
}
.join-webinar-link:hover {
  text-decoration: underline !important;
}
.show-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.show-more-btn {
  padding: 0.5rem 1.75rem;
  border-radius: 9999px;
  background-color: #2566af;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 1rem;
}
.show-more-btn:hover {
  background-color: #1d4f8f;
}

/* UTILITY */
.hidden {
  display: none !important;
}

/* ABOUT - ordered services list */
.about-services-list {
  padding-left: 2.5rem;
  list-style-type: decimal;
}

/* FLIP CARD - per-card background images */
.flipCard-design-analysis {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../images/photos/design-analysis.jpg');
}
.flipCard-methodology {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../images/photos/methodology-development.jpg');
}
.flipCard-data-capture {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../images/photos/science-visualization.jpg');
}
.flipCard-clinical-training {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../images/photos/clinical-scientific.jpg');
}

/* CONTACT - map iframe */
.map-iframe {
  border: 0;
  display: block;
}

/* FOOTER - copyright links */
.footer-legal-link {
  padding: 28px 5px 0 5px;
}
.footer-provision-link {
  padding: 28px 0 0 0;
}

/* WEBINAR PAGE */
.page-title {
  text-align: center;
  padding-top: 3rem;
}
.webinar-intro-box {
  margin-bottom: 3rem;
}
.webinar-intro-text {
  font-size: 1.25rem;
}
.webinar-section-heading {
  margin-bottom: 3rem;
}
.past-events-section {
  margin-top: 3rem;
}

/* PROJECT REQUEST FORM - paragraph spacing */
.request-intro-para {
  padding-bottom: 2rem;
}
.request-link-para {
  padding-bottom: 1rem;
}
.request-guide-para {
  padding-bottom: 2.5rem;
}

/* PROJECT REQUEST FORM - misc */
.word-break {
  word-break: break-all;
}
.screenshot-wrapper {
  padding-bottom: 2rem;
}
.screenshot-wrapper-top {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.onboarding-screenshot {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}
.text-warning {
  font-weight: 600;
  color: #dc2626;
}
.section-b-wrapper {
  padding-top: 1rem;
}

.teamphoto {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 800px;
  border-radius: 4px;
}
