/*
Theme Name: Multiple Myeloma
Theme URI:  https://med-iq.com
Author:      Bob Clingan
Author URI:  https://med-iq.com
Description: Multiple Myeloma WordPress theme. Requires Advanced Custom Fields Pro.
Version:     1.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: multiple-myeloma
*/

:root {
  --green: 117, 190, 167;
  --dark-green: 95, 140, 126;
  --orange: 249, 171, 63;
  --dark-orange: 202, 139, 51;
  --blue: 83, 91, 195;
  --dark-blue: 69, 75, 149;
  --purple: 102, 102, 153;
  --gray: #b0b0b0;
  --dark-gray: #2e2e2e;
  --white: #fff;
  --alpha: 0.1;
  --beta: 1.2;
  --header-height-mobile: 70px;
  --header-height-desktop: 70px;
  --footer-height: 70px;
  --border-radius: 20px;
}

/*** begin override bootstrap styles ***/

html,
body {
  color: var(--dark-gray);
  font-weight: 400;
  font-size: 18px;
  font-family: proxima-nova, sans-serif;
  line-height: 130%;
  background-color: var(--white);
}

.header {
    background-color: rgb(var(--green), 1);

}

.content-container {
  min-height: calc(100vh - var(--header-height-mobile) - var(--footer-height));
}

img {
  max-width: 100%;
  height: auto;
}

.footer-container {
  min-height: var(--footer-height);
  background-color: rgb(var(--green), 1);
  font-size: 0.9rem;
}

a {
  color: rgb(var(--blue), 1);
  text-decoration: none;
}

a:hover {
  color: rgb(var(--dark-blue), 1);
  text-decoration: underline;
}

.footer-container a {
  color: var(--dark-gray);
}

h1,
.h1 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 130%;
  font-weight: 700;
}

.h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 100%;
  font-weight: 700;
}

.h3 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 130%;
  font-weight: 600;
}

.h4 {
  font-size: 0.725rem;
  line-height: 130%;
  font-weight: 400;
}

.white-text {
  color: var(--white);
}

.nav-link,
.nav-link:hover {
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
}

.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:focus {
  font-size: 1rem;
  line-height: 130%;
  border: none;
  box-shadow: none;
}

/***** remove bootstrap hamburger and add one with flare *****/
.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 30px;
  height: 20px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
  content: "";
  position: absolute;
  background-color: var(--dark-gray);
  height: 3px;
  width: 100%;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  left: 0;
  top: 0;
}

.navbar-toggler-icon::after {
  left: 0;
  bottom: 0;
}

.navbar-toggler-icon div {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 50%;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 50%;
  transform: rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon div {
  opacity: 0;
}

.menu-item.current-menu-item {
  text-decoration: underline;
  text-decoration-color: rgb(var(--orange), 1);
  -webkit-text-decoration-color: rgb(var(--orange), 1);
  text-decoration-thickness: 4px;
  text-decoration-offset: 5px;
  pointer-events: none;
}

/***********************************************************************
          WELCOME - HOME PAGE
***********************************************************************/

.welcome-btn-orange {
  background-color:  rgb(var(--orange), 1);
  border: 2px solid rgb(var(--orange), 1);
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  padding: 10px 20px;
  margin-bottom: 1rem;
  border-radius: 6px;
  width: 100%;
  max-width: 250px;
  text-decoration: none;
}
.welcome-btn-orange:hover,
.welcome-btn-orange:focus,
.welcome-btn-orange:first-child:active {
  background-color:  rgb(var(--dark-orange), 1);
  border: 2px solid rgb(var(--dark-orange), 1);
  color: var(--white);
  text-decoration: none;
}

.welcome-btn-white {
  background-color: var(--white);
  border: 2px solid rgb(var(--green), 1);
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  padding: 10px 20px;
  margin-bottom: 1rem;
  border-radius: 6px;
  width: 100%;
  max-width: 250px;
}
.welcome-btn-white:hover,
.welcome-btn-white:focus,
.welcome-btn-white:first-child:active {
  background-color: rgb(var(--dark-green), 1) !important;
  border: 2px solid rgb(var(--dark-green), 1) !important;
  color: var(--white) !important;
  text-decoration: none;
}

/* Right section styles */
.welcome-links {
  justify-content: center;
  font-size: 0.75rem;
  line-height: 130%;
  font-weight: 600;
}

.welcome-active-link {
  color: var(--dark-gray);
  text-decoration: underline;
  text-decoration-color: rgb(var(--orange), 1);
  -webkit-text-decoration-color: rgb(var(--orange), 1);
  text-decoration-thickness: 4px;
  text-decoration-offset: 5px;
  pointer-events: none;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border: 3px solid var(--dark-gray);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*****     ECHO SESSIONS     *****/

.echo-session-container {
  padding: 30px 0 0;
  background-color: rgb(var(--orange), var(--alpha));
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

/* Button styling */
.echo-session-btn {
  background-color: var(--white);
  border: 2px solid rgb(var(--green), 1);
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  width: 100%;
  max-width: 250px;
}
.echo-session-btn:hover,
.echo-session-btn:focus,
.echo-session-btn:first-child:active {
  background-color: rgb(var(--dark-green), 1);
  border: 2px solid rgb(var(--dark-green), 1);
  color: var(--white);
  text-decoration: none;
}

/* note text */
.echo-session-note {
  font-size: 0.725rem;
  line-height: 130%;
  width: 250px;
  margin: 0.5rem auto;
}

/*****      TOOLKITS      *****/

/* Toolkit Card */
.toolkit-card {
  border: 2px solid rgb(var(--green), 1);
  border-radius: 40px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Image Section (Top Third) */
.toolkit-card-image {
    height: 150px;
    overflow: hidden;
}

.toolkit-card-image imgd {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Card Body */
.toolkit-card-body {
  font-size: 0.725rem;
  line-height: 130%;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
}

/* Card Footer */
.toolkit-card-footer {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 1rem;
  text-align: center;
}

/* Button */
.toolkit-card-btn {
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  background-color: rgb(var(--orange), 1);
  color: var(--dark-gray);
  border: 2px solid rgb(var(--orange), 1);
  padding: 10px 20px;
  border-radius: 6px;
  width: 100%;
  max-width: 60%;
}
.toolkit-card-btn:hover,
.toolkit-card-btn:focus,
.toolkit-card-btn:first-child:active {
  background-color:  rgb(var(--dark-orange), 1);
  border: 2px solid rgb(var(--dark-orange), 1);
  color: var(--white);
  text-decoration: none;
}

/*****     COLLABORATION      *****/

/* Collaboration Section */
.collaboration-section {
    background-color: var(--gray);
    border-top-right-radius: 130px;
    border-bottom-left-radius: 130px;
}

/* Logo Grid */
.collaboration-logos {
  display: grid;
  grid-template-columns: auto;
  gap: 50px;
  justify-content: center;
  align-items: center;
}

/* Logo Styling */
.collaboration-logos img {
  max-width: 50%;
  margin: auto;
}

/***********************************************************
          TOOLKITS
***********************************************************/

/*****     PODCASTS    *****/

.podcast-container {
  padding: 30px 0 0;
  background-color: rgb(var(--orange), var(--alpha));
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

/* Podcast Episode Card */
.podcasts-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Podcast Title */
.podcasts-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Podcast Button */
.podcasts-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.podcasts-button:hover,
.podcasts-button:first-child:active {
    background-color: #0056b3;
}

/*****     PROVIDER RESOURCES     *****/

.provider-resources-highlight {
    color: rgb(var(--green), 1);
}

.provider-resource-card {
  border: 2px solid rgb(var(--green), 1);
  border-radius: 20px;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  margin-bottom: 20px;
}

.provider-resource-card-body {
  font-size: 0.725rem;
  line-height: 130%;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.provider-resource-card-footer {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 1rem;
  text-align: center;
}

.provider-resource-card-btn {
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  background-color: rgb(var(--green), 1);
  border: 2px solid rgb(var(--green), 1);
  color: var(--dark-gray);
  padding: 10px 15px;
  border-radius: 6px;
  width: 100%;
  max-width: 60%;
}
.provider-resource-card-btn:hover,
.provider-resource-card-btn:focus,
.provider-resource-card-btn:first-child:active {
  background-color:  rgb(var(--dark-green), 1);
  border: 2px solid rgb(var(--dark-green), 1);
  color: var(--white);
  text-decoration: none;
}

.provider-resource-full-download-btn {
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  background-color: rgb(var(--orange), 1);
  border: 2px solid rgb(var(--orange), 1);
  color: var(--dark-gray);
  padding: 10px 15px;
  border-radius: 6px;
}
.provider-resource-full-download-btn:hover,
.provider-resource-full-download-btn:focus,
.provider-resource-full-download-btn:first-child:active {
  background-color:  rgb(var(--dark-orange), 1);
  border: 2px solid rgb(var(--dark-orange), 1);
  color: var(--white);
  text-decoration: none;
}

/*****     PATIENT RESOURCES     *****/

.patient-resource-container {
  padding: 30px 0 0;
  background-color: rgb(var(--purple), var(--alpha));
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

.patient-resources-highlight {
    color: rgb(var(--purple), 1);
}

.patient-resource-card {
  border: 2px solid rgb(var(--purple), 1);
  border-radius: 20px;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  margin-bottom: 20px;
}

.patient-resource-card-body {
  font-size: 0.725rem;
  line-height: 130%;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.patient-resource-card-footer {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 1rem;
  text-align: center;
}

.patient-resource-card-btn {
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  background-color: rgb(var(--purple), 1);
  border: 2px solid rgb(var(--purple), 1);
  color: var(--white);
  padding: 10px 15px;
  border-radius: 6px;
  width: 100%;
  max-width: 60%;
}
.patient-resource-card-btn:hover,
.patient-resource-card-btn:focus,
.patient-resource-card-btn:first-child:active {
  background-color:  rgb(var(--dark-blue), 1);
  border: 2px solid rgb(var(--dark-blue), 1);
  color: var(--white);
  text-decoration: none;
}

.patient-resource-full-download-btn {
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  background-color: rgb(var(--orange), 1);
  border: 2px solid rgb(var(--orange), 1);
  color: var(--dark-gray);
  padding: 10px 15px;
  border-radius: 6px;
}
.patient-resource-full-download-btn:hover,
.patient-resource-full-download-btn:focus,
.patient-resource-full-download-btn:first-child:active {
  background-color:  rgb(var(--dark-orange), 1);
  border: 2px solid rgb(var(--dark-orange), 1);
  color: var(--white);
  text-decoration: none;
}


/***********************************************************
          ECHO Program
***********************************************************/

.echo-session-card-header .session-title {
  background-color:  rgb(var(--purple), 1);
  color: var(--white);
  padding: 1.5rem 1rem;
}
.echo-session-card-header .session-date {
  background-color:  rgb(var(--purple), var(--alpha));
  color: var(--dark-gray);
  padding: 1.5rem 1rem;
}

.echo-session-card-header.echo-session-community  .session-title {
  background-color: rgb(var(--orange), 1);
  color: var(--dark-gray);
}
.echo-session-card-header.echo-session-community .session-date {
  background-color:  rgb(var(--orange), var(--alpha));
  color: var(--dark-gray);
}

.echo-session-register-btn {
  font-size: 0.9rem;
  line-height: 130%;
  font-weight: 600;
  background-color: rgb(var(--green), 1);
  border: 2px solid rgb(var(--green), 1);
  color: var(--dark-gray);
  padding: 10px 15px;
  border-radius: 6px;
  width: 100%;
  max-width: 60%;
}
.echo-session-register-btn:hover,
.echo-session-register-btn:focus,
.echo-session-register-btn:first-child:active {
  background-color:  rgb(var(--dark-green), 1);
  border: 2px solid rgb(var(--dark-green), 1);
  color: var(--white);
  text-decoration: none;
}

/* note text */
.echo-session-register-note {
  font-size: 0.725rem;
  line-height: 130%;
  width: 250px;
  margin: 0.5rem auto 0 auto;
}

/***********************************************************
          FACULTY
***********************************************************/

.faculty-container {
  padding: 30px 0 0;
  background-color: rgb(var(--orange), var(--alpha));
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

/* Individual Faculty Card */
.faculty-card {
  display: flex;
  background-color: var(--white);
  border: 2px solid rgb(var(--green), 1);
  border-radius: 40px;  
  width: 100%;
  margin-bottom: 1.5rem;
}

/* Faculty Image */
.faculty-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 1rem;
}

/* Faculty Bio */
.faculty-bio {
  font-size: 0.9rem;
  line-height: 130%;
}


/***********************************************************
          COLLABORATOR
***********************************************************/

.collaborator-container {
  padding: 30px 0 0;
  background-color: rgb(var(--orange), var(--alpha));
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

/* Individual Collaborator Card */
.collaborator-card {
  display: flex;
  background-color: var(--white);
  border: 2px solid rgb(var(--purple), 1);
  border-radius: 40px;  
  width: 100%;
  margin-bottom: 1.5rem;
}

/* Collaborator Image */
.collaborator-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 1rem;
}

/* Collaborator Copy */
.collaborator-copy {
  font-size: 0.9rem;
  line-height: 130%;
}

/**** extra-small and below ****/
@media (width <= 575.98px) {
  /* add rules as needed */
}

/**** small and above ****/
@media (width >= 576px) {

}

/**** small and below ****/
@media (width <= 767.98px) {

}

/**** medium and above ****/
@media (width >= 768px) {

  .collaboration-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .collaboration-logos img {
    max-width: 100%;
    max-height: 70px;
  }

  .provider-resource-card-btn,
  .patient-resource-card-btn {
    max-width: 175px;
 }

  .faculty-image {
    width: 175px;
    height: 175px;
  }

  .collaborator-image {
    width: 175px;
    height: 175px;
  }

}

/**** medium and below ****/
@media (width <= 991.98px) {
  /* add rules as needed */
}

/**** large and above ****/
@media (width >= 992px) {
  .echo-session-register-btn {
    max-width: 250px;
  }
  .echo-session-register-note {
    margin: 0.5rem 0 0 0;
  }
  .echo-session-card-header .session-date {
    width: 200px;
  }
}

/**** large and below ****/
@media (width <= 1199.98px) {
  /* add rules as needed */
}

/**** extra-large and above ****/
@media (width >= 1200px) {
  .toolkit-card-btn {
    max-width: 175px;
 }
}

/**** extra-large and below ****/
@media (width <= 1399.98px) {
  /* add rules as needed */
}

/**** extra-extra-large and above ****/
@media (width >= 1400px) {
  .col-1400 {
    flex: 0 0 auto;
    width: 900px;
  }
  .col-1400-resource-card {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .provider-resource-card-container,
  .patient-resource-card-container {
    width: 290px !important;
  }

  .welcome-btn-white {
    margin-left: 0;
 }

}

/**** custom 1500px wide and above ****/
@media (width >= 1500px) {
}

/**** custom 1600px wide and above ****/
@media (width >= 1600px) {
}

/**** custom 1800px wide and above ****/
@media (width >= 1800px) {
  .col-1800 {
    flex: 0 0 auto;
    width: 1190px;
  }
  .col-1800-resource-card {
    flex: 0 0 auto;
    width: 25%;
  }

  .welcome-btn-white {
    margin-left: 1rem;
 }

}

/**** custom 1900px wide and above ****/
@media (width >= 1900px) {
}

@media print {
  /* add rules as needed */
}