/* CPT Single */

.CPT--grid {
    margin: 0 0 35px;
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,3fr);
    grid-gap: 50px;
}

.CPT--image {
    padding-top: 120%;
    background-size: cover!important;
    background-position: center!important;
    position: relative;
}

/**/

.flex-product-single--scrollspy-top {
    position: sticky;
    top: 50px;
    background: var(--background);
    border-top: 1px solid var(--background-subtle);
    border-bottom: 1px solid var(--background-subtle);
    z-index: 8;
}

#scrollspy-controller {
    display: flex;
    flex-direction: row;
    grid-gap: 20px;
}

.flex-product-single--scrollspy-bottom {
    padding-top: 0px;
}

a.list-group-item {
    border: none;
    border-bottom: 5px solid red;
    padding: 15px 0px 10px;
    border-color: transparent;
}

.list-group-item.active {
    border-color: var(--detail);
    background: transparent;
    color: var(--content);
}



@media screen and (max-width: 767px) {
    /* MOBILE RULES GO HERE */

    .flex-product-single--scrollspy--menu-button {
        text-align: left;
        border-radius: 0;
        width: 100%;
    }

    .flex-product-single--scrollspy-top {
        top: 0px;
    }

    .flex-product-single--scrollspy-top .col-full {
        display: none;
        background: white;
        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    button.flex-product-single--scrollspy--menu-button.active + .col-full {
        display: block;
    }

    #scrollspy-controller {
        flex-direction: column;
        grid-gap: 0px;
    }

    a.list-group-item {
        padding: 5px 0px 5px;
    }

    .flex-product-single--scrollspy--menu-button:before {
        content: "menu";
        font-family: 'Material Icons';
        font-weight: 100;
        font-style: inherit;
        font-size: 24px;
        line-height: 1;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: normal;
        white-space: nowrap;
        direction: ltr;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        font-feature-settings: 'liga';
        position: relative;
        top: 6px;
        margin-right: 7px;
        margin-left: 3px;
    }

 


}

@media screen and (min-width: 768px) {
    /* DESKTOP RULES GO HERE */ 
    .flex-product-single--scrollspy--menu-button {
        display: none!important;
    }
}


/**** Flex product .1 Product Hero ****/

.flex-product-single--product-hero {
    min-height: calc(100vh - 234px);
    background: linear-gradient(to right, var(--background-subtle) 80%, #fff 20%);
    background: var(--background-subtle);
}

.flex-product-single--product-hero--image {
    max-height: calc(100vh - 200px);
}

span.flex-product-single--product-hero--background-title {
    position: absolute;
    color: white;
    font-size: 9vw;
    font-weight: 800;
    top: 0%;
    left: 0%;
    display: flex;
    z-index: -1;
}   

span.flex-product-single--product-hero--background-title--small {
    position: relative;
    font-size: 80px;
    font-weight: 800;
    background: linear-gradient(to right, var(--detail), var(--detail-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.flex-product-single--product-hero--layout {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0,2fr) minmax(0,3fr);
    align-items: center;
    grid-gap: 30px;
    padding: 50px 50px 50px;
    z-index: 2;
    max-width: 1700px;
    margin: 0 auto;
}

.flex-product-single--product-hero--grid {
    display: grid;
    grid-template-areas: "stack";
}

.flex-product-single--product-hero--image-layer {
    grid-area: stack;
}

.flex-product-single--product-hero--tooltips {
    min-height: 100%;
    width: 100%;
    grid-area: stack;
    position: relative;
}

.flex-product-single--product-hero--tooltip {
    position: absolute;
    background: var(--detail);
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    text-align: center;
    display: grid;
    align-content: center;
}



.flex-product-single--product-hero--tooltip:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="27" height="27" fill="white" class="bi bi-plus-lg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2"/></svg>');
    top: 4px;
    position: relative;
    transition: 0.5s;
}

.flex-product-single--product-hero--tooltip:hover:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="27" height="27" fill="white" class="bi bi-dash-lg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8"/></svg>');
}

.flex-product-single--product-hero--tooltip-reference {
    position: relative;
}

.flex-product-single--product-hero--tooltip-content {
    background: white;
    padding: 0px 0px;
    border-radius: 15px;
    position: absolute;
    width: max-content;
    left: 50%;
    bottom: 10px;
    transform: translate(-50%, 0);
    display: none;
    max-width: 300px;
    z-index: 5;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

img.flex-product-single--product-hero--tooltip-content--img {
    border-radius: 15px 15px 0 0;
}

.flex-product-single--product-hero--tooltip-content--text {
    font-size: 14px;
    text-align: left;
    padding: 10px 13px;
}

.flex-product-single--product-hero--tooltip:hover .flex-product-single--product-hero--tooltip-content {
    display: block;
}



@media screen and (min-width: 768px) and (max-width: 1400px) {
    /* INTERMEDIATE RULES GO HERE */

    span.flex-product-single--product-hero--background-title--small {
        font-size: 80px;
    }

    .col-full {
        padding-left: 60px;
        padding-right: 60px;
    }
    

    .flex-product-single--product-hero--layout {
        grid-template-columns: 5fr 4fr;
        padding: 50px 100px 50px 50px;   
    }


}

@media screen and (max-width: 767px) {
    /* MOBILE RULES GO HERE */
    
    .flex-product-single--product-hero--layout {
        grid-template-columns: minmax(0,1fr);
        padding: 50px 20px 50px;
    }

    span.flex-product-single--product-hero--background-title--small {
        font-size: 40px;
    }

    span.flex-product-single--product-hero--background-title {
        font-size: 50px;
        left: 45px;
        top: 22px;
    }

}

@media screen and (min-width: 768px) {
    /* DESKTOP RULES GO HERE */
}



/** papers */



.flex-product-single--product-hero--papers--repeater-item {
    padding: 0px 0px 0px 20px;
}

.flex-product-single--product-hero--paper {
    display: grid;
    grid-template-columns: auto 1fr;
}


.flex-product-single--product-hero--side-line {
    height: 100%;
    width: 3px;
    background: var(--detail);
    position: relative;
    left: 2px;
}

.flex-product-single--product-hero--side {
    color: var(--detail) !important;
    text-transform: uppercase;
    letter-spacing: 0px;
    font-size: 12px;
    writing-mode: vertical-lr;
    text-align: right;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 8px;
    align-items: center;
}

.flex-product-single--product-hero--papers--quote p {
    font-style: italic;
    font-size: 14px;
}

a.flex-product-single--product-hero--papers--link {
    margin: 0 15px 0 0;
    font-size: 14px;
    font-weight: 100;
}

.flex-product-single--product-hero--papers--authors {
    margin: 0 0 0px;
    font-size: 12px;
    font-weight: 400;
}

.flex-product-single--product-hero--papers--paper-name {
    margin: 0 0 0px;
    font-size: 14px;
    font-weight: 700;
}

.flex-product-single--product-hero--papers--identifiers {
    margin: 0 0 0px;
    font-style: italic;
    font-size: 12px;
    font-weight: 400;
}


@media screen and (max-width: 767px) {
    /* MOBILE RULES GO HERE */
}


@media screen and (max-width: 767px) {
    /* MOBILE RULES GO HERE */
}

@media screen and (min-width: 768px) {
    /* DESKTOP RULES GO HERE */
}

/* CPT Card */

@media screen and (max-width: 767px) {
    /* MOBILE RULES GO HERE */
}

@media screen and (min-width: 768px) {
    /* DESKTOP RULES GO HERE */
}

/* CPT Feed */
@media screen and (max-width: 767px) {
    /* MOBILE RULES GO HERE */
}

@media screen and (min-width: 768px) {
    /* DESKTOP RULES GO HERE */
}