/* Case Study Styles */

/* DM Sans font*/
body {
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	background-color: #FFFDF4; /* Pale Beige */
	color: #1F2130; /* darkest purple */
}
/**********/

/* FONT STYLES */

p, ul, ol {
	font-size: 20px;
	font-weight: 300; /* light */
	line-height: 30px;
	margin-bottom: 30px;
}

ul li {
  font-size: 20px;
  margin-bottom: 15px;
  margin-left: 20px;
}

ul ul {
  margin-top: 20px;
}

ol li {
  font-size: 20px;
  margin-bottom: 15px;
  margin-left: 20px;
}

strong {
	font-weight: 600; /* semibold */
}

H1 {
	font-size: 56px;
	font-weight: 600; /* semibold */
	}

H2 {
	font-size: 42px;
	font-weight: 700; /* bold */
	}

H3 {
	font-size: 32px;
	font-weight: 700; /* bold */
	}

H4 {
	font-size: 24px;
	font-weight: 700; /* bold */
	}

H5 {
	font-size: 14px;
	font-weight: 900; /* black */
	}
/**********/


/* Case Study Top Nav */
.bg-custom {
	background-color: #25293D; /* dark purple */
}

.bg-custom a {
  color: #FFFDF4; /* Pale Beige */
}
.bg-custom a:link {
  color: #FFFDF4; /* Pale Beige */
}
.bg-custom a:visited {
  color: #FFFDF4; /* Pale Beige */
}
.bg-custom a:hover {
  color: #FFFDF4; /* Pale Beige */
  text-decoration: underline;
}
.bg-custom a:active {
  color: #FFFDF4; /* Pale Beige */
} 

.navbar-brand, .navbar-nav li {
  font-size: 16px;
  padding: 0;
  margin: 0;
}

.navbar-nav .nav-link {
  font-weight: 300;
}

.navbar-nav .nav-link:hover {
  text-decoration: underline;
}
.navbar-toggler {
  box-shadow: none;
}
/* Make hamburger icon white */
.navbar-toggler-icon {
  filter: invert(100%);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}
/**********/



/* Hero Title Line */
.hero-title::after {
  content: "";
  display: block;
  width: 184px;
  height: 2px;
  background-color: #1F2130; /* darkest purple */
  margin-top: 30px;
}
/**********/

/* Hero Image */
.hero-image {
  width: 700px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image-col {
  flex: 0 0 auto;
}
/**********/

/* About Page Self-Portrait in Hero */
.about-hero-selfport {
  width: 340px;
  height: 340px;
}
/**********/


/* Cast Study Left Sticky Nav */
.case-study-nav-label {
  color: #AE452F; /* dark red */
}

#case-study-nav .nav-link {
  color: #1F2130; /* darkest purple */
  background-color: transparent;
  border-radius: 0;
  padding-left: 10px;
  position: relative;
}

#case-study-nav .nav-link.active {
  text-decoration: underline;
  border-radius: 0;
}

#case-study-nav .nav-link.active::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 10px;
  height: 10px;
  background-color: #AE452F; /* dark red */
  transform: translateY(-50%) rotate(45deg);
}
/**********/


/* Case Study Main Content Overrides*/
.case-study-hero-custom {
  background-color: #E17E69;
  background-image: url("data:image/svg+xml,%3Csvg width='36' height='18' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f48c75' fill-opacity='0.70'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 36px;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.case-study-hero-custom .row {
  width: 100%;
  min-height: inherit;
}

.case-section {
  padding: 2rem 0;
}

.case-content {
  max-width: 730px;
}

.case-content-centered {
  max-width: 730px;
  margin: 30px auto 30px auto;
}

.case-content-centered:first-child {
  margin-top: 0;
}

.case-content-centered ol {
  font-size: 20px;
}

.case-content-centered ol li {
  margin-bottom: 30px;
}

/* Images that should be wider */
.case-image {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.image-caption {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 0px;
  color: #35394F; /* purple */
}
/**********/



/* Accordion Style Overrides */
.accordion-item {
  border: 1px solid #1F2130; /* darkest purple */
}

.accordion-button {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23222222'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
  padding: 20px;
  background-color: #FFFDF4; /* Pale Beige */
  font-size: 20px;
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  background-color:  #F2C48A; /* gold */ 
  color: #1F2130; /* darkest purple */
}

.accordion-body {
  background-color: #FFFDF4; /* Pale Beige */
  padding: 40px 20px;
  border-radius: 10px;
}

.accordion-button:focus {
  box-shadow: none;
}
/**********/


/* Crafting a Research Program Before After Cards */
.snapshot-card {
  background-color: #EFB6A6; /* lighter red */
  border-radius: 10px;
}

.snapshot-card p {
font-size: 16px;
line-height: 24px;
margin-bottom: 30px;
}

.snapshot-icon {
  top: -25px;
  right: -25px;
  width: 130px;
  height: 130px;
  opacity: 0.2;
  pointer-events: none;
}

.snapshot-icon svg {
  width: 100%;
  height: 100%;
  fill: #AE452F; /* darkest red */
}
/**********/


/* Crafting a Research Program Participant Panel Card */
.panel-card {
  background-color:  #F2C48A; /* gold */ 
  border-radius: 10px;
  padding-right: 90px;
  box-shadow: none;
}

.panel-icon {
  top: -10px;
  right: -10px;
  width: 140px;
  height: 140px;
  opacity: 0.30;
  pointer-events: none;
}

.panel-icon svg {
  width: 100%;
  height: 100%;
  fill: #CD9F66; /* dark gold */
}

.panel-card p {
font-size: 16px;
line-height: 24px;
margin-bottom: 20px;
}

.panel-card ul li {
font-size: 16px;
line-height: 24px;
margin-left: 0;
}
/**********/


/* Crafting a Research Program Table */
#StudiesGrowthTable > tbody > tr:nth-of-type(odd) > td {
  border-top: 2px solid #1F2130; /* darkest purple */
}

/* Remove top border of first row */
#StudiesGrowthTable > tbody > tr:first-child > td {
  border-top: none;
}

/* Remove bottom border of last row */
#StudiesGrowthTable > tbody > tr:last-child > td {
  border-bottom: none;
}

#StudiesGrowthTable {
  border-bottom: 2px solid #1F2130; /* darkest purple */
  border-top: 2px solid #1F2130; /* darkest purple */
}

#StudiesGrowthTable > tbody > tr > td {
  padding: 20px 0 20px 0;
  padding-bottom: 10px;
}

#StudiesGrowthTable td[rowspan] {
  padding-right: 40px;
}

#StudiesGrowthTable p {
	font-size: 16px;
	line-height: 24px;
	font-weight: 300; /* light */
	margin-bottom: 0;
}

#StudiesGrowthTable h4 {
	font-size: 20px;
	font-weight: 900; /* extra bold */
	color: #AE452F; /* dark red */
}

#StudiesGrowthTable h6 {
	font-size: 16px;
	font-weight: 700; /* bold */
	color: #1F2130; /* darkest purple */
  margin-bottom: 0;
}
/**********/


/* Traveler Field Notes Section */
.traveler-note-row {
  margin-bottom: 40px;
}

.traveler-note-row:last-child {
  margin-bottom: 0;
}

/* Left-Aligned Icon SVG */
.icon-left svg {
  width: 40px;
  height: 40px;
  fill: #75A790; /* green */
}

/* Header */
.traveler-note-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1F2130; /* darkest purple */
  margin-bottom: 8px;
}

/* Attribution */
.traveler-note-source {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #5A5E83; /* lightest purple */
  margin-top: 4px;
}
/**********/



/* Carousel Overrides */

.carousel-title {
  margin: 60px auto 10px auto;
}

/* Carousel container spacing so arrows have room*/
#carouselOne, #carouselTwo {
  position: relative;
  padding: 0 10px 0 10px;
}

/* Controls */
#carouselOne .carousel-control-prev,
#carouselTwo .carousel-control-prev,
#carouselOne .carousel-control-next,
#carouselTwo .carousel-control-next {
  width: auto;
  opacity: 1;
  position: absolute;
  bottom: 80px;
}

/* Left arrow */
#carouselOne .carousel-control-prev,
#carouselTwo .carousel-control-prev {
  left: 0;
}

/* Right arrow */
#carouselOne .carousel-control-next,
#carouselTwo .carousel-control-next {
  right: 0;
}

/* Arrow icons */
#carouselOne .carousel-control-prev-icon,
#carouselTwo .carousel-control-prev-icon,
#carouselOne .carousel-control-next-icon,
#carouselTwo .carousel-control-next-icon {
  background-image: none;
  width: 16px;
  height: 16px;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-right: 2px solid #1F2130; /* darkest purple */
  border-bottom: 2px solid #1F2130; /* darkest purple */
}

/* Left arrow */
.carousel-control-prev-icon::before {
  transform: rotate(135deg);
}

/* Right arrow */
.carousel-control-next-icon::before {
  transform: rotate(-45deg);
}

.carousel-indicators {
  position: relative;
  margin-top: 10px;
}

/* All indicators */
#carouselOne .carousel-indicators button,
#carouselTwo .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 60%;
  border: 2px solid #1F2130; /* darkest purple */
  background: transparent;
  margin: 0 5px;
  opacity: 1;
  pointer-events: none;
}

/* Active indicator */
#carouselOne .carousel-indicators button.active,
#carouselTwo .carousel-indicators button.active {
  background: #1F2130; /* darkest purple */
}
/**********/



/* Case Study bottom nav */
.case-study-footer {
  text-align: center;
}
.case-nav-btn {
  border-radius: 10px;
  border: 2px solid #1F2130; /* darkest purple */
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #1F2130; /* darkest purple */
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.case-nav-btn:hover {
  background-color: #F2C3AF; /* lightest red */
  color: #222222;
  text-decoration: underline;
  border: 2px solid #1F2130; /* darkest purple */
}

.case-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: #1F2130; /* darkest purple */
  flex-shrink: 0;
}

.case-nav-prev svg {
  transform: rotate(180deg);
}

.case-back-link {
  font-size: 16px;
  font-weight: 700;
  color: #1F2130; /* darkest purple */
  text-decoration: none;
}

.case-back-link:hover {
  text-decoration: underline;
  color: #1F2130; /* darkest purple */
}
/*********/



/* About - Recent Experience Table*/
#RecentExperienceTable {
  border-bottom: 2px solid #1F2130; /* darkest purple */
  border-top: 2px solid #1F2130; /* darkest purple */
}

#RecentExperienceTable > tbody > tr > td {
  padding: 15px 0 15px 0;
  width: 50%;
  color: #1F2130; /* darkest purple */
}

#RecentExperienceTable td[rowspan] {
  padding-right: 40px;
}

#RecentExperienceTable h4 {
  font-size: 20px;
	font-weight: 700;
	color: #AE452F; /* dark red */
	margin: 0px;
}

#RecentExperienceTable h6 {
  font-size: 16px;
	font-weight: 900; /* extra bold */
	margin: 0px;
}

#RecentExperienceTable p {
	font-size: 16px;
  line-height: 24px;
	font-weight: 300; /* light */
	margin: 0px;
}
/**********/





/* Footer */
.footer {
  background-color: #91B8A5; /* 90% of middle green */
  color: #1F2130; /* darkest purple */
}

.footer h5 {
  font-size: 20px;
}

.footer ul li {
  margin: 0;
}

.footer-link {
  color: #1F2130; /* darkest purple */
  font-size: 16px;
  font-weight: 400; /* regular */
}

.footer-link:hover {
  text-decoration: underline;
  color: #1F2130; /* darkest purple */
}

.footer-links .nav-link {
  color: #1F2130; /* darkest purple */
  border-bottom: 1px solid #1F2130; /* darkest purple */
}

/* Remove border from last link in each list */
.footer-links .nav-item:last-child .nav-link {
  border-bottom: none;
}
/*********/



/* Responsive Styling *************************************************/
@media (max-width: 768px) {

/* about hero self portrait resize */
.about-hero-selfport {
  width: 180px;
  height: 180px;
  margin: auto;
}

/* fonts stepping down */
h1 {
  font-size: 38px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
.hero-title {
    font-size: 38px;
}
.case-study-hero-custom h5 {
  font-size: 12px;
}
.case-study-hero-custom p {
  font-size: 16px;
  font-weight: 400;
}
/* Hero Title Line */
.hero-title::after {
  margin-top: 15px;
  width: 100px;
}
.case-study-hero-custom {
  min-height: auto;
}
.case-content-centered h2 {
  font-size: 28px;
}
.case-content-centered h3 {
  font-size: 24px;
}
.image-caption {
  font-size: 14px;
  line-height: 20px;
}
.snapshot-card h4 {
  font-size: 20px;
}
.panel-card {
  padding-right: 0px;
}
.panel-icon {
  top: -4px;
  right: -4px;
  width: 80px;
  height: 80px;
}
.snapshot-icon {
  top: -18px;
  right: -18px;
  width: 80px;
  height: 80px;
}
.traveler-note-content h3 {
  font-size: 20px;
}

.footer h5 {
  font-size: 16px;
}
.footer a {
  font-size: 14px;
}
.footer p {
  font-size: 14px;
}
}
/**********/