
/* ========================================================================
   Interior Page Styles
   ======================================================================== */

   /* CSS variables for gallery-item-container */
:root {
    --sidebar_gap: 2.5rem;
    --sidebar_width: 16rem;

    --sidebar_mobile_gap: 2rem;
    --sidebar_mobile_width: 14rem;
}

/* breadcrumbs in page header */
body.has-breadcrumbs header.page-header {
    background-color: var(--white);
}


.breadcrumb-sep {
   /* color: transparent;*/
    font-size: 1.2rem;
  display: inline-block;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-family: Arial;
  background-color: transparent;
  color: var(--blue);
}

body.page-template-partners.has-breadcrumbs header.page-header a,
body.page-template-assessments.has-breadcrumbs header.page-header a,
body.page-template-resources.has-breadcrumbs header.page-header a,
body.page-template-team.has-breadcrumbs header.page-header a,
body.course-template.has-breadcrumbs header.page-header a,

body.page-template-partners.has-breadcrumbs header.page-header .breadcrumb-sep,
body.page-template-assessments.has-breadcrumbs header.page-header .breadrumb-sep,
body.page-template-resources.has-breadcrumbs header.page-header .breadcrumb-sep,
body.page-template-team.has-breadcrumbs header.page-header .breadcrumb-sep,
body.course-template.has-breadcrumbs header.page-header .breadcrumb-sep {
    color: var(--darkblue);
}


body.page-template-partners.has-breadcrumbs header.page-header,
body.page-template-assessments.has-breadcrumbs header.page-header,
body.page-template-resources.has-breadcrumbs header.page-header,
body.page-template-team.has-breadcrumbs header.page-header,
body.course-template.has-breadcrumbs header.page-header {
    background-color: var(--offwhite);
}
body.has-breadcrumbs.training-template header.page-header {
    background-color: var(--darknavy);
}
body.training-template.has-breadcrumbs header.page-header a,
body.training-template.has-breadcrumbs header.page-header .breadcrumb-sep {
    color: var(--aqua);
}


body.page-template-team div.gallery-item-container {
        padding-bottom: 3.5rem;
}
body.page-template-team div.gallery-item-links {
        position: absolute;
        bottom: 0rem;
}
header.page-header {
    padding: 0.5rem var(--horiz_wrap_pad);
}
/* breadcrumb list */
header.page-header nav.site-breadcrumbs ol {
    list-style-type: none;
    display: flex;
    padding-left: 0;
 
}
header.page-header li.trail-begin i {
    margin-right: 0.25rem;
}
header.page-header nav.site-breadcrumbs a {
    /* using darker blue for accessibility */
    color: var(--blue);
    font-size: 1.2rem;
    text-decoration: none
}




header.page-header nav.site-breadcrumbs a:hover {
    text-decoration: underline;
}
/* end breadcrumbs in page header */

/* ========================================================================
   Interior Content Sections
   ======================================================================== */

main#main {
    background-color: var(--white)
}
/* Content wrapper within main - it holds primary content and sidebar */
div#content-wrap,
div.content-wrap {
    padding: 0rem var(--horiz_wrap_pad) 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
div.content-wrap.contact {
    padding-bottom: 0rem;
    display: block;
}
section#contact-person p {
    font-weight: bold;
    text-align: center;
}

/* 
 * Trainings
 */

/* Hero Image */
div.content-wrap.training-banner {
    padding: 0rem;
}
div.training-banner div.hero-image-container,
div.training-banner img#hero-image {
    width: 100%;
}
div.training-banner img#hero-image {
    display: block;
}
/* Header for Titles */
header#training-header {
    padding: 1rem var(--horiz_wrap_pad) 2rem;
    background-color: var(--navy);
    color: var(--white);
}
header#training-header h2 {
    font-size: 3.5rem;
    margin-bottom: 0rem;
    margin-top: 1rem;
    text-transform: uppercase;
}
header#training-header h3 {
    margin-top: 0rem;
    margin-bottom: 0rem;
    font-size: 2.75rem;
    font-weight: normal;
}
/* Intro with Badge */
article#training-desc-badge h2 {
    font-size: 2rem;

}
/* Signup and Overview Buttons */
div.signup-button,
div#course-overview-btn-container {
    text-align: center;
}
/* 3-column modules / do / get section */
section#modules-outcomes {

    margin-top: 2rem;
}

/* Navy Modules List */
div#training-course-modules {
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem 2rem;
    margin-top: 0.2rem;
    width: 24rem;
    max-width: 100%;

}
/* Do / Get Columns */

main#main article#training-do-get h3 {
    font-size: 1.5rem;
    line-height: 2.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0rem;

}
main#main article#training-do-get h3,
main#main article div#training-course-modules h3 {
    margin-top: 0rem;
    font-size: 1.5rem;
    line-height: 2.25rem;
}
div#training-do,
div#training-course-modules {
    margin-right: 2rem;
}
div#training-course-modules {
    width: 30%;
}


div.training-outcomes {
    padding-top: 1.5rem;
}
figure#training-badge {
    margin-right: 0rem;
    margin-top: 1.6rem;
}
figure#training-badge img {
    min-width: 200px;
    width: 200px;
}
main#main article#training-do-get ul {
    padding-left: 1.25rem;
}

div#logistics,
div#training-course-modules ul li,
main#main article#training-do-get ul li {
   margin-bottom: 0.7rem;
}
div#training-course-modules ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

section#module-intro hr {
    background-color: var(--navy);
    width: 30rem;
    height: 0.1rem;
    max-width: 90%;
    margin: 1rem auto 2.25rem auto;
    display: block;
}
#training-description p:last-of-type {
  padding-bottom: 1rem;
}
@media screen and (min-width:1161px) {
    section#module-intro hr {
        margin-top: 0rem;
    }
}
@media screen and (min-width: 1061px) {
    section#modules-outcomes {
        display: flex;
        align-items: flex-start;
    }
  
  
    article#training-do-get {
      width: 70%;
    }
    
}
@media screen and (min-width:769px) {
  article#training-desc-badge {
    display: flex;
    align-items: center;
  }
  article#training-do-get {
    display: flex;
  }
  div.training-outcomes {
    width: 50%;
  }
}

@media screen and (max-width: 1060px) {
    div#training-course-modules {
        margin: 1rem auto;
        width: 20rem;
        max-width: 100%;
    }
    article#training-do-get h3,
    div#training-course-modules h3 {
        text-align: center;
    }
    article#training-do-get {
        width: 100%;
    }
    div#training-description h2 {
        font-size: 1.75rem;
        line-height: 2.625rem;
    }
}
@media screen and (min-width: 769px) and (max-width:1060px) {
     
    figure#training-badge img {
        width: 150px;
        min-width: 150px;
    }
      div#training-course-modules {
        width: 20rem;
    }
}
@media screen and (max-width: 768px) {
    header#training-header h2,
    header#training-header h3,
    div#training-description h2,
    section#logistics h3 {
        text-align: center;

    }
    header#training-header h2 {
        font-size: 2.67rem;
        line-height: 4rem;
    }
    /* dates */
    header#training-header h3 {
        font-size: 2.2rem;
        line-height: 3.3rem;
        margin-top: 1rem;
    }
   
    figure#training-badge {
        text-align: center;
        margin-left: 0rem;
    }
     div#training-course-modules {
        width: 100%;
        max-width: calc(100% - 6rem);
    }
   
    div#training-do {
        padding-top: 1rem;
        margin-right: 0rem;
    }
    div#training-get {
        padding-top: 0rem;
    }
}
@media screen and (max-width: 480px) {
    header#training-header h2 {
        font-size: 2.2rem;
        line-height: 3.3rem;
    }
    /* dates */
    header#training-header h3 {
        font-size: 2rem;
        line-height: 3rem;
        margin-top: 1rem;
    }
    div#training-course-modules {
        margin-left: -1rem;
        margin-right: -1rem;
        max-width: calc(100% - 1.8rem);
    }
}
/* end trainings */

/* Page title within content area */
div#content-wrap h2.error-title,
div#content-wrap h2.page-subtitle {
    font-size: 3rem;
    line-height: 4rem;
    text-align: left;
    margin-top: 0rem;
    margin-bottom: 1rem;
    font-weight: 600;
    width: 100%;
}
div#content-wrap h2.error-title {
    margin-bottom: 1rem;
}
/* Primary content area */

/* apply sidebar styling if sidebar is present */
div#content-wrap div#primary.has-sidebar {
    width: calc(100% - var(--sidebar_gap) - var(--sidebar_width));  
    margin-right: var(--sidebar_gap);
    
    /* for testing */
   /* background-color: var(--offwhite);*/
}
/* Sidebar area */
aside#custom-sidebar {
    width: var(--sidebar_width);
}

/* Paragraphs in primary content area */
div#content-wrap div#primary p 
div.content-wrap div#primary p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 1.5rem;
}
/* link styles - generalize this further */
div.content-wrap a,
div#content-wrap a {
    color: var(--blue);
    text-decoration: none;
}
div#content-wrap li.custom-sidebar__link a,
div#content-wrap.intro-grey a {
    color: var(--darkblue);
}
div.content-wrap a:hover,
div#content-wrap a:hover {
    color: var(--navy);
    text-decoration: underline;
}

div#content-wrap a.error-btn {
    font-size: 1.2rem;
    margin-top: 1rem;
    display: inline-block;
}
/* Sidebar title */
aside#custom-sidebar h3.custom-sidebar__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 0rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--grey)
}
/* Remove gap below sidebar image */
aside#custom-sidebar .custom-sidebar__image {
    line-height: 0rem;
    margin-bottom: 2rem;
}
aside#custom-sidebar .custom-sidebar__image img {
    width: 100%;
    height: auto;
}
/* Sidebar inner box */
aside#custom-sidebar .custom-sidebar__inner {
  /*  margin-top: 1.5rem;*/
    background-color: var(--offwhite);
    border: 2px solid var(--grey);
    padding: 1rem 0 0 0;
    border-radius: 1rem;
}
/* lists in sidebar */
.custom-sidebar__inner ul {
    list-style-type: none;
    padding-left: 1rem;
    margin: 0rem 1.5rem;
}
/* spacing between list items */
.custom-sidebar__inner ul li{
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5rem;
    position: relative;
}
/* no spacing after last item in each list */
ul.custom-sidebar__links li:last-child {
    margin-bottom: 0rem;
}
/* spacing above files list, below links list */
ul.custom-sidebar__files {
    margin-top: 1rem;
}
ul.custom-sidebar__links {
    margin-bottom: 1rem;
}
/* icon before each list item */
.custom-sidebar__inner ul li::before {
    content:'';
    display: inline-block;
    position: absolute;
    background-size: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    margin-right: 0.5rem;
    left: -1.5rem;
    
}
/* different icon for files vs links */
ul.custom-sidebar__files li::before {
    background-image: url('../images/icons/doc-icon.svg');
}
ul.custom-sidebar__links li::before {
    background-image: url('../images/icons/link-icon.svg');
}

/* link styles */
.custom-sidebar__inner li a {
    color: var(--blue);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}
/* hover effect */
.custom-sidebar__inner li a:hover {
    text-decoration: underline;
}
.custom-sidebar__button {
    text-align: center;
    margin-top: 1.5rem;
}

/* button styles */
div#content-wrap .custom-sidebar__button a.sidebar-button {
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: center;
    background-color: var(--blue);
    color: var(--white);
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}
div#content-wrap .custom-sidebar__button a.sidebar-button:hover {
    background-color: var(--lightblue);
}
div#content-wrap .custom-sidebar__button a.sidebar-button:active {
    background-color: var(--darkblue);
}
div#content p:first-of-type {
    margin-top: 0rem;
}

/* Views */

div#view-wrap {
    margin-top: 1rem;
}

#partners-intro-image {
    margin-right: 2rem;
}
#partners-intro-image img {
    width: 300px;
    max-width: 100%;
}

/* Partners View */
div.partner-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
    padding-bottom: 4px;
}


div.partner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 1rem;
    border-left: 1rem solid var(--blue);
    border-top: 1px solid var(--blue);
    text-align: center;

}
h3.partner-name a {
   font-size: 1.4rem;

}
h3.partner-name a,
a.email-link,
a.resource-download {
    color: var(--blue);
    text-decoration: none;
}

a.resource-download {
    width: 2rem;
    margin-top: 1rem;

}
table#instruments-table tr td a.instrument-download {
    display: block;
    margin-top: 1rem;
    font-weight: normal;
}

table#instruments-table tr td span.dl-icon {
    font-size: 1.2rem;
}

/* resource filters */

/* the form container */
form#resource-filters {
    display: flex;
    width: 100%;
    align-items: flex-end;
}

/* the containers for the label and the widget */
div#resource-search-container,
div#resource-category-filter {
    display: flex;
    flex-direction: column;
    margin-right: 1.5rem;
}
/* the widgets */
div#content-wrap input#ocean-search-form-3,
input#resource-search {
    padding: 0.75rem 2.5rem;
    border: 1px solid var(--darkgrey);
    background-color: var(--offwhite);
    color: var(--navy);
    text-align: center;
    font-size: 1rem;
}
select#resource-category {
  padding: 12px 20px;
  background-color: #FFF;
  border: 1px solid var(--darkgrey);
  margin: 0rem 0.5rem;
  font-size: 1rem;
  border-radius: 1rem;
  color: var(--navy);

  -webkit-appearance: none; /* For Webkit browsers like Chrome and Safari */
  -moz-appearance: none;    /* For Firefox */
   appearance: none;  

    background-image: url('../images/icons/chevron-down.svg');
    background-repeat: no-repeat;
    background-position: right 10px center; /* Adjust position as needed */
    background-size: 24px; /* Adjust size as needed */
    padding-right: 2.5rem; /* Add padding to prevent text overlapping the chevron */

}
nav.pagination {
    display: flex;
    justify-content: flex-end;
}

/* pager */
nav.pagination ul {
    list-style-type: none;
    display: flex;
    padding-left: 0px;
    border: 1px solid var(--darkgrey);
    border-radius: 0.75rem;
    padding: 0rem;
    font-size: 1.2rem;
}
nav.paginatio ul li {
    display: flex;
    align-items: center;
    justify-content: center;
}
nav.pagination ul li span,
nav.pagination ul li a {
    display: flex;
    padding: 0.6rem 1.2rem;
   font-weight: 600;

}
nav.pagination ul li a {
    text-decoration: none;
    background-color: var(--white);
    color: var(--navy);
}
nav.pagination ul li span {
    background-color: var(--blue);
    color: var(--white);
}
nav.pagination ul li:first-child * {
    border-radius: 0.7rem 0 0 0.7rem;
}
nav.pagination ul li:last-child * {
    border-radius: 0rem 0.7rem 0.7rem 0;
}
nav.pagination ul li:not(:last-child) {
    border-right: 2px solid var(--grey);
}
/* the labels */
label[for^="resource-"] {
    color: var(--darkgrey);
    margin: 0px auto;
    text-align: center;
}
 
/* resource links */
.plus-label.resource {
    font-size: 1.3rem;
}
a.email-link:hover,
h3.resource-item-name a:hover,
h3.partner-name a:hover {
    text-decoration: underline;
}
div.partner-logo-container img {
    max-width: 240px;
    max-height: 120px;
    height: auto;
    /* remove white space at bottom */
    display: block;

}
p.contact-name {
    margin: 0px;
}
p.partner-location {
    color: var(--darkgrey);
}
.footer-button-container {
  padding-top: 1rem;
  text-align: right;
  width: 100%;
}
div.content-wrap .footer-button-container a.primary-btn {
    font-weight: normal;
}
p.error-text,
p.contact-name,
a.email-link {
    font-size: 1.2rem;
    line-height: 1.8rem;
}

/* Team Listing */

section.gallery-section {
    width: 100%;
    margin-top: 2rem;
}
div#gallery-intro p {
    font-size: 1.2rem;
    line-height: 1.8rem;
}
div.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 6rem;
    padding-bottom: 5rem;
}


div.gallery-item-container {
  position: relative;
}

/* 
Blue Line
  /*div.gallery-item-container:nth-child(3n-2)::after {
    content: '';
    display: block;
  height: 2px;
  width: calc(100% - 6rem);
  background-color: var(--vividblue);
  position: absolute;
  left: 3rem;
  margin-top: 3rem;
}*/
div.member-text-container > * {
    margin: 0px auto;
    width: 100%;
}

div.member-image-container {
 text-align: center;
}
div.member-image-container img,
div.member-image--placeholder { 
    width: 100%;
    margin: 0px auto;
}

div.member-image-container img {
    height: auto;
    display: block;
}
div.member-image--placeholder {
    height: 300px;
    background-image:url('../images/icons/profile-placeholder.png');
    background-size: 100% auto;
}
h3.resource-item-name{
    padding-bottom: 0.9rem;
    border-bottom: 2px solid var(--blue);
}
h3.resource-item-name,
h3.team-member-name {
    margin-top: 0.8rem;
}

h3.resource-item-name a,
h3.team-member-name a {

    text-decoration: none;
    font-size: 1.4rem;
    transition: 0.2s ease;
}
h3.team-member-name a {
        color: var(--blue);
}
h3.resource-item-name a {
    color: var(--navy);

}
div.gallery-item-container.resource-item-container {
    position: relative;
    padding-bottom: 2.4rem;
}
div.resource-item-container div.gallery-item-links {
    position: absolute;
    bottom: 0px;
    width: 100%;
}
h3.resource-item-name a:hover {
    color: var(--blue);
    transition: 0.2s ease;
}
p.member-role,
p.member-org {
    font-size: 1.3em;
    margin-top: 0.3rem;
} 
div.content-wrap a.listing-plus {
    font-weight: bold;
    text-decoration: none;
    font-size: 1.3rem;
}
a.email-link {
    margin-top: 0.2rem;

}
a.email-link img {
    width: 2rem;
    height: auto;
}
div.gallery-item-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
div.content-wrap a.listing-plus span.plus {
    color: var(--navy);
    border: 0.25rem solid var(--navy);
    border-radius: 1rem;
    width: 1.5rem;
    display: inline-block;
    height: 1.5rem;
    text-align: center;
}

div.content-wrap a.listing-plus span.plus-label {
    margin-top: 0.2rem;
    margin-right: 0.2rem;
}
div.content-wrap a.listing-plus {
    color: var(--darkorange);
    font-size: 2rem;
}


p.member-org {
    font-weight: bold;
}
h3.team-member-name a:hover {
    color: var(--blue);
    text-decoration: underline;
}
/* Single Team Member */
h3#team-member-role {
    font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 0rem;
}
h4#team-member-org {
font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  margin-top: 0rem;
  margin-bottom: 1.5rem;
}
a#team-member-email {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--blue);
    text-decoration: none;
}
a#team-member-email:hover {
    text-decoration: underline;
}

/* Course Page */

.module-item-container {
    display: flex;
    padding: 2rem 0px;
    border-bottom: 2px solid var(--blue);
}

div.content-wrap.logistics,
div#content-wrap.intro-grey {
   background-color: var(--offwhite);
}
div.content-wrap.logistics h3 {
    font-size: 1.5rem;
    line-height: 2.25rem;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}
div.content-wrap.logistics section#logistics ul,
div.content-wrap.logistics p {
      margin-top: 0.2rem;
}
section#logistics ul {
    list-style-type: none;
    padding-left: 0rem;
}
#course-description ul {
  padding-left: 1.1rem;
  padding-top: 0rem;

}
#course-description ul li {
  margin-bottom: 0.9rem;
}
div.content-wrap div#course-summary h2.page-subtitle {
    margin-bottom: 1rem;
}
.module-item-container:last-child {
    border-bottom-width: 0px;
}
.module-image-container {
    min-width: 240px;
    margin-right: 2rem;
    position: relative;
}
.module-image-container img {
    width: 240px;
}
/* styled for research page */
main#main article h3 {
    font-size: 2rem;
    line-height: 3rem;
    margin-bottom: 0rem;
}
body.team_member-template main#main article h3 {
    font-size: 1.4rem;
    line-height: 2.1rem;
}
body.module-template main#main article h3 {
    margin-bottom: 1rem;
}
.module-item-container h3 {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-top: 0rem;
}
.module-item-container h3 a {
    color: var(--navy);
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-decoration: none;
}
.module-item-container h3 a:hover {
    color: var(--blue);
    text-decoration: none;
}
/* Module Plus Link */
.module-item-container {
  position: relative; /* allows absolute positioning inside */
}

/* The circular “+” link */
div#view-wrap .plus-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background-color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
div#view-wrap .plus-link.module {
  position: absolute;
  width: 3rem;
  height: 3rem;
  font-size: 2.5rem;
  color: var(--blue);
  bottom: 1rem;
  right: 1rem;
}
div#view-wrap .plus-link.listing-plus-link {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1.8rem;
    color: var(--navy);
    position: relative;
    border-color: var(--navy);
    bottom: 0rem;
}
div#view-wrap .plus-link.listing-plus-link.resource {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}
/* Hover / focus styles for clarity and accessibility */
div#view-wrap .plus-link:hover,
div#view-wrap .plus-link:focus {
  background-color: var(--blue);
  color: #fff;
  outline: none;
}

div#view-wrap .plus-link.listing-plus-link:hover,
div#view-wrap .plus-link.listing-plus-link:focus {
  background-color: var(--navy);
}

div#view-wrap .plus-link:focus-visible {
  outline: 3px solid #005bb5;
  outline-offset: 2px;
}
div#view-wrap a.plus-link span {
    display: inline-block;
  text-align: center;
  line-height: 2.8rem;
  margin-top: -2px;
}

/* Single Module or Resource */
ul#content-tags,
/* Resource listing */
ul.content-tags {
    width: 100%;
    display: flex;
    list-style-type: none;
    padding-left: 0px;
    flex-wrap: wrap;

}
ul#content-tags {
    margin-bottom: 1rem;
}
ul.content-tags {
    margin-bottom: 0.25rem;
}
body.resource-template ul.content-tags {
    margin-bottom: 1.25rem;
}
div#module-overview {
        margin-top: 1rem;
}
ul#content-tags li {
    min-width: 10rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--blue);
    color: var(--darkgrey);
    text-align: center;
    margin-right: 1rem;
    margin-bottom: 1rem;
}
ul#content-tags li span {
    display: inline-block;
    margin: 0rem 2rem;
}
ul#content-tags li.resource-type-tag,
ul.content-tags li.resource-type-tag {
    border-color: var(--orange);
}
/* resource listing */
div.content-wrap ul.content-tags li {
    width: auto;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    border: 1px solid var(--blue);

    color: var(--darkgrey);
    text-align: center;

    margin-right: 0.5rem;
    margin-bottom: 0.5rem;

    font-size: 0.9rem;
    line-height: 1.35rem;

}
ul#content-tags li.resource-type-tag,
div.content-wrap ul.content-tags li.resource-type-tag {
    border: 1px solid var(--orange);
   
}
div#resource-link-section {
    display: flex;
}
div#download-file-container {
    margin-right: 1rem;
}
div#remote-link-container a,
div#download-file-container a {
    font-weight: bold;
    color: var(--blue);
    font-size: 1.4rem;
    line-height: 2.1rem;
}

div.content-wrap ul li {
    font-size: 1.2rem;
    line-height: 1.8rem;
}
div.content-wrap ul li ul {
    list-style-type: none;
    margin-top: 0.5rem;
}
div.content-wrap ul li ul li::before {
      content: '\2013'; /* Unicode for en dash. You can also use '-' for a hyphen. */
      position: absolute;
      margin-left: -15px; /* Adjust as needed for desired spacing */
}
/* Module Lists - might want to generalize */
ul.module-list {
    padding-left: 1rem;   
}
div.content-wrap div#primary ul.module-list > li {
    margin-bottom: 1rem;
}
div.content-wrap div#primary ul.module-list li p {
    margin: 0px;
}
/* smaller bottom margin for list stems since the lists have their own spacing */
body.module-template div.content-wrap div#primary p.list-stem {
    margin-bottom: 0.2rem;
}
/* header styles */
body.module-template div.content-wrap h2.page-subtitle {
    margin-bottom: 0rem; 
}
body.resource-template div.content-wrap h2.page-subtitle {
    margin-bottom: 0.25rem; 
}
body.module-template h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
body.module-template h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Instruments table */
table#instruments-table {

  border-collapse: collapse; 
  margin-top: 2rem;
  border: 1px solid var(--darkgrey);
 
}
table#instruments-table td a {
    color: var(--darkblue);
    font-weight: bold;
    text-decoration: none;
}
table#instruments-table td a:hover {
    text-decoration: underline;
}
table#instruments-table thead tr th {
    background-color: var(--darkblue);
    color: var(--white);
} 



table#instruments-table thead tr,
table#instruments-table tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--darkgrey);
}

table#instruments-table tr th:not(:last-child) {
     border-right: 1px solid var(--white);
    padding: 1rem;

}
table#instruments-table tr td:not(:last-child) {
    border-right: 1px solid var(--darkgrey);
    padding: 1rem;
}


table#instruments-table tr td,
table#instruments-table tr th {
    padding: 1rem;
}

table#instruments-table tr th,
table#instruments-table tr td * {
    font-size: 1rem;
    line-height: 1.4rem;
    margin: 0px;
}
table#instruments-table tr td ol, 
table#instruments-table tr td ul {
    padding-left: 1rem;
}

table#instruments-table tr td ul {
    padding-left: 0rem;
    list-style-type: none;
}
table#instruments-table tr td ul li {
    padding-bottom: 0.5rem;
    list-style-type: none;
}
.instrument-link {
    color: var(--darkblue);
    text-decoration: none;
    transition: 0.2s ease;
}
.instrument-link:hover {
    color: var(--blue);
    text-decoration: underline;
    transition: 0.2s ease;
}
