/* Boiler Plugin
------------------------------------------- 

Table of contents
    - Single Page
    - Page Loop
    - Media Queries

------------------------------------------- */


/* Pipeline
-------------------------------------------- */

.pipeline-headings {
    border-bottom: 1px solid var(--white);
    display: none;
    font-family: "deuterium-variable", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    padding-bottom: 16px;
    text-transform: uppercase;
}

.pipeline-heading.indication-heading {
    padding-top: 13px;
}

.program {
    border-bottom: 1px solid var(--white);
    color: var(--white);
    font-size: 16px;
}

.program-toggle-title {
    padding: 16px;
}

.program-toggle-title.active,
.program-toggle-description.active {
    color: var(--bog);
    background-color: var(--white);
    border-bottom: 1px solid var(--stratus);
}

.program.adjacent-1 .program-toggle-title.active,
.program.adjacent-1 .program-toggle-description.active,
.program.adjacent-3 .program-toggle-title.active,
.program.adjacent-3 .program-toggle-description.active,
.program.adjacent-5 .program-toggle-title.active,
.program.adjacent-5 .program-toggle-description.active,
.program.adjacent-7 .program-toggle-title.active,
.program.adjacent-7 .program-toggle-description.active {
    background-color: var(--cumulus);
}

.phase-title {
    color: var(--chartreuse);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.program-toggle-title.active .phase-title {
    color: var(--azure);
}

.pipeline-phase-inner {
    margin-bottom: 16px;
}

.indication {
    margin-bottom: 0;
}

.program-toggle-trigger-wrap {
    text-align: center;
}

.program-toggle-trigger {
    background-color: var(--azure);
    border-radius: 16px;
    color: var(--white);
    font-size: 12px;
    height: 24px;
    padding: 0;
    width: 24px;
}

.program-toggle-trigger:focus,
.program-toggle-trigger:hover {
    background-color: var(--chartreuse);
    color: var(--bog);
    padding: 0;
}

.program-toggle-trigger:after {
    content: none;
}

.program-toggle-trigger.active {
    background-color: var(--bog);
    color: var(--white);
}

.program-toggle-trigger.active:focus,
.program-toggle-trigger.active:hover {
    background-color: var(--azure);
}

.program-toggle-trigger .collapse,
.program-toggle-trigger.active .expand {
    display: none;
}

.program-toggle-trigger.active .collapse {
    display: initial;
}

.program-toggle-description {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 32px;
    transition: all 0.2s ease-in-out;
}

.program-toggle-description.active {
    height: auto;
    opacity: 1;
    padding: 32px;
}

.program-toggle-description-wrap .program-moa {
    margin-bottom: 16px;
}

.zoom-container {
    overflow: hidden;
    cursor: zoom-in;
}

.zoom-container img {
    transition: transform 0.3s ease;
    transform-origin: var(--x, 50%) var(--y, 50%);
}

.zoom-container img.zoomed {
    transform: scale(2.5);
    cursor: zoom-out;
}

/* Presentations & Publications Archive
-------------------------------------------- */
p.presentation-links a.text-link {
    margin-right: 30px;
}

.beeline-archive-template .site-inner {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.intro-txt.e-flex.e-con.e-child {
    padding-bottom: 15px;
    padding-left: 0px;
    padding-top: 24px;
}

.intro-txt-container.e-flex.e-con {
    padding-top: 30px;
}

section.archive-content-section {
    padding: 40px 24px;
}

.archive-content-section > .wrap {
    margin: 0 auto;
    max-width: 1140px;
}

.individual-pres-pub {
    background-color: var(--cumulus);
    margin-bottom: 24px;
    padding: 24px;
}

p.congress-journal {
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 8px;
}

h3.title.abyss-txt {
    color: var(--azure);
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-weight: 600;
}

span.date:after {
    content: '|';
    padding-left: 24px;  
    padding-right: 24px; 
}

p.pres-pub-date.abyss-txt {
    font-family: deuterium-variable, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3em;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.individual-pres-pub .presentation-links,
.individual-pres-pub .publication-link {
    margin-bottom: 0;
}

.download {
    margin-right: 40px;
}

.disclaimer-container.e-parent.e-con {
    border-top: 1px solid var(--stratus);
    font-size: 17px;
    font-style: italic;
    line-height:1.3em;
    margin-bottom: 24px;
    padding: 0;
    padding-top: 70px;
}

/*FACETWP*/

.filters-sidebar {
    margin-bottom: 40px;
    width: 100%;
}

.filters .facetwp-facet {
    margin-bottom: 24px;
}

p.filter-txt {
    font-weight: 700;
    margin-bottom: 8px;
}

input.facetwp-search,
select.facetwp-dropdown  {
    padding: 16px;
    background-color: var(--white);
    border: 2px solid var(--stratus);
}

.facetwp-input-wrap,
.facetwp-facet input {
    width: 100%;
}

.facetwp-type-dropdown {
    position: relative;
}

.facetwp-type-dropdown:after {
    color: var(--basalt);
    content: '\f107';
    font-family: 'Font Awesome 7 Pro';
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

button.facetwp-reset {
    background-color: transparent;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    padding: 21px 16px;
    transform: skew(0);
}

button.facetwp-reset:after {
    content: '\f0e2';
    display: inline-block;
    font-family: 'Font Awesome 7 Pro';
    font-size: 12px;
    left: unset;
    margin-left: 8px;
    position: relative;
    top: unset;
    transform: translate(0) rotate(0);
}

button.facetwp-reset:focus,
button.facetwp-reset:hover {
    background-color: transparent;
    color: var(--azure);
}

button.facetwp-reset:focus:after,
button.facetwp-reset:hover:after {
    color: var(--azure);
    transform: translate(0) rotate(-360deg);
}


/* Media Queries
------------------------------------------- */


@media only screen and (max-width: 768px) {


    section.subpage-header-txt {
        display: flex;
        gap: 30px;
        padding: 30px;
        flex-direction: column;
    }

    .subpage-header-txt-left {
        padding-top: 5px;
        width: 100%;
    }

    .subpage-header-txt-right {
        width: 100%;
    }
    

}

@media only screen and (min-width: 961px) {

    .pipeline-headings {
        align-items: flex-end;
        display: flex;
        flex-wrap: wrap;
    }

    .pipeline-heading.program-heading {
        /*width: calc( 20% + 12px );*/
        width: 25%;
    }

    .pipeline-heading.modality-heading,
    .pipeline-heading.mechanism-heading {

        width: calc( ( 80% - 12px ) / 2);
    }

    .pipeline-heading.mechanism-heading {
      padding: 0 16px; 
    }

    .pipeline-heading.modality-heading {
      padding: 0 16px 0 0;  
    }

    .pipeline-headings .pipeline-headings-container,
    .pipeline-details-container {
        display: flex;
    }

    .pipeline-headings .pipeline-headings-container {
        width: 45%;
    }

    .pipeline-headings .indication-stage-headings {
        display: flex;
        width: 55%;
        align-items: center;
    }

    .indication-wrap-left {
        width: 30%;
    }

    .indication-wrap-right {
        align-items: center;
        display: flex;
        justify-content: center;
        flex-direction: column; 
        width: 70%
    }

    .pipeline-headings .indication-stage-headings .indication-wrap-right > .indication-stage-heading {
        position: relative;
        text-align: center;
        width: 100%;
    }

    .pipeline-headings .indication-stage-headings .indication-wrap-right > .indication-stage-heading span {
        background-color: var(--bog);
        padding: 0 24px;
        position: relative;
        z-index: 1;
    }

    .pipeline-headings .indication-stage-headings .indication-wrap-right > .indication-stage-heading:before {
        background-color: var(--white);
        content: '';
        height: 1px;
        left: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

    .pipeline-headings .indication-stage-headings .indication-stage-headings-inner {
        display: flex;
        padding-top: 16px;
        text-align: center;
    }

    .pipeline-headings .indication-stage-headings .indication-stage-headings-inner .pipeline-heading {
        width: calc( 100% / 3 );
    }

    .pipeline-headings .trigger-spacer {
        width: 24px;
    }

    .program-toggle-title {
        display: flex;
        flex-wrap: wrap;
    }

    .program-name {
        border-right: 1px solid var(--white);
        width: 26%;
    }

    .mechanism,
    .modality {
        width: 33%;
    }

    .mechanism {
        padding: 0 16px;
    }
    
    .modality {
        padding-left: 16px;
    }

    .program-toggle-title.active .program-name {
        border-right: 1px solid var(--bog);
    }

    .pipeline-details-container {
        width: 45%;
    }

    .pipeline-phase-container {
        width: 55%;
    }

    .pipeline-phase-wrapper {
        align-items: center;
        display: flex;
        margin-bottom: 32px;
        width: 70%;
    }

    .pipeline-phase-wrapper:last-of-type {
        margin-bottom: 0;
    }

    .phase-title {
        display: none;
    }

    .phase-indicator-wrapper {
        width: 100%;
    }

    .program-in-view .phase-indicator-wrapper {
        animation: pipelineGrow ease-in-out 2s forwards;
    }

    @keyframes pipelineGrow {
        to {
            width: 100%;
        }
    }

    .pipeline-phase-inner {
        display: flex;
        flex-wrap: wrap;
    }

    .phase-indcator {
        background-color: var(--chartreuse);
        border-radius: 0 8px 8px 0;
        height: 16px;
    }

    .indication {
        padding-right: 16px;
        width: 30%;
    }

    .program-toggle-trigger-wrap {
        width: 24px;
    }

    .program-toggle-description-wrap {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .program-toggle-description-wrap .program-moa {
        margin-bottom: 0;
        text-align: center;
        width: 70%;
        
    }

    .program-toggle-description-wrap .program-description {
        padding-top: 75px;
        width: 75%;
    }
    
    /* Presentations & Publications Archive
    -------------------------------------------- */
    
    .subpage-header-pres-pub h1 {
        color: var(--bog);
    }

    .subpage-header-pres-pub.e-parent.e-con {
        padding: 104px 24px;
    }

    .subpage-header-pres-pub.e-parent.e-con h1 {
        padding: 18px 0;
    }

    .intro-txt h2 {
        font-weight: 500;
        font-size: 20px;
        font-family: "Plus Jakarta Sans";
        letter-spacing: 0;
        text-transform:inherit;
    }
    
    .presentations-publications-content-wrap {
        display: flex;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .individual-pres-pub {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        width: calc( ( 100% - 24px ) / 2 );
    }

    .presentation-links {
        margin-top: auto;
    }
    
    /*FACETWP*/
    
    .filters {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 0 24px;
    }
    
    .filters .facetwp-facet {
        margin-bottom: 0;
    }
    
    .pres-pub-asset, 
    .pres-pub-focus, 
    .pres-pub-search {
        width: calc( ( 100% - 48px ) / 3 );
    }
}

@media only screen and (max-width: 960px) {

    .pipeline {
        border-top: 1px solid var(--white);
    }
    
    .program-toggle-title {
        text-align: center;
    }

    .pipeline-details-container {
        margin-bottom: 24px;
    }

    .program-name {
        font-size: 18px;
        font-weight: 900;
        margin-bottom: 4px;
    }

}