/*
Theme Name: Fenway 2019
Description: Astra-based theme for TFI/LGBTQIA Health Education Center online learning resources website
Author: Tess
Template: astra
Version: 1.2.20240826
*/




/*Hypercard responsive design*/

/*Global vars*/
body {
    --font-body: 'Montserrat', 'Verdana', sans-serif;
    --font-headers: 'Montserrat', 'Verdana', sans-serif; /*'Roboto Slab', serif;*/
}


/*Mobile-only rules*/
@media (orientation: portrait) and (max-width:767px) { /* Only use the Portrait layout when the screen is portrait AND small */

    /*Mobile-only Hypercard rules*/
    /*Portrait friendly display. Excerpt is below and thumbnail is above*/
    .hypercard {
        flex-flow: column;
    }
    .hypercard .thumbnail {
        order: 1;
    }
    .hypercard .content {
        order: 2;
    }

    /*Mobile-only single-view hypercard rules*/
    /*Thumbnail is full-width of hypercard and fills at-most 1 screen vertically; truncates overflow on very tall images*/
    .hypercard.single-view .thumbnail {
        max-height: 100vh;
        overflow: hidden;
    }
    .hypercard.single-view .thumbnail img {
        width:100%;
    }

    /*Mobile-only list-view hypercard rules*/
    /*Thumbnail is full-width of hypercard and fills at-most one-third of the screen vertically, with a chipped inset*/
    .hypercard.list-view .thumbnail {
        height: 30vh;
        width: 100%;
        clip-path: polygon(0% 0, 100% 0, 100% 90%, 0% 100%);
        background-position: 50% 25%;
    }

    /*Mobile-only hypercard center-content rules*/
    /*Expand to full width*/
    .hypercard a.button {
        align-self: stretch;
    }

    /*Mobile-only byline rules*/
    /*Byline wrapping is enabled and dateline is set to width: 100% to force a new row to trigger*/
    .hypercard .byline {
        flex-wrap: wrap;
    }
    .hypercard .dateline {
        width: 100%;
    }

}


/*Desktop-only rules*/
@media (orientation: landscape), (min-width:768px) { /* Use the Landscape at all other times */
    /*Desktop-only Hypercard rules*/
    /*Landscape friendly display. Excerpt is on left and thumbnail is on right*/
    .hypercard {
        flex-flow: row;
    }
    .hypercard .thumbnail {
        /*flex: 1 1 30%;*/
        order: 2;
        max-width: 40vw;
    }
    .hypercard .content {
        flex: 1 1 70%;
        order: 1;
    }

    /*Desktop-only single-view hypercard rules*/
    /*Thumbnails get a margin and a white border frame. align-self: flex start collapses height to match content*/
    .hypercard.single-view .thumbnail {
        margin: 1em;
        border: 1em solid #fff;
        align-self: flex-start;
    }
    /*Thumbnails never exceed usable screen height*/
    .hypercard.single-view .thumbnail img {
        max-height: 75vh;
    }

    /*Desktop-only list-view hypercard rules*/
    /*Thumbnails are marginless and have an angle inset, and reserve 30% of width*/
    .hypercard.list-view .thumbnail {
        flex: 1 1 30%;
        clip-path: polygon(0% 0, 100% 0, 100% 100%, 25% 100%);
    }

    /*Desktop-only hypercard embedded iframe rules*/
    /*If an iframe is embedded within the post-body, float it right, add a left margin, and cap its width*/
    .hypercard .post-body iframe {
        float: right;
        margin-left: 1em;
        max-width: 75%;
    }

    /*Desktop-only hypercard byline rules*/
    /*Right-justify dateline*/
    .hypercard .dateline {
        margin-left: auto;
    }

}


/*Global hypercard rules*/

/*Default variable values*/
.hypercard {--cat-color: #233e99;}
/*IE Fallback*/
.hypercard {background-color: #233e99;}


/*Establish hypercard shape, default colors, and internal flexbox structure*/
.hypercard  {
    margin: 1em 0em;
    min-height: 240px;
    width: 100%;
    background-color: var(--cat-color);
    color: #fff;
    display: flex;
    align-items: stretch;
}
/*Hypercard children should inherit color rules*/
.hypercard *, .hypercard a {
    color: inherit;
}

/*Global list-view thumbnail rules*/
/*List-view thumbnails use the background-image hack to cover an arbitrary area*/
.hypercard.list-view .thumbnail {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hypercard.index-view {
    min-height: unset;
}

/*Global hypercard content rules*/
/*Content has a margin, a flex-basis of 70%, and an internal flex column*/
.hypercard .content {
    margin: 1em;
    display: flex;
    flex-direction: column;
}

/*Global hypercard header/post-title rules*/
.hypercard .post-title a {
    text-decoration: none;
}
.hypercard .post-title a:hover {
    text-decoration: underline;
}

/*Global hypercard byline rules*/
/*Set up byline as a flex row with opacity-based fadeback/deemphasis*/
.hypercard .byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-headers);
    opacity: 0.75;
}
.hypercard .byline .resource-type {
    display: flex;
    align-items: center;
}


/*Global hypercard post-body rules*/
/*Underline hyperlinks in post-body only since they're not otherwise styled*/
.hypercard .post-body a {
    text-decoration: underline;
}

/*Global hypercard readmore rules*/
/*Right align and undecorate, underline on hover*/
.hypercard p.read-more {
    text-align: right;
}
.hypercard p.read-more a {
    text-decoration: none;
}
.hypercard p.read-more a:hover {
    text-decoration: underline;
}

/*Global hypercard button rules*/
/*Establish style of button, background fade, and internal flexbox*/
.hypercard a.button {
    font-family: var(--font-headers);
    color: var(--cat-color);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    background: rgba(255,255,255,0.85);
    transition-property: background;
    transition-duration: 0.2s;
    text-decoration: none;
}
/*Background un-fade on hover*/
.hypercard a.button:hover {
    background: #fff;
}
.hypercard a.button span {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hypercard a.button span svg {
    margin-right: 0.25em;
}

/*Global center-content div rules (wraps around buttons usually)*/
.hypercard .center-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    margin: 1em 0em;
}

/*Global hypercard categories section rules*/
.hypercard .categories::before {
    /*content rule url is generated dynamically by theme*/
    opacity: 0.5;
}
.hypercard .categories {
    display: flex;
    align-items: center;
    margin-top: auto;
}
.hypercard .categories ul {
    margin: unset;
    list-style: none;
    font-size: 0.9em;
    line-height: 1.2em;
}
.hypercard .categories ul > * {
    opacity: 0.8;
    display: inline;
}
.hypercard .categories li:not(:last-child):after {
    content: ', ';
}
.hypercard .categories li:hover {
    opacity: 1;
}
.hypercard a.category:hover {
    text-decoration: underline;
}

/*Global hypercard deprecation notice rules*/
.hypercard .deprecation-notice {
    border: solid 0.5em #fff;
    background: var(--cat-color);
    padding: 1em;
    text-align: center;
    margin-bottom: 1em;
    font-family: var(--font-headers);
}
.hypercard .deprecation-notice .text {
    opacity: 0.7;
    font-size: 0.9em;
}
.hypercard .deprecation-notice a {
    text-decoration: none;
}
.hypercard .deprecation-notice a:hover {
    text-decoration: underline;
}

/*Global hypercard icon rules (relevant to byline and categories)*/
.hypercard .byline .resource-type::before, .hypercard .categories::before {
    padding: 0.25em 0.25em;
    line-height: 0;
}

/*Global hypercard meta rules*/
/*Invert selection colors on default hypercard (otherwise selection styling matches base style)*/
.hypercard.category-none *::selection {
    background: #fff;
    color: var(--cat-color);
}

/*Global list-view hypercard rules*/
/*Make list-view hypercards a little more compact*/ /*CANDIDATE FOR REVIEW*/
.hypercard.list-view .content p {
    line-height: 1.2em;
    margin: 0.5em 0em;
}


/*SVGs in hypercards are icons and use same color as text*/
.hypercard svg {
    fill: currentColor;
}

/*Hypercards with download tables*/
.hypercard table.download {
    color: var(--cat-color);
    border-collapse: collapse;
}

.hypercard table, .hypercard td, .hypercard  th {
    border: unset;
}

.hypercard table.download th {
  text-align: left;
  font-weight: bold;
}

.hypercard table.download tr {
    background-color: rgba(255,255,255, 0.85);
    transition-property: background-color;
    transition-duration: 0.2s;
}

.hypercard table.download td {
    border-top: 1px solid #fff;
}

.hypercard table.download tr:hover {
    background-color: #fff;
}
.hypercard table.download a.download {
    display: flex;
    align-items: center;
}



/* ---------- Responsive two-column->column-and-slider layout ---------- */

/**/
/*@media (orientation: landscape) {*/
@media (min-width:922px) {
/*@media (min-width:768px) {*/
    /*Desktop-only two-column layout*/
    #fenway-sidebar {
        /*The sidebar will stick to the viewport top and have 100vh. Child elements use top and max-height to respect the sticky header*/
        position: sticky;
        top: 0px;
        height: 100vh;
        padding: 1em 0em;
    }

    /*Establish a flexbox 2-column view*/
    #fenway-container {
        display: flex;
        /*column-gap: 1em; not supported outside mozilla yet, using margin hack below*/
    }
    #fenway-container >*:not(:last-child) {
        margin-right: 1em;
    }
    #fenway-primary {
        flex: 1 1 75%;
    }
    #fenway-sidebar {
        flex: 1 1 25%;
        min-width: 16em;
    }

    #fenway-container #fenway-sidebar .handle {
      /*Do not display the handle when using the two-column view*/
      display: none;
    }

}

/*@media (orientation: portrait) {*/
@media (max-width:921px) {
/*@media (max-width:767px) {*/
    /*Toggle-able version for mobile*/
    #fenway-container #fenway-sidebar {
        /*Dock the sidebar to the right of the screen and translate it all the way offscreen by default*/
        /*Positioning*/
        z-index: 100; /*Get above the site banner if necessary (shouldn't be unless it's misbehaving)*/
        position: fixed; /*Escape the flexbox positioning*/
        right: 0em;
        /*top: 1em;*/
        bottom: 1em;
        /*Toggle hidden*/
        transform: translateX(100%);
        /*Toggle xitions*/
        transition-property: transform;
        transition-duration: 0.2s;
        /*2em deadzone since we're still offset by 2em when opened to accommodate the handle*/
        padding-right: 2em;
    }
    #fenway-container #fenway-sidebar.show {
        /*When .show class is added, reveal sidebar by reducing translate to 2em. 2em displacement is to ensure the handle remains visible*/
        /*Toggle-visible*/
        transform: translateX(2em);
    }

    #fenway-container #fenway-sidebar .handle {
        /*The sidebar's handle protrudes from the sidebar, making it visible even when the sidebar is positioned all the way off-screen.*/
        /*Positioning*/
        position: absolute;
        top: 2em;
        height: 4em;
        left: -2em;
        width: 2em;
        /*Styling*/
        background: #fff;
        border: solid 1px #233e99;
        border-right: none;
        fill: #233e99;
        /*Identify as clickable on desktop*/
        cursor: pointer;
        /*Center content*/
        display: flex;
        align-items: center;
        justify-content: center;
    }

}


#filterbox {
    /*Set up positioning on the filterbox to work w/ the responsive layout*/
    position: sticky;
    /*Magic numbers: will look about right, but get overridden by JS to accommodate an unavoidable variable-height element in the theme*/
    top: 90px;        /*stickyheader.offset*/
    max-height: 80vh; /*calc(100vh - stickyheader.offset - 1em;*/
}



#fenway-container #fenway-sidebar .handle { /*Likely irrelevant, no hover on mobile*/
  transition-property: background-color;
  transition-duration: 0.2s;
}
#fenway-container #fenway-sidebar .handle:hover { /*Likely irrelevant, no hover on mobile*/
  background-color: #233e99;
  border-color: #fff;
}
#fenway-container #fenway-sidebar .handle path { /*Likely irrelevant, no hover on mobile*/
  transition-property: fill;
  transition-duration: 0.2s;
}
#fenway-container #fenway-sidebar .handle:hover path { /*Likely irrelevant, no hover on mobile*/
  fill: #fff;
}





/*---------------Unsorted below this line------------------*/

@media (max-width:544px){
    /*Mobile only, make the branding shrink to accommodate a single-row header*/
    .ast-header-break-point .site-header .main-header-bar-wrap .site-branding {
    	flex-basis: 0%;
        flex-shrink: 0;
        flex-grow: 1;
    }
    .ast-header-break-point #masthead .site-logo-img .custom-logo-link img.custom-logo, .ast-header-break-point #ast-fixed-header .site-logo-img .custom-logo-link img.custom-logo {
    	max-width: 100%;
    }
}
@media (min-width:922px) {
    /*Desktop only, shrink the logo to accommodate navbar headers*/
    .ast-flex.main-header-container {
        flex-wrap: nowrap;
    }
    .ast-main-header-bar-alignment {
    	flex-shrink: 0;
    }
    .site-branding {
        flex-shrink: 1;
    }
    header .site-logo-img .custom-logo-link img.custom-logo {
    	max-width: 100%;
    }
}










/*Global Filterbox rules*/

/*Default variables*/
#filterbox {--cat-color: #233e99;}


/*Base definition*/
#filterbox {
  background-color: #fff;
  font-family: var(--font-headers);
  line-height: 1.2em;
  padding: 0.5em;
  border: 1px solid var(--cat-color);
  overflow-y: auto;
}
#filterbox ul {
  padding-left: 0px;
  margin: unset;
  list-style-type: none;
}
#filterbox li {
  margin: 0.5em;
  display: flex;
  align-items: center;
  justify-content: stretch;
  cursor: pointer;
  transition-property: transform background;
  transition-duration: 0.2s;
  font-size: 0.8em;
  border: 1px solid rgba(255, 255, 255, 0.0);
}

#filterbox li > * {
    padding: 0.5em;
}

#filterbox li:hover {
  /*background: #a1a0a3;*/
  border: 1px solid #233e99;
}

#filterbox li.active {
  background: var(--cat-color);
  color: #fff;
  transform: translateX(0.5em);
}
/*IE fallback*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #filterbox li.active {
    background: #233e99;
  }
  #filterbox li::before {
    background: #233e99;
  }
}

#filterbox li::before {
  background: var(--cat-color);
  padding: 0.5em;
  line-height: 0em;
  align-self: stretch;
  display: inline-block;
  transition-property: opacity;
  transition-duration: 0.2s;
}


#filterbox li:not(.active):hover {
    color: var(--cat-color);
}
#filterbox li:hover {
    border-color: var(--cat-color);
}

/*Icons are faded on inactive buttons but intensify on hover*/
#filterbox li:not(.active)::before {  opacity: 0.75;}
#filterbox li:not(.active):hover::before {  opacity: 1;}













/*Compact view hypercards: use mobile rules on desktop*/
.hypercard-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*column-gap: 1em; can't use this yet because chrome is dragging their feet as a power play on implementing this*/
    margin: 0em -0.5em;
}
.hypercard-grid .spacer {
    flex: 1 0 16em;
    margin: 0.5em;
    height: 0px;
    /*Flexbox will save us from bad markup everyone*/
}


.hypercard.compact-view {
    width: unset;
    flex: 1 0 16em;
    margin: 0.5em;
    /*temporary until column-gaps are fixed*/
}


.hypercard.compact-view {
    flex-flow: column;
}
.hypercard.compact-view .thumbnail {
    order: 1;
}
.hypercard.compact-view .content {
    order: 2;
}

.hypercard.compact-view .thumbnail {
    height: 30vh;
    width: 100%;
    clip-path: polygon(0% 0, 100% 0, 100% 90%, 0% 100%);
    background-position: 50% 25%;
}

.hypercard.compact-view a.button {
    align-self: stretch;
}

.hypercard.compact-view .byline {
    flex-wrap: wrap;
}
.hypercard.compact-view .dateline {
    width: 100%;
}


.hypercard.compact-view .content {
    flex: unset;
}
.hypercard.compact-view .dateline {
    margin-left: unset;
}

.hypercard.compact-view .thumbnail {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}





/*Slick carousel*/
/*
.uagb-post__title h3 {
    color: #fff;
}*/
/*Override the default "float" setup w/ a flexbox based layout */
/*
.uagb-slick-carousel .slick-track {
	display: flex;
}
.uagb-slick-carousel .slick-track .slick-slide {
	height: unset;
	float: unset;
}
.uagb-slick-carousel .slick-track .slick-slide > div, .uagb-slick-carousel .slick-track .slick-slide > div > article, .uagb-slick-carousel .slick-track .slick-slide > div > article > div, .uagb-post__inner-wrap {
    height: 100%;
}



.uagb-slick-carousel .uagb-post__inner-wrap.category-none .uagb-post__image::before {
    background-color: #233e99 !important;
}




.uagb-post-grid-byline {
    display: flex;
    align-items: center;
    font-family: var(--font-headers);
    opacity: 0.75;
    color: #fff;

}
.uagb-post-grid-byline::before {
    padding: 0.25em 0.25em;
    line-height: 0;
}
.uagb-post-grid-byline::after {
    color: #fff;
    text-transform: none;
    letter-spacing: 0px;
    font-family: var(--font-headers);
    font-size: 1rem;
}
.uagb-post-grid .uagb-post__title {
    margin-bottom: 0.2em !important;
}
.uagb-post-grid .uagb-post-grid-byline {
    margin-bottom: 0.4em !important;
}
.uagb-post-grid .uagb-post__cta {
    float:right;
}

.uagb-slick-carousel.news-carousel p.read-more a {
    background: #fff;
    padding: 5px 10px;
    float:right;
}


.uagb-post-grid .uagb-post__text .uagb-post-grid-byline > * {
    order: 2;
    margin-left: auto;
    text-transform: none;
    letter-spacing: 0px;
    font-family: var(--font-headers);
    font-size: 1rem;
}

*/

/*TODO: these should probably be made dynamic like the other resource type icons*/
.type-post .uagb-post-grid-byline::before, .hypercard.type-post .byline::before {
    content: url('icons/icon-type-post.svg');
}
.type-post .uagb-post-grid-byline::after {
    content: 'Blog Post';
}



/*


.bigger-column {
    flex-basis: 60%;
}
.bigger-column-70 {
    flex-basis: 70%;
}
.smaller-column-30 {
    flex-basis: 30%;
}

.vertical-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vertical-space-evenly {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.wp-block-uagb-section.vertical-space-evenly {
    flex-basis: 100%;
    display: block;
    flex-direction: unset;
    justify-content: unset;
}
.wp-block-uagb-section.vertical-space-evenly .uagb-section__inner-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

*/


/* Drop shadow on the What's New box */
.news-carousel .uagb-post__items article {
    padding-bottom: 4px;
    padding-top: 4px;
}
.news-carousel .uagb-post__inner-wrap{
    /*box-shadow: 0 1px 4px rgba(0,0,0,0.3);*/
    box-shadow: 0px 1px 5px rgba(0,0,0,0.6);
}
/* Title over the What's New box */
.news-carousel::before { /*#uagb-post__carousel-52246a3a-8d62-433c-8234-149b330f3ec6::before {*/
    content: "What's New?";
    color: #fff;
    font-family: var(--font-headers);
    font-size: 1.6em;
    text-align: center;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, .7);

}

/* Read More link in the text carousel */
.news-carousel .uagb-post__cta a {
    font-weight: normal;
    background: #fff;
}
.news-carousel .uagb-post__cta a::after {
    content: ' \00BB';
}


/* Adds a semi-subtle drop shadow to text to better distinguish it from a background */
.text-clarity-shadow {
    /*text-shadow: 0px 1px 2px rgba(0, 0, 0, .7);*/
    /*text-shadow: 0px 3px 7px rgb(0, 0, 0);*/
    text-shadow: 0px 1px 2px #000;
}
.text-clarity-shadow .uagb-cta__button-wrapper, .text-clarity-shadow .uagb-separator {
    text-shadow: 0px 0px 0px;
    /*box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);*/
    /*box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.7);*/
    box-shadow: 0px 1px 2px #000;
}
@media (max-width:782px) {
    .bg-clarity-mobile {
        background-color: rgba(255, 255, 2555, 0.75);
    }
}
.alignfull.aspect-16-10 {
    min-height: 62.5vw;
}
/*
@media (orientation: landscape) and (min-width:545px) { /*only on desktop and tablet with landscape view, explicitly set height
    .alignfull.aspect-16-10 {
        height: 62.5vw;
    }
}*/
.alignfull.aspect-16-10.full-height {
    display: flex;
}

.viewport-height {
    /*min-height: calc(100vh - 85px); /*85 px is the approximate height of #masthead on desktop*/
    min-height: 100vh;
}
.wp-block-cover.viewport-height {
    margin-bottom: 0px;
}


.wp-block-columns.full-height {
    height:100%;
}



/* QnD sticky class for floating tables-of-contents (this may need to be disabled below the break point)*/
.sticky {
    position: sticky;
    top: 100px;
}




.attn-highlight.pseudotarget {
    /*overflow: hidden;*/
    background-color: #eee;
}

.attn-flash-anchor:target {
    animation-name: attn-flash;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    color: #233e99;
}
@keyframes attn-flash {
    from {color: #00a5e3;}
    to {color: #233e99;}
}

.soft-anchor::before, .soft-anchor .uagb-heading-text::before {
  display: block;
  content: " ";
  margin-top: -120px;
  height: 120px;
  visibility: hidden;
  pointer-events: none;
}
.soft-anchor .uagb-heading-text {
    pointer-events: none;
}


/*Begone, foul demon, and trouble my fixed position elements no longer*/
#wpadminbar {
    position: absolute;
}

#masthead {
    position: sticky;
    top: 0px;
}





/*Constant Contact inline*/
.ctct-inline-form {
    margin: -24px;
    margin-top: -36px;
}
.ctct-form-header, .ctct-inline-form div.ctct-form-embed div.ctct-form-defaults h2.ctct-form-header {
    font-family: var(--font-headers);
    font-weight: 300;
}
.ctct-form-text, .ctct-inline-form .ctct-inline-form div.ctct-form-embed div.ctct-form-defaults p.ctct-form-text {
    font-family: "Gotham Book", sans-serif;
}




.table-of-contents li {
    font-family: var(--font-headers);
    font-size: 1.2em;
}
.table-of-contents li a {
    color: #3a3a3a;
}
.table-of-contents li a:hover {
    color: #233e99;
}




.hypercard a.wp-block-button__link {
    color: unset;
    text-decoration: none;
}
.slick-slide .uagb-post__excerpt p:not(.read-more) a, .slick-slide .uagb-post__excerpt table a {
    color: #fff;
    text-decoration: underline;
}
.slick-slide .uagb-post__excerpt p:not(.read-more) a:hover, .slick-slide .uagb-post__excerpt table a:hover {
    color: #fff;
    text-decoration: none;
}
.light-borders table, .light-borders tr, .light-borders td {
    border: 1px solid rgba(255,255,255,.1);
}



/* Styling from UAGB that got cemented into the Table of Contents template*/
#toc-heading .uagb-heading-text {
	text-align: left;
	margin-bottom: 15px;
}

#toc-heading .uagb-separator-wrap {
	text-align: left;
}

#toc-heading .uagb-desc-text {
	text-align: left;
}

#toc-heading .uagb-separator {
	border-top-style: solid;
	width: 75%;
	margin-bottom: 15px;
}

#toc-section.uagb-section__wrap {
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 16px;
	padding-right: 16px;
	margin-right: auto;
	margin-left: auto;
	max-width: 900px;
}

#toc-section>.uagb-section__inner-wrap {
	max-width: 100%;
}

.entry-content .has-2-columns .tight-column.wp-block-column:first-child {
    padding-right: 0px;
}
.entry-content .has-2-columns .tight-column.wp-block-column:last-child {
    padding-left: 0px;
}

body.team-template-template-table-of-contents .site-content, body.page-template-template-table-of-contents .site-content {
    margin-top: -2em;
}












.news-carousel {
    max-height: 100vh;
    padding-top: 0px;
}

#uagb-section-298fddad-9b01-409b-95e0-c065e4502345 {
    overflow-y: hidden;
}

.hide-overflow {
    overflow: hidden;
}


@media (max-width:976px) {
    .news-carousel .slick-arrow {
        visibility: hidden;
    }
}



.wp-block-uagb-section.snug-bottom {
    margin-bottom: -5.5em;
}




.wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax {
	background-attachment: fixed;
}



















/*carousel*/
.uagb-slick-carousel.news-carousel .uagb-post__inner-wrap p.read-more a {
    color: var(--cat-color);
}
.uagb-slick-carousel.news-carousel .uagb-post__inner-wrap {
    background-color: var(--cat-color) !important;
}



.hypercard.compact-view.type-team .thumbnail {
    height: 0px;
    padding-top: 110%;
}





.hypercard .meta-cc {
    display: flex;
    align-items: center;
    font-family: var(--font-headers);
    opacity: 0.75;
}
.hypercard .meta-cc::before {
    content: url('icons/icon-captions.svg');
    padding: 0.25em 0.25em;
    line-height: 0;
}

/*meta-cme mimics the byline*/
.hypercard .meta-cme {
    display: flex;
    align-items: center;
    font-family: var(--font-headers);
    opacity: 0.75;
}
/*meta-cme on cme-eligible courses shows a notice*/
.hypercard.cme-eligible .meta-cme::before {
    content: "\e908";
    font-family: 'ld-icons' !important;
    padding: 0.25em 0.25em;
    line-height: 0;
    font-size: 1.4em;
    text-align: center;
}
.hypercard.cme-eligible .meta-cme::after {
    content: "This course is eligible for CME credit";
}
.hypercard.cme-ineligible .meta-cme::after {
    content: "This course is not eligible for CME credit";
}


article.sfwd-courses.cme-eligible .learndash .ld-tab-content::before {
    content: "This course is eligible for CME credit";
    display: block;
    padding-bottom: 1em;
}
article.sfwd-courses.cme-ineligible .learndash .ld-tab-content::before {
    content: "This course is not eligible for CME credit";
    display: block;
    font-weight: bold;
    padding-bottom: 1em;
}


.hypercard .button svg path {
    fill: var(--cat-color);
}



/*Glossary CSS*/
#subheader-bar {
	background-color: #233e99;
	color: #fff;
}
#glossary-header {
	max-width: 1200px;
	margin: 0px auto;
	padding: 0em 1em;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	line-height: 2em;
	justify-content: space-between;
}
#glossary-navigation {
	flex-grow: 1;
	display: flex;
	gap: 1em;
	margin: 0em 1em;
}
#glossary-navigation a {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.25em;
	text-decoration: none;
}
#glossary-navigation a:hover .label {
	text-decoration: underline;
}
#glossary-navigation a .dashicons {
	opacity: 0.7;
}
#glossary-navigation a:hover .dashicons {
	opacity: 1;
}

#glossary-search-form {
	/*margin-left: auto;*/
	display: flex;
	justify-content: flex-end;
	flex-grow: 1;
}
#glossary-search-form input {
	padding: 0.25em;
	margin: 0.25em;
}
#glossary-submit {
	background-color: #fff;
	color: #233e99;
}

@media (max-width:800px) {
	#glossary-search-form {
		width: 100%;
		display:flex;
	}
	#glossary-query {
		flex-grow: 1;
	}
}
.glossary-entry .definition {
	display:block;
	line-height: 1.5;
}
.glossary-entry.single-view h1 {
    display: block;
}
.glossary-entry.single-view h2 {
    display: none;
}
.glossary-entry.single-view .definition {
	font-size: x-large;
}
.glossary-entry.single-view .see-also .label {
    font-size: 2rem;
}
.glossary-entry.index-view {
    margin-bottom: 1em;
}
.glossary-entry.index-view h1 {
    display: none;
}
.glossary-entry.index-view h2 {
    display: block;
}
.glossary-entry.index-view h2 a {
    text-decoration: none;
}
.glossary-entry.index-view .definition {
	font-size: large;
}
.glossary-entry.index-view .definition p {
    margin-bottom: 0.5em;
}

.glossary-entry.index-view .see-also ul, .glossary-entry.index-view .see-also h3 {
    display: inline;
    margin-left: 0px;
    font-size: 1rem;
}
.glossary-entry.index-view .see-also li {
    display: inline;
}
.glossary-entry.index-view .see-also li::after {
    content: ', '
}
.glossary-entry.index-view .see-also li:last-child::after {
    content: unset;
}




.glossary-list {
    display: flex;
    gap: 1em;
    align-items: center;
}
.glossary-list .glossary-root {
    display: flex;
    transition-property: opacity;
    transition-delay: 0.2s;
    opacity: 0.75;
    flex-direction: column;
    align-items: center;
}
.glossary-list .glossary-root:hover {
    display: flex;
    opacity: 1;
}
.glossary-list .glossary-root > * {
    padding: 1em;
}
.glossary-list .glossary-root .name {
    font-size: x-large;
    font-weight: bold;
}

/**/
